/* Haizum Marine — deep ocean theme for Marine Aquarium Chennai */
:root {
  --abyss: #0b5ce6;
  --deep: #0849c4;
  --panel: #0a2f8f;
  --panel-2: #0d3aa8;
  --navy: #08236e;
  --line: rgba(255, 255, 255, .16);
  --line-strong: rgba(255, 255, 255, .34);
  --ink: #ffffff;
  --ink-2: #e4efff;
  --muted: #b8d2ff;
  --aqua: #3fd8ff;
  --aqua-2: #13a9ea;
  --aqua-ink: #062a73;
  --coral: #ffd23f;
  --wa: #25d366;
  --radius: 28px;
  --radius-sm: 20px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
  --wrap: 1240px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--ink);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--aqua); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--deep), var(--abyss)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); max-width: 16ch; margin: 0; }
.section-head p { color: var(--muted); max-width: 46ch; margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }

/* Buttons */
.btn {
  --bg: var(--aqua); --fg: var(--aqua-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--font-display); letter-spacing: -.01em; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(63, 216, 255, .55); }
.btn--ghost { --bg: rgba(255, 255, 255, .06); --fg: var(--ink); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { box-shadow: none; border-color: var(--aqua); }
.btn--wa { --bg: var(--wa); --fg: #04210f; }
.btn--wa:hover { box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .55); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--font-display); color: var(--aqua); }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Top bar + header */
.topbar { background: var(--deep); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.topbar a { color: var(--ink-2); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 36, 120, .72); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.site-header.is-scrolled { background: rgba(6, 36, 120, .94); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font: 700 17px var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.brand-text span { font: 500 10px var(--font-display); letter-spacing: .42em; color: var(--aqua); margin-top: 5px; text-transform: uppercase; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; font: 500 15px var(--font-display); color: var(--ink-2); }
.nav a:hover, .nav .current-menu-item > a { color: var(--ink); background: rgba(255, 255, 255, .06); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink); background: transparent; cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--aqua); color: var(--aqua-ink); font: 700 11px/20px var(--font-display); text-align: center;
}
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.04); animation: drift 24s ease-in-out infinite alternate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 36, 120, .92) 0%, rgba(6, 36, 120, .55) 48%, rgba(6, 36, 120, .15) 100%),
    linear-gradient(0deg, var(--abyss) 0%, rgba(6, 36, 120, 0) 45%);
}
.hero::after { /* caustic light */
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: screen;
  background:
    radial-gradient(40% 30% at 30% 20%, rgba(63, 216, 255, .25), transparent 60%),
    radial-gradient(30% 25% at 70% 10%, rgba(31, 181, 201, .25), transparent 60%);
  animation: caustic 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: scale(1.1) translate(-1.5%, -1%); } }
@keyframes caustic { to { transform: translate(6%, 4%) rotate(4deg); } }
.hero-inner { padding: 120px 0 56px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 84px); max-width: 13ch; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--aqua), #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 52ch; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.path-card {
  position: relative; display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: var(--radius);
  background: rgba(10, 47, 143, .62); border: 1px solid var(--line-strong); backdrop-filter: blur(14px);
  transition: border-color .25s, transform .25s, background .25s;
}
.path-card:hover { color: var(--ink); border-color: var(--aqua); transform: translateY(-3px); background: rgba(13, 58, 168, .8); }
.path-card .pc-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(63, 216, 255, .12); color: var(--aqua); flex: none; }
.path-card .pc-icon svg { width: 26px; height: 26px; }
.path-card h3 { font-size: 19px; margin: 0 0 4px; }
.path-card p { margin: 0; color: var(--muted); font-size: 14px; }
.path-card .pc-go { margin-left: auto; font-size: 22px; color: var(--aqua); transition: transform .25s; }
.path-card:hover .pc-go { transform: translateX(4px); }

