:root {
  --teal: #188c8f;
  --teal-dark: #137072;
  --teal-deep: #0b4f57;
  --teal-soft: #d8f0f1;
  --ink: #122426;
  --muted: #5a7072;
  --paper: #f3f8f8;
  --white: #ffffff;
  --line: rgba(18, 36, 38, 0.12);
  --shadow: 0 18px 40px rgba(11, 79, 87, 0.12);
  --radius: 16px;
  --container: 1120px;
  --gutter: 1rem;
  --header-h: 72px;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(24, 140, 143, 0.12), transparent 36%),
    radial-gradient(circle at 88% 0%, rgba(11, 79, 87, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fbfb 0%, #eef6f6 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--teal-deep);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

p {
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - (var(--gutter) * 2), 640px);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(11, 79, 87, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  flex: 0 1 auto;
  min-width: 0;
}

.brand img {
  width: clamp(132px, 42vw, 200px);
  height: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.95rem;
  margin-left: auto;
  min-width: 0;
}

.nav-desktop a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-desktop a.is-active,
.nav-desktop a:hover {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(24, 140, 143, 0.28);
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark) 0%, #083f46 100%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
}

.btn-ghost.dark {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.btn-ghost.dark:hover {
  color: var(--teal-deep);
  background: var(--teal-soft);
}

.btn-header {
  display: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-block {
  width: 100%;
}

.nav-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--teal);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

.nav-mobile {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem var(--gutter) 1.1rem;
  background: #fff;
  border-top: 1px solid var(--line);
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 0.35rem 0;
}

.nav-mobile .btn {
  margin-top: 0.25rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-veil {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.03);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-veil {
  background:
    linear-gradient(165deg, rgba(11, 79, 87, 0.92) 0%, rgba(19, 112, 114, 0.78) 55%, rgba(24, 140, 143, 0.55) 100%),
    linear-gradient(0deg, rgba(8, 40, 44, 0.7), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  padding: 4.5rem 0 3.25rem;
  max-width: 820px;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(1.7rem, 7vw, 3.4rem);
  max-width: 18ch;
  margin-bottom: 0.85rem;
}

.hero-lead {
  font-size: clamp(0.98rem, 2.8vw, 1.12rem);
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.hero-actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 160px);
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 1.75rem;
}

.section-head h2,
.schedule-grid h2,
.split-copy h2,
.why-grid h2 {
  font-size: clamp(1.55rem, 4.5vw, 2.35rem);
}

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

.schedule-band {
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.schedule-grid,
.split,
.why-grid,
.contact-grid,
.about-page {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.form-panel,
.unit-card,
.contact-aside,
.stat {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--teal);
}

.form-panel,
.contact-aside,
.unit-card {
  padding: 1.15rem;
}

.lead-form {
  display: grid;
  gap: 0.85rem;
}

.form-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 3.5vw, 1.35rem);
}

.lead-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.lead-form .field {
  display: grid;
  gap: 0.3rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(24, 140, 143, 0.35);
  border-color: var(--teal);
}

.lead-form input.is-invalid,
.lead-form textarea.is-invalid,
.lead-form .field.has-error input,
.lead-form .field.has-error textarea {
  border-color: #c0392b;
  outline: 2px solid rgba(192, 57, 43, 0.18);
}

.field-error {
  margin: 0;
  color: #a3281f;
  font-size: 0.84rem;
  font-weight: 600;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-note,
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.split-media {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 220px;
  aspect-ratio: 16 / 11;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.treat-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}

.treat-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.treat-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.treat-item:hover .treat-photo img {
  transform: scale(1.04);
}

.treat-item h3,
.treat-item p {
  padding-inline: 1rem;
}

.treat-item h3 {
  margin-top: 0.9rem;
  font-size: 1.15rem;
}

.treat-item p {
  padding-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.section-cta {
  margin-top: 1.5rem;
}

.why {
  background:
    linear-gradient(135deg, rgba(24, 140, 143, 0.12), rgba(11, 79, 87, 0.05)),
    #e7f4f4;
}

.stat-stack {
  display: grid;
  gap: 0.85rem;
}

.stat {
  padding: 1.1rem 1.2rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--teal-deep);
  margin-bottom: 0.2rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

blockquote {
  margin: 0;
  padding: 1.15rem;
  background: #fff;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 10px 30px rgba(11, 79, 87, 0.06);
  min-width: 0;
}

blockquote p {
  font-size: 0.98rem;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
}

.unit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.unit-item {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.unit-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.cta-final {
  padding-top: 0.5rem;
}

.cta-final-inner {
  text-align: center;
  padding: 2.4rem 1.1rem;
  border-radius: calc(var(--radius) + 6px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 79, 87, 0.92), rgba(24, 140, 143, 0.85)),
    url("../img/smile.jpg") center/cover;
}

.cta-final-inner h2 {
  font-size: clamp(1.45rem, 5vw, 2.6rem);
}

.page-hero {
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, rgba(24, 140, 143, 0.12), transparent);
}

.page-hero h1 {
  font-size: clamp(1.7rem, 6vw, 2.9rem);
  max-width: 18ch;
}

.treat-list {
  display: grid;
  gap: 0.85rem;
}

.treat-row {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.text-link {
  font-weight: 800;
  text-decoration: none;
}

.unit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.unit-actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 140px);
}

.aside-list {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.flash-wrap {
  padding-top: 1rem;
}

.flash {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.flash-success {
  background: #e5f7ef;
  color: #145c3a;
}

.flash-error {
  background: #fdeceb;
  color: #8a1f18;
}

/* Footer */
.site-footer {
  margin-top: 1.5rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(160deg, #0d5a60 0%, var(--teal-deep) 55%, #083f46 100%);
  color: rgba(255, 255, 255, 0.92);
  padding-top: 2.75rem;
  padding-bottom: 5rem;
}

.site-footer a {
  color: #fff;
}

.site-footer h3 {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand,
.footer-col {
  min-width: 0;
}

.footer-logo {
  width: min(180px, 58vw);
  margin-bottom: 0.85rem;
}

.footer-tagline {
  max-width: 28ch;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.88);
}

.footer-cro {
  margin: 0 0 0.45rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-hours {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.footer-address {
  display: block;
  font-style: normal;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  font-size: 0.92rem;
}

.footer-address:last-child {
  margin-bottom: 0;
}

.footer-address strong {
  color: #fff;
}

.unit-card address,
.contact-aside address,
.aside-list address {
  font-style: normal;
  margin: 0;
}

.site-footer .muted {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  opacity: 0.92;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-contact li {
  display: grid;
  gap: 0.15rem;
}

.footer-contact span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.footer-contact a {
  font-weight: 700;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.06);
}

.social-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 0 1.25rem;
  font-size: 0.9rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom a {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  z-index: 60;
  animation: pulse 2.4s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@keyframes heroZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.08); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Small phones */
@media (max-width: 379px) {
  :root {
    --gutter: 0.85rem;
  }

  .hero-actions .btn,
  .unit-actions .btn {
    width: 100%;
  }

  .btn-header {
    padding-inline: 0.85rem;
    font-size: 0.85rem;
  }
}

/* Large phones / small tablets */
@media (min-width: 480px) {
  :root {
    --gutter: 1.15rem;
  }

  .form-panel,
  .contact-aside,
  .unit-card {
    padding: 1.35rem;
  }

  .hero-content {
    padding: 5rem 0 3.75rem;
  }
}

/* Tablets */
@media (min-width: 640px) {
  .treat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-grid,
  .unit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .unit-item {
    border-top: 0;
    padding: 0;
  }

  .split-media {
    min-height: 280px;
  }

  .section {
    padding: 4rem 0;
  }

  .schedule-band {
    margin-top: -2rem;
  }
}

/* Desktop navigation — only when there is room */
@media (min-width: 1024px) {
  :root {
    --gutter: 1.5rem;
    --header-h: 78px;
  }

  .nav-desktop,
  .btn-header {
    display: flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }

  .hero {
    min-height: min(78vh, 760px);
  }

  .hero-content {
    padding: 6.5rem 0 5.5rem;
    margin-left: max(var(--gutter), calc((100% - var(--container)) / 2));
    margin-right: auto;
    width: min(820px, calc(100% - (var(--gutter) * 2)));
  }

  .hero-veil {
    background:
      linear-gradient(105deg, rgba(11, 79, 87, 0.88) 0%, rgba(19, 112, 114, 0.72) 48%, rgba(24, 140, 143, 0.45) 100%),
      linear-gradient(0deg, rgba(8, 40, 44, 0.55), transparent 45%);
  }

  .hero-actions .btn {
    flex: 0 1 auto;
  }

  .schedule-grid,
  .split,
  .why-grid,
  .contact-grid,
  .about-page {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: center;
  }

  .treat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2rem 2.25rem;
    align-items: start;
  }

  .footer-brand {
    grid-column: auto;
  }

  .site-footer {
    padding-top: 3.25rem;
    padding-bottom: 0;
  }

  .section {
    padding: 5rem 0;
  }

  .schedule-band {
    margin-top: -3rem;
  }

  .form-panel,
  .contact-aside,
  .unit-card {
    padding: 1.5rem;
  }
}

/* Wide desktop */
@media (min-width: 1200px) {
  .hero {
    min-height: min(86vh, 820px);
  }

  .hero h1 {
    max-width: 15ch;
  }
}

/* Short screens (landscape phones) */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3rem 0 2.25rem;
  }

  .brand-mark {
    margin-bottom: 0.4rem;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 5vh, 2rem);
    margin-bottom: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .whatsapp-float,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
