/* ==========================================================================
   TOP Medical Clinic — design tokens & base
   Direction: "clinical editorial" — turquoise leads (logo primary), the
   logo blue supports, gold for emphasis, red reserved for urgency only.
   ========================================================================== */

:root {
  /* PRIMARY — turquoise, taken from the clinic logo (#1EABAE).
     The pure logo tone is only 2.8:1 on white, so it is used for fills,
     gradients and decoration, while --teal-700/-800 carry text and buttons
     (4.99:1 and 6.03:1 on white). Never put white text on --teal itself. */
  --teal-50: #edfafa;
  --teal-100: #d6f2f2;
  --teal-200: #c8f1f2;
  --teal-300: #7ed3d5;
  --teal: #1eabae;          /* brand turquoise — fills & decoration only */
  --teal-600: #12898c;
  --teal-700: #0e7c7f;      /* turquoise text / button background */
  --teal-800: #0b6e71;      /* hover */
  --teal-900: #06393b;      /* headings */
  --deep: #04343a;          /* dark turquoise ground: topbar, footer, hero */
  --deep-2: #085a60;

  /* SECONDARY — the logo's deep blue, now supporting rather than leading */
  --blue-900: #04264f;
  --blue-800: #063a7c;
  --blue: #08489c;
  --blue-600: #1160c4;
  --blue-300: #7fa8e0;
  --blue-100: #dde8f8;
  --blue-50: #f1f6fd;

  --gold: #fabd00;
  --gold-700: #b98b00;
  --gold-ink: #7a5c00;   /* readable gold text (5.66:1 on --gold-100) */
  --gold-100: #fff3d1;

  --red: #e83434;
  --red-100: #fde3e3;

  /* Neutrals — teal-tinted so white surfaces read clinical, not sterile grey */
  --ink: #0d2126;
  --ink-2: #33505a;
  --ink-3: #4e666e;
  --line: #dde8ea;
  --line-2: #eef4f5;
  --surface: #ffffff;
  --surface-2: #f5fafb;
  --surface-3: #e9f5f6;

  /* Type scale — fluid */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --t-xl: clamp(1.3rem, 1.15rem + 0.7vw, 1.7rem);
  --t-2xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --t-3xl: clamp(2rem, 1.5rem + 2.3vw, 3.4rem);
  --t-4xl: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem);

  /* Rhythm */
  --gap: clamp(1.25rem, 1rem + 1vw, 2rem);
  --section: clamp(3.5rem, 2.5rem + 4.5vw, 7rem);
  --pad: clamp(1.1rem, 0.7rem + 1.8vw, 2rem);
  --wrap: 1200px;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --sh-1: 0 1px 2px rgba(13, 27, 47, .06), 0 2px 6px rgba(13, 27, 47, .04);
  --sh-2: 0 4px 12px rgba(13, 27, 47, .07), 0 12px 28px rgba(13, 27, 47, .06);
  --sh-3: 0 10px 24px rgba(4, 52, 58, .12), 0 28px 60px rgba(4, 52, 58, .14);

  --dur: 220ms;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --z-nav: 60;
  --z-drawer: 70;
  --z-bar: 50;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--t-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--teal-900);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: var(--t-4xl); font-weight: 800; }
h2 { font-size: var(--t-3xl); font-weight: 800; }
h3 { font-size: var(--t-xl); font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: 68ch; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.15em; }
li { margin-bottom: .4em; }
strong { font-weight: 650; color: var(--teal-900); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--gap) 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--teal-700); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- layout primitives ---------- */
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--pad), 1360px); margin-inline: auto; }
.sec { padding-block: var(--section); }
.sec-tight { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.center { text-align: center; }
.center p { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--teal-700);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--teal); border-radius: 2px;
}
.center .eyebrow::before { display: none; }
.center .eyebrow {
  background: var(--teal-100); color: var(--teal-800);
  padding: .4rem .9rem; border-radius: 100px;
}

