/* ==========================================================================
   KibrisAvukatPro — Design System
   Marka: deep navy #0B1F3A · navy #13315C · gold #C8A24A · light #F7F9FC
   Yazı tipi: Lora (başlık) · Inter (gövde)
   Mobile-first, WCAG AA kontrast, CLS önleyici.
   ========================================================================== */

/* ---- Design Tokens ---- */
:root {
  --navy: #0B1F3A;
  --navy-2: #13315C;
  --gold: #C8A24A;
  --gold-dark: #ad8836;
  --bg: #F7F9FC;
  --text: #1A2332;
  --muted: #5B6B7F;
  --white: #ffffff;
  --line: #E3E8F0;

  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.08);
  --shadow: 0 6px 24px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 18px 48px rgba(11, 31, 58, 0.16);

  --container: 1200px;
  --header-h: 72px;

  --t: 0.22s ease;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
  font-weight: 600;
}

h1 { font-size: clamp(1.9rem, 1.3rem + 3vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 2vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.4rem); }

p { margin: 0 0 var(--sp-4); }

a { color: var(--navy-2); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section { padding-block: clamp(var(--sp-7), 5vw, var(--sp-9)); }
.section-alt { background: var(--white); }

.section-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: var(--sp-7); }
.section-head p { color: var(--muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--sp-3);
}

/* Gold underline accent on section headings */
.accent-underline { position: relative; display: inline-block; }
.accent-underline::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -0.45rem;
  width: 56px; height: 3px;
  background: var(--gold);
  border-radius: var(--radius-pill);
}

.visually-hidden, .skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: var(--sp-3); left: var(--sp-3);
  width: auto; height: auto;
  padding: var(--sp-3) var(--sp-4);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  z-index: 1000;
  clip: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  min-height: 44px;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--navy); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}
.brand:hover { color: var(--navy); }
.brand-icon { color: var(--gold); flex: none; }
.brand-text { white-space: nowrap; }
.brand-logo { display: block; height: 38px; width: auto; max-width: 100%; }
.brand-footer .brand-logo { height: 40px; }

.main-nav ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--sp-4);
  list-style: none;
}
.main-nav .mobile-cta { display: none; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
  padding: var(--sp-2) 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--t);
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: var(--sp-4); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 31, 58, 0.45);
  z-index: 98;
  opacity: 0;
  transition: opacity var(--t);
}
.nav-overlay.show { opacity: 1; }

/* ---- Hero ---- */
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11,31,58,0.92) 0%, rgba(19,49,92,0.82) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  /* Gradyan, görsel yüklenmezse arka plan olarak da görünür */
  background: linear-gradient(135deg, rgba(11,31,58,0.92) 0%, rgba(19,49,92,0.80) 100%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-block: clamp(var(--sp-8), 9vw, calc(var(--sp-9) + var(--sp-7)));
}
.hero h1 { color: var(--white); }
.hero .subhead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: rgba(255,255,255,0.9); margin-bottom: var(--sp-6); }
.hero .eyebrow { color: var(--gold); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.hero-trust { display: flex; align-items: center; gap: var(--sp-3); color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.hero-trust svg { color: var(--gold); flex: none; }

/* ---- Trust bar ---- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-bar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-5) var(--sp-7);
  padding-block: var(--sp-5);
}
.trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.trust-bar svg { color: var(--gold); flex: none; }

/* ---- Generic card grid ---- */
.grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 600px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---- Module / Feature cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(200,162,74,0.5); }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--muted); margin-bottom: var(--sp-4); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: rgba(200,162,74,0.14);
  color: var(--gold-dark);
  margin-bottom: var(--sp-4);
}
.card-icon svg { width: 26px; height: 26px; }

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card-link::after { content: "→"; transition: transform var(--t); }
.card:hover .card-link::after { transform: translateX(3px); }

/* Benefit card (icon left) */
.benefit {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.benefit .card-icon { margin-bottom: 0; }
.benefit h3 { margin-bottom: var(--sp-1); }
.benefit p { margin-bottom: 0; }

/* ---- Steps (Nasıl çalışır) ---- */
.steps { counter-reset: step; }
.step { position: relative; text-align: center; }
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto var(--sp-4);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}
.step p { color: var(--muted); margin-bottom: 0; }

/* ---- Stats band ---- */
.stats-band { background: var(--navy); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); text-align: center; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat .stat-num { font-family: var(--font-head); font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); color: var(--gold); font-weight: 700; line-height: 1; }
.stat .stat-label { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-top: var(--sp-2); }
.stats-note { text-align: center; color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-top: var(--sp-6); margin-bottom: 0; }

