/* ============================================================
   William — Terapeuta Integrativo
   styles.css · v20260519
   Archetype: Cinematic Dark Ceremonial
   ============================================================ */

/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
  --bg:         #150f08;
  --bg-2:       #1d1610;
  --bg-card:    #271e12;
  --bg-card-h:  #322618;
  --ink:        #ede8df;
  --ink-soft:   #c0b9ae;
  --ink-mute:   #7a7068;
  --gold:       #c8912a;
  --gold-2:     #e8ab46;
  --gold-dark:  #8a6010;
  --moss:       #3a2510;
  --moss-2:     #4a3218;
  --line:       rgba(200,145,42,.14);
  --line-soft:  rgba(237,232,223,.07);

  --nav-h:        72px;
  --cont-max:     1200px;
  --cont-px:      clamp(1.25rem, 5vw, 3rem);
  --section-py:   clamp(5rem, 10vw, 9rem);

  --ease-out:     cubic-bezier(.22,1,.36,1);
  --ease-io:      cubic-bezier(.65,0,.35,1);
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
textarea { resize: vertical; }
input, select, textarea { font: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.cormorant {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

h1, h2, h3, .hero-name, .section-title, .fire-title, .service-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

em { font-style: italic; color: var(--gold); }

/* ─── UTILITY ────────────────────────────────────────────────── */
.container {
  max-width: var(--cont-max);
  margin-inline: auto;
  padding-inline: var(--cont-px);
}

.section {
  position: relative;
  padding-block: var(--section-py);
}

.section-kicker {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 50ch;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-header .section-subtitle { margin-inline: auto; }

.section-grain {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}


/* ─── REVEAL ANIMATIONS ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.95s var(--ease-out),
    transform 0.95s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* DEFENSIVE: elements with data-split must always be visible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}


/* ─── SPLASH ─────────────────────────────────────────────────── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  /* CSS safety: force-hide at 4.5s even if JS fails */
  animation: splashSafety .01s 4.5s forwards;
  transition: opacity 0.7s var(--ease-io), clip-path 0.7s var(--ease-io);
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
}

.splash-ring {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: splashRing 1.8s var(--ease-out) forwards;
}
.splash-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: splashDot 1.8s var(--ease-out) forwards;
}
@keyframes splashRing {
  0% { transform: scale(0.2); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
@keyframes splashDot {
  0% { transform: scale(0); opacity: 0; }
  30% { opacity: 1; transform: scale(1); }
  100% { transform: scale(0); opacity: 0; }
}


/* ─── CURSOR ─────────────────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9000;
  pointer-events: none;
  /* Hidden until first mousemove */
  opacity: 0;
  transition: opacity .3s ease;
}
.cursor.is-ready { opacity: 1; }

.cursor-dot {
  position: absolute;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: absolute;
  width: 32px; height: 32px;
  border: 1px solid rgba(201,160,72,.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, border-color .25s ease;
}
.cursor.is-hovering .cursor-ring {
  width: 52px; height: 52px;
  border-color: rgba(201,160,72,.8);
}
@media (hover: none) {
  .cursor { display: none; }
}


/* ─── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--cont-px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease;
}
.nav.is-solid {
  background: rgba(8,8,6,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity .25s ease;
}
.nav-logo:hover { opacity: 0.75; }
.nav-logo-img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
  transition: color .25s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.45rem 1.1rem !important;
  border: 1px solid var(--line) !important;
  color: var(--gold) !important;
  letter-spacing: 0.06em !important;
  transition: background .25s ease, color .25s ease, border-color .25s ease !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
  border-color: var(--gold) !important;
}
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: rgba(8,8,6,.97);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: navMobileIn .3s var(--ease-out);
}
.nav-mobile[hidden] { display: none; }
@keyframes navMobileIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.nav-mobile a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 7vw, 3rem);
  font-style: italic;
  color: var(--ink-soft);
  transition: color .25s ease;
}
.nav-mobile a:hover { color: var(--gold); }


/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line-soft);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(240,232,216,.2);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--line);
}
.btn-outline:hover {
  background: rgba(201,160,72,.08);
  border-color: rgba(201,160,72,.35);
}

.btn-fire {
  background: transparent;
  color: var(--ink);
  border-color: rgba(201,160,72,.35);
  margin-top: 2rem;
}
.btn-fire:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn-submit {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  padding: 1rem 2.8rem;
  font-size: 0.82rem;
  position: relative;
  overflow: hidden;
}
.btn-submit:hover { background: var(--gold-2); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-state-default { display: block; }
.btn-state-sending,
.btn-state-sent    { display: none; }
.btn-submit.is-sending .btn-state-default { display: none; }
.btn-submit.is-sending .btn-state-sending { display: block; }
.btn-submit.is-sent    .btn-state-default { display: none; }
.btn-submit.is-sent    .btn-state-sent    { display: block; }
.btn-submit.is-sent { background: var(--moss); border-color: var(--moss); color: var(--ink); }


/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 28%;
  filter: brightness(0.68) saturate(0.75) contrast(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      #080806 0%,
      rgba(8,8,6,.9) 25%,
      rgba(8,8,6,.72) 55%,
      rgba(8,8,6,.5) 100%
    );
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.032;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 25% 88%, rgba(201,160,72,.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 75% 80%, rgba(105,121,64,.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 30% at 50% 95%, rgba(201,160,72,.06) 0%, transparent 55%);
  animation: ambientPulse 9s ease-in-out infinite;
}
@keyframes ambientPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.55; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: var(--cont-px);
  max-width: 900px;
  padding-top: var(--nav-h);
}

.hero-logo-main {
  width: clamp(320px, 55vw, 600px);
  height: auto;
  margin-inline: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.95;
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5.5rem, 18vw, 14rem);
  line-height: 0.88;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  opacity: 0;
}
.hero-name em {
  color: var(--ink);
  font-style: italic;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 2.5rem;
  opacity: 0;
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.3) translateY(-20px); opacity: 0; }
  50%       { transform: scaleY(1) translateY(0); opacity: 0.7; }
}


/* ─── ABOUT ──────────────────────────────────────────────────── */
.about {
  background: var(--bg-2);
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.about-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.9s var(--ease-out);
}
.about-img-wrap:hover .about-img { transform: scale(1.04); }

.about-img-frame {
  position: absolute;
  top: 12px; right: -12px;
  bottom: -12px; left: 12px;
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 1;
}

.about-text-col { max-width: 52ch; }

.about-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--gold);
  line-height: 1.5;
  margin-bottom: 1.8rem;
  border-left: 2px solid var(--gold);
  padding-left: 1.1rem;
  opacity: 0.9;
}

.about-body p {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.about-body em { font-style: italic; color: var(--gold); }

.about-text-col .btn-outline { margin-top: 1.5rem; }

.about-highlight {
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
  margin-block: 1.4rem;
  color: var(--off-white);
  font-size: 1.02rem;
  line-height: 1.75;
}
.about-highlight em {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;
  font-style: italic;
  color: var(--gold-2);
  margin-bottom: 0.5rem;
}

.about-body-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.75s cubic-bezier(.22,1,.36,1);
}
.about-body-more.is-open {
  max-height: 1800px;
}

.btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  background: none;
  border: none;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: letter-spacing 0.3s ease, opacity 0.3s ease;
}
.btn-readmore:hover { letter-spacing: 0.26em; opacity: 0.8; }
.readmore-arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.btn-readmore[aria-expanded="true"] .readmore-arrow {
  transform: rotate(180deg);
}


