/* ============================================================
   CM Cursos Online — Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --black:        #17120E;
  --black-soft:   #221A14;
  --white:        #FFFFFF;
  --bg:           #FAF8F4;
  --bg-alt:       #F2ECE1;
  --gold: #B8862F;
  --gold-light: #D9A94F;
  --gold-dark: #7E5A1B;
  --gold-muted: rgba(184,134,47,0.12);
  --text:         #2A231C;
  --text-muted:   #6C6154;
  --text-light:   #A39887;
  --border:       #E8DFCF;
  --border-dark:  rgba(255,255,255,0.08);

  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius:       4px;
  --radius-md:    8px;
  --radius-lg:    16px;

  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);

  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition:   0.28s var(--ease);
  --transition-slow: 0.55s var(--ease);

  --max-width:    1200px;
  --gutter:       28px;
  --nav-h:        76px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
address { font-style: normal; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--black);
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.lead {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.85;
}
strong { font-weight: 600; color: var(--text); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section       { padding: 108px 0; }
.section-sm    { padding: 64px 0; }
.text-center   { text-align: center; }
.text-white    { color: var(--white) !important; }
.text-gold     { color: var(--gold); }
.bg-dark       { background: var(--black); }
.bg-alt        { background: var(--bg-alt); }
.bg-white      { background: var(--white); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title  { margin-bottom: 18px; }
.section-desc   { max-width: 580px; font-size: 1.05rem; }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

.gold-line {
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 18px 0;
  border-radius: 2px;
}
.gold-line.center { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(184,134,47,0.3);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,134,47,0.4);
}
.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: #221A14;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-light {
  background: var(--white);
  color: var(--black);
}
.btn-light:hover {
  background: var(--bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.btn-lg { padding: 17px 40px; font-size: 0.95rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-check { display: none !important; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(23,18,14,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: all var(--transition-slow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  border-radius: var(--radius);
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo-sub {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-cta {
  padding: 10px 24px;
  font-size: 0.82rem;
  margin-left: 8px;
}

/* Hamburger toggle (label) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: 1002;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

/* Mobile Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 1001;
  flex-direction: column;
  padding: 110px var(--gutter) 48px;
  gap: 4px;
}
.nav-overlay-link {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
  display: block;
}
.nav-overlay-link:hover { color: var(--gold); }
.nav-overlay-cta { margin-top: 32px; display: inline-flex; }
.nav-overlay-close {
  position: absolute;
  top: 24px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  transition: color var(--transition);
}
.nav-overlay-close:hover { color: var(--white); }

/* CSS-only toggle state */
.nav-check:checked ~ .nav-overlay { display: flex; }
.nav-check:checked ~ nav .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-check:checked ~ nav .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-check:checked ~ nav .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black-soft);
  color: rgba(255,255,255,0.55);
}
.footer-top {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 52px;
}
.footer-brand-desc {
  margin-top: 18px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.38);
}
.footer-col-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 22px;
}
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--gold-light); }
.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  align-items: flex-start;
  line-height: 1.5;
}
.footer-contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
.footer-legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-legal-link {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--transition);
}
.footer-legal-link:hover { color: rgba(255,255,255,0.55); }
.footer-cnpj {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  margin-top: 8px;
}

/* ============================================================
   PAGE HERO (páginas internas)
   ============================================================ */
.page-hero {
  background: var(--black);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(184,134,47,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,47,0.35), transparent);
}
.page-hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  display: block;
}
.page-hero h1 { color: var(--white); }
.page-hero .lead {
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin-top: 18px;
}

/* ============================================================
   REVEAL (visível por padrão — sem JS)
   ============================================================ */
.reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
.delay-1, .delay-2, .delay-3, .delay-4, .delay-5 {}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,47,0.1);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-body {
  background: var(--white);
}
.legal-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px var(--gutter);
}
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  padding: 12px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.legal-wrapper h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 48px 0 14px;
  padding-top: 4px;
  color: var(--black);
}
.legal-wrapper h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 32px 0 10px;
  color: var(--black);
}
.legal-wrapper p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.legal-wrapper ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 18px;
}
.legal-wrapper ul li {
  color: var(--text-muted);
  margin-bottom: 9px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,134,47,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184,134,47,0.08) 0%, transparent 70%);
  bottom: -80px; left: 10%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: 40px;
  min-height: 100vh;
}
.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-title {
  color: var(--white);
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-btn-outline {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
}
.hero-btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.hero-visual { display: flex; justify-content: flex-end; }
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 36px;
  width: 100%;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,47,0.6), transparent);
}
.hero-card-line {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
  border-radius: 2px;
}
.hero-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 20px;
}
.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}
.hero-card-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-card-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* ============================================================
   HOME — STATS BAR
   ============================================================ */
.stats-bar { padding: 48px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   HOME — SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 40px 36px;
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card:hover { background: var(--bg); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--gold-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--white);
}
.service-card h3 { font-size: 1.05rem; color: var(--black); }
.service-card p { font-size: 0.9rem; flex: 1; }
.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
}
.service-link:hover { text-decoration: underline; }

/* ============================================================
   HOME — CTA SECTION
   ============================================================ */
.cta-section { background: var(--bg-alt); }
.cta-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-deco {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}
.cta-title { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin: 20px 0 16px; }
.cta-desc { max-width: 520px; margin: 0 auto 36px; font-size: 1rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTATO — CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}
.contact-form-title { font-size: 1.5rem; margin-bottom: 12px; }
.contact-info { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--black);
  border-radius: var(--radius-md);
  padding: 40px;
  color: rgba(255,255,255,0.6);
}
.contact-info-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-detail-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-body { display: flex; flex-direction: column; gap: 4px; }
.contact-detail-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.contact-detail-value { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.contact-detail-link { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.contact-detail-link:hover { color: var(--gold-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 80px;
    min-height: auto;
  }
  .hero-visual { justify-content: flex-start; }
  .hero-card { max-width: 440px; }
  .cta-box { padding: 56px 40px; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-info { position: static; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal { gap: 14px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: none; }
  .stat-item { border-top: 1px solid rgba(255,255,255,0.06); }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-top: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 24px; }
  .cta-box { padding: 40px 24px; }
  .hero-title { font-size: 2.2rem; }

  .contact-info-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
