/* ============================================================
   MAI PÉREZ NAILS · Hoja de estilos principal
   Estética: nude / beige / blanco roto + dorado suave.
   Mobile-first. Sin frameworks.
   ============================================================ */

/* ------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------ */
:root {
  --cream: #fbf7f2;
  --cream-2: #f6eee6;
  --sand: #f0e2d6;
  --sand-deep: #e6d2c2;
  --nude: #e8cfc3;
  --rose: #c08a7c;
  --rose-deep: #a96d5f;
  --rose-soft: #ecd4cc;
  --gold: #b08a5a;
  --gold-light: #d9c4a6;
  --ink: #2e2622;
  --ink-2: #3b312b;
  --ink-soft: #4c4039;
  --muted: #7d6e65;
  --white: #fffdfb;
  --line: rgba(46, 38, 34, 0.12);
  --line-soft: rgba(46, 38, 34, 0.075);
  --green: #25d366;
  --sage: #5f7355;
  --sage-bg: #eff3e9;
  --danger: #a9473a;

  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 18px rgba(74, 52, 40, 0.06);
  --shadow-md: 0 24px 60px -28px rgba(74, 52, 40, 0.35);
  --shadow-lg: 0 40px 90px -40px rgba(46, 38, 34, 0.45);

  --container: 1180px;
  --header-h: 74px;
}

