@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #07080b;
  --bg-secondary: #0d0f15;
  --panel: rgba(14, 16, 22, 0.78);
  --panel-elevated: rgba(20, 24, 34, 0.88);
  --panel-border: rgba(212, 175, 55, 0.22);
  --panel-border-hover: rgba(212, 175, 55, 0.55);
  --gold: #d4af37;
  --gold-soft: #ecd99a;
  --gold-bright: #fff2c4;
  --gold-glow: rgba(212, 175, 55, 0.18);
  --text: #f5f4ef;
  --text-muted: #9e9a8f;
  --text-dim: #6d6b64;
  --accent-green: #238652;
  --accent-red: #d94b4b;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

body {
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* CURSOR INTERACTIVO DE LUJO (Solo en Desktop con hover) */
.custom-cursor-dot,
.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.15s ease-out;
  opacity: 0;
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold);
}

.custom-cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.04);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, opacity 0.3s ease;
}

.custom-cursor-ring.is-hovering {
  width: 52px;
  height: 52px;
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.custom-cursor-ring.is-clicking {
  transform: translate(-50%, -50%) scale(0.85);
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}

/* TOP LEGAL / AD BANNER (CNMV Compliance) */
.ad-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #11120e;
  background: linear-gradient(90deg, #d4af37, #ecd99a, #d4af37);
  padding: 5px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

/* TOP NAVIGATION */
.nav {
  position: fixed;
  /* El banner legal envuelve a 2-3 líneas en móvil; su alto real lo mide un
     script al cargar y al redimensionar. Antes eran 25px fijos y la cabecera
     se montaba encima del banner en cuanto la pantalla era estrecha. */
  top: var(--banner-h, 25px);
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.85) 0%, rgba(7, 8, 11, 0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav .brand {
  font-family: var(--font-sans);
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--gold-soft);
  text-transform: uppercase;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav .brand-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 2px 7px;
  border-radius: 3px;
}

.nav .cta-link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--panel-border);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  color: var(--gold-bright);
  background: rgba(14, 16, 22, 0.6);
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
}

.nav .cta-link:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--gold-glow);
}

/* 3D WEBGL CONTAINER & BACKGROUND */
.scene-wrapper {
  position: relative;
  height: 400vh;
  background: var(--bg);
}

.scene-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Three.js Canvas container */
/* Secuencia de imágenes controlada por scroll (frontal → cenital) */
#seqCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  background: #05060a;
}

#webglCanvasContainer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#webglCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Fallback image layers if WebGL is unsupported or loading */
.scene-layers-fallback {
  position: absolute;
  inset: -4% -4%;
  z-index: 0;
  will-change: transform;
}

.fallback-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fallback-layer.is-active {
  opacity: 1;
}

/* Vignette overlay for luxury depth and legibility */
.scene-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(7, 8, 11, 0.25) 0%, rgba(7, 8, 11, 0.65) 60%, rgba(7, 8, 11, 0.94) 100%),
              linear-gradient(180deg, rgba(7, 8, 11, 0.8) 0%, rgba(7, 8, 11, 0.1) 30%, rgba(7, 8, 11, 0.85) 100%);
}

/* SCENE CONTENT CARDS OVER 3D */
.scene-content {
  position: relative;
  z-index: 10;
  height: 100%;
  pointer-events: none;
}

.scene-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  opacity: 0;
  transform: translateY(32px);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scene-card.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.scene-card h1, .scene-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 400;
  line-height: 1.12;
  max-width: 680px;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.scene-card h1 em, .scene-card h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-soft);
}

.scene-card .lead {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 28px;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ecd99a 0%, #d4af37 100%);
  color: #0b0d12;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--gold-glow);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, #fff2c4 0%, #e0bd49 100%);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(14, 16, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.trust-pill svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.scroll-hint {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulseHint 2.4s infinite ease-in-out;
}

