/* style.css — única hoja del sitio. Orden: fundamentos y componentes compartidos; uñas y galería; reportes; guías; Sobre Leidy / Ubicación; navegación. Las variantes se delimitan por clases de componente; las media queries son adaptaciones intencionales. */

:root {
  --ink: #171410;
  --ink-soft: #4f4941;
  --paper: #fffdf9;
  --warm: #f3eee7;
  --gold: #b79553;
  --gold-light: #dcc99e;
  --line: #ded6ca;
  --white: #fff;
  --radius: 1.15rem;
  --shadow: 0 1rem 2.7rem #261d121c;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --header-height: 4.5rem;
  --content-width: 72rem;
  --reading-width: 43rem;
  --body-size: 1rem;
  --intro-size: 1.05rem;
  --body-leading: 1.65;
  --section-space: clamp(2.6rem, 5vw, 4.5rem);
  --connected-space: clamp(2rem, 3.75vw, 3rem);
  --column-gap: clamp(1.5rem, 5vw, 5rem);
  --nail-card-height: clamp(7.5rem, 39vw, 9.375rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  background: var(--paper);
  color: var(--ink);
  font: var(--body-size)/var(--body-leading) Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(100% - 2rem, var(--content-width));
  margin: auto;
}

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem;
  background: #fff;
}

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

.scroll-progress {
  position: fixed;
  z-index: 55;
  inset: 0 0 auto;
  height: 3px;
}

.scroll-progress span {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 3.15rem;
  padding: 0.8rem 1.05rem;
  background: #1d7b4b;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 0.65rem 1.35rem #1d7b4b55;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
}

.whatsapp-button::before {
  content: "";
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 1.125rem;
  background: center / contain no-repeat url("/assets/icons/whatsapp.svg");
}

