@font-face {
  font-family: "Gotham";
  src: local("Gotham Book"), local("Gotham-Book"), url("assets/fonts/Gotham-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: local("Gotham Medium"), local("Gotham-Medium"), url("assets/fonts/Gotham-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: local("Gotham Bold"), local("Gotham-Bold"), url("assets/fonts/Gotham-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #f4c2c2;
  --secondary: #e89ca9;
  --bg: #fffaf8;
  --text: #45343b;
  --muted: #726169;
  --heading: #312027;
  --line: #f0e4e8;
  --accent: #b79263;
  --section-rose: rgba(244, 194, 194, 0.16);
  --section-blush: rgba(232, 156, 169, 0.11);
  --section-ivory: rgba(201, 164, 108, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito", "Gotham", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 3%, #ffe8ee 0, transparent 34%),
    radial-gradient(circle at 92% 100%, #f7ead3 0, transparent 30%),
    var(--bg);
  min-height: 100vh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--heading);
  text-wrap: balance;
}

p {
  margin: 0;
  line-height: 1.66;
  color: var(--text);
  text-wrap: pretty;
}

.container {
  width: min(1180px, calc(100% - 1.4rem));
  margin: 0 auto;
}

.bg-shape {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fffafbcc;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f4e5ea;
}

.nav-wrap {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.7rem;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #513741;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(36px, 8.2vw, 52px);
  max-width: min(190px, 52vw);
}

.menu-toggle {
  border: 1px solid #ebd4db;
  border-radius: 999px;
  min-height: 40px;
  padding: 0.35rem 0.9rem;
  background: #fff;
  color: #5b3f48;
  font: inherit;
  font-weight: 600;
}

.main-nav {
  grid-column: 1 / -1;
  display: none;
  background: #fff;
  border: 1px solid #efdde3;
  border-radius: 12px;
  overflow: hidden;
}

.main-nav.is-open {
  display: grid;
}

.main-nav a {
  padding: 0.74rem 0.9rem;
  text-align: center;
  color: #6a4d56;
  font-weight: 600;
}

.main-nav a + a {
  border-top: 1px solid #f3e5ea;
}

.main-nav a.active {
  background: #fdf1f5;
  color: #4f313b;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(135deg, #d293a7, #b56b84);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(181, 107, 132, 0.22);
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn--small {
  padding: 0.62rem 1rem;
}

.site-header .btn--small {
  display: none;
}

.btn--ghost {
  border: 1px solid #ebd4db;
  color: #654750;
  background: transparent;
  box-shadow: none;
}

main {
  padding: 1.6rem 0 3rem;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b5b69;
  font-weight: 700;
}

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

.section-head h2,
.section-head h1 {
  margin-top: 0.25rem;
  font-size: clamp(1.78rem, 5.3vw, 2.85rem);
  max-inline-size: 20ch;
  text-wrap: pretty;
}

.section-head p {
  margin-top: 0.42rem;
  color: var(--muted);
  max-width: 52ch;
}

.section-head--compact {
  margin-bottom: 1.25rem;
}

.hero-home {
  display: grid;
  gap: 1rem;
  padding: 0.7rem 0.8rem 0.7rem;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.6), transparent 36%),
    linear-gradient(160deg, rgba(244, 194, 194, 0.2), rgba(201, 164, 108, 0.14));
}

.hero-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f6774;
  font-weight: 700;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 0.44rem;
}

.hero-copy h1 {
  margin-top: 0;
  font-size: clamp(2.1rem, 9.4vw, 4.1rem);
  max-inline-size: 11.4ch;
  text-wrap: pretty;
}

.hero-text {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.5rem;
  align-items: end;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 0.8rem 0.6rem auto;
  width: 88px;
  height: 88px;
  border: 2px solid rgba(143, 103, 116, 0.25);
  border-radius: 99px 99px 0 0;
  pointer-events: none;
}

.hero-arch {
  margin: 0;
  overflow: hidden;
  background: #e4d2d9;
}

.hero-arch--large {
  border-radius: 110px 110px 12px 12px;
}

.hero-arch--small {
  border-radius: 90px 90px 12px 12px;
  transform: translateY(-18px);
}

.hero-arch img {
  width: 100%;
  height: 100%;
  min-height: 176px;
  object-fit: cover;
  display: block;
  filter: saturate(0.94) contrast(1.02);
}

body[data-page="home"] .about-home,
body[data-page="home"] .best-home,
body[data-page="home"] .quote-home,
body[data-page="home"] .reviews-home {
  margin-top: 1.2rem;
  padding-top: 0.85rem;
  background: none;
  border-top: 1px solid #efe2e7;
}

body[data-page="home"] .about-photo img {
  max-height: 260px;
  border-radius: 14px;
}

body[data-page="home"] .best-card img {
  aspect-ratio: 4 / 5;
}

body[data-page="home"] .best-card h3 {
  font-size: 1.12rem;
  line-height: 1.2;
}

body[data-page="home"] .quote-gallery {
  grid-template-columns: 1fr;
}

body[data-page="home"] .quote-gallery img {
  height: 220px;
  border-radius: 14px;
}

.about-home {
  margin-top: 2.4rem;
  display: grid;
  gap: 1rem;
  padding: 0.85rem 0 0;
  border-radius: 0;
  background:
    linear-gradient(125deg, var(--section-blush), transparent 55%);
}

.about-photo img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
}

