/* ==========================================================================
   GastroCare Hospital — Design System
   Advanced Digestive Care. Trusted Expertise.
   Palette derived from the hospital's own artwork:
     · logo gradient  plum #7555a2 -> indigo -> steel -> teal -> mint #35b48b
     · wordmark teal  #086365 (the "HOSPITAL+" colour)
     · poster paper    warm cream #faf6ef
     · poster metal    antique gold / bronze #c69248, ochre text #8e5224
     · poster water    deep sea-teal #244b59
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand gradient endpoints, taken from the logo */
  --plum-600: #7555a2;
  --plum-400: #9a7cc2;
  --indigo-500: #6b79b5;
  --steel-500: #4c7da5;
  --mint-600: #35b48b;
  --mint-400: #57c8a3;

  /* Deep teal — logo wordmark + poster water */
  --teal-950: #052a31;
  --teal-900: #083b45;
  --teal-800: #0a4a54;
  --teal-700: #086365;
  --teal-600: #0a7a76;
  --teal-500: #0e9689;
  --teal-400: #3fb39c;
  --teal-200: #a5d8cb;
  --teal-100: #d3ede4;
  --teal-50: #eaf6f1;

  /* Antique gold / bronze from the posters */
  --gold-600: #8e5224;
  --gold-500: #c69248;
  --gold-400: #e3a93e;
  --gold-300: #efc06a;
  --gold-100: #f8eacb;
  --gold-50: #fcf7ec;

  /* Warm poster paper */
  --cream: #faf6ef;
  --cream-deep: #f3eadb;
  --logo-bg: #f8f8f6;

  --ink: #12242a;
  --ink-soft: #2a3f45;
  --muted: #566b71;
  --muted-2: #74888e;
  --line: #e4dcce;
  --line-strong: #d2c6b2;
  --white: #ffffff;
  --sand: #faf6ef;
  --bg-soft: #f2f8f5;

  --red-600: #a8261c;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-xs: 0 1px 2px rgba(5, 42, 49, 0.09);
  --shadow-sm: 0 2px 8px rgba(5, 42, 49, 0.10);
  --shadow: 0 10px 30px -12px rgba(5, 42, 49, 0.28);
  --shadow-lg: 0 26px 60px -26px rgba(5, 42, 49, 0.40);

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.25rem, 7vw, 5.5rem);

  --header-h: 74px;
  --focus: 0 0 0 3px rgba(14, 150, 137, 0.40);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { background: var(--teal-50); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--teal-900);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.45rem); }
h4 { font-size: 1.075rem; }
p { margin: 0 0 1.05em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--teal-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }

ul, ol { padding-left: 1.15rem; }
li { margin-bottom: 0.4em; }

