/* =====================================================
   GABRIELA JAÉN PHOTOGRAPHY — Design System v2
   ===================================================== */

:root {
  --bone:        #F5F0E8;
  --bone-soft:   #EDE6D8;
  --bone-warm:   #E6DDCB;
  --cream:       #FBF8F2;
  --espresso:    #2A1F18;
  --espresso-2:  #1A130E;
  --ink:         #14100C;
  --soft-brown:  #6B5544;
  --mid-brown:   #877360;
  --muted-gold:  #B08D5A;
  --gold-deep:   #8C6A3B;
  --rose-dust:   #C9A491;
  --line:        rgba(42, 31, 24, 0.18);
  --line-soft:   rgba(42, 31, 24, 0.10);

  --d-bg:        #0E0A07;
  --d-bg-2:      #15100B;
  --d-fg:        #E8DFCF;
  --d-fg-soft:   #B6A990;
  --d-line:      rgba(232, 223, 207, 0.18);
  --d-gold:      #C9A45F;

  --f-display:   "Italiana", "Cormorant Garamond", serif;
  --f-funnel:    "Funnel Display", "Hanken Grotesk", sans-serif;
  --f-serif:     "Cormorant Garamond", "Times New Roman", serif;
  --f-sans:      "Hanken Grotesk", -apple-system, "Helvetica Neue", sans-serif;

  --fs-hero:     clamp(3.2rem, 9vw, 9rem);
  --fs-display:  clamp(2.4rem, 5.5vw, 5rem);
  --fs-body:     clamp(0.98rem, 1.05vw, 1.06rem);
  --fs-eyebrow:  14px;

  --maxw:        1480px;
  --gutter:      clamp(1.25rem, 4vw, 4rem);

  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast:      280ms;
  --t-med:       520ms;
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--espresso);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 350;
  line-height: 1.6;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul,ol { list-style: none; padding: 0; margin: 0; }
figure, p { margin: 0; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-weight: 400; }
::selection { background: var(--espresso); color: var(--cream); }

/* EYEBROW now uses Funnel Display 14px (per request) */
.eyebrow {
  font-family: var(--f-funnel);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mid-brown);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--mid-brown);
}

.serif-italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}

.lede {
  font-family: var(--f-serif);
  font-size: clamp(1.15rem, 1.55vw, 1.35rem);
  line-height: 1.55;
  color: var(--soft-brown);
  font-weight: 400;
}

/* Section-label small typography — Funnel Display 14px */
.section-label {
  font-family: var(--f-funnel);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* Bigger highlight note (replaces the tiny italic note) */
.note-highlight {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.4;
  color: var(--soft-brown);
  max-width: 58ch;
  letter-spacing: -0.005em;
}
.note-highlight strong {
  display: inline-block;
  font-family: var(--f-funnel);
  font-style: normal;
  font-weight: 500;
  color: var(--espresso);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.55em;
  margin-right: 0.9em;
  padding: 0.4em 0.9em;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  vertical-align: middle;
}
.section--dark .note-highlight { color: var(--d-fg-soft); }
.section--dark .note-highlight strong {
  color: var(--d-fg);
  background: rgba(232,223,207,0.08);
  border-color: var(--d-line);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(4rem, 9vw, 9rem) 0; position: relative; }
.section--dark { background: var(--d-bg); color: var(--d-fg); }
.section--cream { background: var(--cream); }
.section--warm  { background: var(--bone-warm); }

/* -------- NAV -------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  transition: background var(--t-fast) var(--ease), padding var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav--scrolled {
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-soft);
}
.nav--dark { color: var(--d-fg); }
.nav--dark.nav--scrolled {
  background: rgba(14, 10, 7, 0.85);
  border-bottom-color: var(--d-line);
}

/* New nav brand with image logo + g mark */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: transform var(--t-fast) var(--ease);
}
.nav__brand:hover { transform: scale(1.02); }
.nav__brand-mark {
    display: block !important; /* Asegura que no esté oculto */
    height: 150px !important;  /* Ajusta este valor (80px, 100px, 120px) hasta que te guste */
    width: auto !important;    /* Mantiene la proporción para que no se deforme */
    max-height: none !important; 
}
.nav__brand-text {
  height: 50px;
  width: auto;
}
/* nav--dark uses light logos */
.nav--dark .nav__brand-mark.light-only,
.nav--dark .nav__brand-text.light-only { display: block; }
.nav--dark .nav__brand-mark.dark-only,
.nav--dark .nav__brand-text.dark-only { display: none; }
.nav__brand-mark.light-only,
.nav__brand-text.light-only { display: none; }
.nav__brand-mark.dark-only,
.nav__brand-text.dark-only { display: block; }

.nav__menu {
  display: flex;
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
  justify-content: center;
}
.nav__link {
  position: relative;
  font-family: var(--f-funnel);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.4rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width var(--t-med) var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

.nav__has-sub { position: relative; }
.nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--cream);
  color: var(--espresso);
  padding: 1.1rem 1.4rem;
  min-width: 220px;
  border: 1px solid var(--line-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 30px 60px -30px rgba(42,31,24,0.25);
}
.nav__has-sub:hover .nav__sub {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__sub a {
  font-size: 0.85rem;
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--espresso);
}
.nav__sub a:hover { color: var(--muted-gold); }