/* ─── SERVICES ───────────────────────────────────────────────── */
.services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--bg-card);
  transition: background .35s ease;
}
.service-card:hover { background: var(--bg-card-h); }

.service-card-inner {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.85;
  transition: opacity .25s ease, transform .3s ease;
}
.service-card:hover .service-icon { opacity: 1; transform: scale(1.08); }

.service-title {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: clamp(0.88rem, 1.3vw, 0.97rem);
  color: var(--ink-mute);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.5rem;
}

.service-link {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing .25s ease;
}
.service-link:hover { letter-spacing: 0.16em; }


/* ─── FIRE CEREMONY ──────────────────────────────────────────── */
.fire-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 12vw, 11rem);
}

.fire-bg-wrap {
  position: absolute;
  inset: 0;
}
.fire-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 27%;
}

/* Tapa el logo de Gemini (esquina inferior derecha) */
.fire-bg-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 160px;
  height: 120px;
  background: radial-gradient(ellipse at bottom right, rgba(21,15,8,1) 0%, transparent 75%);
  z-index: 1;
  pointer-events: none;
}
.fire-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(21,15,8,.82) 0%,
    rgba(21,15,8,.45) 45%,
    rgba(21,15,8,.15) 100%
  );
}
.fire-overlay-moss {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 90% 50%, rgba(26,48,80,.18) 0%, transparent 70%);
}
.fire-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.fire-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.fire-kicker { color: var(--gold); }

