@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Variables de Diseño */
:root {
  --color-obsidian: #0A1128;
  --color-obsidian-deep: #000411;
  --color-gold: #D4AF37;
  --color-gold-light: #F3E5AB;
  --color-gold-dark: #AA7C11;
  --color-teal: #00A896;
  --color-teal-light: #028090;
  --color-slate-gray: #8F9FA9;
  --color-ivory: #FFF7E0;
  --color-cyan: #7DE2D1;
  --color-ink-soft: #111C37;
  --color-card-bg: rgba(10, 17, 40, 0.7);
  --color-text-main: #F4F6F9;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-out;
}

/* Reseteos y Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background:
    linear-gradient(180deg, rgba(0, 4, 17, 1) 0%, rgba(5, 12, 30, 1) 42%, rgba(0, 4, 17, 1) 100%);
  color: var(--color-text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

html {
  scrollbar-gutter: stable;
}

html.preload-pending,
html.preload-pending body {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

iframe,
video,
canvas,
svg {
  max-width: 100%;
}

section {
  scroll-margin-top: 96px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: #FFFFFF;
  letter-spacing: 0;
}

/* Personalización del Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-obsidian-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* PRELOADER / ANIMACIÓN DE ENTRADA */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 20% 22%, rgba(125, 226, 209, 0.14), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(212, 175, 55, 0.15), transparent 24%),
    linear-gradient(145deg, rgba(0, 4, 17, 0.98), rgba(8, 20, 42, 0.96) 45%, rgba(0, 4, 17, 1));
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  will-change: opacity, transform;
}

.preloader-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 168, 150, 0.1) 0%, rgba(0, 4, 17, 0) 70%);
  opacity: 0;
  animation: pulseBg 3s infinite alternate;
}

.preloader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), transparent 82%);
  opacity: 0.8;
}

.preloader-beam {
  position: absolute;
  width: 42vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
  filter: blur(0.4px);
  opacity: 0.8;
}

.preloader-beam-a {
  top: 26%;
  left: -8%;
  transform: rotate(12deg);
}

.preloader-beam-b {
  right: -8%;
  bottom: 24%;
  transform: rotate(-14deg);
  background: linear-gradient(90deg, transparent, rgba(125, 226, 209, 0.4), transparent);
}

.preloader-logo-container {
  text-align: center;
  position: relative;
  z-index: 10;
  width: min(92vw, 760px);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(4, 12, 30, 0.58);
  box-shadow: 0 32px 120px rgba(0, 4, 17, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.preloader-logo-shell {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  padding: 5px;
  background: conic-gradient(from 120deg, rgba(212, 175, 55, 0.2), rgba(125, 226, 209, 0.9), rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0.2));
  box-shadow: 0 0 45px rgba(212, 175, 55, 0.25);
  animation: logoReveal 1.6s ease-out both, slowSpin 7s linear infinite;
}

.preloader-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.preloader-orbit-one {
  inset: 18px;
  border-color: rgba(212, 175, 55, 0.16);
}

.preloader-orbit-two {
  inset: 38px 58px;
  border-color: rgba(125, 226, 209, 0.14);
}

.preloader-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.preloader-text {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #FFFFFF;
  opacity: 0;
  transform: translateY(20px);
  margin-top: 1.5rem;
}

.preloader-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--color-gold);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  margin-top: 0.5rem;
  font-weight: 500;
}

.preloader-status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 2rem auto 1.4rem;
}

.preloader-status-card {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
}

.preloader-status-card span {
  display: block;
  color: rgba(125, 226, 209, 0.82);
  font: 700 0.62rem/1 var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.45rem;
}

.preloader-status-card strong {
  color: #fff;
  font: 700 0.95rem/1.25 var(--font-title);
}

.preloader-progress-bar {
  width: min(100%, 420px);
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 0.3rem;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.preloader-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  box-shadow: 0 0 10px rgba(0, 168, 150, 0.5);
}

.preloader-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100%, 420px);
  margin: 0.85rem auto 0;
  color: rgba(226, 232, 240, 0.74);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.preloader-progress-value {
  color: var(--color-gold-light);
  font-family: var(--font-title);
  font-weight: 700;
}