.hero {
  background: radial-gradient(circle at 88% 15%, #b7955330, transparent 30rem),
    linear-gradient(145deg, #fffdf9, #f5efe6);
}

.hero-grid,
.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-grid {
  padding-block: 2.8rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #806731;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, serif;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: none;
  font-size: clamp(2.45rem, 11vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h2 {
  max-width: none;
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.4rem;
}

.hero-text,
.lead,
.prose,
.split-copy p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: var(--intro-size);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.button {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease,
    box-shadow 0.2s ease;
}

.button:active {
  transform: scale(0.97);
}

.button-outline {
  border-color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

/* Reservas AgendaPro (solo portada): CTA visible y dialogo adaptable a movil. */
.hero-booking {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}
.booking-cta {
  gap: 0.65rem;
  min-height: 3.35rem;
  box-shadow: 0 0.6rem 1.4rem #1714102b;
}
.booking-cta span { font-size: 1.25rem; line-height: 1; }
.booking-cta:focus-visible, .booking-dialog-close:focus-visible,
.booking-dialog-footer a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.booking-caption { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.booking-dialog {
  width: min(960px, calc(100vw - 2rem));
  height: min(800px, calc(100vh - 2rem));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.5rem 4rem #17141070;
  overflow: hidden;
}
@supports (height: 100dvh) {
  .booking-dialog { height: min(800px, calc(100dvh - 2rem)); }
}
.booking-dialog[open] { display: flex; flex-direction: column; }
.booking-dialog::backdrop { background: #171410bd; }
.booking-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem 0.65rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  flex: 0 0 auto;
}
.booking-dialog-header h2 { font: 700 clamp(1rem, 3vw, 1.25rem)/1.3 Inter, ui-sans-serif, system-ui, sans-serif; }
.booking-dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
}
.booking-dialog-body { flex: 1 1 auto; min-height: 0; background: #fff; }
.booking-dialog-body iframe { display: block; width: 100%; height: 100%; border: 0; }
.booking-dialog-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.25rem 0.85rem;
  padding: 0.55rem 1.1rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.35;
  flex: 0 0 auto;
}
.booking-dialog-footer a { color: var(--ink); font-weight: 700; text-underline-offset: 2px; }
@media (max-width: 47.999rem) {
  .hero-booking { align-items: stretch; }
  .booking-cta { display: flex; width: 100%; justify-content: center; }
  .booking-dialog {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
  }
  .booking-dialog-header {
    padding-top: max(0.65rem, env(safe-area-inset-top));
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(0.7rem, env(safe-area-inset-right));
  }
  .booking-dialog-footer {
    padding-bottom: max(0.55rem, env(safe-area-inset-bottom));
  }
}
@media (max-width: 47.999rem) and (height: 100dvh) {
  .booking-dialog { height: 100dvh; }
}

.hero-photo,
.split-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-photo {
  aspect-ratio: 4/5;
}

.split-photo {
  aspect-ratio: 4/5;
}

.hero-photo img,
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.section {
  padding-block: var(--section-space);
}

#services,
#location {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.services {
  background: var(--warm);
}

.service-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.service-card {
  padding: 1.05rem;
  background: #ffffffc9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 0.25rem 0.8rem #261d120a;
}

.service-card p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
}

.center-action {
  margin-top: 1.35rem;
}

.image-divider {
  padding-block: var(--section-space);
  background: #f7f3ed;
}

.location-details {
  display: grid;
  gap: 1.4rem;
}

.hours span {
  display: block;
}

.map-embed {
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
}

.faq {
  background: #f7f3ed;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  min-height: 3.1rem;
  padding: 1rem 2.7rem 1rem 0.2rem;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.5rem;
  top: 0.75rem;
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  font-size: 1.25rem;
}

.faq details[open] summary::after {
  content: "–";
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.faq details p {
  margin: 0;
  padding: 0 1rem 1rem 0.2rem;
  color: var(--ink-soft);
}

.final-cta {
  padding-block: clamp(3.8rem, 10vw, 7rem);
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.final-cta-inner {
  display: grid;
  justify-items: center;
}

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

.final-cta h2 {
  max-width: 19ch;
}

.final-cta p {
  max-width: var(--reading-width);
  color: #d5d0c9;
}

footer {
  padding: 2.6rem 0;
  background: #0e0c0a;
  color: #d6d0c7;
}

.footer-inner {
  display: grid;
  gap: 1.4rem;
}

.footer-inner p {
  margin: 0.3rem 0;
}

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

.footer-inner a {
  color: var(--gold-light);
  text-underline-offset: 0.2rem;
}

.agency-credit {
  font-size: 0.9rem;
}

.legal {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #ffffff22;
  font-size: 0.82rem;
}

.cookie-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 26rem;
  padding: 1rem;
  background: #171410;
  color: #fff;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
}

.cookie-notice p {
  margin: 0 0 0.75rem;
}

.cookie-notice a {
  color: var(--gold-light);
}

.cookie-notice button {
  padding: 0.55rem 0.85rem;
  background: var(--gold-light);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 850;
}

.error-page {
  width: min(100% - 2rem, 42rem);
  min-height: 80vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
  margin: auto;
}

.error-page p {
  margin: 0;
  color: var(--ink-soft);
}

[data-reveal] {
  transition: opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1rem);
}

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

@media (min-width: 48rem) {
  .wrap {
    width: min(100% - 3rem, var(--content-width));
  }

  .hero-grid {
    min-height: min(39rem, 76vh);
    grid-template-columns: 1.05fr 0.75fr;
    gap: 5rem;
    padding-block: 3.2rem;
  }

  .hero-grid > :only-child {
    grid-column: 1 / -1;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--column-gap);
  }

  .split.photo-left .split-photo {
    order: -1;
  }

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

  .service-card[data-reveal] {
    transition-duration: 0.9s, 0.9s;
  }

  .service-card:nth-child(1) {
    --reveal-delay: 0ms;
  }

  .service-card:nth-child(2) {
    --reveal-delay: 400ms;
  }

  .service-card:nth-child(3) {
    --reveal-delay: 800ms;
  }

  .service-card:nth-child(4) {
    --reveal-delay: 1200ms;
  }

  .location-details {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

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

  .map-embed {
    min-height: 30rem;
  }

  .map-embed iframe {
    min-height: 30rem;
  }
}

@media (min-width: 70rem) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 38rem) {
  .hero-grid {
    padding-block: 2.1rem;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10.2vw, 3.35rem);
    line-height: 1.05;
  }

  .hero-photo {
    max-height: 31rem;
  }

  .cookie-notice {
    right: 1rem;
    bottom: 0.75rem;
    left: 1rem;
    max-width: none;
    padding: 0.85rem;
    font-size: 0.82rem;
  }

  .cookie-notice p {
    margin-bottom: 0.55rem;
  }

  .cookie-notice button {
    padding: 0.48rem 0.78rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.9rem 1.9rem #261d1225;
  }

  .hero-photo:hover img,
  .split-photo:hover img {
    transform: scale(1.035);
  }
}

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

  *,
  ::before,
  ::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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

/* Uñas: precios y contenido */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  padding-block: 1rem;
  color: var(--ink-soft);
  font-size: .88rem;
}

