/* ============================================================
   VEINTINUEVE CAPITAL PATRIMONIAL — Styles
   Archetype: Editorial Dark Navy/Rose
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
  --bg:        #1f1d42;
  --bg-2:      #1a1840;
  --bg-3:      #272b5a;
  --bg-card:   #1e2250;
  --rose:      #e4c2b8;
  --rose-2:    #D9A896;
  --rose-3:    rgba(237,191,171,0.5);
  --gold:      #C8A882;
  --cream:     #F7F2ED;
  --cream-2:   #D8D0C9;
  --cream-3:   #9A9088;
  --line:      rgba(237,191,171,0.14);
  --line-2:    rgba(245,239,233,0.1);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);

  --container: 1200px;
  --nav-h:     68px;
}

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

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

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* --- Grain ------------------------------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 900;
  opacity: 0.028; 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: 180px 180px;
  mix-blend-mode: overlay;
}

/* --- Custom cursor ----------------------------------------- */
.cursor { position: fixed; inset: 0; z-index: 950; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: absolute; top: 0; left: 0; width: 5px; height: 5px;
  background: var(--rose); border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-ring {
  position: absolute; top: 0; left: 0; width: 36px; height: 36px;
  border: 1px solid rgba(237,191,171,0.5); border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform; transition: width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor-ring.is-hovering {
  width: 56px; height: 56px; border-color: var(--rose);
}
@media (hover: none) { .cursor { display: none; } }

/* --- Splash ------------------------------------------------ */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  background: #1b193b;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1s var(--ease-in);
  animation: splashSafety 0.01s 5s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}
.splash.is-out { opacity: 0; pointer-events: none; }
.splash-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Logo imagen grande en el splash */
.splash-logo-wrap {
  opacity: 0; transform: translateY(16px) scale(0.97);
  animation: splashLogoIn 1.1s 0.25s var(--ease-out) forwards;
}
.splash-logo-img {
  width: clamp(380px, 72vw, 760px); height: auto;
  opacity: 1;
  mix-blend-mode: screen;
}
/* Fallback texto si no hay imagen */
.splash-logo-text {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1; display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.splash-v { font-style: italic; font-weight: 400; color: var(--rose); }
.splash-n { font-weight: 600; color: var(--cream); letter-spacing: -0.03em; }
.splash-tag {
  font-size: 0.68rem; font-weight: 300; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--rose-2); margin-top: 0.5rem;
}
/* Barra de progreso */
.splash-line {
  margin-top: 2.5rem; height: 1px; background: rgba(237,191,171,0.2); overflow: hidden;
  width: 100px;
  opacity: 0; animation: splashFade 0.4s 1.1s forwards;
}
.splash-line span {
  display: block; height: 100%; background: var(--rose);
  animation: splashProgress 2s 1.2s var(--ease-out) forwards;
  transform-origin: left; transform: scaleX(0);
}
@keyframes splashLogoIn { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes splashFade    { to { opacity: 1; transform: translateY(0); } }
@keyframes splashProgress { to { transform: scaleX(1); } }

/* --- Container -------------------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 2rem; }

/* --- Reveal animations ------------------------------------ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-split] { opacity: 1; transform: none; }

.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }

/* --- Section common --------------------------------------- */
.section-eyebrow {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--rose);
  margin-bottom: 1.2rem;
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12;
  color: var(--cream);
}
.section-title em { font-style: italic; color: var(--rose); }
.section-header { margin-bottom: 4rem; }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.06); opacity: 0;
  transition: opacity 0.25s;
}
.btn:hover::after { opacity: 1; }

.btn-rose {
  background: var(--rose); color: var(--bg-2);
  border: 1px solid var(--rose);
}
.btn-rose:hover { background: var(--cream); border-color: var(--cream); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(237,191,171,0.2); }

.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(245,239,233,0.3);
}
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--rose);
  border: 1px solid var(--rose);
}
.btn-outline:hover { background: var(--rose); color: var(--bg-2); transform: translateY(-2px); }

.btn-full { width: 100%; justify-content: center; }