.about-copy h2 {
  margin-top: 0.1rem;
  font-size: clamp(1.86rem, 6.1vw, 2.75rem);
}

.about-copy p {
  margin-top: 0.62rem;
  color: var(--muted);
}

.about-copy p:first-child {
  margin-top: 0;
}

.about-copy .btn {
  margin-top: 0.95rem;
}

.best-home {
  margin-top: 2.6rem;
  padding: 0.85rem 0 0;
  border-radius: 0;
  background:
    linear-gradient(20deg, var(--section-rose), transparent 42%);
}

.best-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 0.7rem;
}

.best-card a {
  display: grid;
  gap: 0.45rem;
  text-align: center;
  align-items: start;
}

.best-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.best-card h3 {
  font-size: 1.33rem;
  color: #55363f;
}

.center-cta {
  margin-top: 1.2rem;
  text-align: center;
}

.quote-home {
  margin-top: 2.8rem;
  display: block;
  padding: 0.85rem 0 0;
  border-radius: 0;
  background:
    linear-gradient(310deg, var(--section-ivory), transparent 52%);
}

.quote-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.quote-line {
  margin-bottom: 0.65rem;
  color: #6f4d58;
  font-size: 1.08rem;
  font-weight: 600;
}

.quote-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
}

.reviews-home {
  margin-top: 2.8rem;
  padding: 0.85rem 0 0;
  border-radius: 0;
  background:
    linear-gradient(330deg, var(--section-blush), transparent 52%);
}

.review-grid {
  margin-top: 0;
  display: grid;
  gap: 0.85rem;
}

.review-card {
  background: #fff;
  border: 1px solid #f0e3e7;
  border-radius: 12px;
  padding: 1rem;
}

.review-card p {
  color: #634f56;
}

.review-user {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.review-user img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
}

.section {
  margin-top: 1.4rem;
}

body[data-page="servicios"] main.section {
  padding: 0;
  border-radius: 0;
  background:
    linear-gradient(20deg, var(--section-rose), transparent 48%);
}

.service-grid {
  display: grid;
  gap: 1rem;
}