.breadcrumbs a {
  text-underline-offset: .2rem;
}

.nail-hero .hero-grid {
  min-height: auto;
}

.nail-price-grid,
.nail-copy-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.nail-copy-grid p {
  color: var(--ink-soft);
}

.nail-copy-grid article,
.section[id],
.nail-copy-grid [id],
#nails {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.nail-price-list {
  margin: 1rem 0 0;
}

.nail-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--line);
}

.nail-price-row dt {
  overflow-wrap: anywhere;
}

.nail-price-row dt a {
  text-decoration-thickness: 1px;
  text-underline-offset: .2rem;
}

.nail-price-row dd {
  margin: 0;
  white-space: nowrap;
  font-weight: 800;
}

.nail-price-grid .service-card h3 {
  margin-bottom: .6rem;
}

@media (min-width: 48rem) {
  .nail-price-grid,
  .nail-copy-grid,
  .service-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 70rem) {
  .nail-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

/* Uñas: tabla comparativa */

.nail-comparison {
  margin-top: 1.5rem;
}

.nail-comparison table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.nail-comparison caption {
  text-align: left;
  font-weight: 800;
  padding-bottom: .75rem;
}

.nail-comparison th,
.nail-comparison td {
  padding: .85rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.nail-comparison thead {
  background: var(--warm);
}

.nail-comparison tbody th {
  width: 32%;
  font-weight: 750;
}

.nail-comparison tbody td {
  color: var(--ink-soft);
}

.nail-copy-grid article {
  min-width: 0;
}

@media (max-width: 38rem) {
  .nail-comparison th,
  .nail-comparison td {
    padding: .7rem .6rem;
  }

  .nail-comparison tbody th {
    width: 42%;
    overflow-wrap: normal;
  }
}

/* Shared layouts: future pages use these same width and spacing rules. */

.layout-frame {
  min-width: 0;
}

.layout-frame > :last-child {
  margin-bottom: 0;
}

.layout--reading .layout-frame {
  max-width: var(--reading-width);
}

.reading-content p {
  color: var(--ink-soft);
  font-size: var(--intro-size);
}

.reading-content h2:not(:first-child) {
  margin-top: 2rem;
}

.section--connected-start {
  padding-bottom: 0;
}

.section--connected-end {
  padding-top: var(--connected-space);
}

/* Shared responsive studio photography. */

.owner-photo {
  margin: 0;
  width: 100%;
  max-width: 30rem;
  aspect-ratio: auto;
  justify-self: center;
}

.nail-work-photo,
.nail-feature-photo {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--warm);
  box-shadow: var(--shadow);
}

.nail-work-photo {
  aspect-ratio: auto;
}

.nail-work-photo img,
.nail-feature-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nail-feature-photo {
  width: 100%;
  max-width: 52rem;
  margin: 1.5rem auto;
}

.split > .nail-feature-photo {
  margin: 0;
}

@media (max-width: 38rem) {
  .hero-photo.nail-work-photo {
    max-height: none;
  }
}

/* Owner identification. */

.owner-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 641;
  object-fit: cover;
}

.owner-caption {
  padding: 1rem 1.15rem;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.5;
}

.owner-caption p {
  margin: 0 0 .75rem;
}

.owner-caption strong,
.owner-caption span {
  display: block;
}

.owner-caption strong {
  color: var(--ink);
}

.owner-caption span {
  margin-top: .15rem;
  font-size: .82rem;
}

@media (max-width: 38rem) {
  .hero-photo.owner-photo {
    max-height: none;
  }
}

/* Seamless photo flow; the original group stays readable without JavaScript. */