/* --- Scroll-lock progress bar ----------------------------- */
.scroll-lock-bar {
  position: fixed; bottom: 0; left: 0; z-index: 700;
  height: 2px; width: 0%; background: var(--rose);
  transition: width 0.1s linear;
  opacity: 0; pointer-events: none;
}
.scroll-lock-bar.is-active { opacity: 1; }

/* --- Navigation ------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: var(--nav-h);
  overflow: visible;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.nav.is-hidden { transform: translateY(-170px); }
/* Sin fondo en ningún estado — completamente transparente */
.nav.is-scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.nav-inner {
  max-width: var(--container); margin-inline: auto; padding-inline: 2rem 0.5rem;
  height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 2rem;
}
/* Logo dentro del nav, flotando sobre la página */
.nav-logo {
  position: absolute; top: 0; left: 2rem;
  display: flex; align-items: flex-start; text-decoration: none;
}
.nav-logo-img {
  height: 150px; width: auto; object-fit: contain; display: block;
  filter: brightness(0) invert(1) sepia(1) saturate(250%) hue-rotate(310deg) brightness(1.1);
}
.nav-logo-round {
  height: 42px; width: 42px; object-fit: cover;
  border-radius: 50%; filter: none;
  border: 1px solid rgba(228,194,184,0.3);
}
/* Fallback texto */
.nav-logo-fallback { display: flex; flex-direction: column; gap: 0; }
.nav-logo-mark { line-height: 1; font-family: var(--font-display); font-size: 1.35rem; }
.nav-logo-v { font-style: italic; font-weight: 400; color: var(--rose); }
.nav-logo-n { font-weight: 600; color: var(--cream); letter-spacing: -0.03em; }
.nav-logo-sub { font-size: 0.52rem; font-weight: 300; letter-spacing: 0.25em; text-transform: uppercase; color: var(--rose-2); margin-top: 1px; }

.nav-links { display: flex; gap: 2.5rem; margin-left: auto; }
.nav-link {
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  color: #ffffff; position: relative; transition: color 0.25s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--rose); transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--rose); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: 1rem; padding: 0.65rem 1.4rem; font-size: 0.72rem; }

.nav-social { display: flex; align-items: center; gap: 0.6rem; margin-left: 1.5rem; }
.nav-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.15);
  transition: color 0.25s, border-color 0.25s;
}
.nav-social-link:hover { color: var(--rose); border-color: var(--rose); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 1px; background: var(--cream); transition: all 0.3s; }

