/* =====================================================================
   TRIBECA HAIR STUDIO · Monterrey
   Editorial warm-light premium · Typeface: Montserrat (brand)
   ===================================================================== */

:root {
  /* Warm editorial palette (near-monochrome to match the hairline logo) */
  --ivory:      #f6f1ea;
  --cream:      #fbf8f3;
  --sand:       #e9e0d3;
  --ink:        #15120f;
  --ink-soft:   #2a2520;
  --taupe:      #6f655a;
  --taupe-2:    #968b7c;
  --gold:       #a98b5d;
  --gold-deep:  #87693c;
  --line:       rgba(21, 18, 15, 0.13);
  --line-soft:  rgba(21, 18, 15, 0.07);

  /* Moroccanoil brand accents (used only in the brand section) */
  --teal:       #38b6c2;
  --teal-deep:  #2a8d98;
  --orange:     #ef7d2e;

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

body {
  font-family: var(--font);
  background: var(--ivory);
  color: var(--ink);
  font-weight: 300;
  font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.05rem);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 600; }

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--taupe-2); }

.eyebrow {
  font-size: 0.7rem; letter-spacing: 0.34em; text-transform: uppercase;
  font-weight: 500; color: var(--gold-deep); margin-bottom: 1.3rem;
}
.eyebrow--light { color: var(--gold); }

.section-title {
  font-weight: 200; font-size: clamp(2rem, 1.3rem + 3.4vw, 4.1rem);
  line-height: 1.06; letter-spacing: -0.01em; color: var(--ink);
}
.section-title em { font-style: normal; font-weight: 300; color: var(--gold-deep); }
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--gold); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-intro { margin-top: 1.4rem; color: var(--taupe); font-size: 1.05rem; }
.section-intro a { color: var(--ink); border-bottom: 1px solid var(--gold); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--ink); color: var(--cream); padding: 0.75rem 1.25rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =====================================================================
   IMAGE LAYERS — real photos wired via --photo; gradient fallback.
   ===================================================================== */
[data-img] {
  position: relative; background-color: var(--sand);
  background-image:
    var(--photo, none),
    linear-gradient(135deg, rgba(169,139,93,0.22), rgba(21,18,15,0.14)),
    radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,0.45), transparent 55%);
  background-size: cover, cover, cover;
  background-position: center; background-repeat: no-repeat;
}

