/* =========================================================
   Serendy v5 — Real brand
   Bone + ink + sage green (cliente real). Recoleta + Aileron + TAN Pearl.
   ========================================================= */

/* ----------------------- BRAND FONTS ----------------------- */
@font-face {
  font-family: "Recoleta";
  src: url("/fonts/Recoleta-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aileron";
  src: url("/fonts/Aileron-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aileron";
  src: url("/fonts/Aileron-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TAN Pearl";
  src: url("/fonts/TAN-Pearl.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette — extracted from serendy.es WordPress (Flatsome) inline CSS */
  --bone:        #fff6ec;            /* original cream bg */
  --bone-soft:   #f3efe6;            /* lighter card bg */
  --bone-deep:   #e2dac6;
  --ink:         #161513;
  --ink-2:       #2a2722;
  --ink-3:       #4f544c;            /* original body text rgb(79,84,76) */
  --ink-4:       #8c8578;
  --line:        rgba(22, 21, 19, 0.18);
  --line-soft:   rgba(22, 21, 19, 0.08);
  /* Sage green — original brand color rgb(78,95,63) + softer tint rgb(195,200,192) */
  --sage:        #4e5f3f;
  --sage-deep:   #3d4b32;
  --sage-soft:   #c3c8c0;
  /* legacy alias retained so any leftover refs still resolve to brand color */
  --terra:       var(--sage);
  --terra-deep:  var(--sage-deep);

  --bg: var(--bone);
  --fg: var(--ink);

  /* Type — real client fonts */
  --serif: "Recoleta", "GT Sectra", "Times New Roman", Georgia, serif;
  --sans:  "Aileron", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  /* meta micro-text uses Aileron Light tracked-out — original site has no mono */
  --mono:  "Aileron", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  --script: "TAN Pearl", "Snell Roundhand", cursive;

  /* Layout */
  --gutter: clamp(1.25rem, 3.5vw, 2.5rem);
  --col-gap: clamp(1.25rem, 3vw, 2.25rem);
  --max:    1480px;

  /* Motion */
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2:  cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast:  0.25s;
  --t-mid:   0.55s;
  --t-slow:  0.9s;
}

/* ----------------------- BASE ----------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11", "ss03";
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }

ol, ul { list-style: none; }

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

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

/* meta — Aileron Light tracked-out micro-text (no mono on real serendy) */
.meta {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.meta .sep { color: var(--ink-4); opacity: 0.7; }

/* ----------------------- SCROLL PROGRESS ----------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 1px;
  z-index: 150;
  pointer-events: none;
  background: transparent;
}
.scroll-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--sage);
  transform-origin: left center;
  transition: width 0.08s linear;
}

/* ----------------------- SECTION NUMERATOR ----------------------- */
.section-num {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 95;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: none;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
  mix-blend-mode: difference;
  color: var(--bone);
  opacity: 0.65;
}
@media (min-width: 720px) {
  .section-num { display: inline-flex; }
}
.section-num-cur {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--sage);
  font-variant-numeric: tabular-nums;
  transition: color var(--t-mid) var(--ease);
}
.section-num-sep { opacity: 0.5; }
.section-num-tot { opacity: 0.55; }

/* ----------------------- CURSOR ----------------------- */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 200;
  mix-blend-mode: difference;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body.has-cursor { cursor: none; }
  body.has-cursor a, body.has-cursor button { cursor: none; }
}
.cursor-dot {
  position: absolute; top: -3px; left: -3px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bone);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast);
}
.cursor-ring {
  position: absolute; top: -18px; left: -18px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--bone); opacity: 0.5;
  transition: width var(--t-mid) var(--ease), height var(--t-mid) var(--ease),
              top var(--t-mid) var(--ease), left var(--t-mid) var(--ease),
              opacity var(--t-fast);
}
.cursor-label {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bone);
  background: var(--ink);
  padding: 4px 8px; border-radius: 999px;
  opacity: 0; transform: translate(-2px, -2px) scale(0.9);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  white-space: nowrap;
}
.cursor.is-hover .cursor-ring { width: 60px; height: 60px; top: -30px; left: -30px; opacity: 0.9; }
.cursor.is-label .cursor-label { opacity: 1; transform: translate(0, 0) scale(1); }