/* ------------------------------------------------------------
   2. Base
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll,
body.menu-open {
  overflow: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--rose-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -0.12em;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: 13px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ------------------------------------------------------------
   3. Tipografía y utilidades
   ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6.4vw, 3.65rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.section-title em {
  color: var(--rose-deep);
  font-weight: 400;
  font-style: italic;
}

.section-title--xl {
  font-size: clamp(2.7rem, 8vw, 5rem);
}

.section-text {
  max-width: 58ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2.1rem, 5vw, 3.4rem);
}

.section-head .section-title {
  margin-top: 0.85rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .section-text {
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4.2rem, 9vw, 7.5rem);
  scroll-margin-top: var(--header-h);
}

.section--cream {
  background: var(--cream);
}

.section--sand {
  background: linear-gradient(180deg, #f4e9df 0%, #f8f1e9 100%);
}

.section-loading {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.25s ease, background-color 0.25s ease,
    color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

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

.btn:hover .icon {
  transform: translateX(2px);
}

.btn--dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 0 10px 26px -14px rgba(46, 38, 34, 0.7);
}

.btn--dark:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  box-shadow: 0 16px 30px -16px rgba(169, 109, 95, 0.65);
}

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

.btn--ghost:hover {
  border-color: var(--rose);
  color: var(--rose-deep);
  background: rgba(255, 253, 251, 0.55);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(176, 138, 90, 0.55);
}

.btn--outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn--small {
  min-height: 42px;
  padding: 0.65rem 1.15rem;
  font-size: 0.76rem;
}

.btn--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--rose-deep);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(169, 109, 95, 0.35);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.text-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* Animación al scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease var(--d, 0ms),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0ms);
  will-change: opacity, transform;
}

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

/* ------------------------------------------------------------
   4. Header
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 700;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 247, 242, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px -24px rgba(46, 38, 34, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(176, 138, 90, 0.6);
  border-radius: 50%;
  background: rgba(255, 253, 251, 0.5);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1;
  padding-top: 2px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.brand:hover .brand__mark {
  background: var(--ink);
  color: var(--gold-light);
  border-color: var(--ink);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand__sub {
  margin-top: 4px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.nav {
  display: none;
}

.menu-toggle {
  position: relative;
  z-index: 720;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 251, 0.7);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

@media (max-width: 899.98px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    z-index: 710;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    padding: 0.4rem 1.25rem 1.5rem;
    overflow-y: auto;
    border-bottom: 1px solid var(--line-soft);
    background: var(--cream);
    box-shadow: 0 35px 55px -35px rgba(46, 38, 34, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav > a:not(.nav__cta) {
    padding: 0.9rem 0.15rem;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink-soft);
    font-size: 13.5px;
    letter-spacing: 0.05em;
  }

  .nav > a:not(.nav__cta):hover {
    color: var(--rose-deep);
  }

  .nav__cta {
    width: 100%;
    margin-top: 1rem;
  }

  .site-header:has(.nav.is-open) {
    background: rgba(251, 247, 242, 0.96);
    border-bottom-color: var(--line-soft);
  }
}

/* ------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 34px);
  background: radial-gradient(
      circle at 86% 12%,
      rgba(232, 207, 195, 0.6),
      transparent 43%
    ),
    linear-gradient(180deg, #fbf7f2 0%, #f8f1ea 100%);
}

.hero__halo {
  position: absolute;
  top: -140px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 138, 124, 0.22), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.6rem;
  padding-bottom: 2.8rem;
}

.hero__copy {
  max-width: 620px;
}

.hero__title {
  margin-top: 1.15rem;
  font-family: var(--font-serif);
  font-size: clamp(3.15rem, 13.5vw, 5.9rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero__title span {
  display: block;
}

.hero__title em {
  display: block;
  margin-left: clamp(1.4rem, 10vw, 4.6rem);
  color: var(--rose-deep);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

.hero__tagline {
  margin-top: 1.4rem;
  max-width: 20ch;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 4.6vw, 2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-2);
}

.hero__text {
  max-width: 34ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.hero__actions .btn {
  flex: 1 1 auto;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.hero__note .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.hero__media {
  position: relative;
  width: min(100%, 430px);
  margin-inline: auto;
  padding: 10px 10px 0;
}

.hero__arch {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 240px 240px 24px 24px;
  background: var(--sand);
  box-shadow: var(--shadow-md);
}

.hero__arch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 251, 0.35);
  pointer-events: none;
}

.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.015);
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero__media:hover .hero__arch img {
  transform: scale(1.05);
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0 0 22px;
  border: 1px solid rgba(176, 138, 90, 0.45);
  border-radius: 250px 250px 28px 28px;
  transform: translate(10px, -10px);
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  bottom: 14px;
  left: -2px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 210px;
  padding: 13px 16px;
  border: 1px solid rgba(176, 138, 90, 0.32);
  border-radius: 16px;
  background: rgba(255, 253, 251, 0.93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -22px rgba(46, 38, 34, 0.45);
}

.hero__badge-dot {
  position: relative;
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--sage);
  flex: 0 0 auto;
}

.hero__badge-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(95, 115, 85, 0.5);
  border-radius: 50%;
  animation: softPulse 2.6s ease-out infinite;
}

.hero__badge-label {
  display: block;
  color: var(--gold);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__badge strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.hero__badge small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
}

.hero__spark {
  position: absolute;
  top: 6%;
  right: -2%;
  width: 34px;
  height: 34px;
  color: var(--gold);
  opacity: 0.65;
  animation: floatSpark 6s ease-in-out infinite;
}

@keyframes softPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes floatSpark {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(12deg);
  }
}

/* Marquesina */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 13px 0;
  background: rgba(255, 253, 251, 0.32);
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 45px;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--cream), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--cream), transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
}

.marquee__word {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.marquee__star {
  color: var(--gold);
  font-size: 8px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------
   6. Servicios
   ------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.55rem;
  border: 1px solid rgba(176, 138, 90, 0.2);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -55px;
  right: -55px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 207, 195, 0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(176, 138, 90, 0.5);
  box-shadow: 0 28px 55px -32px rgba(74, 52, 40, 0.45);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-card__num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold);
}

.service-card__time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.service-card__time .icon {
  width: 12px;
  height: 12px;
  color: var(--gold);
}

.service-card h3 {
  margin: 1.15rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink);
}

.service-card p {
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.62;
}

.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.3rem;
}

.service-card__price {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--ink);
}

