/* ==========================================================================
   FINANCIERO CRÉDITOS - STYLE.CSS
   Archivo base del sitio público.
   Los estilos visuales específicos deben vivir en:
   themes / nombre-del-tema / theme.css
   ========================================================================== */


/* ==========================================================================
   01. Fonts, Tokens, Reset y Base
   ========================================================================== */

/* Fuentes principales */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Animación */
  --fc-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fc-ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --fc-transition-fluid: all 0.4s var(--fc-ease-out);
  --fc-transition-fast: all 0.2s ease;

  /* Superficies base */
  --fc-white: #ffffff;
  --fc-surface: #ffffff;
  --fc-surface-soft: #f8fafc;
  --fc-surface-dark: #020617;

  /* Textos base */
  --fc-muted: #64748b;
  --fc-muted-strong: #475569;
  --fc-content-text: #334155;

  /* Bordes */
  --fc-border: rgba(15, 23, 42, 0.08);
  --fc-border-soft: rgba(15, 23, 42, 0.05);
  --fc-border-strong: rgba(15, 23, 42, 0.12);

  /* Sombras */
  --fc-shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.03), 0 1px 3px -1px rgba(15, 23, 42, 0.02);
  --fc-shadow-md: 0 12px 34px -4px rgba(15, 23, 42, 0.04), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
  --fc-shadow-lg: 0 32px 64px -16px rgba(15, 23, 42, 0.08), 0 16px 32px -8px rgba(15, 23, 42, 0.03);

  /* Fondos visuales controlables por tema */
  --fc-hero-bg:
    radial-gradient(circle at top left, color-mix(in srgb, var(--fc-primary) 14%, transparent), transparent 38%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--fc-accent) 14%, transparent), transparent 38%),
    linear-gradient(135deg, #ffffff, var(--fc-bg));

  --fc-page-hero-bg:
    radial-gradient(circle at top left, color-mix(in srgb, var(--fc-primary) 10%, transparent), transparent 35%),
    linear-gradient(135deg, #ffffff, var(--fc-bg));

  --fc-dynamic-hero-bg:
    radial-gradient(circle at top left, color-mix(in srgb, var(--fc-primary) 12%, transparent), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--fc-bg) 100%);

  --fc-premium-gradient:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 40%),
    linear-gradient(135deg, var(--fc-secondary), var(--fc-primary));

  --fc-card-gradient:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 45%),
    linear-gradient(145deg, var(--fc-secondary), color-mix(in srgb, var(--fc-primary) 35%, #020617));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* Cambio de Familia: Prioridad Lato, con Roboto y Open Sans como respaldos estilizados */
   font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--fc-bg);
  color: var(--fc-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

[id] {
  scroll-margin-top: 110px;
}

.fc-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* ==========================================================================
   03. Hero Principal
   ========================================================================== */

/* --- HERO SECTION --- */

.fc-btn {
  min-height: 50px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 0;
  text-decoration: none;
  font-weight: 700; /* Reducido de 900 */
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.4s var(--fc-ease-out), box-shadow 0.4s var(--fc-ease-out), background-color 0.2s ease;
  will-change: transform, box-shadow;
}

.fc-btn:hover {
  transform: translateY(-3px);
}

.fc-btn--primary {
  color: #ffffff;
  background: var(--fc-primary);
  box-shadow: 0 12px 30px -4px color-mix(in srgb, var(--fc-primary) 30%, transparent);
}

.fc-btn--primary:hover {
  background: color-mix(in srgb, var(--fc-primary) 92%, #000000);
  box-shadow: 0 20px 40px -6px color-mix(in srgb, var(--fc-primary) 40%, transparent);
}

.fc-btn--ghost {
  color: var(--fc-secondary);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--fc-shadow-sm);
}

.fc-btn--ghost:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: var(--fc-shadow-md);
}

.fc-btn--light {
  color: var(--fc-secondary);
  background: #ffffff;
  box-shadow: var(--fc-shadow-sm);
}

.fc-btn--light:hover {
  box-shadow: var(--fc-shadow-md);
}

.fc-btn--full {
  width: 100%;
}

/* ==========================================================================
   05. Secciones Generales
   ========================================================================== */

/* --- SECCIONES ESTRUCTURALES --- */
.fc-section {
  padding: 100px 0;
}

.fc-section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.fc-section-heading span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--fc-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.fc-section-heading h2 {
  margin: 0 0 18px;
  color: var(--fc-secondary);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700; /* Suavizado generalizado de títulos */
}

.fc-section-heading p {
  color: #64748b;
  line-height: 1.65;
  font-size: 1.05rem;
}

/* ==========================================================================
   07. FAQs — SEO EXPERTOS
   ========================================================================== */

.fc-faqs {
    position: relative;
    overflow: hidden;

    padding:
        clamp(90px, 8vw, 140px)
        24px;

    background:
        radial-gradient(
            circle at 52% 45%,
            rgba(20, 121, 197, 0.42) 0%,
            rgba(18, 69, 126, 0.20) 30%,
            transparent 58%
        ),
        linear-gradient(
            110deg,
            #20275d 0%,
            #173d72 52%,
            #20205a 100%
        );
}


/* =========================================================
   GRID PRINCIPAL
   ========================================================= */

.fc-faqs__grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: clamp(70px, 8vw, 130px);
    align-items: center;
}


/* =========================================================
   COLUMNA IZQUIERDA
   ========================================================= */

.fc-faqs__intro {
    min-width: 0;
}

.fc-faqs .fc-section-heading {
    margin: 0;
}

.fc-faqs__eyebrow {
    display: block;

    margin-bottom: 12px;

    color: #35d9ff;

    font-size: clamp(16px, 1.5vw, 21px);
    font-weight: 500;
    line-height: 1.2;
}

.fc-faqs .fc-section-heading h2 {
    max-width: 650px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(38px, 4vw, 64px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.fc-faqs .fc-section-heading p {
    max-width: 610px;

    margin:
        clamp(18px, 2vw, 28px)
        0
        0;

    color: rgba(255, 255, 255, 0.62);

    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.45;
}


/* =========================================================
   IMAGEN
   ========================================================= */

.fc-faqs__visual {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    width: min(100%, 580px);
    min-height: 330px;

    margin-top: clamp(30px, 4vw, 55px);
}

.fc-faqs__visual::before {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 8%;

    width: 70%;
    height: 35%;

    transform: translateX(-50%);

    background: rgba(36, 178, 255, 0.20);
    filter: blur(70px);

    pointer-events: none;
}

.fc-faqs__visual img {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    max-width: 560px;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 22px 35px
            rgba(0, 0, 0, 0.20)
        );
}


/* =========================================================
   LISTADO FAQ
   ========================================================= */

.fc-faqs__list {
    display: flex;
    flex-direction: column;

    gap: 20px;

    min-width: 0;
}


/* =========================================================
   TARJETA FAQ
   ========================================================= */

.fc-faq {
    position: relative;

    margin: 0;
    padding: 2px;

    overflow: hidden;

    border: 0;
    border-radius: 22px;

    background:
        linear-gradient(
            100deg,
            #8ac8ff,
            #5489ff,
            #203cff,
            #8ac8ff
        );

    background-size: 300% 300%;
    background-position: 0% 50%;

    box-shadow:
        0 12px 35px
        rgba(2, 12, 45, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background-position 0.65s ease;
}


/* Interior oscuro */

.fc-faq::before {
    content: "";

    position: absolute;
    inset: 2px;

    z-index: 0;

    border-radius: 20px;

    background:
        linear-gradient(
            105deg,
            rgba(22, 78, 132, 0.96),
            rgba(31, 32, 88, 0.98)
        );

    transition:
        background 0.35s ease;
}


/* =========================================================
   HOVER — BORDE DEGRADADO ANIMADO
   ========================================================= */

.fc-faq:hover {
    transform: translateY(-2px);

    background-position: 100% 50%;

    box-shadow:
        0 18px 42px
        rgba(0, 11, 48, 0.20);
}


/* =========================================================
   SUMMARY
   ========================================================= */

.fc-faq summary {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    min-height: 112px;

    padding:
        28px
        34px;

    cursor: pointer;

    list-style: none;

    color: #ffffff;

    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 600;
    line-height: 1.25;

    outline: none;
}

.fc-faq summary::-webkit-details-marker {
    display: none;
}


/* =========================================================
   FLECHA
   ========================================================= */

.fc-faq__arrow {
    flex: 0 0 auto;

    width: 0;
    height: 0;

    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #00d9ff;

    transform: rotate(0deg);

    transition:
        transform 0.35s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}

.fc-faq[open] .fc-faq__arrow {
    transform: rotate(180deg);
}


/* =========================================================
   FAQ ABIERTO
   ========================================================= */

.fc-faq[open] {
    background-position: 100% 50%;

    box-shadow:
        0 20px 50px
        rgba(0, 10, 45, 0.22);
}


/* =========================================================
   RESPUESTA
   ========================================================= */

.fc-faq__answer {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-rows: 0fr;

    padding:
        0
        34px;

    opacity: 0;

    transition:
        grid-template-rows 0.45s
            cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.30s ease,
        padding 0.45s
            cubic-bezier(0.22, 1, 0.36, 1);
}

.fc-faq__answer > p {
    overflow: hidden;

    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 16px;
    line-height: 1.65;
}


/* Apertura */

.fc-faq[open] .fc-faq__answer {
    grid-template-rows: 1fr;

    padding:
        0
        34px
        32px;

    opacity: 1;
}


/* =========================================================
   LÍNEA SUTIL AL ABRIR
   ========================================================= */

.fc-faq[open] summary::after {
    content: "";

    position: absolute;

    left: 34px;
    right: 34px;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.24),
            rgba(255, 255, 255, 0)
        );
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

    .fc-faqs__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .fc-faqs__intro {
        text-align: center;
    }

    .fc-faqs .fc-section-heading h2,
    .fc-faqs .fc-section-heading p {
        margin-left: auto;
        margin-right: auto;
    }

    .fc-faqs__visual {
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 640px) {

    .fc-faqs {
        padding:
            70px
            18px;
    }

    .fc-faqs .fc-section-heading h2 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .fc-faqs__visual {
        min-height: 240px;
        margin-top: 30px;
    }

    .fc-faqs__list {
        gap: 14px;
    }

    .fc-faq {
        border-radius: 18px;
    }

    .fc-faq::before {
        border-radius: 16px;
    }

    .fc-faq summary {
        min-height: 90px;

        padding:
            22px
            22px;

        gap: 20px;
    }

    .fc-faq__answer {
        padding:
            0
            22px;
    }

    .fc-faq[open] .fc-faq__answer {
        padding:
            0
            22px
            24px;
    }

    .fc-faq[open] summary::after {
        left: 22px;
        right: 22px;
    }

    .fc-faq__arrow {
        border-left-width: 8px;
        border-right-width: 8px;
        border-top-width: 10px;
    }
}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .fc-faq,
    .fc-faq__arrow,
    .fc-faq__answer {
        transition: none;
    }
}