/* Facts strip */
.facts { border-block: 1px solid var(--line); background: var(--deep); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 22px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font: 600 26px var(--font-display); color: var(--ink); }
.fact span { color: var(--muted); font-size: 14px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel);
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, border-color .3s;
}
.service:hover { transform: translateY(-4px); border-color: var(--line-strong); color: var(--ink); }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service:hover .service-media img { transform: scale(1.06); }
.service-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.service-body .num { font: 600 12px var(--font-display); color: var(--aqua); letter-spacing: .14em; margin-bottom: 10px; }
.service-body h3 { font-size: 20px; }
.service-body p { color: var(--muted); font-size: 15px; flex: 1; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, 240px); gap: 18px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.cat-card:first-child { grid-row: span 2; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 36, 120, .92), rgba(6, 36, 120, .05) 65%); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card:hover { color: var(--ink); }
.cat-card h3 { font-size: 24px; margin: 0 0 4px; }
.cat-card span { color: var(--ink-2); font-size: 14px; }
.cat-card--light img { object-fit: contain; padding: 28px 28px 70px; background: radial-gradient(circle at 50% 40%, #3a8bff, var(--panel)); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font: 500 14px var(--font-display); color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--aqua); color: var(--aqua); }
.chip small { color: var(--muted); margin-left: 4px; }

/* Product cards (also used by WooCommerce loop) */
.products-grid, ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.p-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, border-color .3s; }
.p-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.p-card-media { position: relative; aspect-ratio: 1; background: #1f6ef0; overflow: hidden; }
.p-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.p-card:hover .p-card-media img { transform: scale(1.05); }
.p-badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; font: 600 11px var(--font-display); letter-spacing: .04em; background: rgba(6, 36, 120, .75); color: var(--aqua); backdrop-filter: blur(6px); }
.p-badge--out { color: var(--coral); }
.p-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.p-card h3 { font: 600 16px/1.35 var(--font-display); margin: 0 0 12px; letter-spacing: -.01em; }
.p-card h3 a:hover { color: var(--aqua); }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font: 700 18px var(--font-display); color: var(--ink); }
.price del { color: var(--muted); font-weight: 500; font-size: 14px; margin-right: 6px; }
.price ins { text-decoration: none; }
.p-add { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(63, 216, 255, .12); color: var(--aqua); border: 0; cursor: pointer; transition: background .2s, color .2s; }
.p-add:hover { background: var(--aqua); color: var(--aqua-ink); }
.p-add svg { width: 18px; height: 18px; }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.project { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--panel); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; }
.project:hover img { transform: scale(1.05); }
.project--tall { grid-row: span 2; }
.project--wide { grid-column: span 2; }
.project figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(6, 36, 120, .7); font: 500 13px var(--font-display); backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: all .3s; }
.project:hover figcaption { opacity: 1; transform: none; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), transparent); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 600 40px var(--font-display); color: transparent; -webkit-text-stroke: 1px var(--aqua); margin-bottom: 18px; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* Split feature (about teaser) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media .floating { position: absolute; right: -20px; bottom: -28px; width: 46%; border: 6px solid var(--abyss); border-radius: var(--radius); }
.ticks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-2); }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(63, 216, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fe0cf' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Guides */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.guide:hover { transform: translateY(-4px); border-color: var(--line-strong); color: var(--ink); }
.guide-media { aspect-ratio: 16 / 9; overflow: hidden; }
.guide-media img { width: 100%; height: 100%; object-fit: cover; }
.guide-body { padding: 22px; }
.guide-body .meta { font-size: 13px; color: var(--aqua); margin-bottom: 8px; }
.guide-body h3 { font-size: 19px; margin-bottom: 8px; }
.guide-body p { color: var(--muted); font-size: 15px; margin: 0; }

/* CTA band */
.cta-band { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(40px, 6vw, 72px); isolation: isolate; border: 1px solid var(--line-strong); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 36, 120, .95), rgba(8, 60, 190, .7) 60%, rgba(8, 60, 190, .35)); }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 52px); max-width: 15ch; }
.cta-band p { max-width: 48ch; color: var(--ink-2); margin-bottom: 28px; }