.service-card__pick {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(169, 109, 95, 0.4);
  background: none;
  color: var(--rose-deep);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.service-card__pick .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.service-card__pick:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.service-card__pick:hover .icon {
  transform: translateX(3px);
}

.services-foot {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
}

.services-note {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.6;
}

.services-note::before {
  content: "* ";
  color: var(--gold);
}

.empty-card {
  grid-column: 1 / -1;
  padding: 2.5rem 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

.empty-card .text-link {
  margin-top: 0.8rem;
}

/* ------------------------------------------------------------
   7. Galería + lightbox
   ------------------------------------------------------------ */
.gallery {
  columns: 2;
  column-gap: 0.75rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: var(--sand);
  break-inside: avoid;
  cursor: zoom-in;
}

.gallery-item--portrait {
  aspect-ratio: 4 / 5;
}

.gallery-item--square {
  aspect-ratio: 1 / 1;
}

.gallery-item--tall {
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item.is-missing {
  background: linear-gradient(135deg, var(--sand), var(--rose-soft));
}

.gallery-item.is-missing img {
  display: none;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(
    180deg,
    rgba(46, 38, 34, 0.02),
    rgba(46, 38, 34, 0.42)
  );
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay,
.gallery-item:focus-visible .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__plus {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 253, 251, 0.7);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.gallery-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  text-align: center;
}

.gallery-note {
  color: var(--muted);
  font-size: 0.71rem;
  letter-spacing: 0.02em;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(30, 24, 21, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox__figure {
  width: min(92vw, 900px);
  max-width: 900px;
  text-align: center;
}

.lightbox__figure img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  margin-inline: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox__figure figcaption {
  margin-top: 0.9rem;
  color: rgba(251, 247, 242, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(251, 247, 242, 0.35);
  border-radius: 50%;
  background: rgba(30, 24, 21, 0.58);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(251, 247, 242, 0.2);
}

.lightbox__close {
  top: 14px;
  right: 14px;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 12px;
}

.lightbox__nav--next {
  right: 12px;
}

.lightbox__nav .icon {
  width: 21px;
  height: 21px;
}

/* ------------------------------------------------------------
   8. Sobre mí
   ------------------------------------------------------------ */
.about__grid {
  display: grid;
  gap: 3.4rem;
  align-items: center;
}

.about__media {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  padding: 0 0 18px 10px;
}

.about__frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 210px 210px 20px 20px;
  background: var(--sand);
  box-shadow: var(--shadow-md);
}

.about__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: -10px 12px 28px -4px;
  border: 1px solid rgba(176, 138, 90, 0.45);
  border-radius: 220px 220px 24px 24px;
  pointer-events: none;
}

.about__stamp {
  position: absolute;
  top: 8%;
  right: -6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(176, 138, 90, 0.55);
  border-radius: 50%;
  background: rgba(251, 247, 242, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
  transform: rotate(7deg);
}

.about__stamp strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
}

.about__stat {
  position: absolute;
  bottom: -6px;
  left: -8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid rgba(176, 138, 90, 0.32);
  border-radius: 15px;
  background: rgba(255, 253, 251, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -24px rgba(46, 38, 34, 0.5);
}

.about__stat strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--rose-deep);
}

.about__stat span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.about__copy .section-title {
  margin-top: 0.85rem;
  margin-bottom: 1.4rem;
}

.about__copy p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.78;
}

.about__copy #aboutParagraphs p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--font-serif);
  font-size: 3.1em;
  font-weight: 500;
  line-height: 0.78;
  color: var(--rose-deep);
}

.about__bullets {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
}

.about__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.about__bullets .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold);
}

.about__signature {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1;
  color: var(--rose-deep);
}

/* ------------------------------------------------------------
   9. Reserva
   ------------------------------------------------------------ */
.booking {
  overflow: hidden;
  background: radial-gradient(
      circle at 12% 8%,
      rgba(232, 207, 195, 0.55),
      transparent 38%
    ),
    linear-gradient(165deg, #f8f1ea 0%, #f2e4da 55%, #f9f3ec 100%);
}

.booking__halo {
  position: absolute;
  top: 8%;
  right: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 138, 90, 0.16), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.booking__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.3rem;
  align-items: start;
}