.nav__cta { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.nav__ig {
  font-family: var(--f-funnel);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav__toggle {
  display: none;
  width: 38px; height: 38px;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1px;
  background: currentColor;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav__toggle span:nth-child(3) { top: 24px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.nav__sheet {
  position: fixed;
  inset: 0;
  background: var(--bone);
  z-index: 99;
  padding: 6rem var(--gutter) 3rem;
  transform: translateY(-100%);
  transition: transform var(--t-med) var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.nav__sheet.is-open { transform: translateY(0); }
.nav__sheet a {
  font-family: var(--f-display);
  font-size: clamp(2rem, 7vw, 3.2rem);
  display: block;
  border-bottom: 1px solid var(--line-soft);
  padding: 0.7rem 0;
}
.nav__sheet a:hover { color: var(--muted-gold); }
.nav__sheet .sub-link {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem;
  padding: 0.3rem 0 0.3rem 1.5rem;
  border: 0;
  color: var(--soft-brown);
}

/* -------- HERO -------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(4rem, 10vh, 7rem);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,10,7,0.15) 0%, rgba(14,10,7,0.05) 30%, rgba(14,10,7,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  padding: 0 var(--gutter);
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero__eyebrow { color: rgba(251, 248, 242, 0.85); }
.hero__eyebrow::before { background: rgba(251, 248, 242, 0.7); }
.hero__title {
  font-family: var(--f-display);
  font-size: var(--fs-hero);
  line-height: 0.92;
  letter-spacing: -0.015em;
  margin: 1.5rem 0 1.5rem;
  max-width: 14ch;
}
.hero__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85em;
}
.hero__sub {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  max-width: 38ch;
  color: rgba(251, 248, 242, 0.92);
  line-height: 1.5;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-funnel);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.75);
}
.hero__scroll-line {
  width: 1px; height: 50px;
  background: rgba(251, 248, 242, 0.5);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--cream);
  animation: scrollDown 2.4s var(--ease) infinite;
}
@keyframes scrollDown {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* HERO SLIDER */
.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 7s linear;
}
.hero__slide.is-active img { transform: scale(1.14); }

.hero__slider-nav {
  position: absolute;
  bottom: 2.4rem;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.hero__dot {
  width: 28px;
  height: 1px;
  background: rgba(251, 248, 242, 0.35);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), width var(--t-fast) var(--ease);
  border: 0;
  padding: 0;
}
.hero__dot.is-active {
  background: var(--cream);
  width: 48px;
}

/* -------- SECTION HEADINGS -------- */
.s-head {
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  max-width: 920px;
}
.s-head__title {
  font-family: var(--f-display);
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 1rem 0 1.25rem;
}
.s-head__title em {
  font-family: var(--f-serif);
  font-style: italic;
}
.s-head__lede { max-width: 56ch; }
.s-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head--center .eyebrow { justify-content: center; }

/* -------- BUTTONS (FIXED HOVER) -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.05rem 2rem 1rem;
  font-family: var(--f-funnel);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid currentColor;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  background: transparent;
  transition: color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--t-med) var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn .arrow {
  display: inline-block;
  transition: transform var(--t-med) var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* Solid: dark bg, hover fills cream and text becomes dark */
.btn--solid {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}
.btn--solid::before { background: var(--cream); }
.btn--solid:hover { color: var(--espresso); }

/* Ghost light: dark text, hover fills dark and text becomes cream */
.btn--ghost {
  color: var(--espresso);
  border-color: var(--espresso);
}
.btn--ghost::before { background: var(--espresso); }
.btn--ghost:hover { color: var(--cream); }

/* Ghost dark: cream text, hover fills cream and text becomes dark */
.btn--ghost.btn--on-dark,
body.dark .btn--ghost,
.section--dark .btn--ghost {
  color: var(--cream);
  border-color: var(--cream);
}
.btn--ghost.btn--on-dark::before,
body.dark .btn--ghost::before,
.section--dark .btn--ghost::before { background: var(--cream); }
.btn--ghost.btn--on-dark:hover,
body.dark .btn--ghost:hover,
.section--dark .btn--ghost:hover { color: var(--espresso); }

/* Gold (Lienzos / accents) */
.btn--gold {
  background: var(--muted-gold);
  border-color: var(--muted-gold);
  color: var(--cream);
}
.btn--gold::before { background: var(--espresso); }
.btn--gold:hover { color: var(--cream); border-color: var(--espresso); }

/* -------- IMAGE PRIMITIVES -------- */
.fig {
  position: relative;
  overflow: hidden;
  background: var(--bone-warm);
}
.fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.fig:hover img { transform: scale(1.04); }

/* -------- SIGNATURE GRID -------- */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 1.6vw, 1.5rem);
  align-items: end;
}
.sg-1 { grid-column: 1 / span 4; aspect-ratio: 3/4; }
.sg-2 { grid-column: 5 / span 4; aspect-ratio: 4/5; transform: translateY(-3vw); }
.sg-3 { grid-column: 9 / span 4; aspect-ratio: 3/4; transform: translateY(3vw); }
@media (max-width: 720px) {
  .sg-1, .sg-2, .sg-3 { grid-column: span 12; transform: none; aspect-ratio: 4/5; }
}

/* -------- SERVICES CARDS -------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2vw, 2rem);
}
.svc {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5/6;
  background: var(--ink);
  isolation: isolate;
}
.svc img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: opacity var(--t-med) var(--ease), transform 1.4s var(--ease);
}
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,10,7,0.0) 35%, rgba(14,10,7,0.75) 100%);
  z-index: 0;
}
.svc:hover img { opacity: 0.62; transform: scale(1.04); }
.svc__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
}
.svc__no {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.6rem;
}
.svc__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.svc__desc {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1rem;
  max-width: 32ch;
  opacity: 0.86;
  margin-bottom: 1.2rem;
}
.svc__link {
  font-family: var(--f-funnel);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.4rem;
  align-self: flex-start;
  transition: gap var(--t-med) var(--ease);
}
.svc:hover .svc__link { gap: 1rem; }
@media (max-width: 720px) { .services { grid-template-columns: 1fr; } }

/* -------- SPLIT (about, etc.) -------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split__media { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split__media { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* -------- TESTIMONIAL SLIDER (NEW — glassmorphism) -------- */
.testimonial-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
  background: var(--bone-warm);
  overflow: hidden;
}
.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(176, 141, 90, 0.20) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(201, 164, 145, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.section--dark.testimonial-section { background: var(--d-bg-2); }
.section--dark.testimonial-section::before {
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(201, 164, 95, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(232, 223, 207, 0.10) 0%, transparent 70%);
}

.testimonial-slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 5rem);
  z-index: 2;
}
.testimonial-track {
  position: relative;
  min-height: 460px;
}
@media (max-width: 720px) { .testimonial-track { min-height: 700px; } }