/* ----------------------- HEADER ----------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem var(--gutter);
  background: linear-gradient(180deg, rgba(243, 239, 230, 0.92), rgba(243, 239, 230, 0.55));
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  border-bottom: 1px solid transparent;
  transition: background var(--t-mid) var(--ease), border-color var(--t-mid);
}
.site-header.is-scrolled {
  background: rgba(243, 239, 230, 0.96);
  border-bottom-color: var(--line-soft);
}

.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
}
.brand-logo {
  height: 32px; width: auto;
  display: block;
  transition: transform var(--t-fast) var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-3deg); }
.brand-word {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-nav {
  display: none;
  justify-self: center;
  gap: 1.75rem;
}
.site-nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width var(--t-mid) var(--ease);
}
.site-nav a:hover::after { width: 100%; }

.site-cta {
  display: none;
  align-items: center; gap: 0.55rem;
  padding: 0.65rem 0.95rem 0.65rem 0.85rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bone);
  transition: background var(--t-fast) var(--ease), color var(--t-fast);
}
.site-cta:hover { background: var(--sage); border-color: var(--sage); }
.site-cta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(78, 95, 63, 0.55);
  animation: pulse 2.4s var(--ease) infinite;
}
.site-cta:hover .dot { background: var(--bone); animation: none; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(78, 95, 63, 0.45); }
  50%      { box-shadow: 0 0 0 7px rgba(78, 95, 63, 0); }
}

.burger {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  position: relative;
  background: transparent;
}
.burger span {
  display: block; width: 16px; height: 1px;
  background: var(--ink);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast);
}
.burger span + span { margin-top: 4px; }
.burger.is-open span:first-child { transform: translateY(2.5px) rotate(45deg); }
.burger.is-open span:last-child  { transform: translateY(-2.5px) rotate(-45deg); }

@media (min-width: 960px) {
  .site-nav { display: inline-flex; }
  .site-cta { display: inline-flex; }
  .burger   { display: none; }
}

/* ----------------------- PANEL (mobile menu) ----------------------- */
.panel {
  position: fixed; inset: 0;
  z-index: 99;
  background: var(--ink);
  color: var(--bone);
  padding: 5.5rem var(--gutter) 2rem;
  transform: translateY(-100%);
  transition: transform var(--t-mid) var(--ease-2);
  display: flex; flex-direction: column;
  gap: 2rem;
}
.panel.is-open { transform: translateY(0); }
.panel-inner { display: flex; flex-direction: column; gap: 2.5rem; flex: 1; }
.panel-nav {
  display: flex; flex-direction: column;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 11vw, 5rem);
  line-height: 1;
}
.panel-nav a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.12);
  transition: color var(--t-fast);
}
.panel-nav a:hover { color: var(--sage); }
.panel-nav .num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  align-self: center;
}
.panel-foot {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 0.6rem;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(243, 239, 230, 0.7);
}
.panel-foot a:hover { color: var(--sage); }

/* ----------------------- HERO ----------------------- */
.hero {
  min-height: 100svh;
  padding: 6rem var(--gutter) 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  flex: 1;
  align-items: end;
  margin-top: 3rem;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--col-gap);
  }
}

.hero-left { display: flex; flex-direction: column; gap: 1.75rem; }
.meta-top { letter-spacing: 0.12em; }

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.3rem, 13vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: flex; flex-direction: column;
}
.hero-title .line {
  display: block; overflow: hidden;
}
.hero-title .line-in {
  display: inline-block;
  transform: translateY(110%);
  animation: lineIn 1s var(--ease-2) forwards;
}
.hero-title .line:nth-child(2) .line-in { animation-delay: 0.12s; }
@keyframes lineIn { to { transform: translateY(0); } }
.hero-title i {
  font-family: var(--script);
  font-style: normal;
  color: var(--sage);
  padding-right: 0.08em;
  letter-spacing: 0;
  font-size: 0.92em; /* TAN Pearl runs visually larger */
  line-height: 0.95;
}