.booking-card {
  padding: clamp(1.25rem, 4.5vw, 2.4rem);
  border: 1px solid rgba(176, 138, 90, 0.18);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.step-block {
  min-width: 0;
  margin: 0 0 1.85rem;
  padding: 0 0 1.85rem;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
}

.step-block:last-of-type {
  margin-bottom: 1.35rem;
  padding-bottom: 0.45rem;
  border-bottom: 0;
}

.step-block legend {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips--services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.chip {
  position: relative;
  padding: 0.62rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.3;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, transform 0.2s ease;
}

.chip:hover {
  border-color: var(--rose);
  transform: translateY(-1px);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  box-shadow: 0 8px 18px -12px rgba(46, 38, 34, 0.8);
}

.chip--service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0.7rem 0.9rem;
  border-radius: 13px;
  text-align: left;
}

.chip__name {
  font-size: 0.83rem;
  font-weight: 500;
}

.chip__meta {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.chip--service.is-active .chip__meta {
  color: rgba(251, 247, 242, 0.62);
}

.chips--days {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 0.42rem;
}

.day-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-height: 84px;
  padding: 0.55rem 0.3rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cream);
  line-height: 1.1;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, transform 0.2s ease;
}

.day-chip:hover:not(:disabled) {
  border-color: var(--rose);
  transform: translateY(-2px);
}