.service-grid--full {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.service-card {
  padding: 0.85rem;
  background: #fff;
  border: 1px solid #f1e4e8;
  border-radius: 12px;
  display: grid;
  gap: 0.6rem;
  height: 100%;
}

.service-media {
  aspect-ratio: 4 / 3;
  border-radius: 9px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  font-size: 1.68rem;
  color: #4f2f39;
}

.service-card .btn {
  margin-top: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

.price-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
}

.includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.includes span {
  border: 1px solid #eedce2;
  border-radius: 999px;
  padding: 0.25rem 0.56rem;
  font-size: 0.78rem;
}

.foot-note {
  margin-top: 1rem;
  color: #645158;
}

.booking-layout {
  display: grid;
  gap: 1rem;
}

body[data-page="citas"] main.section {
  padding: 0;
  border-radius: 0;
  background:
    linear-gradient(325deg, var(--section-ivory), transparent 48%);
}

.booking-form,
.booking-panel {
  background: #fff;
  border: 1px solid #f1e4e8;
  border-radius: 12px;
  padding: 0.95rem;
}

.booking-form {
  display: grid;
  gap: 0.7rem;
}

.booking-form label {
  display: grid;
  gap: 0.32rem;
  color: #563f46;
  font-weight: 600;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  border: 1px solid #ebd9e0;
  border-radius: 10px;
  min-height: 46px;
  padding: 0.7rem 0.78rem;
  font: inherit;
  background: #fff;
}

.booking-form textarea {
  min-height: 95px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid #e6a9b8;
  outline-offset: 1px;
}

.booking-form .btn {
  width: 100%;
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.form-status.success {
  color: #1f7f4b;
}

.form-status.error {
  color: #be2525;
}

.summary-list {
  margin: 0.55rem 0 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.36rem 0.58rem;
}

.summary-list dt {
  font-weight: 700;
}

.summary-list dd {
  margin: 0;
}

.booking-help {
  display: grid;
  gap: 0.3rem;
}

.booking-help p {
  margin: 0;
  color: #5f4a51;
}

.booking-panel h2 {
  font-size: 1.42rem;
  margin-bottom: 0.25rem;
  color: #3f2530;
}

.booking-help h3 {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a5f6b;
}

.site-footer {
  margin-top: clamp(2.1rem, 5vw, 3rem);
  padding-top: 1.2rem;
  border-top: 1px solid #eddde3;
  background:
    radial-gradient(circle at 80% -20%, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(180deg, rgba(255, 251, 249, 0.55), rgba(247, 235, 239, 0.92) 49%, rgba(247, 238, 227, 0.94));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.2rem;
  align-items: start;
  padding: 0.15rem 0 1.05rem;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 0.48rem;
}

.footer-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: min(192px, 64vw);
}

.footer-tagline {
  color: #705b63;
  font-size: 0.88rem;
  line-height: 1.52;
  max-width: 29ch;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 0.2rem;
}

.footer-grid strong {
  color: #4b313b;
  display: block;
  margin-bottom: 0.05rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-grid p {
  margin-top: 0.1rem;
  color: #6c585f;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-nav {
  display: grid;
  gap: 0.25rem;
}

.footer-nav a {
  color: #61444e;
  font-size: 0.9rem;
  font-weight: 600;
  width: fit-content;
  border-bottom: 1px solid rgba(97, 68, 78, 0);
  transition: border-color 150ms ease, color 150ms ease;
}

.footer-nav a:hover {
  color: #4a303a;
  border-color: rgba(74, 48, 58, 0.45);
}

.footer-link {
  color: #563b45;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-block;
  margin-top: 0.1rem;
  text-decoration: underline;
  text-decoration-color: rgba(86, 59, 69, 0.32);
  text-underline-offset: 0.18em;
}

.footer-powered {
  margin: 0;
  padding: 0.95rem 0 calc(0.95rem + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.7rem;
  color: #8a727b;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border-top: 1px solid #e8d5dd;
}

.footer-powered a {
  color: #603f49;
  font-weight: 700;
  text-decoration: none;
}

.whatsapp-fab {
  position: fixed;
  right: 0.85rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 42;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 44px;
  padding: 0.56rem 0.92rem;
  border-radius: 999px;
  border: 1px solid #cde8da;
  background: #ffffffea;
  color: #1f7a4d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(31, 122, 77, 0.16);
  backdrop-filter: blur(8px);
}

.whatsapp-fab::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: #24a86b;
  box-shadow: 0 0 0 4px rgba(36, 168, 107, 0.16);
}

body:not([data-page="home"]) .whatsapp-fab {
  bottom: calc(5.2rem + env(safe-area-inset-bottom));
}

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.3rem;
  padding: 0.52rem 0.56rem calc(0.52rem + env(safe-area-inset-bottom));
  border-top: 1px solid #f0dde4;
  background: #fffdfde8;
  backdrop-filter: blur(11px);
}

.mobile-dock a {
  text-align: center;
  border-radius: 10px;
  padding: 0.52rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #69555c;
}

body[data-page="citas"] .mobile-dock {
  display: none;
}

.mobile-dock a.active {
  background: #f9ecef;
  color: #45252e;
}

.mobile-dock .mobile-cta {
  color: #fff;
  background: linear-gradient(135deg, #de92a4, #c35e78);
}

.reveal {
  animation: revealUp 580ms ease both;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  body[data-page="citas"] .mobile-dock {
    display: grid;
  }

  .hero-home {
    grid-template-columns: 0.94fr 1.06fr;
    gap: 1.4rem;
    padding: 1rem 1rem 1.15rem;
    align-items: center;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    gap: 0.7rem;
  }

  .hero-arch img {
    min-height: 260px;
  }

  .hero-arch--small {
    transform: translateY(-24px);
  }

  .about-home {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1.3rem;
  }

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

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

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

  .booking-layout {
    grid-template-columns: 1.05fr 0.95fr;
  }

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

@media (max-width: 759px) {
  body[data-page="home"] {
    padding-bottom: 0;
  }

  body[data-page="home"] .mobile-dock {
    display: none;
  }

  body[data-page="home"] .hero-home {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-copy {
    order: 2;
    gap: 0.52rem;
  }

  body[data-page="home"] .hero-copy h1 {
    font-size: clamp(1.7rem, 7.2vw, 2.35rem);
    line-height: 1.08;
    max-inline-size: 13.8ch;
  }

  body[data-page="home"] .hero-visual {
    order: 1;
  }

  body[data-page="home"] .best-grid article:nth-child(n + 3) {
    display: none;
  }

  body[data-page="home"] .quote-gallery img:nth-child(n + 2) {
    display: none;
  }

  .whatsapp-fab {
    right: 0.7rem;
    padding-inline: 0.84rem;
    font-size: 0.78rem;
  }

  body[data-page="citas"] .whatsapp-fab {
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}

@media (min-width: 980px) {
  body {
    padding-bottom: 0;
  }

  .mobile-dock {
    display: none;
  }

  .menu-toggle {
    display: none;
  }

  .nav-wrap {
    grid-template-columns: auto 1fr auto;
  }

  .site-header .btn--small {
    display: inline-flex;
  }

  .main-nav {
    grid-column: auto;
    display: flex;
    gap: 0.2rem;
    width: auto;
    padding: 0;
    border: none;
    background: transparent;
  }

  .main-nav a {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: none;
  }

  .main-nav a + a {
    border-top: none;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: #f9ecef;
  }

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

  .footer-grid {
    grid-template-columns: 1.22fr repeat(3, minmax(0, 1fr));
    gap: 1.15rem 1.55rem;
    padding-bottom: 1.15rem;
  }

  .footer-logo {
    height: 44px;
  }

  .whatsapp-fab,
  body:not([data-page="home"]) .whatsapp-fab {
    right: 1.2rem;
    bottom: 1.25rem;
  }
}