/* Footer */
.site-footer { background: var(--deep); border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.site-footer h4 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--aqua); }
.footer-about p { margin: 18px 0; max-width: 34ch; }
.contact-line { display: flex; gap: 10px; margin-bottom: 12px; }
.contact-line svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--aqua); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .services-grid, .products-grid, ul.products, .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--abyss); box-shadow: 0 30px 40px -20px rgba(0,0,0,.7); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 40; margin: 0; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 14px 12px; font-size: 17px; border-radius: 10px; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .hero-paths, .split { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact { border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px repeat(2, 200px); }
  .cat-card:first-child { grid-column: span 2; grid-row: auto; }
  .guides-grid { grid-template-columns: 1fr; }
  .split-media .floating { right: 12px; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .site-header .wrap { height: 66px; gap: 12px; }
  .brand img { width: 38px; height: 38px; }
  .brand-text strong { font-size: 14px; }
  .services-grid, .process { grid-template-columns: 1fr; }
  .products-grid, ul.products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-card-body { padding: 12px; }
  .p-card h3 { font-size: 14px; }
  .price { font-size: 16px; }
  .p-add { width: 34px; height: 34px; }
  .projects-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .project--wide { grid-column: span 2; }
  .cat-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 200px; }
  .cat-card:first-child { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-inner { padding-top: 80px; }
  .path-card { padding: 16px; }
  .path-card .pc-icon { width: 46px; height: 46px; }
  .topbar .wrap { justify-content: center; }
}

/* ===== Aquarium motion ===== */
.hero-inner { position: relative; z-index: 2; padding-bottom: 84px; }

/* Rising bubbles (spans injected by theme.js) */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.bubble {
  position: absolute; bottom: -24px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .85) 0 8%, rgba(170, 235, 255, .18) 30%, rgba(170, 235, 255, .04) 70%);
  border: 1px solid rgba(190, 240, 255, .4);
  box-shadow: inset 0 0 6px rgba(190, 240, 255, .25);
  opacity: 0; will-change: transform, opacity;
  animation: bubble-rise var(--d) linear var(--delay) infinite;
}
@keyframes bubble-rise {
  0%   { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
  8%   { opacity: .9; }
  25%  { transform: translate3d(var(--w), calc(var(--rise) * -.25), 0) scale(.8); }
  50%  { transform: translate3d(calc(var(--w) * -1), calc(var(--rise) * -.5), 0) scale(.9); }
  75%  { transform: translate3d(var(--w), calc(var(--rise) * -.75), 0) scale(1); }
  92%  { opacity: .7; }
  100% { transform: translate3d(0, calc(var(--rise) * -1), 0) scale(1.05); opacity: 0; }
}

/* Swaying light rays from the surface */
.rays {
  position: absolute; inset: -10% -10% 30%; z-index: -1; pointer-events: none; transform-origin: 50% 0;
  background: repeating-linear-gradient(100deg, transparent 0 70px, rgba(150, 235, 255, .07) 70px 120px, transparent 120px 210px, rgba(150, 235, 255, .04) 210px 240px, transparent 240px 330px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mix-blend-mode: screen; animation: rays-sway 11s ease-in-out infinite alternate;
}
@keyframes rays-sway { from { transform: skewX(-7deg) translateX(-2%); opacity: .55; } to { transform: skewX(7deg) translateX(2%); opacity: 1; } }

/* Swimming clownfish */
.school { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fish { position: absolute; top: var(--top); left: 0; width: var(--size); opacity: var(--o, 1); animation: swim-r var(--d) linear var(--delay) infinite; will-change: transform; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }
.fish--left { animation-name: swim-l; }
.fish--left .cf { transform: scaleX(-1); }
.fish--far { filter: blur(1.2px) saturate(.8); }
.fish .cf { width: 100%; height: auto; display: block; animation: fish-bob 3s ease-in-out infinite; }
.fish-pair { display: flex; align-items: center; gap: 4%; }
.fish-pair .cf { width: 56%; }
.fish-pair .cf + .cf { width: 40%; margin-top: 18%; animation-delay: -1.2s; }
.cf-tail { transform-box: view-box; transform-origin: 24px 32px; animation: cf-tail .42s ease-in-out infinite alternate; }
.cf-pec { transform-box: view-box; transform-origin: 82px 36px; animation: cf-pec .3s ease-in-out infinite alternate; }
.cf-dorsal { transform-box: view-box; transform-origin: 60px 16px; animation: cf-dorsal 1.4s ease-in-out infinite alternate; }
@keyframes cf-tail { from { transform: rotate(-11deg) scaleX(1); } to { transform: rotate(11deg) scaleX(.86); } }
@keyframes cf-pec { from { transform: rotate(-22deg); } to { transform: rotate(14deg); } }
@keyframes cf-dorsal { from { transform: scaleY(1); } to { transform: scaleY(.85); } }
@keyframes swim-r { from { transform: translateX(-25vw); } to { transform: translateX(120vw); } }
@keyframes swim-l { from { transform: translateX(120vw); } to { transform: translateX(-25vw); } }
@keyframes fish-bob { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -8px; rotate: -3deg; } }

/* Animated waves */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 56px; overflow: hidden; pointer-events: none; z-index: 1; }
.waves svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; fill: var(--deep); animation: wave-move 16s linear infinite; }
.waves svg + svg { opacity: .45; animation-duration: 10s; animation-direction: reverse; height: 85%; }
.waves--top { top: -55px; bottom: auto; }
@keyframes wave-move { to { transform: translateX(-50%); } }
.site-footer { position: relative; }