/* GRADIENTE DEL HERO DINÁMICO */
.hero-gradient-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(120deg, rgba(0, 4, 17, 0.98), rgba(9, 20, 45, 0.88) 38%, rgba(0, 4, 17, 0.97)),
    radial-gradient(circle at 18% 22%, rgba(125, 226, 209, 0.18), transparent 28%),
    radial-gradient(circle at 78% 16%, rgba(212, 175, 55, 0.18), transparent 26%),
    radial-gradient(circle at 60% 76%, rgba(69, 96, 173, 0.16), transparent 34%);
  background-size: 130% 130%;
  animation: meshDrift 16s ease-in-out infinite alternate;
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

.hero-spotlight {
  --mx: 50%;
  --my: 45%;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 247, 224, 0.12), transparent 23rem);
  transition: background 0.2s ease-out;
}

/* GLASSMORPHISM */
.glass-navbar {
  background: rgba(0, 4, 17, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
}

.glass-card {
  background: rgba(10, 17, 40, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: var(--transition-smooth);
  transform-style: preserve-3d;
}

.glass-card:hover {
  background: rgba(10, 17, 40, 0.65);
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0, 4, 17, 0.7), 0 0 25px rgba(212, 175, 55, 0.05);
}

.glass-panel {
  background: rgba(10, 17, 40, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.section-shell .glass-card,
.section-shell .glass-panel,
.section-shell .sim-option-card,
.section-shell .visual-copy-list div,
.section-shell .process-step,
.section-shell .gallery-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(5, 12, 30, 0.62);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 4, 17, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-shell .glass-panel {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section-shell .glass-card:hover,
.section-shell .sim-option-card:hover {
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 28px 80px rgba(0, 4, 17, 0.5), 0 0 26px rgba(212, 175, 55, 0.06);
}

/* BOTONES PREMIUM (ORO Y TEAL) */
.btn-gold-outline {
  position: relative;
  background: transparent;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.75rem 2rem;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-gold-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-gold-outline:hover {
  color: var(--color-obsidian-deep);
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-gold-outline:hover::before {
  width: 100%;
}

.btn-gold-fill {
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
  color: var(--color-obsidian-deep);
  padding: 0.75rem 2rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  transition: var(--transition-smooth);
}

.btn-gold-fill:hover {
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
  color: var(--color-obsidian-deep);
}

.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #1fa855, #0f7f42);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 45px rgba(0, 4, 17, 0.45), 0 0 24px rgba(31, 168, 85, 0.24);
  font: 800 0.88rem/1 var(--font-title);
  letter-spacing: 0.02em;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.whatsapp-float svg {
  width: 1.6rem;
  height: 1.6rem;
  flex: 0 0 auto;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #ffffff;
  transform: translateY(-3px);
  background: linear-gradient(135deg, #24bd60, #108246);
  box-shadow: 0 22px 55px rgba(0, 4, 17, 0.55), 0 0 30px rgba(31, 168, 85, 0.34);
}

.whatsapp-float:focus-visible {
  outline: 2px solid rgba(255, 247, 224, 0.72);
  outline-offset: 4px;
}

/* SIMULADOR TRIBUTARIO / DIAGNÓSTICO */
.sim-step {
  display: none;
}
.sim-step.active {
  display: block;
  animation: fadeInSlide 0.5s ease-out forwards;
}

.sim-shell {
  max-width: 100%;
}

.sim-shell-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.35;
}

.sim-shell-glow-a {
  width: 220px;
  height: 220px;
  top: -80px;
  right: -20px;
  background: rgba(212, 175, 55, 0.18);
}

.sim-shell-glow-b {
  width: 240px;
  height: 240px;
  bottom: -120px;
  left: -40px;
  background: rgba(0, 168, 150, 0.16);
}

.sim-panel-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  border-color: rgba(212, 175, 55, 0.35);
  z-index: 2;
}

.sim-panel-corner-tl {
  top: 20px;
  left: 20px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.sim-panel-corner-tr {
  top: 20px;
  right: 20px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.sim-panel-corner-bl {
  bottom: 20px;
  left: 20px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.sim-panel-corner-br {
  bottom: 20px;
  right: 20px;
  border-bottom: 1px solid;
  border-right: 1px solid;
}

.sim-shell-headerline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  color: rgba(148, 163, 184, 0.72);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.sim-meta-board {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sim-meta-card {
  padding: 1rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sim-meta-card span,
.sim-option-eyebrow,
.sim-progress-stop span,
.sim-step-heading span,
.sim-result-chip {
  display: inline-block;
  font: 700 0.63rem/1 var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.sim-meta-card span,
.sim-option-eyebrow,
.sim-result-chip {
  color: var(--color-cyan);
}

.sim-meta-card strong {
  display: block;
  margin: 0.45rem 0 0.35rem;
  color: white;
  font: 700 0.95rem/1.25 var(--font-title);
}

.sim-meta-card p,
.sim-step-heading p {
  margin: 0;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.85rem;
  line-height: 1.55;
}

.sim-progress-track {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.sim-progress-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 21px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 168, 150, 0.18), rgba(212, 175, 55, 0.42), rgba(0, 168, 150, 0.18));
}

.sim-progress-stop {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}

.sim-progress-stop span {
  color: rgba(226, 232, 240, 0.74);
}

.sim-option-card {
  position: relative;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  overflow: hidden;
}

.sim-option-card::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), rgba(255,255,255,0.02));
  transition: var(--transition-fast);
}

.sim-option-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 168, 150, 0.3);
}

.sim-option-card.selected {
  background: rgba(0, 168, 150, 0.08);
  border-color: var(--color-teal);
  box-shadow: 0 0 15px rgba(0, 168, 150, 0.15);
}

.sim-option-card.selected::after {
  background: radial-gradient(circle at 35% 35%, rgba(125, 226, 209, 0.8), rgba(0, 168, 150, 0.18));
  border-color: rgba(125, 226, 209, 0.8);
  box-shadow: 0 0 18px rgba(125, 226, 209, 0.3);
}

.sim-step-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}

.sim-step-heading span {
  color: var(--color-gold-light);
  margin-bottom: 0.45rem;
}

.sim-progress-node {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)),
    rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 4, 17, 0.28);
}

