/*
Theme Name: Teratak Karang Laut
Theme URI: https://new.teratakkaranglaut.com/
Author: Teratak Karang Laut
Description: Tema khas untuk Teratak Karang Laut – putih, biru & biru gelap dengan animasi skrol, gelombang, gelembung dan kesan interaktif.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: teratak-karang-laut
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--navy-950: #020b1d;
	--navy-900: #051632;
	--navy-800: #0a2452;
	--navy-700: #0f3272;
	--blue-600: #1a5fe0;
	--blue-500: #2e7cff;
	--blue-400: #4f9dff;
	--cyan-300: #6fd6ff;
	--sky-50: #f3f8ff;
	--sky-100: #e5efff;
	--sky-200: #cfe0ff;
	--white: #ffffff;
	--ink: #0a1a36;
	--muted: #53627e;
	--line: rgba(10, 36, 82, .1);

	--grad-blue: linear-gradient(135deg, #2e7cff 0%, #1a5fe0 45%, #0f3272 100%);
	--grad-glow: linear-gradient(120deg, #8ae4ff 0%, #4fb4ff 45%, #2e7cff 70%, #8ae4ff 100%);

	--font-display: "Outfit", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 22px;
	--radius-lg: 32px;
	--shadow: 0 20px 50px -20px rgba(10, 36, 82, .35);
	--shadow-lg: 0 40px 90px -30px rgba(5, 22, 50, .55);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--header-h: 84px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--navy-900); }
p { margin: 0 0 1.1em; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue-500); color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 10px 16px; }
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--cyan-300); outline-offset: 3px; border-radius: 6px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	--bg: var(--navy-900); --fg: #fff;
	position: relative; display: inline-flex; align-items: center; gap: .6em;
	padding: .85em 1.5em; border-radius: 999px; border: 0;
	font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
	color: var(--fg); background: var(--bg);
	overflow: hidden; isolation: isolate;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
	will-change: transform;
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
	transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); }
.btn:hover::before { transform: translateX(120%); }
.btn .ico { flex: none; transition: transform .4s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn--primary { --bg: var(--grad-blue); background: var(--grad-blue); box-shadow: 0 14px 34px -12px rgba(46, 124, 255, .75); }
.btn--primary:hover { box-shadow: 0 20px 44px -12px rgba(46, 124, 255, .9); }
.btn--glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.18); }
.btn--white { --fg: var(--navy-900); background: #fff; box-shadow: 0 14px 34px -14px rgba(0,0,0,.5); }
.btn--sm { padding: .6em 1.15em; font-size: .92rem; }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.05rem; }

/* ==========================================================================
   Preloader & scroll progress
   ========================================================================== */
.preloader {
	position: fixed; inset: 0; z-index: 999; display: grid; place-content: center; justify-items: center; gap: 18px;
	background: radial-gradient(circle at 50% 40%, var(--navy-800), var(--navy-950));
	transition: opacity .8s var(--ease), visibility .8s;
}
.preloader__ring { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(111, 214, 255, .15); border-top-color: var(--cyan-300); animation: spin 1s linear infinite; }
.preloader__text { font-family: var(--font-display); color: #fff; letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; opacity: .8; }
.is-loaded .preloader { opacity: 0; visibility: hidden; }
html:not(.js) .preloader { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-glow); box-shadow: 0 0 12px rgba(111, 214, 255, .8); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease), height .4s;
	color: #fff;
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .4s var(--ease); }
.site-header.is-scrolled { background: rgba(5, 22, 50, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 40px -20px rgba(0,0,0,.6); }
.site-header.is-scrolled .site-header__inner { height: 68px; }
.site-header.is-hidden { transform: translateY(-100%); }
.is-inner .site-header { background: rgba(5, 22, 50, .6); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand__logo { width: 44px; height: 44px; border-radius: 14px; overflow: hidden; background: #fff; flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.brand__text small { font-size: .72rem; opacity: .7; letter-spacing: .06em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list a { position: relative; display: block; padding: 8px 12px; color: rgba(255,255,255,.82); font-weight: 500; font-size: .95rem; transition: color .3s; }
.nav-list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--cyan-300); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-list a:hover, .nav-list a.is-active { color: #fff; }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); position: relative; z-index: 120; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ==========================================================================
   Shared bits
   ========================================================================== */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: .92rem; letter-spacing: .01em; font-weight: 500; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-300); box-shadow: 0 0 0 0 rgba(111,214,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111,214,255,.7); } 70% { box-shadow: 0 0 0 12px rgba(111,214,255,0); } 100% { box-shadow: 0 0 0 0 rgba(111,214,255,0); } }

