/* ============================================================
   CSS Variables & Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:       #FAF9F7;
  --bg-2:     #F4F2EF;
  --white:    #FFFFFF;

  /* Pastel palette */
  --blush:    #FAE0EC;
  --lavender: #EDE5FF;
  --mint:     #D8F0E8;
  --sky:      #DAF0FF;
  --peach:    #FFE9D8;

  /* Text */
  --text:        #18181B;
  --text-2:      #52525B;
  --text-muted:  #A1A1AA;

  /* Accent */
  --accent:      #C96B95;
  --accent-boy:  #3B82C4;

  /* Borders & shadows */
  --border:      rgba(0, 0, 0, 0.07);
  --border-2:    rgba(0, 0, 0, 0.12);
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.09);
  --shadow-xl:   0 32px 80px rgba(0,0,0,0.10);

  /* Radii */
  --r-sm:  10px;
  --r-md:  18px;
  --r-lg:  28px;
  --r-xl:  40px;

  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img, svg { display: block; }

button { font-family: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 em, h2 em {
  font-style: italic;
  color: var(--accent);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(30px, 4vw, 52px);
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.si {
  font-family: 'Noto Serif Sinhala', serif;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--text);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}
.btn--primary:hover {
  background: #27272A;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border-2);
}
.btn--ghost:hover {
  background: var(--bg-2);
  color: var(--text);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn--outline:hover {
  background: var(--text);
  color: var(--white);
}

.btn--large {
  padding: 17px 36px;
  font-size: 17px;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: 0.10s; }
.reveal--delay-2 { transition-delay: 0.20s; }
.reveal--delay-3 { transition-delay: 0.30s; }
.reveal--delay-4 { transition-delay: 0.40s; }

/* ============================================================
   Background Blobs
   ============================================================ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.blob--1 {
  width: 640px; height: 640px;
  background: var(--blush);
  top: -160px; right: -120px;
  opacity: 0.65;
}
.blob--2 {
  width: 480px; height: 480px;
  background: var(--lavender);
  bottom: -80px; left: -120px;
  opacity: 0.55;
}
.blob--3 {
  width: 320px; height: 320px;
  background: var(--sky);
  top: 35%; left: 38%;
  opacity: 0.50;
}
.blob--4 {
  width: 560px; height: 560px;
  background: var(--blush);
  top: -80px; right: -120px;
  opacity: 0.60;
}
.blob--5 {
  width: 440px; height: 440px;
  background: var(--mint);
  bottom: -80px; left: -100px;
  opacity: 0.55;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(250, 249, 247, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blush) 0%, var(--lavender) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif Sinhala', serif;
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

.nav__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px 28px 28px;
  gap: 0;
  background: rgba(250, 249, 247, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
}
.nav__mobile a {
  padding: 14px 0;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--text); }
.nav__mobile a:last-child {
  border: none;
  margin-top: 16px;
  text-align: center;
  justify-content: center;
}
.nav__mobile.open { display: flex; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 128px 0 96px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow { margin-bottom: 22px; }

.hero__headline {
  font-size: clamp(42px, 5.2vw, 76px);
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.07;
}

.hero__sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.68;
  max-width: 460px;
}
.hero__sub--si {
  font-family: 'Noto Serif Sinhala', serif;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 10px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 36px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.trust__avatars {
  display: flex;
}
.trust__avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--lavender));
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif Sinhala', serif;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-right: -8px;
}
.trust__avatars span:last-child { margin-right: 0; }

.trust__copy {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}
.trust__copy strong { color: var(--text); }
.trust__stars {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.trust__stars span { color: var(--text-2); font-weight: 600; }

/* Hero card wrapper */
.hero__card-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card__float {
  animation: float 7s ease-in-out infinite;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.card__glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--blush) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(48px);
  z-index: 0;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.85; transform: translate(-50%, -50%) scale(1.12); }
}

/* Name Card */
.name-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.90);
  border-radius: var(--r-lg);
  padding: 36px 32px 28px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.6) inset;
}

.nc__header {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.nc__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
}
.nc__badge--origin { background: var(--lavender); color: #7C5CC5; }
.nc__badge--gender { background: var(--blush);    color: var(--accent); }
.nc__badge--gender.boy { background: var(--sky); color: var(--accent-boy); }

.nc__sinhala {
  font-family: 'Noto Serif Sinhala', serif;
  font-size: 54px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 6px;
}
.nc__roman {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.nc__pron {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.nc__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

.nc__meaning-en {
  font-size: 15px;
  color: var(--text-2);
  font-style: italic;
  margin-bottom: 6px;
  line-height: 1.5;
}
.nc__meaning-si {
  font-family: 'Noto Serif Sinhala', serif;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.nc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.nc__tags span {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 11px;
  background: var(--bg-2);
  border-radius: 100px;
  color: var(--text-2);
}

.nc__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}
.nc__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border-2);
  background: var(--white);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.nc__btn:hover {
  background: var(--bg-2);
  color: var(--text);
}

.nc__dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nc__dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: var(--border-2);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}
.nc__dot.active {
  width: 20px;
  background: var(--accent);
}

/* Card content transition */
.nc__sinhala, .nc__roman, .nc__pron,
.nc__meaning-en, .nc__meaning-si, .nc__tags {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.name-card.fading .nc__sinhala,
.name-card.fading .nc__roman,
.name-card.fading .nc__pron,
.name-card.fading .nc__meaning-en,
.name-card.fading .nc__meaning-si,
.name-card.fading .nc__tags {
  opacity: 0;
  transform: translateY(8px);
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee-wrap {
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  user-select: none;
}
.marquee__track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee-wrap:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__track .mn {
  font-size: 16px;
  color: var(--text-2);
  font-weight: 500;
}
.marquee__track .mn.si {
  font-family: 'Noto Serif Sinhala', serif;
}
.marquee__track .ms {
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Features
   ============================================================ */
.features {
  padding: 120px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,0.10);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--card-bg, var(--blush));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-bottom: 22px;
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: 19px;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================
   How It Works
   ============================================================ */
.how {
  padding: 80px 0 120px;
  background: var(--bg-2);
}
.how__steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.how__step {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 40px 32px;
}
.how__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--text-muted);
  flex-shrink: 0;
  align-self: center;
}
.how__num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
}
.how__step h3 {
  font-size: 21px;
  color: var(--text);
  margin-bottom: 12px;
}
.how__step p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery {
  padding: 120px 0;
}
.gallery__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border-2);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.filter-btn:hover {
  background: var(--bg-2);
  color: var(--text);
}
.filter-btn.active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 48px;
  min-height: 200px;
}