.sim-progress-node.active {
  background: var(--color-teal);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 168, 150, 0.5);
}

.sim-progress-node.completed {
  background: var(--color-gold);
  color: var(--color-obsidian-deep);
}

.sim-result-card {
  border-radius: 12px;
  border: 1px solid rgba(0, 168, 150, 0.24);
  background:
    linear-gradient(145deg, rgba(125, 226, 209, 0.06), rgba(255,255,255,0.02)),
    rgba(2, 9, 28, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 60px rgba(0, 4, 17, 0.35);
}

.sim-result-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.35rem;
}

.sim-result-chip {
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 226, 209, 0.18);
  background: rgba(125, 226, 209, 0.08);
}

#sim-result-actions li {
  position: relative;
  padding-left: 1rem;
  margin-top: 0.55rem;
}

#sim-result-actions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
}

/* ANIMACIONES KEYFRAMES */
@keyframes pulseBg {
  0% { opacity: 0.3; transform: scale(0.95); }
  100% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes logoReveal {
  from { opacity: 0; transform: scale(0.82) rotate(-8deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes slowSpin {
  from { background-position: 0% 0%; }
  to { background-position: 200% 200%; }
}

@keyframes meshDrift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 65%; }
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSoft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.05); }
}

/* Identidad y hero */
.brand-logo {
  object-fit: cover;
  object-position: center;
}

.hero-section {
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
}

.section-shell {
  isolation: isolate;
  background: var(--color-obsidian-deep);
}

.section-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.025));
}

.section-content {
  position: relative;
  z-index: 10;
}

.section-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
  mix-blend-mode: luminosity;
}

.section-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08);
}

.section-bg-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 4, 17, 0.96), rgba(0, 4, 17, 0.78), rgba(0, 4, 17, 0.96)),
    linear-gradient(180deg, rgba(0, 4, 17, 0.84), transparent 48%, rgba(0, 4, 17, 0.9));
}

.section-shell-services .section-bg-media,
.section-shell-experience .section-bg-media {
  opacity: 0.22;
}

