/* ─────────────────────────────────────────
   Canary AI – Main Stylesheet
   style.css
───────────────────────────────────────── */

/* ── RESET & ROOT ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #020817;
  --bg2:         #0f172a;
  --bg3:         #1e293b;
  --border:      rgba(148, 163, 184, .12);
  --border2:     rgba(148, 163, 184, .2);
  --amber:       #f59e0b;
  --amber2:      #d97706;
  --amber-glow:  rgba(245, 158, 11, .35);
  --indigo:      #6366f1;
  --indigo2:     #818cf8;
  --emerald:     #10b981;
  --text:        #f1f5f9;
  --muted:       #94a3b8;
  --subtle:      #64748b;
  --glass:       rgba(15, 23, 42, .75);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 5%,  rgba(99, 102, 241, .09) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 85%, rgba(245, 158, 11, .07) 0%, transparent 55%);
}

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.logo-box {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: linear-gradient(135deg, var(--amber), var(--indigo));
  box-shadow: 0 0 22px var(--amber-glow);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(90deg, #fff 55%, var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  transition: color .25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  transition: width .3s;
}

.nav-links a:hover             { color: var(--amber); }
.nav-links a:hover::after      { width: 100%; }

.nav-cta-btn {
  background: linear-gradient(135deg, var(--amber), var(--amber2));
  color: #000 !important;
  padding: .5rem 1.3rem;
  border-radius: 9px;
  font-weight: 700 !important;
  transition: transform .2s, box-shadow .2s !important;
}

.nav-cta-btn::after              { display: none !important; }
.nav-cta-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px var(--amber-glow) !important;
  color: #000 !important;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  z-index: 199;
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  padding: 8rem 2rem 6rem;
  text-align: center;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(99, 102, 241, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, .06) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .3);
  border-radius: 999px;
  padding: .35rem 1.1rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeDown .7s ease both;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.04em;
  animation: fadeUp .7s .1s ease both;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--amber) 0%, #f97316 40%, var(--indigo2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: fadeUp .7s .2s ease both;
}

.hero-btns {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeUp .7s .3s ease both;
}

.hero-scroll {
  margin-top: 4rem;
  animation: bounce 2s ease infinite;
  color: var(--subtle);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--amber));
  margin: 6px auto 0;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber2));
  color: #000;
  box-shadow: 0 4px 24px var(--amber-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(245, 158, 11, .55);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover {
  border-color: rgba(245, 158, 11, .4);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(99, 102, 241, .15);
}

.btn-indigo {
  background: linear-gradient(135deg, var(--indigo), #818cf8);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99, 102, 241, .35);
}
.btn-indigo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(99, 102, 241, .5);
}

/* ─────────────────────────────────────────
   STATS STRIP
───────────────────────────────────────── */
.stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(12px);
}

.stat {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 2.2rem 1rem;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }

.stat-val {
  font-size: 2.1rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--indigo2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: .75rem;
  color: var(--subtle);
  margin-top: .3rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ─────────────────────────────────────────
   SHARED SECTION UTILITIES
───────────────────────────────────────── */
section { position: relative; z-index: 1; }

.sec     { padding: 6rem 2rem; }
.sec-alt { background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, .6) 20%, rgba(15, 23, 42, .6) 80%, transparent); }

.sec-hd {
  text-align: center;
  margin-bottom: 3.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .8rem;
}

.sec-title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.03em;
}

.sec-sub {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .97rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────
   TRUST BAR
───────────────────────────────────────── */
.trust-bar {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.trust-bar p {
  font-size: .8rem;
  color: var(--subtle);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  align-items: center;
}

.trust-logos span {
  font-size: .85rem;
  font-weight: 700;
  color: rgba(148, 163, 184, .35);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────
   SERVICE CARDS
───────────────────────────────────────── */
.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, .04), rgba(99, 102, 241, .04));
  opacity: 0;
  transition: opacity .3s;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .2);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.ci-amber   { background: rgba(245, 158, 11, .12); }
.ci-indigo  { background: rgba(99, 102, 241, .12); }
.ci-emerald { background: rgba(16, 185, 129, .12); }
.ci-red     { background: rgba(239, 68, 68, .12); }

.card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; }
.card p  { color: var(--muted); font-size: .9rem; line-height: 1.75; }

.card-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .25rem .8rem;
  margin-bottom: 1rem;
}

.tag-amber  { background: rgba(245, 158, 11, .12); color: var(--amber); }
.tag-indigo { background: rgba(99, 102, 241, .12); color: #a5b4fc; }
.tag-emerald{ background: rgba(16, 185, 129, .12); color: #6ee7b7; }

/* ─────────────────────────────────────────
   HOW IT WORKS – STEPS
───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .95rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 28px var(--amber-glow);
  color: #000;
}

.step h4 { font-size: .97rem; font-weight: 700; margin-bottom: .6rem; }
.step p  { color: var(--muted); font-size: .85rem; line-height: 1.7; }

/* ─────────────────────────────────────────
   INSTITUTE FEATURE CARDS
───────────────────────────────────────── */
.feat-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  background: rgba(99, 102, 241, .04);
  transition: transform .3s, border-color .3s;
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, .28);
}