.fire-title {
  font-size: clamp(3rem, 8vw, 7rem);
  color: var(--ink);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.fire-title em { color: var(--gold); }

.fire-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.fire-accent-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.fire-desc {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.fire-includes {
  margin-top: 2rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.fire-includes li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.fi-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Decorative portrait */
.fire-portrait-wrap {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 22vw, 320px);
  aspect-ratio: 3/4;
  overflow: hidden;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}
.fire-portrait-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.fire-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(6,7,11,1), transparent 60%);
}

.fire-portrait-left-wrap {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(240px, 32vw, 480px);
  overflow: hidden;
  z-index: 1;
  opacity: 0.55;
}
.fire-portrait-left-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.fire-portrait-left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(6,7,11,0.1) 0%,
    rgba(6,7,11,0.7) 75%,
    rgba(6,7,11,1) 100%
  );
}


/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials {
  background: var(--bg-2);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.testimonial-card {
  background: var(--bg-card);
  padding: clamp(2rem, 3.5vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: background .35s ease;
}
.testimonial-card:hover { background: var(--bg-card-h); }

.t-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.5;
  pointer-events: none;
}

.t-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}

.t-footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.t-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.t-role {
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}


/* ─── CONTACT ────────────────────────────────────────────────── */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-bg-wrap {
  position: absolute;
  inset: 0;
}
.contact-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.5) contrast(1.1);
}
.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,6,.97) 0%,
    rgba(8,8,6,.93) 100%
  );
}
.contact-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.contact-header { padding-top: 1rem; }
.contact-desc {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  color: var(--ink-soft);
  margin-top: 1rem;
  line-height: 1.75;
  max-width: 42ch;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color .25s ease, background .25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-mute);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201,160,72,.5);
  background: rgba(201,160,72,.03);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a6f62' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option {
  background: var(--bg-card);
  color: var(--ink);
}
.form-note { display: none; }


/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
}
.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.footer-nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .25s ease;
}
.footer-nav a:hover { color: var(--gold); }
.footer-divider {
  width: 40px;
  height: 1px;
  background: var(--line);
}
.footer-copy {
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.footer-copy-sep { margin-inline: 0.5em; }


/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-img-wrap { aspect-ratio: 3/4; }
  .about-img-frame { display: none; }
  .about-text-col { max-width: 100%; }

  .fire-content { grid-template-columns: 1fr; }
  .fire-portrait-wrap { display: none; }

  .booking-grid { grid-template-columns: 1fr; }

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

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero mobile */
  .hero-logo-main { width: clamp(260px, 82vw, 420px); }
  .hero-tagline {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
    padding-inline: 1rem;
  }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Ceremony mobile */
  .fire-title { font-size: clamp(2.4rem, 9vw, 3.6rem); }
  .fire-subtitle { font-size: 1rem; }

  /* Booking mobile */
  .booking-card-inner { padding: 1.6rem; }
  .booking-title { font-size: 1.8rem; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  :root {
    --cont-px: 1.1rem;
    --section-py: clamp(3rem, 10vw, 5rem);
  }

  /* Nav logo smaller on mobile */
  .nav-logo-img { height: 30px; }

  /* Hero tighter on small screens */
  .hero-logo-main { width: 90vw; }
  .hero-content { padding-top: calc(var(--nav-h) + 1rem); }

  /* Cards full padding */
  .service-card-inner { padding: 1.6rem; }
  .booking-card-inner { padding: 1.4rem; }
}

/* ─── BOOKING ────────────────────────────────────────────────── */
.booking { background: var(--bg); }

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
}