.section-shell-services .section-bg-media::after,
.section-shell-experience .section-bg-media::after {
  background:
    linear-gradient(90deg, rgba(0, 4, 17, 0.9), rgba(0, 4, 17, 0.66), rgba(0, 4, 17, 0.88)),
    linear-gradient(180deg, rgba(0, 4, 17, 0.76), transparent 46%, rgba(0, 4, 17, 0.82));
}

.section-gradient-mesh {
  opacity: 0.86;
}

.section-grid-overlay {
  opacity: 0.7;
  mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 0.82) 72%, transparent);
}

.section-spotlight {
  opacity: 0.9;
}

.section-shell-services .section-gradient-mesh {
  background-image:
    linear-gradient(120deg, rgba(0, 4, 17, 0.98), rgba(8, 29, 47, 0.86) 44%, rgba(0, 4, 17, 0.98)),
    radial-gradient(circle at 16% 18%, rgba(125, 226, 209, 0.2), transparent 30%),
    radial-gradient(circle at 82% 28%, rgba(212, 175, 55, 0.16), transparent 28%),
    radial-gradient(circle at 50% 86%, rgba(69, 96, 173, 0.15), transparent 35%);
}

.section-shell-experience .section-gradient-mesh {
  background-image:
    linear-gradient(125deg, rgba(5, 12, 30, 0.96), rgba(0, 4, 17, 0.92) 50%, rgba(11, 34, 47, 0.9)),
    radial-gradient(circle at 74% 16%, rgba(125, 226, 209, 0.17), transparent 28%),
    radial-gradient(circle at 22% 68%, rgba(212, 175, 55, 0.16), transparent 32%);
}

.section-shell-diagnostic .section-gradient-mesh {
  background-image:
    linear-gradient(120deg, rgba(0, 4, 17, 0.98), rgba(10, 17, 40, 0.9) 50%, rgba(0, 4, 17, 0.98)),
    radial-gradient(circle at 50% 18%, rgba(212, 175, 55, 0.17), transparent 26%),
    radial-gradient(circle at 16% 74%, rgba(125, 226, 209, 0.14), transparent 30%);
}

.section-shell-values .section-gradient-mesh {
  background-image:
    linear-gradient(120deg, rgba(0, 4, 17, 0.98), rgba(7, 19, 41, 0.9) 42%, rgba(0, 4, 17, 0.98)),
    radial-gradient(circle at 15% 24%, rgba(212, 175, 55, 0.17), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(125, 226, 209, 0.16), transparent 34%);
}

.section-shell-contact .section-gradient-mesh {
  background-image:
    linear-gradient(120deg, rgba(0, 4, 17, 0.98), rgba(8, 26, 43, 0.88) 48%, rgba(0, 4, 17, 0.98)),
    radial-gradient(circle at 70% 18%, rgba(212, 175, 55, 0.18), transparent 28%),
    radial-gradient(circle at 18% 72%, rgba(125, 226, 209, 0.16), transparent 30%);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 247, 224, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-badge {
  background: rgba(255, 247, 224, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-cyan);
  box-shadow: 0 0 0 0 rgba(125, 226, 209, 0.5);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(125, 226, 209, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(125, 226, 209, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 226, 209, 0); }
}

.text-gradient-gold {
  color: transparent;
  background: linear-gradient(90deg, var(--color-ivory), var(--color-gold), var(--color-cyan));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-proof-row > div {
  min-height: 86px;
  padding: 1rem;
  border-left: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.hero-proof-row strong,
.hero-proof-row span {
  display: block;
}

.hero-proof-row strong {
  color: var(--color-gold-light);
  font: 800 1.35rem/1 var(--font-title);
  margin-bottom: 0.5rem;
}

.hero-proof-row span {
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.75rem;
}

.hero-visual-stage {
  position: relative;
  min-height: clamp(420px, 58vw, 620px);
  width: min(100%, 640px);
  margin-inline: auto;
}

.logo-orbit-card {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(5, 12, 30, 0.72);
  box-shadow: 0 35px 100px rgba(0, 4, 17, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: visible;
  animation: floatSoft 6.5s ease-in-out infinite;
}

.logo-orbit-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  pointer-events: none;
}

.hero-logo-mark {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 55px rgba(212, 175, 55, 0.28);
  position: relative;
  z-index: 3;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 247, 224, 0.18);
  transform: translate(-50%, -50%);
  animation: orbitPulse 4s ease-in-out infinite;
}

.orbit-ring-one {
  width: 78%;
  height: 78%;
}

.orbit-ring-two {
  width: 54%;
  height: 54%;
  border-style: dashed;
  border-color: rgba(125, 226, 209, 0.3);
  animation-delay: 1.1s;
}

.floating-chip {
  position: absolute;
  z-index: 4;
  max-width: min(170px, 45vw);
  padding: 0.62rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 4, 17, 0.72);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0, 4, 17, 0.35);
}