.testimonial-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.8rem);
  background: rgba(255, 252, 245, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 10px 40px -10px rgba(42, 31, 24, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.testimonial-card.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.testimonial-card.is-prev { transform: translateX(-40px); }
.section--dark .testimonial-card {
  background: rgba(232, 223, 207, 0.06);
  border-color: rgba(232, 223, 207, 0.2);
  color: var(--d-fg);
  box-shadow:
    0 10px 40px -10px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(232, 223, 207, 0.18);
}

.testimonial-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 14px 30px -12px rgba(42, 31, 24, 0.35);
}
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.testimonial-quote-mark {
  font-family: var(--f-display);
  font-size: 4rem;
  line-height: 0.4;
  color: var(--muted-gold);
  margin-bottom: -0.4rem;
}
.section--dark .testimonial-quote-mark { color: var(--d-gold); }

.testimonial-text {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--espresso);
}
.section--dark .testimonial-text { color: var(--d-fg); }

.testimonial-meta {
  font-family: var(--f-funnel);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid-brown);
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
  margin-top: 0.4rem;
}
.section--dark .testimonial-meta {
  color: var(--d-fg-soft);
  border-top-color: var(--d-line);
}
.testimonial-meta strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--espresso);
  margin-bottom: 0.2rem;
}
.section--dark .testimonial-meta strong { color: var(--d-fg); }

.testimonial-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  gap: 1rem;
}
.testimonial-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-med) var(--ease);
  position: relative;
}
.testimonial-arrow svg {
  width: 22px; height: 22px;
  stroke: var(--espresso);
  stroke-width: 1.2;
  fill: none;
  transition: transform var(--t-med) var(--ease);
}
.section--dark .testimonial-arrow {
  border-color: var(--d-line);
  background: rgba(232, 223, 207, 0.05);
}
.section--dark .testimonial-arrow svg { stroke: var(--d-fg); }
.testimonial-arrow:hover {
  background: var(--espresso);
  border-color: var(--espresso);
}
.testimonial-arrow:hover svg { stroke: var(--cream); }
.testimonial-arrow--prev:hover svg { transform: translateX(-4px); }
.testimonial-arrow--next:hover svg { transform: translateX(4px); }
.testimonial-arrow::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.25;
  animation: arrowPulse 2.4s var(--ease) infinite;
}
@keyframes arrowPulse {
  0%   { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.35); opacity: 0; }
}

.testimonial-counter {
  font-family: var(--f-funnel);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mid-brown);
}
.section--dark .testimonial-counter { color: var(--d-fg-soft); }
.testimonial-counter .current {
  font-size: 1.4rem;
  color: var(--espresso);
  font-family: var(--f-display);
  letter-spacing: 0;
  vertical-align: middle;
  margin-right: 0.4em;
}
.section--dark .testimonial-counter .current { color: var(--d-fg); }

@media (max-width: 720px) {
  .testimonial-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .testimonial-photo { max-width: 200px; margin: 0 auto; }
}