/* ==========================================================================
   09. Formularios y Contacto
   ========================================================================== */

/* --- FORMULARIO Y CONTACTO --- */
.fc-contact-block {
  background: #ffffff;
}

.fc-contact-block__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.fc-contact-block__content h2 {
  margin: 0 0 18px;
  color: var(--fc-secondary);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  font-weight: 700;
}

.fc-contact-block__content p {
  color: #64748b;
  line-height: 1.65;
}

.fc-check-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.fc-check-list li {
  margin-bottom: 14px;
  color: #334155;
  font-weight: 400; /* Reducido de 750 */
  display: flex;
  align-items: center;
  font-size: 0.98rem;
}

.fc-check-list li::before {
  content: "✓";
  color: var(--fc-accent);
  font-weight: 700;
  margin-right: 12px;
  font-size: 1.1rem;
}

.fc-form {
  padding: 40px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--fc-shadow-md);
  transition: var(--fc-transition-fluid);
}

.fc-form:focus-within {
  border-color: color-mix(in srgb, var(--fc-primary) 12%, transparent);
  box-shadow: var(--fc-shadow-lg);
}

.fc-form__group {
  margin-bottom: 20px;
}

.fc-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400; /* Se redujo el grosor de los labels de carga para estilizar */
  font-size: 0.88rem;
  color: var(--fc-secondary);
  transition: color 0.2s ease;
}

.fc-form input,
.fc-form select,
.fc-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  min-height: 50px;
  padding: 0 16px;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  background: #ffffff;
  color: var(--fc-secondary);
  transition: var(--fc-transition-fluid);
}

.fc-form textarea {
  padding-top: 14px;
  resize: vertical;
  min-height: 110px;
}

.fc-form input:focus,
.fc-form select:focus,
.fc-form textarea:focus {
  border-color: var(--fc-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--fc-primary) 10%, transparent);
}

.fc-form__group:focus-within label {
  color: var(--fc-primary);
  font-weight: 700; /* Se vuelve bold sutilmente solo al escribir */
}

.fc-form__message {
  margin: 16px 0 0;
  font-weight: 700;
  font-size: 0.9rem;
}

.fc-form__message.is-success { color: #166534; }
.fc-form__message.is-error { color: #991b1b; }

/* ==========================================================================
   10. Simulador
   ========================================================================== */

  /* ==========================================================================
   SIMULADOR PREMIUM - CorpoKredit System Style
   Layout definitivo en 2 filas
   ========================================================================== */

.fc-simulator-premium {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 9vw, 130px) 0;
    background: #ffffff;
    isolation: isolate;
}

.fc-simulator-premium,
.fc-simulator-premium * {
    box-sizing: border-box;
}

/* ==========================================================================
   LAYOUT PRINCIPAL - 2 FILAS
   ========================================================================== */

.fc-simulator-premium__main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 58px;
    align-items: start;
}

/* ==========================================================================
   COLUMNA SUPERIOR / CONTENIDO
   ========================================================================== */

