/* ==========================================================================
   GADEX — PÁGINA DE COTIZACIÓN Y VENTA DIRECTA
   Tipografía: Plus Jakarta Sans (Display/UI) + Montserrat (Headings) + Inter (Body) + JetBrains Mono + Cormorant Garamond (Editorial)
   ========================================================================== */

:root {
  --bg-deep: #05070b;
  --bg-card: rgba(10, 14, 22, 0.78);
  --bg-input: rgba(255, 255, 255, 0.04);
  --bg-input-focus: rgba(245, 201, 122, 0.06);

  --c-bronze-primary: #C58A59;
  --c-bronze-dark: #9c6739;
  --c-gold-amber: #f5c97a;
  --c-gold-bright: #ffd7a8;
  --c-gold-glow: rgba(245, 201, 122, 0.28);

  --text-main: #f5efe6;
  --text-soft: #c2bcb4;
  --text-muted: #828a97;
  
  --border-glass: rgba(255, 255, 255, 0.09);
  --border-gold: rgba(245, 201, 122, 0.32);
  --border-active: #f5c97a;

  /* Tipografías GADEX (=Página Principal) */
  --font-serif: "Cormorant Garamond", Georgia, serif;   /* Títulos editoriales */
  --font-display: "Plus Jakarta Sans", "Montserrat", system-ui, sans-serif;  /* Display / Botones */
  --font-body: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif; /* UI general */
  --font-mono: "JetBrains Mono", "Fira Code", monospace; /* Códigos / labels */

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
}

body {
  background: radial-gradient(130% 90% at 50% 0%, #0d1422 0%, #080c14 50%, #05070b 100%);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Grano Cinematográfico */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cursor de Precisión */
@media (pointer: fine) {
  body.has-custom-cursor {
    cursor: none;
  }
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor label {
    cursor: none;
  }
}

#cur {
  position: fixed;
  width: 7px;
  height: 7px;
  background: var(--c-gold-amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--c-gold-amber);
}

#cur-ring {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 1.2px solid rgba(245, 201, 122, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.28s var(--ease-out), height 0.28s var(--ease-out), border-color 0.2s, opacity 0.2s;
  opacity: 0.45;
}

body:has(a:hover, button:hover, .pill-option:hover) #cur-ring {
  width: 48px;
  height: 48px;
  border-color: var(--c-gold-bright);
  opacity: 0.85;
}

/* ==========================================================================
   NAVBAR CÁPSULA MINIMALISTA
   ========================================================================== */
.direct-hud-nav-wrap {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}

.direct-hud-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(8, 12, 19, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 138, 89, 0.1);
  padding: 8px 12px 8px 18px;
  border-radius: var(--radius-full);
  max-width: 1280px;
  width: 100%;
}

.direct-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.direct-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.2px solid rgba(245, 201, 122, 0.5);
}

.direct-brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff 40%, #ffd7a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.direct-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.direct-nav-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-soft);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  transition: all 0.25s;
}

.direct-nav-btn-back:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   HERO PRINCIPAL & LIENZO AMBIENTAL ORGÁNICO (INSPIRACIÓN FINITY)
   ========================================================================== */
.direct-quote-hero {
  position: relative;
  min-height: 100vh;
  padding: 135px 32px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #06090f;
}

/* Lienzo de Ondas y Gradiente Aurora */
.direct-ambient-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.direct-wave-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Resplandor y Aura Celestial GADEX en Oro y Bronce */
.direct-glow-orb-ambient {
  position: absolute;
  top: 4%;
  right: -6%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle at 60% 40%, rgba(245, 201, 122, 0.18) 0%, rgba(197, 138, 89, 0.10) 42%, rgba(5, 7, 11, 0) 72%);
  filter: blur(85px);
  pointer-events: none;
  animation: pulse-aurora-gadex 9s ease-in-out infinite alternate;
}

@keyframes pulse-aurora-gadex {
  0% {
    transform: scale(0.96) translate(0, 0);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.06) translate(-15px, 20px);
    opacity: 1;
  }
}

