/* ============================================================
   MÜLLER & MÜLLER — v2
   Archetype: Editorial Dark Warm
   Paleta: oscuro cálido + dorado + bordó de marca
   ============================================================ */

:root {
  --bg:        #0F0F0D;
  --bg-2:      #161614;
  --bg-3:      #1E1E1B;
  --bg-4:      #252521;
  --cream:     #F0E8D5;
  --cream-2:   #D8CCBA;
  --cream-3:   #8A7E6A;
  --gold:      #ECC443;
  --gold-2:    #F5D060;
  --gold-light:#FDE99A;
  --bordo:     #C2181B;
  --bordo-2:   #A21316;
  --bordo-glow:rgba(194,24,27,.25);
  --line:      rgba(236,196,67,.15);
  --line-light:rgba(240,232,213,.07);

  --font-d: 'Fraunces', Georgia, serif;
  --font-b: 'DM Sans', 'Inter', system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-snap: cubic-bezier(0.23, 1, 0.32, 1);

  --max-w: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --r: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-b);
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---- CURSOR ---- */
.cursor {
  position: fixed; inset: 0 auto auto 0;
  pointer-events: none; z-index: 9999;
  display: none; opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring {
  position: fixed; inset: 0 auto auto 0; pointer-events: none; will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px; margin: -3px;
  background: var(--gold-light); border-radius: 50%;
}
.cursor-ring {
  width: 34px; height: 34px; margin: -17px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out),
              margin .35s var(--ease-out), border-color .3s;
}
.cursor.is-interactive .cursor-ring {
  width: 54px; height: 54px; margin: -27px;
  border-color: var(--bordo);
}
.has-cursor * { cursor: none !important; }

/* ---- SPLASH ---- */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: splashOut .7s var(--ease-out) 2.8s forwards;
}
@keyframes splashOut { to { opacity: 0; pointer-events: none; visibility: hidden; } }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.splash-mm {
  font-family: var(--font-d);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700; color: var(--cream); line-height: 1;
  animation: splashIn .9s var(--ease-soft) .1s both;
  letter-spacing: -.03em;
}
.splash-mm span { color: var(--bordo); }
@keyframes splashIn {
  from { opacity: 0; transform: scale(.85) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.splash-bar {
  width: clamp(100px, 25vw, 180px); height: 2px;
  background: var(--line-light); border-radius: 2px; overflow: hidden;
}
.splash-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--bordo), var(--gold));
  border-radius: 2px;
  animation: splashFill 2.2s var(--ease-snap) .4s forwards;
}
@keyframes splashFill { to { width: 100%; } }
.splash-tagline {
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--cream-3); animation: splashIn .6s var(--ease-out) .8s both;
}

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem var(--gutter);
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13,12,10,.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--line-light);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-links { display: flex; gap: 2.5rem; }
@media (max-width: 768px) { .nav-links { display: none; } }
.nav-link {
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cream-2); font-weight: 500; transition: color .3s;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 1px; background: var(--gold);
  transition: right .35s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { right: 0; }
.nav-ctas { display: flex; gap: .75rem; align-items: center; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-b); font-weight: 600;
  border-radius: 100px; cursor: pointer;
  transition: transform .3s var(--ease-soft), box-shadow .3s, background .25s;
  white-space: nowrap; border: none;
}
.btn:active { transform: scale(.96) !important; }

.btn-gold {
  padding: .55rem 1.2rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--gold); color: var(--bg);
}
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 0 20px rgba(236,196,67,.4); transform: translateY(-2px); }

.btn-wa {
  padding: .55rem 1.2rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--bordo); color: #fff;
}
.btn-wa:hover { background: var(--bordo-2); box-shadow: 0 0 20px var(--bordo-glow); transform: translateY(-2px); }

.btn-primary-lg {
  padding: .9rem 2rem; font-size: 1rem;
  background: var(--gold); color: var(--bg);
  box-shadow: 0 4px 20px rgba(236,196,67,.22);
}
.btn-primary-lg:hover { background: var(--gold-2); box-shadow: 0 8px 32px rgba(236,196,67,.45); transform: translateY(-3px); }

