/* ============================================
   Zema Dental Clinic — Stylesheet
   ============================================ */

:root {
  --bg: #f6f8fb;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --ink: #0f1d2e;
  --ink-2: #324358;
  --muted: #6b7a8c;
  --line: #e6ecf2;
  --brand: #0e7c86;          /* teal */
  --brand-2: #0aa6a0;        /* brighter teal */
  --accent: #f4b740;         /* warm gold */
  --accent-2: #ffd98a;
  --gradient: linear-gradient(135deg, #0e7c86 0%, #0aa6a0 60%, #34c3b9 100%);
  --shadow-sm: 0 2px 8px rgba(15, 29, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 29, 46, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 29, 46, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--ink-2); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
}
.logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(14, 124, 134, 0.35);
}
.logo-text em {
  font-style: normal;
  color: var(--brand);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-cta { padding: 10px 18px !important; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  padding: 8px;
  position: relative;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 124, 134, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(14, 124, 134, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: #fff;
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(10, 166, 160, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(244, 183, 64, 0.12), transparent 60%),
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 70%);
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 29, 46, 0.06) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black 30%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, black 30%, transparent 80%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  width: 100%;
  height: 100%;
}
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 16px;
  padding: 6px 14px;
  background: rgba(14, 124, 134, 0.08);
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 20px;
}
.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 520px;
}
.hero-meta > div {
  display: flex;
  flex-direction: column;
}
.hero-meta strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--ink);
  font-weight: 600;
}
.hero-meta span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  height: 100%;
}
.hero-card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.hero-card-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(244, 183, 64, 0.4), transparent 70%);
  z-index: 1;
  filter: blur(20px);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  position: relative;
  z-index: 2;
  flex: 1;
}

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 44px;
  border: 2px solid var(--ink-2);
  border-radius: 14px;
  display: grid;
  place-items: center;
  opacity: 0.7;
}
.scroll-cue span {
  width: 4px; height: 8px;
  background: var(--ink-2);
  border-radius: 2px;
  animation: scrollBounce 1.6s var(--ease) infinite;
}
@keyframes scrollBounce {
  0% { transform: translateY(-8px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 110px 0;
  position: relative;
}
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-2);
}
.lead {
  font-size: 1.05rem;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.col { min-width: 0; }

/* ============================================
   About
   ============================================ */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.check-list li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 12px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}
.check-list li:last-child { border-bottom: 0; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 4px;
}
.stat span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ============================================
   Service cards
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: inline-flex;
  width: 60px; height: 60px;
  align-items: center; justify-content: center;
  background: rgba(14, 124, 134, 0.08);
  border-radius: 16px;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.card p {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 0;
}

/* ============================================
   Why Us
   ============================================ */
.feature {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}
.feature-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  min-width: 36px;
}
.feature h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.feature p {
  font-size: 0.92rem;
  color: var(--ink-2);
  margin: 0;
}

.quote-card {
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.quote-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  border-radius: 50%;
}
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: 1;
  opacity: 0.4;
  margin-bottom: -20px;
}
.quote-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 24px;
  font-style: italic;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  color: #fff;
}
.quote-author strong { display: block; color: #fff; }
.quote-author span { font-size: 0.85rem; opacity: 0.8; }

/* ============================================
   Featured Card with Fade
   ============================================ */
.featured-section {
  padding: 80px 0 0;
}
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.featured-card-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-card-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.8) 60%, #fff 100%);
  pointer-events: none;
}
.featured-card-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-card-content .eyebrow {
  margin-bottom: 16px;
}
.featured-card-content .section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 16px;
}
.featured-card-content .lead {
  font-size: 1rem;
  margin-bottom: 28px;
}
.featured-card-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-card-image {
    min-height: 280px;
  }
  .featured-card-fade {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.8) 60%, #fff 100%);
  }
  .featured-card-content {
    padding: 32px 24px;
  }
}

/* ============================================
   TikTok Section
   ============================================ */
.tiktok-section {
  padding: 100px 0;
}
.tiktok-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}
.tiktok-card {
  position: relative;
  display: block;
  width: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tiktok-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 32px 64px rgba(15, 29, 46, 0.18);
}
.tiktok-thumb {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9/16;
  object-fit: cover;
}
.tiktok-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  animation: tiktokPulse 2s ease-in-out infinite;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.tiktok-card:hover .tiktok-play {
  background: rgba(254, 44, 85, 0.85);
  transform: translate(-50%, -50%) scale(1.1);
}
.tiktok-play svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}
@keyframes tiktokPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254, 44, 85, 0.5); }
  50% { box-shadow: 0 0 0 18px rgba(254, 44, 85, 0); }
}
.tiktok-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.tiktok-info p {
  font-size: 1.05rem;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 360px;
}

@media (max-width: 860px) {
  .tiktok-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .tiktok-card {
    width: 240px;
    margin: 0 auto;
  }
  .tiktok-info p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(14, 124, 134, 0.06), transparent 70%);
  z-index: 0;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}
.cta-inner p {
  font-size: 1.05rem;
  color: var(--ink-2);
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Contact
   ============================================ */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.contact-icon {
  width: 48px; height: 48px;
  background: rgba(14, 124, 134, 0.1);
  color: var(--brand);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
}
.contact-item p { margin: 0; color: var(--ink); }
.contact-item a:hover { color: var(--brand); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.contact-form label {
  display: block;
  margin-bottom: 16px;
}
.contact-form span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 124, 134, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-ok {
  display: none;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(14, 124, 134, 0.1);
  color: var(--brand);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #0c1825;
  color: #b6c2d0;
  padding: 70px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: #8b97a6; max-width: 320px; }
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
}
.footer-col a, .footer-col span {
  display: block;
  color: #8b97a6;
  font-size: 0.95rem;
  margin-bottom: 10px;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #6c7888;
}

/* ============================================
   Animations (initial state before GSAP)
   ============================================ */
[data-anim] {
  opacity: 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .two-col { gap: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 40px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: 0; margin-top: 8px; }
  .nav-cta { text-align: center; }

  .hero { padding-top: calc(var(--nav-h) + 32px); min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; justify-content: center; }
  .hero-card { max-height: 400px; }
  .hero-image { object-fit: contain; max-height: 400px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-meta { gap: 14px; }
  .hero-meta strong { font-size: 1.3rem; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr; }

  .quote-card { padding: 36px 28px; }
  .quote-text { font-size: 1rem; }

  .cta-inner { padding: 48px 24px; }

  .contact-form { padding: 28px 24px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-brand p { margin: 0 auto; }
  .footer .logo { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-sub { font-size: 1rem; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { grid-template-columns: 1fr; gap: 10px; }
  .stat-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .section { padding: 64px 0; }
  .nav-cta { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-anim] { opacity: 1 !important; transform: none !important; }
}