/* Partículas Estelares Sutiles */
.direct-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.direct-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(245, 201, 122, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(245, 201, 122, 0.6);
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-80px) scale(1.2);
    opacity: 0;
  }
}

/* ==========================================================================
   CONTENEDOR DIVIDIDO EN 2 COLUMNAS (LAYOUT SPLIT)
   ========================================================================== */
.direct-hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1280px;
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 68px;
  align-items: start;
}

/* ==========================================================================
   COLUMNA IZQUIERDA: TITULAR EDITORIAL Y PROPUESTA DIRECTA
   ========================================================================== */
.direct-hero-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 12px;
}

/* Título Principal Editorial GADEX */
.direct-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 4.6vw, 70px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 24px;
}

.direct-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-gold-bright);
  text-shadow: 0 0 25px rgba(245, 201, 122, 0.35);
}

/* Subtítulo Descriptivo */
.direct-hero-subtitle {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
  color: #a0aec0;
  max-width: 520px;
}

/* ==========================================================================
   COLUMNA DERECHA: FORMULARIO INTEGRADO AL FONDO (SIN CAJA/CARD AISLADA)
   ========================================================================== */
.direct-hero-right {
  position: relative;
  width: 100%;
}

.direct-integrated-form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

/* Grilla de Campos de Formulario */
.direct-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
  margin-bottom: 22px;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
}

/* Labels Limpios y Modernos */
.direct-form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.direct-form-label span.req {
  color: var(--c-gold-amber);
  margin-left: 2px;
}

/* Inputs de Cristal Translúcido Integrados al Fondo */
.direct-input,
.direct-select,
.direct-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.direct-input:hover,
.direct-select:hover,
.direct-textarea:hover {
  background: rgba(255, 255, 255, 0.068);
  border-color: rgba(245, 201, 122, 0.35);
}

.direct-input:focus,
.direct-select:focus,
.direct-textarea:focus {
  background: rgba(18, 25, 36, 0.75);
  border-color: var(--c-gold-amber);
  box-shadow: 0 0 0 3px rgba(245, 201, 122, 0.16), 0 0 22px rgba(197, 138, 89, 0.22);
}

.direct-input::placeholder,
.direct-textarea::placeholder {
  color: #64748b;
}

/* Dropdown Select Estilo Luxury GADEX */
.select-wrapper {
  position: relative;
  width: 100%;
}

.direct-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5c97a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  cursor: pointer;
  padding-right: 48px;
}

.direct-select option {
  background-color: #0b141e;
  color: #f1f5f9;
  padding: 12px 16px;
}

.direct-select option:disabled {
  color: #64748b;
}

/* Pills de Selección Rápida en Cristal Suave */
.pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-option {
  position: relative;
  cursor: pointer;
}

.pill-option input[type="radio"],
.pill-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.038);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.83rem;
  color: #cbd5e1;
  transition: all 0.22s var(--ease-out);
  user-select: none;
}

.pill-option:hover .pill-box {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(245, 201, 122, 0.4);
  color: #ffffff;
}

.pill-option input:checked + .pill-box {
  background: rgba(197, 138, 89, 0.2);
  border-color: var(--c-gold-amber);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(197, 138, 89, 0.32);
}

.pill-icon {
  width: 14px;
  height: 14px;
  color: var(--c-gold-amber);
}

.pill-icon-svg {
  flex-shrink: 0;
  color: var(--c-gold-amber);
  transition: transform 0.22s;
}

.pill-option:hover .pill-icon-svg {
  transform: scale(1.12);
}

/* Textarea de Requerimientos */
.direct-textarea {
  resize: vertical;
  min-height: 105px;
}

.textarea-hint {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Checkbox de Privacidad Estilo GADEX */
.form-group-privacy {
  margin: 8px 0 20px;
}

.privacy-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.privacy-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1.5px solid rgba(245, 201, 122, 0.35);
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-out);
}

.privacy-checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
  background: linear-gradient(135deg, #f5c97a 0%, #C58A59 100%);
  border-color: var(--c-gold-amber);
}