.btn-ghost-lg {
  padding: .9rem 2rem; font-size: 1rem;
  background: transparent; color: var(--cream);
  border: 1.5px solid rgba(240,232,213,.28);
}
.btn-ghost-lg:hover { border-color: var(--cream); background: rgba(240,232,213,.06); transform: translateY(-3px); }

.btn-ghost-md {
  padding: .7rem 1.6rem; font-size: .9rem;
  background: transparent; color: var(--cream);
  border: 1.5px solid rgba(240,232,213,.3);
}
.btn-ghost-md:hover { border-color: var(--cream); transform: translateY(-2px); }

.btn-outline-bordo {
  padding: .9rem 2rem; font-size: 1rem;
  background: transparent; color: var(--bordo);
  border: 1.5px solid var(--bordo);
}
.btn-outline-bordo:hover {
  background: rgba(194,24,27,.1);
  box-shadow: 0 4px 20px var(--bordo-glow);
  transform: translateY(-3px);
}

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

.section-eyebrow {
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 1rem; display: block;
}
.section-title {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; color: var(--cream);
}
.section-title em { font-style: italic; color: var(--gold); }
.section-header { margin-bottom: clamp(3rem, 6vw, 5rem); }

/* ---- REVEAL ---- */
.reveal-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-up.is-vis { opacity: 1; transform: translateY(0); }

/* ---- SECTION TRANSITIONS ---- */
.section-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  line-height: 0; pointer-events: none; z-index: 3;
}
.section-wave svg { width: 100%; display: block; }
.wave-bottom-dark svg path { fill: var(--bg-2); }

.transition-diagonal {
  height: 0; position: relative; overflow: hidden;
  display: none;
}
.td-red-to-dark {
  display: none;
}

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 8rem var(--gutter) 10rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; will-change: transform; }
.hero-tint {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(13,12,10,.5) 0%, rgba(13,12,10,.72) 55%, rgba(13,12,10,.38) 100%);
  /* background: linear-gradient(110deg, rgba(13,12,10,.92) 0%, rgba(13,12,10,.72) 55%, rgba(13,12,10,.38) 100%); */
}
.hero-grain {
  position: absolute; inset: 0;
  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)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: .45; pointer-events: none;
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 78% 50%, rgba(236,196,67,.07) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 90% 80%, rgba(194,24,27,.06) 0%, transparent 60%);
}

/* Logo hero */
.hero-logo-wrap {
  margin-bottom: 2rem;
}
.hero-logo {
  height: clamp(60px, 10vw, 100px); width: auto;
  
  opacity: .92;
  drop-shadow: 0 4px 24px rgba(0,0,0,.5);
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 680px;
}
.hero-eyebrow {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 1.25rem; display: block;
}
.hero-title {
  font-family: var(--font-d); font-weight: 300;
  font-size: clamp(3rem, 7.5vw, 6.5rem); line-height: 1.04;
  color: var(--cream); margin-bottom: 1.5rem;
}
.hero-title span { display: block; }
.hero-em em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: var(--cream-2); max-width: 520px; margin-bottom: 2.5rem; line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Objetos flotantes — hero */
.hero-objects {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.obj { position: absolute; will-change: transform; filter: drop-shadow(0 16px 48px rgba(0,0,0,.6)); }

/* Hero objects positions */
.obj-1 { width: clamp(100px, 14vw, 200px); right: 8%; top: 22%; }
.obj-2 { width: clamp(70px, 10vw, 150px); right: 28%; top: 14%; opacity: .8; }
.obj-3 { width: clamp(60px, 8vw, 120px); right: 14%; bottom: 22%; opacity: .6; }

/* Float idle animations — se combinan con el mouse */
.obj-1 { animation: fA 6s ease-in-out infinite; }
.obj-2 { animation: fB 7.5s ease-in-out infinite; }
.obj-3 { animation: fC 5.5s ease-in-out infinite; }

@keyframes fA { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-16px) rotate(1.5deg)} }
@keyframes fB { 0%,100%{transform:translateY(0) rotate(3deg)} 50%{transform:translateY(-20px) rotate(-1deg)} }
@keyframes fC { 0%,100%{transform:translateY(-6px) rotate(-3deg)} 50%{transform:translateY(10px) rotate(2deg)} }