.chip-1 { top: 18%; left: -8%; }
.chip-2 { right: -10%; top: 42%; }
.chip-3 { bottom: 16%; left: 10%; }

.dossier-card {
  position: absolute;
  right: -2%;
  bottom: 64px;
  width: min(285px, 48vw);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 9, 28, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 4, 17, 0.55);
  z-index: 5;
}

.dossier-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.78rem;
}

.dossier-line strong {
  color: var(--color-gold-light);
}

.hero-image-tile {
  position: absolute;
  left: -6%;
  bottom: 0;
  width: min(220px, 42vw);
  aspect-ratio: 22 / 15;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  z-index: 6;
  box-shadow: 0 28px 80px rgba(0, 4, 17, 0.6);
}

.hero-image-tile img,
.gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-tile > div,
.gallery-panel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 4, 17, 0.94), transparent);
}

.hero-image-tile span,
.gallery-panel span {
  display: block;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  font-weight: 800;
}

.hero-image-tile strong,
.gallery-panel strong {
  color: white;
  font-size: 0.86rem;
}

.image-slot {
  position: relative;
}

.image-slot::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 247, 224, 0.12);
  pointer-events: none;
  z-index: 2;
}

.service-card {
  will-change: transform;
  position: relative;
  min-height: 100%;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.services-grid {
  align-items: stretch;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 168, 150, 0), rgba(212, 175, 55, 0.85), rgba(0, 168, 150, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card p,
.service-card span,
.service-card a {
  transition: opacity 0.3s ease, color 0.3s ease;
}

.service-card .image-slot {
  height: clamp(220px, 24vw, 280px);
  isolation: isolate;
}

.service-card .image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  filter: saturate(0.9) brightness(0.82) contrast(1.04);
  transition: transform 0.7s ease, filter 0.35s ease;
}

.service-card .image-slot::before {
  inset: 12px;
}

.service-card .image-slot > div {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 4, 17, 0.02), rgba(0, 4, 17, 0.2) 48%, rgba(0, 4, 17, 0.86));
}

.service-card .image-slot span {
  z-index: 2;
}

.service-card:hover,
.service-card:focus-visible,
.service-card.is-active {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 28px 75px rgba(0, 4, 17, 0.52), 0 0 24px rgba(212, 175, 55, 0.08);
}

.service-card:hover::after,
.service-card:focus-visible::after,
.service-card.is-active::after {
  opacity: 1;
}

.service-card:hover .image-slot img,
.service-card:focus-visible .image-slot img,
.service-card.is-active .image-slot img {
  transform: scale(1.06);
  filter: saturate(1.02) brightness(0.96) contrast(1.08);
}

.service-card:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.5);
  outline-offset: 3px;
}

/* Galería editorial */
.visual-lab-section {
  background:
    linear-gradient(180deg, rgba(10, 17, 40, 0.94), rgba(0, 4, 17, 0.98)),
    linear-gradient(90deg, rgba(212, 175, 55, 0.07), rgba(125, 226, 209, 0.07));
}

.section-orbit {
  position: absolute;
  width: 46vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
  transform: rotate(-18deg);
  opacity: 0.55;
  z-index: 5;
}

.section-orbit-left {
  left: -10vw;
  top: 18%;
}

.visual-copy-list {
  display: grid;
  gap: 1rem;
}

.experience-shell,
.alliance-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2rem;
  align-items: start;
}

.experience-copy,
.alliance-copy {
  display: grid;
  gap: 1rem;
}

.experience-nav,
.alliance-pillars,
.alliance-cards,
.alliance-process {
  display: grid;
  gap: 1rem;
}