.privacy-checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #05070b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.privacy-text {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

.privacy-text a {
  color: #f1f5f9;
  text-decoration: underline;
  transition: color 0.2s;
}

.privacy-text a:hover {
  color: var(--c-gold-bright);
}

/* Botón de Envío GADEX Luxury (Píldora Bronce / Oro) */
.form-submit-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.btn-direct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 38px;
  background: linear-gradient(135deg, #f5c97a 0%, #C58A59 50%, #9e6438 100%);
  color: #05070b;
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(197, 138, 89, 0.4), 0 0 15px rgba(245, 201, 122, 0.2);
  transition: transform 0.25s var(--ease-elastic), box-shadow 0.25s, filter 0.25s;
}

.btn-direct-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(197, 138, 89, 0.58), 0 0 25px rgba(245, 201, 122, 0.35);
  filter: brightness(1.05);
}

.btn-direct-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

/* Banner de Confirmación Dinámico */
.quote-success-banner {
  display: none;
  background: linear-gradient(135deg, rgba(16, 26, 38, 0.95) 0%, rgba(8, 14, 22, 0.95) 100%);
  border: 1.5px solid rgba(245, 201, 122, 0.5);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  margin-top: 26px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(197, 138, 89, 0.2);
}

.quote-success-banner.show {
  display: block;
  animation: fade-in 0.5s var(--ease-out);
}

.success-badge-icon {
  width: 44px;
  height: 44px;
  line-height: 44px;
  background: rgba(245, 201, 122, 0.15);
  color: var(--c-gold-amber);
  border: 1.5px solid rgba(245, 201, 122, 0.45);
  border-radius: 50%;
  margin: 0 auto 12px;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-success-banner h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-gold-bright);
  margin-bottom: 6px;
}

.quote-success-ref {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-gold-amber);
  background: rgba(245, 201, 122, 0.12);
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(245, 201, 122, 0.45);
  margin: 10px 0 14px;
  letter-spacing: 0.08em;
}

.quote-success-banner p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   DISEÑO RESPONSIVO (TABLETS Y SMARTPHONES)
   ========================================================================== */
@media (max-width: 1024px) {
  .direct-hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 720px;
  }

  .direct-hero-title {
    font-size: clamp(34px, 5.5vw, 54px);
  }

  .direct-glow-orb-ambient {
    width: 480px;
    height: 480px;
    right: -10%;
    top: 2%;
  }
}

@media (max-width: 640px) {
  .direct-quote-hero {
    padding: 110px 18px 60px;
  }

  .direct-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .btn-direct-submit {
    width: 100%;
  }

  .privacy-checkbox-label {
    align-items: flex-start;
  }
}

/* ==========================================================================
   HINT DEL TELÉFONO CON PREFIJO OBLIGATORIO
   ========================================================================== */
.phone-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.phone-hint strong {
  color: var(--c-gold-amber);
}

#clientPhone:invalid:not(:placeholder-shown) {
  border-color: rgba(248, 113, 113, 0.7);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

#clientPhone:invalid:not(:placeholder-shown) + .phone-hint {
  color: #f87171;
}

/* ==========================================================================
   MODAL DE ÉXITO MOTIVACIONAL GADEX
   ========================================================================== */
.gadex-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 11, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.gadex-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.gadex-success-card {
  position: relative;
  max-width: 560px;
  width: 100%;
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(160deg, rgba(18, 24, 36, 0.98) 0%, rgba(10, 14, 20, 0.98) 100%);
  border: 1px solid rgba(245, 201, 122, 0.28);
  border-radius: 24px;
  padding: 48px 42px 40px;
  text-align: center;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(197, 138, 89, 0.18);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.5s var(--ease-out);
}

.gadex-success-overlay.active .gadex-success-card {
  transform: translateY(0) scale(1);
}

/* Orbes de brillo decorativos */
.success-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(55px);
}

.success-orb--1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 201, 122, 0.14) 0%, transparent 70%);
  top: -80px;
  right: -80px;
}