/* Parallax section objects */
.parallax-objects { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.obj-pa { width: clamp(80px, 12vw, 160px); right: 6%; top: 20%; animation: fB 7s ease-in-out infinite; opacity: .7; }
.obj-pb { width: clamp(60px, 8vw, 110px); right: 18%; bottom: 15%; animation: fC 6s ease-in-out infinite; opacity: .5; }

/* Showcase objects */
.showcase-objects { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.sobj-1 { width: clamp(60px,  8vw, 130px); left:  3%; top:  12%; animation: fA 7s ease-in-out infinite; opacity: .65; }
.sobj-2 { width: clamp(80px, 11vw, 160px); left: 10%; bottom: 14%; animation: fB 8.5s ease-in-out infinite; opacity: .55; }
.sobj-3 { width: clamp(55px,  7vw, 110px); left: 22%; top: 20%; animation: fC 6s ease-in-out infinite; opacity: .45; }
.sobj-4 { width: clamp(70px, 10vw, 150px); right:  4%; top:  10%; animation: fB 7s ease-in-out infinite reverse; opacity: .65; }
.sobj-5 { width: clamp(85px, 12vw, 170px); right: 12%; bottom: 12%; animation: fA 9s ease-in-out infinite; opacity: .55; }
.sobj-6 { width: clamp(50px,  7vw, 100px); right: 26%; top: 22%; animation: fC 6.5s ease-in-out infinite; opacity: .4; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: var(--gutter); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
}
.hero-scroll-hint span {
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cream-3); writing-mode: vertical-lr;
}
.scroll-line {
  width: 1px; height: 55px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.4;height:38px} 50%{opacity:1;height:65px} }

/* ---- TICKER ---- */
.ticker-wrap {
  background: var(--bordo);
  overflow: hidden; padding: .7rem 0;
  position: relative; z-index: 2;
}
.ticker {
  display: flex; gap: 2rem; align-items: center;
  white-space: nowrap;
  animation: tickerRoll 32s linear infinite;
  width: max-content;
}
@keyframes tickerRoll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker span {
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.9); font-family: var(--font-b);
}
.tdot { color: rgba(255,255,255,.35) !important; font-size: .55rem !important; }
.ticker-wrap:hover .ticker { animation-play-state: paused; }

/* ---- PILARES ---- */
.pilares {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  background: var(--bg-3);
  position: relative;
}
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.pilar-card {
  background: var(--bg-4);
  border: 1px solid var(--line-light);
  border-radius: var(--r);
  padding: 2.5rem 2rem 2rem;
  position: relative; overflow: hidden;
  transition: border-color .4s, transform .4s var(--ease-out), box-shadow .4s;
}
.pilar-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(236,196,67,.07), transparent 65%);
  transition: opacity .4s;
}
.pilar-card:hover { border-color: rgba(236,196,67,.25); transform: translateY(-7px); box-shadow: 0 24px 64px rgba(0,0,0,.45); }
.pilar-card:hover::before { opacity: 1; }

.pilar-num {
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-d); font-size: 3.5rem; font-weight: 800;
  color: rgba(236,196,67,.08); line-height: 1;
}
.pilar-icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 1.5rem; }
.pilar-icon svg { width: 100%; height: 100%; }
.pilar-card h3 {
  font-family: var(--font-d); font-weight: 500;
  font-size: 1.25rem; color: var(--cream); margin-bottom: .65rem;
}
.pilar-card p { color: var(--cream-2); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }

/* Línea de acento bordó en cada card */
.pilar-accent-line {
  height: 2px; width: 32px;
  background: linear-gradient(90deg, var(--bordo), transparent);
  border-radius: 2px;
}