.alliance-process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4rem;
}

.experience-tab {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.experience-tab span,
.experience-detail-card span,
.alliance-pillar span,
.alliance-card span {
  display: block;
  color: var(--color-gold);
  font: 800 0.72rem/1 var(--font-title);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.experience-tab strong,
.experience-detail-card strong,
.alliance-pillar strong,
.alliance-card strong {
  display: block;
  color: #fff;
  font: 700 1.05rem/1.35 var(--font-title);
}

.experience-tab p,
.experience-detail-card p,
.alliance-pillar p,
.alliance-card p {
  margin: 0.7rem 0 0;
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.94rem;
  line-height: 1.6;
}

.experience-tab:hover,
.experience-tab:focus-visible,
.experience-tab.is-active {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.35);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: 0 24px 60px rgba(0, 4, 17, 0.36);
}

.experience-tab:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.45);
  outline-offset: 3px;
}

.experience-stage {
  min-width: 0;
}

.experience-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.15rem;
  align-items: stretch;
}

.experience-panel[hidden] {
  display: none;
}

.experience-figure,
.alliance-hero {
  min-height: 100%;
  overflow: hidden;
}

.experience-figure {
  aspect-ratio: 5 / 4;
}

.experience-details {
  display: grid;
  gap: 1rem;
}

.experience-detail-card,
.alliance-pillar,
.alliance-card {
  padding: 1.25rem;
}

.experience-points {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.75rem;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.93rem;
}

.alliance-board {
  display: grid;
  gap: 1rem;
}

.alliance-hero {
  aspect-ratio: 16 / 10;
}

.alliance-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alliance-brand-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: center;
}

.alliance-brand-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.case-selector-item {
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  transition: var(--transition-smooth);
}

.case-selector-item:hover,
.case-selector-item:focus-visible,
.case-selector-item.is-active {
  border-color: rgba(212, 175, 55, 0.32);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 55px rgba(0, 4, 17, 0.38);
  transform: translateY(-3px);
}

.case-selector-item:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.45);
  outline-offset: 3px;
}

.experience-layout {
  align-items: start;
}

.experience-copy-column {
  position: relative;
  z-index: 2;
}

.visual-copy-list div,
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.visual-copy-list span {
  color: var(--color-gold);
  font: 800 0.75rem/1 var(--font-title);
}

.visual-copy-list p,
.process-step p {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.9rem;
}

.case-showcase {
  position: relative;
}

.case-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.78fr);
  gap: 1.1rem;
  align-items: stretch;
}

.case-panel[hidden] {
  display: none;
}

.case-panel-copy {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.case-panel-head span {
  display: block;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.case-panel-head strong {
  color: white;
  display: block;
  font: 700 1.08rem/1.4 var(--font-title);
}

.case-panel-points {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(226, 232, 240, 0.8);
  display: grid;
  gap: 0.85rem;
  font-size: 0.92rem;
}

.case-panel .gallery-panel-feature {
  aspect-ratio: 5 / 4;
}

.editorial-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  grid-template-areas:
    "feature portrait"
    "feature compact"
    "wide wide";
  grid-auto-rows: minmax(0, auto);
  gap: 1.1rem;
}

.experience-visual-column,
.editorial-gallery {
  align-self: start;
}

.experience-visual-column {
  padding-top: 0.5rem;
}

.gallery-panel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 0;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 70px rgba(0, 4, 17, 0.45);
}

.gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-panel-feature {
  grid-area: feature;
  aspect-ratio: 4 / 5;
}

.gallery-panel-portrait {
  grid-area: portrait;
  aspect-ratio: 4 / 3;
}

.gallery-panel-compact {
  grid-area: compact;
  aspect-ratio: 4 / 3;
}

.gallery-panel-wide {
  grid-area: wide;
  aspect-ratio: 16 / 7;
}

.gallery-panel-logo {
  display: grid;
  place-items: center;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
}

.gallery-panel-logo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.42);
}

.gallery-panel-logo figcaption {
  background: linear-gradient(to top, rgba(0, 4, 17, 0.92), rgba(0, 4, 17, 0));
}

@media (min-width: 1024px) {
  .experience-copy-column {
    max-width: 34rem;
  }

  .experience-visual-column {
    padding-top: 2rem;
  }
}