.nav-mobile { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg-2); border-top: 1px solid var(--line); padding: 1.5rem 2rem 2rem; }
.nav-mobile.is-open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 0; }
.nav-mobile-link { display: block; padding: 0.9rem 0; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-2); border-bottom: 1px solid var(--line); transition: color 0.2s; }
.nav-mobile-link:hover { color: var(--rose); }
.nav-mobile-cta { color: var(--rose); border-bottom: none; margin-top: 1rem; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-social { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
}
@media (max-width: 480px) {
  .nav-logo-img { height: 100px; }
}

/* --- Orbs de luz ------------------------------------------ */
.orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
  filter: blur(80px);
}
.orb-hero-1 {
  width: 600px; height: 600px;
  top: -100px; right: 5%;
  background: radial-gradient(circle, rgba(228,194,184,0.12) 0%, transparent 70%);
}
.orb-hero-2 {
  width: 500px; height: 500px;
  bottom: 10%; left: -80px;
  background: radial-gradient(circle, rgba(100,90,180,0.15) 0%, transparent 70%);
}
.orb-services {
  width: 700px; height: 700px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(228,194,184,0.07) 0%, transparent 65%);
}

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-start; justify-content: center;
  overflow: hidden; background: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 120%; object-fit: cover; object-position: center 55%;
  transform-origin: center top;
  filter: saturate(0.55) brightness(0.68);
}
.hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(to top, var(--bg) 0%, var(--bg) 12%, transparent 100%);
  z-index: 1;
}
.hero-tint {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(31,29,66,0.82) 0%,
    rgba(31,29,66,0.50) 20%,
    rgba(31,29,66,0.12) 42%,
    rgba(31,29,66,0.12) 62%,
    rgba(31,29,66,0.70) 82%,
    rgba(31,29,66,0.95) 94%,
    var(--bg) 100%
  );
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: calc(var(--nav-h) + 3.5rem) 2rem 4rem;
  max-width: 820px;
  display: flex; flex-direction: column; align-items: center;
}
.hero-eyebrow {
  font-size: 0.68rem; font-weight: 300; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--rose); margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400; line-height: 1.05; color: var(--cream); margin-bottom: 1rem;
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--rose); }
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem); font-weight: 300; color: var(--cream-2);
  margin-bottom: 1.6rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-phone {
  margin-top: 1.2rem; font-size: 0.72rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-3);
}
.hero-phone { color: rgba(255,255,255,0.75); text-decoration: none; transition: opacity 0.2s; }
.hero-phone:hover { opacity: 0.7; }
.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero-scroll-line {
  display: block; width: 1px; height: 60px; background: var(--rose-3);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50%       { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}
.br-desktop { display: none; }
@media (min-width: 768px) { .br-desktop { display: block; } }

/* --- Stats ------------------------------------------------- */
.stats {
  background: var(--bg);
  padding: 2.5rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.stat { text-align: center; padding: 1rem 1rem; position: relative; }
.stat:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--line);
}
.stat-num { font-family: var(--font-display); margin-bottom: 0.3rem; }
.stat-count {
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; font-style: italic;
  color: var(--rose); line-height: 1;
}
.stat-label {
  font-size: 0.68rem; font-weight: 300; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cream-3);
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat:not(:last-child)::after { display: none; }
  .stat:not(:last-child) { border-bottom: 1px solid var(--line); }
}

/* --- Services --------------------------------------------- */
.services { padding: 3rem 0 7rem; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(228,194,184,0.18);
}
.service-card {
  padding: 2.5rem 2rem; position: relative;
  background: transparent;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid transparent;
  display: flex; flex-direction: column; gap: 0.8rem;
  transition: border-top-color 0.35s, background 0.35s;
}
.service-card:last-child { border-right: none; }
.service-card::before {
  content: ''; position: absolute; top: -2px; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, #e4c2b8, transparent);
  opacity: 0; transition: opacity 0.35s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { background: rgba(228,194,184,0.03); }
.service-num { font-family: var(--font-display); font-size: 2rem; font-style: italic; font-weight: 600; color: #e4c2b8; }
.service-line { width: 36px; height: 1px; background: rgba(228,194,184,0.3); margin-top: -0.55rem; }
.service-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--cream); line-height: 1.3; }
.service-desc { font-size: 0.875rem; font-weight: 300; color: var(--cream-3); line-height: 1.7; flex: 1; }
.service-cta { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: #e4c2b8; transition: opacity 0.2s; width: fit-content; }
.service-cta:hover { opacity: 0.65; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2) { border-right: none; }
  .service-card:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.06); }
  .service-card:nth-child(4) { border-right: none; }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .service-card:last-child { border-bottom: none; }
}