.fc-simulator-premium__content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.fc-simulator-premium__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 32px;
    margin: 0 auto 18px;
    padding: 0 15px;
    border-radius: 999px;

    color: var(--fc-accent);
    background: #ffffff;
    border: 1px solid rgba(var(--fc-accent-rgb), 0.24);
    box-shadow: none;

    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.fc-simulator-premium__content h2 {
    max-width: 880px;
    margin: 0 auto 20px;

    color: var(--fc-secondary);

    font-size: clamp(2.35rem, 4.6vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    font-weight: 900;
}

.fc-simulator-premium__content h2 span {
    color: var(--fc-accent);
}

.fc-sim-main-lead {
    max-width: 720px;
    margin: 0 auto;

    color: #64748b;

    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 500;
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.fc-sim-badges-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;

    margin-top: 34px;
}

.fc-sim-token {
    min-height: 36px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 0 14px;
    border-radius: 999px;

    color: var(--fc-secondary);
    background: #ffffff;
    border: 1px solid rgba(var(--fc-secondary-rgb), 0.10);
    box-shadow: 0 10px 26px rgba(var(--fc-secondary-rgb), 0.055);

    font-size: 0.86rem;
    font-weight: 800;
}

.fc-sim-token i {
    color: var(--fc-accent);
    font-size: 0.9rem;
}

/* ==========================================================================
   APP CONTAINER
   ========================================================================== */

.fc-simulator-app-container {
    position: relative;

    width: 100%;
    max-width: 1120px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: 0;

    overflow: hidden;

    border-radius: 34px;

    background: #ffffff;
    border: 1px solid rgba(var(--fc-secondary-rgb), 0.08);
    box-shadow:
        0 34px 90px rgba(var(--fc-secondary-rgb), 0.10),
        0 0 0 1px rgba(255, 255, 255, 0.70);
}

.fc-sim-app-side {
    position: relative;
    padding: clamp(34px, 4vw, 50px);
}

.fc-sim-app-side--inputs {
    background:
        linear-gradient(
            180deg,
            rgba(var(--fc-primary-rgb), 0.035),
            rgba(var(--fc-primary-rgb), 0.015)
        ),
        #ffffff;

    border-right: 1px solid rgba(var(--fc-secondary-rgb), 0.08);
}

.fc-sim-app-side--results {
    background:
        radial-gradient(circle at top right, rgba(var(--fc-primary-rgb), 0.06), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* ==========================================================================
   HEADERS INTERNOS
   ========================================================================== */

.fc-sim-side-header {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 26px;
}

.fc-sim-side-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    color: var(--fc-accent);
    background: rgba(var(--fc-accent-rgb), 0.10);
    border: 1px solid rgba(var(--fc-accent-rgb), 0.20);
}

.fc-sim-side-icon--green {
    color: var(--fc-primary);
    background: rgba(var(--fc-primary-rgb), 0.08);
    border-color: rgba(var(--fc-primary-rgb), 0.16);
}

.fc-sim-side-header h3 {
    margin: 0;

    color: var(--fc-secondary);

    font-size: 1.08rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-weight: 900;
}

/* ==========================================================================
   TASA
   ========================================================================== */

.fc-sim-rate-badge {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;

    margin-bottom: 24px;
    padding: 16px 18px;

    border-radius: 20px;

    background: #ffffff;
    border: 1px solid rgba(var(--fc-secondary-rgb), 0.08);
    box-shadow: 0 12px 28px rgba(var(--fc-secondary-rgb), 0.05);
}

.fc-sim-rate-text {
    min-width: 0;
}

.fc-sim-rate-text strong {
    display: block;

    margin-bottom: 4px;

    color: var(--fc-secondary);

    font-size: 0.88rem;
    font-weight: 900;
}

.fc-sim-rate-text span {
    display: block;

    max-width: 300px;

    color: #64748b;

    font-size: 0.82rem;
    line-height: 1.35;
    font-weight: 600;
}

.fc-sim-rate-value-wrapper {
    min-height: 42px;
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 0 13px;
    border-radius: 14px;

    color: var(--fc-accent);
    background: rgba(var(--fc-accent-rgb), 0.10);
    border: 1px solid rgba(var(--fc-accent-rgb), 0.20);

    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.fc-sim-hidden-rate-input {
    width: 42px;

    border: 0;
    outline: none;
    background: transparent;

    color: var(--fc-accent);

    font: inherit;
    font-weight: 900;
    text-align: right;
}

/* ==========================================================================
   FORM ROWS / SLIDERS
   ========================================================================== */

.fc-sim-form-row {
    margin-bottom: 26px;
}

.fc-sim-label-space {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 12px;
}

.fc-sim-label-space label {
    color: var(--fc-secondary);

    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 900;
}

.fc-sim-numeric-display {
    color: var(--fc-secondary);

    font-size: 1.02rem;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.fc-sim-numeric-display--alt {
    color: var(--fc-accent);
}

/* Range */

.fc-sim-range-slider {
    width: 100%;
    height: 8px;

    appearance: none;
    -webkit-appearance: none;

    border-radius: 999px;
    outline: none;

    background: linear-gradient(
        90deg,
        var(--fc-accent) 0%,
        var(--range-progress, 0%),
        #e2e8f0 var(--range-progress, 0%),
        #e2e8f0 100%
    );

    cursor: pointer;
}

.fc-sim-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: var(--fc-accent);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 22px rgba(var(--fc-accent-rgb), 0.26);

    cursor: pointer;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.fc-sim-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(var(--fc-accent-rgb), 0.34);
}

.fc-sim-range-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: var(--fc-accent);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 22px rgba(var(--fc-accent-rgb), 0.26);

    cursor: pointer;
}

.fc-sim-range-limits {
    display: flex;
    justify-content: space-between;
    gap: 18px;

    margin-top: 10px;

    color: #94a3b8;

    font-size: 0.76rem;
    font-weight: 800;
}

/* ==========================================================================
   RESULTADOS
   ========================================================================== */

.fc-sim-result-card {
    position: relative;
    overflow: hidden;

    margin-bottom: 18px;
    padding: 26px;

    border-radius: 26px;

    border: 1px solid rgba(var(--fc-secondary-rgb), 0.08);
}

.fc-sim-result-card--primary {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        var(--fc-secondary) 0%,
        var(--fc-primary) 100%
    );

    box-shadow: 0 24px 58px rgba(var(--fc-secondary-rgb), 0.18);
}

.fc-sim-result-card--primary::before {
    content: '';

    position: absolute;
    right: -52px;
    top: -52px;

    width: 150px;
    height: 150px;

    border-radius: 999px;

    background: rgba(125, 211, 252, 0.16);
    pointer-events: none;
}

.fc-sim-result-card--featured {
    background: #ffffff;
    color: var(--fc-secondary);
    box-shadow: 0 18px 42px rgba(var(--fc-secondary-rgb), 0.07);
}

.fc-sim-badge-tag {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;

    min-height: 28px;
    margin-bottom: 14px;
    padding: 0 11px;

    border-radius: 999px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.16);

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fc-sim-badge-tag--blue {
    color: var(--fc-accent);
    background: rgba(var(--fc-accent-rgb), 0.10);
    border-color: rgba(var(--fc-accent-rgb), 0.20);
}

.fc-sim-result-label {
    position: relative;
    z-index: 1;

    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.85rem;
    font-weight: 800;
}

.fc-sim-result-card--featured .fc-sim-result-label {
    color: #64748b;
}

.fc-sim-main-price,
.fc-sim-secondary-price {
    position: relative;
    z-index: 1;

    display: block;

    margin-bottom: 10px;

    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 950;
    white-space: nowrap;
}

.fc-sim-main-price {
    color: #ffffff;
}

.fc-sim-secondary-price {
    color: var(--fc-secondary);
}

.fc-sim-summary-text {
    position: relative;
    z-index: 1;

    margin: 0;

    color: rgba(255, 255, 255, 0.76);

    font-size: 0.94rem;
    line-height: 1.58;
    font-weight: 500;
}

.fc-sim-insurance-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #64748b;

    font-size: 0.84rem;
    line-height: 1.4;
    font-weight: 700;
}

.fc-sim-insurance-note i {
    color: var(--fc-accent);
}

/* ==========================================================================
   CTA
   ========================================================================== */

.fc-simulator-premium__btn {
    width: 100%;
    min-height: 56px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 8px;
    padding: 0 24px;

    border-radius: 16px;

    color: #ffffff;
    background: var(--fc-accent);
    text-decoration: none;

    font-size: 0.94rem;
    font-weight: 900;

    box-shadow: none;

    transition:
        transform 0.22s ease,
        filter 0.22s ease;
}

.fc-simulator-premium__btn:hover {
    transform: translateY(-2px);

    color: #ffffff;
    background: var(--fc-accent);
    filter: brightness(1.05);
}

.fc-simulator-premium__btn i {
    transition: transform 0.22s ease;
}

.fc-simulator-premium__btn:hover i {
    transform: translateX(4px);
}

.fc-sim-app-side--results > .fc-sim-summary-text {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 16px 0 12px;
}

