
/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --negro:       #080808;
  --crema:       #f5f0e8;
  --dorado:      #d4a96a;
  --naranja:     #c97d3a;
  --blanco:      #ffffff;
  --gris-oscuro: #1a1a1a;
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { cursor: default; }
a, button { cursor: pointer; }
html { scroll-behavior: smooth; }
body {
  background: var(--negro);
  color: var(--blanco);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
section { scroll-margin-top: 80px; }
button { font-family: inherit; border: none; background: none; }

/* ─── UTILITIES ──────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 20px;
  background: var(--negro);
  color: var(--dorado);
  border: 1px solid var(--dorado);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 10001;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 20px; }
*:focus { outline: none; }
*:focus-visible { outline: 2px solid var(--dorado); outline-offset: 3px; }
.form-error {
  font-size: 14px;
  color: var(--naranja);
  line-height: 1.5;
  display: none;
  padding-top: 8px;
}
.form-error.visible { display: block; }
.form-success {
  text-align: center;
  padding: 60px 0;
}
.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--blanco);
  margin: 24px 0 12px;
}
.form-success p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #888888;
}

/* ─── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.4s var(--ease-out-quart), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 48px;
  border-bottom-color: rgba(212, 169, 106, 0.1);
}
.nav-logo img {
  height: 40px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blanco); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--dorado);
  border: 1px solid var(--dorado);
  padding: 10px 22px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--dorado); color: var(--negro); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--blanco);
  transition: transform 0.3s var(--ease-out-quart), opacity 0.2s;
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transition: opacity 0.3s;
}
#mobile-menu.open { display: flex; opacity: 1; }
#mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--blanco);
  transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--dorado); }
#mobile-menu .nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  margin-top: 12px;
}

/* ─── SECCIÓN 1 — HERO ───────────────────────────────────────── */
#hero { position: relative; height: 800vh; }

.hero-sticky {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.hero-text {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
  max-width: 800px;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.1s ease;
}
.hero-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 400;
  color: var(--blanco);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}


/* ─── SECCIÓN 2 — PRESENTACIÓN ───────────────────────────────── */
#presentacion {
  background: var(--negro);
  padding: 120px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mascot-col {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.mascot-col img {
  max-height: 500px;
  object-fit: contain;
  mix-blend-mode: lighten;
  animation: mascotFloat 3s ease-in-out infinite;
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.pres-col { display: flex; flex-direction: column; gap: 24px; }
.tag-small {
  font-size: 12px;
  font-weight: 500;
  color: var(--dorado);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pres-col h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 400;
  color: var(--blanco);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.pres-col .lead {
  font-size: 18px;
  color: #aaaaaa;
  line-height: 1.7;
  max-width: 520px;
}
.cta-group {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-primary {
  display: inline-block;
  background: var(--dorado);
  color: var(--negro);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s var(--ease-out-quart);
}
.btn-primary:hover { background: var(--naranja); transform: translateY(-1px); }
.btn-secondary {
  font-size: 15px;
  color: var(--dorado);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--dorado); }

/* ─── SECCIÓN 3 — EL PROBLEMA ────────────────────────────────── */
#problema {
  background: var(--crema);
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
}
#problema h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--negro);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 20px;
}
.intro-text {
  font-size: 18px;
  color: #444444;
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pain-card {
  background: var(--blanco);
  border: 1px solid rgba(212, 169, 106, 0.14);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: background 0.25s var(--ease-out-quart),
              border-color 0.25s var(--ease-out-quart);
}
.pain-card:hover {
  background: rgba(212, 169, 106, 0.06);
  border-color: rgba(212, 169, 106, 0.34);
}
.js-ready .pain-card {
  opacity: 0;
  transform: translateY(24px);
}
.pain-card svg { flex-shrink: 0; margin-top: 3px; }
.pain-card span {
  font-size: 15px;
  color: #333333;
  line-height: 1.5;
}
.mascot-corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 180px;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.7s var(--ease-out-quart);
}
.js-ready .mascot-corner { opacity: 0; }
.js-ready .mascot-corner.visible { opacity: 1; }

/* ─── SECCIÓN 4 — SOLUCIÓN ───────────────────────────────────── */
#solucion {
  background: var(--negro);
  padding: 120px 80px;
  text-align: center;
}
#solucion h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--blanco);
  max-width: 700px;
  margin: 0 auto 64px;
  line-height: 1.15;
}
.diagram-wrap {
  max-width: 580px;
  margin: 0 auto 72px;
}
.diagram-svg { width: 100%; height: auto; }
.node-line {
  stroke: rgba(212, 169, 106, 0.4);
  stroke-width: 1.5;
  stroke-dasharray: 8 5;
  animation: dashFlow 2.2s linear infinite;
}
.node-line:nth-child(2n) { animation-delay: -1.1s; }
.node-line:nth-child(3n) { animation-delay: -0.55s; }
@keyframes dashFlow { to { stroke-dashoffset: -26; } }
.center-rect { fill: none; stroke: var(--dorado); stroke-width: 1.5; }
.center-label {
  fill: var(--dorado);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.center-sub {
  fill: #666;
  font-family: 'DM Sans', sans-serif;
  font-size: 9.5px;
  text-anchor: middle;
  font-weight: 400;
}
.node-bg { fill: #141414; stroke: #2e2e2e; stroke-width: 1; }
.node-lbl {
  fill: #888;
  font-family: 'DM Sans', sans-serif;
  font-size: 9.5px;
  text-anchor: middle;
  dominant-baseline: middle;
}

.sol-cols {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.sol-divider { background: rgba(212, 169, 106, 0.25); }
.sol-col { padding: 0 40px; }
.sol-col:first-child { padding-left: 0; }
.sol-col:last-child  { padding-right: 0; }
.sol-col h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--dorado);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.sol-col p {
  font-size: 15px;
  color: #888888;
  line-height: 1.65;
}

/* ─── SECCIÓN 5 — SERVICIOS ──────────────────────────────────── */
#servicios {
  background: var(--crema);
  padding: 120px 80px;
  position: relative;
}
#servicios h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--negro);
  margin-bottom: 56px;
}
.svc-featured-list {
  border-top: 1px solid rgba(212, 169, 106, 0.22);
  margin-top: 8px;
}
.svc-featured-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0 36px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(212, 169, 106, 0.22);
  transition: background 0.25s var(--ease-out-quart);
}
.svc-featured-item:hover { background: rgba(212, 169, 106, 0.04); }
.svc-f-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-weight: 400;
  color: var(--negro);
  opacity: 0.18;
  line-height: 1;
  transition: opacity 0.3s var(--ease-out-quart);
  user-select: none;
}
.svc-featured-item:hover .svc-f-num { opacity: 0.38; }
.svc-f-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svc-f-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--negro);
  line-height: 1.2;
  transition: transform 0.3s var(--ease-out-quart);
}
.svc-featured-item:hover .svc-f-title {
  transform: translateX(4px);
}
.svc-f-desc {
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
  max-width: 560px;
}
.svc-f-link {
  font-size: 13px;
  color: var(--dorado);
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-out-quart),
              transform 0.3s var(--ease-out-quart);
}
.svc-featured-item:hover .svc-f-link {
  border-color: var(--dorado);
  transform: translateX(6px);
}
.svc-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(212, 169, 106, 0.18);
}
.svc-secondary-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(212, 169, 106, 0.12);
}
.svc-secondary-item:nth-child(odd)  { padding-right: 40px; }
.svc-secondary-item:nth-child(even) {
  padding-left: 40px;
  border-left: 1px solid rgba(212, 169, 106, 0.12);
}
.ss-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--dorado);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.ss-title {
  font-size: 15px;
  font-weight: 600;
  color: #555555;
  line-height: 1.3;
  transition: color 0.2s;
}
.svc-secondary-item:hover .ss-title { color: var(--negro); }
.svc-cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ─── SECCIÓN 6 — CASOS DE USO ───────────────────────────────── */
#casos {
  background: var(--negro);
  padding: 120px 80px;
}
#casos h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--blanco);
  max-width: 700px;
  margin-bottom: 56px;
}
.casos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.caso-card {
  background: var(--gris-oscuro);
  border-top: 2px solid var(--dorado);
  padding: 28px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.js-ready .caso-card {
  opacity: 0;
  transform: translateY(20px);
}
.caso-card:hover {
  background: #212121;
  box-shadow: inset 0 0 0 1px rgba(212, 169, 106, 0.22),
              0 0 28px rgba(212, 169, 106, 0.06);
}
.caso-icon {
  color: var(--dorado);
  margin-bottom: 16px;
  line-height: 0;
  transition: filter 0.3s ease;
}
.caso-card:hover .caso-icon {
  filter: drop-shadow(0 0 7px rgba(212, 169, 106, 0.55));
}
.caso-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.caso-card:hover .caso-name {
  color: rgba(212, 169, 106, 0.92);
}
.caso-desc {
  font-size: 14px;
  color: #888888;
  line-height: 1.5;
  transition: color 0.25s ease;
}
.caso-card:hover .caso-desc {
  color: #aaaaaa;
}

/* ─── SECCIÓN 7 — CÓMO TRABAJAMOS ───────────────────────────── */
#proceso {
  background: var(--crema);
  padding: 120px 80px 120px 240px;
  position: relative;
  overflow: hidden;
}
#proceso h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--negro);
  max-width: 600px;
  margin-bottom: 72px;
}
.timeline-outer {
  display: flex;
  gap: 0;
  align-items: flex-start;
}
.timeline-rail {
  position: relative;
  width: 2px;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 100%;
  margin-right: 60px;
}
.rail-bg  { position: absolute; inset: 0; background: rgba(212,169,106,0.15); }
.rail-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0;
  background: var(--dorado);
  transform-origin: top;
}
.timeline-steps { flex: 1; }
.t-step {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 28px 0;
  opacity: 0.3;
  transform: translateX(-16px);
  transition: opacity 0.4s, transform 0.4s;
  position: relative;
}
.t-step.active { opacity: 1; transform: translateX(0); }
.t-dot {
  position: absolute;
  left: -68px;
  top: 34px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--crema);
  border: 2px solid rgba(212,169,106,0.3);
  transition: border-color 0.4s, background 0.4s;
  flex-shrink: 0;
}
.t-step.active .t-dot { border-color: var(--dorado); background: var(--dorado); }
.t-content {}
.t-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--dorado);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.t-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--negro);
  margin-bottom: 8px;
  line-height: 1.2;
}
.t-desc {
  font-size: 15px;
  color: #555555;
  line-height: 1.65;
  max-width: 480px;
}
#mascot-walk {
  position: absolute;
  left: 68px;
  width: 110px;
  mix-blend-mode: multiply;
  pointer-events: none;
  top: 140px;
}