/* ---- Testimonials ---- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-5);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.testimonial blockquote { margin: 0 0 var(--sp-5); font-size: 1.05rem; color: var(--text); }
.testimonial .quote-mark { color: var(--gold); font-family: var(--font-head); font-size: 2.6rem; line-height: 0.4; display: block; margin-bottom: var(--sp-3); }
.testimonial-author { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-2); color: var(--gold);
  display: grid; place-items: center; font-weight: 700; flex: none;
  font-family: var(--font-head);
}
.testimonial-author strong { display: block; color: var(--navy); }
.testimonial-author span { color: var(--muted); font-size: 0.85rem; }

/* ---- Pricing teaser ---- */
.pricing-teaser {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin-inline: auto;
}
.pricing-teaser .price { font-family: var(--font-head); font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3rem); color: var(--navy); font-weight: 700; }
.pricing-teaser .price span { font-size: 1rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }

/* ---- Pricing cards (reusable for fiyatlandırma page) ---- */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured { border-color: var(--gold); box-shadow: var(--shadow); position: relative; }
.pricing-card.featured::before {
  content: "En Popüler";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 0.9rem; border-radius: var(--radius-pill);
}
.pricing-card ul { list-style: none; margin: var(--sp-4) 0; flex: 1; }
.pricing-card li { padding: var(--sp-2) 0; color: var(--muted); display: flex; gap: var(--sp-2); }
.pricing-card li::before { content: "✓"; color: var(--gold-dark); font-weight: 700; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
}
.cta-band-inner { padding: clamp(var(--sp-7), 6vw, var(--sp-9)); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 560px; margin-inline: auto; margin-bottom: var(--sp-6); }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin-inline: auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-5);
  margin-bottom: var(--sp-4);
}
.faq-item h3 { margin-bottom: var(--sp-2); font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; }
.faq-item p { color: var(--muted); margin-bottom: 0; }
.faq-cta { text-align: center; margin-top: var(--sp-6); }

/* ---- Breadcrumb ---- */
.breadcrumb { padding-block: var(--sp-4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); font-size: 0.85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--sp-2); color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb [aria-current="page"] { color: var(--navy); font-weight: 500; }

/* ---- Forms ---- */
input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,162,74,0.2);
}
input.invalid, textarea.invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,0.15); }
.form-note { font-size: 0.78rem; color: var(--muted); margin: var(--sp-2) 0 0; }

/* ---- Tables ---- */
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
th, td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* ---- Newsletter band ---- */
.newsletter-band { background: var(--bg); border-top: 1px solid var(--line); }
.newsletter-inner {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
  padding-block: var(--sp-7);
}
@media (min-width: 860px) { .newsletter-inner { grid-template-columns: 1fr 1fr; } }
.newsletter-band h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin-bottom: var(--sp-2); }
.newsletter-band p { color: var(--muted); margin-bottom: 0; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.newsletter-form input { flex: 1 1 220px; }
.newsletter-form .form-note { flex-basis: 100%; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.82); }
.footer-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
  padding-block: var(--sp-8);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.brand-footer { color: var(--white); margin-bottom: var(--sp-4); }
.brand-footer:hover { color: var(--white); }
.footer-about { color: rgba(255,255,255,0.72); font-size: 0.92rem; max-width: 38ch; }
.footer-col h3 { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; display: grid; gap: var(--sp-3); }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social a { color: rgba(255,255,255,0.7); display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; transition: all var(--t); }
.footer-social a:hover { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); padding-block: var(--sp-4); font-size: 0.85rem; }
.footer-bottom-inner p { margin: 0; }
.footer-contact a { color: var(--gold); }

/* ---- Floating widgets ---- */
.float-whatsapp {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
}
.float-whatsapp:hover { transform: scale(1.08); color: var(--white); box-shadow: var(--shadow-lg); }

.float-chat {
  position: fixed;
  right: var(--sp-5);
  bottom: calc(var(--sp-5) + 56px + var(--sp-3));
  z-index: 90;
}
.chat-launcher {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--gold);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--t);
}
.chat-launcher:hover { transform: scale(1.08); }
.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: min(320px, calc(100vw - 2 * var(--sp-5)));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy); color: var(--white);
  padding: var(--sp-4);
}
.chat-close { background: none; border: 0; color: var(--white); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.chat-body { padding: var(--sp-4); }
.chat-body p { font-size: 0.9rem; color: var(--muted); }
.chat-form { display: grid; gap: var(--sp-3); }
.chat-wa { margin-bottom: var(--sp-4); }
.chat-quick { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.chat-quick-link { font-size: 0.85rem; font-weight: 600; color: var(--gold-dark); }
.chat-quick-link:hover { text-decoration: underline; }

/* ---- Reveal on scroll (progressive enhancement) ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Responsive: mobile slide-in nav ---- */
@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .main-nav .mobile-cta { display: block; }

  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 84vw);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--t);
    z-index: 99;
    padding: calc(var(--header-h) + var(--sp-5)) var(--sp-6) var(--sp-6);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: var(--sp-2); }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: var(--sp-4) 0; font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .main-nav .mobile-cta { margin-top: var(--sp-5); }
  .main-nav .mobile-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