.hero-lede {
  max-width: 44ch;
  font-size: clamp(0.98rem, 1.2vw, 1.075rem);
  color: var(--ink-2);
  line-height: 1.55;
  font-weight: 400;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1.75rem;
  margin-top: 0.5rem;
  align-items: baseline;
}

.link {
  position: relative;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.4rem 0;
}
.link::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px; background: currentColor;
  transform-origin: right center;
  transform: scaleX(1);
  transition: transform var(--t-mid) var(--ease);
}
.link:hover::after { transform: scaleX(0); }
.link-arrow svg { transition: transform var(--t-mid) var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

.hero-right { position: relative; }
.hero-fig {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bone-soft);
}
.hero-fig img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
  transform: scale(1.05);
  transition: transform 1.6s var(--ease);
}
.hero-fig figcaption {
  position: absolute; left: 0.85rem; bottom: 0.85rem;
  color: var(--bone);
  background: rgba(22, 21, 19, 0.55);
  padding: 4px 8px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
@media (min-width: 900px) {
  .hero-fig { aspect-ratio: 3/4; }
}

.hero-foot {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  width: 100%;
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

/* ----------------------- TICKER ----------------------- */
.ticker {
  background: var(--ink);
  color: var(--bone);
  padding: 0.85rem 0;
  overflow: hidden;
  border-block: 1px solid var(--ink);
  cursor: grab;
  user-select: none;
}
.ticker:active { cursor: grabbing; }
.ticker.is-dragging .ticker-track { animation-play-state: paused; }
.ticker-track {
  display: inline-flex; align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: tick 42s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track i {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
}
.ticker-status {
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.ticker-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4b9d5c;
  box-shadow: 0 0 0 0 rgba(75, 157, 92, 0.6);
  animation: pulseOpen 2.4s var(--ease) infinite;
  display: inline-block;
}
.ticker.is-closed .ticker-status-dot {
  background: var(--sage);
  animation: pulseClosed 3s var(--ease) infinite;
}
@keyframes pulseOpen   { 0%,100% { box-shadow: 0 0 0 0 rgba(75, 157, 92, 0.45); } 50% { box-shadow: 0 0 0 6px rgba(75, 157, 92, 0); } }
@keyframes pulseClosed { 0%,100% { box-shadow: 0 0 0 0 rgba(78, 95, 63, 0.45); } 50% { box-shadow: 0 0 0 6px rgba(78, 95, 63, 0); } }
@keyframes tick { to { transform: translateX(-50%); } }

/* ----------------------- SECTION COMMON ----------------------- */
.section-meta { padding: clamp(4rem, 9vw, 7rem) var(--gutter) 2.5rem; max-width: var(--max); margin: 0 auto; }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 1.25rem;
  max-width: 22ch;
}
.section-title i {
  font-family: var(--script);
  font-style: normal;
  color: var(--sage);
  font-size: 0.92em;
  line-height: 0.95;
  letter-spacing: 0;
  padding-right: 0.05em;
}
.section-lede {
  max-width: 56ch;
  margin-top: 1.25rem;
  color: var(--ink-2);
  font-size: 1.025rem;
  line-height: 1.55;
}

/* ----------------------- INDEX (services) ----------------------- */
.index {
  position: relative;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.idx-list {
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.idx-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
  transition: background var(--t-fast), padding var(--t-mid) var(--ease);
  position: relative;
}
.idx-item .idx-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  display: inline-block;
  will-change: transform;
  transition: transform 0.55s var(--ease), color var(--t-fast) var(--ease);
}
.idx-item:hover .idx-num { color: var(--sage); }
.idx-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color var(--t-fast) var(--ease), transform var(--t-mid) var(--ease);
}
.idx-tags { font-size: 0.92rem; color: var(--ink-3); }
.idx-time { font-family: var(--mono); font-size: 11px; color: var(--ink-4); letter-spacing: 0.1em; text-transform: uppercase; }

@media (min-width: 800px) {
  .idx-item {
    grid-template-columns: 64px 1fr 1fr 160px;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.6rem 0;
  }
  .idx-item:hover { padding-left: 1rem; padding-right: 1rem; }
  .idx-item:hover .idx-name { color: var(--sage); }
}

/* hover preview (only desktop) */
.idx-preview {
  display: none;
}
@media (hover: hover) and (pointer: fine) and (min-width: 1080px) {
  .idx-preview {
    display: block;
    position: fixed;
    width: 280px; height: 350px;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
    opacity: 0;
    transform: translate(20px, -50%) scale(0.92);
    transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
    box-shadow: 0 30px 80px rgba(22, 21, 19, 0.25);
  }
  .idx-preview img {
    width: 100%; height: 100%; object-fit: cover;
    filter: contrast(1.02) saturate(0.95);
    transition: opacity var(--t-fast);
  }
  .idx-preview.is-active {
    opacity: 1;
    transform: translate(20px, -50%) scale(1);
  }
}

/* ----------------------- NOTE ----------------------- */
.note {
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
  max-width: 980px;
  margin: 0 auto;
}
.note .meta { margin-bottom: 1.5rem; }
.note-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.note-quote p { margin-bottom: 1.25rem; }
.note-quote footer {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ----------------------- SALON GALLERY ----------------------- */
.salon { padding-top: clamp(3rem, 6vw, 5rem); }
.salon-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 2.5rem;
}
.salon-head .section-title { margin-top: 1rem; }

.salon-scroll {
  display: flex;
  gap: 1rem;
  padding: 0 var(--gutter) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.salon-scroll::-webkit-scrollbar { display: none; }
.salon-fig {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: var(--bone-soft);
  overflow: hidden;
}
.sf-tall   { width: clamp(260px, 32vw, 460px); aspect-ratio: 3/4; }
.sf-wide   { width: clamp(380px, 50vw, 720px); aspect-ratio: 4/3; }
.sf-square { width: clamp(280px, 32vw, 460px); aspect-ratio: 1/1; }
.salon-fig img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.salon-fig:hover img { transform: scale(1.04); }
.salon-fig figcaption {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  background: rgba(22, 21, 19, 0.55);
  color: var(--bone);
  padding: 4px 8px; border-radius: 999px;
  backdrop-filter: blur(6px);
}

.salon-foot {
  display: flex; gap: 0.6rem;
  padding: 1rem var(--gutter) 0;
  max-width: var(--max);
  margin: 0 auto;
}

.salon-scroll { cursor: grab; }
.salon-scroll.is-dragging { cursor: grabbing; }
.salon-scroll.is-dragging * { pointer-events: none; }

.salon-progress {
  position: relative;
  height: 1px;
  margin: 0.5rem var(--gutter) 0;
  max-width: var(--max);
  background: var(--line-soft);
}
.salon-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--sage);
  transition: width 0.12s linear;
}