/* ─── SECCIÓN 8 — SECTORES ───────────────────────────────────── */
#sectores {
  background: var(--negro);
  padding: 120px 80px;
  text-align: center;
}
#sectores h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--blanco);
  margin-bottom: 48px;
}
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 48px;
}
.s-tag {
  font-size: 14px;
  color: var(--dorado);
  border: 1px solid var(--dorado);
  padding: 10px 20px;
  background: transparent;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
  cursor: default;
}
.s-tag:hover { background: var(--dorado); color: var(--negro); }
.sector-desc {
  font-size: 18px;
  color: #888888;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── SECCIÓN 9 — DIFERENCIACIÓN ────────────────────────────── */
#diferenciacion {
  background: var(--crema);
  padding: 120px 80px;
}
#diferenciacion h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--negro);
  max-width: 720px;
  margin-bottom: 72px;
  line-height: 1.15;
}
.dif-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
}
.dif-sep { background: rgba(212,169,106,0.35); }
.dif-col { padding: 0 48px; }
.dif-col:first-child { padding-left: 0; }
.dif-col:last-child  { padding-right: 0; }
.dif-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--negro);
  margin-bottom: 14px;
}
.dif-col p {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
}

/* ─── SECCIÓN 9B — EQUIPO ────────────────────────────────────── */
#equipo {
  background: var(--negro);
  padding: 120px 80px;
  border-bottom: 1px solid rgba(212,169,106,0.18);
}
.equipo-head { max-width: 720px; margin-bottom: 72px; }
.equipo-head .tag-small { display: block; margin-bottom: 20px; }
#equipo h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--blanco);
  line-height: 1.15;
  margin-bottom: 24px;
}
.equipo-lead {
  font-size: 17px;
  color: #aaaaaa;
  line-height: 1.7;
}
.equipo-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  max-width: 1080px;
}
.equipo-sep { background: rgba(212,169,106,0.35); }
.equipo-card { padding: 0 56px; }
.equipo-card:first-child { padding-left: 0; }
.equipo-card:last-child  { padding-right: 0; }
.equipo-photo {
  overflow: hidden;
  border: 1px solid rgba(212,169,106,0.25);
  margin-bottom: 28px;
}
.equipo-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) sepia(0.18) brightness(0.96);
  transition: filter 0.6s var(--ease-out-quart), transform 0.6s var(--ease-out-quart);
}
.equipo-card:hover .equipo-photo img,
.equipo-card:focus-within .equipo-photo img {
  filter: none;
  transform: scale(1.02);
}
.equipo-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--blanco);
  margin-bottom: 6px;
}
.equipo-rol {
  font-size: 12px;
  font-weight: 500;
  color: var(--dorado);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.equipo-bio {
  font-size: 16px;
  color: #999999;
  line-height: 1.7;
}

/* ─── SECCIÓN 10 — FAQ ───────────────────────────────────────── */
#faq {
  background: var(--negro);
  padding: 120px 80px;
}
#faq h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--blanco);
  margin-bottom: 56px;
}
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid rgba(212,169,106,0.18); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 17px;
  color: var(--blanco);
  font-weight: 400;
  gap: 24px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--dorado); }