/* -------- PACKAGES -------- */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; } }
.pkg {
  background: var(--cream);
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
  border: 1px solid var(--line-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.pkg:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -30px rgba(42,31,24,0.15);
}
.pkg--featured {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}
.pkg--featured .pkg__bullets li { border-bottom-color: rgba(251, 248, 242, 0.15); }
.pkg--featured .pkg__bullets li::before { color: var(--d-gold); }
.pkg__name {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.pkg__tag {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 1.4rem;
}
.pkg__bullets { flex: 1; margin-bottom: 1.6rem; }
.pkg__bullets li {
  padding: 0.65rem 0 0.65rem 1.6rem;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--line-soft);
}
.pkg__bullets li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 0.65rem;
  color: var(--muted-gold);
  font-size: 0.7rem;
}
.pkg__cta { margin-top: auto; }

/* -------- GALLERY (FIXED — no gaps) -------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1.2rem);
}
.gallery .fig {
  grid-column: span 1;
  aspect-ratio: 3/4;
}
.gallery .fig.wide   { grid-column: span 2; aspect-ratio: 4/3; }
.gallery .fig.tall   { grid-row: span 2; aspect-ratio: 3/5; }
.gallery .fig.full   { grid-column: span 4; aspect-ratio: 16/9; }
.gallery .fig.land   { aspect-ratio: 5/4; }
@media (max-width: 880px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .fig.wide   { grid-column: span 2; aspect-ratio: 4/3; }
  .gallery .fig.tall   { grid-row: span 1; aspect-ratio: 3/4; }
  .gallery .fig.full   { grid-column: span 2; aspect-ratio: 4/3; }
}

/* Editorial mixed-aspect — guaranteed full rows */
.gallery-mix {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1.2rem);
}
.gallery-mix .fig:nth-child(6n+1) { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-mix .fig:nth-child(6n+2) { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-mix .fig:nth-child(6n+3) { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-mix .fig:nth-child(6n+4) { grid-column: span 6; aspect-ratio: 5/4; }
.gallery-mix .fig:nth-child(6n+5) { grid-column: span 6; aspect-ratio: 5/4; }
.gallery-mix .fig:nth-child(6n+6) { grid-column: span 12; aspect-ratio: 21/9; }
@media (max-width: 720px) {
  .gallery-mix .fig:nth-child(n) { grid-column: span 6; aspect-ratio: 3/4; }
  .gallery-mix .fig:nth-child(6n+6) { grid-column: span 12; aspect-ratio: 16/9; }
}

/* Editorial split gallery */
.editorial-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
}
.editorial-gallery .fig:nth-child(1) { grid-column: 1 / span 5; aspect-ratio: 4/5; }
.editorial-gallery .fig:nth-child(2) { grid-column: 7 / span 5; aspect-ratio: 3/4; margin-top: 6vw; }
.editorial-gallery .fig:nth-child(3) { grid-column: 3 / span 4; aspect-ratio: 4/5; margin-top: 2vw; }
.editorial-gallery .fig:nth-child(4) { grid-column: 8 / span 5; aspect-ratio: 3/4; margin-top: -3vw; }
@media (max-width: 880px) {
  .editorial-gallery .fig { grid-column: span 12 !important; margin: 0 !important; aspect-ratio: 4/5; }
}

/* -------- DETAILS LIST (with icon support) -------- */
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.details > div {
  padding: 2rem clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--line-soft);
}
.details > div:last-child { border-right: none; }
.details__no {
  font-family: var(--f-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--muted-gold);
  margin-bottom: 0.8rem;
}
.details__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--muted-gold);
}
.details__icon svg {
  width: 100%; height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.details__title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.details__body { font-size: 0.95rem; color: var(--soft-brown); }
@media (max-width: 800px) {
  .details { grid-template-columns: 1fr; }
  .details > div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .details > div:last-child { border-bottom: 0; }
}

/* -------- PHONE NUMBER STYLE (changed to elegant display serif) -------- */
.phone-display {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  margin: 1.4rem 0;
  font-weight: 400;
  line-height: 1;
}

/* -------- FOOTER -------- */
.footer {
  background: var(--d-bg);
  color: var(--d-fg);
  padding: clamp(4rem, 8vw, 7rem) 0 2rem;
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 4rem;
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.6rem;
}
.footer__brand-logo--lp { width: 140px; }
.footer__tag {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--d-fg-soft);
  max-width: 32ch;
  margin-bottom: 1.4rem;
}
.footer__heading {
  font-family: var(--f-funnel);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--d-gold);
  margin-bottom: 1.2rem;
}
.footer__col ul li { padding: 0.35rem 0; }
.footer__col a {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--d-fg);
  transition: color var(--t-fast) var(--ease);
}
.footer__col a:hover { color: var(--d-gold); }

.footer__pay {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--d-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__pay-label {
  font-family: var(--f-funnel);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--d-fg-soft);
}
.footer__cards {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer__card {
  height: 32px;
  min-width: 52px;
  padding: 0 0.7rem;
  background: rgba(232,223,207,0.06);
  border: 1px solid var(--d-line);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast) var(--ease);
}
.footer__card:hover { background: rgba(232,223,207,0.12); }
.footer__card svg { height: 18px; width: auto; }

.footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--d-line);
  font-family: var(--f-funnel);
  font-size: 12px;
  color: var(--d-fg-soft);
  flex-wrap: wrap;
  gap: 1rem;
  letter-spacing: 0.04em;
}

