/* =========================================================
   Владскуба — Водолазный центр
   ========================================================= */

:root {
  --bg: #071a2b;
  --bg-alt: #0a2338;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.1);

  --ink: #eaf3f8;
  --ink-dim: #9fb3c4;

  --cyan: #21c7d6;
  --cyan-soft: #7fe3ec;
  --gold: #f2b134;
  --coral: #ff5a5f;

  --grad-ocean: linear-gradient(180deg, #071a2b 0%, #0a2338 45%, #0d3352 100%);
  --grad-accent: linear-gradient(120deg, #21c7d6 0%, #1a8fb8 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(.22,.9,.32,1);

  --font-head: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-serif: "Playfair Display", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--grad-ocean);
}

section, header, footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { color: var(--ink-dim); margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  margin-bottom: .9em;
}
.center { text-align: center; }
.section-intro { max-width: 720px; margin: 0 auto 2.6em; }

.section { padding: clamp(64px, 9vw, 120px) 0; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn.small { padding: 10px 18px; font-size: .85rem; }
.btn-primary {
  background: var(--grad-accent);
  color: #04212b;
  box-shadow: 0 12px 30px -10px rgba(33, 199, 214, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(33, 199, 214, .7); }
.btn-ghost {
  background: rgba(255,255,255,.05);
  color: var(--ink);
  border-color: var(--border);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(7, 22, 36, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 8px 30px -10px rgba(0,0,0,.5);
}
.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-center { justify-self: center; }
.brand-logo { height: 40px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); transition: height .3s var(--ease); }
.site-header.scrolled .brand-logo { height: 32px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: .92rem; letter-spacing: .04em; }
.brand-text em { font-style: normal; font-size: .66rem; color: var(--ink-dim); letter-spacing: .03em; }

.main-nav-desktop { display: flex; gap: 22px; }
.main-nav-left { justify-self: start; }
.header-right { justify-self: end; display: flex; align-items: center; gap: 18px; }

.nav-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-dim);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color .25s;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { width: 100%; }

/* Mobile dropdown nav (hidden on desktop, toggled by burger) */
.main-nav { display: none; }
.header-phone svg { color: var(--cyan); }

.burger {
  display: none;
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= LENS HERO (home) ================= */
.lens-hero {
  position: relative;
  height: 100svh;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 130px 28px 48px;
  overflow: hidden;
  background: var(--bg);
}
.lens-hero-media { position: absolute; inset: 0; z-index: 0; }
.lens-blur-img,
.lens-sharp-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 34%;
}
.lens-blur-img {
  filter: blur(5px) saturate(.9) brightness(.5);
  transform: scale(1.06);
}
.lens-sharp-img {
  clip-path: inset(0 32% 0 32%);
}
.lens-frame-border {
  position: absolute;
  top: 0; right: 32%; bottom: 0; left: 32%;
  border-left: 1.5px solid rgba(255,255,255,.45);
  border-right: 1.5px solid rgba(255,255,255,.45);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.55);
  pointer-events: none;
}

.lens-top-row {
  position: relative; z-index: 2;
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-shrink: 0;
}
.lens-tags {
  list-style: none; margin: 0; padding-left: 16px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  border-left: 1px solid rgba(234,243,248,.32);
}
.lens-tags::after {
  content: '';
  position: absolute; left: -1px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--cyan) 0%, rgba(234,243,248,.32) 60%);
}
.lens-tags li {
  position: relative;
  display: flex; align-items: baseline; gap: 9px;
  font-size: .82rem; font-weight: 600;
  color: rgba(234,243,248,.78);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.lens-tags li::before {
  content: '';
  position: absolute; left: -16px; top: 50%; transform: translateY(-50%);
  width: 11px; height: 1px;
  background: var(--cyan);
}
.lens-tag-depth {
  font-family: var(--font-head);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .03em;
  color: var(--gold);
}
.lens-tag-label { color: rgba(234,243,248,.78); }
.lens-socials { display: flex; gap: 10px; }
.lens-social {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background .3s, transform .3s, color .3s;
}
.lens-social:hover { background: var(--grad-accent); border-color: transparent; color: #04212b; transform: translateY(-2px); }

.lens-bottom { position: relative; z-index: 2; flex-shrink: 0; text-align: center; }
.lens-eyebrow {
  font-size: .90rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 .3em;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.lens-wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 10vw, 6.4rem);
  line-height: .98;
  margin: 0 0 .25em;
  background: linear-gradient(100deg, #fff 0%, var(--cyan-soft) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.35));
}
.lens-bottom-row {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
}
.lens-tagline {
  font-size: .95rem; color: rgba(234,243,248,.88);
  margin: 0; max-width: 340px; text-align: left;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

/* ================= TRAINING PLANS (home) ================= */
.plans-section { padding: clamp(64px, 9vw, 120px) 0; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 2.6em;
}
.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 30px 34px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s;
}
.plan-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.plan-card-featured {
  background: linear-gradient(160deg, rgba(33,199,214,.16), rgba(10,35,56,.96) 65%);
  border-color: rgba(33,199,214,.4);
  padding-top: 44px;
  margin-top: -16px;
  margin-bottom: -16px;
  box-shadow: 0 30px 60px -20px rgba(33,199,214,.3);
}
.plan-badge {
  position: absolute; top: 24px; right: 24px;
  background: var(--gold); color: #2b1c02;
  font-size: .66rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: .58rem; font-weight: 700; letter-spacing: .01em;
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.5);
}
.plan-icon-naui { background: linear-gradient(135deg, #3a7ca8, #163a5c); }
.plan-icon-padi { background: var(--grad-accent); }
.plan-icon-ndl { background: linear-gradient(135deg, #d9a441, #8a5c1e); }
.plan-card h3 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: .5em; }
.plan-desc { font-size: .87rem; margin-bottom: 1.4em; min-height: 3.4em; }
.plan-price { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); margin-bottom: 1.2em; }
.plan-card-featured .plan-price { color: var(--cyan-soft); }
.plan-features {
  list-style: none; margin: 22px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--ink-dim); }
.plan-features svg { color: var(--cyan-soft); flex-shrink: 0; margin-top: 3px; }

/* ================= PAGE HERO (inner pages) ================= */
.page-hero { position: relative; padding: 150px 0 68px; overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,16,27,.72) 0%, rgba(7,22,36,.9) 65%, var(--bg) 100%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .3em; }
.page-hero-sub { color: rgba(234,243,248,.85); font-size: 1rem; max-width: 600px; margin: 0; }

/* ================= STATS ================= */
.stats { padding: 50px 0; border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--cyan-soft);
}
.stat-label { font-size: .8rem; color: var(--ink-dim); letter-spacing: .01em; }