/* --- About ------------------------------------------------- */
.about { position: relative; padding: 8rem 0; }
.about-bg { position: absolute; inset: 0; z-index: 0; }
.about-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(0.35) brightness(0.36); }
.about-bg-top {
  position: absolute; top: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 15%, transparent 100%);
  z-index: 1;
}
.about-bg-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(to top, var(--bg) 0%, var(--bg) 15%, transparent 100%);
  z-index: 1;
}
.about .container { position: relative; z-index: 2; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center;
}
.about-text { display: flex; flex-direction: column; gap: 0; }
.about-text .section-eyebrow { margin-bottom: 0.8rem; }
.about-text .section-title { margin-bottom: 1.8rem; }
.about-photo {
  position: relative; border-radius: 4px; overflow: hidden;
  height: 560px;
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  filter: brightness(0.78) saturate(0.85);
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo { height: 400px; }
}
.about-para { font-size: 0.975rem; font-weight: 300; color: var(--cream-2); line-height: 1.8; margin-bottom: 1.2rem; }
.about-text .btn-outline { align-self: flex-start; margin-top: 0.8rem; }
.about-visual { position: relative; }
.about-img-wrap {
  position: relative; border-radius: 2px; overflow: hidden;
  aspect-ratio: 4/5;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.about-img-wrap:hover img { transform: scale(1.04); }
.about-img-deco { display: none; }
/* Sello grande integrado — sin caja, flotando sobre la sección */
.about-badge {
  position: absolute; bottom: -3rem; right: -2rem;
  display: flex; flex-direction: column; align-items: center;
  background: none; border: none; padding: 0;
  opacity: 0.82; mix-blend-mode: screen;
}
.about-badge-logo { width: 220px; height: auto; }
.about-badge-num { display: none; }
.about-badge-label { display: none; }
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .about-badge { bottom: -1rem; right: 0; }
}

/* --- Gallery Marquee (scroll automático infinito) ---------- */
.gallery-marquee { padding: 0; overflow: hidden; background: transparent; }
.gallery-marquee-header { padding: 1.5rem 2rem 0; text-align: center; }
.gallery-marquee-eyebrow { font-size: 0.65rem; font-weight: 300; letter-spacing: 0.25em; text-transform: uppercase; color: var(--rose-2); opacity: 0.7; }
.gallery-marquee-viewport { overflow: hidden; cursor: grab; user-select: none; padding: 1.5rem 0; }
.gallery-marquee-viewport:active { cursor: grabbing; }
.gallery-marquee-track {
  display: flex; gap: 1rem; width: max-content;
  will-change: transform;
}
.gallery-marquee-item {
  position: relative; flex-shrink: 0;
  width: 380px; height: 280px; border-radius: 2px; overflow: hidden;
}
.gallery-marquee-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s;
  filter: saturate(0.75) brightness(0.82);
  pointer-events: none;
}
.gallery-marquee-item:hover img { transform: scale(1.06); filter: saturate(1.1) brightness(0.92); }
.gallery-marquee-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,25,57,0.9) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 1.2rem 1.4rem;
  opacity: 0; transition: opacity 0.35s;
}
.gallery-marquee-item:hover .gallery-marquee-overlay { opacity: 1; }
.gallery-marquee-overlay span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); }
@media (prefers-reduced-motion: reduce) {
  .gallery-marquee-track { animation: none; }
}
@media (max-width: 640px) {
  .gallery-marquee-item { width: 280px; height: 210px; }
}

/* --- Process (timeline vertical) -------------------------- */
.process { position: relative; padding: 3rem 0 7rem; }
.process .container { position: relative; z-index: 1; }
.process-list {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(228,194,184,0.18);
}
.process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 4rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(228,194,184,0.08);
  align-items: center;
  position: relative;
  transition: border-color 0.4s;
}
.process-step:hover { border-color: rgba(228,194,184,0.22); }
.process-num {
  font-family: var(--font-display); font-size: 5rem; font-style: italic;
  font-weight: 300; color: rgba(228,194,184,0.15); line-height: 1;
  transition: color 0.4s;
  text-align: right; padding-right: 0.5rem;
}
.process-step:hover .process-num { color: rgba(228,194,184,0.4); }
.process-body { display: flex; flex-direction: column; gap: 0.5rem; }
.process-title {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 400; color: var(--cream); line-height: 1.2;
}
.process-desc {
  font-size: 0.9rem; font-weight: 300; color: var(--cream-3);
  line-height: 1.75; max-width: 580px;
}
@media (max-width: 640px) {
  .process-step { grid-template-columns: 1fr; gap: 0.3rem; padding: 2rem 0; }
  .process-num { font-size: 2.5rem; text-align: left; padding-right: 0; }
}