.nail-flow {
  margin-top: 1.8rem;
  min-width: 0;
}

.nail-flow-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.nail-flow-group[hidden] {
  display: none;
}

.nail-flow-item {
  min-width: 0;
  flex: 0 0 auto;
}

.nail-flow-card {
  -webkit-tap-highlight-color: transparent;
  position: relative;
  display: block;
  width: max-content;
  height: var(--nail-card-height);
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  box-shadow: 0 .35rem 1rem #261d1212;
  text-decoration: none;
}

.nail-flow-card img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.nail-flow-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.nail-flow-zoom {
  position: absolute;
  right: .85rem;
  bottom: .85rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: #fffdf9ee;
  color: var(--ink);
  opacity: 0;
  transform: translateY(.4rem);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.nail-flow-card:focus-visible .nail-flow-zoom {
  opacity: 1;
  transform: none;
}

.nail-flow.is-animated .nail-flow-viewport {
  overflow: hidden;
  padding: .75rem 0 1rem;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.nail-flow.is-animated .nail-flow-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
}

.nail-flow.is-animated .nail-flow-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.5rem;
}

.nail-lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  width: fit-content;
  max-width: calc(100vw - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 3.7rem .85rem .85rem;
  border: 1px solid var(--gold-light);
  border-radius: 1.2rem;
  background: var(--ink);
  box-shadow: 0 1.5rem 5rem #0006;
  overflow: auto;
}

.nail-lightbox[open] {
  display: grid;
  place-items: center;
}

.nail-lightbox::backdrop {
  background: #0e0c0ae6;
}

.nail-lightbox-image {
  width: auto;
  height: auto;
  max-width: min(86vw, 1200px);
  max-height: calc(100dvh - 6.4rem);
  object-fit: contain;
  border-radius: .5rem;
}

