/* PODOS v1 - clinical 2030, simplified */

:root {
  --blue: #3d7eb8;
  --blue-soft: #8eb4d5;
  --blue-deep: #2b4660;
  --teal: #3cb8a5;
  --teal-soft: #a0dbc3;
  --teal-wash: #e8f7f3;
  --ink: #1a2a35;
  --muted: #5a6b76;
  --line: rgba(43, 70, 96, 0.12);
  --bg: #f7fbfc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(43, 70, 96, 0.1);
  --radius: 1.25rem;
  --page-pad: clamp(1.25rem, 4vw, 2.5rem);
  --content-max: 1440px;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(160, 219, 195, 0.35), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(142, 180, 213, 0.28), transparent 50%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

/* Header - transparent over hero, frosted white on scroll */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: var(--line);
}

/* readable controls over the dark hero while transparent */
.site-header:not(.is-scrolled) .icon-btn,
.site-header:not(.is-scrolled) .menu-toggle {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.site-header:not(.is-scrolled) .icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding-block: 0.65rem;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--blue-deep);
  padding: 0.35rem 0.6rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  transition: background 0.3s ease;
}

.site-header.is-scrolled .brand {
  background: transparent;
}

.brand__logo {
  width: auto;
  height: 3.6rem;
  flex-shrink: 0;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav > a {
  position: relative;
  transition: color 0.2s ease;
}

.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav > a:hover,
.nav > a.is-active {
  color: var(--blue-deep);
}

.nav > a:hover::after,
.nav > a.is-active::after {
  transform: scaleX(1);
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-btn {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--blue-deep);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  background: var(--white);
  border-color: var(--blue-soft);
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.wa-float {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 70;
  width: 2.625rem;
  height: 2.625rem;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.38);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.wa-float svg {
  display: block;
  width: 1.275rem;
  height: 1.275rem;
  margin: 0;
  /* Chat-tail weights the glyph down-left; nudge to optical center. */
  transform: translate(0.06em, -0.05em);
}

.wa-float:hover {
  transform: translateY(-2px);
  background: #1ebe5d;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.46);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn__icon {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(61, 126, 184, 0.28);
}

.btn--primary:hover {
  background: var(--blue-deep);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(60, 184, 165, 0.28);
}

.btn--teal:hover {
  filter: brightness(0.95);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-deep);
  border: 1px solid rgba(43, 70, 96, 0.2);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--blue);
}