.lede { font-size: var(--t-lg); color: var(--ink-2); line-height: 1.65; }
.muted { color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .78rem 1.5rem;
  font: inherit; font-weight: 650; font-size: var(--t-sm);
  border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn .ic { flex: none; }
/* #1a8449 not the lighter WhatsApp green: white text needs 4.5:1 (this is 4.73). */
.btn-wa { background: #1a8449; color: #fff; box-shadow: 0 4px 14px rgba(26, 132, 73, .3); }
.btn-wa:hover { background: #146c37; box-shadow: 0 6px 20px rgba(26, 132, 73, .42); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: 0 4px 14px rgba(14, 124, 127, .3); }
.btn-primary:hover { background: var(--teal-800); box-shadow: 0 6px 22px rgba(14, 124, 127, .42); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-800); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--teal-900); }
.btn-ghost:hover { border-color: var(--teal-300); background: var(--teal-50); }
.btn-onblue { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-onblue:hover { background: #fff; color: var(--teal-900); border-color: #fff; }
.btn-lg { min-height: 54px; padding: .95rem 1.9rem; font-size: var(--t-base); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.center .btn-row { justify-content: center; }

/* Equal-width CTA block. Auto-width buttons wrap into ragged rows of different
   sizes; this keeps every button the same width on every breakpoint. */
.btn-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
.btn-grid > .btn { width: 100%; }
@media (min-width: 560px) {
  /* minmax(0,...) not 1fr: a plain 1fr floors at the content width, so the
     longer label would claim a wider column and the row would look lopsided. */
  .btn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* An odd trailing button spans the full width instead of leaving a hole. */
  .btn-grid > .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- header ---------- */
.topbar {
  background: var(--deep); color: #b8dcde;
  font-size: var(--t-xs); line-height: 1.4;
}
.topbar .wrap-wide {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-block: .5rem;
}
.topbar a { color: #dcf2f3; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .ic { width: 15px; height: 15px; opacity: .75; }
.topbar-items { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; }

/* On narrow screens the full address and opening hours wrap the topbar into a
   ragged four-line block above the fold. Both are repeated in the footer and on
   /kontak/, so here we keep only the two things people tap: phone and WhatsApp. */
/* All these selectors are scoped to .topbar so they beat the specificity of
   `.topbar a { display: inline-flex }`. Items drop out as space runs out, in
   order of least useful first; everything here also lives in the footer and
   on /kontak/, so nothing is actually lost. */
@media (max-width: 1023px) { .topbar .tb-hours { display: none; } }
@media (max-width: 899px)  { .topbar .tb-addr  { display: none; } }
@media (max-width: 767px) {
  .topbar .wrap-wide { flex-wrap: nowrap; gap: .75rem; padding-block: .45rem; }
  .topbar-items { flex: 0 1 auto; min-width: 0; white-space: nowrap; }
  .topbar a { font-size: 12px; }
  .topbar .ic { width: 14px; height: 14px; }
}
/* Below ~360px even two items overflow; WhatsApp is the one that converts. */
@media (max-width: 359px) {
  .topbar .tb-tel { display: none; }
  .topbar .wrap-wide { justify-content: center; }
}

.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 74px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
@media (max-width: 420px) { .brand img { height: 36px; } }

.nav-links { display: none; }
/* 1180px, not 1080: with seven items the desktop nav overflows below this,
   so narrower viewports use the drawer, which lists everything anyway. */
@media (min-width: 1180px) {
  .nav-links { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
}
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .8rem; border-radius: var(--r-sm);
  font-size: var(--t-sm); font-weight: 600; color: var(--ink-2);
  text-decoration: none; white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-link:hover { color: var(--teal-700); background: var(--teal-50); }
.nav-link[aria-current="page"] { color: var(--teal-700); }
.nav-link[aria-current="page"]::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .28rem;
  height: 2px; background: var(--teal); border-radius: 2px;
}
.nav-link.is-hl { color: var(--blue); }
.nav-link.is-hl::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}

/* mega dropdown */
.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: min(92vw, 660px); padding: 1rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-3);
  display: grid; grid-template-columns: 1fr 1fr; gap: .25rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  /* Closing lags slightly so a quick slip off the link doesn't snap it shut. */
  transition-delay: 260ms;
}
/* Invisible bridge across the 10px gap between the link and the panel.
   Without it the pointer leaves .has-menu on the way down and the menu closes
   before it can be reached. */
.mega::before {
  content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.has-menu:hover .mega,
.has-menu:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition-delay: 0s;
}
.mega a {
  display: block; padding: .6rem .75rem; border-radius: var(--r-sm);
  text-decoration: none; transition: background-color var(--dur) var(--ease);
}
.mega a:hover { background: var(--teal-50); }
.mega b { display: block; font-size: var(--t-sm); font-weight: 650; color: var(--teal-900); }
.mega span { display: block; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.45; }

/* mobile drawer */
.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-left: auto;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--teal-900); cursor: pointer;
}
@media (min-width: 1180px) { .burger { display: none; } }

.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--surface); overflow-y: auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform 300ms var(--ease), visibility 300ms;
}
.drawer[data-open="true"] { transform: none; visibility: visible; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem var(--pad); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--surface);
}
.drawer nav { padding: .75rem var(--pad) 2rem; }
.drawer nav a {
  display: block; padding: .85rem .25rem; font-weight: 650;
  color: var(--teal-900); text-decoration: none; border-bottom: 1px solid var(--line-2);
}
.drawer nav a.sub { padding-left: 1rem; font-weight: 500; font-size: var(--t-sm); color: var(--ink-2); }
.drawer nav a.sub::before { content: '·'; margin-right: .5rem; color: var(--teal-600); }
.drawer .btn-row { margin-top: 1.4rem; }
.drawer .btn { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 0%, #12898c 0%, transparent 58%),
    radial-gradient(95% 85% at 100% 15%, #1eabae 0%, transparent 55%),
    radial-gradient(80% 70% at 88% 100%, #08489c 0%, transparent 62%),
    linear-gradient(165deg, var(--deep) 0%, #063f47 55%, #04262b 100%);
  color: #fff;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: overlay;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem);
  padding-block: clamp(3rem, 2rem + 6vw, 6rem) clamp(3.5rem, 2rem + 6vw, 6.5rem);
  align-items: center;
}
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em {
  font-style: normal; color: var(--teal-300);
  display: block;
}
.hero p { color: #c6e4e5; font-size: var(--t-lg); }
.hero .eyebrow {
  color: #fff; background: rgba(255, 255, 255, .14);
  padding: .42rem 1rem; border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .2);
}
.hero .eyebrow::before { background: var(--gold); width: 8px; height: 8px; border-radius: 50%; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.25rem;
  margin-top: 2.25rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-trust div { min-width: 96px; }
.hero-trust b {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); font-weight: 800;
  color: var(--gold); line-height: 1.1; letter-spacing: -.02em;
}
.hero-trust span { font-size: var(--t-xs); color: #a9cfd2; line-height: 1.4; display: block; }

/* hero visual — layered cards */
.hero-vis { position: relative; }
.hero-vis .shot {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 30px 70px rgba(2, 30, 34, .5);
  border: 1px solid rgba(255, 255, 255, .16);
  aspect-ratio: 4 / 3;
}
.hero-vis .shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute; display: flex; align-items: center; gap: .7rem;
  background: rgba(255, 255, 255, .97); color: var(--teal-900);
  padding: .7rem .95rem; border-radius: var(--r);
  box-shadow: var(--sh-3); font-size: var(--t-xs); font-weight: 650;
  line-height: 1.35; max-width: 250px;
}
.hero-chip .ic { flex: none; width: 20px; height: 20px; color: var(--teal-700); }
.hero-chip span { display: block; font-weight: 500; color: var(--ink-3); font-size: 11.5px; }
.hero-chip.a { left: -8px; bottom: 12%; }
.hero-chip.b { right: -8px; top: 8%; }
@media (max-width: 620px) {
  .hero-chip { position: static; max-width: none; margin-top: .75rem; }
}

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: var(--gap); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--pad);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.card h3, .card h4 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; display: block; cursor: pointer; }
a.card:hover { border-color: var(--teal-300); box-shadow: var(--sh-2); background: var(--teal-50); }

.card-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; margin-bottom: 1rem;
  border-radius: 15px; background: var(--teal-100); color: var(--teal-700);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
a.card:hover .card-ic { background: var(--teal-700); color: #fff; }
.card-more {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .9rem; font-size: var(--t-sm); font-weight: 650; color: var(--teal-700);
}
.card-more .ic { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
a.card:hover .card-more .ic { transform: translateX(4px); }

/* bento — service grid with deliberate size variance */
.bento { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1000px) {
  .bento > .b-lg { grid-column: span 4; }
  .bento > .b-md { grid-column: span 3; }
  .bento > .b-sm { grid-column: span 2; }
}

.b-feature {
  position: relative; overflow: hidden; color: #fff;
  border: 0; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, var(--teal-700) 0%, var(--deep) 100%);
}
.b-feature img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .3;
  transition: transform 500ms var(--ease), opacity var(--dur) var(--ease);
}
a.b-feature:hover img { transform: scale(1.05); opacity: .38; }
.b-feature > * { position: relative; z-index: 1; }
.b-feature h3 { color: #fff; }
.b-feature p { color: #c3e2e3; margin-bottom: 0; }
.b-feature .card-ic { background: rgba(255, 255, 255, .16); color: #fff; }
a.b-feature:hover { background: linear-gradient(160deg, var(--teal-800) 0%, var(--deep) 100%); }
.b-feature .card-more { color: var(--gold); }

/* ---------- why / value list ---------- */
.why {
  display: grid; gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface);
}
@media (min-width: 720px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why > div {
  padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  border-bottom: 1px solid var(--line-2);
  transition: background-color var(--dur) var(--ease);
}
.why > div:hover { background: var(--teal-50); }
@media (min-width: 720px) { .why > div:nth-child(odd) { border-right: 1px solid var(--line-2); } }
@media (min-width: 1040px) {
  .why > div:nth-child(odd) { border-right: 0; }
  .why > div:not(:nth-child(3n)) { border-right: 1px solid var(--line-2); }
}
.why h4 { display: flex; align-items: center; gap: .65rem; margin-bottom: .5rem; }
.why h4 .ic { flex: none; width: 22px; height: 22px; color: var(--teal-700); }
.why p { font-size: var(--t-sm); color: var(--ink-2); margin: 0; }

/* ---------- checklist ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checks.two { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .55rem var(--gap); }
.checks li {
  display: flex; align-items: flex-start; gap: .65rem;
  margin: 0; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.55;
}
.checks li::before {
  content: ''; flex: none; width: 21px; height: 21px; margin-top: 2px;
  border-radius: 50%; background: var(--teal-100) center / 13px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c7f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* numbered flow */
.steps { counter-reset: s; display: grid; gap: var(--gap); list-style: none; padding: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.steps li {
  counter-increment: s; position: relative; margin: 0;
  padding: 1.4rem 1.25rem 1.25rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r);
  border-top: 3px solid var(--teal);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 800;
  color: var(--teal-300); line-height: 1; display: block; margin-bottom: .5rem;
}
.steps b { display: block; font-size: var(--t-sm); font-weight: 700; color: var(--teal-900); margin-bottom: .25rem; }
.steps span { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; }

/* ---------- split / prose ---------- */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split.narrow-r { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split.narrow-r { grid-template-columns: 1.15fr .85fr; } }
.split-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.split-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

.panel {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
}
.panel-teal { background: var(--teal-100); border-color: var(--teal-300); }
.panel-gold { background: var(--gold-100); border-color: #f2d98a; }
.panel h3:first-child, .panel h4:first-child { margin-top: 0; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }

/* ---------- page header (inner pages) ---------- */
.phead {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, var(--deep) 0%, var(--teal-800) 58%, #0d6f9c 100%);
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2.75rem, 2rem + 3.5vw, 5rem);
}
.phead::before {
  content: ''; position: absolute; right: -8%; top: -60%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 171, 174, .55) 0%, transparent 66%);
}
.phead > * { position: relative; z-index: 1; }
.phead h1 { color: #fff; margin-bottom: .35em; }
.phead p { color: #c4e3e4; font-size: var(--t-lg); max-width: 62ch; margin-bottom: 0; }
.phead .eyebrow { color: var(--teal-200); }
.phead .eyebrow::before { background: var(--gold); }
.phead .btn-row { margin-top: 1.8rem; }

.crumbs {
  font-size: var(--t-xs); color: #96c4c7; margin-bottom: 1.1rem;
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
}
.crumbs a { color: #cdeaeb; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs span { opacity: .55; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--deep) 58%, var(--blue-800) 128%);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.4rem + 3vw, 3.6rem);
}
.cta::before {
  content: ''; position: absolute; left: -10%; bottom: -80%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 189, 0, .3) 0%, transparent 65%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: #cfe8e9; }
.cta-grid { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 860px) { .cta-grid { grid-template-columns: 1.35fr .65fr; } }
@media (min-width: 860px) { .cta-grid .btn-row { flex-direction: column; align-items: stretch; } }

/* ---------- package gallery ---------- */
.pak { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pak figure {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pak figure:hover { box-shadow: var(--sh-2); border-color: var(--teal-300); }
.pak img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface-3); }
.pak figcaption { padding: .9rem 1rem 1.1rem; }
.pak b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: var(--t-sm); color: var(--teal-900); }
.tag {
  display: inline-block; margin-top: .35rem;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 100px;
}
.tag-p { background: var(--teal-100); color: var(--teal-800); }
.tag-c { background: var(--gold-100); color: var(--gold-ink); }

/* ---------- footer ---------- */
.foot { background: var(--deep); color: #a6cccf; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 0; }
.foot-grid { display: grid; gap: var(--gap) clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 700px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.foot h4 {
  color: #fff; font-size: var(--t-sm); letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.foot p, .foot li { font-size: var(--t-sm); line-height: 1.6; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .5rem; }
.foot a { color: #a6cccf; text-decoration: none; transition: color var(--dur) var(--ease); }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-logo { background: #fff; padding: .7rem .9rem; border-radius: var(--r); display: inline-block; margin-bottom: 1.1rem; }
.foot-logo img { height: 38px; }
.foot-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.foot-contact .ic { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--teal); }
.foot-hours { display: flex; justify-content: space-between; gap: 1rem; }
.foot-hours b { color: #fff; font-weight: 600; }
.foot-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.foot-social a:hover { background: var(--teal); border-color: var(--teal); color: #04343a; }
.foot-bar {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.2rem; font-size: var(--t-xs);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}

/* ---------- sticky mobile action bar ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(13, 27, 47, .1);
  padding: .5rem; gap: .5rem;
  padding-bottom: calc(.5rem + env(safe-area-inset-bottom));
}
@media (min-width: 1180px) { .actionbar { display: none; } }
.actionbar .btn { min-height: 46px; padding: .6rem 1rem; font-size: var(--t-sm); }
body { padding-bottom: 74px; }
@media (min-width: 1180px) { body { padding-bottom: 0; } }

/* floating WA on desktop */
.wa-float {
  display: none; position: fixed; right: 22px; bottom: 22px; z-index: var(--z-bar);
  align-items: center; gap: .6rem;
  background: #1a8449; color: #fff; text-decoration: none;
  padding: .85rem 1.3rem; border-radius: 100px; font-weight: 650; font-size: var(--t-sm);
  box-shadow: 0 8px 26px rgba(26, 132, 73, .42);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
@media (min-width: 1180px) { .wa-float { display: inline-flex; } }
.wa-float:hover { background: #146c37; box-shadow: 0 10px 32px rgba(26, 132, 73, .55); }

/* ---------- whistleblower form ---------- */
.wbs fieldset {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.15rem, .9rem + 1vw, 1.75rem); margin: 0 0 var(--gap);
  background: var(--surface);
}
.wbs legend {
  padding: 0 .6rem; margin-left: -.6rem;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  font-size: var(--t-lg); color: var(--teal-900);
}
.field { margin-bottom: 1.15rem; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block; font-weight: 650; font-size: var(--t-sm);
  color: var(--teal-900); margin-bottom: .3rem;
}
.req { color: var(--red); font-weight: 700; }
.fhint {
  display: block; font-size: var(--t-xs); color: var(--ink-3);
  line-height: 1.45; margin-bottom: .45rem;
}
.wbs input[type="text"], .wbs input[type="date"], .wbs select, .wbs textarea {
  width: 100%; font: inherit; font-size: var(--t-sm); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); padding: .7rem .85rem; min-height: 48px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wbs textarea { min-height: 168px; resize: vertical; line-height: 1.6; }
.wbs input:focus, .wbs select:focus, .wbs textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 22%, transparent);
}
.wbs input[type="file"] {
  width: 100%; font: inherit; font-size: var(--t-xs); color: var(--ink-2);
  background: var(--surface-2); border: 1.5px dashed var(--line);
  border-radius: var(--r-sm); padding: .8rem; cursor: pointer;
}
.row2 { display: grid; gap: 0 var(--gap); grid-template-columns: 1fr; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }

.choices { display: grid; gap: .6rem; margin-bottom: 1.15rem; }
@media (min-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex; gap: .65rem; align-items: flex-start; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r); padding: .85rem 1rem;
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.choice:hover { border-color: var(--teal-300); background: var(--teal-50); }
.choice:has(input:checked) { border-color: var(--teal); background: var(--teal-50); }
.choice input { margin-top: .25rem; accent-color: var(--teal-700); width: 18px; height: 18px; flex: none; }
.choice b { display: block; font-size: var(--t-sm); color: var(--teal-900); }
.choice small { display: block; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.4; }

/* Identity fields follow the radio with CSS alone, so the form still works
   with JavaScript disabled. Browsers without :has() simply show them always —
   visible-but-optional is the safe failure, hidden-and-unreachable is not. */
.wbs .named-only { display: none; }
.wbs:has(input[name="identity"][value="named"]:checked) .named-only { display: block; }
@supports not selector(:has(*)) {
  .wbs .named-only { display: block; }
}

.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; font-size: var(--t-sm); color: var(--ink-2); }
.check input { margin-top: .3rem; accent-color: var(--teal-700); width: 18px; height: 18px; flex: none; }

/* Honeypot: off-screen for bots, invisible and unreachable for people. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wbs-actions { display: grid; gap: .75rem; justify-items: start; }
.wbs-actions .btn { width: 100%; }
@media (min-width: 560px) { .wbs-actions .btn { width: auto; } }

/* confirmation / error page rendered by submit.php */
.result { max-width: 640px; margin-inline: auto; text-align: center; }
.result .card-ic { margin-inline: auto; width: 64px; height: 64px; border-radius: 20px; }
.ticket {
  display: inline-block; margin: 1.25rem 0;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); font-weight: 700; letter-spacing: .06em;
  color: var(--teal-900); background: var(--teal-100);
  border: 1px dashed var(--teal-300); border-radius: var(--r);
  padding: .7rem 1.4rem;
}

/* ---------- Instagram showcase ---------- */
.ig-head {
  display: flex; flex-wrap: wrap; gap: 1rem var(--gap);
  align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}
.ig-head h2 { margin-bottom: .35rem; }
.ig-head .btn { flex: none; }

/* Uniform squares are what make this read as tidy rather than as a widget. */
.ig-grid {
  display: grid; gap: clamp(.6rem, .4rem + .6vw, 1rem);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } }

.ig-tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 1; border-radius: var(--r);
  background: var(--surface-3); border: 1px solid var(--line);
  text-decoration: none; cursor: pointer;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.ig-tile:hover { box-shadow: var(--sh-2); border-color: var(--teal-300); }
.ig-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 480ms var(--ease);
}
.ig-tile:hover img, .ig-tile:focus-visible img { transform: scale(1.06); }

.ig-badge {
  position: absolute; top: .55rem; right: .55rem; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(4, 52, 58, .62); color: #fff;
  backdrop-filter: blur(4px);
}

.ig-over {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: .2rem; padding: .8rem;
  background: linear-gradient(to top, rgba(4,52,58,.93) 0%, rgba(4,52,58,.55) 45%, transparent 78%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.ig-tile:hover .ig-over, .ig-tile:focus-visible .ig-over { opacity: 1; }
.ig-date {
  font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--teal-200);
}
.ig-title {
  font-size: var(--t-xs); font-weight: 600; line-height: 1.4; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Trailing call-to-action cell: keeps the grid a clean 12 and removes the
   stray centred button that used to float under it. */
.ig-more {
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(150deg, var(--teal-700) 0%, var(--deep) 100%);
  border-color: transparent; color: #fff; padding: 1rem;
}
.ig-more:hover { border-color: transparent; }
.ig-more-in { display: grid; justify-items: center; gap: .5rem; }
.ig-more .ic { opacity: .95; transition: transform var(--dur) var(--ease); }
.ig-more:hover .ic { transform: scale(1.12); }
.ig-more b {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  font-size: var(--t-sm); line-height: 1.3; color: #fff;
}
.ig-more span { font-size: 11.5px; color: var(--teal-200); }

/* Touch devices have no hover, so keep the caption permanently readable. */
@media (hover: none) {
  .ig-over { opacity: 1; }
  .ig-title { -webkit-line-clamp: 2; }
}

/* ---------- background music toggle ----------
   Sits opposite the WhatsApp button so the two never collide, and stays
   visible at all times: audio that cannot be switched off is a dark pattern. */
.bgm-toggle {
  position: fixed; left: 16px; bottom: 84px; z-index: var(--z-bar);
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .55rem .95rem;
  font: inherit; font-size: var(--t-xs); font-weight: 650;
  color: var(--teal-900); background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line); border-radius: 100px;
  box-shadow: var(--sh-2); cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
@media (min-width: 1180px) { .bgm-toggle { left: 22px; bottom: 22px; } }
.bgm-toggle:hover { border-color: var(--teal-300); background: #fff; }
.bgm-toggle.is-playing {
  background: var(--teal-700); color: #fff; border-color: var(--teal-700);
  box-shadow: 0 6px 20px rgba(14, 124, 127, .35);
}
.bgm-toggle .ic { display: block; }
.bgm-ic { display: none; }
.bgm-ic-off { display: inline-flex; }
.bgm-toggle.is-playing .bgm-ic-off { display: none; }
.bgm-toggle.is-playing .bgm-ic-on { display: inline-flex; }

/* Little equalizer, only while actually playing. */
.bgm-bars { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.bgm-toggle.is-playing .bgm-bars { display: inline-flex; }
.bgm-bars i { width: 3px; height: 5px; border-radius: 2px; background: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .bgm-bars i { animation: bgm-eq .9s ease-in-out infinite; }
  .bgm-bars i:nth-child(2) { animation-delay: .18s; }
  .bgm-bars i:nth-child(3) { animation-delay: .36s; }
}
@keyframes bgm-eq {
  0%, 100% { height: 4px; }
  50% { height: 13px; }
}

/* ---------- misc ---------- */
.map-embed {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--sh-1); background: var(--surface-3);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem .25rem;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: var(--t-lg);
  color: var(--teal-900); display: flex; gap: 1rem; align-items: flex-start;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 22px; height: 22px; margin-top: 3px;
  background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c7f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding: 0 .25rem 1.35rem; color: var(--ink-2); font-size: var(--t-sm); }
.faq details > div p:last-child { margin-bottom: 0; }

.bg-soft { background: var(--surface-2); }
.bg-band { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-3) 100%); }

/* Reveal on scroll.
   Content is visible by default; the hidden state is applied only once JS has
   confirmed it can reveal it again (html.js), so a JS failure can never leave
   the page blank. */
@media (prefers-reduced-motion: no-preference) {
  html.js .rv {
    opacity: 0; transform: translateY(18px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  }
  html.js .rv.in { opacity: 1; transform: none; }
}