/* ================= ABOUT ================= */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.about-badge {
  position: absolute;
  left: -18px; bottom: -18px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(10,35,56,.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.about-badge svg { color: var(--gold); flex-shrink: 0; }
.about-badge strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.about-badge span { font-size: .75rem; color: var(--ink-dim); }

.about-links { margin-top: 1.4em; }
.text-link { color: var(--cyan-soft); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

/* ================= CARDS / SERVICES ================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 2.6em;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); background: var(--surface-strong); border-color: rgba(255,255,255,.2); }
.card-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--grad-accent);
  color: #04212b;
  margin-bottom: 18px;
}
.card p { font-size: .92rem; }
.card-link { font-weight: 700; font-size: .87rem; color: var(--cyan-soft); }
.card-link:hover { text-decoration: underline; }

/* ================= COURSES / TABS ================= */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 2.4em 0 2.6em;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 11px 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-dim);
  font-family: var(--font-head);
  font-size: .82rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.tab-btn.active, .tab-btn:hover { background: var(--grad-accent); color: #04212b; border-color: transparent; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }
.tab-lede { max-width: 780px; margin: 0 auto 2.2em; text-align: center; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(33,199,214,.5); }
.price-card.featured { border-color: rgba(242,177,52,.55); background: linear-gradient(160deg, rgba(242,177,52,.1), var(--surface)); }
.price-tag {
  align-self: flex-start;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(242,177,52,.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.price-card h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: .5em; }
.price-card p { font-size: .86rem; flex-grow: 1; }
.price-card .price {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--cyan-soft);
  margin-top: .6em;
}

.rental-note {
  margin-top: 3em;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.rental-note h4 { font-family: var(--font-head); margin-bottom: .8em; }
.rental-list { list-style: none; padding: 0; margin: 0 0 1em; }
.rental-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-size: .92rem;
}
.rental-list li:last-child { border-bottom: none; }
.rental-list b { color: var(--cyan-soft); font-family: var(--font-head); font-weight: 600; white-space: nowrap; }
.rental-fine { font-size: .78rem; margin: 0; }

.naui-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.naui-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.naui-item h4 { font-family: var(--font-head); font-size: .96rem; margin-bottom: .5em; color: var(--cyan-soft); }
.naui-item p { font-size: .87rem; margin: 0; }

.ndl-content { max-width: 760px; margin: 0 auto; }
.ndl-table {
  margin-top: 1.6em;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.ndl-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  padding: 14px 20px;
  font-size: .85rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.ndl-row:nth-child(even) { background: transparent; }
.ndl-row:last-child { border-bottom: none; }
.ndl-row span:first-child { font-weight: 700; color: var(--ink); }

/* ================= SERVICE SECTION ================= */
.service-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.service-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ================= TOURS ================= */
.tours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 2.4em; }
.tour-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.tour-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.tour-media { aspect-ratio: 16/10; overflow: hidden; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tour-card:hover .tour-media img { transform: scale(1.06); }
.tour-body { padding: 26px 26px 30px; }
.tour-body p { font-size: .92rem; margin: 0; }

/* ================= GALLERY ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 12px;
  margin-top: 2.4em;
}
.g-item { border-radius: 12px; overflow: hidden; cursor: pointer; position: relative; }
.g-item:nth-child(5n+1) { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .4s; }
.g-item:hover img { transform: scale(1.08); }
.g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.35));
  opacity: 0; transition: opacity .3s;
}
.g-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4,12,20,.94);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-strong); border: 1px solid var(--border);
  color: var(--ink); font-size: 1.1rem; cursor: pointer;
}

/* ================= PARTNERS ================= */
.partners-grid {
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: center;
  margin-top: 2em;
}
.partner-chip {
  display: flex; align-items: center; justify-content: center;
  width: 150px; height: 96px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.4);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.partner-chip img { max-width: 100%; max-height: 100%; object-fit: contain; }
a.partner-chip:hover { transform: translateY(-5px); box-shadow: 0 16px 32px -12px rgba(0,0,0,.5); }

/* ================= CONTACTS ================= */
.contacts-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
}
.contact-block {
  margin-bottom: 1.8em;
  padding-bottom: 1.8em;
  border-bottom: 1px solid var(--border);
}
.contact-block:last-child { border-bottom: none; }
.contact-block h4 { font-family: var(--font-head); font-size: .95rem; color: var(--cyan-soft); margin-bottom: .6em; }
.contact-block a, .contact-block p { display: block; font-size: .95rem; margin-bottom: .3em; color: var(--ink); }
.contact-block a:hover { color: var(--cyan-soft); }

.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
}
.social-row a:hover { background: var(--grad-accent); color: #04212b; border-color: transparent; transform: translateY(-3px); }

.map-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.map-svg { width: 100%; height: 100%; display: block; }
.map-pin-label {
  position: absolute; left: 50%; top: 52%;
  transform: translate(-50%, 6px);
  font-size: .78rem; font-weight: 700;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  white-space: nowrap;
}
.map-links { display: flex; gap: 12px; margin-top: 18px; }

/* ================= FOOTER ================= */
.site-footer { padding: 46px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand img { height: 34px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: .84rem; color: var(--ink-dim); }
.footer-nav a:hover { color: var(--ink); }
.footer-copy { font-size: .8rem; color: var(--ink-dim); margin: 0; width: 100%; text-align: center; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-copy-sep { margin: 0 8px; opacity: .5; }
.footer-legal-link { color: var(--ink-dim); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal-link:hover { color: var(--ink); }

/* ================= TO TOP ================= */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-accent); color: #04212b;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ================= HEADER: CART ICON ================= */
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.icon-btn:hover { background: var(--surface-strong); border-color: rgba(255,255,255,.25); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px;
  background: var(--coral); color: #fff;
  font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cart-count[hidden] { display: none; }

/* ================= SECTION HEAD ROW ================= */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 2em; flex-wrap: wrap; }
.section-head-row h2 { margin-bottom: 0; }
.section-head-row .eyebrow { margin-bottom: .4em; }

/* ================= PRODUCT GRID / CARDS ================= */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s;
  text-decoration: none; color: inherit;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.product-media {
  position: relative;
  aspect-ratio: 1 / 0.85;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(33,199,214,.18), transparent 60%), var(--bg-alt);
}
.product-icon { width: 54%; height: 54%; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--grad-accent); color: #04212b;
  font-size: .66rem; font-weight: 700; letter-spacing: .03em;
  padding: 5px 12px; border-radius: 999px;
}
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.product-brand { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan-soft); margin-bottom: .3em; }
.product-body h3 { font-size: 1rem; margin-bottom: .35em; }
.product-body p { font-size: .84rem; flex-grow: 1; margin-bottom: 1em; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.btn-add-cart {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-accent); color: #04212b;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .3s;
}
.btn-add-cart:hover { transform: scale(1.1) rotate(90deg); }
.btn-add-cart.added { background: var(--gold); }

/* ================= SHOP FILTERS ================= */
.shop-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.6em; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--ink-dim); font-size: .84rem; font-weight: 600;
  cursor: pointer; transition: all .3s var(--ease);
}
.filter-btn.active, .filter-btn:hover { background: var(--grad-accent); color: #04212b; border-color: transparent; }
.shop-empty { text-align: center; padding: 50px 0; color: var(--ink-dim); }

/* ================= FORM FIELDS (shared: modals + feedback) ================= */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: .84rem; font-weight: 600; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: .92rem;
  outline: none;
  transition: border-color .25s, background .25s;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); background: rgba(255,255,255,.04); }