/* -------- DARK SECTION OVERRIDES -------- */
.section--dark .eyebrow { color: var(--d-fg-soft); }
.section--dark .eyebrow::before { background: var(--d-fg-soft); }
.section--dark .lede { color: var(--d-fg-soft); }
.section--dark .details { border-color: var(--d-line); }
.section--dark .details > div { border-right-color: var(--d-line); }
.section--dark .details__title { color: var(--d-fg); }
.section--dark .details__body { color: var(--d-fg-soft); }
.section--dark .details__no { color: var(--d-gold); }
.section--dark .details__icon { color: var(--d-gold); }
.section--dark .pkg { background: var(--d-bg-2); color: var(--d-fg); border-color: var(--d-line); }
.section--dark .pkg__bullets li { border-bottom-color: var(--d-line); }
.section--dark .section-label { color: var(--d-fg-soft); }

/* Dark body (full dark pages) */
body.dark { background: var(--d-bg); color: var(--d-fg); }
body.dark .nav { color: var(--d-fg); }
body.dark .nav--scrolled {
  background: rgba(14,10,7,0.85);
  border-bottom-color: var(--d-line);
}
body.dark .nav__sub {
  background: var(--d-bg-2);
  border-color: var(--d-line);
  color: var(--d-fg);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
body.dark .nav__sub a { color: var(--d-fg); }
body.dark .nav__sub a:hover { color: var(--d-gold); }
body.dark .nav__sheet { background: var(--d-bg); }
body.dark .eyebrow { color: var(--d-fg-soft); }
body.dark .eyebrow::before { background: var(--d-fg-soft); }
body.dark .lede { color: var(--d-fg-soft); }

/* -------- SCROLL REVEAL -------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.22s; }
.reveal--delay-3 { transition-delay: 0.32s; }
.reveal--delay-4 { transition-delay: 0.42s; }

.mask-reveal {
  position: relative;
  overflow: hidden;
}
.mask-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bone);
  transform-origin: top;
  transform: scaleY(1);
  transition: transform 1.4s var(--ease);
  z-index: 3;
}
.section--dark .mask-reveal::after,
body.dark .mask-reveal::after { background: var(--d-bg); }
.mask-reveal.is-in::after { transform: scaleY(0); transform-origin: bottom; }
.mask-reveal img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.mask-reveal.is-in img { transform: scale(1); }

.hero__title, .hero__sub, .hero__eyebrow {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.hero.is-loaded .hero__eyebrow { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.hero.is-loaded .hero__title  { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.hero.is-loaded .hero__sub    { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }

/* -------- UTILITIES -------- */
.center { text-align: center; }
.right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

/* G mark decorative */
.g-mark {
  position: absolute;
  width: clamp(120px, 16vw, 220px);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.g-mark--tr { top: 4rem; right: 4rem; }
.g-mark--bl { bottom: 4rem; left: 4rem; }
.g-mark--br { bottom: 4rem; right: 4rem; }
.section--dark .g-mark { filter: invert(1); opacity: 0.08; }

/* Numbered process (with icon support + SVG draw animation) */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.process__item {
  padding: 2.5rem clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--line-soft);
  position: relative;
  counter-increment: step;
}
.process__item:last-child { border-right: none; }
.process__item::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--muted-gold);
  display: block;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.process__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.4rem;
  color: var(--muted-gold);
}
.process__icon svg {
  width: 100%; height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.process__title {
  font-family: var(--f-display);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.process__desc { font-size: 0.92rem; color: var(--soft-brown); }
.section--dark .process__item { border-right-color: var(--d-line); }
.section--dark .process__item::before { color: var(--d-gold); }
.section--dark .process__icon { color: var(--d-gold); }
.section--dark .process__desc { color: var(--d-fg-soft); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process__item:nth-child(2n) { border-right: none; }
  .process__item { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .process__item { border-right: none; border-bottom: 1px solid var(--line-soft); }
}

/* Animated SVG paths */
.svg-animated path,
.svg-animated circle,
.svg-animated line,
.svg-animated polyline,
.svg-animated rect {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawIn 2.4s var(--ease) forwards;
}
.process__item.is-in .process__icon.svg-animated path,
.process__item.is-in .process__icon.svg-animated circle,
.process__item.is-in .process__icon.svg-animated line,
.process__item.is-in .process__icon.svg-animated polyline,
.process__item.is-in .process__icon.svg-animated rect {
  animation-play-state: running;
}
@keyframes drawIn {
  to { stroke-dashoffset: 0; }
}

/* Page header */
.page-header {
  padding-top: clamp(8rem, 18vh, 14rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-header__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  position: relative;
  z-index: 1;
}
.page-header__title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.page-header__title em {
  font-family: var(--f-serif);
  font-style: italic;
}
@media (max-width: 800px) { .page-header__inner { grid-template-columns: 1fr; } }

/* Session cards */
.session-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--ink);
  display: block;
}
.session-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), opacity var(--t-med) var(--ease);
  opacity: 0.86;
}
.session-card:hover img { transform: scale(1.06); opacity: 1; }
.session-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(14,10,7,0.78) 100%);
  pointer-events: none;
}
.session-card__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
}
.session-card__label {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 0.4rem;
}
.session-card__title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.session-card__price {
  font-family: var(--f-funnel);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1rem;
}
.session-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-funnel);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.4rem;
  align-self: flex-start;
  transition: gap var(--t-med) var(--ease);
}
.session-card:hover .session-card__arrow { gap: 1rem; }

