/* PH PEEL — templade_3 (estética / bienestar, contenido demo) */

:root {
  --ink: #14221f;
  --ink-muted: #4a5a57;
  --surface: #ffffff;
  --surface-alt: #f0f5f4;
  --line: rgba(20, 34, 31, 0.12);
  --brand: #1a4d4d;
  --brand-mid: #2d6a6a;
  --brand-soft: #7ec4bc;
  --warn-bg: #fff8e6;
  --warn-border: #e8c96b;
  --warn-ink: #5c4810;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 36px rgba(20, 34, 31, 0.08);
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --header-h: 72px;
  --container: min(1120px, calc(100% - 32px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface-alt);
}

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

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

a:hover {
  color: var(--brand);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
  z-index: 300;
  font-weight: 600;
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--brand-mid);
  outline-offset: 2px;
}

.topbar {
  background: var(--brand);
  color: #e8f4f2;
  font-size: 0.82rem;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 8px 0;
}

.topbar__text {
  margin: 0;
  max-width: 720px;
  opacity: 0.95;
}

.topbar__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar__cta {
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

.topbar__cta:hover {
  background: rgba(255, 255, 255, 0.28);
}

.topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.topbar a:hover {
  text-decoration: underline;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(20, 34, 31, 0.06);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand__tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.header__tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.btn--header-cta {
  display: inline-flex;
  padding: 9px 16px;
  font-size: 0.8rem;
  white-space: nowrap;
  background: var(--brand-mid);
  color: #fff;
  border-color: var(--brand-mid);
  box-shadow: 0 4px 14px rgba(45, 106, 106, 0.2);
}

.btn--header-cta:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.lang-switcher {
  position: relative;
}

.lang-switcher__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 2.5rem;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: var(--brand);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.lang-switcher__trigger:hover {
  border-color: var(--brand-soft);
  background: #f6fbfa;
}

.lang-switcher__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 11rem;
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  z-index: 220;
}

.lang-switcher__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.lang-switcher__option:hover,
.lang-switcher__option:focus-visible {
  background: var(--surface-alt);
}

.lang-switcher__option[aria-selected="true"] {
  background: rgba(45, 106, 106, 0.12);
  color: var(--brand);
}

.lang-switcher.is-open .lang-switcher__trigger {
  border-color: var(--brand-mid);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-header.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__nav-wrap {
  border-top: 1px solid var(--line);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 10px 0 14px;
}

.site-nav__list a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.site-nav__list a:hover {
  background: rgba(45, 106, 106, 0.1);
  color: var(--brand);
}

.treat-showcase {
  padding: clamp(36px, 6vw, 64px) 0;
}

.treat-showcase__inner {
  text-align: center;
}

.treat-showcase__title {
  margin: 0 auto 12px;
  max-width: 28ch;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand);
}

.treat-showcase__subtitle {
  margin: 0 auto 2.25rem;
  max-width: 52ch;
  font-size: 1.02rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.treat-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
}

@media (min-width: 640px) {
  .treat-showcase__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
  }
}

@media (min-width: 1024px) {
  .treat-showcase__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 1120px;
  }
}

.treat-showcase__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 160px;
  margin: 0 auto;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.22s var(--ease), color 0.2s var(--ease);
}

.treat-showcase__card:hover {
  color: var(--brand);
  transform: translateY(-4px);
}

.treat-showcase__card:focus-visible {
  outline: 3px solid rgba(45, 106, 106, 0.45);
  outline-offset: 6px;
  border-radius: 12px;
}

.treat-showcase__ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(100px, 18vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 10px 32px rgba(26, 77, 77, 0.12), 0 0 0 1px rgba(45, 106, 106, 0.12);
  background: var(--surface);
  flex-shrink: 0;
}

.treat-showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.treat-showcase__label {
  font-size: clamp(0.78rem, 2vw, 0.86rem);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
  text-align: center;
  max-width: 10.5rem;
}

@media (max-width: 639px) {
  .treat-showcase__grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    max-width: none;
    padding: 4px 4px 14px;
    gap: 18px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .treat-showcase__card {
    flex: 0 0 auto;
    width: 118px;
    max-width: none;
    scroll-snap-align: center;
  }

  .treat-showcase__ring {
    width: 108px;
  }
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(20, 34, 31, 0.35);
}