/* ----------------------- BRANDS ----------------------- */
.brands {
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.brands-eyebrow { margin-bottom: 1.5rem; }
.brands-row {
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.brands-row img {
  height: clamp(22px, 2.5vw, 30px);
  width: auto;
  filter: grayscale(1) brightness(0.2) contrast(1.1);
  opacity: 0.65;
  transition: opacity var(--t-fast);
}
.brands-row img:hover { opacity: 1; }
.brands-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ink-2);
}

/* ----------------------- TEAM ----------------------- */
.team { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.team-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 3rem;
}
.team-head .section-title { margin-top: 1rem; }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 760px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.member { display: flex; flex-direction: column; gap: 1rem; }
.member-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bone-soft);
}
.member-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease), filter var(--t-mid);
  filter: grayscale(0.15) contrast(1.05);
}
.member:hover .member-img img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1);
}
.member-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  background: linear-gradient(180deg, rgba(22,21,19,0) 0%, rgba(22,21,19,0.55) 55%, rgba(22,21,19,0.85) 100%);
  color: var(--bone);
  display: flex; flex-direction: column; gap: 0.35rem;
  transform: translateY(28%);
  opacity: 0;
  transition: transform 0.55s var(--ease-2), opacity 0.4s var(--ease);
  pointer-events: none;
}
.member-overlay h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.member-overlay h4 i {
  font-style: italic;
  color: var(--bone);
}
.member-overlay p {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.78);
}
.member:hover .member-overlay {
  transform: translateY(0);
  opacity: 1;
}
.member-meta { display: flex; flex-direction: column; gap: 0.35rem; }
.member-meta h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.member-role { color: var(--ink-3); font-size: 0.92rem; }