/* ---- PARALLAX ---- */
.parallax-section {
  position: relative; min-height: 70vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--bg-2);
}
.parallax-img-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.parallax-img {
  width: 100%; height: 130%; object-fit: cover; object-position: center 40%;
  top: -15%; position: relative; will-change: transform;
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,12,10,.9) 0%, rgba(13,12,10,.7) 55%, rgba(13,12,10,.45) 100%);
}
.parallax-content {
  position: relative; z-index: 3;
  max-width: 560px; padding: 6rem var(--gutter);
  margin-left: max(var(--gutter), calc((100vw - var(--max-w)) / 2));
}
.parallax-quote {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.25;
  color: var(--cream); margin-bottom: 1.5rem;
  border-left: 3px solid var(--bordo); padding-left: 1.5rem;
}
.parallax-sub {
  color: var(--cream-2); font-size: 1rem; line-height: 1.8; margin-bottom: 2rem;
}

/* ---- MARCAS ---- */
.marcas {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(6rem, 10vw, 10rem);
  background: var(--bg); position: relative;
}
.logos-slider-wrap {
  overflow: hidden; padding: 2rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  margin-bottom: 3rem;
}
.logos-slider {
  display: flex; gap: 3rem; align-items: center;
  animation: logoScroll 18s linear infinite;
  width: max-content;
}
@keyframes logoScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.logos-slider-wrap:hover .logos-slider { animation-play-state: paused; }

.logo-slide {
  background: var(--bg-3);
  border: 1px solid var(--line-light);
  border-radius: var(--r);
  padding: 1.5rem 2.5rem;
  display: flex; align-items: center; justify-content: center;
  min-width: 160px; height: 90px;
  transition: border-color .3s, transform .3s var(--ease-out);
  flex-shrink: 0;
}
.logo-slide:hover { border-color: rgba(200,151,58,.3); transform: translateY(-4px); }
.logo-slide img {
  max-height: 50px; max-width: 120px;
  width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .7;
  transition: opacity .3s, filter .3s;
}
.logo-slide:hover img { opacity: 1; filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(5deg); }

.marcas-sub {
  text-align: center; color: var(--cream-3); max-width: 520px; margin: 0 auto;
  font-size: .95rem; line-height: 1.75;
}

/* ---- SHOWCASE ---- */
.showcase {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; padding: 7rem var(--gutter) 10rem;
}
.showcase-bg { position: absolute; inset: 0; z-index: 0; }
.showcase-bg-img {
  width: 100%; height: 115%; object-fit: cover; object-position: center 20%;
  top: -7%; position: relative; will-change: transform;
}
.showcase-overlay {
  position: absolute; inset: 0;
  background: rgba(13,12,10,.80);
}
.showcase-content { position: relative; z-index: 3; max-width: 680px; margin: 0 auto; }
.showcase-title {
  font-family: var(--font-d); font-weight: 300;
  font-size: clamp(2.5rem, 6.5vw, 5rem); line-height: 1.08;
  color: var(--cream); margin: 1rem 0 1.5rem;
}
.showcase-title em { font-style: italic; color: var(--gold); }
.showcase-sub {
  color: var(--cream-2); max-width: 480px; margin: 0 auto 3rem;
  font-size: 1.05rem; line-height: 1.8;
}
.showcase-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---- CTA FINAL ---- */
.cta-final {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--bg);
}
.cta-box {
  background: var(--bg-3);
  border: 1px solid var(--line-light);
  border-radius: calc(var(--r) * 1.5);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 0%, rgba(236,196,67,.05), transparent 60%);
  pointer-events: none;
}

/* Bordó decorativo en top */
.cta-bordo-line {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--bordo), transparent);
  border-radius: 0 0 3px 3px;
}

.cta-deco-bg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; user-select: none;
  z-index: 0;
  width: 60%; max-width: 500px;
  display: flex; align-items: center; justify-content: center;
}
.cta-deco-bg img {
  width: 100%; height: auto;
  filter: brightness(0) invert(1);
  opacity: .04;
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.2;
  color: var(--cream); margin: 1rem 0 1.25rem; position: relative;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-sub {
  color: var(--cream-2); max-width: 480px; margin: 0 auto 2.5rem;
  font-size: 1.05rem; line-height: 1.7; position: relative;
}
.cta-btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-bottom: 2.5rem; position: relative;
}
.cta-datos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  font-size: .83rem; color: var(--cream-3); position: relative;
}