/* --- wire the real, web-optimized images --- */
[data-img="hero"].bg-on { --photo: url("../assets/images/hero.jpg"); }
[data-img="hero-2"].bg-on { --photo: url("../assets/images/about-1.jpg"); }
[data-img="hero-3"].bg-on { --photo: url("../assets/images/gallery-4.jpg"); }
[data-img="slide-1"].bg-on { --photo: url("../assets/images/slide-1.jpg"); }
[data-img="slide-2"].bg-on { --photo: url("../assets/images/slide-2.jpg"); }
[data-img="slide-3"].bg-on { --photo: url("../assets/images/slide-3.jpg"); }
[data-img="slide-4"].bg-on { --photo: url("../assets/images/slide-4.jpg"); }
[data-img="about-foreground"].bg-on { --photo: url("../assets/images/about-foreground.jpg"); }
[data-img="service-corte"].bg-on { --photo: url("../assets/images/service-corte.jpg"); }
[data-img="service-color"].bg-on { --photo: url("../assets/images/service-color.jpg"); }
[data-img="service-tratamientos"].bg-on { --photo: url("../assets/images/service-tratamientos.jpg"); }
[data-img="service-maquillaje"].bg-on { --photo: url("../assets/images/service-maquillaje.jpg"); }
[data-img="strip-1"].bg-on { --photo: url("../assets/images/strip-1.jpg"); }
[data-img="strip-2"].bg-on { --photo: url("../assets/images/strip-2.jpg"); }
[data-img="strip-3"].bg-on { --photo: url("../assets/images/strip-3.jpg"); }
[data-img="strip-4"].bg-on { --photo: url("../assets/images/strip-4.jpg"); }
[data-img="strip-5"].bg-on { --photo: url("../assets/images/strip-5.jpg"); }
[data-img="strip-6"].bg-on { --photo: url("../assets/images/strip-6.jpg"); }
[data-img="gal-1"].bg-on { --photo: url("../assets/images/gal-1.jpg"); }
[data-img="gal-2"].bg-on { --photo: url("../assets/images/gal-2.jpg"); }
[data-img="gal-3"].bg-on { --photo: url("../assets/images/gal-3.jpg"); }
[data-img="gal-4"].bg-on { --photo: url("../assets/images/gal-4.jpg"); }
[data-img="gal-5"].bg-on { --photo: url("../assets/images/gal-5.jpg"); }
[data-img="gal-6"].bg-on { --photo: url("../assets/images/gal-6.jpg"); }
[data-img="gal-7"].bg-on { --photo: url("../assets/images/gal-7.jpg"); }
[data-img="gal-8"].bg-on { --photo: url("../assets/images/gal-8.jpg"); }
[data-img="mucota-media"].bg-on { --photo: url("../assets/images/mucota-media.jpg"); }
[data-img="about-1"].bg-on { --photo: url("../assets/images/about-1.jpg"); }
[data-img="about-2"].bg-on { --photo: url("../assets/images/about-2.jpg"); }
[data-img="moroccanoil"].bg-on { --photo: url("../assets/images/moroccanoil-products.jpg"); }
[data-img="branch-leones"].bg-on { --photo: url("../assets/images/branch-leones.jpg"); }
[data-img="branch-hierro"].bg-on { --photo: url("../assets/images/branch-hierro.jpg"); }
[data-img="branch-revolucion"].bg-on { --photo: url("../assets/images/branch-revolucion.jpg"); }
[data-img="gallery-1"].bg-on { --photo: url("../assets/images/gallery-1.jpg"); }
[data-img="gallery-2"].bg-on { --photo: url("../assets/images/gallery-2.jpg"); }
[data-img="gallery-3"].bg-on { --photo: url("../assets/images/gallery-3.jpg"); }
[data-img="gallery-4"].bg-on { --photo: url("../assets/images/gallery-4.jpg"); }
[data-img="gallery-5"].bg-on { --photo: url("../assets/images/gallery-5.jpg"); }
[data-img="gallery-6"].bg-on { --photo: url("../assets/images/gallery-6.jpg"); }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-weight: 500; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1.05rem 1.9rem; border: 1px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(21,18,15,0.4); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn--solid:hover { --btn-bg: var(--gold-deep); --btn-bd: var(--gold-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(21,18,15,0.35); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(251,248,243,0.5); }
.btn--ghost-light:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-bd: var(--cream); }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-bd: var(--cream); }
.btn--light:hover { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); }
.btn--whatsapp { --btn-bg: #1f7a52; --btn-fg: #fff; --btn-bd: #1f7a52; }
.btn--whatsapp:hover { --btn-bg: #155f3f; --btn-bd: #155f3f; }
.btn--sm { padding: 0.8rem 1.3rem; font-size: 0.72rem; }
.btn--full { width: 100%; }

.link-arrow { font-size: 0.82rem; letter-spacing: 0.04em; font-weight: 500; color: var(--gold-deep); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.link-arrow:hover { border-color: var(--gold-deep); }

/* =====================================================================
   HEADER — light text over hero, inverts to dark on scroll
   ===================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.4rem 0; transition: background-color .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease); }
.site-header.is-scrolled { background: rgba(246,241,234,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 0.7rem 0; box-shadow: 0 1px 0 var(--line-soft); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand__logo { height: 30px; width: auto; transition: filter .5s var(--ease), height .5s var(--ease); }
.site-header.is-scrolled .brand__logo { filter: brightness(0); height: 26px; } /* white logo -> black on light header */

.nav__list { display: flex; gap: clamp(1.1rem, 2.4vw, 2.3rem); }
.nav__list a { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; color: rgba(251,248,243,0.92); position: relative; padding-bottom: 3px; transition: color .4s var(--ease); }
.site-header.is-scrolled .nav__list a { color: var(--ink-soft); }
.nav__list a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .35s var(--ease); }
.nav__list a:hover::after { width: 100%; }

.header__cta { padding: 0.7rem 1.4rem; font-size: 0.68rem; --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(251,248,243,0.55); }
.header__cta:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-bd: var(--cream); }
.site-header.is-scrolled .header__cta { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.site-header.is-scrolled .header__cta:hover { --btn-bg: var(--gold-deep); --btn-bd: var(--gold-deep); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), opacity .3s, background-color .4s; }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 99; background: var(--ivory); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.4rem; text-align: center; }
.mobile-nav a { font-weight: 200; font-size: 1.9rem; color: var(--ink); letter-spacing: 0.01em; }
.mobile-nav a:hover { color: var(--gold-deep); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-block: 8rem clamp(3rem, 7vh, 4.75rem); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; background-position: center 22%; transition: opacity 1.6s var(--ease); transform: scale(1.04); }
.hero__slide.is-active { opacity: 1; animation: kenBurns 6.5s var(--ease) forwards; }
@keyframes kenBurns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Hero slide indicators */
.hero__dots { position: absolute; left: 50%; bottom: clamp(0.9rem, 2vh, 1.4rem); transform: translateX(-50%); z-index: 2; display: flex; gap: 0.6rem; }
.hero__dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid rgba(251,248,243,0.85); background: transparent; cursor: pointer; transition: background-color .4s var(--ease), transform .4s var(--ease), width .4s var(--ease), border-radius .4s var(--ease); }
.hero__dot[aria-current="true"] { background: var(--cream); width: 26px; border-radius: 6px; }
.hero__dot:hover { background: rgba(251,248,243,0.6); }
.hero__dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Per-slide focal points so off-center subjects stay framed (esp. portrait mobile) */
.hero__slide[data-img="slide-1"] { background-position: 44% 24%; }
.hero__slide[data-img="slide-2"] { background-position: 50% 32%; }
.hero__slide[data-img="slide-3"] { background-position: 54% 16%; }
.hero__slide[data-img="slide-4"] { background-position: 74% 28%; }
@media (max-width: 700px) {
  .hero__slide[data-img="slide-1"] { background-position: 53% 26%; }
  .hero__slide[data-img="slide-4"] { background-position: 83% 26%; }
}
.hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(21,18,15,0.5) 0%, rgba(21,18,15,0.12) 16%, rgba(21,18,15,0.08) 48%, rgba(21,18,15,0.82) 100%); }
.hero__content { color: var(--cream); max-width: 900px; }
.hero__title { font-weight: 200; font-size: clamp(1.65rem, 1rem + 2.7vw, 3.35rem); line-height: 1.1; letter-spacing: -0.012em; color: var(--cream); margin-bottom: 1.4rem; text-align: left; }
.hero__title em { font-style: normal; font-weight: 300; color: #ecd6ab; }
.hero__lede { max-width: 500px; font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.25rem); color: rgba(251,248,243,0.92); margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(3rem, 8vh, 6rem); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; writing-mode: vertical-rl; color: rgba(251,248,243,0.75); font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 60px; background: linear-gradient(rgba(251,248,243,0.75), transparent); animation: scrollPulse 2.4s ease-in-out infinite; }