/* Bodas wall */
.bodas-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.6rem, 1vw, 1rem);
}
.bw-1 { grid-column: span 6; aspect-ratio: 4/3; }
.bw-2 { grid-column: span 6; aspect-ratio: 4/3; }
.bw-3 { grid-column: span 4; aspect-ratio: 3/4; }
.bw-4 { grid-column: span 4; aspect-ratio: 3/4; }
.bw-5 { grid-column: span 4; aspect-ratio: 3/4; }
.bw-gif { grid-column: span 6; aspect-ratio: 16/9; }
@media (max-width: 760px) {
  .bw-1, .bw-2, .bw-3, .bw-4, .bw-5, .bw-gif { grid-column: span 12; aspect-ratio: 4/5; }
}

/* Contact strip */
.contact-strip {
  padding: clamp(4rem, 7vw, 6rem) 0;
  text-align: center;
  background: var(--bone-warm);
}
.contact-strip h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  margin-bottom: 1.4rem;
}
.contact-strip h2 em { font-family: var(--f-serif); font-style: italic; }
.contact-strip__phone {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  margin: 1.4rem 0;
}

/* Lienzos tiers */
.lienzos-pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2vw, 2rem);
}
@media (max-width: 900px) { .lienzos-pkg-grid { grid-template-columns: 1fr; } }

.tier {
  padding: clamp(2rem, 3vw, 2.8rem);
  background: var(--cream);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.tier:hover { transform: translateY(-6px); }
.tier__name {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.tier__price {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted-gold);
  margin-bottom: 1.4rem;
}
.tier__list { flex: 1; }
.tier__list li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--line-soft);
}
.tier__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0.55rem;
  color: var(--muted-gold);
}

/* Lienzos materials (with real texture images) */
.material {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 1rem;
}
.material__swatch {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    inset 0 -8px 20px rgba(42,31,24,0.08),
    0 12px 28px -12px rgba(42,31,24,0.22);
  position: relative;
}
.material__swatch img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.material h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.material p { color: var(--soft-brown); font-size: 0.95rem; }

@media (max-width: 880px) {
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  .nav__cta .nav__ig { display: none; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14,10,7,0.96);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
  padding: 2rem;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__inner { max-width: min(92vw, 1200px); max-height: 86vh; position: relative; }
.lightbox__inner img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  color: var(--d-fg);
  font-size: 2rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--d-line);
  border-radius: 50%;
  background: rgba(14,10,7,0.4);
  backdrop-filter: blur(8px);
}
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev  { top: 50%; left: 1.5rem; transform: translateY(-50%); }
.lightbox__next  { top: 50%; right: 1.5rem; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover {
  background: var(--d-fg); color: var(--d-bg);
}
.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--d-fg-soft);
  font-family: var(--f-funnel);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
[data-lightbox] { cursor: zoom-in; }

/* ---------- Process animated icons ---------- */
.process--animated .process__item { position: relative; padding-top: 4rem; }
.process__icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  color: var(--d-gold);
  display: block;
}
.process__icon svg { width: 100%; height: 100%; }
.svg-animated svg path,
.svg-animated svg rect,
.svg-animated svg circle {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw 1.8s var(--ease) forwards;
}
.svg-animated svg circle:nth-of-type(2) { animation-delay: 0.4s; }
.svg-animated svg path:nth-of-type(2) { animation-delay: 0.3s; }
.svg-animated svg path:nth-of-type(3) { animation-delay: 0.6s; }
.process__item.reveal--delay-1 .svg-animated svg path,
.process__item.reveal--delay-1 .svg-animated svg rect,
.process__item.reveal--delay-1 .svg-animated svg circle { animation-delay: 0.4s; }
.process__item.reveal--delay-2 .svg-animated svg path,
.process__item.reveal--delay-2 .svg-animated svg rect,
.process__item.reveal--delay-2 .svg-animated svg circle { animation-delay: 0.8s; }
.process__item.reveal--delay-3 .svg-animated svg path,
.process__item.reveal--delay-3 .svg-animated svg rect,
.process__item.reveal--delay-3 .svg-animated svg circle { animation-delay: 1.2s; }
@keyframes draw {
  to { stroke-dashoffset: 0; }
}

/* ---------- Details icons (Beauty/Mom-Baby) ---------- */
.details__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  color: var(--muted-gold);
}
.details__icon svg { width: 100%; height: 100%; }
.section--dark .details__icon,
body.dark .details__icon { color: var(--d-gold); }