/* Drifting marine snow in tinted sections */
.section--tint { overflow: hidden; }
.section--tint::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 120px); pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(190, 235, 255, .35) 1px, transparent 1.6px), radial-gradient(rgba(190, 235, 255, .2) 1px, transparent 1.6px);
  background-size: 140px 120px, 90px 60px; background-position: 0 0, 45px 30px;
  animation: snow-drift 26s linear infinite;
}
.section--tint > .wrap { position: relative; z-index: 1; }
@keyframes snow-drift { to { transform: translateY(-120px); } }

/* A fish that swims along the process steps */
.process { position: relative; margin-top: 30px; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; border-top: 1px dashed var(--line-strong); }
.process-swim { position: absolute; top: -44px; left: 0; width: 46px; animation: track-swim 16s ease-in-out infinite; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); }
.process-swim .cf { width: 100%; height: auto; display: block; animation: fish-bob 1.8s ease-in-out infinite; }
@keyframes track-swim {
  0% { left: 0; transform: scaleX(1); }
  46% { left: calc(100% - 46px); transform: scaleX(1); }
  50% { left: calc(100% - 46px); transform: scaleX(-1); }
  96% { left: 0; transform: scaleX(-1); }
  100% { left: 0; transform: scaleX(1); }
}

/* Water ripple on buttons */
.btn, .p-add { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .4); transform: scale(0); animation: ripple .7s ease-out forwards; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Product image gently bobs on hover */
.p-card:hover .p-card-media img { animation: img-bob 3.2s ease-in-out infinite; }
@keyframes img-bob { 0%, 100% { transform: scale(1.06) translateY(0); } 50% { transform: scale(1.06) translateY(-5px); } }

/* WhatsApp button breathes bubbles */
.wa-float::before, .wa-float::after {
  content: ""; position: absolute; top: 2px; left: 46%; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid rgba(160, 255, 200, .8); opacity: 0; animation: wa-bubble 3.4s ease-in infinite;
}
.wa-float::after { width: 6px; height: 6px; left: 58%; animation-delay: 1.7s; }
@keyframes wa-bubble { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-8px, -52px); opacity: 0; } }

