/* =========================================
   NUNI UÑAS · landing editorial
   Paleta papel / tinta · Fraunces + Manrope
   ========================================= */

:root {
  --paper: #fbfaf7;
  --paper-2: #f1eee8;
  --ink: #171513;
  --ink-soft: #514b45;
  --muted: #6f685f;
  --line: #ddd7cd;
  --line-strong: #b9b1a6;
  --accent: #b95842;
  --accent-strong: #9f4634;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.7rem;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(var(--wrap), calc(100% - 48px));
  min-height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  flex: none;
}

.logo-main {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.logo-location {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.3s var(--ease);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-link {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.2s, color 0.2s;
}

.icon-link:hover {
  opacity: 1;
  color: var(--accent);
}

.icon-link svg {
  width: 15px;
  height: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-outline {
  background: transparent;
}

.btn-sm {
  padding: 11px 15px;
}

.btn-hero {
  margin-top: 34px;
  background: rgba(251, 250, 247, 0.76);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.btn-light {
  background: rgba(251, 250, 247, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: transparent;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 17px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

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

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

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 10px 24px 26px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mobile-nav .btn {
  margin-top: 18px;
}

/* ---------- hero ---------- */

.hero {
  padding: 0;
}

.hero-frame {
  position: relative;
  width: min(var(--wrap), calc(100% - 48px));
  min-height: clamp(560px, 78vh, 760px);
  margin-inline: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #dedbd6;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 250, 247, 0.2), rgba(251, 250, 247, 0.28)),
    url("imagenes/optimized/hero-manicura.jpg");
  background-image:
    linear-gradient(rgba(251, 250, 247, 0.2), rgba(251, 250, 247, 0.28)),
    image-set(
      url("imagenes/optimized/hero-manicura.avif") type("image/avif"),
      url("imagenes/optimized/hero-manicura.webp") type("image/webp"),
      url("imagenes/optimized/hero-manicura.jpg") type("image/jpeg")
    );
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.01);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(251, 250, 247, 0.48), transparent 62%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  padding: 48px 24px;
  text-align: center;
}

.hero-eyebrow {
  color: rgba(23, 21, 19, 0.7);
}

.hero h1 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8.6vw, 7.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

/* ---------- tipografía compartida ---------- */

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.23em;
  line-height: 1.4;
  text-transform: uppercase;
}

h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

/* ---------- ritual ---------- */

.ritual-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
}

.ritual-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}

.ritual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.ritual-media:hover img {
  transform: scale(1.035);
}

.ritual-copy {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.ritual-copy > p {
  max-width: 44ch;
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-size: 0.91rem;
  line-height: 1.75;
}

.feature-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 26px 0 30px;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.feature-line span + span::before {
  content: "|";
  margin-right: 18px;
  color: var(--line-strong);
}

/* ---------- servicios ---------- */

.services {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.section-head-copy {
  max-width: 34ch;
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.65;
  text-align: right;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.service-card {
  min-height: 372px;
  padding: 28px 28px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.service-card:last-child {
  border-right: 0;
}

.service-num {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.service-card h3 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.service-price {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.service-price-consult {
  font-size: 1.55rem;
}

.service-desc {
  margin: 18px 0 30px;
  color: var(--ink-soft);
  font-size: 0.81rem;
  line-height: 1.68;
}

.text-link {
  width: 100%;
  margin-top: auto;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
  transition: color 0.25s;
}

.text-link span {
  transition: transform 0.25s var(--ease);
}

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

.text-link:hover span {
  transform: translateX(4px);
}

.price-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.6;
  text-align: right;
}

.price-note strong {
  color: var(--ink-soft);
}

/* ---------- date un gusto ---------- */

.treat {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 24px;
  background: var(--paper-2);
  text-align: center;
}

.treat::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 243, 237, 0.86), rgba(229, 225, 218, 0.9)),
    url("imagenes/optimized/manicura-celeste.jpg");
  background-image:
    linear-gradient(rgba(246, 243, 237, 0.86), rgba(229, 225, 218, 0.9)),
    image-set(
      url("imagenes/optimized/manicura-celeste.avif") type("image/avif"),
      url("imagenes/optimized/manicura-celeste.webp") type("image/webp"),
      url("imagenes/optimized/manicura-celeste.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.treat-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
}

.treat h2 {
  margin-top: 14px;
  color: var(--ink);
}

.treat .btn {
  margin-top: 28px;
  background: rgba(251, 250, 247, 0.72);
}

/* ---------- galería ---------- */

.gallery {
  text-align: center;
}

.gallery-head {
  max-width: 620px;
  margin-inline: auto;
}

.gallery-head p:last-child {
  margin: 16px auto 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 42px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(251, 250, 247, 0.24);
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

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

/* ---------- compromisos ---------- */

.promises {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 122px) 0;
  background: #d8d3ca;
  text-align: center;
}

.promises::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.38), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.22), transparent 40%);
  pointer-events: none;
}

.promises .wrap {
  position: relative;
  z-index: 1;
}

.promises .eyebrow {
  color: rgba(23, 21, 19, 0.55);
}

.promises h2 {
  color: var(--ink);
}

.promises-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
  text-align: left;
}

.promise-card {
  min-height: 220px;
  padding: 32px 28px;
  background: #efede7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.promise-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.promise-card cite {
  color: var(--muted);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.promise-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.promise-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(23, 21, 19, 0.25);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: background 0.25s, border-color 0.25s;
}

.promise-btn:hover {
  background: var(--paper);
  border-color: var(--paper);
}

/* ---------- footer ---------- */

footer {
  padding: clamp(56px, 7vw, 84px) 0 24px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 5vw, 70px);
}