.gallery-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 22px;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(18px);
}
.gallery-item.visible {
  opacity: 1;
  transform: none;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,0.10);
}

.gi__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.gi__badge--girl { background: var(--blush); color: var(--accent); }
.gi__badge--boy  { background: var(--sky);   color: var(--accent-boy); }

.gi__sinhala {
  font-family: 'Noto Serif Sinhala', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 6px;
}
.gi__roman {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.gi__meaning {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.gallery__cta { text-align: center; }

/* ============================================================
   Testimonials
   ============================================================ */
.stories {
  padding: 80px 0 120px;
  background: var(--bg-2);
}
.stories__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 40px 36px;
}
.story-card__quote {
  font-family: 'DM Serif Display', serif;
  font-size: 72px;
  line-height: 0.9;
  color: var(--blush);
  margin-bottom: 20px;
  margin-left: -4px;
  display: block;
}
.story-card__text {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.72;
  font-style: italic;
  margin-bottom: 14px;
}
.story-card__si {
  font-family: 'Noto Serif Sinhala', serif;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.85;
}
.story-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.story-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--lavender));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif Sinhala', serif;
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}
.story-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.story-card__loc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   CTA Block
   ============================================================ */
.cta-block {
  padding: 128px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-block__bg {
  position: absolute;
  inset: 0;
}
.cta-block__inner {
  position: relative;
  z-index: 1;
}
.cta-block__title {
  font-size: clamp(34px, 5vw, 64px);
  margin: 14px 0 18px;
}
.cta-block__si {
  font-family: 'Noto Serif Sinhala', serif;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.cta-block__checks {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.cta-block__checks span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
}
.footer__si {
  font-family: 'Noto Serif Sinhala', serif;
  font-size: 13px !important;
  margin-top: 6px !important;
}
.footer__cols {
  display: flex;
  gap: 56px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  border-top: 1px solid var(--border);
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer__bottom-links {
  display: flex;
  gap: 24px;
}
.footer__bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__bottom-links a:hover { color: var(--text); }

/* ============================================================
   Gender grid (পুতাট / দুবট split section)
   ============================================================ */
.features__grid--gender {
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ============================================================
   Responsive — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid  { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Responsive — Tablet portrait (≤860px)
   ============================================================ */
@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__card-wrap { order: 2; }
  .card__float { max-width: 100%; }
  .name-card { max-width: 440px; margin: 0 auto; }

  .how__steps {
    flex-direction: column;
    gap: 4px;
  }
  .how__arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .stories__grid { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   Responsive — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .nav__links  { display: none; }
  .nav__cta    { display: none; }
  .nav__toggle { display: flex; }

  .hero { padding: 96px 0 64px; }
  .hero__headline { font-size: clamp(34px, 9vw, 52px); }
  .hero__sub { font-size: 16px; }

  .features { padding: 72px 0; }
  .features__grid--gender { grid-template-columns: 1fr 1fr; }

  .section-header { margin-bottom: 40px; }

  .how__step { padding: 28px 24px; }

  .gallery { padding: 72px 0; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  .stories { padding: 64px 0 80px; }

  .cta-block { padding: 80px 0; }

  .footer__inner { padding-top: 48px; padding-bottom: 36px; }
}

/* ============================================================
   Responsive — Small mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 18px; }

  .features__grid { grid-template-columns: 1fr; }
  .features__grid--gender { grid-template-columns: 1fr; }

  .gallery__grid { grid-template-columns: 1fr 1fr; }

  .hero { padding: 88px 0 56px; }
  .hero__headline { font-size: clamp(30px, 8vw, 44px); }
  .hero__sub { font-size: 15px; }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn { justify-content: center; }

  .how { padding: 56px 0 72px; }
  .how__step { padding: 24px 20px; }
  .how__step h3 { font-size: 18px; }

  .cta-block { padding: 72px 0; }
  .cta-block__title { font-size: clamp(28px, 7vw, 42px); }
  .cta-block__checks { flex-direction: column; align-items: center; gap: 10px; }

  .story-card { padding: 28px 20px; }
  .story-card__text { font-size: 15px; }

  .footer__cols {
    flex-direction: column;
    gap: 28px;
  }
  .footer__inner { gap: 28px; }
  .footer__bottom-inner { flex-direction: column; gap: 12px; text-align: center; }

  .nc__sinhala { font-size: 42px; }

  .section-header { margin-bottom: 32px; }
  .section-title { font-size: clamp(26px, 7vw, 40px); }
  .section-sub { font-size: 15px; }
}