.fc-sim-hidden-rate-input {
    width: 54px;
    min-width: 54px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
    .fc-simulator-premium__main-grid {
        gap: 42px;
    }

    .fc-simulator-app-container {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .fc-sim-app-side--inputs {
        border-right: 0;
        border-bottom: 1px solid rgba(var(--fc-secondary-rgb), 0.08);
    }

    .fc-sim-rate-badge {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .fc-sim-rate-text span {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .fc-simulator-premium {
        padding: 60px 0;
    }

    .fc-simulator-premium__main-grid {
        gap: 34px;
    }

    .fc-simulator-premium__content {
        text-align: left;
    }

    .fc-simulator-premium__eyebrow {
        margin-left: 0;
        margin-right: 0;
    }

    .fc-simulator-premium__content h2,
    .fc-sim-main-lead {
        margin-left: 0;
        margin-right: 0;
    }

    .fc-sim-badges-cloud {
        justify-content: flex-start;
    }

    .fc-simulator-app-container {
        max-width: 100%;
        border-radius: 24px;
    }

    .fc-sim-app-side {
        padding: 26px 22px;
    }

    .fc-sim-label-space {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .fc-sim-main-price,
    .fc-sim-secondary-price {
        white-space: normal;
        font-size: clamp(2rem, 12vw, 2.7rem);
    }

    .fc-sim-badges-cloud {
        gap: 10px;
    }

    .fc-sim-token {
        width: 100%;
        justify-content: center;
    }

    .fc-sim-result-card {
        padding: 24px 20px;
    }
}


/* ==========================================================================
   12. Páginas Internas Fijas
   ========================================================================== */

/* --- SECCIONES LEGALES / PÁGINAS INTERNAS --- */
.fc-page-hero {
  padding: 100px 0 80px;
  background: var(--fc-page-hero-bg);
}

.fc-page-hero h1 {
  max-width: 860px;
  margin: 0 0 22px;
  color: var(--fc-secondary);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 700;
}

.fc-page-hero p {
  max-width: 680px;
  margin: 0;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
}

.fc-legal {
  padding: 80px 0;
  background: #ffffff;
}

.fc-legal__content {
  max-width: 860px;
}

.fc-legal h1 {
  margin: 0 0 20px;
  color: var(--fc-secondary);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
}

.fc-legal h2 {
  margin: 38px 0 14px;
  color: var(--fc-secondary);
  font-size: 1.35rem;
  font-weight: 700;
}

.fc-legal p,
.fc-legal li {
  color: #475569;
  line-height: 1.75;
  font-size: 0.98rem;
}

.fc-legal ul {
  padding-left: 20px;
}

/* ==========================================================================
   13. Páginas Dinámicas - Hero editable por página
   ========================================================================== */

.fc-dynamic-page-hero {
    position: relative;

    background-color: #0a0d14;

    padding-top: clamp(140px, 15vw, 220px);
    padding-bottom: clamp(90px, 10vw, 150px);

    overflow: hidden;

    display: flex;
    align-items: center;

    color: #ffffff;
}

/* CAPA 1: Imagen de fondo dinámica */
.fc-dynamic-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: var(--fc-hero-bg-image);
    background-size: cover;
    background-position: var(--fc-hero-bg-position, center center);
    background-repeat: no-repeat;

    opacity: var(--fc-hero-bg-opacity, 0.80);
    filter: brightness(1.15) saturate(1.1);

    z-index: 1;
    pointer-events: none;
}

/* CAPA 2: Overlay base oscuro */
.fc-dynamic-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to right,
            rgba(10, 13, 20, 0.86) 0%,
            rgba(10, 13, 20, 0.68) 42%,
            rgba(10, 13, 20, 0.28) 72%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 55%,
            #0a0d14 100%
        );

    z-index: 2;
    pointer-events: none;
}

/* Overlay azul: usa colores activos del tema */
.fc-dynamic-page-hero--blue::after {
    background:
        linear-gradient(
            to right,
            rgba(var(--fc-secondary-rgb), 0.92) 0%,
            rgba(var(--fc-primary-rgb), 0.72) 46%,
            rgba(var(--fc-primary-rgb), 0.28) 76%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 55%,
            rgba(var(--fc-secondary-rgb), 0.96) 100%
        );
}

/* Overlay suave: para fondos claros o páginas más limpias */
.fc-dynamic-page-hero--soft {
    color: var(--fc-text-main, #0f172a);
    background-color: #f8fafc;
}

.fc-dynamic-page-hero--soft::before {
    opacity: 0.62;
    filter: brightness(1.05) saturate(1);
}

.fc-dynamic-page-hero--soft::after {
    background:
        linear-gradient(
            to right,
            rgba(248, 250, 252, 0.96) 0%,
            rgba(248, 250, 252, 0.78) 48%,
            rgba(248, 250, 252, 0.28) 78%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 55%,
            #f8fafc 100%
        );
}

.fc-dynamic-page-hero--soft h1,
.fc-dynamic-page-hero--soft .fc-hero-lead {
    color: var(--fc-text-main, #0f172a);
}

.fc-dynamic-page-hero--soft .fc-hero-lead {
    color: rgba(15, 23, 42, 0.72);
}

.fc-dynamic-page-hero--soft .fc-hero-trust-badges {
    border-top-color: rgba(15, 23, 42, 0.10);
}

.fc-dynamic-page-hero--soft .fc-badge-item {
    color: rgba(15, 23, 42, 0.66);
}

.fc-dynamic-page-hero--soft .fc-badge-item i {
    color: rgba(var(--fc-primary-rgb), 0.52);
}

/* Sin overlay: deja la imagen más libre */
.fc-dynamic-page-hero--none::after {
    display: none;
}

.fc-dynamic-page-hero--none::before {
    opacity: 1;
    filter: none;
}

/* Contenedor interno */
.fc-dynamic-page-hero .fc-container {
    position: relative;
    z-index: 3;

    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

.fc-dynamic-page-hero .fc-hero-wrapper {
    max-width: 720px;
    text-align: left;
}

/* Eyebrow */
.fc-dynamic-page-hero .fc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 24px;
    padding: 6px 16px;

    border-radius: 100px;

    color: #ffffff;
    background: var(--fc-accent);
    border: 1px solid rgba(var(--fc-accent-rgb), 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fc-dynamic-page-hero .fc-eyebrow i {
    font-size: 0.65rem;
    opacity: 0.8;
}

/* Título */
.fc-dynamic-page-hero h1 {
    max-width: none;
    margin: 0 0 24px;

    color: #ffffff;

    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.fc-dynamic-page-hero h1 span {
    display: inline-block;
    color: var(--fc-accent);
}

/* Descripción */
.fc-dynamic-page-hero .fc-hero-lead {
    max-width: 620px;
    margin: 0 0 36px;

    color: #cbd5e1;

    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    font-weight: 500;
}

/* Badges */
.fc-dynamic-page-hero .fc-hero-trust-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;

    padding-top: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fc-dynamic-page-hero .fc-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #94a3b8;

    font-size: 0.84rem;
    font-weight: 600;
}

.fc-dynamic-page-hero .fc-badge-item i {
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .fc-dynamic-page-hero {
        padding-top: 130px;
        padding-bottom: 86px;
    }

    .fc-dynamic-page-hero::after {
        background:
            linear-gradient(
                to bottom,
                rgba(10, 13, 20, 0.86) 0%,
                rgba(10, 13, 20, 0.74) 58%,
                #0a0d14 100%
            );
    }

    .fc-dynamic-page-hero--blue::after {
        background:
            linear-gradient(
                to bottom,
                rgba(var(--fc-secondary-rgb), 0.90) 0%,
                rgba(var(--fc-primary-rgb), 0.74) 58%,
                rgba(var(--fc-secondary-rgb), 0.96) 100%
            );
    }

    .fc-dynamic-page-hero .fc-container {
        padding: 0 22px;
    }

    .fc-dynamic-page-hero h1 {
        font-size: clamp(2.25rem, 11vw, 3.1rem);
        letter-spacing: -0.035em;
    }

    .fc-dynamic-page-hero .fc-hero-lead {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Páginas dinámicas - Contenido editorial
   ========================================================================== */

.fc-dynamic-page-content {
    position: relative;
    padding: clamp(56px, 7vw, 96px) 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(var(--fc-primary-rgb), 0.06), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.fc-dynamic-page-content .fc-container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

/* ==========================================================================
   Páginas dinámicas - Alineación editorial centrada
   ========================================================================== */

.fc-dynamic-content-card {
    width: 100%;
    max-width: none;
    padding: clamp(42px, 6vw, 76px) 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    text-align: center;
}

.fc-dynamic-content-card > h2,
.fc-dynamic-content-card > h3,
.fc-dynamic-content-card > h4,
.fc-dynamic-content-card > p,
.fc-dynamic-content-card > ul,
.fc-dynamic-content-card > ol,
.fc-dynamic-content-card > blockquote {
    width: min(100%, 920px);
    margin-left: auto;
    margin-right: auto;
}

.fc-dynamic-content-card h2 {
    text-align: center;
    margin-bottom: 22px;
}

.fc-dynamic-content-card p {
    text-align: center;
    max-width: 820px;
}

.fc-dynamic-content-card ul,
.fc-dynamic-content-card ol {
    display: grid;
    gap: 14px;
    margin-top: 28px;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.fc-dynamic-content-card li {
    width: 100%;
    text-align: left;
}

.fc-dynamic-content-card li strong,
.fc-dynamic-content-card li b {
    color: var(--fc-secondary, #0f172a);
}

.fc-dynamic-content-card > *:first-child {
    margin-top: 0;
}

.fc-dynamic-content-card > *:last-child {
    margin-bottom: 0;
}

.fc-dynamic-content-card h2 {
    margin: 0 0 18px;

    color: var(--fc-secondary, #0f172a);

    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.fc-dynamic-content-card h3 {
    margin: 34px 0 14px;

    color: var(--fc-secondary, #0f172a);

    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
    font-weight: 850;
}

.fc-dynamic-content-card h4 {
    margin: 28px 0 12px;

    color: var(--fc-primary, #2563eb);

    font-size: 1.12rem;
    line-height: 1.25;
    font-weight: 850;
}

.fc-dynamic-content-card p {
    margin: 0 0 18px;

    color: rgba(15, 23, 42, 0.76);

    font-size: 1.02rem;
    line-height: 1.78;
    font-weight: 500;
}

.fc-dynamic-content-card strong,
.fc-dynamic-content-card b {
    color: var(--fc-secondary, #0f172a);
    font-weight: 850;
}

.fc-dynamic-content-card a {
    color: var(--fc-primary, #2563eb);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--fc-primary-rgb), 0.28);
}

.fc-dynamic-content-card a:hover {
    color: var(--fc-accent, #ff8800);
    border-bottom-color: rgba(var(--fc-accent-rgb), 0.45);
}

.fc-dynamic-content-card ul,
.fc-dynamic-content-card ol {
    display: grid;
    gap: 12px;

    margin: 22px 0 26px;
    padding: 0;

    list-style: none;
}

.fc-dynamic-content-card li {
    position: relative;

    padding: 16px 22px 16px 52px;

    border-radius: 18px;

    color: rgba(15, 23, 42, 0.82);
    background: rgba(248, 250, 252, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.07);

    font-size: 0.98rem;
    line-height: 1.58;
    font-weight: 550;
}

.fc-dynamic-content-card ul li::before {
    content: "✓";

    position: absolute;
    left: 18px;
    top: 16px;

    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    border-radius: 999px;

    color: #ffffff;
    background: var(--fc-accent, #ff8800);

    font-size: 0.72rem;
    font-weight: 900;
}

.fc-dynamic-content-card ol {
    counter-reset: fc-counter;
}

.fc-dynamic-content-card ol li {
    counter-increment: fc-counter;
}

.fc-dynamic-content-card ol li::before {
    content: counter(fc-counter);

    position: absolute;
    left: 16px;
    top: 15px;

    width: 26px;
    height: 26px;

    display: grid;
    place-items: center;

    border-radius: 999px;

    color: #ffffff;
    background: var(--fc-primary, #2563eb);

    font-size: 0.72rem;
    font-weight: 900;
}

.fc-dynamic-content-card blockquote {
    margin: 30px 0;
    padding: 24px 26px;

    border-left: 5px solid var(--fc-accent, #ff8800);
    border-radius: 20px;

    color: var(--fc-secondary, #0f172a);
    background: rgba(var(--fc-accent-rgb), 0.08);

    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 650;
}

.fc-dynamic-content-card hr {
    height: 1px;
    margin: 36px 0;

    border: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(15, 23, 42, 0.14),
        transparent
    );
}

@media (max-width: 768px) {
    .fc-dynamic-page-content {
        padding: 44px 0 70px;
    }

    .fc-dynamic-page-content .fc-container {
        padding: 0 18px;
    }

    .fc-dynamic-content-card {
        padding: 24px 20px;
        border-radius: 26px;
    }

    .fc-dynamic-content-card h2 {
        font-size: 1.7rem;
    }

    .fc-dynamic-content-card p {
        font-size: 0.96rem;
    }

    .fc-dynamic-content-card li {
        padding: 14px 14px 14px 44px;
    }
}

/* ==========================================================================
   ESTRUCTURA DEL CONTENIDO Y CENTRALES (Nativo Conservado)
   ========================================================================== */

/* Contenido dinámico en modo landing */

.fc-dynamic-page-content {
  background: #ffffff;
}

.fc-dynamic-page-content--landing {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

.fc-dynamic-page-content--landing > section,
.fc-dynamic-page-content--landing > div {
  width: 100%;
}

/* Neutralizar card cuando la página funciona como landing */

.fc-dynamic-page-content--landing .fc-content-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Modo clásico por si alguna página aún usa contenido normal */

.fc-dynamic-page-content:not(.fc-dynamic-page-content--landing) {
  padding: 72px 0;
}

.fc-dynamic-page-content:not(.fc-dynamic-page-content--landing) .fc-content-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 46px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.06);
  color: #334155;
  line-height: 1.85;
  font-size: 1.04rem;
}

.fc-content-card h2,
.fc-content-card h3,
.fc-content-card h4 {
  color: var(--fc-secondary);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 34px 0 14px;
}

.fc-content-card h2:first-child,
.fc-content-card h3:first-child {
  margin-top: 0;
}

.fc-content-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.fc-content-card h3 {
  font-size: 1.45rem;
}

.fc-content-card p {
  margin: 0 0 18px;
}

.fc-content-card ul,
.fc-content-card ol {
  margin: 16px 0 24px;
  padding-left: 24px;
}

.fc-content-card li {
  margin-bottom: 8px;
}

.fc-content-card a {
  color: var(--fc-primary);
  font-weight: 700;
}

.fc-content-card blockquote {
  margin: 28px 0;
  padding: 24px;
  border-left: 5px solid var(--fc-primary);
  border-radius: 20px;
  background: var(--fc-bg);
  color: var(--fc-secondary);
  font-weight: 700;
}

/* CTA interno de contenido clásico */

.fc-content-card .fc-content-cta {
  margin: 34px 0;
  padding: 30px;
  border-radius: 26px;
  color: #ffffff;
  background: var(--fc-premium-gradient);
}

.fc-content-card .fc-content-cta h3 {
  color: #ffffff;
  margin: 0 0 10px;
}

.fc-content-card .fc-content-cta p {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 20px;
}

.fc-content-card .fc-content-cta a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--fc-secondary);
  text-decoration: none;
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE REVEAL: Animación de Entrada Ejecutiva para el Hero
   ========================================================================== */

/* 1. Definición del Keyframe de Revelado */
@keyframes fcHeroRevealUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Configuración Base para los Elementos del Hero */
.fc-dynamic-page-hero .fc-eyebrow,
.fc-dynamic-page-hero h1,
.fc-dynamic-page-hero .fc-hero-lead,
.fc-dynamic-page-hero .fc-hero-trust-badges {
    opacity: 0; /* Se mantienen ocultos antes de que arranque la animación */
    will-change: transform, opacity;
    
    animation-name: fcHeroRevealUp;
    animation-duration: 0.85s;
    /* Curva cinematográfica: arranca rápido y desacelera suavemente al llegar */
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); 
    animation-fill-mode: forwards; /* Retiene el estado final al terminar */
}

/* 3. Escalonamiento de Tiempos (Stagger Effect) 
   Cada elemento espera a que el anterior empiece a dibujarse para crear ritmo visual
-------------------------------------------------------------------------- */

/* El tag superior aparece casi de inmediato */
.fc-dynamic-page-hero .fc-eyebrow {
    animation-delay: 0.15s;
}

/* El H1 principal entra justo después */
.fc-dynamic-page-hero h1 {
    animation-delay: 0.3s;
}

/* La descripción aparece en tercer lugar */
.fc-dynamic-page-hero .fc-hero-lead {
    animation-delay: 0.45s;
}

/* Los badges de confianza cierran la secuencia al fondo */
.fc-dynamic-page-hero .fc-hero-trust-badges {
    animation-delay: 0.6s;
}


/* ==========================================================================
   OPTIMIZACIONES RESPONSIVE (Combinado)
   ========================================================================== */

@media (max-width: 768px) {
  .fc-dynamic-page-hero {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .fc-dynamic-page-hero .fc-container {
    padding: 0 24px;
  }

  .fc-dynamic-page-hero .fc-hero-trust-badges {
    gap: 16px;
  }

  .fc-dynamic-page-content:not(.fc-dynamic-page-content--landing) {
    padding: 42px 0;
  }

  .fc-dynamic-page-content:not(.fc-dynamic-page-content--landing) .fc-content-card {
    padding: 28px;
    border-radius: 24px;
  }
}
/* ==========================================================================
   14. Widgets de Página
   ========================================================================== */

/* ==========================================================================
   Page Widgets
   ========================================================================== */

/* ==========================================================================
   Landing Widgets - Spacing Control
   ========================================================================== */

.fc-dynamic-page-content--landing .fc-page-widget {
    padding-top: clamp(64px, 7vw, 96px);
    padding-bottom: clamp(64px, 7vw, 96px);
}

/* Cuando un widget viene después de otro, reducimos el espacio superior */
.fc-dynamic-page-content--landing .fc-page-widget + .fc-page-widget {
    padding-top: clamp(42px, 5vw, 70px);
}

/* Si el widget anterior y el siguiente tienen fondos parecidos, compactamos más */
.fc-dynamic-page-content--landing .fc-widget-benefits + .fc-widget-requirements {
    padding-top: clamp(36px, 4vw, 56px);
}

.fc-page-widget {
    margin: 0;
}

.fc-widget-heading {
  margin-bottom: 24px;
}

.fc-widget-heading span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--fc-primary);
  font-weight: 900;
}

.fc-widget-heading h2 {
  margin: 0 0 12px;
  color: var(--fc-secondary);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.fc-widget-heading p {
  max-width: 720px;
  color: #64748b;
}

/* Services Widget */
.fc-widget-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fc-widget-service-card {
  padding: 24px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.fc-widget-service-card div {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.fc-widget-service-card h3 {
  margin: 0 0 10px;
  color: var(--fc-secondary);
  font-size: 1.15rem;
}

.fc-widget-service-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

/* FAQs Widget */
.fc-widget-faqs__list {
  display: grid;
  gap: 12px;
}

.fc-widget-faq {
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 18px 20px;
}

.fc-widget-faq summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--fc-secondary);
}

.fc-widget-faq p {
  margin: 12px 0 0;
  color: #64748b;
}

/* WhatsApp Widget */
.fc-widget-whatsapp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: 28px;
  color: #ffffff;
  background: var(--fc-premium-gradient);
}

.fc-widget-whatsapp span {
  display: inline-flex;
  margin-bottom: 8px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.72);
}

.fc-widget-whatsapp h2 {
  color: #ffffff;
  margin: 0 0 10px;
}

.fc-widget-whatsapp p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.fc-widget-whatsapp a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--fc-secondary);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

/* Benefits Widget */
.fc-widget-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fc-widget-benefits__grid article {
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.04);
}

.fc-widget-benefits__grid span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--fc-accent) 16%, white);
  color: var(--fc-primary);
  font-weight: 900;
}

.fc-widget-benefits__grid strong {
  color: var(--fc-secondary);
}

/* Requirements Widget */
.fc-widget-requirements__list {
  counter-reset: req;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.fc-widget-requirements__list li {
  position: relative;
  padding: 18px 18px 18px 62px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #334155;
  font-weight: 750;
}

.fc-widget-requirements__list li::before {
  counter-increment: req;
  content: counter(req);
  position: absolute;
  left: 18px;
  top: 15px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--fc-primary);
  color: #ffffff;
  font-weight: 900;
}

@media (max-width: 900px) {
  .fc-widget-services__grid,
  .fc-widget-benefits__grid {
    grid-template-columns: 1fr;
  }

  .fc-widget-whatsapp {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   15. Biblioteca SVG
   ========================================================================== */

/* ==========================================================================
   SVG Icon Library
   ========================================================================== */

.fc-icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex: 0 0 auto;
  color: currentColor;
  vertical-align: -0.18em;
}

.fc-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-icon--lg {
  width: 2rem;
  height: 2rem;
}

.fc-icon--xl {
  width: 3rem;
  height: 3rem;
}

.fc-icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: color-mix(in srgb, var(--fc-primary) 10%, white);
  color: var(--fc-primary);
}

.fc-icon-box .fc-icon {
  width: 1.65rem;
  height: 1.65rem;
}

.fc-content-card h2 .fc-icon,
.fc-content-card h3 .fc-icon {
  margin-right: 8px;
  color: var(--fc-primary);
}

.fc-widget-service-card .fc-icon,
.fc-widget-benefits__grid .fc-icon {
  color: var(--fc-primary);
}

/* En requisitos el ícono debe tomar el color del círculo */
.fc-widget-requirements__list .fc-requirement-icon .fc-icon {
  color: currentColor;
}

.fc-requirement-icon {
  position: absolute;
  left: 18px;
  top: 15px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--fc-primary);
  color: #ffffff;
}

.fc-requirement-icon .fc-icon {
  width: 1rem;
  height: 1rem;
  color: #ffffff;
}

.fc-widget-requirements__list li:has(.fc-requirement-icon)::before {
  display: none;
}

/* ==========================================================================
   16. Preloader
   ========================================================================== */

/* --- ESTILOS DEL PRELOADER PREMIUM --- */
#fc-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--fc-bg, #f8fafc); /* Usa tu color de fondo dinámico */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegura que esté por encima de todo, incluido el header sticky */
    overflow: hidden;
    /* Evita que el usuario haga scroll mientras carga */
}

.fc-preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    /* Lato o Roboto aportarán la sutileza aquí */
}

/* Spinner sutil y minimalista */
.fc-loader-circle {
    width: 40px;
    height: 40px;
    border: 3px solid color-mix(in srgb, var(--fc-primary) 10%, transparent);
    border-top-color: var(--fc-primary); /* Usa tu color primario dinámico */
    border-radius: 50%;
    animation: fc-spin 1s linear infinite;
}

.fc-loader-text {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fc-secondary);
    opacity: 0.8;
}

@keyframes fc-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   17. Animaciones
   ========================================================================== */

/* --- KEYFRAMES --- */
@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
    50% { transform: translateY(-10px) rotateX(2deg) rotateY(-1deg); }
}

@keyframes faqReveal {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   18. Responsive
   ========================================================================== */

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
 
  .fc-faqs__grid,
.fc-contact-block__grid,
.fc-simulator__grid {
  grid-template-columns: 1fr;
  gap: 48px;
}
  .fc-section-heading--sticky { position: static; }
}

@media (max-width: 560px) {
  .fc-container { width: min(100% - 32px, 1180px); }
  .fc-btn {
  width: 100%;
}
  .fc-form {
  padding: 32px 24px;
}
  .fc-section { padding: 72px 0; }
}

/* ==========================================================================
   FIX FINAL - Páginas dinámicas como landing
   ========================================================================== */

.fc-dynamic-page-content--landing {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

/* Los widgets deben ocupar todo el ancho */
.fc-dynamic-page-content--landing > .fc-page-widget,
.fc-dynamic-page-content--landing > section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Contenido editorial directo */
.fc-dynamic-page-content--landing > h2,
.fc-dynamic-page-content--landing > h3,
.fc-dynamic-page-content--landing > h4,
.fc-dynamic-page-content--landing > p,
.fc-dynamic-page-content--landing > ul,
.fc-dynamic-page-content--landing > ol,
.fc-dynamic-page-content--landing > blockquote {
    width: min(100% - 64px, 920px);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Primer bloque después del hero: menos espacio */
.fc-dynamic-page-content--landing > h2:first-child,
.fc-dynamic-page-content--landing > h3:first-child,
.fc-dynamic-page-content--landing > p:first-child,
.fc-dynamic-page-content--landing > ul:first-child,
.fc-dynamic-page-content--landing > ol:first-child {
    margin-top: 0;
}

/* Si el primer elemento es un H2, deja solo una respiración pequeña */
.fc-dynamic-page-content--landing > h2:first-child {
    padding-top: clamp(30px, 3.5vw, 46px);
}

/* Títulos editoriales */
.fc-dynamic-page-content--landing > h2 {
    margin-bottom: 22px;

    color: var(--fc-secondary, #0f172a);

    font-size: clamp(1.9rem, 3.2vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 900;

    text-align: left;
}

.fc-dynamic-page-content--landing > h3 {
    margin-top: 42px;
    margin-bottom: 16px;

    color: var(--fc-secondary, #0f172a);

    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.16;
    letter-spacing: -0.035em;
    font-weight: 850;

    text-align: left;
}

.fc-dynamic-page-content--landing > h4 {
    margin-top: 32px;
    margin-bottom: 14px;

    color: var(--fc-primary, #2563eb);

    font-size: 1.12rem;
    line-height: 1.25;
    font-weight: 850;

    text-align: left;
}

/* Párrafos editoriales */
.fc-dynamic-page-content--landing > p {
    margin-top: 0;
    margin-bottom: 24px;

    color: rgba(15, 23, 42, 0.76);

    font-size: 1.02rem;
    line-height: 1.78;
    font-weight: 500;

    text-align: left;
}

/* Listas editoriales directas */
.fc-dynamic-page-content--landing > ul,
.fc-dynamic-page-content--landing > ol {
    display: grid;
    gap: 14px;

    margin-top: 28px;
    margin-bottom: clamp(44px, 5vw, 68px);
    padding-left: 0;

    list-style: none;
    text-align: left;
}

.fc-dynamic-page-content--landing > ul > li,
.fc-dynamic-page-content--landing > ol > li {
    position: relative;

    width: 100%;
    margin: 0;
    padding: 16px 22px 16px 52px;

    border-radius: 18px;

    color: rgba(15, 23, 42, 0.82);
    background: rgba(248, 250, 252, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.07);

    font-size: 0.98rem;
    line-height: 1.58;
    font-weight: 550;

    text-align: left;
}

.fc-dynamic-page-content--landing > ul > li::before {
    content: "✓";

    position: absolute;
    left: 18px;
    top: 16px;

    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    border-radius: 999px;

    color: #ffffff;
    background: var(--fc-accent, #ff8800);

    font-size: 0.72rem;
    font-weight: 900;
}

.fc-dynamic-page-content--landing > ol {
    counter-reset: fc-counter;
}

.fc-dynamic-page-content--landing > ol > li {
    counter-increment: fc-counter;
}

.fc-dynamic-page-content--landing > ol > li::before {
    content: counter(fc-counter);

    position: absolute;
    left: 16px;
    top: 15px;

    width: 26px;
    height: 26px;

    display: grid;
    place-items: center;

    border-radius: 999px;

    color: #ffffff;
    background: var(--fc-primary, #2563eb);

    font-size: 0.72rem;
    font-weight: 900;
}

/* Quitar wrapper viejo si quedó en alguna página */
.fc-dynamic-page-content--landing .fc-dynamic-content-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Evitar que los estilos editoriales dañen listas internas de widgets */
.fc-dynamic-page-content--landing .fc-page-widget ul,
.fc-dynamic-page-content--landing .fc-page-widget ol {
    margin-left: initial;
    margin-right: initial;
}

/* Si después del contenido editorial viene el widget de libranza, no dejar hueco excesivo */
.fc-dynamic-page-content--landing > ul + .fc-page-libranza-info,
.fc-dynamic-page-content--landing > ol + .fc-page-libranza-info,
.fc-dynamic-page-content--landing > p + .fc-page-libranza-info,
.fc-dynamic-page-content--landing > h2 + .fc-page-libranza-info {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .fc-dynamic-page-content--landing > h2,
    .fc-dynamic-page-content--landing > h3,
    .fc-dynamic-page-content--landing > h4,
    .fc-dynamic-page-content--landing > p,
    .fc-dynamic-page-content--landing > ul,
    .fc-dynamic-page-content--landing > ol,
    .fc-dynamic-page-content--landing > blockquote {
        width: min(100% - 36px, 920px);
    }

    .fc-dynamic-page-content--landing > h2:first-child {
        padding-top: 28px;
    }

    .fc-dynamic-page-content--landing > h2 {
        font-size: 1.85rem;
    }

    .fc-dynamic-page-content--landing > p {
        font-size: 0.96rem;
    }

    .fc-dynamic-page-content--landing > ul > li,
    .fc-dynamic-page-content--landing > ol > li {
        padding: 14px 16px 14px 46px;
    }

    .fc-dynamic-page-content--landing > ul > li::before {
        left: 16px;
        top: 15px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .fc-dynamic-page-content--landing > h2,
    .fc-dynamic-page-content--landing > h3,
    .fc-dynamic-page-content--landing > h4,
    .fc-dynamic-page-content--landing > p,
    .fc-dynamic-page-content--landing > ul,
    .fc-dynamic-page-content--landing > ol,
    .fc-dynamic-page-content--landing > blockquote {
        width: min(100% - 36px, 920px);
    }

    .fc-dynamic-page-content--landing > h2 {
        font-size: 1.85rem;
    }

    .fc-dynamic-page-content--landing > p {
        font-size: 0.96rem;
    }

    .fc-dynamic-page-content--landing > ul > li,
    .fc-dynamic-page-content--landing > ol > li {
        padding: 14px 16px 14px 46px;
    }

    .fc-dynamic-page-content--landing > ul > li::before {
        left: 16px;
        top: 15px;
    }
}
/* ==========================================================================
   Floating Actions - WhatsApp + Simulador
   ========================================================================== */

.fc-floating-actions {
    position: fixed;
    right: clamp(16px, 3vw, 34px);
    bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 999999;

    display: grid;
    justify-items: end;
    gap: 14px;

    font-family: inherit;
}

/* ==========================================================================
   WhatsApp
   ========================================================================== */

.fc-floating-actions__whatsapp {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: #18d133;
    text-decoration: none;

    box-shadow:
        0 16px 38px rgba(15, 23, 42, 0.14),
        0 10px 28px rgba(24, 209, 51, 0.28);

    isolation: isolate;

    opacity: 0;
    animation: fcFloatingBubbleSpeedIn 0.82s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;

    transition:
        transform 0.22s ease,
        filter 0.22s ease;
}

.fc-floating-actions__whatsapp:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.fc-floating-actions__whatsapp-wave {
    position: absolute;
    inset: -16px;
    z-index: -2;

    border-radius: 999px;
    background: rgba(30, 203, 58, 0.12);

    animation: fcWhatsappWave 2.2s ease-out infinite;
}

.fc-floating-actions__whatsapp-wave--two {
    inset: -28px;
    background: rgba(30, 203, 58, 0.08);
    animation-delay: 0.55s;
}

.fc-floating-actions__whatsapp-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: transparent;
    border: 4px solid #ffffff;
}

.fc-floating-actions__whatsapp-icon svg,
.fc-floating-actions__whatsapp-icon .fc-icon {
    width: 24px;
    height: 24px;
    display: block;
}

/* ==========================================================================
   Simulador
   ========================================================================== */

.fc-floating-actions__simulator {
    position: relative;
    min-height: 74px;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: flex-end;

    color: #ffffff;
    text-decoration: none;
    cursor: pointer;

    transform-origin: right center;

    opacity: 0;
    animation: fcFloatingBubbleSpeedIn 0.82s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;

    transition:
        transform 0.22s ease,
        filter 0.22s ease;
}

.fc-floating-actions__simulator:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.fc-floating-actions__simulator-label {
    min-height: 42px;
    padding: 7px 20px 7px 15px;
    margin-right: -13px;

    display: inline-flex;
    align-items: center;

    border-radius: 999px 0 0 999px;
    background: var(--fc-accent, #ff7900);
    color: #ffffff;

    font-size: 1rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-align: left;
}

.fc-floating-actions__simulator-icon {
    position: relative;
    width: 78px;
    height: 78px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--fc-accent, #ff7900);
    color: #ffffff;

    box-shadow:
        0 16px 34px rgba(255, 121, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.fc-floating-actions__simulator-icon svg,
.fc-floating-actions__simulator-icon .fc-icon {
    width: 42px;
    height: 42px;
    display: block;
}

.fc-floating-actions__simulator.is-pressed .fc-floating-actions__simulator-icon {
    transform: scale(1.055);
    box-shadow:
        0 18px 38px rgba(255, 121, 0, 0.34),
        0 0 0 6px rgba(255, 121, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.fc-floating-actions__simulator.is-pressed .fc-floating-actions__simulator-label {
    box-shadow:
        0 14px 30px rgba(255, 121, 0, 0.20),
        0 0 0 5px rgba(255, 121, 0, 0.10);
}

/* ==========================================================================
   Animaciones
   ========================================================================== */

@keyframes fcWhatsappWave {
    0% {
        opacity: 0.9;
        transform: scale(0.72);
    }

    70% {
        opacity: 0.18;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        transform: scale(1.14);
    }
}

@keyframes fcFloatingBubbleSpeedIn {
    0% {
        opacity: 0;
        transform: translateY(36px) scale(0.74);
        filter: blur(14px);
    }

    42% {
        opacity: 1;
        transform: translateY(-10px) scale(1.08);
        filter: blur(2px);
    }

    64% {
        opacity: 1;
        transform: translateY(5px) scale(0.96);
        filter: blur(0);
    }

    82% {
        opacity: 1;
        transform: translateY(-2px) scale(1.025);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 640px) {
    .fc-floating-actions {
        right: 14px;
        bottom: calc(18px + env(safe-area-inset-bottom));
        gap: 12px;
    }

    .fc-floating-actions__whatsapp {
        width: 68px;
        height: 68px;
    }

    .fc-floating-actions__whatsapp-icon {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }

    .fc-floating-actions__whatsapp-icon svg,
    .fc-floating-actions__whatsapp-icon .fc-icon {
        width: 24px;
        height: 24px;
    }

    .fc-floating-actions__simulator {
        min-height: 68px;
    }

    .fc-floating-actions__simulator-label {
        min-height: 38px;
        padding: 6px 18px 6px 13px;
        margin-right: -12px;
        font-size: 0.9rem;
    }

    .fc-floating-actions__simulator-icon {
        width: 68px;
        height: 68px;
    }

    .fc-floating-actions__simulator-icon svg,
    .fc-floating-actions__simulator-icon .fc-icon {
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fc-floating-actions__whatsapp,
    .fc-floating-actions__simulator,
    .fc-floating-actions__whatsapp-wave {
        opacity: 1;
        animation: none;
        filter: none;
    }

    .fc-floating-actions__whatsapp,
    .fc-floating-actions__simulator,
    .fc-floating-actions__simulator-icon {
        transition: none;
    }
}

/* ==========================================================================
   Opiniones Reel - Diseño vertical 3D premium
   ========================================================================== */

.fc-opiniones-reel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #123f88;
}

.fc-opiniones-reel__canvas {
    position: relative;
    width: 100%;
    min-height: 620px;
    overflow: hidden;

    background:
        radial-gradient(circle at 42% 50%, rgba(0, 135, 255, 0.22), transparent 34%),
        radial-gradient(circle at 75% 44%, rgba(77, 140, 247, 0.12), transparent 38%),
        linear-gradient(135deg, #123f88 0%, #0e3a7e 48%, #08306d 100%);
}

.fc-opiniones-reel__canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        radial-gradient(circle at 43% 50%, rgba(255, 255, 255, 0.045), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%, rgba(0, 0, 0, 0.08));

    pointer-events: none;
}

/* ==========================================================================
   Opiniones Reel - Título lateral
   ========================================================================== */

.fc-opiniones-reel__title {
    position: absolute;
    left: clamp(52px, 6vw, 92px);
    top: clamp(42px, 6vw, 74px);
    z-index: 5;

    width: clamp(230px, 20vw, 310px);
}

.fc-opiniones-reel__title h2 {
    margin: 0;

    color: #ffffff;
    font-size: clamp(1.95rem, 2.55vw, 2.9rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.fc-opiniones-reel__title h2 span {
    display: block;
    color: var(--fc-accent, #ff8a00);
}

.fc-opiniones-reel__title h2 strong {
    display: block;
    color: #ffffff;
    font-weight: 900;
}

/* ==========================================================================
   Opiniones Reel - Navegación vertical lateral
   ========================================================================== */

.fc-opiniones-reel__progress {
    position: absolute;
    left: clamp(52px, 6vw, 92px);
    top: clamp(360px, 43vw, 455px);
    z-index: 8;

    display: grid;
    gap: 10px;

    width: 5px;
    margin: 0;
}

.fc-opiniones-reel__progress-line {
    width: 5px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.94);
    cursor: pointer;

    transition:
        background 0.25s ease,
        height 0.25s ease,
        opacity 0.25s ease;
}

.fc-opiniones-reel__progress-line.is-active {
    height: 52px;
    background: var(--fc-accent, #ff8a00);
}

/* ==========================================================================
   Opiniones Reel - Escena central
   ========================================================================== */

.fc-opiniones-reel__stage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: clamp(270px, 26vw, 390px);
    z-index: 3;

    perspective: 1400px;
    transform-style: preserve-3d;
}

.fc-opiniones-reel__item,
.fc-opiniones-reel__photo,
.fc-opiniones-reel__card {
    isolation: isolate;
}

/* ==========================================================================
   Opiniones Reel - Items / Slides
   ========================================================================== */

.fc-opiniones-reel__item {
    position: absolute;
    left: 50%;
    top: 50%;

    width: min(920px, 70vw);

    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: center;
    gap: 30px;

    opacity: 0;
    pointer-events: none;

    transform:
        translate(-50%, 88%)
        translateZ(-150px)
        scale(0.78);

    filter: blur(2px);

    transition:
        opacity 0.98s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.98s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.98s cubic-bezier(0.16, 1, 0.3, 1);
}

.fc-opiniones-reel__item.is-active {
    opacity: 1;
    pointer-events: auto;

    transform:
        translate(-50%, -50%)
        translateZ(0)
        scale(1);

    filter: blur(0);
}

.fc-opiniones-reel__item.is-prev {
    opacity: 0.14;

    transform:
        translate(-50%, -186%)
        translateX(48px)
        translateZ(-230px)
        scale(0.72);

    filter: blur(1.5px);
}

.fc-opiniones-reel__item.is-next {
    opacity: 0.14;

    transform:
        translate(-50%, 86%)
        translateX(48px)
        translateZ(-230px)
        scale(0.72);

    filter: blur(1.5px);
}

/* ==========================================================================
   Opiniones Reel - Imagen circular
   ========================================================================== */

.fc-opiniones-reel__photo {
    position: relative;
    z-index: 4;

    width: 270px;
    height: 270px;
    border-radius: 999px;

    display: grid;
    place-items: center;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.12);

    box-shadow:
        0 34px 68px rgba(0, 0, 0, 0.30),
        0 0 0 1px rgba(255, 255, 255, 0.10);
}

.fc-opiniones-reel__photo img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
}

.fc-opiniones-reel__photo span {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    color: #ffffff;
    background:
        linear-gradient(135deg, var(--fc-primary, #006db8), var(--fc-accent, #ff8a00));

    font-size: 5rem;
    font-weight: 900;
}

/* ==========================================================================
   Opiniones Reel - Tarjeta de opinión
   ========================================================================== */

.fc-opiniones-reel__card {
    position: relative;
    z-index: 3;

    min-height: 255px;
    padding: 54px 58px 38px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-radius: 0 23px 23px 23px;

    color: #ffffff;
    background: #4d8cf7;

    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.fc-opiniones-reel__quote {
    position: absolute;
    top: 16px;
    left: 34px;

    color: rgba(255, 255, 255, 0.92);
    font-size: 5.4rem;
    line-height: 1;
    font-weight: 300;
}

.fc-opiniones-reel__stars {
    position: absolute;
    top: 32px;
    right: 58px;

    display: flex;
    gap: 2px;

    color: rgba(255, 255, 255, 0.4);
    font-size: 1.12rem;
}

.fc-opiniones-reel__stars span.is-active {
    color: #ffffff;
}

.fc-opiniones-reel__card p {
    margin: 12px 0 22px;

    color: #ffffff;
    font-size: clamp(1.05rem, 1.38vw, 1.32rem);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.fc-opiniones-reel__card footer {
    margin: 0;
}

.fc-opiniones-reel__card footer strong {
    display: block;

    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
}

.fc-opiniones-reel__card footer span {
    display: block;
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    font-weight: 500;
}

/* ==========================================================================
   Opiniones Reel - Responsive tablet
   ========================================================================== */

@media (max-width: 1120px) {
    .fc-opiniones-reel__canvas {
        min-height: 760px;
    }

    .fc-opiniones-reel__title {
        position: relative;
        left: auto;
        top: auto;

        width: min(720px, calc(100% - 40px));
        margin: 0 auto;
        padding-top: 58px;

        text-align: center;
    }

    .fc-opiniones-reel__progress {
        position: relative;
        left: auto;
        top: auto;

        display: flex;
        justify-content: center;
        width: auto;
        margin: 24px auto 0;
    }

    .fc-opiniones-reel__progress-line {
        width: 42px;
        height: 5px;
    }

    .fc-opiniones-reel__progress-line.is-active {
        width: 58px;
        height: 5px;
    }

    .fc-opiniones-reel__stage {
        top: 170px;
        right: 0;
        bottom: 0;
        left: 0;
    }

    .fc-opiniones-reel__item {
        width: min(860px, calc(100% - 44px));
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 24px;
    }

    .fc-opiniones-reel__photo {
        width: 220px;
        height: 220px;
    }

    .fc-opiniones-reel__card {
        min-height: 245px;
        padding: 52px 44px 36px;
    }
}

/* ==========================================================================
   Opiniones Reel - Responsive móvil
   ========================================================================== */

@media (max-width: 760px) {
    .fc-opiniones-reel__canvas {
        min-height: 880px;
    }

    .fc-opiniones-reel__title {
        width: calc(100% - 36px);
        padding-top: 48px;
    }

    .fc-opiniones-reel__title h2 {
        font-size: clamp(2rem, 10vw, 3.1rem);
    }

    .fc-opiniones-reel__stage {
        top: 210px;
        right: 0;
        bottom: 0;
        left: 0;
    }

    .fc-opiniones-reel__item {
        width: calc(100% - 36px);
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
    }

    .fc-opiniones-reel__item.is-active {
        transform:
            translate(-50%, -50%)
            translateZ(0)
            scale(1);
    }

    .fc-opiniones-reel__item.is-prev {
        transform:
            translate(-50%, -145%)
            translateZ(-180px)
            scale(0.7);
    }

    .fc-opiniones-reel__item.is-next {
        transform:
            translate(-50%, 45%)
            translateZ(-180px)
            scale(0.7);
    }

    .fc-opiniones-reel__photo {
        width: 198px;
        height: 198px;
    }

    .fc-opiniones-reel__card {
        width: 100%;
        min-height: auto;
        padding: 56px 26px 32px;
        border-radius: 23px;
    }

    .fc-opiniones-reel__quote {
        left: 24px;
        font-size: 4.8rem;
    }

    .fc-opiniones-reel__stars {
        top: 28px;
        right: 26px;
        font-size: 1rem;
    }

    .fc-opiniones-reel__card p {
        font-size: 1.05rem;
        line-height: 1.35;
    }
}

/* ==========================================================================
   Opiniones Reel - Accesibilidad
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .fc-opiniones-reel__item,
    .fc-opiniones-reel__progress-line {
        transition: none;
    }
}

/* ==========================================================================
   Opiniones Reel - Ajuste final navegación vertical escritorio
   ========================================================================== */

@media (min-width: 1121px) {
    .fc-opiniones-reel > .fc-opiniones-reel__canvas > .fc-opiniones-reel__progress {
        position: absolute;
        left: clamp(52px, 6vw, 92px);
        top: auto;
        bottom: clamp(58px, 9vw, 92px);
        z-index: 20;

        display: grid;
        gap: 10px;

        width: 5px;
        margin: 0;
    }
}

.fc-opiniones-reel__item {
    z-index: 3;
}

.fc-opiniones-reel__item.is-active {
    z-index: 6;
}

.fc-opiniones-reel__photo {
    z-index: 7;
}

.fc-opiniones-reel__card {
    z-index: 6;
}