.faq-icon {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  color: var(--dorado);
  line-height: 1;
  transition: transform 0.35s var(--ease-out-quart);
  user-select: none;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a-wrap {
  display: grid;
  grid-template-rows: 1fr;
}
.js-ready .faq-a-wrap {
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out-quart);
}
.js-ready .faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  font-size: 15px;
  color: #888888;
  line-height: 1.75;
  overflow: hidden;
  min-height: 0;
  padding-bottom: 24px;
}

/* ─── PRIMER PASO ─────────────────────────────────────────────── */
#primer-paso {
  background: var(--crema);
  padding: 120px 80px;
}
.paso-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: center;
}
.paso-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.paso-text .headline-line { margin-top: 0; }
#primer-paso h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--negro);
  line-height: 1.15;
  max-width: 600px;
  margin: 0;
}
.paso-lead {
  font-size: 18px;
  color: #555555;
  line-height: 1.7;
  max-width: 560px;
}
.paso-steps {
  list-style: none;
  border-top: 1px solid rgba(212, 169, 106, 0.22);
  margin: 0;
  padding: 0;
}
.paso-steps li {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(212, 169, 106, 0.22);
}
.ps-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--dorado);
  opacity: 0.6;
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
  padding-top: 2px;
}
.ps-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ps-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--negro);
  line-height: 1.3;
}
.ps-desc {
  font-size: 15px;
  color: #666666;
  line-height: 1.55;
}
.paso-nota {
  font-size: 14px;
  color: #888888;
  line-height: 1.6;
  max-width: 500px;
  font-style: italic;
}
.paso-aside {
  display: flex;
  align-items: center;
  justify-content: center;
}
.paso-aside img {
  width: 100%;
  max-width: 240px;
  mix-blend-mode: multiply;
  animation: mascotFloat 3s ease-in-out infinite;
  animation-delay: -1s;
}

