/* Peps – The GreatSleep Store, Tenkasi */

:root {
  --peps-blue: #0047af;
  --peps-blue-600: #0a56c7;
  --sky: #1a6fe0;
  --navy-950: #020f2e;
  --navy-900: #04194a;
  --navy-800: #07276b;
  --ink: #0b1b3a;
  --muted: #5b6b86;
  --line: #e3e9f5;
  --bg: #ffffff;
  --bg-soft: #f4f7fe;
  --bg-tint: #eaf1ff;
  --yellow: #f8b400;
  --wa: #25d366;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -22px rgba(4, 25, 74, .35);
  --shadow-lg: 0 34px 70px -28px rgba(2, 15, 46, .6);
  --container: 1180px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M1 8.5C10 3 24 1 39 3.5 27 4 13 7 2 11.5c-1.2-.8-1.5-2-1-3z'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; }

[lang="ta"] { font-family: "Noto Sans Tamil", var(--font); letter-spacing: 0; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  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 {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--yellow); color: var(--navy-950); font-weight: 700; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  font-size: .98rem; font-weight: 700; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1.05em 1.6em; font-size: 1.05rem; }
.btn-sm { padding: .72em 1.1em; font-size: .92rem; }

.btn-accent { background: var(--yellow); color: var(--navy-950); box-shadow: 0 12px 26px -12px rgba(248, 180, 0, .9); }
.btn-accent:hover { background: #ffc21f; }
.btn-primary { background: var(--peps-blue); color: #fff; box-shadow: 0 12px 26px -14px rgba(0, 71, 175, .9); }
.btn-primary:hover { background: var(--peps-blue-600); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.btn-outline { background: transparent; color: var(--peps-blue); border-color: currentColor; }
.btn-outline:hover { background: var(--bg-tint); }
.btn-outline-dark { background: transparent; color: var(--navy-950); border-color: rgba(2, 15, 46, .8); }
.btn-outline-dark:hover { background: rgba(2, 15, 46, .08); }
.btn-wa { background: var(--wa); color: #04301a; }
.btn-wa:hover { background: #2fe076; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(4, 25, 74, .5);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; min-width: 0; }
.brand-logo { width: auto; height: 46px; border-radius: 9px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-size: 1rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.brand-text span { font-size: .78rem; font-weight: 600; opacity: .75; white-space: nowrap; }

.site-nav { display: flex; gap: 2px; }
.site-nav a {
  padding: .55em .85em; border-radius: 999px;
  font-size: .94rem; font-weight: 600; text-decoration: none; opacity: .9;
  transition: background-color .2s, color .2s, opacity .2s;
}
.site-nav a:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.site-header.is-solid .site-nav a:hover { background: var(--bg-tint); color: var(--peps-blue); }

.nav-toggle {
  display: none; position: relative; flex: none;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px;
  background: rgba(255, 255, 255, .08); color: inherit; cursor: pointer;
}
.site-header.is-solid .nav-toggle { border-color: var(--line); background: #fff; }
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 150px;
  color: #fff;
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(26, 111, 224, .55), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(0, 132, 220, .35), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--peps-blue) 100%);
}
.hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.stars .tw { animation: twinkle 3.2s ease-in-out infinite; }
.stars .t2 { animation-delay: 1.1s; }
.stars .t3 { animation-delay: 2.1s; }
.moon {
  position: absolute; top: calc(var(--header-h) + 18px); left: 47%;
  width: 46px; height: 46px; border-radius: 50%;
  box-shadow: inset -11px 7px 0 0 #ffe7a3;
  transform: rotate(-12deg);
  filter: drop-shadow(0 0 16px rgba(255, 225, 140, .55));
}
.cloud { position: absolute; border-radius: 50%; filter: blur(40px); }
.cloud-1 { width: 520px; height: 160px; left: -140px; bottom: 70px; background: rgba(255, 255, 255, .07); }
.cloud-2 { width: 680px; height: 210px; right: -180px; bottom: 10px; background: rgba(120, 170, 255, .16); }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-size: .86rem; font-weight: 600;
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(248, 180, 0, .25); }

.hero h1 { margin-top: 22px; font-size: clamp(2.5rem, 5.4vw, 4.4rem); letter-spacing: -.035em; }
.swoosh-word { position: relative; display: inline-block; white-space: nowrap; }
.swoosh-word svg { position: absolute; left: -1%; bottom: -.2em; width: 102%; height: .36em; fill: var(--yellow); }
.hero-tamil { margin-top: 26px; font-size: clamp(1rem, 1.6vw, 1.12rem); font-weight: 500; line-height: 1.7; color: #bcd3ff; }
.hero-lead { margin-top: 12px; max-width: 34em; font-size: clamp(1.03rem, 1.4vw, 1.16rem); color: rgba(226, 235, 255, .9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 32px 0 0; padding: 0; list-style: none;
  font-size: .92rem; font-weight: 500; color: rgba(226, 235, 255, .85);
}
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .icon { color: var(--yellow); }

.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .22s; }
.hero-copy > :nth-child(5) { animation-delay: .28s; }
.hero-copy > :nth-child(6) { animation-delay: .34s; }
.hero-visual { position: relative; animation: rise 1s .2s cubic-bezier(.2, .7, .2, 1) both; }

.hero-photo {
  margin: 0; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: #fff; color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(2, 15, 46, .6);
}
.float-card strong { display: block; font-size: .95rem; line-height: 1.25; }
.float-card small { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
.float-status { top: -20px; left: -22px; }
.float-emi { right: -14px; bottom: -28px; }
.emi-big { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--peps-blue); }

.status-dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: #16a34a; animation: pulse 2s infinite;
}
.is-closed .status-dot { background: #dc2626; animation: none; }

.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--bg-soft); }

/* ---------- Highlights ---------- */
.highlights { position: relative; z-index: 2; margin-top: -92px; background: transparent; }
.highlight-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  overflow: hidden; border-radius: var(--radius-lg);
  background: var(--line); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.highlight { display: flex; align-items: flex-start; gap: 16px; padding: 28px 24px; background: #fff; }
.highlight-icon {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--bg-tint); color: var(--peps-blue);
}
.highlight h3 { font-size: 1.02rem; letter-spacing: -.01em; }
.highlight p { margin-top: 4px; font-size: .9rem; line-height: 1.5; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }

.eyebrow {
  --swoosh-color: var(--yellow);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--peps-blue);
}
.eyebrow::before {
  content: ""; flex: none; width: 30px; height: 9px;
  background: var(--swoosh-color);
  -webkit-mask: var(--swoosh) no-repeat center / contain;
  mask: var(--swoosh) no-repeat center / contain;
}
.eyebrow [lang="ta"] { letter-spacing: .02em; text-transform: none; }
.eyebrow-light { color: #bcd3ff; }
.eyebrow-dark { --swoosh-color: var(--peps-blue); color: var(--navy-950); }

.section h2 { margin-top: 14px; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-lead { margin-top: 16px; max-width: 40em; font-size: 1.08rem; color: var(--muted); }

/* ---------- Range ---------- */
.range { background: var(--bg-soft); padding-top: clamp(64px, 8vw, 100px); }
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.range-grid .product-card:nth-child(3n + 2) { --d: .08s; }
.range-grid .product-card:nth-child(3n + 3) { --d: .16s; }

.product-card {
  --accent: var(--peps-blue);
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-art {
  padding: 26px 24px 18px;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 16%, #fff), color-mix(in srgb, var(--accent) 5%, #fff));
}
.product-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.product-tag { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.product-body h3 { margin-top: 6px; font-size: 1.4rem; }
.product-body > p:not(.product-tag):not(.product-badge) { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.product-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.product-points li {
  padding: 6px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
  background: color-mix(in srgb, var(--accent) 9%, #fff);
  color: color-mix(in srgb, var(--accent) 82%, #000);
}
.product-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 20px;
  font-weight: 700; color: var(--accent); text-decoration: none;
}
.product-link .icon { transition: transform .2s ease; }
.product-link:hover .icon { transform: translateX(4px); }

/* Mattress cross-section illustrations */
.xsec { width: 100%; height: auto; filter: drop-shadow(0 14px 14px color-mix(in srgb, var(--accent) 24%, transparent)); }
.x-shell { fill: var(--accent); }
.x-lux { stroke: #e7c66a; stroke-width: 2; }
.x-foam { fill: color-mix(in srgb, var(--accent) 38%, #fff); }
.x-core { fill: #f2f6fd; }
.x-base { fill: color-mix(in srgb, var(--accent) 72%, #000); }
.x-zone { fill: #f8b400; fill-opacity: .25; stroke: #f8b400; stroke-width: 1.5; stroke-dasharray: 4 3; }
.x-natural { fill: #79b07a; }
.x-memory { fill: color-mix(in srgb, var(--accent) 28%, #fff); }
.x-support { fill: color-mix(in srgb, var(--accent) 52%, #fff); }
.x-dip { fill: none; stroke: color-mix(in srgb, var(--accent) 70%, #000); stroke-opacity: .4; stroke-width: 1.5; }
.x-stitch { fill: none; stroke: #fff; stroke-opacity: .75; stroke-width: 1.2; stroke-dasharray: 3 3; }

/* Featured "new" card */
.product-feature {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center;
  border: 0; color: #fff;
  background:
    radial-gradient(600px 300px at 15% 50%, rgba(255, 255, 255, .1), transparent 70%),
    linear-gradient(135deg, #2a0712, #5e0c27 60%, #7a1232);
}
.product-feature .product-art { padding: 40px; background: none; }
.product-feature .product-body { padding: 40px 48px 40px 8px; }
.product-feature .product-tag { color: #f3c7d3; }
.product-feature .product-body h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.product-feature .product-body > p:not(.product-tag):not(.product-badge) { color: rgba(255, 235, 240, .82); font-size: 1rem; max-width: 34em; }
.product-feature .product-points li { background: rgba(255, 255, 255, .12); color: #fff; }
.product-feature .product-link { color: var(--yellow); }
.product-feature .xsec { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.product-badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin-bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: var(--yellow); color: var(--navy-950);
  font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.product-badge .icon { width: 1.1em; height: 1.1em; fill: currentColor; stroke: none; }

/* Accessories */
.accessories {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 32px; align-items: center;
  margin-top: 28px; padding: 32px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
}
.accessories-head h3 { font-size: 1.4rem; }
.accessories-head p { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.accessory-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; margin: 0; padding: 0; list-style: none; }
.accessory-list li { display: flex; align-items: center; gap: 12px; }
.accessory-list strong { display: block; font-size: .95rem; line-height: 1.3; }
.accessory-list small { display: block; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.acc-icon {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bg-tint); color: var(--peps-blue);
}

/* ---------- Why Peps ---------- */
.why {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(26, 111, 224, .35), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.why-intro > p:not(.eyebrow) { margin-top: 16px; max-width: 32em; font-size: 1.06rem; color: rgba(220, 230, 255, .8); }
.anatomy { width: 100%; height: auto; margin-top: 36px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); }
.a-shell { fill: #0d3a8f; stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; }
.a-foam { fill: #8fb3ff; }
.a-core { fill: #eef3fd; }
.a-edge { fill: #f8b400; fill-opacity: .5; }
.a-zone { fill: #f8b400; fill-opacity: .2; stroke: #f8b400; stroke-width: 2; stroke-dasharray: 6 4; }
.a-base { fill: #1d4fb8; }
.mk circle { fill: var(--yellow); stroke: var(--navy-900); stroke-width: 3; }
.mk text { fill: var(--navy-950); font-family: var(--font); font-size: 15px; font-weight: 800; text-anchor: middle; }

.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding: 0; list-style: none; }
.why-item {
  padding: 26px; border-radius: 20px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.why-num {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--yellow); color: var(--navy-950);
  font-size: .9rem; font-weight: 800;
}
.why-item h3 { margin-top: 14px; font-size: 1.16rem; }
.why-item p { margin-top: 8px; font-size: .95rem; color: rgba(220, 230, 255, .78); }

/* ---------- Showroom gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 205px); gap: 14px;
  grid-template-areas: "a a b b" "a a c d" "e e c f" "e e g g";
}
.gallery-item {
  position: relative; overflow: hidden; padding: 0; border: 0;
  border-radius: 18px; background: var(--bg-tint); cursor: zoom-in;
}
.gallery-item picture, .gallery-item img { width: 100%; height: 100%; }
.gallery-item img { object-fit: cover; transition: transform .6s ease; }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 15, 46, .45));
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover::after { opacity: 1; }
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; }
.g-e { grid-area: e; } .g-f { grid-area: f; } .g-g { grid-area: g; }

/* ---------- EMI ---------- */
.emi { padding-bottom: clamp(72px, 9vw, 120px); }
.emi-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 32px;
  color: var(--navy-950);
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(255, 255, 255, .45), transparent 70%),
    linear-gradient(135deg, #ffc933, var(--yellow) 55%, #f0a800);
}
.emi-card::after {
  content: ""; position: absolute; right: -60px; bottom: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .18);
}
.emi-copy h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.emi-tamil { margin-top: 12px; font-size: 1.08rem; font-weight: 700; color: var(--peps-blue); }
.emi-copy > p:not(.eyebrow):not(.emi-tamil):not(.fine-print) { margin-top: 12px; max-width: 34em; font-size: 1.05rem; color: rgba(2, 15, 46, .82); }
.emi-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fine-print { margin-top: 18px; max-width: 40em; font-size: .8rem; color: rgba(2, 15, 46, .7); }
.emi-visual { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.emi-zero { font-size: clamp(6rem, 13vw, 10.5rem); font-weight: 800; line-height: .85; letter-spacing: -.06em; color: var(--peps-blue); }
.emi-label { margin-top: 10px; font-size: 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.emi-partner {
  margin-top: 14px; padding: 8px 16px; border-radius: 999px;
  background: var(--navy-950); color: #fff; font-size: .9rem; font-weight: 700;
}

/* ---------- Sizes ---------- */
.sizes { background: var(--bg-soft); }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.size-card { padding: 28px 22px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.size-shape {
  position: relative;
  width: calc(var(--w) * 1.6px); height: 128px; margin: 0 auto 22px;
  border: 2px solid var(--peps-blue); border-radius: 10px;
  background: repeating-linear-gradient(135deg, var(--bg-tint) 0 8px, #fff 8px 16px);
}
.size-shape::before, .size-shape.two::after {
  content: ""; position: absolute; top: 8px; height: 14px;
  border: 1.5px solid #9fb7e3; border-radius: 6px; background: #fff;
}
.size-shape::before { left: 7px; right: 7px; }
.size-shape.two::before { right: auto; width: calc(50% - 10px); }
.size-shape.two::after { right: 7px; width: calc(50% - 10px); }
.size-card h3 { font-size: 1.25rem; }
.size-dims { margin-top: 8px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--peps-blue); }
.size-use { margin-top: 6px; font-size: .88rem; color: var(--muted); }
.size-note { margin-top: 28px; text-align: center; color: var(--muted); }
.size-note a, .faq-list a { font-weight: 700; color: var(--peps-blue); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.faq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; padding: 22px 52px 22px 0;
  font-size: 1.06rem; font-weight: 700; list-style: none; cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; top: 50%; right: 2px;
  width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background:
    linear-gradient(var(--peps-blue), var(--peps-blue)) center / 12px 2px no-repeat,
    linear-gradient(var(--peps-blue), var(--peps-blue)) center / 2px 12px no-repeat,
    var(--bg-tint);
  transition: transform .25s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 12px no-repeat,
    var(--peps-blue);
}
.faq-list summary:hover { color: var(--peps-blue); }
.faq-list details p { padding: 0 52px 22px 0; color: var(--muted); }

/* ---------- Visit ---------- */
.visit { background: var(--bg-soft); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.visit-card {
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: #fff;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(26, 111, 224, .45), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.visit-card h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.visit-tamil { margin-top: 10px; font-size: 1.05rem; font-weight: 500; color: #bcd3ff; }
.contact-list { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); color: var(--yellow);
}
.contact-label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(200, 215, 255, .7); }
.contact-value { margin-top: 2px; font-size: 1.02rem; font-weight: 600; overflow-wrap: anywhere; text-wrap: pretty; }
.contact-value a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .2s, color .2s; }
.contact-value a:hover { color: var(--yellow); border-color: var(--yellow); }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 3px 10px; border-radius: 999px;
  vertical-align: 2px; font-size: .76rem; font-weight: 700;
  background: rgba(22, 163, 74, .2); color: #86efac;
}
.status-pill .status-dot { width: 8px; height: 8px; }
.status-pill.is-closed { background: rgba(220, 38, 38, .2); color: #fca5a5; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.visit-media { display: flex; flex-direction: column; }
.map-frame {
  position: relative; flex: 1; min-height: 440px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #dfe8f7; box-shadow: var(--shadow);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; }
.map-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--peps-blue); text-decoration: none; }
.map-links a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 28px; color: rgba(220, 230, 255, .78); background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr; gap: 40px; }
.footer-brand img { width: auto; height: 56px; border-radius: 10px; }
.footer-name { margin-top: 18px; font-size: 1.05rem; font-weight: 800; color: #fff; }
.footer-tamil { margin-top: 4px; font-weight: 500; color: #bcd3ff; }
.footer-brand p:last-child { margin-top: 12px; max-width: 30em; font-size: .92rem; }
.site-footer h2 { margin-bottom: 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: .94rem; }
.footer-links a, .footer-contact a { text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--yellow); }
.footer-contact > a, .footer-contact > p { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .icon { margin-top: 2px; width: 1.1em; height: 1.1em; color: var(--yellow); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem; color: rgba(220, 230, 255, .6);
}

/* ---------- Floating contact ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 30px; height: 30px; }

.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px; border-radius: 22px;
  background: rgba(255, 255, 255, .96); border: 1px solid var(--line);
  box-shadow: 0 16px 40px -12px rgba(2, 15, 46, .45);
  transform: translateY(160%); transition: transform .3s ease;
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { padding: .95em .8em; }
.mobile-cta [lang="ta"] { font-weight: 700; opacity: .85; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: transparent; color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(2, 8, 26, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb-figure { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lb-img { width: auto; max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.lb-cap { margin-top: 14px; font-size: .95rem; color: rgba(255, 255, 255, .82); }
.lb-btn {
  position: fixed; z-index: 1; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff;
  cursor: pointer; transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { top: 50%; left: 18px; transform: translateY(-50%); }
.lb-next { top: 50%; right: 18px; transform: translateY(-50%); }

/* ---------- Motion ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); }
  70% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-nav {
    position: absolute; top: calc(var(--header-h) - 6px); left: 16px; right: 16px;
    flex-direction: column; gap: 2px; padding: 10px;
    background: #fff; color: var(--ink);
    border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .site-nav a { padding: 14px 16px; border-radius: 12px; font-size: 1rem; opacity: 1; }
  .site-nav a:hover { background: var(--bg-tint); color: var(--peps-blue); }
  .nav-toggle { display: inline-block; }

  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .range-grid { grid-template-columns: repeat(2, 1fr); }
  .range-grid .product-card:nth-child(n) { --d: 0s; }
  .range-grid .product-card:nth-child(even) { --d: .08s; }
  .accessories { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-intro { max-width: 640px; }
}

@media (max-width: 960px) {
  .hero { padding: calc(var(--header-h) + 40px) 0 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual { max-width: 620px; }
  .moon { left: auto; right: 8%; top: calc(var(--header-h) + 10px); }
  .float-status { left: 12px; }
  .float-emi { right: 12px; }
  .emi-card { grid-template-columns: 1fr; }
  .emi-visual { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 16px; order: -1; }
  .emi-zero { font-size: 5.5rem; }
  .emi-label { margin-top: 0; }
  .emi-partner { margin-top: 0; }
  .size-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .visit-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px;
    grid-template-areas: "a a" "a a" "b b" "c d" "c f" "e e" "g g";
  }
  .mobile-cta { display: grid; }
  .wa-float { display: none; }
  .site-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .accessory-list { grid-template-columns: 1fr 1fr; }
  .product-feature { grid-template-columns: 1fr; }
  .product-feature .product-art { padding: 32px 28px 8px; }
  .product-feature .product-body { padding: 16px 24px 28px; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .brand-logo { height: 40px; }
  .brand-text span { display: none; }
  .header-call { width: 44px; height: 44px; padding: 0; }
  .header-call span { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-proof { flex-direction: column; gap: 10px; }
  .float-card { padding: 10px 12px; gap: 10px; }
  .float-status { top: -18px; }
  .emi-big { font-size: 1.5rem; }
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight { padding: 20px; }
  .range-grid { grid-template-columns: 1fr; }
  .range-grid .product-card:nth-child(n) { --d: 0s; }
  .accessories { padding: 24px; }
  .accessory-list { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .size-grid { gap: 12px; }
  .size-card { padding: 22px 12px; }
  .size-dims { font-size: .9rem; }
  .visit-card { padding: 28px 22px; }
  .contact-value { font-size: .95rem; }
  .faq-list summary { padding-right: 46px; }
  .faq-list details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