@keyframes slowZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes scrollPulse { 0%,100% { transform: scaleY(0.5); transform-origin: top; opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.servicebar { background: var(--ink); color: var(--cream); padding: 1.15rem 0; }
.servicebar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1.5rem; text-align: center; }
.servicebar span { font-weight: 300; font-size: clamp(0.9rem, 0.78rem + 0.6vw, 1.2rem); letter-spacing: 0.14em; text-transform: uppercase; }
.servicebar .sep { color: var(--gold); font-weight: 300; }
@media (max-width: 600px) { .servicebar .sep { display: none; } .servicebar__inner { gap: 0.35rem 1.1rem; } }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { padding-block: var(--section-y); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__media { position: relative; aspect-ratio: 4 / 5; }
.about__img { position: absolute; border-radius: var(--radius); background-size: cover; }
.about__img--a { inset: 0 22% 16% 0; box-shadow: 0 30px 60px -30px rgba(21,18,15,0.5); }
.about__img--b { width: 50%; aspect-ratio: 3/4; right: 0; bottom: 0; box-shadow: 0 30px 60px -30px rgba(21,18,15,0.55); outline: 8px solid var(--ivory); }
.about__copy p { margin-top: 1.3rem; color: var(--taupe); max-width: 48ch; }
.about__copy .section-title { margin-bottom: 0.4rem; }

.stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-weight: 200; font-size: 2.5rem; line-height: 1; color: var(--ink); }
.stats span { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--taupe-2); margin-top: 0.45rem; }