.process-lane {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.glass-panel,
.glass-card,
.service-card,
.sim-result-card,
.gallery-panel,
.process-step {
  min-width: 0;
}

.values-visual-grid,
.contact-visual-stack {
  display: grid;
  gap: 1.1rem;
}

.values-visual-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  grid-template-areas:
    "main side-top"
    "main side-bottom";
}

.values-visual-main {
  grid-area: main;
  aspect-ratio: 4 / 5;
}

.values-visual-grid .gallery-panel-feature,
.values-visual-grid .gallery-panel-wide,
.values-visual-grid .gallery-panel-compact {
  grid-area: auto;
}

.values-visual-top {
  grid-area: side-top;
  aspect-ratio: 16 / 10;
}

.values-visual-bottom {
  grid-area: side-bottom;
  aspect-ratio: 1 / 1;
}

.values-visual-bottom.gallery-panel-logo {
  min-height: 0;
}

.values-visual-bottom.gallery-panel-logo img {
  width: min(150px, 42%);
  height: auto;
  aspect-ratio: 1 / 1;
}

.contact-visual-stack {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.contact-visual-primary {
  aspect-ratio: 16 / 10;
}

.contact-visual-secondary {
  aspect-ratio: 16 / 8;
}

.process-step {
  grid-template-columns: 1fr;
  min-height: 160px;
}

.process-step span {
  color: var(--color-gold-light);
  font: 800 1.1rem/1.1 var(--font-title);
}

body.page-loaded:not(.hero-gsap-ready) .hero-badge,
body.page-loaded:not(.hero-gsap-ready) .hero-title span,
body.page-loaded:not(.hero-gsap-ready) .hero-desc,
body.page-loaded:not(.hero-gsap-ready) .hero-ctas,
body.page-loaded:not(.hero-gsap-ready) .hero-proof-row > div {
  animation: riseIn 0.75s ease-out both;
}

body.page-loaded:not(.hero-gsap-ready) .hero-title span:nth-child(1) { animation-delay: 0.08s; }
body.page-loaded:not(.hero-gsap-ready) .hero-title span:nth-child(2) { animation-delay: 0.18s; }
body.page-loaded:not(.hero-gsap-ready) .hero-desc { animation-delay: 0.28s; }
body.page-loaded:not(.hero-gsap-ready) .hero-ctas { animation-delay: 0.38s; }
body.page-loaded:not(.hero-gsap-ready) .hero-proof-row > div:nth-child(1) { animation-delay: 0.48s; }
body.page-loaded:not(.hero-gsap-ready) .hero-proof-row > div:nth-child(2) { animation-delay: 0.56s; }
body.page-loaded:not(.hero-gsap-ready) .hero-proof-row > div:nth-child(3) { animation-delay: 0.64s; }

body.page-loaded:not(.hero-gsap-ready) .hero-main-card,
body.page-loaded:not(.hero-gsap-ready) .dossier-card,
body.page-loaded:not(.hero-gsap-ready) .hero-image-tile {
  animation: scaleIn 0.8s ease-out both;
}

body.page-loaded:not(.hero-gsap-ready) .dossier-card { animation-delay: 0.36s; }
body.page-loaded:not(.hero-gsap-ready) .hero-image-tile { animation-delay: 0.46s; }

.fallback-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fallback-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Elementos Flotantes de Fondo */
.floating-circle {
  display: none;
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.circle-teal {
  width: 400px;
  height: 400px;
  background: rgba(0, 168, 150, 0.08);
  top: 15%;
  right: -10%;
}

.circle-gold {
  width: 500px;
  height: 500px;
  background: rgba(212, 175, 55, 0.05);
  bottom: 20%;
  left: -15%;
}

/* Ajustes de Integración Bootstrap - Tailwind */
.container {
  width: 100%;
  padding-right: clamp(1rem, 2vw, 1.5rem);
  padding-left: clamp(1rem, 2vw, 1.5rem);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

@media (max-width: 1024px) {
  .hero-section,
  .section-shell {
    min-height: auto;
  }

  .experience-shell,
  .alliance-shell,
  .experience-panel {
    grid-template-columns: 1fr;
  }

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

  .editorial-gallery,
  .values-visual-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "feature"
      "portrait"
      "compact"
      "wide";
  }

  .values-visual-grid {
    grid-template-areas:
      "main"
      "side-top"
      "side-bottom";
  }

  .gallery-panel-feature,
  .values-visual-main {
    aspect-ratio: 16 / 11;
  }

  .gallery-panel-portrait,
  .gallery-panel-compact,
  .gallery-panel-wide,
  .values-visual-side,
  .contact-visual-primary,
  .contact-visual-secondary {
    aspect-ratio: 16 / 10;
  }

  .hero-visual-stage {
    min-height: clamp(420px, 72vw, 560px);
    max-width: 580px;
    margin: 0 auto;
  }

  .chip-1 { left: 2%; }
  .chip-2 { right: 2%; }
  .dossier-card { right: 5%; }
  .hero-image-tile { left: 4%; }

  .process-lane {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-panel {
    grid-template-columns: 1fr;
  }

  .alliance-cards {
    grid-template-columns: 1fr;
  }

  .alliance-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  section {
    scroll-margin-top: 84px;
  }

  .preloader-logo-container {
    padding: 2rem 1.15rem 1.4rem;
    border-radius: 14px;
  }

  .preloader-text {
    font-size: 1.7rem;
    letter-spacing: 0.18em;
  }

  .preloader-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.26em;
  }

  .preloader-progress-meta {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .preloader-status-card {
    text-align: center;
  }

  .values-visual-grid,
  .contact-visual-stack,
  .editorial-gallery {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .experience-tab,
  .alliance-pillar,
  .alliance-card,
  .experience-detail-card {
    padding: 1rem;
  }

  .values-visual-grid .gallery-panel-feature,
  .values-visual-grid .gallery-panel-wide,
  .values-visual-grid .gallery-panel-compact,
  .values-visual-top,
  .values-visual-bottom {
    grid-area: auto;
  }

  .gallery-panel,
  .gallery-panel-feature,
  .gallery-panel-portrait,
  .gallery-panel-compact,
  .gallery-panel-wide,
  .values-visual-main,
  .values-visual-side,
  .contact-visual-primary,
  .contact-visual-secondary {
    aspect-ratio: 16 / 11;
  }

  .sim-shell-headerline,
  .sim-meta-board {
    grid-template-columns: 1fr;
  }

  .case-selector-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .case-panel-copy {
    padding: 1rem;
  }

  .alliance-brand-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .alliance-process {
    grid-template-columns: 1fr;
  }

  .sim-shell-headerline {
    display: grid;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .sim-progress-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .sim-progress-line {
    display: none;
  }

  .sim-progress-stop span {
    font-size: 0.54rem;
    letter-spacing: 0.12em;
    text-align: center;
  }

  .hero-proof-row {
    grid-template-columns: 1fr !important;
    max-width: 100%;
  }

  .hero-proof-row.grid {
    grid-template-columns: 1fr !important;
  }

  .hero-proof-row > div {
    min-height: auto;
  }

  .hero-visual-stage {
    min-height: auto;
    display: grid;
    gap: 1rem;
    align-content: start;
  }

  .logo-orbit-card {
    width: min(100%, 360px);
  }

  .hero-logo-mark {
    width: 170px;
    height: 170px;
  }

  .floating-chip {
    position: relative;
    display: inline-block;
    inset: auto;
    margin: 0.35rem;
  }

  .dossier-card,
  .hero-image-tile {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .hero-image-tile {
    max-width: 360px;
    aspect-ratio: 16 / 10;
    justify-self: center;
  }

  .dossier-card {
    max-width: 360px;
    justify-self: center;
  }

  .service-card .image-slot {
    height: clamp(200px, 52vw, 240px);
  }

  .process-lane {
    grid-template-columns: 1fr;
  }

  .gallery-panel-large,
  .values-visual-main,
  .contact-visual-primary,
  .gallery-panel-feature,
  .gallery-panel-portrait,
  .gallery-panel-compact,
  .gallery-panel-wide {
    grid-row: span 1;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.preload-pending,
  html.preload-pending body {
    overflow: auto;
  }

  #preloader {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