strong { color: var(--teal-900); font-weight: 600; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Inline SVG icon system — sprite at images/icons.svg.
   All icons are stroke-based and inherit currentColor as stroke. */
.ic {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
svg.ic--sm { width: 16px; height: 16px; stroke-width: 2.2; }
svg.ic--lg { width: 24px; height: 24px; }
svg.ic--xl { width: 30px; height: 30px; stroke-width: 1.7; }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.25rem); }
.section--soft { background: var(--bg-soft); }
.section--sand { background: var(--sand); }
.section--teal {
  background:
    radial-gradient(760px 320px at 88% -12%, rgba(198, 146, 72, 0.28) 0%, rgba(198, 146, 72, 0) 66%),
    linear-gradient(152deg, var(--teal-950) 0%, var(--teal-900) 46%, var(--teal-700) 100%);
  color: #dcefe9;
}
.section--teal h2, .section--teal h3, .section--teal h4 { color: #fff; }
.section--teal a { color: var(--gold-400); }

.lead { font-size: 1.115rem; color: var(--muted); max-width: 68ch; }
.section--teal .lead { color: #c6e0d7; }
.center { text-align: center; }
.center .lead, .center .section-head__text { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--gold-400);
  border-radius: 2px;
}
.section--teal .eyebrow { color: var(--gold-400); }

.section-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.75rem); max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(208px, 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.split--top { align-items: start; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--teal-700);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.92rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn svg, .btn i { flex: none; }

.btn--gold { --btn-bg: var(--gold-400); --btn-fg: #33220a; }
.btn--gold:hover { --btn-bg: var(--gold-500); color: #33220a; }
.btn--dark { --btn-bg: var(--teal-900); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--teal-700); --btn-bd: var(--line-strong); box-shadow: none; }
.btn--outline:hover { --btn-bg: var(--teal-50); --btn-fg: var(--teal-900); --btn-bd: var(--teal-500); }
.btn--ghost-light { --btn-bg: rgba(255,255,255,0.1); --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.4); box-shadow: none; }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,0.2); }
.btn--whatsapp { --btn-bg: #1f9d55; --btn-fg: #fff; }
.btn--whatsapp:hover { --btn-bg: #17864a; }
.btn--call { --btn-bg: var(--teal-800); --btn-fg: #fff; }
.btn--sm { padding: 0.68rem 1.05rem; font-size: 0.9rem; }
.btn--lg { padding: 1.06rem 1.7rem; font-size: 1.045rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal-600);
  text-decoration: none;
}
.link-arrow:hover { gap: 0.6rem; }
.link-arrow::after { content: "\2192"; transition: transform 0.15s ease; }
.link-arrow--gold, .section--teal .link-arrow { color: var(--gold-400); }
.link-arrow--gold:hover, .section--teal .link-arrow:hover { color: var(--gold-500); }

/* Cards laid over a teal band */
.card-on-teal {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}
.card-on-teal h3 { color: #fff; }
.card-on-teal p { color: #cbe3da; }

/* Headline link inside a card */
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: var(--teal-600); text-decoration: underline; }

/* ---------- 5. Header ---------- */
.topbar {
  background: var(--teal-950);
  color: #a6c6c0;
  font-size: 0.815rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.42rem;
}
.topbar a { color: #d6e8ea; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.topbar__list li { margin: 0; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar .lang { display: inline-flex; gap: 0.45rem; align-items: center; }
.topbar .lang span[aria-current] { color: var(--gold-400); font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: none;
}
/* Official logo. The supplied PNG is 1024x615 with its artwork inset from
   left 0.2%, top 29.6%, occupying 98.7% x 59.7% of the canvas. We clip to the
   artwork's bounding box with a transform rather than editing the master file,
   so the hospital's own artwork is rendered exactly as supplied — no redraw,
   no stretch. Update these four numbers if the logo file is ever re-exported. */
.brand__logo {
  display: block;
  flex: none;
  position: relative;
  overflow: hidden;
  width: 150px;
  height: 54px;
  border-radius: 4px;
}
.brand__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translateY(-29.6%);   /* crops the cream padding above the wordmark */
}
.brand--footer .brand__logo {
  width: 150px;
  height: 54px;
  padding: 0;
}
.brand--footer {
  background: var(--cream);
  padding: 8px 12px;
  border-radius: 10px;
  width: fit-content;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.16rem;
  color: var(--teal-900);
  letter-spacing: -0.02em;
}
.brand__name span { color: var(--teal-600); }
.brand__tag {
  font-size: 0.63rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.nav__menu {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 0.6rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.nav__links li { margin: 0; position: relative; }
.nav__links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav__links > li > a:hover,
.nav__links > li > a[aria-current="page"] { background: var(--teal-50); color: var(--teal-800); }
.nav__links .has-sub > a::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 268px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.submenu li { margin: 0; }
.submenu a {
  display: block;
  padding: 0.56rem 0.7rem;
  border-radius: 9px;
  font-size: 0.915rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.submenu a:hover { background: var(--teal-50); color: var(--teal-800); }
.submenu a small { display: block; color: var(--muted-2); font-size: 0.78rem; font-weight: 400; }
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.nav__actions { display: flex; align-items: center; gap: 0.6rem; flex: none; margin-left: auto; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  color: var(--teal-800); text-decoration: none;
}
.nav__phone small { display: block; font-weight: 500; font-size: 0.68rem; color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
  flex: none;
}
.nav__toggle span {
  display: block; width: 20px; height: 2px; background: var(--teal-900);
  border-radius: 2px; position: relative;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--teal-900); border-radius: 2px;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 88% -8%, var(--teal-100) 0%, rgba(233,246,248,0) 64%),
    linear-gradient(180deg, #fff 0%, var(--sand) 100%);
  padding-block: clamp(2.4rem, 5.5vw, 4.2rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-50);
  border: 1px solid #ecd7a8;
  color: #7a4a1c;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.815rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero h1 { margin-bottom: 0.7rem; }
.hero h1 em {
  font-style: normal;
  color: var(--teal-600);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: 0.3em;
  background: rgba(247, 185, 23, 0.55);
  border-radius: 4px;
  z-index: -1;
}
.hero__desc { font-size: 1.105rem; color: var(--muted); max-width: 56ch; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  margin-top: 1.5rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  list-style: none; padding-left: 0;
}
.hero__trust li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.895rem; color: var(--muted); margin: 0; max-width: 210px;
}
.hero__trust svg { flex: none; margin-top: 3px; color: var(--teal-600); }

.hero__media { position: relative; }
.hero__media > img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
}
.hero__card {
  position: absolute;
  left: clamp(-0.6rem, -1vw, 0rem);
  bottom: clamp(-1.2rem, -2vw, -1rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 300px;
}
.hero__card strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--teal-800); line-height: 1.1; }
.hero__card span { font-size: 0.82rem; color: var(--muted); line-height: 1.35; display: block; }
.hero__card .dot {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: var(--teal-100); color: var(--teal-700);
  display: grid; place-items: center;
}

/* Supplied reception image: the source PNG is 1024x576 and carries a caption
   strip ("Siddhivinayak Institute of Digestive Sciences Pvt Ltd.") across the
   bottom ~9.5%. The master file is left untouched; the container simply clips
   to the artwork above the strip (1024 x 521). */
.media-crop {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--cream);
}
.media-crop img { width: 100%; height: auto; display: block; }
.media-crop--reception { aspect-ratio: 1024 / 521; }

/* Poster pair — the hospital's own Sanskrit artwork */
.poster-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.8rem);
}
.poster {
  margin: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.poster img { width: 100%; height: auto; display: block; }
.poster figcaption {
  padding: 0.85rem 1.05rem 1rem;
  font-size: 0.865rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.poster figcaption strong {
  display: block;
  color: var(--teal-800);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.2rem;
}
/* Devanagari captions use a serif that matches the posters' typography */
.poster figcaption strong:lang(sa),
.poster figcaption strong.sa {
  font-family: "Noto Serif Devanagari", var(--font-head);
  font-weight: 600;
  letter-spacing: 0;
}

/* ---------- 7. Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 2.2vw, 1.6rem);
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-200); }
.card h3 { margin-bottom: 0.15rem; font-size: 1.14rem; }
.card p { font-size: 0.945rem; color: var(--muted); margin-bottom: 0; }
.card__icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--teal-100); color: var(--teal-700);
  display: grid; place-items: center; flex: none;
  margin-bottom: 0.35rem;
}
.card__icon--gold { background: var(--gold-100); color: var(--gold-600); }
.card__icon svg { width: 24px; height: 24px; }
.card__foot { margin-top: auto; padding-top: 0.7rem; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover h3 { color: var(--teal-600); }
.card--flat:hover { transform: none; }

.card--media { padding: 0; overflow: hidden; }
.card--media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card--media .card__body { padding: 1.1rem 1.3rem 1.35rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }

.prose-card { max-width: 820px; }

/* Condition list */
.pill-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.7rem; list-style: none; padding: 0; margin: 0; }
.pill-grid li {
  margin: 0;
  display: flex; gap: 0.6rem; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  font-size: 0.925rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.pill-grid li svg { flex: none; margin-top: 4px; color: var(--teal-500); }
.section--soft .pill-grid li, .section--sand .pill-grid li { background: #fff; }
.section--teal .pill-grid li { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); color: #dceef0; }
.section--teal .pill-grid li svg { color: var(--gold-400); }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; margin: 0; font-size: 0.965rem; }
.check-list svg { flex: none; margin-top: 4px; color: var(--teal-500); }
.section--teal .check-list svg { color: var(--gold-400); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-400);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 1.95rem); color: var(--teal-700); line-height: 1.1; }
.stat span { font-size: 0.865rem; color: var(--muted); }
.section--teal .stat { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); border-left-color: var(--gold-400); }
.section--teal .stat strong { color: #fff; }
.section--teal .stat span { color: #cbe3da; }

/* Media figure */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.figure figcaption { font-size: 0.83rem; color: var(--muted-2); margin-top: 0.55rem; }
.figure--tall img { aspect-ratio: 3/4; }
.figure--wide img { aspect-ratio: 16/10; }

/* ---------- 8. Breadcrumbs & page header ---------- */
.page-head {
  background: linear-gradient(165deg, var(--teal-900) 0%, var(--teal-700) 78%);
  color: #d5e9eb;
  padding-block: clamp(1.7rem, 4vw, 2.9rem) clamp(2.1rem, 4.5vw, 3.2rem);
}
.page-head h1 { color: #fff; margin-bottom: 0.6rem; max-width: 22ch; }
.page-head p { color: #bcd8db; max-width: 68ch; margin-bottom: 0; }
.page-head .btn-row { margin-top: 1.4rem; }

.crumbs { font-size: 0.84rem; margin-bottom: 1.1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 0.4rem; color: #9dc3c7; }
.crumbs li:not(:last-child)::after { content: "/"; color: rgba(255,255,255,0.35); }
.crumbs a { color: #d5e9eb; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---------- 9. Page-side callouts ---------- */
.callout {
  border: 1px solid var(--teal-100);
  background: var(--teal-50);
  border-radius: var(--radius);
  padding: 1.05rem 1.2rem;
  font-size: 0.945rem;
  color: var(--teal-900);
}
.callout--gold { background: var(--gold-50); border-color: #ecd7a8; color: #6d4a1a; }
.callout--warn { background: #fff6f5; border-color: #f4cfcb; color: #7d241d; }
.callout h4 { margin-bottom: 0.35rem; font-size: 1rem; }
.callout--gold h4 { color: #6d4c05; }
.callout--warn h4 { color: #7d241d; }

.aside-stack { display: grid; gap: 1.1rem; position: sticky; top: calc(var(--header-h) + 18px); }
.aside-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem; box-shadow: var(--shadow-xs);
}
.aside-card h3 { font-size: 1.06rem; margin-bottom: 0.6rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 0.9rem; display: grid; gap: 0.45rem; }
.aside-card ul li { margin: 0; font-size: 0.925rem; display: flex; gap: 0.5rem; }
.aside-card ul li svg { flex: none; margin-top: 4px; color: var(--teal-500); }
.aside-card .btn-row { display: grid; gap: 0.55rem; }

/* ---------- 10. Prose (article body) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.1rem; }
.prose h3 { margin-top: 1.6rem; }
.prose h2 + p, .prose h3 + p { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 0.925rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.6rem 0.75rem; text-align: left; vertical-align: top; }
.prose th { background: var(--teal-50); color: var(--teal-900); font-family: var(--font-head); font-size: 0.9rem; }
.prose blockquote {
  margin: 1.4rem 0; padding: 0.9rem 1.2rem;
  border-left: 4px solid var(--gold-400);
  background: var(--gold-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.97rem; color: #5c4306;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin-bottom: 1.05em; }

/* ---------- 11. Accordion (FAQ) ---------- */
.faq { display: grid; gap: 0.7rem; max-width: 880px; margin-inline: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.faq details[open] { border-color: var(--teal-200); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3.1rem 1rem 1.15rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.005rem;
  color: var(--teal-900);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-700);
  display: grid; place-items: center;
  font-size: 1.15rem; line-height: 1; font-weight: 500;
}
.faq details[open] summary::after { content: "\2212"; background: var(--teal-100); }
.faq .faq__body { padding: 0 1.15rem 1.15rem; font-size: 0.955rem; color: var(--muted); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- 12. CTA band ---------- */
.cta-band {
  background:
    radial-gradient(720px 300px at 92% -10%, rgba(247, 185, 23, 0.22) 0%, rgba(247, 185, 23, 0) 68%),
    linear-gradient(145deg, var(--teal-950) 0%, var(--teal-800) 60%, var(--teal-700) 100%);
  color: #dbedef;
  border-radius: var(--radius-xl);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.4rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 0.4rem; }
.cta-band p { color: #c4e0e3; margin-bottom: 0; font-size: 0.98rem; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- 13. Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.885rem; color: var(--teal-900); }
.field label .req { color: var(--red-600); }
.field .hint { font-size: 0.795rem; color: var(--muted-2); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.965rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 11px;
  padding: 0.72rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-400); box-shadow: var(--focus);
}
.field .error { font-size: 0.8rem; color: var(--red-600); min-height: 1em; }
.check-row { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9rem; }
.check-row input { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--teal-600); padding: 0; }
.form-note { font-size: 0.845rem; color: var(--muted-2); }
.form-status { border-radius: var(--radius); padding: 0.85rem 1rem; font-size: 0.925rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #eefaf1; border: 1px solid #bfe4c9; color: #1e5c31; }
.form-status--err { background: #fff6f5; border: 1px solid #f4cfcb; color: #8d2b23; }
.hp { position: absolute !important; left: -9999px !important; }

/* ---------- 14. Map ---------- */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--teal-50);
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.8rem; margin: 0; }
.contact-list .ci {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: var(--teal-100); color: var(--teal-700);
  display: grid; place-items: center;
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 0.94rem; color: var(--teal-900); }
.contact-list span, .contact-list a { font-size: 0.94rem; color: var(--muted); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--teal-700); text-decoration: underline; }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--teal-950); color: #a7c6ca; font-size: 0.925rem; }
.site-footer h3 { color: #fff; font-size: 0.98rem; margin-bottom: 0.9rem; letter-spacing: 0.01em; }
.site-footer a { color: #c7dee1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  padding-block: clamp(2.2rem, 4.5vw, 3.4rem);
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name span { color: var(--teal-400); }
.footer__brand .brand__tag { color: #7fa3a8; }
.footer__brand p { margin-top: 0.9rem; color: #9dbcc1; font-size: 0.9rem; max-width: 34ch; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer__list li { margin: 0; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.1rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  align-items: center; justify-content: space-between;
  font-size: 0.845rem;
  color: #86a9ae;
}
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin: 0; padding: 0; }
.footer__bottom li { margin: 0; }
.footer__disclaimer {
  background: rgba(0,0,0,0.22);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
  font-size: 0.83rem;
  color: #93b3b8;
  margin-bottom: 1.4rem;
}
.footer__social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center; color: #d3e7e9;
}
.footer__social a:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* ---------- 16. Sticky mobile action bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line-strong);
  border-top: 1px solid var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.18rem;
  padding: 0.6rem 0.3rem;
  background: #fff;
  color: var(--teal-800);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}
.mobile-bar a svg { width: 19px; height: 19px; }
.mobile-bar a.is-primary { background: var(--teal-800); color: #fff; }
.mobile-bar a.is-whatsapp { background: #17864a; color: #fff; }

/* ---------- 17. Utilities ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0; }
.tag-row li { margin: 0; }
.tag {
  display: inline-block;
  font-size: 0.79rem; font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-800);
  border: 1px solid var(--teal-200);
}
.tag--gold { background: var(--gold-50); color: #7a4a1c; border-color: #ecd7a8; }

.divider { height: 1px; background: var(--line); border: 0; margin-block: 1.8rem; }

.media-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
}
.media-row img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

.notice-inline {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.885rem; color: var(--muted);
  border-top: 1px dashed var(--line-strong);
  padding-top: 0.9rem; margin-top: 1.4rem;
}
.notice-inline svg { flex: none; margin-top: 3px; color: var(--gold-600); }
.notice-inline--on-teal { border-color: rgba(255,255,255,0.2); color: #a9c9cd; }
.notice-inline--on-teal svg { color: #a9c9cd; }

/* Link grid for sitemap / hub pages */
.link-list { columns: 1; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .link-list { columns: 2; column-gap: 2.4rem; } }
.link-list li { margin: 0 0 0.55rem; break-inside: avoid; }
.link-list a { font-weight: 500; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* Mobile drawer */
.nav__scrim {
  position: fixed; inset: 0;
  background: rgba(4, 38, 43, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
  z-index: 110;
}
body.nav-open .nav__scrim { opacity: 1; visibility: visible; }
.nav__drawer-head {
  display: none;
  align-items: center; justify-content: space-between;
  gap: 0.8rem; padding: 0 0 0.9rem; margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.nav__close {
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: #fff; color: var(--teal-900); cursor: pointer;
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
}
.nav__drawer-cta { display: none; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); gap: 0.6rem; }
.nav__drawer-cta .btn { width: 100%; }

@media (max-width: 1024px) {
  .nav__toggle { display: grid; }
  .nav { justify-content: space-between; }
  .nav__phone { display: none; }
  .aside-stack { position: static; }

  .nav__menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(90vw, 392px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 1.1rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(103%);
    transition: transform 0.26s ease;
    z-index: 120;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .nav__menu { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    width: 100%;
  }
  .nav__actions { margin-left: auto; }

  .nav__links > li > a {
    padding: 0.85rem 0.75rem;
    font-size: 1.02rem;
    border-radius: 11px;
  }
  .nav__drawer-head { display: flex; }
  .nav__drawer-cta { display: grid; }

  .submenu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 0.4rem 0.85rem; min-width: 0;
    display: none;
  }
  .has-sub.is-expanded > .submenu, .has-sub:focus-within > .submenu { display: block; }
  .nav__links .has-sub > a::after { margin-left: auto; }
  .nav__links .has-sub > a { justify-content: space-between; width: 100%; }
}

@media (min-width: 1025px) {
  .nav__scrim { display: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__card { left: 0.9rem; bottom: 0.9rem; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 62px; }
  .site-footer { padding-bottom: 0.5rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__logo { width: 124px; height: 45px; }
  .topbar__inner { justify-content: center; text-align: center; font-size: 0.78rem; }
  /* Keep the opening hours visible on phones; the city name is dropped instead,
     because the address is shown in full in the footer. */
  .topbar__list .topbar__loc { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .hero__trust { gap: 0.6rem; }
  .hero__trust li { max-width: 100%; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .nav__actions .btn { width: auto; }
  .hero__card { position: static; margin-top: 0.9rem; max-width: 100%; }
  .faq summary { font-size: 0.96rem; padding-right: 2.9rem; }
}

/* ---------- 19. Print ---------- */
@media print {
  .site-header, .topbar, .mobile-bar, .cta-band, .site-footer__cta { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