.day-chip__wd {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.day-chip__num {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.day-chip__mo {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.day-chip__status {
  margin-top: 3px;
  color: var(--sage);
  font-size: 7.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.day-chip.is-active {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  box-shadow: 0 10px 22px -14px rgba(169, 109, 95, 0.9);
}

.day-chip.is-active .day-chip__wd,
.day-chip.is-active .day-chip__mo,
.day-chip.is-active .day-chip__status {
  color: rgba(251, 247, 242, 0.72);
}

.day-chip.is-active .day-chip__num {
  color: var(--white);
}

.day-chip.is-full {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--sand);
}

.day-chip.is-full .day-chip__status {
  color: var(--danger);
}

.chips--times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 0.42rem;
}

.chip--time {
  padding: 0.62rem 0.5rem;
  border-radius: 11px;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.chips-placeholder,
.chips-empty {
  grid-column: 1 / -1;
  width: 100%;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.chips-empty {
  margin-top: 0.55rem;
  color: var(--rose-deep);
}

.field-error {
  margin-top: 0.45rem;
  color: var(--danger);
  font-size: 0.72rem;
  line-height: 1.4;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field > span {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field input::placeholder {
  color: #a99a91;
  font-size: 0.85rem;
}

.field input:focus {
  outline: none;
  border-color: var(--rose);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(192, 138, 124, 0.13);
}

.field input.is-invalid {
  border-color: var(--danger);
  background: #fdf5f2;
}

.booking__submit {
  margin-top: 0.2rem;
  min-height: 54px;
  font-size: 0.9rem;
}

.booking__submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.booking__privacy {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
  text-align: center;
}

.booking-success {
  padding: 1.9rem 0.4rem;
  text-align: center;
}

.booking-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border: 1px solid rgba(176, 138, 90, 0.4);
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold);
}

.booking-success__icon .icon {
  width: 28px;
  height: 28px;
}

.booking-success h3 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}

.booking-success p {
  max-width: 38ch;
  margin: 0.7rem auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.booking-success__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.booking-success__note {
  font-size: 0.7rem !important;
  color: var(--muted);
  opacity: 0.85;
}

.summary {
  position: relative;
  overflow: hidden;
  padding: 1.7rem;
  border: 1px solid rgba(176, 138, 90, 0.32);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #352b25 0%, #2a221e 100%);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}

.summary::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 138, 124, 0.32), transparent 68%);
  pointer-events: none;
}

.summary__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary__label {
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.summary__spark {
  color: var(--gold);
  font-size: 14px;
}

.summary__service {
  position: relative;
  margin: 1.3rem 0 1.4rem;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--cream);
}

.summary__list {
  position: relative;
  border-top: 1px solid rgba(251, 247, 242, 0.14);
}

.summary__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid rgba(251, 247, 242, 0.11);
}

.summary__list dt {
  color: rgba(251, 247, 242, 0.48);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary__list dd {
  margin: 0;
  color: var(--cream);
  font-size: 0.82rem;
  text-align: right;
}

.summary__total {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.3rem;
}

.summary__total span {
  color: rgba(251, 247, 242, 0.48);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary__total strong {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-light);
}

.summary__demo {
  margin-left: 5px;
  color: rgba(251, 247, 242, 0.42);
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary__hint {
  position: relative;
  margin-top: 1.1rem;
  color: rgba(251, 247, 242, 0.56);
  font-size: 0.73rem;
  line-height: 1.6;
}

.summary__note {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(251, 247, 242, 0.11);
  color: rgba(251, 247, 242, 0.4);
  font-size: 0.65rem;
  line-height: 1.55;
}

.summary__note .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: var(--gold);
}

/* ------------------------------------------------------------
   10. Agenda
   ------------------------------------------------------------ */
.legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  margin-top: 1.2rem;
}

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot--free {
  background: var(--sage);
}

.dot--busy {
  background: var(--rose);
}

.dot--live {
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(95, 115, 85, 0.18);
}

.agenda-wrap {
  overflow: hidden;
  border: 1px solid rgba(176, 138, 90, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.agenda-table {
  width: 100%;
  border-collapse: collapse;
}

.agenda-table thead {
  background: var(--cream-2);
}

.agenda-table thead th {
  padding: 0.85rem 1.1rem;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
}

.agenda-table th[scope="row"] {
  width: 74px;
  padding: 0.85rem 0.55rem 0.85rem 1.1rem;
  border-top: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.agenda-table td {
  padding: 0.85rem 1rem 0.85rem 0.2rem;
  border-top: 1px solid var(--line-soft);
  vertical-align: top;
}

.agenda-day__wd {
  display: block;
  color: var(--gold);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agenda-day__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

.agenda-day__mo {
  display: block;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agenda-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.slot-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.slot-pill b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.slot-pill em {
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

.slot-pill--free {
  border-color: #dbe3d1;
  background: var(--sage-bg);
  color: #526247;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.slot-pill--free:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.slot-pill--busy {
  border-color: #edd9d2;
  background: #f8eeea;
  color: #a9786d;
  opacity: 0.68;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.agenda-empty {
  padding: 2.2rem 1.2rem !important;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.agenda-note {
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line-soft);
  background: var(--cream);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* ------------------------------------------------------------
   11. Ubicación
   ------------------------------------------------------------ */
.location__grid {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

.location__address {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 1.4rem;
}

.location__address .icon {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: var(--gold);
}

.location__address strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
}

.location__address small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.hours {
  margin: 1.8rem 0;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(176, 138, 90, 0.2);
  border-radius: 16px;
  background: rgba(255, 253, 251, 0.55);
}

.hours__title {
  margin-bottom: 0.7rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.hours__list {
  display: grid;
}

.hours__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 0;
  border-bottom: 1px dashed rgba(46, 38, 34, 0.11);
  font-size: 0.78rem;
}

.hours__row:last-child {
  border-bottom: 0;
}

.hours__row > span:first-child {
  color: var(--ink-soft);
}

.hours__value {
  color: var(--muted);
  font-size: 0.73rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hours__row--closed .hours__value {
  color: var(--rose);
}

.location__map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(176, 138, 90, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--sand);
}

.location__map iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 58vw, 470px);
  border: 0;
  filter: grayscale(0.38) sepia(0.16) saturate(0.72) contrast(0.98);
}

.location__map-tag {
  position: absolute;
  bottom: 13px;
  left: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 253, 251, 0.6);
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   12. Contacto
   ------------------------------------------------------------ */
.contact {
  overflow: hidden;
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background: linear-gradient(155deg, #352b25 0%, #241d19 100%);
  color: var(--cream);
}

.contact__halo {
  position: absolute;
  top: -160px;
  left: 50%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 138, 124, 0.28), transparent 67%);
  transform: translateX(-50%);
  filter: blur(10px);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}

.contact .eyebrow {
  color: var(--gold-light);
}

.contact .section-title {
  margin-top: 1rem;
  color: var(--cream);
}

.contact .section-title em {
  color: var(--rose-soft);
}

.contact .section-text {
  margin-inline: auto;
  color: rgba(251, 247, 242, 0.6);
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 2rem;
}

.contact__actions .btn {
  flex: 1;
}

.contact .btn--dark {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.contact .btn--dark:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.contact .btn--outline {
  border-color: rgba(251, 247, 242, 0.3);
  color: var(--cream);
}

.contact .btn--outline:hover {
  background: rgba(251, 247, 242, 0.1);
  border-color: rgba(251, 247, 242, 0.5);
  color: var(--cream);
}

.contact__handle {
  margin-top: 1.5rem;
  color: var(--gold-light);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

/* ------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------ */
.site-footer {
  padding: 3rem 0 1.3rem;
  background: #1f1a17;
  color: var(--cream);
}

.footer__grid {
  display: grid;
  gap: 1.8rem;
}

.brand--footer .brand__mark {
  border-color: rgba(217, 196, 166, 0.45);
  background: transparent;
  color: var(--gold-light);
}

.brand--footer .brand__name {
  color: var(--cream);
}

.brand--footer .brand__sub {
  color: rgba(217, 196, 166, 0.7);
}

.footer__brand p {
  margin-top: 0.85rem;
  color: rgba(251, 247, 242, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  align-content: flex-start;
}

.footer__nav a {
  color: rgba(251, 247, 242, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--gold-light);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(251, 247, 242, 0.65);
  font-size: 0.75rem;
  transition: color 0.2s ease;
}

.footer__contact a:hover {
  color: var(--gold-light);
}

.footer__contact .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(251, 247, 242, 0.1);
  color: rgba(251, 247, 242, 0.56);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
}

/* ------------------------------------------------------------
   14. Flotantes y avisos
   ------------------------------------------------------------ */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 800;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(37, 211, 102, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float:hover {
  transform: scale(1.07);
  box-shadow: 0 18px 40px -12px rgba(37, 211, 102, 0.8);
}

.wa-float .icon {
  width: 28px;
  height: 28px;
}

.wa-float__ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(37, 211, 102, 0.55);
  border-radius: 50%;
  animation: waPulse 2.8s ease-out infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  75% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.wa-float__tooltip {
  position: absolute;
  right: 66px;
  top: 50%;
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(6px, -50%);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-float:hover .wa-float__tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

.draft-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(176, 138, 90, 0.4);
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.55);
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.draft-flag:hover {
  border-color: var(--gold);
  background: var(--white);
  color: var(--ink);
}

.draft-flag__short {
  display: none;
}

.draft-flag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 138, 90, 0.16);
  flex: 0 0 auto;
}

@media (max-width: 430px) {
  .draft-flag__full {
    display: none;
  }

  .draft-flag__short {
    display: inline;
  }

  .draft-flag {
    padding: 4px 7px;
    font-size: 7.5px;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 1200;
  max-width: min(92vw, 420px);
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.76rem;
  line-height: 1.4;
  text-align: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast--success {
  background: #3d5340;
}

.toast--error {
  background: #8e3f35;
}

/* ------------------------------------------------------------
   15. Diálogo de pendientes
   ------------------------------------------------------------ */
.pending-dialog {
  position: relative;
  width: min(100% - 2rem, 570px);
  max-height: 88vh;
  padding: clamp(1.4rem, 5vw, 2.2rem);
  overflow-y: auto;
  border: 1px solid rgba(176, 138, 90, 0.3);
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink-soft);
  box-shadow: var(--shadow-lg);
}

.pending-dialog::backdrop {
  background: rgba(30, 24, 21, 0.55);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.pending-dialog h2 {
  margin-top: 0.7rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
}

.pending-dialog__intro {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.pending-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}

.pending-dialog__close .icon {
  width: 17px;
  height: 17px;
}

.pending-list {
  display: grid;
  gap: 0;
  margin-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
}

.pending-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.pending-list strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.pending-list span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.pending-dialog__foot {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.pending-dialog__foot strong {
  color: var(--ink);
}

/* ------------------------------------------------------------
   16. Noscript
   ------------------------------------------------------------ */
.noscript {
  padding: 1.2rem;
  background: var(--sand);
  color: var(--ink);
  text-align: center;
  font-size: 0.85rem;
}

.noscript a {
  color: var(--rose-deep);
  text-decoration: underline;
}

/* ------------------------------------------------------------
   17. Responsive
   ------------------------------------------------------------ */
@media (min-width: 480px) {
  .chips--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery {
    column-gap: 0.9rem;
  }

  .gallery-item {
    margin-bottom: 0.9rem;
    border-radius: 18px;
  }

  .footer__contact {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
  }
}

@media (min-width: 620px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .service-card {
    padding: 1.75rem;
  }

  .services-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .services-note {
    max-width: 42ch;
  }

  .gallery {
    columns: 3;
  }

  .contact__actions {
    flex-direction: row;
    justify-content: center;
  }

  .contact__actions .btn {
    flex: 0 1 auto;
    min-width: 210px;
  }

  .booking-success__actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 900px) {
  :root {
    --header-h: 82px;
  }

  .container {
    width: min(100% - 4rem, var(--container));
  }

  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.2vw, 1.9rem);
  }

  .nav > a:not(.nav__cta) {
    position: relative;
    padding: 0.4rem 0;
    color: var(--ink-soft);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s ease;
  }

  .nav > a:not(.nav__cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }

  .nav > a:not(.nav__cta):hover {
    color: var(--gold);
  }

  .nav > a:not(.nav__cta):hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 52px);
  }

  .hero__grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding-bottom: 3.8rem;
  }

  .hero__copy {
    padding-bottom: 1rem;
  }

  .hero__title {
    font-size: clamp(4.4rem, 6.6vw, 6rem);
  }

  .hero__title em {
    margin-left: clamp(2rem, 4.5vw, 4rem);
  }

  .hero__text {
    max-width: 38ch;
  }

  .hero__actions .btn {
    flex: 0 1 auto;
    min-width: 158px;
  }

  .hero__media {
    width: 100%;
    max-width: 440px;
    justify-self: end;
    margin-inline: 0;
  }

  .hero__badge {
    left: -26px;
    bottom: 26px;
  }

  .marquee {
    padding: 15px 0;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }

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

  .about__grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(3rem, 7vw, 6rem);
  }

  .about__media {
    margin-inline: 0;
  }

  .booking__layout {
    grid-template-columns: 1.42fr 0.88fr;
    gap: 1.6rem;
  }

  .summary {
    position: sticky;
    top: calc(var(--header-h) + 26px);
    padding: 2rem;
  }

  .location__grid {
    grid-template-columns: 1fr 1.06fr;
    gap: clamp(3rem, 6vw, 5rem);
  }

  .gallery {
    column-gap: 1rem;
  }

  .gallery-item {
    margin-bottom: 1rem;
  }

  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2.5rem;
  }

  .footer__nav {
    justify-content: center;
  }

  .footer__contact {
    flex-direction: column;
    gap: 0.55rem;
    justify-self: end;
  }

  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .wa-float {
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
  }

  .toast {
    bottom: 30px;
  }
}

@media (min-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr 0.92fr;
  }

  .service-card {
    padding: 1.9rem;
  }

  .agenda-table th[scope="row"] {
    width: 96px;
    padding-left: 1.5rem;
  }

  .agenda-table td {
    padding-right: 1.5rem;
  }

  .agenda-table thead th {
    padding-inline: 1.5rem;
  }

  .slot-pill {
    padding: 5px 10px;
    font-size: 10.5px;
  }
}

/* ------------------------------------------------------------
   18. Movimiento reducido
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