/* --- Reviews ---------------------------------------------- */
/* --- Reviews editorial ------------------------------------ */
.reviews { padding: 3rem 0 7rem; }
.reviews-editorial {
  position: relative; max-width: 820px; margin: 0 auto;
  text-align: center; padding: 0 2rem;
}
.reviews-deco-quote {
  font-family: var(--font-display); font-size: clamp(10rem, 20vw, 16rem);
  font-style: italic; line-height: 0.7;
  color: rgba(228,194,184,0.07);
  position: absolute; top: -1rem; left: 50%; transform: translateX(-50%);
  pointer-events: none; user-select: none; z-index: 0;
}
.reviews-stage { position: relative; z-index: 1; min-height: 320px; }
@media (max-width: 480px) { .reviews-stage { min-height: 420px; } }
.review-item {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transform: translateY(10px);
}
.review-item.active {
  opacity: 1; pointer-events: auto; transform: translateY(0);
  position: absolute; inset: 0;
}
.review-stars { color: #e4c2b8; font-size: 0.85rem; letter-spacing: 0.25em; }
.review-text {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic; font-weight: 400; color: var(--cream-2); line-height: 1.75;
  max-width: 680px;
}
.review-footer { display: flex; flex-direction: column; gap: 0.2rem; align-items: center; }
.review-author {
  font-size: 0.82rem; font-weight: 500; color: var(--cream);
  font-style: normal; letter-spacing: 0.06em;
}
.review-role {
  font-size: 0.67rem; font-weight: 300; letter-spacing: 0.18em;
  text-transform: uppercase; color: #e4c2b8; opacity: 0.65;
}
.reviews-dots {
  display: flex; gap: 0.7rem; justify-content: center;
  margin-top: 2.5rem; position: relative; z-index: 1;
}
.reviews-dot {
  width: 28px; height: 2px; border: none; cursor: pointer;
  background: rgba(228,194,184,0.2);
  transition: background 0.35s, transform 0.35s;
  border-radius: 2px;
}
.reviews-dot.active { background: #e4c2b8; transform: scaleX(1.6); }

/* --- Contact ---------------------------------------------- */
.contact { position: relative; padding: 7rem 0; }
.contact-bg { position: absolute; inset: 0; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.4) brightness(0.48); }
.contact-tint {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    rgba(31,29,66,0.15) 18%,
    rgba(31,29,66,0.35) 60%,
    rgba(31,29,66,0.6) 82%,
    var(--bg) 100%
  );
}
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
.contact-text .section-title { margin-bottom: 1rem; }
.contact-sub { font-size: 0.875rem; font-weight: 300; color: var(--cream-3); margin-bottom: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-info-item {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.875rem; color: var(--cream-2); transition: color 0.2s;
}
a.contact-info-item:hover { color: var(--rose); }
.contact-info-icon { color: var(--rose); font-size: 0.8rem; }

/* --- Form ------------------------------------------------- */
.contact-form-wrap { background: rgba(18,20,50,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 4px; padding: 2.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { position: relative; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(237,191,171,0.2); border-radius: 2px;
  padding: 1.2rem 1rem 0.5rem; color: var(--cream);
  font-size: 0.875rem; outline: none;
  transition: border-color 0.25s, background 0.25s;
  appearance: none; -webkit-appearance: none;
}
.form-field select option {
  background: #1a1e47;
  color: #F5EFE9;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--rose);
  background: rgba(237,191,171,0.05);
}
.form-field label {
  position: absolute; top: 50%; left: 1rem;
  transform: translateY(-50%);
  font-size: 0.8rem; font-weight: 300; color: var(--cream-3);
  pointer-events: none; transition: all 0.22s var(--ease-out);
  transform-origin: left;
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: 0.45rem; transform: none; font-size: 0.65rem;
  color: var(--rose); letter-spacing: 0.04em;
}
.form-field--textarea label { top: 1.1rem; transform: none; }
.form-field--textarea textarea:focus + label,
.form-field--textarea textarea:not(:placeholder-shown) + label {
  top: 0.4rem; transform: none; font-size: 0.65rem; color: var(--rose);
}
.form-field--textarea textarea { resize: none; padding-top: 1.6rem; }
.form-field--select select {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(237,191,171,0.2); border-radius: 2px;
  padding: 1.55rem 2.5rem 0.5rem 1rem;
  color: var(--cream); font-size: 0.875rem; outline: none;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.form-field--select select:focus {
  border-color: var(--rose); background: rgba(237,191,171,0.05);
}
.form-field--select select option { background: #1a1e47; color: #F5EFE9; }
.form-field.form-field--select label {
  top: 0.48rem !important; transform: none !important;
  font-size: 0.65rem !important; color: var(--cream-3) !important;
  letter-spacing: 0.04em; transition: color 0.22s !important;
}
.form-field.form-field--select select:focus + label { color: var(--rose) !important; }
.select-arrow {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--rose-2); pointer-events: none; font-size: 0.75rem;
}

.form-field input::placeholder,
.form-field textarea::placeholder { opacity: 0; }

@supports selector(:has(*)) {
  .form-field:has(select option:not(:first-child):checked) label { top: 0.35rem; transform: none; font-size: 0.65rem; color: var(--rose); }
}

.form-success { text-align: center; padding: 3rem 2rem; }
.form-success-icon { font-size: 2.5rem; color: var(--rose); margin-bottom: 1rem; }
.form-success h3 { font-family: var(--font-display); font-size: 1.6rem; font-style: italic; color: var(--cream); margin-bottom: 0.8rem; }
.form-success p { font-size: 0.875rem; color: var(--cream-3); line-height: 1.7; }

@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- Footer ----------------------------------------------- */
.footer { background: transparent; border-top: none; padding: 5rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
/* Logo footer como imagen — PNG negro invertido a blanco */
.footer-logo-wrap { margin-bottom: 1rem; }
.footer-logo-img {
  height: 200px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.footer-tagline { font-size: 0.58rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--rose-2); margin-top: 0.3rem; display: block; }
.footer-desc { font-size: 0.8rem; font-weight: 300; color: var(--cream-3); line-height: 1.7; max-width: 280px; }
.footer-nav-title { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--rose); margin-bottom: 1.2rem; }
.footer-nav ul, .footer-contact-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-nav a, .footer-contact-col a { font-size: 0.8rem; font-weight: 300; color: var(--cream-3); transition: color 0.2s; }
.footer-nav a:hover, .footer-contact-col a:hover { color: var(--rose); }
.footer-contact-col li { font-size: 0.8rem; font-weight: 300; color: var(--cream-3); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p, .footer-legal { font-size: 0.72rem; font-weight: 300; color: var(--cream-3); display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-legal a { color: var(--cream-3); transition: color 0.2s; }
.footer-legal a:hover { color: var(--rose); }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-logo-img { height: 120px; }
}

/* --- Cookie banner ---------------------------------------- */
.cookie-banner {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 9999; width: calc(100% - 3rem); max-width: 720px;
  background: rgba(27,25,59,0.96);
  border-top: 2px solid transparent;
  border-right: none; border-bottom: none; border-left: none;
  border-image: linear-gradient(to right, transparent, rgba(228,194,184,0.6), transparent) 1;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
  animation: cookieSlideUp 0.5s var(--ease-out) both;
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.1rem 1.5rem; flex-wrap: wrap;
}
.cookie-banner-text {
  font-size: 0.8rem; font-weight: 300; color: var(--cream-3);
  line-height: 1.6; flex: 1; min-width: 200px;
}
.cookie-banner-text a { color: #e4c2b8; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
.cookie-btn {
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.55rem 1.2rem;
  border-radius: 2px; cursor: pointer; transition: all 0.25s;
}
.cookie-reject {
  background: transparent; border: 1px solid rgba(228,194,184,0.25);
  color: var(--cream-3);
}
.cookie-reject:hover { border-color: rgba(228,194,184,0.5); color: var(--cream); }
.cookie-accept {
  background: #e4c2b8; border: 1px solid #e4c2b8; color: #1b193b;
}
.cookie-accept:hover { background: #f0d0c4; border-color: #f0d0c4; }