/* row layout on 3rd member (asymmetric vertical offset) */
@media (min-width: 760px) {
  .team-grid .member:nth-child(2) { transform: translateY(2.5rem); }
}

/* ----------------------- VOICES ----------------------- */
.voices {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.voices-eyebrow { margin-bottom: 0; }
.voices-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 2.5rem;
}
.voices-rating {
  display: inline-flex; align-items: baseline; flex-wrap: wrap;
  gap: 0.6rem;
}
.voices-stars {
  color: var(--sage);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.voices-rating-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "ss01";
}
.voices-rating-meta { color: var(--ink-3); }

.voices-foot {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem 3rem;
  align-items: center;
}

.voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 760px) {
  .voices-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
  /* 5 reviews -> last one spans full width to balance the grid */
  .voices-grid .voice:last-child { grid-column: 1 / -1; max-width: 60ch; }
}
@media (min-width: 1080px) {
  .voices-grid { grid-template-columns: repeat(3, 1fr); }
  .voices-grid .voice:last-child { grid-column: auto; max-width: none; }
  /* hang the 4th and 5th naturally on 3-col grid */
}
.voice {
  display: flex; flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0 1rem;
  border-top: 1px solid var(--line-soft);
  position: relative;
  will-change: transform;
}
.voice::before {
  content: "“";
  position: absolute;
  top: -0.3em;
  left: -0.05em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 1;
  color: var(--sage);
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
}
.voice p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding-top: 0.5rem;
}
.voice footer {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}

/* ----------------------- VISIT ----------------------- */
.visit {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 900px) {
  .visit-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: var(--col-gap);
    align-items: start;
  }
}
.visit-title .section-title { margin-top: 1rem; }

.ficha {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.ficha > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.ficha dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 0.2rem;
}
.ficha dd {
  font-size: 0.97rem;
  color: var(--ink);
  line-height: 1.55;
}
.ficha a { border-bottom: 1px solid var(--line); transition: border-color var(--t-fast), color var(--t-fast); }
.ficha a:hover { color: var(--sage); border-color: var(--sage); }

.visit-map {
  background: var(--bone-soft);
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.visit-map svg { width: 100%; height: 100%; }

.visit-cta {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .visit-cta { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.big-cta {
  display: flex; flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: color var(--t-mid) var(--ease);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.big-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease-2);
  z-index: -1;
}
.big-cta:hover::before { transform: scaleX(1); }
.big-cta:hover { color: var(--bone); padding-left: 1.5rem; }
.big-cta:hover .big-cta-sub { color: rgba(243, 239, 230, 0.7); }
.big-cta-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  transition: transform var(--t-mid) var(--ease);
}
.big-cta:hover .big-cta-num { transform: translateX(8px); }
.big-cta-sub { color: var(--ink-3); transition: color var(--t-mid) var(--ease); }

/* ----------------------- FOOTER (editorial pro) ----------------------- */
.site-foot {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(3rem, 5vw, 4.5rem) var(--gutter) 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.site-foot .meta { color: rgba(243, 239, 230, 0.55); }
.site-foot .meta .sep { color: rgba(243, 239, 230, 0.25); }
.site-foot a { transition: color var(--t-fast) var(--ease); }
.site-foot a:hover { color: var(--sage); }

/* eyebrow */
.foot-eyebrow {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: baseline;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(243, 239, 230, 0.12);
}
.foot-mark { gap: 0.55rem; align-items: center; }
.foot-logo {
  height: 22px; width: auto;
  display: inline-block;
  opacity: 0.95;
}
.foot-coords { color: rgba(243, 239, 230, 0.85); }

/* GRID 12-col asimétrico */
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}
@media (min-width: 900px) {
  .foot-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--col-gap);
    align-items: start;
  }
  .foot-map   { grid-column: span 6; }
  .foot-ficha { grid-column: span 4; }
  .foot-side  { grid-column: span 2; }
}