.btn--on-dark {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--light {
  background: var(--white);
  color: var(--blue-deep);
  border: 1px solid rgba(43, 70, 96, 0.12);
}

.btn--light:hover {
  border-color: var(--blue-soft);
}

.btn--sm {
  min-height: 2.5rem;
  padding-inline: 1.05rem;
  font-size: 0.92rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding-bottom: 4rem;
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
  color: var(--band, #8eb4d5);
}

.wave svg {
  display: block;
  width: 100%;
  height: 72px;
}

.wave--hero {
  color: #8eb4d5;
}

.wave--hero svg {
  height: 88px;
}

.wave--footer {
  top: 0;
  bottom: auto;
  transform: translateY(-99%);
  color: var(--blue-deep);
  z-index: 4;
}

.wave--footer svg {
  height: 88px;
}

.wave--intro {
  color: var(--intro-wave, #8eb4d5);
}

.wave--intro svg {
  height: 80px;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1a2a35;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: 0;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  will-change: transform;
}

.hero__slide.is-active img {
  animation: kenburns-a 9s ease-out forwards;
}

.hero__slide:nth-child(2).is-active img {
  animation-name: kenburns-b;
}

.hero__slide:nth-child(3).is-active img {
  animation-name: kenburns-c;
}

@keyframes kenburns-a {
  from { transform: scale(1.12) translate3d(0, 0, 0); }
  to { transform: scale(1.22) translate3d(-2.5%, -1.5%, 0); }
}

@keyframes kenburns-b {
  from { transform: scale(1.18) translate3d(-2%, 1%, 0); }
  to { transform: scale(1.08) translate3d(1.5%, -1%, 0); }
}

@keyframes kenburns-c {
  from { transform: scale(1.1) translate3d(1.5%, 0, 0); }
  to { transform: scale(1.2) translate3d(-1%, 2%, 0); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(26, 42, 53, 0.78) 0%, rgba(26, 42, 53, 0.45) 42%, rgba(26, 42, 53, 0.18) 70%, rgba(43, 70, 96, 0.12) 100%),
    linear-gradient(to top, rgba(26, 42, 53, 0.55), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  /* keep .container padding-inline - do not use padding shorthand here */
  padding-block: clamp(5rem, 12vh, 7rem) clamp(3rem, 7vh, 4.5rem);
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  animation: rise 0.9s ease forwards 0.1s;
}

.hero__logo {
  width: clamp(9.5rem, 22vw, 13.5rem);
  height: auto;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.25s;
}

.hero p {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  animation: rise 0.9s ease forwards 0.4s;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.55s;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  scroll-margin-top: 5.5rem;
}

section.band-section {
  padding: 50px var(--page-pad);
}

.section-head {
  margin-bottom: 2.25rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-head h2,
.block-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--blue-deep);
}

.section-head p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Band sections - slow vertical blends, no hard edges between sections */
.band-section {
  --band-from: #8eb4d5;
  --band-to: #82b2cc;
  --band: var(--band-to);
  background: linear-gradient(
    180deg,
    var(--band-from) 0%,
    color-mix(in srgb, var(--band-from) 55%, var(--band-to)) 48%,
    var(--band-to) 100%
  );
  padding: 50px var(--page-pad);
  border: 0;
}

.band-section--soft {
  margin-top: 0;
}

.band-section--gradient {
  /* kept as class hook; colors set per-section below */
}

.band-section__inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
}

.section-head--on-band {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.section-head--on-band .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.section-head--on-band h2 {
  color: var(--white);
}

.section-head--on-band p {
  color: rgba(255, 255, 255, 0.9);
}

.panel-arch {
  --arch-teal: #6ec4b0;
  position: relative;
  background: var(--white);
  /* tombstone arch - radius tracks card width */
  border-radius: 50% 50% 1.75rem 1.75rem / 7.5rem 7.5rem 1.75rem 1.75rem;
  padding: clamp(3.25rem, 5.5vw, 4rem) clamp(1.5rem, 3vw, 2.35rem) clamp(2rem, 4vw, 2.5rem);
  box-shadow: 0 10px 30px rgba(43, 70, 96, 0.08);
  overflow: visible;
}

/* teal on card edge; mask rounds the sharp cut ends only */
.panel-arch::before {
  content: "";
  position: absolute;
  inset: -2px 0 0;
  border-radius: inherit;
  border: 12px solid var(--arch-teal);
  border-bottom-color: transparent;
  clip-path: inset(0 12.5% 55% 12.5%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.panel-arch::after {
  display: none;
}

.band-panel {
  position: relative;
  background: var(--white);
  border-radius: 40px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 10px 30px rgba(43, 70, 96, 0.08);
}

/* Services - arched panels tucked into band */
.services.band-section {
  --band-from: #8eb4d5;
  --band-to: #84b1cd;
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: visible;
}

.services .band-section__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 8px;
}

.services-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 860px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .panel-arch {
    border-radius: 50% 50% 2rem 2rem / 9rem 9rem 2rem 2rem;
  }
}

@media (max-width: 640px) {
  .panel-arch {
    border-radius: 50% 50% 1.5rem 1.5rem / 4.5rem 4.5rem 1.5rem 1.5rem;
  }

  .band-panel {
    border-radius: 28px;
  }

  .wave--hero svg {
    height: 56px;
  }
}

.service {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.services .service.panel-arch {
  padding-top: calc(clamp(3.25rem, 5.5vw, 4rem) + 25px);
}

.service h2,
.service h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue-deep);
  text-align: center;
}

.service__hub {
  color: inherit;
}

.service__hub:hover,
.service__hub:focus-visible {
  color: var(--teal);
}

.service p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.service__list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  text-align: left;
}

.service .service__list {
  margin: 1.25rem auto 0;
  width: fit-content;
  max-width: 100%;
}

.service__list a {
  color: var(--blue-deep);
  font-weight: 600;
}

.service__list a:hover,
.service__list a:focus-visible {
  color: var(--teal);
}

.service__list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--ink);
  font-size: 0.98rem;
}