/* =====================================================================
   SERVICES — editorial price menu
   ===================================================================== */
.services { padding-block: var(--section-y); background: var(--cream); }

.length-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.6rem; padding: 1.1rem 1.6rem; margin-bottom: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.length-legend__title { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.length-legend ul { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.length-legend li { font-size: 0.86rem; color: var(--taupe); }
.length-legend b { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; margin-right: 0.4rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-deep); font-weight: 600; font-size: 0.72rem; }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.menu-card { min-width: 0; background: var(--ivory); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 2rem 1.9rem; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 28px 56px -34px rgba(21,18,15,0.4); border-color: var(--line); }
.menu-card__title { font-weight: 400; font-size: 1.18rem; letter-spacing: 0.005em; margin-bottom: 1.3rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }

.price-list { display: flex; flex-direction: column; gap: 0.7rem; }
.price-list li { display: flex; align-items: baseline; gap: 0.5rem; font-size: 0.95rem; color: var(--ink-soft); }
.price-list li > span:first-child { min-width: 0; }
.price-list li em { font-style: normal; display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; border: 1px solid var(--line); border-radius: 50%; font-size: 0.66rem; font-weight: 600; color: var(--gold-deep); margin-left: 0.15rem; transform: translateY(-1px); }
.price-list .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); min-width: 1.5rem; }
.price-list b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.menu-card__note { margin-top: 1.2rem; font-size: 0.8rem; line-height: 1.55; color: var(--taupe-2); }

.services__note { text-align: center; margin-top: 2.8rem; color: var(--taupe); font-size: 1.05rem; }
.services__note a { color: var(--ink); border-bottom: 1px solid var(--gold); }

/* =====================================================================
   BRANDS / MOROCCANOIL — dark feature section
   ===================================================================== */
.brands { padding-block: var(--section-y); background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.brands::before { content: ""; position: absolute; width: 460px; height: 460px; left: -160px; bottom: -160px; background: radial-gradient(circle, rgba(56,182,194,0.22), transparent 65%); pointer-events: none; }
.brands__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; position: relative; }
.brands__text { color: rgba(251,248,243,0.82); max-width: 46ch; margin-top: 1.4rem; }
.brands__text strong { color: var(--teal); }
.brands__badge { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2.2rem; padding: 0.6rem 1.1rem; border: 1px solid rgba(251,248,243,0.22); border-radius: 100px; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(251,248,243,0.9); }
.brands__badge svg { color: var(--gold); }
.brands__hero-logo { display: block; height: 30px; width: auto; margin-top: 2rem; }

/* Certified-brand section variant: Mucota mirrors Moroccanoil, image flipped to the left */
.brands--flip { border-top: 1px solid rgba(251,248,243,0.12); }
.brands--flip .brands__media { order: -1; }
#mucota .brands__text strong { color: var(--gold); }
#mucota .brands__badge svg { color: var(--gold); }
#mucota .brands__hero-logo { height: 104px; width: auto; margin-top: 2.4rem; filter: brightness(0) invert(1); } /* logo negro -> blanco sobre fondo oscuro */