/* ---------- ICON FEATURES (Lienzos for-who grid) ---------- */
.icon-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.icon-feature {
  padding: clamp(2rem, 3vw, 3rem) clamp(1.2rem, 2vw, 2rem);
  border-right: 1px solid var(--line-soft);
}
.icon-feature:last-child { border-right: none; }
.icon-feature__icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  color: var(--muted-gold);
}
.icon-feature__icon svg { width: 100%; height: 100%; stroke-width: 1.2; }
.icon-feature__title {
  font-family: var(--f-display);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.icon-feature__body {
  font-size: 0.92rem;
  color: var(--soft-brown);
}
@media (max-width: 800px) {
  .icon-features { grid-template-columns: 1fr; }
  .icon-feature { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .icon-feature:last-child { border-bottom: 0; }
}

/* ---------- NAV BRAND MARK ---------- */
.nav__brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.nav__brand-mark__icon {
  width: 30px;
  height: 80px;
  flex-shrink: 0;
}
.nav__brand-mark__icon img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.nav__brand-mark__text {
  font-family: var(--f-display);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--espresso);
}
.nav__brand-mark__text small {
  font-family: var(--f-funnel);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  display: block;
  margin-top: 5px;
  opacity: 0.7;
  font-weight: 500;
  text-transform: uppercase;
}
/* Dark mode body */
body.dark .nav__brand-mark__icon img { filter: invert(1) brightness(1.05); }
body.dark .nav__brand-mark__text { color: var(--cream); }
body.dark .nav .nav__link { color: var(--cream); }

/* ---------- LP HERO LOGO BIGGER ---------- */
.lp-mark { width: 140px !important; margin-bottom: 1.8rem !important; }
@media (max-width: 720px) { .lp-mark { width: 110px !important; } }

/* ---------- BG MARK DECORATIVE ---------- */
.bg-mark {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
}
.bg-mark img { width: 100%; height: auto; display: block; }
.bg-mark--br { bottom: -8%; right: -4%; width: 32vw; max-width: 460px; }

/* ---------- SESSION CALLOUT ---------- */
.session-callout {
  text-align: center;
  margin: clamp(3rem, 5vw, 5rem) auto 0;
  max-width: 720px;
}
.session-callout__eyebrow {
  font-family: var(--f-funnel);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mid-brown);
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.session-callout__text {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}
.session-callout__text em {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--muted-gold);
}

/* ---------- LIENZOS LOGO WORDMARK ---------- */
.lienzos-logo {
  display: block;
  max-width: 600px;
  width: 75%;
  height: auto;
  margin: 0 0 2rem;
}
@media (max-width: 720px) { .lienzos-logo { width: 90%; } }

/* ---------- Sections containing content above bg-mark ---------- */
.section .wrap, .section .wrap-narrow { position: relative; z-index: 1; }

/* ---------- Hide marquees ---------- */
.marquee { display: none !important; }

/* ---------- Eyebrow uses Funnel Display now ---------- */
.eyebrow {
  font-family: var(--f-funnel) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.32em !important;
}
.footer__heading {
  font-family: var(--f-funnel);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.24em;
}

/* ---------- Materials grid (5 cols Lienzos) ---------- */
.materials {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}
@media (max-width: 1080px) { .materials { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .materials { grid-template-columns: repeat(2, 1fr); } }
.material__swatch {
  width: 130px; height: 130px;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  overflow: hidden;
  box-shadow: inset 0 -8px 20px rgba(42,31,24,0.08), 0 8px 20px -10px rgba(42,31,24,0.18);
}
.material__swatch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Phone display ---------- */
.contact-strip__phone {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing: 0.06em;
  margin: 1.4rem 0;
  font-weight: 400;
}

/* ---------- Footer cards real SVG ---------- */
.footer__card {
  width: 56px;
  height: 36px;
  border: 1px solid var(--d-line);
  border-radius: 5px;
  background: rgba(232, 223, 207, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  transition: background var(--t-fast) var(--ease);
}
.footer__card:hover { background: rgba(232, 223, 207, 0.10); }
.footer__card svg, .footer__card img { width: 100%; height: 100%; object-fit: contain; }

/* ============================================
   FINAL FIXES — hero slider + testimonial card aliases
   ============================================ */

/* ---------- HERO SLIDER (fills hero section) ---------- */
.hero { position: relative; overflow: hidden; }
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero-slider__slide.is-active { opacity: 1; z-index: 1; }
.hero-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0);
  transition: transform 7s linear;
}
.hero-slider__slide.is-active img { transform: scale(1.06); }
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,10,7,0.25) 0%, rgba(14,10,7,0.1) 40%, rgba(14,10,7,0.6) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 3;
}
.hero-dots {
  position: absolute;
  bottom: 6rem;
  right: var(--gutter, 2rem);
  z-index: 4;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.hero-dots button {
  width: 38px;
  height: 1px;
  background: rgba(251, 248, 242, 0.4);
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--t-fast) var(--ease);
}
.hero-dots button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dots button.is-active::after {
  transform: scaleX(1);
  transition: transform 5.5s linear;
}