/* MAPA */
.foot-map {
  position: relative;
  background: #1d1c19;
  border: 1px solid rgba(243, 239, 230, 0.08);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.foot-map svg { width: 100%; height: 100%; display: block; }
.foot-map-cap {
  position: absolute; left: 0.85rem; bottom: 0.85rem; right: 0.85rem;
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  font-size: 10px;
  background: rgba(22, 21, 19, 0.7);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.foot-map-cap a { color: var(--bone); border-bottom: 1px solid rgba(243, 239, 230, 0.3); padding-bottom: 1px; }
.foot-map-cap a:hover { color: var(--sage); border-color: var(--sage); }

/* FICHA TÉCNICA */
.foot-ficha {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.foot-ficha > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(243, 239, 230, 0.08);
}
.foot-ficha > div:last-child { border-bottom: 0; padding-bottom: 0; }
.foot-ficha dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.45);
  padding-top: 0.15rem;
}
.foot-ficha dd {
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--bone);
}
.foot-ficha dd.mono {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(243, 239, 230, 0.85);
}
.foot-ficha a {
  border-bottom: 1px solid rgba(243, 239, 230, 0.18);
  padding-bottom: 1px;
}
.foot-ficha a:hover { border-color: var(--sage); }
.foot-ficha .row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 2px 0;
}
.foot-ficha .row.muted { color: rgba(243, 239, 230, 0.4); }

/* REDES + CRÉDITOS */
.foot-side {
  display: flex; flex-direction: column;
  gap: 1.5rem;
}
.foot-social {
  display: flex; flex-direction: column;
  gap: 0.55rem;
}
.foot-social a {
  display: inline-flex; align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot-social svg {
  color: rgba(243, 239, 230, 0.55);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.foot-social a:hover svg {
  color: var(--sage);
  transform: translateY(-1px);
}

.foot-credits {
  margin-top: auto;
  display: flex; flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 239, 230, 0.08);
}
.foot-typo i {
  font-family: var(--serif);
  font-style: italic;
  color: var(--bone);
  text-transform: none;
  font-size: 0.92rem;
  letter-spacing: 0;
}
.foot-typo {
  color: rgba(243, 239, 230, 0.5);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 10.5px;
}
.foot-sign {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: rgba(243, 239, 230, 0.7);
  margin-top: 0.2rem;
}
.foot-sign i {
  font-style: italic;
  color: var(--bone);
}
.foot-sign a {
  border-bottom: 1px solid rgba(243, 239, 230, 0.2);
  padding-bottom: 1px;
}
.foot-sign a:hover { border-color: var(--sage); }

/* MARQUEE inferior */
.foot-marquee {
  margin: 0 calc(var(--gutter) * -1);
  border-top: 1px solid rgba(243, 239, 230, 0.12);
  padding: 0.85rem 0;
  overflow: hidden;
  background: var(--ink);
}
.foot-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.55);
  animation: tickFoot 65s linear infinite;
}
.foot-marquee-track i {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--sage);
  border-radius: 50%;
  opacity: 0.7;
}
@keyframes tickFoot { to { transform: translateX(-50%); } }

@media (max-width: 720px) {
  .foot-ficha > div { grid-template-columns: 80px 1fr; }
  .foot-eyebrow { gap: 0.5rem; }
}

/* ----------------------- REVEAL ----------------------- */
.r-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.r-fade.is-in { opacity: 1; transform: translateY(0); }

/* Vertical clip-path wipe reveal (for salon-fig images) */
.r-wipe {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.05s var(--ease-2);
}
.r-wipe.is-in { clip-path: inset(0 0 0 0); }

/* ----------------------- REDUCED MOTION ----------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-title .line-in { transform: translateY(0); }
  .r-fade { opacity: 1; transform: none; }
  .r-wipe { clip-path: inset(0 0 0 0); }
  .cursor { display: none !important; }
  body.has-cursor { cursor: auto; }
  .ticker-track,
  .foot-marquee-track { animation: none !important; transform: none !important; }
  .ticker-status-dot { animation: none !important; }
  .site-cta .dot { animation: none !important; }
  .scroll-progress { display: none; }
  .foot-map-pin circle { animation: none !important; }
  .member-overlay { opacity: 1; transform: translateY(0); }
}