/* Legal pages (Aviso de Privacidad) */
.legal { padding-block: clamp(3rem, 6vw, 5.5rem) var(--section-y); background: var(--ivory); }
.legal__doc { max-width: 760px; margin-inline: auto; }
.legal__doc > p:first-of-type { color: var(--taupe); }
.legal__updated { display: inline-block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe-2); margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft); width: 100%; }
.legal__doc h2 { font-family: var(--font); font-weight: 500; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem); letter-spacing: 0.01em; margin-top: 2.6rem; color: var(--ink); }
.legal__doc h2 .num { color: var(--gold-deep); font-weight: 500; margin-right: 0.5rem; }
.legal__doc p, .legal__doc li { color: var(--ink-soft); line-height: 1.75; margin-top: 0.9rem; }
.legal__doc ul { list-style: disc; padding-left: 1.3rem; margin-top: 0.6rem; }
.legal__doc li { margin-top: 0.4rem; }
.legal__doc a { color: var(--gold-deep); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.legal__doc a:hover { border-color: var(--gold-deep); }
.legal__doc strong { font-weight: 600; color: var(--ink); }
.legal__note { margin-top: 2.4rem; padding: 1.2rem 1.4rem; background: var(--cream); border-left: 2px solid var(--gold); border-radius: var(--radius); font-size: 0.92rem; color: var(--taupe); }

/* Otros partners — logos limpios, sin tarjeta ni botón */
.partners { padding-block: clamp(3rem, 6vw, 5rem); background: var(--cream); }
.partners__label { text-align: center; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe-2); }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2.5rem, 8vw, 6rem); margin-top: 2rem; list-style: none; }
.partner-logos li { display: flex; }
.partner-logos img { max-height: 46px; max-width: 210px; width: auto; height: auto; object-fit: contain; opacity: 0.55; filter: grayscale(1); transition: opacity .4s var(--ease), filter .4s var(--ease); }
.partner-logos img:hover { opacity: 1; filter: grayscale(0); }
.brands__media { aspect-ratio: 16 / 10; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7); }

/* =====================================================================
   BRANCHES
   ===================================================================== */