@keyframes pulseHint {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* PROGRESS INDICATOR DOTS */
.scene-progress {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scene-progress button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.scene-progress button.is-active {
  background: var(--gold);
  transform: scale(1.6);
  box-shadow: 0 0 10px var(--gold);
}

/* VALUE PILLARS STRIP */
.pillars-section {
  position: relative;
  z-index: 20;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 60px 24px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--panel-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  font-size: 24px;
  margin-bottom: 16px;
  display: inline-block;
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   QUIZ & QUALIFICATION FUNNEL (FASE 4 PROMPT MAESTRO)
   ========================================================================== */
.funnel-section {
  position: relative;
  z-index: 20;
  padding: 80px 20px 120px;
  background: radial-gradient(ellipse at 50% 10%, rgba(212, 175, 55, 0.07) 0%, var(--bg) 75%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 60px;
}

.quiz-container {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.quiz-header {
  text-align: center;
  margin-bottom: 32px;
}

.quiz-header .eyebrow {
  justify-content: center;
}

.quiz-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
}

.quiz-header p.sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* QUIZ CARD SHELL */
.quiz-card {
  background: var(--panel-elevated);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .quiz-card {
    padding: 24px 18px;
  }
}

/* PROGRESS BAR */
.quiz-progress-wrap {
  margin-bottom: 28px;
}

.quiz-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.quiz-progress-meta .step-indicator {
  color: var(--gold-soft);
}

.quiz-progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #d4af37, #f0dfa8);
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px var(--gold-glow);
}

/* STEP SCREENS */
.quiz-step {
  display: none;
  animation: fadeInStep 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step.is-active {
  display: block;
}

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

.step-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* OPTIONS GRID & BUTTONS */
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.option-btn:hover, .option-btn:focus-visible {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--panel-border-hover);
  transform: translateX(3px);
  outline: none;
}

.option-btn.is-selected {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
}

.option-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.option-icon {
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--gold-soft);
  flex-shrink: 0;
}

.option-text-main {
  font-weight: 600;
  display: block;
}

.option-text-sub {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
  font-weight: 400;
}

.option-arrow {
  color: var(--text-dim);
  font-size: 18px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.option-btn:hover .option-arrow {
  transform: translateX(4px);
  color: var(--gold-soft);
}

/* STEP NAVIGATION BUTTONS */
.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}

.btn-back:hover {
  color: var(--text);
}

/* LOADER / PROFILE ANALYSIS STEP */
.analyzing-box {
  text-align: center;
  padding: 30px 10px;
}

.spinner-gold {
  width: 52px;
  height: 52px;
  border: 3px solid rgba(212, 175, 55, 0.18);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 0.9s infinite linear;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.analyzing-status {
  font-family: var(--font-serif);
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}

.analyzing-sub {
  font-size: 14px;
  color: var(--text-muted);
}

/* CONTACT CAPTURE STEP FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.field-group input,
.field-group select,
.field-group textarea {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow);
}

/* RGPD COMPLIANCE LAYER 1 */
.rgpd-consent-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 4px;
}

.rgpd-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.45;
}

.rgpd-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.rgpd-layer-info {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
  line-height: 1.5;
}

.rgpd-layer-info strong {
  color: var(--text-muted);
}

.rgpd-layer-info a {
  color: var(--gold-soft);
  text-decoration: underline;
}

/* TURNSTILE WIDGET CONTAINER */
.form-msg {
  font-size: 13px;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-msg.error {
  display: block;
  background: rgba(217, 75, 75, 0.15);
  color: #ff9b9b;
  border: 1px solid rgba(217, 75, 75, 0.35);
}

.form-msg.success {
  display: block;
  background: rgba(35, 134, 82, 0.15);
  color: #7ee7a8;
  border: 1px solid rgba(35, 134, 82, 0.35);
}

/* ABOUT / BANKER PROFILE */
.about-section {
  position: relative;
  z-index: 20;
  background: var(--bg);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 80px 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.avatar-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--panel-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.about-text h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}

.about-text .role {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* FOOTER LEGAL (CNMV / MiFID II / RGPD) */
.footer-legal {
  position: relative;
  z-index: 20;
  background: #040507;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 24px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-legal .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-legal a {
  color: var(--gold-soft);
}

.footer-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .nav { padding: 14px 18px; }
  .scene-card { padding: 0 18px; }
  .scene-progress { right: 12px; }
  .about-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .avatar-wrap { margin: 0 auto; width: 120px; height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-card { transition: opacity 0.2s ease; transform: none !important; }
  .scroll-hint { animation: none; }
  html { scroll-behavior: auto; }
}


/* ---------------------------------------------------------------------------
   Iconos SVG (sustituyen a los emoji del sistema, que rompían la tipografía)
   Trazo de 1.5, color oro, heredado con currentColor.
--------------------------------------------------------------------------- */
.pillar-icon,
.option-icon { color: var(--gold); }

.pillar-icon {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}

.pillar-icon .ico { width: 28px; height: 28px; display: block; }
.option-icon .ico { width: 20px; height: 20px; display: block; }

.option-btn:hover .option-icon { color: var(--gold-soft); }

@media (prefers-reduced-motion: no-preference) {
  .option-icon { transition: color 0.25s ease; }
}

@media (max-width: 600px) {
  .ad-banner {
    font-size: 10px;
    letter-spacing: 0.01em;
    padding: 4px 10px;
    line-height: 1.35;
  }
}

@media (max-width: 600px) {
  /* En móvil el distintivo repite lo que ya dice el eyebrow del hero y
     obligaba a la marca a partirse en dos líneas. */
  .brand-badge { display: none; }
}

.footer-badges span { display: inline-flex; align-items: center; gap: 6px; }
.ico-mini { width: 14px; height: 14px; flex: 0 0 14px; opacity: 0.75; }


/* ==========================================================================
   EMBUDO DE 2 PASOS — elementos del formulario reducido
   ========================================================================== */

/* Campo trampa anti-bot. Fuera de pantalla en lugar de display:none:
   algunos bots ignoran los campos ocultos con display, pero rellenan estos. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Campo señalado tras un error de validación. */
.field-group input.field-error {
  border-color: rgba(217, 75, 75, 0.7);
  box-shadow: 0 0 0 2px rgba(217, 75, 75, 0.18);
}

/* La letra pequeña del RGPD se pliega: informa igual, pero no compite
   con el botón por la atención en la última pantalla. */
details.rgpd-layer-info > summary {
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 600;
  list-style: none;
}

details.rgpd-layer-info > summary::-webkit-details-marker {
  display: none;
}

details.rgpd-layer-info > summary::before {
  content: '+ ';
  color: var(--gold);
}

details.rgpd-layer-info[open] > summary::before {
  content: '− ';
}

details.rgpd-layer-info > p {
  margin: 8px 0 0;
}

.form-reassurance {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin: 10px 0 0;
}

/* En móvil los campos van a 16px: por debajo de ese tamaño, Safari de iOS
   hace zoom al enfocar el campo y descoloca la página entera. */
@media (max-width: 720px) {
  .field-group input,
  .field-group select,
  .field-group textarea {
    font-size: 16px;
  }
}