/* ---- FOOTER ---- */
.footer { border-top: 1px solid var(--line-light); background: var(--bg-2); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding: 4rem var(--gutter);
  max-width: var(--max-w); margin: 0 auto;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem var(--gutter); } }
.footer-logo {
  height: 48px; width: auto; margin-bottom: 1rem;
  filter: brightness(0) invert(1); opacity: .65;
}
.footer-brand p { color: var(--cream-3); font-size: .875rem; line-height: 1.7; max-width: 260px; }
.footer h4 {
  font-size: .7rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 1.25rem;
}
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a, .footer-col span, .footer-col p {
  color: var(--cream-2); font-size: .88rem;
  transition: color .3s;
}
.footer-col a:hover { color: var(--cream); }
.footer-wa {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--bordo) !important; font-weight: 600; margin-top: .5rem;
  transition: opacity .3s !important;
}
.footer-wa:hover { opacity: .75; }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding: 1.5rem var(--gutter); text-align: center;
}
.footer-bottom p { color: var(--cream-3); font-size: .76rem; letter-spacing: .04em; }

/* ---- MAGNETIC ---- */
.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner {
  display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  will-change: transform; transition: transform .8s var(--ease-soft);
}

/* ---- MOBILE ---- */
@media (max-width: 640px) {
  .hero { padding: 7rem 1.5rem 5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-objects .obj-2, .hero-objects .obj-3 { display: none; }
  .parallax-content { padding: 4rem 1.5rem; margin-left: 0; }
  .cta-datos { flex-direction: column; align-items: center; gap: .75rem; }
  .pilares-grid { grid-template-columns: 1fr; }
  .showcase-ctas { flex-direction: column; align-items: center; }
  .showcase-ctas .btn { width: 100%; justify-content: center; }
  .showcase-objects .sobj-3,.showcase-objects .sobj-6 { display: none; }
  .parallax-objects .obj-pb { display: none; }
}


/* ============================================================
   v4 ADDITIONS — paleta nueva, DM Sans, sin objetos, formas catálogo
   ============================================================ */

/* ---- SPLASH logo img ---- */
.splash-logo-img {
  display: flex; align-items: center; justify-content: center;
  animation: splashIn .9s var(--ease-soft) .1s both;
}
.splash-logo-img img {
  height: clamp(60px, 12vw, 100px); width: auto;

  
}

/* ---- TICKER: bordes rectos, sin wave ---- */
.ticker-wrap {
  position: relative; z-index: 2;
  /* el hero termina recto, ticker empieza recto */
  margin-top: 0;
}

/* ---- HERO: borde inferior recto para ir al ticker ---- */
.hero {
  padding-bottom: 6rem; /* ajuste sin wave */
}
/* Aseguramos que el hero no tenga overflow que tape el ticker */
.hero .section-wave { display: none; }

/* ---- PILARES: sin gap con ticker ---- */
.pilares {
  padding-top: clamp(4rem, 8vw, 7rem);
  margin-top: 0;
}

/* ---- PARALLAX: wave abajo ya se fix en HTML con #0D0C0A ---- */

/* ============================================================
   FORMAS DECORATIVAS — inspiradas en el catálogo Müller
   Círculo outline, arco, puntos, blob redondeado
   ============================================================ */

/* Forma 1: Círculo outline grande (esquina) */
.deco-circle {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%;
  border: 2px solid rgba(236,196,67,.12);
}

/* Forma 2: Semicírculo relleno (como el arco del catálogo) */
.deco-arch {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%;
  background: rgba(194,24,27,.07);
}

/* Forma 3: Bloque redondeado amarillo (como el del catálogo) */
.deco-blob {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 999px;
  background: rgba(236,196,67,.08);
}

/* Forma 4: Grid de puntos */
.deco-dots {
  position: absolute; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(236,196,67,.25) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .5;
}

/* ---- Decoraciones en PILARES ---- */
.pilares { overflow: hidden; }
/* Círculo top-right: centrado dentro para que quede completo */
.pilares::before {
  content: '';
  position: absolute; top: 50px; right: 50px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(236,196,67,.12);
  pointer-events: none; z-index: 0;
}
/* Círculo bordó bottom-left: idem */
.pilares::after {
  content: '';
  position: absolute; bottom: 50px; left: 50px;
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 1.5px solid rgba(194,24,27,.16);
  pointer-events: none; z-index: 0;
}

/* Círculo decorativo en pilar header — entero */
.section-header {
  position: relative;
}
.section-header::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(236,196,67,.06);
  pointer-events: none;
}