.nail-lightbox-close {
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  right: .65rem;
  top: .55rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font: 1.65rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.nail-lightbox-close:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

body.nail-lightbox-open {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .nail-flow-card:hover {
    box-shadow: 0 .5rem 1.2rem #261d1224;
  }

  .nail-flow-card:hover .nail-flow-zoom {
    opacity: 1;
    transform: none;
  }
}

@media (hover: none) {
  .nail-flow-zoom {
    opacity: .85;
    transform: none;
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media (min-width: 48rem) {
  :root {
    --nail-card-height: 14.375rem;
  }
}

/* Private reporting uses the same palette and stylesheet, with isolated component classes. */

body.reports-page {
  padding-top: 0;
  background: var(--warm);
  overflow-x: visible;
}

.reports-wrap {
  padding-block: 2rem;
}

.reports-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.reports-top h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.reports-page button {
  min-height: 2.75rem;
  padding: .65rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.reports-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
  margin-block: 1.5rem;
}

.reports-filter label {
  display: grid;
  gap: .3rem;
  font-weight: 750;
}

.reports-filter select,
.reports-login input {
  min-height: 2.75rem;
  padding: .65rem .9rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

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

.reports-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 1rem;
  margin-block: 1.5rem;
}

.reports-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.reports-card h2 {
  font: 750 1rem/1.4 system-ui, sans-serif;
}

.reports-number {
  margin: .5rem 0 0;
  font: 700 2.4rem/1.2 Georgia, serif;
  color: #806731;
}

.reports-section {
  margin-top: 2.5rem;
}

.reports-section h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.reports-table {
  overflow-x: auto;
  margin-block: 1rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--paper);
}

.reports-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.reports-table th,
.reports-table td {
  padding: .8rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.reports-table th {
  background: #ebe3d8;
}

.reports-table td:first-child {
  overflow-wrap: anywhere;
  min-width: 8rem;
}

.reports-table tbody tr:last-child td {
  border-bottom: 0;
}

.reports-page :is(button, input, select):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.reports-login {
  width: min(100% - 2rem, 30rem);
  margin: 10vh auto;
  padding: 1.5rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.reports-login h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.reports-login label {
  display: block;
  margin-top: 1rem;
  font-weight: 750;
}

.reports-login input,
.reports-login button {
  display: block;
  width: 100%;
  margin-top: .7rem;
}

.reports-login button {
  background: #1d7b4b;
}

.reports-error {
  color: #9c231c;
}

/* Guías de servicios: precios, protocolos y fotografía */

/* Espaciado exclusivo de la guía de tratamientos; no cambia otras páginas. */
.treatments-guide {
  --section-space: clamp(1.75rem, 3.5vw, 3rem);
}

.treatments-guide > .final-cta {
  padding-block: var(--section-space);
}

.beauty-price-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.beauty-price {
  font-size: 1.35rem;
  color: var(--ink);
}

.beauty-protocol {
  margin-top: 1rem;
}

.beauty-protocol summary {
  cursor: pointer;
  font-weight: 700;
  padding-block: .5rem;
}

.beauty-protocol li {
  margin-block: .5rem;
}

.beauty-owner {
  max-width: 25rem;
  margin: 1.5rem 0;
}

.beauty-owner img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.beauty-owner figcaption {
  font-size: .9rem;
  margin-top: .5rem;
  color: var(--ink-soft);
}

.beauty-price-grid .service-card {
  display: flex;
  flex-direction: column;
}

.beauty-price-grid .service-card > p:last-child {
  margin-top: auto;
  padding-top: 1rem;
}

.beauty-price-grid [id],
.beauty-protocol {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

@media (min-width:48rem) {
  .beauty-price-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (min-width:70rem) {
  .beauty-price-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

.service-directory {
  margin-top: 1.5rem;
}

.service-needs {
  display: grid;
  gap: 1rem;
  padding-left: 1.25rem;
}

@media (min-width:48rem) {
  .service-directory {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (min-width:70rem) {
  .service-directory {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

.about-intro {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-intro h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.about-intro .lead {
  margin-bottom: 0;
}

.about-intro .beauty-owner {
  margin: 0;
  width: 100%;
}

.all-services-link {
  margin: 1.5rem 0 0;
}

.all-services-link a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: .4rem;
  text-underline-offset: .2rem;
}

.location-map {
  margin-top: 2rem;
}

@media (min-width:48rem) {
  .about-intro {
    grid-template-columns: minmax(14rem,25rem) minmax(0,1fr);
    gap: var(--column-gap);
  }

  .about-intro-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .about-intro .beauty-owner {
    grid-column: 1;
    grid-row: 1;
  }
}

/* Navegación: reglas confinadas a .site-header; escritorio, estados y móvil en un único componente. No añadir parches al final: editar el bloque correspondiente. */

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  background: #fffdf9ed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header .header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.site-header .desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-right: auto;
}

.site-header .desktop-nav a {
  text-decoration: none;
  font-weight: 750;
}

.site-header .mobile-menu-toggle,
.site-header .mobile-menu-panel {
  display: none;
}

.site-header .nav-cta {
  font-size: 0.9rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-header .mobile-navigation {
  display: none;
}

.site-header .services-disclosure {
  position: relative;
}

.site-header summary {
  list-style: none;
  cursor: pointer;
}

.site-header summary::-webkit-details-marker {
  display: none;
}

.site-header .services-disclosure > summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  font-weight: 750;
}

.site-header .disclosure-chevron {
  width: .45rem;
  height: .45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -.2rem;
}

.site-header .services-disclosure[open] > summary .disclosure-chevron {
  transform: rotate(225deg);
  margin-top: .2rem;
}

.site-header .services-menu-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.site-header .services-group-label {
  margin: 0 0 .4rem;
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 600;
}

.site-header .services-menu-group a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .5rem .7rem;
  margin-block: .15rem;
  border: 0;
  background: transparent;
  border-radius: .4rem;
  line-height: 1.4;
  font-size: .95rem;
  font-weight: 500;
}

.site-header .services-menu-group a:hover,
.site-header .services-menu-group a:focus-visible {
  background: #eee5d9;
  text-decoration: underline;
}

.site-header .services-view-all {
  display: flex;
  align-items: center;
  margin-top: .75rem;
  padding: .7rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  min-height: 2.75rem;
  font-weight: 500;
  text-decoration: underline;
}

.site-header .services-language-note {
  margin: .5rem 0 0;
  font-size: .85rem;
}

.site-header summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: .2rem;
}

.site-header .menu-label-close {
  display: none;
}

.site-header .menu-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding-block: .25rem .7rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .75rem;
}

.site-header .menu-panel-heading p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.site-header .menu-close {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 2.75rem;
  flex: 0 0 auto;
  padding: .45rem .7rem;
  border: 1px solid #806731;
  border-radius: .45rem;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
}

.js .site-header .menu-close {
  display: inline-flex;
}

.site-header .menu-close span {
  font-size: 1.3rem;
  line-height: 1;
}

.site-header .menu-close:hover {
  background: #eee5d9;
}

.site-header a:focus-visible,
.site-header .menu-close:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.site-header .services-disclosure[open] > summary {
  border-radius: .35rem;
  background: #f8f4ee;
  padding-inline: .5rem;
}

.site-header .services-panel {
  position: absolute;
  top: calc(100% + .45rem);
  left: 0;
  width: 33rem;
  max-width: calc(100vw - 2rem);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #fff;
  max-height: calc(100dvh - var(--header-height) - var(--navigation-bottom-space, 1rem) - .35rem);
  overflow-y: auto;
  border-color: var(--line);
  box-shadow: 0 .6rem 1.5rem #261d1214;
}

.site-header .desktop-nav .services-view-all {
  font-weight: 500;
}

.site-header .mobile-menu-panel > a:hover,
.site-header .mobile-menu-panel > a:focus-visible {
  background: #eee5d9;
  text-decoration: underline;
}

@media (max-width: 38rem) {
  .site-header .desktop-nav {
    display: none;
  }

  .site-header .menu-icon,
  .site-header .menu-icon::before,
  .site-header .menu-icon::after {
    width: 1.15rem;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.2s ease;
  }

  .site-header .menu-icon {
    position: relative;
  }

  .site-header .menu-icon::before,
  .site-header .menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .site-header .menu-icon::before {
    top: -0.35rem;
  }

  .site-header .menu-icon::after {
    top: 0.35rem;
  }

  .site-header .mobile-menu-panel[hidden] {
    display: none;
  }

  .site-header .mobile-menu-panel a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
    text-decoration: none;
  }

  .site-header .mobile-menu-panel a:last-child {
    border-bottom: 0;
  }

  .site-header .header-inner {
    position: relative;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    padding-block: .5rem;
  }

  .site-header .nav-cta {
    min-height: 2.75rem;
    padding: 0.62rem 0.72rem;
    font-size: 0.8rem;
  }

  .site-header .nav-cta::before {
    width: 1rem;
    height: 1rem;
  }

  .site-header .mobile-navigation {
    display: block;
    margin-right: auto;
  }

  .site-header .mobile-navigation:not([open]) > .mobile-menu-panel {
    display: none;
  }

  .site-header .mobile-menu-panel {
    position: fixed;
    z-index: 49;
    top: calc(var(--header-height) + 0.35rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    padding: 0.45rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-height) - var(--navigation-bottom-space, 1rem) - .35rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-header .mobile-menu-panel .services-menu-groups {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .site-header .mobile-menu-panel .services-menu-group a {
    border: 0;
    font-size: .95rem;
    font-weight: 500;
    padding: .55rem .7rem;
  }

  .site-header .mobile-navigation[open] > summary .menu-icon {
    background: transparent;
  }

  .site-header .mobile-navigation[open] > summary .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .site-header .mobile-navigation[open] > summary .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-header .mobile-menu-toggle {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-right: auto;
    color: var(--ink);
    font: inherit;
    font-size: 0.94rem;
    cursor: pointer;
    padding: .5rem .5rem;
    border: 1px solid #806731;
    border-radius: .45rem;
    background: #f8f4ee;
    font-weight: 600;
  }

  .site-header .mobile-navigation[open] > summary {
    background: #eee5d9;
    color: var(--ink);
  }

  .site-header .mobile-navigation[open] > summary .menu-label-open {
    display: none;
  }

  .site-header .mobile-navigation[open] > summary .menu-label-close {
    display: inline;
  }

  .site-header .mobile-menu-panel > a {
    padding: .55rem .7rem;
    margin-block: .15rem;
    border: 0;
    border-radius: .4rem;
    background: transparent;
    font-weight: 500;
  }

  .site-header .mobile-menu-panel > a:last-child {
    border-bottom: 0;
  }

  .site-header .mobile-menu-panel .services-view-all {
    border-bottom: 0;
    padding: .7rem;
    border: 0;
    border-top: 1px solid var(--line);
    font-weight: 500;
  }.site-header .mobile-menu-panel > .menu-panel-heading { position:sticky; top:-.45rem; z-index:2; background:#fff; padding-top:.7rem; }
.site-header .mobile-services { padding-block:.75rem; margin-block:.25rem; border-block:1px solid var(--line); min-width:0; }
}

@media (min-width: 38.001rem) and (max-width: 48rem) {
  .site-header .desktop-nav {
    gap: .65rem;
  }

  .site-header .desktop-nav > a,
  .site-header .desktop-nav .services-view-all {
    font-size: .85rem;
  }

  .site-header .header-inner {
    gap: .6rem;
  }

  .site-header .nav-cta {
    padding-inline: .7rem;
    font-size: .8rem;
  }
}

/* Carrusel de cabello: cuatro fotos, sin tarjetas estiradas. */
.hair-showcase { background: var(--paper); }
.hair-showcase-intro { width: 100%; max-width: none; margin: 1.25rem 0 0; color: var(--ink-soft); }
.hair-flow { min-width: 0; }
.hair-flow-viewport:focus-visible, .hair-video-trigger:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hair-flow-viewport { overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: .25rem .15rem 1rem; -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
.hair-flow-viewport::-webkit-scrollbar { display: none; }
.hair-flow-track, .hair-flow-group { display: flex; gap: 1rem; width: max-content; align-items: flex-start; }
.hair-flow-group[hidden] { display: none; }
.hair-flow-card { flex: 0 0 13rem; width: 13rem; margin: 0; scroll-snap-align: start; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.hair-flow-card img { display: block; width: 100%; height: 16rem; object-fit: cover; }
.hair-flow.is-animated .hair-flow-viewport { scroll-snap-type: none; }
@media (min-width: 64rem) {
  .hair-flow-card { flex-basis: clamp(13rem, calc((min(100vw - 3rem, 72rem) - 3rem) / 4), 17.25rem); width: clamp(13rem, calc((min(100vw - 3rem, 72rem) - 3rem) / 4), 17.25rem); }
  .hair-flow-card img { height: 20rem; }
}
@media (max-width: 47.999rem) {
  .hair-flow-card { flex-basis: min(58vw, 13rem); width: min(58vw, 13rem); }
  .hair-flow-card img { height: clamp(12rem, 62vw, 16rem); }
}

/* Video independiente: poster liviano y descarga del MP4 solo tras tocar. */
.hair-video-section { background: #f7f3ed; border-block: 1px solid var(--line); }
.hair-video-layout { display: grid; gap: 1.5rem; align-items: center; }
.hair-video-copy { max-width: var(--reading-width); }
.hair-video-copy p:not(.eyebrow) { color: var(--ink-soft); }
.hair-video-note { font-size: .9rem; }
.hair-video-player { width: min(100%, 16rem); }
.hair-video-shell { width: 100%; aspect-ratio: 320 / 568; overflow: hidden; border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow); }
.hair-video-trigger { position: relative; display: block; width: 100%; height: 100%; color: white; text-decoration: none; }
.hair-video-trigger[hidden] { display: none; }
.hair-video-trigger img { width: 100%; height: 100%; object-fit: cover; }
.hair-video-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; color: white; text-align: center; background: linear-gradient(transparent 20%, #171410aa); text-shadow: 0 1px 2px #000; }
.hair-video-overlay > span { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #171410d9; font-size: 1.2rem; }
.hair-video-overlay small { font-size: .9rem; font-weight: 800; line-height: 1.3; }
.hair-video-shell video { display: block; width: 100%; height: 100%; object-fit: contain; }
.hair-video-pause { display: block; width: 100%; margin-top: .75rem; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--white); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.hair-video-pause[hidden] { display: none; }
.hair-video-pause:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (min-width: 48rem) {
  .hair-video-layout { grid-template-columns: minmax(0, 1fr) 16rem; gap: clamp(2rem, 7vw, 6rem); }
}
@media (max-width: 47.999rem) { .hair-video-player { margin-inline: auto; } }
