/* Dolphin Lovina "Ocean" design (v2): premium and relaxed, with blue as the leading colour.
   Loaded on top of the base styles when the new design is switched on (html.v2). */
html.v2 {
  --bg: #f3f8ff;
  --surface: #ffffff;
  --soft: #eef5ff;
  --ink: #0a1f44;
  --muted: #5b6b86;
  --line: #dce8f8;
  --blue: #1660f5;
  --sky: #38a3ff;
  --navy: #061c45;
  --navy-2: #0b2f6e;
  --aqua: #5fd4ff;
  --sand: #f6dfb5;
  --shadow: 0 1px 2px rgba(10, 31, 68, .06), 0 12px 32px -14px rgba(11, 47, 110, .28);
  --shadow-lg: 0 2px 4px rgba(10, 31, 68, .05), 0 30px 60px -24px rgba(11, 47, 110, .45);
  --r: 28px;
}
@media (prefers-color-scheme: dark) {
  html.v2:not([data-theme="light"]) { --bg: #04132e; --surface: #0b2148; --soft: #0f2a58; --ink: #eaf2ff; --muted: #9db2d6; --line: #1a3a72; }
}
html.v2 body { background: linear-gradient(180deg, var(--bg), #e8f2ff 60%, var(--bg)); letter-spacing: -.005em; }
html.v2 h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.035em; }
html.v2 .kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, transparent); padding: 6px 12px; border-radius: 999px; font-size: .72rem; letter-spacing: .14em; justify-self: start; }
html.v2 .kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Hero: full-bleed ocean with glass ---------- */
html.v2 .hero { min-height: min(92vh, 860px); display: flex; flex-direction: column; background: linear-gradient(160deg, #0a3fb8, #0b62d8 50%, #1b8ff0); }
html.v2 .hero .wrap { flex: 1; display: flex; flex-direction: column; width: 100%; }
html.v2 .hero.has-media::before { background: linear-gradient(180deg, rgba(4, 22, 64, .55) 0%, rgba(6, 40, 110, .25) 40%, rgba(6, 28, 69, .78) 100%); }
html.v2 nav.top { position: sticky; top: 14px; z-index: 5; padding: 10px 14px 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); margin-top: 6px; }
html.v2 .navlinks a { opacity: .88; transition: opacity .2s; }
html.v2 .navlinks a:hover { opacity: 1; }
html.v2 .hero-body { flex: 1; align-content: end; padding-block: 80px 150px; grid-template-columns: 1.5fr .5fr; }
html.v2 .hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); line-height: 1; letter-spacing: -.045em; text-shadow: 0 10px 40px rgba(0, 20, 60, .35); }
html.v2 .hero h1 span { color: var(--aqua); font-style: italic; font-weight: 700; }
html.v2 .hero-body p { font-size: 1.18rem; max-width: 52ch; opacity: .92; }
html.v2 .hero .cta { background: #fff; color: var(--navy); box-shadow: 0 16px 40px -14px rgba(0, 20, 60, .6); }
html.v2 .hero .cta .arrow { background: var(--blue); color: #fff; }
html.v2 .trust { background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
html.v2 .hero-card { background: rgba(255, 255, 255, .12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: var(--r); }

/* Info cards across the hero edge: frosted glass */
html.v2 .badges { margin-top: -78px; gap: 16px; }
html.v2 .badge { border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-radius: 24px; padding: 20px 22px; box-shadow: var(--shadow-lg) !important; }
html.v2 .badge .ic { width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff; box-shadow: 0 10px 20px -10px var(--blue); }

/* ---------- Booking ---------- */
html.v2 #booking { padding-block: 88px 40px; }
html.v2 .step { border: 0; background: var(--surface); box-shadow: var(--shadow); }
html.v2 .step[aria-current="step"] { box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
html.v2 .chip { border: 0; box-shadow: var(--shadow); border-radius: 20px; }
html.v2 .chip[aria-pressed="true"] { background: linear-gradient(135deg, var(--sky), var(--blue)); box-shadow: 0 14px 28px -14px var(--blue); }
/* Tours in a calm 2-column grid with tall photos */
html.v2 .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
html.v2 .pkg { border: 0; border-radius: var(--r); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
html.v2 .pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
html.v2 .pkg[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--blue), var(--shadow-lg); }
html.v2 .pkg { grid-template-rows: auto 1fr; }
html.v2 .pkg .art { height: 240px; }
html.v2 .facts { align-items: flex-start; }
html.v2 .pkg .art img, html.v2 .pkg .art video { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
html.v2 .pkg:hover .art img, html.v2 .pkg:hover .art video { transform: scale(1.06); }
html.v2 .pkg-body { padding: 20px 22px 22px; gap: 12px; }
html.v2 .pkg-body h3 { font-size: 1.3rem; }
html.v2 .fact { background: var(--soft); border-radius: 999px; }
html.v2 .pill.lbl { background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); }
html.v2 .panel, html.v2 .summary { border: 0; border-radius: var(--r); box-shadow: var(--shadow-lg); }
html.v2 .total b, html.v2 .price b { color: var(--blue); }

/* ---------- Sections ---------- */
html.v2 section.info { padding-block: 96px; }
html.v2 .head { margin-bottom: 34px; }
html.v2 .cap { background: none; }
html.v2 .cap-pics img { border-radius: 24px; box-shadow: var(--shadow); transition: transform .4s; }
html.v2 .cap:hover .cap-pics img:first-child { transform: translateY(-4px); }
html.v2 .capnote { background: color-mix(in srgb, var(--blue) 8%, var(--surface)); border-radius: 18px; }
html.v2 .card, html.v2 .rev, html.v2 details, html.v2 .sp, html.v2 .artc { border: 0; box-shadow: var(--shadow); border-radius: 24px; }
html.v2 .artc { overflow: hidden; }
html.v2 .artc-img { aspect-ratio: 4 / 3; }
html.v2 .artc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Learn + Code of Conduct + dolphins: one deep-ocean band */
html.v2 #etika, html.v2 #kodeetik, html.v2 #lumba { background: var(--navy); color: #eaf2ff; margin-top: -1px; }
html.v2 #lumba { background: linear-gradient(180deg, var(--navy), var(--navy-2)); }
html.v2 #etika { padding-top: 110px !important; border-radius: 48px 48px 0 0; margin-top: 30px; }
html.v2 #lumba { padding-bottom: 120px !important; border-radius: 0 0 48px 48px; }
html.v2 #etika .muted, html.v2 #kodeetik .muted, html.v2 #lumba .muted { color: #a9bde0; }
html.v2 #etika .kicker, html.v2 #kodeetik .kicker, html.v2 #lumba .kicker { color: var(--aqua); background: rgba(95, 212, 255, .12); }
html.v2 #etika h2, html.v2 #kodeetik h2, html.v2 #lumba h2 { color: #fff; }
html.v2 .swipehint { color: #8fa6cf; }
/* Learn cards become photo cards */
html.v2 .lcards.slide { gap: 18px; padding-bottom: 14px; }
html.v2 .lcards.slide .lcard { position: relative; flex: 0 0 320px; min-height: 340px; grid-template-columns: 1fr; align-content: end; padding: 22px; border: 0; color: #fff; background: linear-gradient(180deg, rgba(6, 28, 69, 0) 30%, rgba(6, 28, 69, .92)), var(--cover, linear-gradient(135deg, #1b8ff0, #0a3fb8)) center / cover; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
html.v2 .lcards.slide .lcard .lic { position: absolute; top: 18px; left: 18px; }
html.v2 .lcards.slide .lcard b { font-size: 1.2rem; }
html.v2 .lcards.slide .lcard span.s { color: rgba(234, 242, 255, .85); -webkit-line-clamp: 3; }
html.v2 .lcards.slide .lcard .go { display: none; }
html.v2 .lcards.slide .lcard:hover { transform: translateY(-6px); }
/* Rules and species: glass on deep blue */
html.v2 #kodeetik .rule, html.v2 #lumba .sp { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); box-shadow: none; color: #eaf2ff; backdrop-filter: blur(8px); }
html.v2 #kodeetik .rule span, html.v2 #lumba .sp p, html.v2 #lumba .sp i { color: #a9bde0; }
html.v2 #kodeetik .rule .num { background: linear-gradient(135deg, var(--aqua), var(--blue)); color: #fff; }

/* FAQ, about, footer */
html.v2 details { padding: 20px 24px; }
html.v2 details[open] { box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 30%, transparent), var(--shadow); }
html.v2 summary { font-size: 1.05rem; }
html.v2 #tentang .seo-text { background: var(--surface); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
html.v2 footer { background: linear-gradient(180deg, var(--navy-2), var(--navy)); margin-top: 40px; border-radius: 48px 48px 0 0; }

/* Gentle rise-in as sections scroll into view */
@media (prefers-reduced-motion: no-preference) {
  html.v2 .reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease-out, transform .45s ease-out; }
  html.v2 .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Phone app ---------- */
@media (max-width: 720px) {
  html.v2 .m-app { background: linear-gradient(180deg, #f3f8ff, #e3efff); }
  html.v2 .feat { border-radius: 30px; box-shadow: 0 26px 50px -24px rgba(6, 28, 69, .6); }
  html.v2 .feat h3 { font-size: 1.7rem; letter-spacing: -.03em; }
  html.v2 .chip { box-shadow: var(--shadow); }
  html.v2 .mini { border-radius: 22px; box-shadow: var(--shadow); }
  html.v2 .m-arts .artc, html.v2 .lcard { border: 0; box-shadow: var(--shadow); }
  html.v2 .tabbar { margin: 0 12px 10px; left: 0; right: 0; width: auto; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .82); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 18px 40px -16px rgba(6, 28, 69, .45); height: auto !important; padding-bottom: 8px; }
  html.v2 .tab.fab span.ring { background: linear-gradient(135deg, var(--sky), var(--blue)); box-shadow: 0 10px 20px -8px var(--blue); }
  html.v2 .m-cta { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); margin: 0 12px; border-radius: 22px !important; border: 0 !important; box-shadow: var(--shadow-lg); }
  html.v2 .m-cta .cta { background: linear-gradient(135deg, var(--sky), var(--blue)); }
  html.v2 .sheet { border-radius: 34px 34px 0 0; }
  /* Edukasi tab: photo cards with the text over a deep-blue fade */
  html.v2 #m-learn { gap: 14px; }
  html.v2 #m-learn .lcard { min-height: 168px; align-items: end; grid-template-columns: 1fr 20px; padding: 18px; border: 0; color: #fff; background: linear-gradient(180deg, rgba(6, 28, 69, .05) 10%, rgba(6, 28, 69, .9)), var(--cover, linear-gradient(135deg, #1b8ff0, #0a3fb8)) center / cover; box-shadow: 0 20px 40px -22px rgba(6, 28, 69, .7); }
  html.v2 #m-learn .lcard .lic { position: absolute; top: 14px; left: 14px; width: 42px; height: 42px; border-radius: 14px; }
  html.v2 #m-learn .lcard .lic svg { width: 22px; height: 22px; }
  html.v2 #m-learn .lcard b { font-size: 1.08rem; }
  html.v2 #m-learn .lcard span.s { color: rgba(234, 242, 255, .86); }
  html.v2 #m-learn .lcard .go { color: #fff; }
}

/* Articles fill the full row on desktop */
@media (min-width: 721px) { html.v2 .arts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

/* Phone booking bar: room on both sides of the button text, and long labels ("Booking via WhatsApp") wrap instead of spilling out */
@media (max-width: 720px) {
  html.v2 .m-cta { padding: 12px 12px 12px 18px !important; gap: 12px; }
  html.v2 .m-cta .tot b { font-size: 1.12rem !important; }
  html.v2 .m-cta .cta { flex: 1 1 0; min-width: 0; min-height: 54px; justify-content: center; gap: 8px; padding: 6px 6px 6px 18px; white-space: normal; text-align: center; line-height: 1.15; font-size: .92rem; }
  html.v2 .m-cta .cta .arrow { width: 36px; height: 36px; }
}
@media (max-width: 400px) {
  html.v2 .m-cta .cta { padding: 6px 16px; }
  html.v2 .m-cta .cta .arrow { display: none; }
}