.service__list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--blue-soft);
  flex-shrink: 0;
}

.service__more {
  display: block;
  margin-top: auto;
  padding-top: 1.15rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
}

/* Hygiene - rounded panel inset in band */
.hygiene.band-section {
  --band-from: #84b1cd;
  --band-to: #79adc4;
  padding-top: 50px;
  padding-bottom: 50px;
}

.hygiene-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hygiene-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.hygiene-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hygiene-points div {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.hygiene-points span {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--teal-wash);
  color: var(--teal);
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

.hygiene-points p {
  margin: 0;
  color: var(--blue-deep);
  font-weight: 500;
  align-self: center;
}

.hygiene-points strong {
  display: block;
  color: var(--blue-deep);
  margin-bottom: 0.15rem;
}

.media-frame {
  position: relative;
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  background: #d9e8f0;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  max-width: 380px;
  width: 100%;
  margin-inline: auto;
}

.band-panel .media-frame {
  max-width: none;
  aspect-ratio: 4 / 5;
}

.media-frame--wide {
  max-width: none;
  aspect-ratio: 3 / 4;
}

.media-frame video,
.media-frame iframe,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-deep);
}

/* Location */
.location.band-section {
  --band-from: #79adc4;
  --band-to: #6ba8b9;
  padding-top: 50px;
  padding-bottom: 50px;
  background:
    linear-gradient(
      180deg,
      var(--band-from) 0%,
      #74aac0 40%,
      var(--band-to) 100%
    );
}

.find-us-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .find-us-grid {
    grid-template-columns: 0.9fr 1.1fr 0.9fr;
    align-items: stretch;
  }
}

.find-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.find-copy address {
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.4;
}

.find-copy p {
  margin: 0;
  color: var(--muted);
}

.map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
  background: #d9e8f1;
  box-shadow: var(--shadow);
}

.podos-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* Gallery - same inset padding treatment as higijena */
.gallery.band-section {
  --band-from: #6ba8b9;
  --band-to: #7eb8b0;
  padding-top: 50px;
  padding-bottom: 50px;
}

.gallery-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-toolbar .section-head {
  margin-bottom: 0;
}

.gallery-controls {
  display: flex;
  gap: 0.5rem;
}

.gallery-controls button {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-controls button:hover {
  background: var(--teal-wash);
  transform: translateY(-1px);
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 28vw);
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-soft) transparent;
}

.gallery-track figure {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #dfe9f0;
}

.gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-track figure:hover img {
  transform: scale(1.04);
}

/* Pricing / CTA - continues the slow blend toward the footer */
.pricing {
  background: linear-gradient(
    180deg,
    #7eb8b0 0%,
    #a0dbc3 28%,
    #b7d6e8 62%,
    #8eb4d5 88%,
    #6a92b0 100%
  );
}