.footer-brand p {
  max-width: 30ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.footer-social a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.footer-social svg {
  width: 14px;
  height: 14px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.77rem;
}

.footer-col h3 {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-col a,
.footer-link {
  color: var(--ink-soft);
  font-size: 0.77rem;
  transition: color 0.2s;
}

.footer-link {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.footer-col a:hover,
.footer-link:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--accent-strong);
}

/* ---------- páginas legales ---------- */

.legal-page .site-header {
  position: static;
}

.legal-page .header-inner {
  min-height: 72px;
}

.legal-back {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s;
}

.legal-back:hover {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
}

.legal-main {
  padding: clamp(54px, 9vw, 108px) 0 clamp(64px, 8vw, 96px);
}

.legal-hero {
  max-width: 820px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-title {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.legal-updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.legal-content {
  max-width: 780px;
  padding-top: 42px;
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.75;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 20px;
  padding-left: 1.2rem;
}

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

.legal-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--accent-strong);
}

.legal-content strong {
  color: var(--ink);
  font-weight: 700;
}

.legal-note {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  padding-bottom: 40px;
}

.legal-footer .footer-bottom {
  margin-top: 0;
}

.form-micro a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.form-micro a:hover {
  color: var(--accent-strong);
}

/* ---------- modal reserva ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 17, 15, 0.64);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100dvh - 40px);
  padding: clamp(28px, 4.5vw, 52px);
  overflow: auto;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  animation: modalIn 0.35s var(--ease);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.modal h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

.modal-lead {
  max-width: 52ch;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.81rem;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

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

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a69f96;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.field textarea {
  min-height: 76px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.urgency,
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.68rem;
  line-height: 1.5;
}

.urgency {
  color: var(--ink-soft);
}

.check {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(241, 238, 232, 0.56);
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.55;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.check:hover {
  border-color: var(--line-strong);
  background: rgba(241, 238, 232, 0.9);
}

.urgency input {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--ink);
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  flex: none;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.check input:checked {
  border-color: var(--ink);
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4.2 3.6 6.8 9 1.2' fill='none' stroke='%23FBFaf7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}

.check input:checked::after {
  content: none;
}

.check input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.form-grid .btn {
  width: 100%;
  margin-top: 4px;
}

.form-micro {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.6rem;
  text-align: center;
}

.form-success {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-success[hidden] {
  display: none;
}

.form-success .wa-inline {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  padding: 9px 11px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.form-success .wa-inline:hover {
  background: var(--ink);
  color: var(--paper);
}

.form-success .wa-inline svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* ---------- WhatsApp flotante ---------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  height: 48px;
  padding: 0 16px 0 13px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 12px 28px rgba(23, 21, 19, 0.18);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.wa-float svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.wa-float:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-2px);
}

.wa-float:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--ink);
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  padding: 30px;
  background: rgba(16, 14, 12, 0.93);
  display: grid;
  place-items: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(920px, 100%);
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
}

.lightbox-close:hover {
  background: #fff;
  color: var(--ink);
}

/* ---------- reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 18px;
  }

  .icon-links {
    display: none;
  }

  .ritual-grid {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-book {
    display: none;
  }

  .header-inner {
    min-height: 74px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line-strong);
  }

  .service-card {
    min-height: 0;
    padding: 26px 0 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-desc {
    max-width: 62ch;
  }

  .price-note {
    text-align: left;
  }
}

@media (max-width: 820px) {
  .ritual-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .ritual-copy {
    max-width: 620px;
  }

  .ritual-media {
    aspect-ratio: 16 / 10;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
  }

  .section-head-copy {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

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

  .footer-brand p {
    max-width: 46ch;
  }

  .promises-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-inline: -24px;
    padding-inline: 24px;
    scrollbar-width: none;
  }

  .promises-track::-webkit-scrollbar {
    display: none;
  }

  .promise-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
}

@media (max-width: 700px) {
  .wrap,
  .header-inner,
  .hero-frame {
    width: calc(100% - 32px);
  }

  .hero-frame {
    min-height: 72vh;
  }

  .hero-content {
    padding: 40px 18px;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }

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

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

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

  .modal {
    padding: 0;
  }

  .modal-panel {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    padding: 28px 20px 40px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  footer {
    padding-bottom: 92px;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    min-height: 68px;
  }

  .logo-main {
    font-size: 1.35rem;
  }

  .logo-location {
    font-size: 0.45rem;
  }

  .hero-frame {
    width: 100%;
    min-height: 76vh;
  }

  .hero-frame::before {
    background-position: center 38%;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 13.5vw, 4.2rem);
  }

  .section {
    padding: 66px 0;
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .ritual-copy > p {
    font-size: 0.86rem;
  }

  .feature-line {
    gap: 6px 12px;
    font-size: 0.53rem;
  }

  .feature-line span + span::before {
    margin-right: 12px;
  }

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

  .gallery-head p:last-child {
    font-size: 0.8rem;
  }

  .promise-card {
    flex-basis: 88%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    margin-top: 38px;
  }

  .wa-float {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .wa-float span {
    display: none;
  }

  .wa-float svg {
    width: 18px;
    height: 18px;
  }

  .treat {
    padding-left: 18px;
    padding-right: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