.feat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(99, 102, 241, .3);
  margin-bottom: .75rem;
  line-height: 1;
}

.feat-card h4 { font-size: 1rem;   font-weight: 700; margin-bottom: .6rem; }
.feat-card p  { color: var(--muted); font-size: .875rem; line-height: 1.7; }

/* ─────────────────────────────────────────
   FELLOWSHIP TRACK CARDS
───────────────────────────────────────── */
.track {
  border-radius: 20px;
  padding: 2rem;
  transition: transform .3s;
  position: relative;
  overflow: hidden;
}
.track:hover { transform: translateY(-5px); }

.tr-amber   { background: linear-gradient(135deg, rgba(245,158,11,.13), rgba(245,158,11,.04)); border: 1px solid rgba(245,158,11,.22); }
.tr-indigo  { background: linear-gradient(135deg, rgba(99,102,241,.13), rgba(99,102,241,.04)); border: 1px solid rgba(99,102,241,.22); }
.tr-emerald { background: linear-gradient(135deg, rgba(16,185,129,.13), rgba(16,185,129,.04)); border: 1px solid rgba(16,185,129,.22); }

.track h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; }
.track p  { color: var(--muted); font-size: .88rem; line-height: 1.75; }
.track ul { color: var(--muted); font-size: .85rem; line-height: 2; padding-left: 1.1rem; margin-top: .75rem; }

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
#testimonials { padding: 6rem 2rem; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testi {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: transform .3s;
}
.testi:hover { transform: translateY(-5px); }

.stars       { color: var(--amber); font-size: 1rem; margin-bottom: 1rem; letter-spacing: .1em; }
.testi-text  { color: var(--muted); font-size: .9rem; line-height: 1.8; font-style: italic; margin-bottom: 1.5rem; }
.testi-author{ display: flex; align-items: center; gap: .75rem; }

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
}

.av-a { background: linear-gradient(135deg, var(--amber), #f97316); color: #000; }
.av-b { background: linear-gradient(135deg, var(--indigo), #818cf8); color: #fff; }
.av-c { background: linear-gradient(135deg, var(--emerald), #34d399); color: #000; }

.author-info .name { font-size: .9rem;  font-weight: 700; }
.author-info .role { font-size: .78rem; color: var(--subtle); }

/* ─────────────────────────────────────────
   FAQ ACCORDION
───────────────────────────────────────── */
#faq {
  padding: 6rem 2rem;
  background: linear-gradient(to bottom, transparent, rgba(15,23,42,.55) 20%, rgba(15,23,42,.55) 80%, transparent);
}

.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: rgba(245, 158, 11, .3); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: .97rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  gap: 1rem;
  text-align: left;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(245, 158, 11, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform .3s, background .3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(245, 158, 11, .2);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-a { max-height: 300px; }

.faq-a p {
  padding: .25rem 1.5rem 1.5rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.8;
}

/* ─────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────── */
#contact { padding: 6rem 2rem; text-align: center; }

.cta-box {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(245,158,11,.1), rgba(99,102,241,.1));
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 28px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,158,11,.15), transparent 70%);
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -40%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(99,102,241,.15), transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -.04em;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cta-contact-info {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-contact-item { text-align: center; }

.cta-contact-item .label {
  font-size: .75rem;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .3rem;
}

.cta-contact-item a,
.cta-contact-item span {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 5rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.75;
  max-width: 280px;
  margin-top: .75rem;
}

.footer-col h6 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-col a   { color: var(--muted); text-decoration: none; font-size: .875rem; transition: color .25s; }
.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { color: var(--subtle); font-size: .8rem; }

.social-links { display: flex; gap: .75rem; }

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .9rem;
  transition: background .25s, border-color .25s;
}
.social-btn:hover {
  background: rgba(245,158,11,.1);
  border-color: rgba(245,158,11,.3);
}

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────
   KEYFRAME ANIMATIONS
───────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .steps::before  { display: none; }
}

@media (max-width: 640px) {
  nav             { padding: 1rem 1.25rem; }
  .nav-links      { display: none; }
  .hamburger      { display: flex; }
  .hero           { padding: 6rem 1.25rem 4rem; }
  .stat           { min-width: 130px; border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child{ border-bottom: none; }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .cta-box        { padding: 2.5rem 1.5rem; }
}

/* ===============================
   CONSULTATION POPUP MODAL
================================= */

.consult-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.consult-modal-content {
  background: #111827;
  padding: 2.5rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: fadeInScale 0.3s ease;
}

.consult-modal-content h2 {
  margin-bottom: 1.5rem;
  color: #fff;
  text-align: center;
}

.consult-modal-content input,
.consult-modal-content textarea {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #374151;
  background: #1f2937;
  color: #fff;
  font-family: inherit;
}

.consult-modal-content input:focus,
.consult-modal-content textarea:focus {
  outline: none;
  border-color: #6366f1;
}

.consult-modal-content textarea {
  resize: none;
  height: 120px;
}

.consult-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
}

.consult-close:hover {
  color: #fff;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