/* ─── SECCIÓN 11 — CONTACTO ──────────────────────────────────── */
#contacto {
  background: radial-gradient(ellipse at center, rgba(212,169,106,0.08) 0%, var(--negro) 70%);
  padding: 120px 80px;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 80px;
  align-items: center;
}
.contact-left {}
#contacto h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--blanco);
  line-height: 1.15;
  margin-bottom: 16px;
}
.contact-intro {
  font-size: 17px;
  color: #888888;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 48px;
}
.c-form { display: flex; flex-direction: column; gap: 28px; }
.f-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.f-group { display: flex; flex-direction: column; gap: 6px; }
.f-group label {
  font-size: 11px;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.f-group input,
.f-group select,
.f-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #3a3a3a;
  color: var(--blanco);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 10px 0;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.f-group textarea { resize: none; }
.f-group input::placeholder,
.f-group textarea::placeholder { color: #555555; }
.f-group select { color: var(--blanco); }
.f-group select option { background: #1a1a1a; color: var(--blanco); }
.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus { border-bottom-color: var(--dorado); }
.btn-submit {
  background: var(--dorado);
  color: var(--negro);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 18px;
  width: 100%;
  border: none;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--naranja); }
.contact-mascot {
  display: flex;
  justify-content: center;
}
.contact-mascot img {
  width: 100%;
  max-width: 320px;
  mix-blend-mode: lighten;
  animation: mascotFloat 3s ease-in-out infinite;
  animation-delay: -1.5s;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: #050505;
  padding: 64px 80px 32px;
  border-top: 1px solid rgba(212,169,106,0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-row img {
  width: 36px;
  object-fit: contain;
  mix-blend-mode: lighten;
}
.footer-logo-row span {
  font-size: 17px;
  font-weight: 500;
  color: var(--blanco);
  letter-spacing: 0.02em;
}
.footer-tagline {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  max-width: 260px;
}
.footer-col-title {
  font-size: 11px;
  color: var(--dorado);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 14px;
  color: #888888;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blanco); }
.footer-contact-text {
  font-size: 14px;
  color: #888888;
  line-height: 1.55;
  margin-bottom: 16px;
}
.btn-footer {
  display: inline-block;
  font-size: 13px;
  color: var(--dorado);
  border: 1px solid var(--dorado);
  padding: 9px 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.btn-footer:hover { background: var(--dorado); color: var(--negro); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #444444;
}

/* ─── GSAP ENTRANCE ──────────────────────────────────────────── */
.js-ready .gsap-reveal { opacity: 0; transform: translateY(40px); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .casos-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-featured-item { grid-template-columns: 56px 1fr auto; gap: 0 24px; }
  .svc-f-num { font-size: 64px; }
  #proceso { padding-left: 80px; }
  #mascot-walk { display: none; }
  .timeline-rail { margin-right: 40px; }
  .t-dot { left: -50px; }
  .paso-inner { grid-template-columns: 1fr; gap: 0; }
  .paso-aside { display: none; }
}
@media (max-width: 768px) {
  #navbar        { padding: 16px 20px; }
  #navbar.scrolled { padding: 12px 20px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  #hero { height: 360vh; }
  .diagram-wrap { display: none; }
  .hero-text h2 { font-size: 30px; }

  #presentacion { grid-template-columns: 1fr; padding: 80px 20px; gap: 40px; }
  .mascot-col img { max-height: 220px; }
  .pres-col h1 { font-size: 36px; }
  .pres-col .lead { font-size: 16px; }

  #problema   { padding: 80px 20px; }
  #problema h2 { font-size: 30px; }
  .pain-grid  { grid-template-columns: 1fr; }
  .mascot-corner { display: none; }

  #solucion   { padding: 80px 20px; }
  #solucion h2 { font-size: 30px; }
  .sol-cols   { grid-template-columns: 1fr; gap: 32px; }
  .sol-divider { display: none; }
  .sol-col    { padding: 0; }

  #servicios  { padding: 80px 20px; }
  #servicios h2 { font-size: 30px; }
  .svc-featured-item {
    display: block;
    padding: 24px 0;
  }
  .svc-f-num { display: none; }
  .svc-f-title { font-size: 22px; margin-bottom: 6px; }
  .svc-f-desc { margin-bottom: 12px; }
  .svc-secondary-grid { grid-template-columns: 1fr; }
  .svc-secondary-item:nth-child(even) { padding-left: 0; border-left: none; }

  #casos      { padding: 80px 20px; }
  #casos h2   { font-size: 30px; }
  .casos-grid { grid-template-columns: 1fr; }

  #proceso    { padding: 80px 20px; }
  #proceso h2 { font-size: 30px; }
  .timeline-rail { display: none; }
  .t-dot      { display: none; }

  #sectores   { padding: 80px 20px; }
  #sectores h2 { font-size: 30px; }
  .s-tag { min-height: 44px; display: inline-flex; align-items: center; }

  #diferenciacion { padding: 80px 20px; }
  #diferenciacion h2 { font-size: 30px; }
  .dif-grid   { grid-template-columns: 1fr; gap: 40px; }
  .dif-sep    { display: none; }
  .dif-col    { padding: 0; }

  #equipo     { padding: 80px 20px; }
  #equipo h2  { font-size: 30px; }
  .equipo-head { margin-bottom: 48px; }
  .equipo-grid { grid-template-columns: 1fr; gap: 48px; max-width: 420px; }
  .equipo-sep  { display: none; }
  .equipo-card { padding: 0; }

  #faq        { padding: 80px 20px; }
  #faq h2     { font-size: 30px; }

  #primer-paso { padding: 80px 20px; }
  #primer-paso h2 { font-size: 30px; }
  .paso-lead { font-size: 16px; }

  #contacto   { grid-template-columns: 1fr; padding: 80px 20px; gap: 48px; }
  #contacto h2 { font-size: 30px; }
  .contact-mascot { display: none; }
  .f-row      { grid-template-columns: 1fr; }

  footer      { padding: 48px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── SCROLL PROGRESS ───────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--dorado);
  opacity: 0.8;
  z-index: 9999;
  pointer-events: none;
}

/* ─── NAVBAR ACTIVE + ENTRANCE ──────────────────────────────── */
.nav-links a.nav-active { color: var(--dorado); }
.js-ready #navbar {
  transform: translateY(-100%);
  opacity: 0;
}
@keyframes navEnter {
  to { transform: translateY(0); opacity: 1; }
}
#navbar.navbar-enter {
  animation: navEnter 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ─── BACK TO TOP ────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  right: 32px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(212, 169, 106, 0.35);
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease,
              border-color 0.25s ease, background 0.25s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  border-color: var(--dorado);
  background: rgba(212, 169, 106, 0.08);
}
@media (max-width: 768px) {
  #back-to-top { right: 16px; bottom: 24px; }
}

/* ─── TEXT REVEAL ────────────────────────────────────────────── */
@keyframes textReveal {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to   { clip-path: inset(0 0% 0 0);   opacity: 1; }
}
.reveal-text { overflow: hidden; }
.reveal-word {
  display: inline-block;
}
.js-ready .reveal-word {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: none;
}
.reveal-word.animated {
  animation: textReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.headline-line {
  width: 60px;
  height: 2px;
  background: var(--dorado);
  transform-origin: left;
  margin-top: 16px;
}
.js-ready .headline-line {
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-ready .headline-line.animated { transform: scaleX(1); }

/* ─── STAGGER ENTRANCE STATES ───────────────────────────────── */
.js-ready .svc-featured-item {
  opacity: 0;
  transform: translateY(32px);
}
.js-ready .s-tag {
  opacity: 0;
  transform: translateY(10px);
}
.js-ready .dif-grid > * {
  opacity: 0;
  transform: translateY(24px);
}
.js-ready .equipo-grid > * {
  opacity: 0;
  transform: translateY(24px);
}
.js-ready .paso-steps li {
  opacity: 0;
  transform: translateX(-20px);
}

/* ─── MOBILE MENU LINK ENTRANCE ─────────────────────────────── */
@keyframes menuLinkIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
#mobile-menu.open a {
  animation: menuLinkIn 0.5s var(--ease-out-expo) both;
}
#mobile-menu.open a:nth-child(1) { animation-delay: 0.06s; }
#mobile-menu.open a:nth-child(2) { animation-delay: 0.12s; }
#mobile-menu.open a:nth-child(3) { animation-delay: 0.18s; }
#mobile-menu.open a:nth-child(4) { animation-delay: 0.24s; }
#mobile-menu.open a:nth-child(5) { animation-delay: 0.30s; }
#mobile-menu.open a:nth-child(6) { animation-delay: 0.36s; }

/* ─── BUTTON PRESS FEEDBACK ──────────────────────────────────── */
.btn-primary:active  { transform: translateY(0) scale(0.97); }
.btn-submit:active   { transform: scale(0.98); background: var(--naranja); }

/* ─── GRAIN OVERLAY ──────────────────────────────────────────── */
#grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.045;
  mix-blend-mode: overlay;
}
#grain-overlay svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ─── VIGNETTE OVERLAY ───────────────────────────────────────── */
#vignette-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 499;
  background: radial-gradient(
    ellipse 130% 130% at 50% 50%,
    transparent 48%,
    rgba(5, 3, 2, 0.18) 100%
  );
  animation: vignettePulse 9s ease-in-out infinite;
}
@keyframes vignettePulse {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1; }
}

/* ─── DELIGHT ────────────────────────────────────────────────── */

/* Nav logo: destello dorado al hover */
.nav-logo img {
  transition: filter 0.35s var(--ease-out-quart);
}
.nav-logo:hover img {
  filter: drop-shadow(0 0 10px rgba(212, 169, 106, 0.55));
}

/* Pain card icon glow */
.pain-card svg {
  transition: filter 0.3s var(--ease-out-quart);
}
.pain-card:hover svg {
  filter: drop-shadow(0 0 5px rgba(212, 169, 106, 0.65));
}

/* Diagrama: el bloque central del agente IA respira */
.center-rect {
  animation: agentPulse 3.4s ease-in-out infinite;
}
@keyframes agentPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* Sector tags: micro-escala al hover */
.s-tag {
  transition: background 0.2s var(--ease-out-quart), color 0.2s,
              transform 0.2s var(--ease-out-quart);
}
.s-tag:hover { transform: scale(1.04); }

/* Mascota hover: calor dorado */
.mascot-col img {
  transition: filter 0.4s var(--ease-out-quart);
}
.mascot-col img:hover {
  filter: brightness(1.12) drop-shadow(0 0 20px rgba(212, 169, 106, 0.28));
}
.contact-mascot img {
  transition: filter 0.4s var(--ease-out-quart);
}
.contact-mascot img:hover {
  filter: brightness(1.12) drop-shadow(0 0 18px rgba(212, 169, 106, 0.28));
}

/* Back-to-top: la flecha sube al hover */
#back-to-top svg {
  transition: transform 0.25s var(--ease-out-quart);
}
#back-to-top:hover svg {
  transform: translateY(-3px);
}