.pricing-panel {
  border-radius: calc(var(--radius) + 0.4rem);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.pricing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.price-valid {
  margin: 0;
  font-weight: 600;
  color: var(--blue-deep);
}

.price-tabs {
  margin-top: 0.25rem;
}

.price-tabs__list {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(43, 70, 96, 0.1);
  box-shadow: 0 8px 24px rgba(43, 70, 96, 0.06);
}

.price-tabs__tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 2.5rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.price-tabs__tab:hover {
  color: var(--blue-deep);
  background: rgba(142, 180, 213, 0.18);
}

.price-tabs__tab:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.price-tabs__tab.is-active {
  color: var(--blue-deep);
  background: linear-gradient(180deg, #ffffff 0%, #f3faf8 100%);
  box-shadow: 0 6px 16px rgba(43, 70, 96, 0.1);
}

.price-tabs__panels {
  position: relative;
}

.price-tabs__panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.price-tabs__panel.is-active {
  display: block;
}

.price-tabs__panel.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.38s ease,
    transform 0.38s ease;
}

.price-tabs__panel.is-leaving {
  display: block;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .price-tabs__tab,
  .price-tabs__panel.is-visible,
  .price-tabs__panel.is-leaving {
    transition: none;
  }

  .price-tabs__panel {
    transform: none;
  }
}

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

.price-group + .price-group {
  margin-top: 1.5rem;
}

.price-group__title {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.price-list {
  display: grid;
  gap: 0.35rem;
  margin: 0.5rem 0 0;
}

.price-chapter .price-group:last-child .price-list,
.pricing-panel > .price-list {
  margin-bottom: 0;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row strong {
  display: block;
  color: var(--blue-deep);
  font-weight: 700;
}

.price-row span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
  max-width: 42rem;
}

.price-row em {
  font-style: normal;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
  text-align: right;
}

.price-legal {
  margin: 1.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (max-width: 640px) {
  .price-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .price-row em {
    text-align: left;
  }
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 2rem;
  margin-top: 0;
  overflow: visible;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 0.9fr;
  }
}

.footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-legal a,
.footer-legal-btn {
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.footer-legal a:hover,
.footer-legal-btn:hover {
  color: var(--teal-soft);
}

.footer-legal .footer-link {
  align-items: center;
}

.footer-legal .footer-link .footer-icon {
  margin-top: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
}

.footer-brand img {
  width: 7.5rem;
  height: auto;
}

.site-footer h3,
.footer-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

.footer-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  display: block;
  color: currentColor;
}

.footer-link,
.footer-address {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-link .footer-icon,
.footer-address .footer-icon {
  margin-top: 0.2rem;
  color: var(--teal-soft);
}

.footer-address {
  margin-top: 1rem;
}

.site-footer p,
.site-footer a {
  margin: 0 0 0.45rem;
}

.site-footer a:hover {
  color: var(--teal-soft);
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.88rem;
  opacity: 0.7;
}

.footer-credit {
  color: inherit;
  text-decoration: none;
}

.footer-credit:hover {
  color: var(--white);
  opacity: 1;
}

.footer-heart {
  color: #e25555;
  padding: 0 0.15rem;
}

/* Policy pages */
.policy {
  padding: 50px var(--page-pad);
}

.policy .container {
  max-width: var(--content-max);
  width: 100%;
  margin-inline: auto;
  padding-inline: 0;
}

.policy-prose {
  max-width: none;
  width: 100%;
  margin: 0;
}

.policy-prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--blue-deep);
}

.policy-prose p,
.policy-prose li {
  color: var(--muted);
  line-height: 1.65;
}

.policy-prose ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}

.policy-prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.policy-updated {
  margin-top: 2rem;
  font-size: 0.92rem;
}

/* Cookie notice (AI Chat style, PODOS colors) */
.consent-anchor {
  position: fixed;
  z-index: 60;
  left: 0;
  bottom: 0;
}

.consent-banner,
.consent-floating-btn {
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.consent-floating-btn {
  transition: opacity 220ms ease, visibility 220ms ease;
}

.consent-banner.is-visible,
.consent-floating-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.consent-banner {
  left: 16px;
  bottom: 16px;
  width: min(520px, calc(100vw - 32px));
  padding: 1.35rem;
  border: 1px solid rgba(142, 180, 213, 0.55);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(160, 219, 195, 0.22), transparent 48%),
    #f7fbfc;
  box-shadow: 0 18px 50px rgba(43, 70, 96, 0.18);
  transform: translateY(12px);
  transition:
    opacity 280ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 280ms ease;
}

.consent-banner.is-visible {
  transform: translateY(0);
}

.consent-banner-title {
  margin: 0;
  color: var(--blue-deep);
  font-size: 0.98rem;
  font-weight: 700;
}