.booking-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: border-color .3s ease, transform .3s ease;
}
.booking-card:hover {
  border-color: rgba(200,145,42,.35);
  transform: translateY(-4px);
}
.booking-card-fire {
  border-color: rgba(200,145,42,.2);
  background: linear-gradient(160deg, var(--bg-card) 60%, rgba(200,100,20,.06) 100%);
}

.booking-card-inner {
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.booking-icon {
  color: var(--gold);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.booking-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
}

.booking-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.booking-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.booking-includes li {
  font-size: 0.82rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  padding-left: 1.2rem;
  position: relative;
}
.booking-includes li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.btn-booking,
.btn-booking-fire {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  transition: all .3s ease;
  margin-top: auto;
}
.btn-booking {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-booking:hover {
  background: var(--gold);
  color: var(--bg);
}
.btn-booking-fire {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
}
.btn-booking-fire:hover { opacity: 0.85; }

.booking-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-mute);
}
.booking-wa {
  color: #25d366;
  border-bottom: 1px solid rgba(37,211,102,.3);
  transition: border-color .2s;
}
.booking-wa:hover { border-color: #25d366; }

/* ─── WHATSAPP ───────────────────────────────────────────────── */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid rgba(37,211,102,.25);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}
.btn-whatsapp:hover {
  background: rgba(37,211,102,.1);
  color: #25d366;
  border-color: rgba(37,211,102,.5);
}
.btn-whatsapp svg { flex-shrink: 0; }

.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink-mute);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  margin-block: 0.4rem;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.footer-wa { color: #25d366 !important; }
.footer-wa:hover { color: #4fe882 !important; }

/* ─── FOCUS STYLES ───────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ─── STRIPE MODAL ───────────────────────────────────────────── */
.stripe-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stripe-modal[hidden] { display: none; }

.stripe-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,7,11,.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.stripe-modal-box {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  max-width: 460px;
  width: 92%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,.65);
}

.stripe-modal-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.stripe-modal-close {
  position: absolute;
  top: .9rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--ink-mute);
  font-size: 1.1rem;
  cursor: pointer;
  padding: .3rem .5rem;
  border-radius: 6px;
  line-height: 1;
  transition: color .2s, background .2s;
}
.stripe-modal-close:hover {
  color: var(--ink);
  background: rgba(255,255,255,.07);
}

/* Botón service-link como <button> mantiene el mismo estilo que el <a> */
button.service-link {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
}

/* ─── SERVICE PAGES ──────────────────────────────────────────── */
.svc-hero {
  padding: calc(var(--nav-h) + 5rem) 0 4.5rem;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.svc-hero .section-title {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
}
.svc-hero .section-subtitle {
  max-width: 50ch;
  margin: 1.25rem auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.svc-back {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.75rem;
  transition: color .2s;
}
.svc-back:hover { color: var(--gold); }

.svc-content {
  padding: var(--section-py) 0;
  background: var(--bg-2);
}
.svc-body {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.85;
}
.svc-body p + p { margin-top: 1.3rem; }

.format-note {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-top: 2.5rem;
  padding: 1.1rem 1.4rem;
  background: rgba(200,145,42,.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.format-note svg { flex-shrink: 0; margin-top: .1rem; color: var(--gold); }

.pricing-section {
  padding: var(--section-py) 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: border-color .3s var(--ease-out), background .3s;
}
.pricing-card:hover {
  border-color: rgba(200,145,42,.4);
  background: var(--bg-card-h);
}
.pricing-card-badge {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,145,42,.3);
  border-radius: 20px;
  padding: .22rem .85rem;
  margin-bottom: 1.1rem;
}
.pricing-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .6rem;
  line-height: 1.1;
}
.pricing-card-desc {
  font-size: .88rem;
  color: var(--ink-mute);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.svc-wa-cta {
  padding: var(--section-py) 0;
  background: var(--bg-2);
  text-align: center;
}
.svc-wa-cta .section-title { margin-bottom: 1rem; }
.svc-wa-desc {
  max-width: 48ch;
  margin: 0 auto 2rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Wrapper: botón estilizado + stripe-buy-button transparente encima */
.sbb-wrap {
  position: relative;
  display: block;
  width: 100%;
}
.sbb-label {
  display: block;
  width: 100%;
  pointer-events: none;
  user-select: none;
  text-align: center;
}
.sbb-wrap stripe-buy-button {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}