.success-orb--2 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(197, 138, 89, 0.1) 0%, transparent 70%);
  bottom: -60px;
  left: -60px;
}

.success-orb--3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 215, 168, 0.09) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

/* Icono de verificación con animación de trazo */
.success-check-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  width: 64px;
  height: 64px;
}

.success-check-svg {
  width: 52px;
  height: 52px;
  overflow: visible;
}

.success-check-circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
}

.success-check-mark {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
}

.gadex-success-overlay.active .success-check-circle {
  animation: draw-circle 0.7s 0.15s var(--ease-out) forwards;
}

.gadex-success-overlay.active .success-check-mark {
  animation: draw-check 0.45s 0.75s var(--ease-out) forwards;
}

@keyframes draw-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

/* Kicker del modal */
.success-modal-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold-amber);
  background: rgba(245, 201, 122, 0.1);
  border: 1px solid rgba(245, 201, 122, 0.25);
  border-radius: 999px;
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 18px;
}

/* Título principal del modal (Cormorant Garamond editorial) */
.success-modal-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.success-modal-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-gold-bright);
  text-shadow: 0 0 25px rgba(245, 201, 122, 0.35);
}

/* Referencia de radicado */
.success-modal-ref {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--c-gold-amber);
  background: rgba(245, 201, 122, 0.08);
  border: 1px dashed rgba(245, 201, 122, 0.35);
  padding: 5px 16px;
  border-radius: 8px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

/* Cuerpo motivacional */
.success-modal-body {
  font-family: var(--font-body);
  font-size: 0.97rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 440px;
  margin: 0 auto 28px;
}

/* Próximos pasos */
.success-next-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  text-align: left;
}

.success-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 16px;
  transition: background 0.2s, border-color 0.2s;
}

.success-step:hover {
  background: rgba(245, 201, 122, 0.06);
  border-color: rgba(245, 201, 122, 0.2);
}

.success-step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-gold-amber);
  background: rgba(245, 201, 122, 0.12);
  border-radius: 6px;
  padding: 3px 7px;
  flex-shrink: 0;
}

.success-step-text {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.step-eta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-gold-amber);
  margin-left: 6px;
  font-weight: 600;
}

/* Botón de cierre del modal */
.success-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #f5c97a 0%, #C58A59 55%, #9e6438 100%);
  color: #05070b;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(197, 138, 89, 0.4), 0 0 18px rgba(245, 201, 122, 0.2);
  transition: transform 0.25s var(--ease-elastic), box-shadow 0.25s, filter 0.25s;
  margin-bottom: 16px;
}

.success-modal-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(197, 138, 89, 0.6);
  filter: brightness(1.06);
}

/* Footnote con LinkedIn */
.success-modal-footnote {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.success-modal-footnote a {
  color: var(--c-gold-bright);
  text-decoration: underline;
  transition: color 0.2s;
}

.success-modal-footnote a:hover {
  color: #ffffff;
}

/* Responsive del modal y formulario en móviles */
@media (max-width: 600px) {
  .direct-quote-hero {
    padding: 100px 16px 50px;
  }

  .direct-hero-title {
    font-size: clamp(26px, 7.2vw, 38px);
  }

  .direct-hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .direct-input,
  .direct-select,
  .direct-textarea,
  input,
  select,
  textarea {
    font-size: 16px !important; /* Previene auto-zoom molesto en iOS Safari */
  }

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

  .radio-pill-group {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .radio-pill-label {
    padding: 10px 12px;
    font-size: 0.84rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .btn-direct-submit {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
  }

  .gadex-success-overlay {
    align-items: flex-start;
    padding: 16px 12px;
  }

  .gadex-success-card {
    padding: 30px 18px 24px;
    max-height: calc(100dvh - 24px);
    margin: auto 0;
    border-radius: 20px;
  }

  .success-modal-title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .success-modal-body {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .success-next-steps {
    gap: 8px;
    margin-bottom: 22px;
  }

  .success-step {
    padding: 10px 12px;
  }

  .success-modal-close {
    width: 100%;
    min-height: 50px;
    font-size: 0.95rem;
  }
}

