/* Letras servidas desde el propio sitio: sin pedidos a Google Fonts */
@font-face { font-family: "Libre Bodoni"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/libre-bodoni-latin.woff2") format("woff2"); }
@font-face { font-family: "Libre Bodoni"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/libre-bodoni-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/jost-latin.woff2") format("woff2"); }

:root {
  --ink: #121a2e;
  --navy: #0e1a3a;
  --navy-2: #16254f;
  --royal: #23409a;
  --ivory: #f6f2ea;
  --ivory-2: #ece5d8;
  --line: #d8cfbf;
  --muted: #5a6278;
  --muted-dark: #b9c1d8;
  --accent: #e06a1f;
  --accent-ink: #ffffff;
  --max: 1200px;
  --header-height: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; min-width: 320px; background: var(--ivory); color: var(--ink); font-family: "Jost", sans-serif; font-size: 1.0625rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; }
.hero :focus-visible, .press :focus-visible, .site-footer :focus-visible { outline-color: var(--ivory); }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 64px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Libre Bodoni", Georgia, serif; font-weight: 500; letter-spacing: -.01em; }
h1 { max-width: 10.8ch; margin-bottom: 24px; font-size: clamp(2.6rem, 5.6vw, 4.1rem); line-height: 1.05; }
h2 { margin-bottom: 28px; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.1; }
h3 { margin-bottom: 10px; font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
em { padding-bottom: .1em; }
.eyebrow { margin-bottom: 18px; font-size: .8125rem; font-weight: 500; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); padding: 0 max(24px, calc((100vw - var(--max)) / 2)); background: rgba(246,242,234,.97); border-bottom: 1px solid var(--line); }
.wordmark { display: inline-grid; grid-template-columns: 12px auto; grid-template-rows: 1fr 1fr; column-gap: 9px; align-items: center; min-width: 185px; color: var(--ink); line-height: 1; text-decoration: none; }
.mark { grid-row: 1 / 3; width: 11px; height: 11px; background: var(--accent); transform: rotate(45deg); }
.wordmark-name { font-family: "Libre Bodoni", Georgia, serif; font-size: 1.35rem; font-style: italic; }
.wordmark-sub { font-size: .56rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); font-size: .9rem; font-weight: 500; }
.site-nav > a:not(.button) { text-decoration: none; }
.site-nav > a:not(.button):hover, .text-link:hover, .visit a:not(.button):hover, .footer-legal a:hover { color: var(--royal); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; color: var(--ink); }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: currentColor; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--accent); border-radius: 2px; background: var(--accent); color: var(--accent-ink); font-size: .95rem; font-weight: 500; letter-spacing: .06em; line-height: 1; text-decoration: none; white-space: nowrap; transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out; }
.button:hover { border-color: var(--royal); background: var(--royal); }
.button--small { min-height: 40px; padding-inline: 18px; }
.button--outline { border-color: var(--ivory); background: transparent; color: var(--ivory); }
.button--outline:hover { border-color: var(--ivory-2); background: var(--ivory-2); color: var(--navy); }
.button--dark-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button--dark-outline:hover { border-color: var(--royal); background: var(--royal); color: var(--accent-ink); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { color: var(--royal); font-weight: 500; }

.hero { overflow: hidden; padding-block: clamp(46px, 6vw, 88px); background: var(--navy); color: var(--ivory); }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(36px, 6vw, 86px); }
.hero-grid > *, .portrait-grid > *, .visit-grid > *, .services-grid > *, .press-photos > *, .salon-grid > *, .footer-grid > * { min-width: 0; }
#hero-video { width: 100%; min-width: 0; }
.hero-copy > p:not(.eyebrow) { max-width: 48ch; margin-bottom: 28px; color: var(--muted-dark); }
.hero-copy .eyebrow { color: var(--muted-dark); }
.hero-copy { animation: rise .55s ease-out both; }
#hero-video { animation: rise .55s .08s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.video-card { margin: 0; }
.video-launch, .video-card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; overflow: hidden; background: var(--navy-2); }
.video-launch { position: relative; }
.video-launch img { width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease-out; }
.video-launch:hover img { transform: scale(1.015); }
.play-button { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; border-radius: 50%; background: var(--ivory); transform: translate(-50%, -50%); }
.play-button::after { position: absolute; top: 50%; left: 53%; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 15px solid var(--navy); content: ""; transform: translate(-50%, -50%); }
.video-shell { position: relative; }
.video-blank { display: grid; place-items: end start; height: 100%; padding: 16px; color: var(--muted-dark); font-size: .9rem; }
.video-consent { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(14px, 4vw, 32px); border-radius: 2px; background: rgba(14, 26, 58, .94); color: var(--ivory); }
.video-consent[hidden] { display: none; }
.video-consent p { max-width: 46ch; margin: 0; font-size: clamp(.85rem, 1.6vw, 1rem); line-height: 1.45; }
.video-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.video-consent-actions .button { min-height: 44px; }
.video-consent-more { align-self: flex-start; color: var(--muted-dark); font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.video-card figcaption { padding-top: 12px; color: var(--muted-dark); font-size: .9rem; line-height: 1.45; }
.video-card figcaption span:first-child { color: var(--ivory); font-weight: 500; }

.credentials { background: var(--ivory-2); }
.credentials-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.credentials-grid > div { min-height: 160px; padding: 30px clamp(18px, 2.4vw, 38px); border-left: 1px solid var(--line); }
.credentials-grid > div:last-child { border-right: 1px solid var(--line); }
.credentials-grid strong { display: block; margin-bottom: 12px; font-family: "Libre Bodoni", Georgia, serif; font-size: clamp(1.45rem, 2vw, 2.1rem); font-weight: 500; line-height: 1.05; }
.credentials-grid span { display: block; max-width: 18ch; color: var(--muted); font-size: .9rem; line-height: 1.4; }

.portrait-grid { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(40px, 9vw, 132px); }
.portrait-grid > img { width: 100%; max-height: 680px; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.section-copy { max-width: 58ch; }
.section-copy p { color: var(--muted); }
.section-copy p + p { margin-top: 20px; }
.section-copy .text-link { display: inline-block; margin-top: 8px; }

.services { border-top: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service { display: flex; min-height: 210px; padding: 28px; border: 1px solid var(--line); background: #fffdf8; flex-direction: column; }
.service--wide { grid-column: span 2; }
.service p { margin-bottom: 0; color: var(--muted); font-size: .98rem; }
.service--feature { grid-column: 1 / -1; min-height: 0; border-color: var(--navy); background: var(--navy); color: var(--ivory); }
.service--feature p { max-width: 65ch; color: var(--muted-dark); }
.service--feature .button { align-self: flex-start; margin-top: 24px; }

.press { background: var(--navy); color: var(--ivory); }
.press-videos { width: min(960px, 100%); }
.press-photos { display: grid; width: min(960px, 100%); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 42px; }
.press-photos figure { margin: 0; }
.press-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.press-photos figcaption { padding-top: 10px; color: var(--muted-dark); font-size: .9rem; line-height: 1.4; }

.salon .intro { max-width: 60ch; margin-bottom: 32px; color: var(--muted); }
.salon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 14px; margin-bottom: 24px; }
.salon-grid img { width: 100%; object-fit: cover; border: 1px solid var(--line); }
.salon-grid img { aspect-ratio: 4 / 5; }
.salon-grid img:nth-child(1) { object-position: 65% center; }

.booking { background: var(--ivory-2); }
.booking-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.booking-inner p { max-width: 50ch; margin: 0 auto 28px; color: var(--muted); }
.booking-inner .button-row { justify-content: center; }
.booking-inner .text-link { padding: 12px 4px; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.visit-grid p { color: var(--muted); }
.visit-grid strong { color: var(--ink); font-weight: 500; }
.visit-grid a:not(.button) { color: var(--royal); font-weight: 500; }

.site-footer { padding-block: 42px; background: var(--navy); color: var(--ivory); }
.wordmark--footer { color: var(--ivory); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 22px 34px; align-items: center; font-size: .86rem; }
.footer-grid p { margin: 0; color: var(--muted-dark); }
.social-links { display: flex; gap: 12px; }
.social-links a { display: grid; width: 44px; height: 44px; place-items: center; color: var(--ivory); }
.social-links svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 28px; padding-top: 20px; border-top: 1px solid rgba(246,242,234,.2); color: var(--muted-dark); }
.footer-legal a { color: inherit; }

.legal-main { padding: 88px 24px; }
.legal-copy { width: min(760px, 100%); margin-inline: auto; }
.legal-copy h1 { max-width: none; }
.legal-copy h2 { margin-top: 42px; margin-bottom: 14px; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.legal-copy p { max-width: 68ch; color: var(--muted); }
.legal-copy .eyebrow { color: var(--royal); }
.legal-copy .updated { margin-top: 44px; color: var(--ink); font-weight: 500; }
.legal-copy a { color: var(--royal); }

@media (max-width: 900px) {
  .site-header { min-height: 64px; padding-inline: 18px; }
  .wordmark { min-width: 172px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 12px 24px 20px; background: var(--ivory); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: grid; }
  .site-nav > a:not(.button) { min-height: 44px; padding: 11px 0; }
  .site-nav .button { margin-top: 8px; }
}

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 40px)); }
  .section { padding-block: 60px; }
  .hero { padding-block: 44px 50px; }
  .hero-grid, .portrait-grid, .visit-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy > p:not(.eyebrow) { margin-bottom: 22px; }
  .hero h1 { max-width: 11.5ch; }
  .button-row { gap: 10px; }
  .hero .button-row { width: 100%; }
  .hero .button-row > * { width: 100%; min-width: 0; }
  .button { padding-inline: 20px; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .credentials-grid > div { min-height: 150px; padding: 24px 18px; }
  .credentials-grid > div:nth-child(2) { border-right: 1px solid var(--line); }
  .credentials-grid > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .credentials-grid > div:last-child { border-right: 1px solid var(--line); }
  .portrait-grid > img { max-height: 560px; }
  .services-grid { grid-template-columns: 1fr; }
  .service, .service--wide, .service--feature { grid-column: auto; min-height: 0; }
  .press-photos { grid-template-columns: repeat(2, 1fr); margin-top: 34px; }
  .salon-grid { grid-template-columns: 1fr 1fr; }
  .salon-grid img:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-legal { gap: 14px 20px; }
  .legal-main { padding-block: 60px; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 2.48rem; }
  .button-row { display: flex; flex-wrap: wrap; }
  .credentials-grid strong { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