/* Form success: el círculo y el check se dibujan solos */
@keyframes circleDrawAnim {
  from { stroke-dashoffset: 189; }
  to   { stroke-dashoffset: 0; }
}
@keyframes checkDrawAnim {
  from { stroke-dashoffset: 35; }
  to   { stroke-dashoffset: 0; }
}
@keyframes formSuccessIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.form-success {
  animation: formSuccessIn 0.6s var(--ease-out-expo) both;
}
.form-success svg circle {
  stroke-dasharray: 189;
  stroke-dashoffset: 189;
  animation: circleDrawAnim 0.75s var(--ease-out-expo) forwards;
}
.form-success svg path {
  stroke-dasharray: 35;
  stroke-dashoffset: 35;
  animation: checkDrawAnim 0.4s var(--ease-out-expo) 0.65s forwards;
}

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal-word {
    opacity: 1 !important;
    clip-path: none !important;
    animation: none !important;
  }
  .js-ready .headline-line {
    transform: scaleX(1) !important;
    transition: none !important;
  }
  #loading-screen { transition: none; }
  .loader-logo    { animation: none !important; }
  #navbar         { transform: none !important; opacity: 1 !important; animation: none !important; }
  #back-to-top    { transition: none; }
  .js-ready .svc-featured-item,
  .js-ready .s-tag,
  .js-ready .dif-grid > *,
  .js-ready .equipo-grid > *,
  .js-ready .paso-steps li {
    opacity: 1 !important;
    transform: none !important;
  }
  #mobile-menu.open a {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .svc-f-title,
  .svc-f-link { transition: none !important; }
  #grain-overlay,
  #vignette-overlay { display: none !important; }
  .center-rect { animation: none !important; opacity: 1 !important; }
  .form-success { animation: none !important; opacity: 1 !important; transform: none !important; }
  .form-success svg circle,
  .form-success svg path {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ─── LOADING SCREEN ─────────────────────────────────────────── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: #080808;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.js-ready #loading-screen {
  display: flex;
}
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}
.loader-logo {
  width: 72px;
  height: auto;
  animation: loaderPulse 2.4s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(212,169,106,0.35)); opacity: 0.85; }
  50%       { filter: drop-shadow(0 0 40px rgba(212,169,106,0.75)); opacity: 1; }
}
.loader-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(212,169,106,0.6);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: -28px;
}
.loader-bar-track {
  width: 180px;
  height: 1px;
  background: rgba(212,169,106,0.18);
  position: relative;
  overflow: hidden;
}
.loader-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(212,169,106,0.6), #d4a96a);
}