.consent-banner-description {
  margin: 0.55rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.consent-banner > a {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.consent-banner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.consent-banner-actions button {
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.consent-banner-actions button:hover {
  transform: translateY(-1px);
}

#consent-accept {
  border: 0;
  background: var(--blue);
  color: var(--white);
}

#consent-reject {
  border: 1px solid rgba(43, 70, 96, 0.18);
  background: transparent;
  color: var(--blue-deep);
}

.consent-floating-btn.consent-tray {
  --tray-size: 40px;
  --tray-peek: 30px;
  --tray-expanded: 104px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: var(--tray-size);
  height: var(--tray-size);
  padding: 0;
  border: 1px solid rgba(142, 180, 213, 0.65);
  border-bottom: 0;
  border-left: 0;
  border-radius: 0 12px 0 0;
  background: #f7fbfc;
  color: var(--blue-deep);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 -8px 22px rgba(43, 70, 96, 0.12);
  transform: translateY(calc(100% - var(--tray-peek)));
  transition:
    opacity 220ms ease,
    visibility 220ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    width 400ms cubic-bezier(0.16, 1, 0.3, 1),
    background 220ms ease,
    color 220ms ease;
}

.consent-tray .cookie-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-left: calc((var(--tray-size) - 18px) / 2);
}

.consent-tray > span {
  margin-left: 0.55rem;
  opacity: 0;
  transition: opacity 220ms ease;
}

.consent-floating-btn.consent-tray.is-visible:hover,
.consent-floating-btn.consent-tray.is-visible:focus-visible {
  width: var(--tray-expanded);
  transform: translateY(0);
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.consent-floating-btn.consent-tray.is-visible:hover > span,
.consent-floating-btn.consent-tray.is-visible:focus-visible > span {
  opacity: 1;
}

@media (max-width: 640px) {
  .consent-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner,
  .consent-floating-btn,
  .consent-tray {
    transition: none;
  }
}

/* Inner pages */
.page-intro.band-section {
  --band-from: #8eb4d5;
  --band-to: #7eb0c9;
  --intro-wave: #8eb4d5;
  position: relative;
  overflow: hidden;
  padding-top: calc(5.5rem + 40px);
  padding-bottom: calc(40px + 3.25rem);
}

.page-intro .band-section__inner {
  position: relative;
  z-index: 1;
}

.page-intro h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
}

.page--cjenik .page-intro {
  --intro-wave: #7eb8b0;
}

.page--lokacija .page-intro {
  --intro-wave: #79adc4;
}

.page--lokacija .band-section--gradient {
  --band-from: #79adc4;
  --band-to: #6ba8b9;
}

/* Legal pages: wave blends into light policy section */
.page--pravila-privatnosti .page-intro,
.page--uvjeti-usluge .page-intro {
  --intro-wave: var(--bg);
}

/* Clearance so footer wave does not clip last section content */
main > section:last-child {
  padding-bottom: clamp(5.75rem, 11vw, 8rem);
}

main > section.band-section:last-child {
  padding-bottom: clamp(5.75rem, 11vw, 8rem);
}

@media (max-width: 640px) {
  .wave--intro svg {
    height: 56px;
  }
}

.page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.section-more {
  margin: 1.25rem 0 0;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
  }
}

.contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  gap: 0.25rem;
}

.contact-list strong,
.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.contact-label__icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  display: block;
  color: var(--teal);
}

.contact-list a,
.contact-list span {
  color: var(--blue-deep);
  font-size: 1.05rem;
  line-height: 1.45;
}