/* ---- Decoraciones en CTA FINAL ---- */
.cta-box::after {
  content: '';
  position: absolute; bottom: -30px; right: -30px;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(236,196,67,.08);
  pointer-events: none;
}

/* Dots en esquina del cta box */
.cta-box .cta-deco-bg {
  /* ya existe, mantenemos */
}

/* ---- Decoraciones en MARCAS ---- */
.marcas { overflow: hidden; position: relative; }
/* Blob vertical amarillo — óvalo entero */
.marcas::before {
  content: '';
  position: absolute; top: 50%; right: 4%;
  transform: translateY(-50%);
  width: 60px; height: 120px;
  border-radius: 999px;
  background: rgba(236,196,67,.07);
  pointer-events: none; z-index: 0;
}
/* Círculo outline bordó — dentro de la sección, sin corte */
.marcas::after {
  content: '';
  position: absolute; top: 50%; right: 6%;
  transform: translateY(-50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 1.5px solid rgba(194,24,27,.16);
  pointer-events: none; z-index: 0;
}

/* Dots en sección marcas (esquina top-left) */
.logos-slider-wrap {
  position: relative;
}
.logos-slider-wrap::before {
  content: '';
  position: absolute; top: -40px; left: -20px;
  width: 120px; height: 120px;
  background-image: radial-gradient(circle, rgba(236,196,67,.3) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  pointer-events: none; z-index: 0;
  opacity: .6;
}

/* ---- Decoración PARALLAX section ---- */
.parallax-section { overflow: hidden; }
.parallax-content::before {
  content: '';
  position: absolute; top: -60px; right: -80px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1.5px solid rgba(236,196,67,.1);
  pointer-events: none;
}
.parallax-content { position: relative; }

/* ---- Dot grid en hero — mitad inferior ---- */
.hero::after {
  content: '';
  position: absolute; top: 50%; bottom: 0; right: 5%;
  width: 220px;
  background-image: radial-gradient(circle at center, var(--gold) 3px, transparent 3px);
  background-size: 24px 24px;
  pointer-events: none; z-index: 2; opacity: 1;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* ---- Blob amarillo en showcase ---- */
.showcase::before {
  content: '';
  position: absolute; top: 15%; right: 3%;
  width: 60px; height: 120px;
  border-radius: 999px;
  background: rgba(236,196,67,.07);
  pointer-events: none; z-index: 3;
}
.showcase::after {
  content: '';
  position: absolute; bottom: 20%; left: 4%;
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 1.5px solid rgba(236,196,67,.1);
  pointer-events: none; z-index: 3;
}

/* ---- Línea decorativa roja en sección pilares (lateral) ---- */
.pilares .container::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--bordo), transparent);
  pointer-events: none;
}
.pilares .container { position: relative; }

/* ---- Número flotante grande en parallax ---- */
.parallax-section::before {
  content: '25';
  position: absolute; right: 5%; bottom: 10%;
  font-family: var(--font-d); font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 900; line-height: 1;
  color: rgba(236,196,67,.04);
  pointer-events: none; z-index: 1;
  letter-spacing: -.05em; user-select: none;
}

/* ---- Mantenemos que no haya objetos flotantes (limpiamos las reglas) ---- */
.hero-objects, .parallax-objects, .showcase-objects { display: none; }
.obj { display: none; }

.transition-wave { display: none; height: 0; }