.section-label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 18px; }
.section-label span { display: inline-grid; place-items: center; min-width: 36px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--sky-100); font-size: .78rem; letter-spacing: .04em; }
.section-label--light { color: var(--cyan-300); }
.section-label--light span { background: rgba(111, 214, 255, .14); }
.section-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
.section-title--light { color: #fff; }
.section-lead { font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.section-head { margin-bottom: clamp(40px, 6vw, 70px); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

.glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.glass-light { background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Split text */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.is-in .split-word > span, .split-word.is-in > span, [data-split].is-in .split-word > span { transform: none; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-up { opacity: 0; transform: translateY(80px) scale(.96); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.js .reveal-up.is-in { opacity: 1; transform: none; }
.js .reveal-img img { clip-path: inset(100% 0 0 0); transform: scale(1.35); transition: clip-path 1.4s var(--ease), transform 1.8s var(--ease); }
.js .reveal-img.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .coral__item.reveal-img.is-in:hover img { transform: scale(1.08); }
.js [data-hero-in] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-loaded [data-hero-in] { opacity: 1; transform: none; }
.is-loaded .hero__lead { transition-delay: .55s; }
.is-loaded .hero__actions { transition-delay: .75s; }
.is-loaded .hero__card { transition-delay: 1s; }

[data-float] { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ==========================================================================
   Waves
   ========================================================================== */
.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(60px, 9vw, 140px); z-index: 3; pointer-events: none; overflow: hidden; }
.wave-divider svg { width: 110%; height: 100%; margin-left: -5%; display: block; }
.wave-divider path { fill: #fff; }
.wave-divider .w1 { fill: #4f9dff; opacity: .28; animation: sway 9s ease-in-out infinite; }
.wave-divider .w2 { fill: #8ae4ff; opacity: .32; animation: sway 7s ease-in-out infinite reverse; }
.wave-divider .w3 { animation: sway 11s ease-in-out infinite; }
.wave-divider--light .w3 { fill: var(--sky-50); }
@keyframes sway { 0%, 100% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(-3%) scaleY(1.12); } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-950); isolation: isolate; }
.hero__slides { position: absolute; inset: -6% -3%; z-index: -3; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.15); transition: opacity 1.6s ease, transform 8s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1.02); }
.hero__shade {
	position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(ellipse 80% 60% at 75% 20%, rgba(46, 124, 255, .35), transparent 60%),
		linear-gradient(100deg, rgba(2, 11, 29, .96) 0%, rgba(5, 22, 50, .86) 40%, rgba(10, 36, 82, .55) 75%, rgba(10, 36, 82, .4) 100%),
		linear-gradient(to top, rgba(2, 11, 29, .9), transparent 40%);
}
.hero__rays { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; mix-blend-mode: screen; filter: blur(18px); opacity: .55; }
.hero__rays span { position: absolute; top: -10%; width: 12%; height: 120%; background: linear-gradient(to bottom, rgba(111, 214, 255, .5), rgba(111, 214, 255, 0) 75%); transform-origin: top center; animation: ray 10s ease-in-out infinite; }
.hero__rays span:nth-child(1) { left: 48%; transform: rotate(18deg); }
.hero__rays span:nth-child(2) { left: 62%; width: 7%; transform: rotate(12deg); animation-delay: -3s; animation-duration: 13s; }
.hero__rays span:nth-child(3) { left: 74%; width: 16%; transform: rotate(22deg); animation-delay: -6s; }
.hero__rays span:nth-child(4) { left: 88%; width: 6%; transform: rotate(15deg); animation-delay: -1s; animation-duration: 8s; }
@keyframes ray { 0%, 100% { opacity: .35; translate: 0 0; } 50% { opacity: 1; translate: -40px 0; } }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.hero__content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 160px; }
.hero__title { font-size: clamp(2.9rem, 8.2vw, 7rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; color: #fff; max-width: 11ch; margin: 28px 0 26px; }
/* Interactive aquarium */
.hero[data-aquarium] { background-size: cover; background-position: center; cursor: default; }
.aquarium { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; display: block; touch-action: pan-y; }
.hero.has-aquarium .hero__shade {
	background:
		linear-gradient(90deg, rgba(3, 14, 40, .78) 0%, rgba(3, 14, 40, .5) 34%, rgba(3, 14, 40, 0) 60%),
		linear-gradient(to bottom, rgba(3, 14, 40, .45), rgba(3, 14, 40, 0) 22%);
	pointer-events: none;
}
.hero .hero__content { pointer-events: none; }
.hero .hero__content a, .hero .hero__content button { pointer-events: auto; }
.hero__title { text-shadow: 0 4px 30px rgba(2, 11, 29, .45); }
.hero__lead { text-shadow: 0 2px 16px rgba(2, 11, 29, .6); }
.aquarium-hint {
	position: absolute; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: clamp(90px, 12vw, 170px); z-index: 4; margin: 0;
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px;
	font-size: .9rem; font-weight: 500; color: #fff; pointer-events: none;
	background: rgba(3, 14, 40, .45); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.aquarium-hint .ico { color: var(--cyan-300); flex: none; }
.aquarium-hint.is-swap span { opacity: 0; }
.aquarium-hint span { transition: opacity .35s; }
.is-loaded .aquarium-hint.is-done { opacity: 0; transform: translateY(10px); }
.is-loaded .aquarium-hint { transition-delay: 0s; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 560px; color: rgba(255,255,255,.8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__card { position: absolute; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: 190px; display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-radius: 22px; color: #fff; }
.hero__card-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; background: var(--grad-glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__card-txt { font-size: .9rem; line-height: 1.35; opacity: .85; }

.hero__dots { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); display: none; gap: 10px; z-index: 4; }
.hero__dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero__dots button.is-active::after { content: ""; position: absolute; inset: 0; background: var(--cyan-300); animation: dotfill 6s linear forwards; transform-origin: left; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__scroll { position: absolute; left: 50%; bottom: clamp(70px, 10vw, 150px); transform: translateX(-50%); z-index: 4; display: grid; justify-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; }
.hero__scroll:hover { color: #fff; }
.mouse { width: 26px; height: 42px; border: 2px solid currentColor; border-radius: 16px; position: relative; }
.mouse span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: currentColor; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { position: relative; z-index: 4; overflow: hidden; background: var(--grad-blue); color: #fff; padding: 22px 0; transform: rotate(-1.6deg) scale(1.04); margin: -20px 0 0; box-shadow: 0 30px 60px -30px rgba(26, 95, 224, .7); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.3rem); font-weight: 700; white-space: nowrap; letter-spacing: -.01em; }
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.85); }
.marquee__track i { font-style: normal; color: var(--cyan-300); font-size: 1.2rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   About
   ========================================================================== */
.about { overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; min-height: 560px; }
.about__img { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { left: 0; top: 0; width: 80%; height: 430px; }
.about__img--sub { right: 0; bottom: 0; width: 48%; height: 300px; border: 8px solid #fff; }
.about__badge { position: absolute; left: 6%; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 20px; box-shadow: var(--shadow); color: var(--blue-600); z-index: 2; }
.about__badge span { color: var(--muted); font-size: .85rem; line-height: 1.3; }
.about__badge strong { color: var(--navy-900); font-family: var(--font-display); font-size: 1.15rem; }
.about__p { font-size: 1.1rem; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 26px 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--sky-200); font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.chips .ico { color: var(--blue-500); }
.vision { position: relative; margin: 0; padding: 30px 32px 30px 36px; border-radius: var(--radius); background: var(--navy-900); color: #fff; overflow: hidden; }
.vision::before { content: "\201C"; position: absolute; right: 18px; top: -30px; font-family: var(--font-display); font-size: 11rem; line-height: 1; color: rgba(111, 214, 255, .14); }
.vision::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-glow); }
.vision__label { display: block; font-family: var(--font-display); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan-300); margin-bottom: 8px; }
.vision p { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; font-weight: 500; position: relative; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(70px, 9vw, 120px); }
.stat { position: relative; padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--sky-50), #fff); border: 1px solid var(--sky-100); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.stat::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(46,124,255,.18), transparent 70%); transition: transform .8s var(--ease); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat:hover::before { transform: scale(1.6); }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1; color: var(--navy-900); letter-spacing: -.03em; }
.stat__label { margin-top: 10px; color: var(--muted); font-weight: 500; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--sky-50); overflow: hidden; }
.bg-blobs span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; animation: blob 18s ease-in-out infinite; }
.bg-blobs span:nth-child(1) { width: 480px; height: 480px; left: -140px; top: 10%; background: #cfe0ff; }
.bg-blobs span:nth-child(2) { width: 420px; height: 420px; right: -120px; bottom: 5%; background: #bfeaff; animation-delay: -9s; }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, -40px) scale(1.1); } 66% { transform: translate(-30px, 50px) scale(.95); } }
.services .container { position: relative; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
	--mx: 50%; --my: 50%;
	position: relative; border-radius: var(--radius-lg); background: #fff; overflow: hidden;
	box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(10, 36, 82, .4);
	transform-style: preserve-3d; transition: box-shadow .6s var(--ease), opacity 1s var(--ease), transform 1.1s var(--ease);
}
.svc:hover { box-shadow: 0 40px 70px -30px rgba(10, 36, 82, .45); }
.svc__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 22, 50, .55), transparent 55%); transition: opacity .6s; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.1); }
.svc__body { position: relative; padding: 38px 30px 34px; }
.svc__icon { position: absolute; top: -32px; left: 28px; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: var(--grad-blue); box-shadow: 0 16px 30px -12px rgba(26, 95, 224, .8); transition: transform .6s var(--ease); }
.svc:hover .svc__icon { transform: rotate(-8deg) scale(1.08); }
.svc__num { position: absolute; top: 18px; right: 26px; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--sky-200); }
.svc h3 { font-size: 1.55rem; margin-top: 8px; }
.svc p { color: var(--muted); margin: 0; }
.svc__glow { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(79, 157, 255, .16), transparent 45%); opacity: 0; transition: opacity .4s; }
.svc:hover .svc__glow { opacity: 1; }

/* ==========================================================================
   Coral (dark)
   ========================================================================== */
.coral { background: radial-gradient(ellipse 70% 60% at 80% 30%, rgba(46, 124, 255, .28), transparent 60%), linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%); color: rgba(255,255,255,.8); overflow: hidden; padding-bottom: clamp(140px, 16vw, 220px); }
.coral__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.coral__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.coral__p { font-size: 1.15rem; margin-bottom: 34px; max-width: 480px; }
.coral__gallery { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px; gap: 20px; }
.coral__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.coral__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.coral__item:hover img { transform: scale(1.08); filter: saturate(1.2); }
.coral__item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.coral__item--1 { grid-row: span 2; }
.coral__item--2 { margin-top: 40px; }
.coral__item--3 { margin-bottom: 40px; }

/* ==========================================================================
   Activities – horizontal scroll
   ========================================================================== */
.activities { position: relative; background: var(--sky-50); }
.activities__sticky { padding: clamp(70px, 9vw, 110px) 0 60px; overflow: hidden; }
.activities__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; }
.activities__head .section-lead { margin: 0 0 12px; max-width: 380px; }
.activities__track { display: flex; gap: 24px; padding: 10px max(24px, calc((100vw - 1240px) / 2 + 24px)) 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; will-change: transform; }
.activities__track::-webkit-scrollbar { display: none; }
.act-card { position: relative; flex: none; width: clamp(280px, 38vw, 520px); aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow); background: var(--sky-100); }
.act-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.act-card:hover img { transform: scale(1.07); }
.act-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 22, 50, .55), transparent 40%); }
.act-card__num { position: absolute; left: 22px; bottom: 16px; z-index: 1; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; }
.act-card--end { display: grid; place-content: center; justify-items: start; gap: 18px; padding: 40px; background: var(--grad-blue); color: #fff; }
.act-card--end::after { display: none; }
.act-card--end p { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 700; line-height: 1.15; margin: 0; }
.act-card--end .btn { background: #fff; color: var(--navy-900); }
.activities__bar { height: 3px; border-radius: 3px; background: var(--sky-200); overflow: hidden; }
.activities__bar span { display: block; height: 100%; width: 100%; background: var(--grad-blue); transform-origin: left; transform: scaleX(0); }
/* pinned mode (desktop, set by JS) */
.activities.is-pinned .activities__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.activities.is-pinned .activities__track { overflow: visible; scroll-snap-type: none; }

/* ==========================================================================
   Products
   ========================================================================== */
.products__banner { margin: 0 auto 60px; max-width: 1000px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.products__banner img { width: 100%; }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video { position: relative; display: block; padding: 0; border: 0; text-align: left; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); color: #fff; aspect-ratio: 16 / 11; box-shadow: var(--shadow); transition: opacity 1s var(--ease), transform .8s var(--ease), box-shadow .6s; }
.video:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.video__thumb { position: absolute; inset: 0; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transform: scale(1.36); transition: transform 1.2s var(--ease), opacity .6s; }
.video:hover .video__thumb img { transform: scale(1.46); opacity: .55; }
.video__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2, 11, 29, .92) 5%, rgba(2, 11, 29, .1) 60%); }
.video__play { position: absolute; left: 50%; top: 42%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .6s var(--ease), background .4s; }
.video__play .ico { margin-left: 4px; }
.video__play::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid rgba(111, 214, 255, .7); animation: ring 2.4s var(--ease) infinite; }
.video:hover .video__play { transform: scale(1.12); background: var(--blue-500); }
@keyframes ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.video__meta { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; flex-direction: column; }
.video__meta small { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-300); }
.video__meta strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding-top: 0; }
.contact__panel { position: relative; border-radius: 40px; overflow: hidden; padding: clamp(40px, 6vw, 80px); color: rgba(255,255,255,.8); background: linear-gradient(140deg, var(--navy-700), var(--navy-900) 50%, var(--navy-950)); box-shadow: var(--shadow-lg); isolation: isolate; }
.contact__glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(46, 124, 255, .55), transparent 65%); animation: blob 16s ease-in-out infinite; }
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.contact__intro p { font-size: 1.1rem; max-width: 460px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ccard { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .4s, transform .5s var(--ease), border-color .4s; }
.ccard:hover { background: rgba(255,255,255,.1); border-color: rgba(111, 214, 255, .45); transform: translateX(6px); }
.ccard__icon { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-blue); color: #fff; }
.ccard small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); }
.ccard strong { color: #fff; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; word-break: break-word; }
.ccard a:hover strong { color: var(--cyan-300); }
.contact__map { margin-top: clamp(36px, 5vw, 60px); border-radius: 24px; overflow: hidden; height: 320px; border: 1px solid rgba(255,255,255,.14); }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05) saturate(1.1); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--navy-950); color: rgba(255,255,255,.65); padding: 40px 0 30px; margin-top: 80px; }
.footer-wave { position: absolute; left: 0; right: 0; bottom: 100%; height: 90px; overflow: hidden; }
.footer-wave svg { width: 110%; height: 100%; margin-left: -5%; }
.footer-wave .wave-a { fill: var(--navy-800); opacity: .6; animation: sway 10s ease-in-out infinite; }
.footer-wave .wave-b { fill: var(--navy-950); animation: sway 8s ease-in-out infinite reverse; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 50px; padding: 30px 24px 50px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-brand p { margin: 20px 0; max-width: 380px; }
.site-footer .nav-list { flex-direction: column; gap: 0; }
.site-footer .nav-list a { padding: 5px 0; color: rgba(255,255,255,.65); }
.site-footer .nav-list a::after { left: 0; right: auto; width: 20px; }
.site-footer .nav-list a:hover { color: #fff; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { flex: none; margin-top: 4px; color: var(--cyan-300); }
.footer-contact a { color: rgba(255,255,255,.75); }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: background .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--blue-500); transform: translateY(-3px); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.to-top { margin-right: 84px; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-blue); }
.to-top .ico { transform: rotate(-90deg); }
.to-top:hover { color: #fff; transform: translateY(-3px); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 16px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 16px 36px -12px rgba(18, 140, 126, .8); transform: translateY(120px); transition: transform .6s var(--ease); }
.wa-float.is-visible { transform: none; }
.wa-float:hover { color: #fff; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; transition: max-width .6s var(--ease); }
.wa-float:hover .wa-float__label { max-width: 160px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: ring 2.6s var(--ease) infinite; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: rgba(2, 11, 29, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; padding: 70px 20px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { width: min(1100px, 100%); max-height: 100%; display: grid; place-items: center; transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.is-open .lightbox__stage { transform: none; }
.lightbox__stage img { max-height: calc(100vh - 140px); width: auto; border-radius: 18px; box-shadow: var(--shadow-lg); }
.lightbox__stage .yt { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.lightbox__stage iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--blue-500); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -26px; }
.lightbox__prev .ico { transform: rotate(180deg); }
.lightbox__next { right: 18px; top: 50%; margin-top: -26px; }
.lightbox.is-video .lightbox__nav { display: none; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 150px; color: #fff; background: radial-gradient(ellipse 70% 80% at 80% 0%, rgba(46, 124, 255, .45), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); overflow: hidden; }
.page-hero__title { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; margin-top: 22px; max-width: 16ch; }
.entry__content { font-size: 1.08rem; }
.entry__content > * + * { margin-top: 1.1em; }
.entry__content h2 { font-size: 2rem; margin-top: 1.6em; }
.entry__content img { border-radius: var(--radius); }
.entry__thumb { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; }
.entry__meta { color: var(--muted); font-size: .9rem; }
.post-list { display: grid; gap: 22px; }
.post-card__link { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px; border-radius: var(--radius); background: var(--sky-50); color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s; }
.post-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.post-card__thumb img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: 6px; }
.post-card__body strong { font-family: var(--font-display); font-size: 1.4rem; }
.post-card__body small { color: var(--blue-600); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.main-nav {
		position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; gap: 30px;
		background: radial-gradient(circle at 80% 10%, rgba(46, 124, 255, .45), transparent 50%), var(--navy-950);
		clip-path: circle(0 at calc(100% - 47px) 42px); transition: clip-path .8s var(--ease);
	}
	.nav-open .main-nav { clip-path: circle(150% at calc(100% - 47px) 42px); }
	.main-nav .nav-list { flex-direction: column; align-items: center; gap: 6px; }
	.main-nav .nav-list a { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: #fff; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
	.nav-open .main-nav .nav-list a { opacity: 1; transform: none; }
	.nav-open .main-nav .nav-list li:nth-child(2) a { transition-delay: .06s; }
	.nav-open .main-nav .nav-list li:nth-child(3) a { transition-delay: .12s; }
	.nav-open .main-nav .nav-list li:nth-child(4) a { transition-delay: .18s; }
	.nav-open .main-nav .nav-list li:nth-child(5) a { transition-delay: .24s; }
	.nav-open .main-nav .nav-list li:nth-child(6) a { transition-delay: .3s; }
	.nav-open { overflow: hidden; }
	.hero__card { display: none; }
	.about__grid, .coral__grid, .contact__grid { grid-template-columns: 1fr; }
	.about__media { min-height: 480px; }
	.services__grid, .videos { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
	body { font-size: 16px; }
	:root { --header-h: 72px; }
	.brand__text small { display: none; }
	.hero__content { padding-bottom: 170px; }
	.hero__actions .btn { flex: 1 1 auto; justify-content: center; }
	.hero__scroll { display: none; }
	.hero__dots { display: flex; bottom: 110px; }
	.aquarium-hint { left: 16px; right: auto; bottom: 84px; font-size: .82rem; max-width: calc(100% - 32px); }
	.hero__content { padding-bottom: 200px; }
	.hero__actions { flex-wrap: nowrap; gap: 10px; margin-top: 26px; }
	.hero__actions .btn { flex: 1 1 0; padding: .95em .9em; font-size: .95rem; }
	.hero.has-aquarium .hero__shade { background: linear-gradient(to bottom, rgba(3, 14, 40, .7) 0%, rgba(3, 14, 40, .55) 55%, rgba(3, 14, 40, 0) 78%); }
	.about__media { min-height: 400px; }
	.about__img--main { width: 88%; height: 330px; }
	.about__img--sub { width: 58%; height: 200px; border-width: 6px; }
	.about__badge { left: 0; bottom: 6px; }
	.services__grid, .videos { grid-template-columns: 1fr; }
	.stat { padding: 22px 18px; }
	.coral__gallery { grid-template-rows: 190px 190px; gap: 12px; }
	.coral__item--2 { margin-top: 20px; } .coral__item--3 { margin-bottom: 20px; }
	.activities__head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
	.act-card { width: 82vw; }
	.contact__panel { border-radius: 28px; padding: 34px 22px; }
	.contact__actions .btn { flex: 1 1 auto; justify-content: center; }
	.contact__map { height: 240px; }
	.footer-grid { grid-template-columns: 1fr; gap: 34px; }
	.footer-bottom { flex-direction: column-reverse; text-align: center; padding-bottom: 70px; }
	.to-top { margin-right: 0; }
	.post-card__link { grid-template-columns: 1fr; }
	.wa-float { height: 56px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal, .js .reveal-up, .js [data-hero-in] { opacity: 1; transform: none; }
	.js .reveal-img img { clip-path: none; }
	.js .reveal-img img, .split-word > span { transform: none; }
}

.photo-credits { margin-top: 6px !important; font-size: .74rem; opacity: .55; max-width: 720px; }
.photo-credits a { color: inherit; text-decoration: underline; }