body.nav-lock {
  overflow: hidden;
}

.hero {
  background: linear-gradient(135deg, #1a4d4d 0%, #2d6a6a 48%, #3d8a82 100%);
  color: #f4fbfa;
  padding: clamp(28px, 5vw, 56px) 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 340px);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.hero__copy {
  min-width: 0;
}

.hero__visual {
  justify-self: center;
}

.hero__img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.35rem;
}

.btn--hero-primary {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.btn--hero-primary:hover {
  background: #f0faf8;
  color: var(--brand);
  border-color: #f0faf8;
}

.btn--hero-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

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

.btn--hero-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

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

.hero__eyebrow {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
}

.hero__title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
}

.hero__lead {
  margin: 0;
  font-size: 1.02rem;
  opacity: 0.92;
  max-width: 52ch;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fafcfb;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(45, 106, 106, 0.15);
  background: #fff;
}

.field--check {
  margin-bottom: 1.25rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
}

.check input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--brand-mid);
}

.field__error {
  margin: 6px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9a3412;
}

.booking-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.booking-form__note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  font-size: 0.88rem;
  font-weight: 600;
  color: #065f46;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--primary {
  background: var(--brand-mid);
  color: #fff;
  border-color: var(--brand-mid);
  box-shadow: 0 8px 22px rgba(45, 106, 106, 0.25);
}

.btn--primary:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

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

.btn--ghost:hover {
  border-color: var(--brand-soft);
  background: #f6fbfa;
}

.text-link {
  font-weight: 700;
}

.section {
  padding: clamp(32px, 5vw, 56px) 0;
}

.section--alt {
  background: #e8efee;
}

.section__title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--brand);
}

.section__intro {
  margin: 0 0 22px;
  color: var(--ink-muted);
  max-width: 60ch;
}

.section__subtitle {
  margin: 1.5rem 0 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-mid);
}

.about-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.about-list li + li {
  margin-top: 8px;
}

.prose p,
.prose li {
  color: var(--ink-muted);
  max-width: 68ch;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
}

.steps li + li {
  margin-top: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.contact__form .btn {
  margin-top: 4px;
}

.form-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  font-size: 0.88rem;
  font-weight: 600;
  color: #065f46;
}

.site-footer {
  background: var(--brand);
  color: #d4ebe8;
  padding: 32px 0 40px;
  font-size: 0.88rem;
}

.footer__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto;
  align-items: start;
}

.footer__name {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.footer__tag {
  margin: 0;
  opacity: 0.88;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer__nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer__nav a:hover {
  text-decoration: underline;
}

.footer__copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0.85;
}

.footer__linkbtn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.footer__linkbtn:hover {
  text-decoration: underline;
}

.contact__open-book {
  margin-top: 14px;
}

.btn--secondary {
  background: transparent;
  color: var(--brand-mid);
  border-color: var(--brand-mid);
  box-shadow: none;
}

.btn--secondary:hover {
  background: rgba(45, 106, 106, 0.08);
}

.booking-dialog {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.booking-dialog[hidden] {
  display: none !important;
}

.booking-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 34, 31, 0.45);
  cursor: pointer;
}

.booking-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(90vh, 720px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(20, 34, 31, 0.2);
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.booking-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.booking-dialog__close:hover {
  background: #e0ebe9;
}

.booking-dialog__title {
  margin: 0 2.5rem 6px 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
}

.booking-dialog__intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

body.booking-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .treat-showcase__card {
    width: 118px;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header__nav-wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-offset, 120px);
    bottom: 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.28s var(--ease);
    overflow-y: auto;
    z-index: 180;
  }

  .site-header.is-open .header__nav-wrap {
    transform: translateX(0);
  }

  .site-nav__list {
    flex-direction: column;
    padding: 16px 0 24px;
  }

  .site-nav__list a {
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .header__tools .btn--header-cta {
    width: auto;
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}

@media (min-width: 721px) {
  .header__nav-wrap {
    position: static;
    transform: none !important;
    overflow: visible;
  }
}