@media (max-width: 560px) {
  .waves { height: 34px; }
  .waves--top { top: -33px; }
  .fish-pair { --size: 130px !important; }
  .fish--far { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bubbles, .school, .process-swim, .wa-float::before, .wa-float::after, .section--tint::before { display: none; }
}


/* ===== Bright reef theme (blue + cyan, Fredoka) ===== */
body { background: var(--abyss); font-weight: 500; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: 0; }
h1, h2 { text-transform: uppercase; font-weight: 700; line-height: 1.02; text-shadow: 0 5px 0 rgba(4, 28, 110, .35); }
h1 em, h2 em { font-style: normal; color: var(--aqua); }
.section-head h2 { font-size: clamp(34px, 4.8vw, 58px); max-width: 18ch; }
.section-head p, .lead { color: var(--ink-2); }
.section--tint { background: var(--deep); }

.eyebrow { padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font: 600 13px/1 var(--font-display); letter-spacing: .14em; }
.eyebrow::before { width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgba(63, 216, 255, .25); }

.btn { font: 600 16px/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; min-height: 54px; padding: 0 28px; box-shadow: 0 6px 0 #0b86c9; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #0b86c9, 0 18px 30px -12px rgba(4, 28, 110, .6); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #0b86c9; }
.btn--ghost { --bg: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .7); box-shadow: 0 6px 0 rgba(4, 28, 110, .35); }
.btn--ghost:hover { box-shadow: 0 8px 0 rgba(4, 28, 110, .35); border-color: #fff; }
.btn--wa { box-shadow: 0 6px 0 #149a48; }
.btn--wa:hover { box-shadow: 0 8px 0 #149a48, 0 18px 30px -12px rgba(4, 28, 110, .6); }
.btn--sm { min-height: 42px; font-size: 14px; box-shadow: 0 4px 0 #149a48; }
.link-arrow { font: 600 16px var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--aqua); }

.topbar { background: var(--navy); border: 0; }
.site-header { background: rgba(11, 92, 230, .82); border-bottom: 2px solid rgba(255, 255, 255, .14); }
.site-header.is-scrolled { background: rgba(8, 60, 190, .96); }
.nav a { font: 600 16px var(--font-display); color: #fff; }
.nav a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.brand-text strong { font-weight: 700; letter-spacing: .04em; }
.icon-btn { border: 2px solid rgba(255, 255, 255, .5); }

/* Hero with video */
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(8, 52, 190, .9) 0%, rgba(10, 70, 210, .55) 50%, rgba(10, 80, 220, .12) 100%),
    linear-gradient(0deg, var(--abyss) 0%, rgba(11, 92, 230, 0) 40%);
}
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); max-width: 12ch; animation: pop-in 1s cubic-bezier(.2, 1.5, .4, 1) both; }
.hero h1 em { display: inline-block; background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--aqua); font-size: 1.12em; animation: wiggle 4s ease-in-out 1.2s infinite; transform-origin: 20% 60%; }
.hero .lead { font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; animation: pop-in 1s .15s cubic-bezier(.2, 1.4, .4, 1) both; }
.hero-ctas { animation: pop-in 1s .3s cubic-bezier(.2, 1.4, .4, 1) both; }
.hero .waves svg { fill: var(--abyss); }
@keyframes pop-in { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes wiggle { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-3deg); } 93% { transform: rotate(2.5deg); } 96% { transform: rotate(-1.5deg); } }
.path-card { background: rgba(8, 35, 110, .55); border: 2px solid rgba(255, 255, 255, .25); }
.path-card:hover { background: rgba(8, 35, 110, .8); border-color: var(--aqua); }
.path-card .pc-icon { background: var(--aqua); color: var(--aqua-ink); border-radius: 18px; }
.btn.pulse { animation: pulse-ring 2.4s ease-out infinite; }
@keyframes pulse-ring { 0% { box-shadow: 0 6px 0 #0b86c9, 0 0 0 0 rgba(63, 216, 255, .6); } 70% { box-shadow: 0 6px 0 #0b86c9, 0 0 0 18px rgba(63, 216, 255, 0); } 100% { box-shadow: 0 6px 0 #0b86c9, 0 0 0 0 rgba(63, 216, 255, 0); } }

/* Animated sticker emoji */
.sticker { position: absolute; z-index: 3; width: var(--sz, 96px); height: auto; pointer-events: none; filter: drop-shadow(0 14px 18px rgba(4, 28, 110, .45)); animation: sticker-float var(--t, 4.5s) ease-in-out var(--dl, 0s) infinite; }
@keyframes sticker-float { 0%, 100% { transform: translateY(0) rotate(var(--r, -8deg)); } 50% { transform: translateY(-16px) rotate(calc(var(--r, -8deg) * -1)); } }

/* Wavy cyan lines + pill facts bar */
.wave-lines { position: absolute; left: 0; right: 0; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60' viewBox='0 0 240 60'%3E%3Cpath d='M0 30 Q30 4 60 30 T120 30 T180 30 T240 30' fill='none' stroke='%233fd8ff' stroke-width='11' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 240px 60px; animation: wave-lines 6s linear infinite; pointer-events: none; }
.wave-lines--b { opacity: .55; animation-duration: 9s; animation-direction: reverse; }
@keyframes wave-lines { to { background-position: 240px 0; } }
.facts { position: relative; z-index: 3; background: none; border: 0; padding: 26px 0 10px; margin-top: -40px; }
.facts .wave-lines { top: 50%; transform: translateY(-80%); }
.facts .wave-lines--b { transform: translateY(0); }
.facts .wrap { position: relative; background: var(--navy); border-radius: 999px; padding: 6px 36px; box-shadow: 0 24px 50px -20px rgba(4, 20, 80, .8); border: 2px solid rgba(255, 255, 255, .14); }
.fact { border-left-color: rgba(255, 255, 255, .14); padding: 20px 22px; }
.fact strong { font: 700 28px var(--font-display); color: var(--aqua); text-transform: uppercase; }
.fact span { color: var(--ink-2); font-weight: 600; }

/* Cards */
.service, .p-card, .guide, .step, .cat-card { border: 2px solid rgba(255, 255, 255, .12); }
.service, .p-card, .guide { background: var(--navy); }
.service:hover, .p-card:hover, .guide:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--aqua); }
.service-body .num { font: 700 14px var(--font-display); color: var(--coral); }
.service-body p, .guide-body p, .step p { color: var(--ink-2); }
.p-card-media { background: #1f6ef0; }
.p-badge { background: var(--aqua); color: var(--aqua-ink); font: 600 12px var(--font-display); text-transform: uppercase; }
.p-cat { color: var(--aqua); font-weight: 700; }
.p-card h3 { font-weight: 600; }
.price { font: 700 20px var(--font-display); color: var(--coral); }
.p-add { background: var(--aqua); color: var(--aqua-ink); box-shadow: 0 4px 0 #0b86c9; }
.p-add:hover { background: #fff; }
.chip { border: 2px solid rgba(255, 255, 255, .3); color: #fff; font: 600 15px var(--font-display); background: rgba(255, 255, 255, .06); }
.chip:hover { background: var(--aqua); color: var(--aqua-ink); border-color: var(--aqua); }
.chip small { color: inherit; opacity: .7; }
.cat-card h3 { font-size: 28px; text-transform: uppercase; font-weight: 700; text-shadow: 0 3px 0 rgba(4, 28, 110, .45); }
.cat-card::before { background: linear-gradient(0deg, rgba(8, 35, 110, .92), rgba(8, 35, 110, 0) 62%); }
.cat-card--light img { background: radial-gradient(circle at 50% 40%, #ffffff, #cfe3ff); }
.step { background: var(--navy); }
.step::before { -webkit-text-stroke: 0; color: var(--aqua); font-weight: 700; font-size: 46px; }
.project { border: 3px solid rgba(255, 255, 255, .16); }
.project figcaption { background: var(--aqua); color: var(--aqua-ink); font: 600 14px var(--font-display); }
.ticks li::before { background-color: var(--aqua); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062a73' stroke-width='3.4'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.guide-body .meta { color: var(--coral); font-weight: 700; }
.cta-band { border: 3px solid rgba(255, 255, 255, .2); }
.cta-band::before { background: linear-gradient(90deg, rgba(8, 35, 110, .95), rgba(10, 70, 210, .7) 60%, rgba(10, 80, 220, .3)); }
.split-media .floating { border-color: var(--abyss); }

/* Footer */
.site-footer { background: var(--navy); border-top: 0; color: var(--ink-2); }
.waves--top svg { fill: var(--navy); }
.site-footer h4 { color: var(--aqua); font-weight: 700; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .12); color: var(--muted); }
.footer-bottom small { display: block; opacity: .7; font-size: 11px; margin-top: 4px; }

@media (max-width: 900px) {
  .facts .wrap { border-radius: 28px; padding: 6px 20px; }
  .sticker--hide-sm { display: none; }
}
@media (max-width: 560px) {
  .sticker { --sz: 58px !important; }
  .fact strong { font-size: 22px; }
}
.hero h1 { font-size: clamp(44px, 6.2vw, 92px); max-width: 15ch; }
.hero h1 em { font-size: 1em; }
.brand img { background: #fff; border-radius: 50%; padding: 4px; box-shadow: 0 4px 0 rgba(4, 28, 110, .35); }
@media (max-width: 1599px) { .sticker--wide-only { display: none; } }
.cta-band img.sticker { inset: auto; width: var(--sz, 96px); height: auto; object-fit: initial; z-index: 3; }
@media (max-width: 760px) { .cta-band img.sticker { display: none; } }
@media (max-width: 560px) {
  .hero .sticker { display: none; }
  .hero .sticker--star { display: block; top: 12px !important; right: 12px !important; }
}
/* Fredoka's capitals sit tight (L+I touch): open up uppercase headings */
h1, h2, .cat-card h3, .fact strong { letter-spacing: .035em; font-kerning: none; }