.branches { padding-block: var(--section-y); }
.branches .section-intro a { color: var(--ink); border-bottom: 1px solid var(--gold); white-space: nowrap; }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.branch { background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.branch:hover { transform: translateY(-6px); box-shadow: 0 34px 64px -38px rgba(21,18,15,0.5); }
.branch__media { aspect-ratio: 4 / 3; }
.branch__body { padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.branch__name { font-weight: 300; font-size: 1.7rem; letter-spacing: 0.005em; }
.branch__addr { color: var(--taupe); font-size: 0.88rem; line-height: 1.65; }
.branch__hours { border-top: 1px solid var(--line-soft); padding-top: 0.9rem; }
.branch__hours div { display: flex; justify-content: space-between; padding: 0.22rem 0; font-size: 0.86rem; }
.branch__hours dt { color: var(--taupe-2); }
.branch__hours dd { color: var(--ink-soft); }
.branch__actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 0.5rem; flex-wrap: wrap; }

/* =====================================================================
   GALLERY
   ===================================================================== */
.gallery { padding-block: var(--section-y); background: var(--cream); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; padding-inline: var(--gutter); max-width: 1540px; margin-inline: auto; }
.gallery__item { aspect-ratio: 4 / 5; }
.gallery__item { position: relative; border: 0; padding: 0; margin: 0; border-radius: var(--radius); overflow: hidden; background-color: var(--sand); cursor: pointer; display: block; width: 100%; height: 100%; }
.gallery__item::before { content: ""; position: absolute; inset: 0; background-image: var(--photo, none), linear-gradient(135deg, rgba(169,139,93,0.24), rgba(21,18,15,0.18)); background-size: cover; background-position: center 28%; transition: transform .8s var(--ease); }
.gallery__item::after { content: "\002B"; position: absolute; top: 0.9rem; right: 1rem; z-index: 2; width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid rgba(251,248,243,0.7); border-radius: 50%; color: var(--cream); font-weight: 300; font-size: 1.1rem; opacity: 0; transform: scale(0.8); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.gallery__item:hover::before, .gallery__item:focus-visible::before { transform: scale(1.06); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: scale(1); }
.gallery__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem 1rem; z-index: 1; color: var(--cream); font-weight: 300; font-size: 0.95rem; letter-spacing: 0.02em; text-align: left; background: linear-gradient(to top, rgba(21,18,15,0.72), transparent); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: translateY(0); }
/* per-image focal points so faces/subjects stay framed */
.gallery__item[data-img="gal-1"]::before { background-position: center 30%; }
.gallery__item[data-img="gal-2"]::before { background-position: center 22%; }
.gallery__item[data-img="gal-3"]::before { background-position: center 35%; }
.gallery__item[data-img="gal-4"]::before { background-position: center 30%; }
.gallery__item[data-img="gal-6"]::before { background-position: center 18%; }
.gallery__item[data-img="gal-8"]::before { background-position: center 28%; }

/* =====================================================================
   LOYALTY
   ===================================================================== */
.loyalty { padding-block: var(--section-y); }
.loyalty__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.75rem; }
.loyalty__card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.loyalty__card p { color: var(--taupe); max-width: 44ch; }
.loyalty__title { font-weight: 200; font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.8rem); line-height: 1.05; }
.loyalty__card--dark { background: linear-gradient(150deg, var(--ink), #2c241a); color: var(--cream); border-color: var(--ink); position: relative; overflow: hidden; }
.loyalty__card--dark::after { content: ""; position: absolute; width: 320px; height: 320px; right: -100px; top: -100px; background: radial-gradient(circle, rgba(169,139,93,0.4), transparent 65%); pointer-events: none; }
.loyalty__card--dark p { color: rgba(251,248,243,0.82); }
.loyalty__card--dark .loyalty__title { color: var(--cream); }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonials { padding-block: var(--section-y); background: var(--cream); }
/* Testimonials — rotating carousel (scroll-snap + autoplay) */
.quotes { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0.25rem; margin: -0.25rem; }
.quotes::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; flex: 0 0 calc((100% - 3rem) / 3); display: flex; flex-direction: column; gap: 1.1rem; padding: 2rem; border-left: 2px solid var(--gold); background: var(--ivory); border-radius: var(--radius); }
.quote__stars { color: var(--gold); letter-spacing: 0.16em; font-size: 0.95rem; line-height: 1; }
.quote blockquote { font-weight: 300; font-size: 1.04rem; line-height: 1.55; color: var(--ink); flex: 1; }
.quote figcaption { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 0.2rem; }
.quote__name { font-weight: 500; }
.quote__loc { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe-2); display: inline-flex; align-items: center; gap: 0.45rem; }
.quote__loc::before { content: ""; flex: none; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%234285F4' d='M45.12 24.5c0-1.56-.14-3.06-.4-4.5H24v8.51h11.84c-.51 2.75-2.06 5.08-4.39 6.64v5.52h7.11c4.16-3.83 6.56-9.47 6.56-16.17z'/%3E%3Cpath fill='%2334A853' d='M24 46c5.94 0 10.92-1.97 14.56-5.33l-7.11-5.52c-1.97 1.32-4.49 2.1-7.45 2.1-5.73 0-10.58-3.87-12.31-9.07H4.34v5.7C7.96 41.07 15.4 46 24 46z'/%3E%3Cpath fill='%23FBBC05' d='M11.69 28.18C11.25 26.86 11 25.45 11 24s.25-2.86.69-4.18v-5.7H4.34C2.85 17.09 2 20.45 2 24c0 3.55.85 6.91 2.34 9.88l7.35-5.7z'/%3E%3Cpath fill='%23EA4335' d='M24 10.75c3.23 0 6.13 1.11 8.41 3.29l6.31-6.31C34.91 4.18 29.93 2 24 2 15.4 2 7.96 6.93 4.34 14.12l7.35 5.7c1.73-5.2 6.58-9.07 12.31-9.07z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* carousel controls */
.testi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 1rem; flex-wrap: wrap; max-width: none; }
.testi-head > div:first-child { flex: 1 1 320px; max-width: 760px; margin-bottom: 0; }
.testi-nav { display: flex; gap: 0.6rem; flex: none; }
.testi-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.testi-nav button:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.testi-nav button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 700px) { .quote { flex-basis: 86%; } }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { padding-block: var(--section-y); background: var(--ink); color: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__text { color: rgba(251,248,243,0.8); max-width: 44ch; margin: 1.4rem 0 2rem; }
.contact__channels { display: flex; flex-wrap: wrap; gap: 1rem; }
.contact__cards { display: flex; flex-direction: column; gap: 1rem; }
.booking-card { border: 1px solid rgba(251,248,243,0.16); border-radius: var(--radius); padding: 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.9rem; transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.booking-card:hover { border-color: rgba(251,248,243,0.4); background: rgba(251,248,243,0.03); }
.booking-card h3 { font-weight: 300; font-size: 1.35rem; }
.booking-card p { color: rgba(251,248,243,0.6); font-size: 0.86rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: #100d0b; color: rgba(251,248,243,0.75); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(251,248,243,0.12); }
.footer__logo { height: 30px; width: auto; margin-bottom: 1rem; }
.footer__brand p { font-size: 0.88rem; max-width: 30ch; margin-top: 0.3rem; }
.footer__phone a { color: var(--gold); }
.site-footer h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 500; }
.footer__nav li, .footer__social li { margin-bottom: 0.6rem; }
.footer__nav a, .footer__social a { font-size: 0.9rem; transition: color .3s; }
.footer__nav a:hover, .footer__social a:hover { color: var(--cream); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; font-size: 0.8rem; color: rgba(251,248,243,0.5); }
.footer__bottom a:hover { color: var(--cream); }

.wa-float { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #1f7a52; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(31,122,82,0.6); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 36px -8px rgba(31,122,82,0.7); }

/* =====================================================================
   REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__media, .marquee__track { animation: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .quote { flex-basis: calc((100% - 1.5rem) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .brands__grid, .loyalty__grid, .contact__grid { grid-template-columns: 1fr; }
  .brands__media { order: -1; }
}
@media (max-width: 600px) {
  .menu-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .stats { flex-wrap: wrap; gap: 1.5rem 2.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__scroll { display: none; }
  .btn { width: 100%; }
  .hero__actions .btn, .contact__channels .btn { width: auto; flex: 1; }
}

/* =====================================================================
   ADDED COMPONENTS (v2): featured, slideshow, strip, lightbox, social, menu page
   ===================================================================== */

.section-head--center { max-width: 760px; margin-inline: auto; text-align: center; }

/* ---- Featured services ---- */
.featured { padding-block: var(--section-y); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-card { border-radius: var(--radius); overflow: hidden; }
.feature-card__link { display: flex; flex-direction: column; height: 100%; background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.feature-card__link:hover { transform: translateY(-6px); box-shadow: 0 34px 64px -38px rgba(21,18,15,0.5); }
.feature-card__media { aspect-ratio: 4 / 5; background-position: center 25%; transition: transform .9s var(--ease); }
.feature-card--tall .feature-card__media { aspect-ratio: 4 / 5.4; }
.feature-card__link:hover .feature-card__media { transform: scale(1.05); }
.feature-card__body { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.feature-card__body h3 { font-weight: 300; font-size: 1.45rem; letter-spacing: 0.005em; }
.feature-card__body p { color: var(--taupe); font-size: 0.92rem; }
.feature-card__body .link-arrow { margin-top: auto; padding-top: 0.4rem; }
.featured__cta { text-align: center; margin-top: 2.6rem; }

/* ---- Moving photo strip ---- */
.photo-strip { overflow: hidden; background: var(--ink); padding: 0.5rem 0; }
.photo-strip__track { display: flex; gap: 0.5rem; width: max-content; animation: stripScroll 48s linear infinite; }
.photo-strip:hover .photo-strip__track { animation-play-state: paused; }
.photo-strip__img { flex: none; width: clamp(160px, 22vw, 280px); aspect-ratio: 3 / 2; border-radius: var(--radius); background-position: center 30%; }
@keyframes stripScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(13,11,9,0.94); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: min(92vw, 1100px); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 1rem; transform: scale(0.96); transition: transform .4s var(--ease); }
.lightbox.is-open .lightbox__figure { transform: scale(1); }
.lightbox__img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8); }
.lightbox__cap { color: rgba(251,248,243,0.85); font-size: 0.9rem; letter-spacing: 0.05em; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(251,248,243,0.08); border: 1px solid rgba(251,248,243,0.25); color: var(--cream); cursor: pointer; display: grid; place-items: center; border-radius: 50%; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.lightbox__close { top: 1.2rem; right: 1.2rem; width: 46px; height: 46px; font-size: 1.7rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox__prev { left: clamp(0.6rem, 2vw, 2rem); }
.lightbox__next { right: clamp(0.6rem, 2vw, 2rem); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(251,248,243,0.22); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---- Social icons ---- */
.social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(251,248,243,0.22); border-radius: 50%; color: rgba(251,248,243,0.8); transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }

/* ---- Header solid variant (inner pages) ---- */
.site-header.is-solid { background: rgba(246,241,234,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-soft); }
.site-header.is-solid .brand__logo { filter: brightness(0); }
.site-header.is-solid .nav__list a { color: var(--ink-soft); }
.site-header.is-solid .header__cta { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.site-header.is-solid .nav-toggle span { background: var(--ink); }
.nav__list a[aria-current="page"] { color: var(--gold-deep); }

/* ---- Menu page ---- */
.page-menu { padding-top: 0; }
.menu-hero { background: linear-gradient(150deg, var(--ink), #2c241a); color: var(--cream); padding: clamp(8rem, 14vh, 11rem) 0 clamp(3rem, 6vw, 5rem); text-align: center; position: relative; overflow: hidden; }
.menu-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -140px; background: radial-gradient(circle, rgba(169,139,93,0.35), transparent 65%); pointer-events: none; }
.menu-hero__title { font-weight: 200; font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); line-height: 1.05; margin: 0.4rem 0 1.2rem; }
.menu-hero__lede { max-width: 60ch; margin: 0 auto 2rem; color: rgba(251,248,243,0.82); }
.menu-page { padding-block: var(--section-y); background: var(--cream); }
.menu-grid--detailed { grid-template-columns: repeat(2, 1fr); }
.menu-card__desc { color: var(--taupe); font-size: 0.92rem; margin: -0.4rem 0 1.4rem; }
.menu-card[id] { scroll-margin-top: 90px; }
.price-list--desc li { flex-wrap: wrap; }
.price-list--desc .price-list__name { font-weight: 400; }
.price-list--desc small { flex-basis: 100%; color: var(--taupe-2); font-size: 0.8rem; line-height: 1.5; margin-top: -0.1rem; }

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active { animation: none; }
  .photo-strip__track { animation: none; }
}

@media (max-width: 1024px) {
  .menu-grid--detailed { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; }
}
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; }
}
@media (max-width: 560px) {
  .feature-grid--4 { grid-template-columns: 1fr; max-width: 420px; }
}

/* Hero title — per-letter motion */
.hero__title .word { display: inline-block; }
.hero__title .char { display: inline-block; }
.hero__title.is-split .char { opacity: 0; transform: translateY(0.75em); animation: charIn 0.7s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes charIn { from { opacity: 0; transform: translateY(0.75em); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__title.is-split .char { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .menu-grid--detailed { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}