.page--usluge .service h2,
.page--usluge .service h3 {
  font-size: 1.35rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 1.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.crumbs a {
  color: var(--blue-deep);
}

.crumbs a:hover,
.crumbs a:focus-visible {
  color: var(--teal);
}

.crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.service-detail {
  display: grid;
  gap: 1.5rem;
}

.service-detail__copy p + p {
  margin-top: 0.9rem;
}

.service-detail__copy .block-title {
  margin-top: 1.35rem;
}

.service-detail__copy .service__list a {
  color: var(--blue-deep);
  font-weight: 600;
}

.service-detail__copy .service__list a:hover,
.service-detail__copy .service__list a:focus-visible {
  color: var(--teal);
}

.service-related {
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
}

.service-related a {
  color: var(--teal);
  font-weight: 600;
}

.media-frame--feature {
  max-width: none;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
}

.band-panel .media-frame--feature {
  aspect-ratio: 16 / 9;
}

/* Reveal on scroll — hidden until in view when JS is on */
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(28px);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Page transitions — whole page as one layer (no staggered section gaps) */
body.screen-transitioning {
  pointer-events: none;
}

body.screen-transition-pending main,
body.screen-transition-pending .site-footer {
  opacity: 0;
}

body.screen-transition-out main,
body.screen-transition-out .site-footer {
  animation: site-page-out 260ms cubic-bezier(0.4, 0, 1, 1) both;
}

body.screen-transition-in main,
body.screen-transition-in .site-footer {
  animation: site-page-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes site-page-out {
  to {
    opacity: 0;
  }
}

@keyframes site-page-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile nav toggle */
.menu-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--blue-deep);
  background: transparent;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.menu-toggle__bar {
  position: absolute;
  left: 50%;
  width: 1.05rem;
  height: 1.7px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease,
    top 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-toggle__bar:nth-child(1) { top: calc(50% - 5px); }
.menu-toggle__bar:nth-child(2) { top: 50%; }
.menu-toggle__bar:nth-child(3) { top: calc(50% + 5px); }

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0.4);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  top: 50%;
  transform: translateX(-50%) rotate(-45deg);
}

@media (min-width: 920px) {
  .nav {
    display: flex;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav a {
    opacity: 1;
    transform: none;
  }

  .site-header:not(.is-scrolled) .nav {
    color: rgba(255, 255, 255, 0.88);
  }

  .site-header:not(.is-scrolled) .nav > a:hover,
  .site-header:not(.is-scrolled) .nav > a.is-active {
    color: var(--white);
  }

  .menu-toggle { display: none; }
  .brand__logo { height: 4.5rem; }
  .header-inner { min-height: 5.25rem; }
}

@media (max-width: 919px) {
  .nav {
    display: flex;
    position: absolute;
    left: auto;
    /* Align to the hamburger (content box), never closer than 15px to the viewport. */
    right: max(15px, var(--page-pad));
    top: calc(100% + 0.35rem);
    z-index: 60;
    width: min(18.5rem, calc(100vw - 15px - max(15px, var(--page-pad))));
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    color: var(--muted);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.55rem) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.28s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav > a {
    padding: 0.7rem 0.5rem;
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.28s ease,
      transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
      color 0.2s ease;
  }

  .nav.is-open > a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav.is-open > *:nth-child(1) { transition-delay: 0.04s; }
  .nav.is-open > *:nth-child(2) { transition-delay: 0.08s; }
  .nav.is-open > *:nth-child(3) { transition-delay: 0.12s; }
  .nav.is-open > *:nth-child(4) { transition-delay: 0.16s; }
  .nav.is-open > *:nth-child(5) { transition-delay: 0.2s; }
  .nav.is-open > *:nth-child(6) { transition-delay: 0.24s; }

  /* Mobile panel is always light — keep dark readable text */
  .site-header .nav,
  .site-header:not(.is-scrolled) .nav,
  .site-header .nav a,
  .site-header:not(.is-scrolled) .nav a,
  .site-header .nav a:hover,
  .site-header:not(.is-scrolled) .nav a:hover,
  .site-header .nav a.is-active,
  .site-header:not(.is-scrolled) .nav a.is-active {
    color: var(--blue-deep);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav,
  .nav a,
  .menu-toggle,
  .menu-toggle__bar {
    transition: none !important;
  }
  .hero__slide img,
  .hero__slide.is-active img {
    animation: none;
    transform: scale(1.06);
  }
  html.js .reveal:not(.is-in),
  html.js .reveal.is-in,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  body.screen-transition-pending main,
  body.screen-transition-pending .site-footer,
  body.screen-transition-out main,
  body.screen-transition-out .site-footer,
  body.screen-transition-in main,
  body.screen-transition-in .site-footer {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero__brand,
  .hero h1,
  .hero p,
  .hero__cta {
    opacity: 1;
    animation: none;
  }
}