/* ─── PÁGINAS LEGALES ────────────────────────────────────────── */
.legal-page { background: var(--crema); }
.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background: var(--negro);
}
.legal-nav .nav-logo img { height: 36px; width: auto; }
.legal-back {
  font-size: 14px;
  font-weight: 500;
  color: var(--dorado);
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}
.legal-back:hover { opacity: 0.7; }
.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  color: #333333;
}
.legal-main h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 400;
  color: var(--negro);
  line-height: 1.15;
  margin-bottom: 40px;
}
.legal-main h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 27px;
  font-weight: 400;
  color: var(--negro);
  margin: 44px 0 14px;
}
.legal-main p { margin-bottom: 14px; line-height: 1.75; font-size: 16px; }
.legal-main ul { margin: 0 0 16px 22px; }
.legal-main li { margin-bottom: 8px; line-height: 1.7; }
.legal-main a { color: var(--naranja); text-decoration: underline; text-underline-offset: 3px; }
.legal-main strong { font-weight: 600; color: var(--negro); }
.legal-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 15px;
}
.legal-main th, .legal-main td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid rgba(8,8,8,0.15);
  vertical-align: top;
}
.legal-main th {
  font-weight: 600;
  color: var(--negro);
  background: rgba(212,169,106,0.12);
}
.legal-footer { background: var(--negro); }
.legal-footer .footer-bottom { border-top: none; }
.footer-legal-links { margin-left: 18px; }
.footer-legal-links a {
  color: inherit;
  margin-left: 14px;
  transition: color 0.2s ease;
}
.footer-legal-links a:hover { color: var(--dorado); }

/* ─── CONSENTIMIENTO RGPD EN FORMULARIO ─────────────────────── */
.f-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 8px;
}
.f-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border: 1px solid rgba(212,169,106,0.5);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.f-consent input[type="checkbox"]:checked {
  background: var(--dorado);
  border-color: var(--dorado);
}
.f-consent input[type="checkbox"]:checked::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--negro);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.f-consent label {
  font-size: 13px;
  color: #999999;
  line-height: 1.6;
  cursor: pointer;
}
.f-consent label a {
  color: var(--dorado);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .legal-nav  { padding: 16px 20px; }
  .legal-main { padding: 56px 20px 72px; }
  .legal-main h1 { font-size: 32px; }
  .legal-main h2 { font-size: 23px; }
  .legal-main table { display: block; overflow-x: auto; }
  .footer-legal-links { display: block; margin: 10px 0 0; }
  .footer-legal-links a:first-child { margin-left: 0; }
}