.field select option { background: var(--bg-alt); color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .82rem; font-weight: 500; color: var(--ink-dim);
  margin-bottom: 16px; cursor: pointer;
}
.field-checkbox input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--cyan); flex-shrink: 0; cursor: pointer; }
.field-checkbox a { color: var(--cyan-soft); text-decoration: underline; }
.form-error {
  color: #ffb4b6; font-size: .84rem;
  background: rgba(255,90,95,.1); border: 1px solid rgba(255,90,95,.3);
  border-radius: 8px; padding: 10px 14px; margin-bottom: 14px;
}
.form-note { font-size: .76rem; color: var(--ink-dim); margin-top: 12px; text-align: center; }
.btn-block { width: 100%; justify-content: center; }
.form-success { text-align: center; padding: 26px 10px; }
.form-success svg { color: var(--cyan); margin-bottom: 14px; }
.form-success h4 { font-family: var(--font-head); margin-bottom: .4em; }

.file-field input[type=file] { display: none; }
.file-drop {
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 24px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-dim);
  font-size: .82rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--cyan); background: rgba(33,199,214,.06); }
.file-previews { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.file-preview { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.file-preview img { width: 100%; height: 100%; object-fit: cover; }
.file-preview button {
  position: absolute; top: 2px; right: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,0,0,.65); color: #fff; border: none;
  font-size: .6rem; cursor: pointer; line-height: 1;
}

/* ================= MODAL (booking / checkout) ================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(4,12,20,.7);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px;
  max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn .35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--ink); cursor: pointer;
}
.modal-box h3 { font-size: 1.3rem; margin-bottom: .6em; }

/* ================= CART DRAWER ================= */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 390;
  background: rgba(4,12,20,.6);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 380px; max-width: 92vw;
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
  z-index: 395;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.cart-drawer-head h3 { margin: 0; font-size: 1.1rem; }
.cart-items { flex-grow: 1; overflow-y: auto; padding: 6px 24px; }
.cart-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item-icon { width: 52px; height: 52px; border-radius: 10px; background: var(--surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-item-icon img { width: 60%; height: 60%; }
.cart-item-info { flex-grow: 1; min-width: 0; }
.cart-item-info h5 { font-size: .87rem; margin: 0 0 4px; }
.cart-item-price { font-size: .8rem; color: var(--cyan-soft); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-item-qty button { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); cursor: pointer; }
.cart-item-remove { background: none; border: none; color: var(--ink-dim); cursor: pointer; font-size: .74rem; text-decoration: underline; margin-top: 6px; padding: 0; }
.cart-empty { text-align: center; color: var(--ink-dim); font-size: .9rem; padding: 50px 24px; }
.cart-empty a { color: var(--cyan-soft); font-weight: 700; }
.cart-drawer-footer { padding: 20px 24px 26px; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 1rem; }
.cart-total-row strong { font-family: var(--font-head); color: var(--cyan-soft); }

/* ================= CONTACT RAIL ================= */
.contact-rail {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
  z-index: 80;
  display: flex; flex-direction: column; gap: 12px;
}
.rail-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-lg);
}
.rail-btn:hover { transform: scale(1.08); }
.rail-btn:not(.rail-btn-wa):hover { background: var(--grad-accent); color: #04212b; }
.rail-btn-wa:hover { background: #25D366; color: #fff; }

/* ================= TOAST ================= */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px);
  z-index: 500;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: .88rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  max-width: 92vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: rgba(255,90,95,.5); color: #ffb4b6; }

/* ================= COOKIE CONSENT ================= */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px;
  z-index: 600;
  max-width: 640px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cookie-banner.show { opacity: 1; transform: translateY(0); }
.cookie-banner p { font-size: .84rem; color: var(--ink-dim); margin: 0; flex: 1 1 320px; }
.cookie-banner a { color: var(--cyan-soft); text-decoration: underline; }
.cookie-banner .btn { flex-shrink: 0; }

/* ================= SERVICE PAGE EXTRAS ================= */
.service-list { list-style: none; padding: 0; margin: 1.4em 0; display: flex; flex-direction: column; gap: 10px; }
.service-list li { position: relative; padding-left: 24px; font-size: .92rem; color: var(--ink-dim); }
.service-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

.price-card-bottom { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

/* ================= IMMERSIVE BANNER ================= */
.immersive-banner {
  position: relative;
  height: 62svh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.immersive-banner-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 22s ease-in-out infinite alternate;
}
.immersive-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,14,24,.35) 0%, rgba(4,14,24,.15) 40%, rgba(5,18,30,.75) 100%);
}
.immersive-banner-content { position: relative; z-index: 1; text-align: center; }
.immersive-banner-content .eyebrow { color: var(--gold); }
.immersive-banner-content h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}