/* ---------- TESTIMONIAL CARD ALIASES (matches new HTML) ---------- */
.testimonial-card__media {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.4);
}
.testimonial-card__media img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__body { color: var(--cream); }
.testimonial-card__mark {
  font-family: var(--f-display);
  font-size: 4rem;
  line-height: 0.4;
  color: var(--muted-gold);
  margin-bottom: 1.2rem;
  display: block;
}
.testimonial-card__quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  margin-bottom: 2rem;
  color: rgba(251, 248, 242, 0.92);
}
.testimonial-card__author {
  font-family: var(--f-funnel);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream);
}
.testimonial-card__author small {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--f-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 1rem;
  color: rgba(251, 248, 242, 0.7);
  font-weight: 400;
}
@media (max-width: 720px) {
  .testimonial-card { grid-template-columns: 1fr !important; }
  .testimonial-card__media { aspect-ratio: 4/3; max-height: 240px; margin: 0 auto; }
}

/* Orbs */
.testimonial-section .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.testimonial-section .orb-1 { width: 380px; height: 380px; top: -100px; left: -100px; background: rgba(176, 141, 90, 0.4); }
.testimonial-section .orb-2 { width: 460px; height: 460px; bottom: -150px; right: -100px; background: rgba(201, 164, 145, 0.35); }
.testimonial-head { text-align: center; margin-bottom: clamp(3rem, 5vw, 4rem); color: var(--cream); }
.testimonial-head .eyebrow { color: rgba(251, 248, 242, 0.7) !important; justify-content: center; }
.testimonial-head h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  margin-top: 1rem;
  color: var(--cream);
}
.testimonial-head h2 em { font-family: var(--f-serif); font-style: italic; }

/* Force testimonial section dark gradient bg */
.testimonial-section {
  background: linear-gradient(135deg, #1a130e 0%, #2A1F18 50%, #1A130E 100%);
}

/* ---------- GALLERY MOSAIC (mix verticals + horizontals) ---------- */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 14vw;
  gap: clamp(0.6rem, 1vw, 1rem);
}
.gallery-mosaic .fig {
  overflow: hidden;
  position: relative;
  margin: 0;
}
.gallery-mosaic .fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease);
}
.gallery-mosaic .fig:hover img { transform: scale(1.04); }
.gallery-mosaic .v   { grid-column: span 2; grid-row: span 2; }
.gallery-mosaic .h   { grid-column: span 3; grid-row: span 2; }
.gallery-mosaic .hh  { grid-column: span 4; grid-row: span 2; }
.gallery-mosaic .sq  { grid-column: span 2; grid-row: span 2; }
.gallery-mosaic .vt  { grid-column: span 2; grid-row: span 3; }
@media (max-width: 880px) {
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 38vw; }
  .gallery-mosaic .v,
  .gallery-mosaic .h,
  .gallery-mosaic .hh,
  .gallery-mosaic .sq,
  .gallery-mosaic .vt {
    grid-column: span 1; grid-row: span 1;
  }
}

/* ---------- CAMBIO AUTOMÁTICO DE COLOR DEL LOGO ---------- */

/* 1. Asegurar el tamaño y visibilidad del logo en el menú */
.nav__brand-mark {
    height: 80px !important; /* Ajusta el tamaño aquí */
    width: auto !important;
    transition: filter 0.3s ease; /* Efecto suave al cambiar */
    display: block !important;
}

/* 2. Cuando el menú cambia de fondo (al hacer scroll), 
      le decimos al logo que se ponga negro/oscuro */
.nav--scrolled .nav__brand-mark {
    filter: brightness(0) !important; /* Esto lo vuelve negro sólido */
}

/* 3. Si quieres que el logo de "La Previa" también sea más grande */
.lp-mark {
    width: 280px !important;
    height: auto !important;
}
    /* Corrección de visibilidad para testimonios */
.testimonial-card {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: absolute; /* Para que se encimen y solo se vea uno */
    width: 100%;
}

.testimonial-card.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative; /* El activo define la altura del contenedor */
    transform: translateX(0);
}

/* ---------- LOGO GLOBAL (Navegación) ---------- */
.nav__brand {
    display: flex;
    align-items: center;
    padding: 10px 0;
    max-width: 250px; /* Evita que el contenedor crezca demasiado */
}

.nav__brand-mark {
    width: 100% !important;
    max-width: 200px !important; /* Ajusta este número si lo quieres más grande o pequeño */
    height: auto !important;     /* LA CLAVE: evita que se aplaste o desborde */
    object-fit: contain !important;
    display: block !important;
}

/* Ajuste para móvil: un poco más pequeño para que no choque con el menú hamburguesa */
@media (max-width: 720px) {
    .nav__brand-mark {
        max-width: 160px !important;
    }
}

/* Fix global para evitar deformación de imágenes de marca */
.nav__brand img, .lp-mark {
    height: auto !important;
}
/* ---------- AJUSTE ESPECÍFICO LOGO LA PREVIA ---------- */

/* Evita que el logo central de La Previa se deforme */
.lp-mark {
    width: 280px !important;   /* Ancho deseado */
    height: auto !important;    /* Esto corrige lo "aplastado" */
    object-fit: contain !important;
    display: block;
    margin: 0 auto 2rem auto !important; /* Lo centra y le da espacio abajo */
}

/* Ajuste para que en móviles no se vea gigante */
@media (max-width: 720px) {
    .lp-mark {
        width: 200px !important; /* Un poco más pequeño en celular */
    }
}