/* ================= CTA BANNER ================= */
.cta-banner { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-banner-inner h2 { margin-bottom: .3em; }
.cta-banner-inner p { margin: 0; max-width: 480px; }
.btn-lg { padding: 18px 34px; font-size: 1.02rem; }

/* ================= FEEDBACK FORM (service page) ================= */
.feedback-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: flex-start; }
.feedback-intro .contact-block { margin-top: 2em; padding-bottom: 0; border-bottom: none; }
.feedback-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.feedback-success { grid-column: 2; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }

/* ================= 404 ================= */
.notfound-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.notfound-media { position: absolute; inset: 0; z-index: 0; }
.notfound-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.notfound-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,16,26,.35) 0%, rgba(6,16,26,.72) 48%, rgba(6,16,26,.92) 100%),
    linear-gradient(0deg, rgba(6,16,26,.55) 0%, rgba(6,16,26,0) 32%, rgba(6,16,26,0) 78%, rgba(6,16,26,.65) 100%);
}
.notfound-wrap { position: relative; z-index: 1; padding: 130px 28px 60px; width: 100%; }
.notfound-content { max-width: 480px; margin-left: auto; text-align: right; }
.notfound-number {
  font-family: var(--font-head);
  font-size: clamp(5rem, 14vw, 9.5rem);
  font-weight: 700;
  line-height: .9;
  margin: 0 0 8px;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.notfound-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin: 0 0 18px;
  color: var(--ink);
}
.notfound-text {
  color: rgba(234,243,248,.82);
  line-height: 1.6;
  margin: 0 0 32px;
}
.notfound-cta {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 10px;
  color: var(--cyan);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.notfound-cta svg { flex-shrink: 0; transition: transform .25s var(--ease); }
.notfound-cta:hover { color: var(--gold); gap: 14px; }
.notfound-cta:hover svg { transform: translateY(-3px); }

@media (max-width: 720px) {
  .notfound-content { margin-left: 0; text-align: left; max-width: 100%; }
}

/* ================= LEGAL PAGE ================= */
.legal-section { padding-top: 150px; }
.legal-content { max-width: 760px; }
.legal-content h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3em; }
.legal-updated { font-size: .85rem; color: var(--ink-dim); margin-bottom: 2em; }
.legal-content h2 { font-family: var(--font-head); font-size: 1.05rem; margin: 1.6em 0 .6em; color: var(--cyan-soft); }
.legal-content p, .legal-content li { font-size: .92rem; line-height: 1.7; }
.legal-content ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal-content a { color: var(--cyan-soft); text-decoration: underline; }

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .header-grid { grid-template-columns: auto 1fr; }
  .main-nav-desktop { display: none; }
  .brand-center { justify-self: start; }
  .burger { display: flex; }

  .main-nav.mobile-open {
    display: flex;
    position: fixed;
    top: 68px; left: 16px; right: 16px;
    flex-direction: column;
    background: rgba(10,35,56,.97);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    gap: 4px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.mobile-open .nav-link { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav.mobile-open .nav-link:last-child { border-bottom: none; }

  .about-grid, .service-grid, .contacts-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .plan-card-featured { margin-top: 0; margin-bottom: 0; order: -1; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .naui-grid { grid-template-columns: repeat(2, 1fr); }
  .tours-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feedback-wrap { grid-template-columns: 1fr; }
  .feedback-success { grid-column: 1; }
  .contact-rail { right: 14px; gap: 10px; }
  .rail-btn { width: 42px; height: 42px; }

  .lens-tags { display: none; }
}

@media (max-width: 620px) {
  .cards-grid, .price-grid, .naui-grid, .product-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .lens-hero { padding: 110px 20px 40px; }
  .lens-socials { gap: 8px; }
  .lens-social { width: 34px; height: 34px; }
  .lens-bottom-row { flex-direction: column; gap: 16px; }
  .lens-tagline { text-align: center; max-width: none; }
  .g-item:nth-child(5n+1) { grid-row: span 1; }
  .ndl-row { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-nav { justify-content: center; }
  .field-row { grid-template-columns: 1fr; }
  .modal-box { padding: 26px 20px; }
  .cta-banner-inner { text-align: center; justify-content: center; }
  .cta-banner-inner > div { width: 100%; }
  .contact-rail { display: none; }
}
