/**
 * Scorpio Towers - Firmas Electrónicas Page Styles
 * Color Theme: Titanium / Cromo (#718096, #4a5568, #2d3748) + Blanco
 */

:root {
    --titanium-primary: #8a99ad;
    --titanium-medium: #4a5568;
    --titanium-dark: #2d3748;
    --titanium-glow: rgba(138, 153, 173, 0.25);
    --titanium-glass: rgba(12, 14, 18, 0.65);
    --titanium-border: rgba(255, 255, 255, 0.12);
}

/* Local Background Decor Blobs (Titanio / Plata sin tonos azules) */
.blob-titanium {
    background: radial-gradient(circle, rgba(138, 153, 173, 0.16) 0%, rgba(12, 14, 18, 0) 70%);
    width: 650px;
    height: 650px;
    top: 0%;
    left: -15%;
}

.blob-silver {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(8, 10, 18, 0) 65%);
    width: 500px;
    height: 500px;
    top: 40%;
    right: -10%;
}

/* --- Hero Section --- */
.fe-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 24px 70px;
    position: relative;
    overflow: hidden;
}

.fe-hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    z-index: 5;
    position: relative;
}

/* Fila Superior Centrada: Título y Subtítulo */
.fe-hero-top {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fe-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 18px;
}

.fe-hero-title span.glow-text {
    background: linear-gradient(135deg, #ffffff 40%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.2));
}

.fe-hero-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grilla Inferior de 2 Columnas */
.fe-hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(30px, 4vw, 60px);
}

.fe-hero-left {
    display: flex;
    flex-direction: column;
}

/* Checklist Hero */
.fe-hero-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.fe-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.fe-checklist-icon {
    width: 22px;
    height: 22px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.fe-checklist-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.fe-checklist-text strong {
    font-size: 0.96rem;
    color: #ffffff;
    font-weight: 700;
}

.fe-checklist-text span {
    font-size: 0.88rem;
    color: #94a3b8;
}

/* Botones Hero */
.fe-btn-group {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.fe-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    color: #0f172a;
    padding: 16px 34px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 
        0 4px 18px rgba(255, 255, 255, 0.25),
        0 0 30px rgba(255, 255, 255, 0.1);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.fe-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 26px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2);
    background: #ffffff;
}

.fe-btn-primary span {
    transition: transform 0.3s ease;
}

.fe-btn-primary:hover span {
    transform: translateX(4px);
}

.fe-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: #e2e8f0;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.fe-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-3px);
}

/* --- Columna Derecha: Tarjeta de Certificado Digital & PKI --- */
.fe-hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.fe-cert-card {
    width: 100%;
    max-width: 480px;
    background: rgba(10, 14, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6), 
        0 0 30px rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* --- Esquinas HUD Blanco Titanio (Sin Fondo, Sin Sombra, Solo Bordes Limpios) --- */
.fe-cert-card .hud-corner,
.fe-dashboard-preview-card .hud-corner,
.fe-pricing-card .hud-corner,
.fe-distrib-card .hud-corner {
    border-color: rgba(255, 255, 255, 0.85) !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 18px !important;
    height: 18px !important;
    transition: border-color 0.3s ease;
}

.fe-cert-card .hud-corner.top-left,
.fe-dashboard-preview-card .hud-corner.top-left,
.fe-pricing-card .hud-corner.top-left {
    top: 14px !important;
    left: 14px !important;
}

.fe-cert-card .hud-corner.top-right,
.fe-dashboard-preview-card .hud-corner.top-right,
.fe-pricing-card .hud-corner.top-right {
    top: 14px !important;
    right: 14px !important;
}

.fe-cert-card .hud-corner.bottom-left,
.fe-dashboard-preview-card .hud-corner.bottom-left,
.fe-pricing-card .hud-corner.bottom-left {
    bottom: 14px !important;
    left: 14px !important;
}

.fe-cert-card .hud-corner.bottom-right,
.fe-dashboard-preview-card .hud-corner.bottom-right,
.fe-pricing-card .hud-corner.bottom-right {
    bottom: 14px !important;
    right: 14px !important;
}

.fe-cert-card:hover .hud-corner,
.fe-dashboard-preview-card:hover .hud-corner,
.fe-pricing-card:hover .hud-corner {
    border-color: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
}

.fe-cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
}

.fe-cert-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #cbd5e1;
}

.fe-cert-pulse {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    display: inline-block;
    animation: fePulse 1.8s infinite;
}

@keyframes fePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.fe-cert-status {
    font-family: monospace;
    font-size: 0.62rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.06em;
}

.fe-cert-body {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fe-cert-shield-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.fe-cert-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.fe-cert-meta p {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

.fe-cert-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fe-spec-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fe-spec-item small {
    font-family: monospace;
    font-size: 0.6rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.06em;
}

.fe-spec-item strong {
    font-size: 0.82rem;
    color: #e2e8f0;
    font-weight: 600;
}

.fe-doc-preview {
    background: rgba(8, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fe-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fe-doc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 500;
}

.fe-doc-badge {
    font-family: monospace;
    font-size: 0.58rem;
    font-weight: 800;
    color: #10b981;
    letter-spacing: 0.08em;
}

.fe-doc-signature-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 8px;
    padding: 10px 12px;
}

.fe-sig-seal {
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fe-sig-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fe-sig-details strong {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.fe-sig-details small {
    font-family: monospace;
    color: #64748b;
    font-size: 0.64rem;
}

/* --- Encabezados de Sección Centrados con Mayor Separación --- */
.sw-section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sw-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    text-align: center;
}

.sw-section-desc {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* --- SECCIÓN 2: ¿Para qué sirve tu Firma Electrónica? (2 Tarjetas Simétricas) --- */
.fe-formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 980px;
    margin: 0 auto;
}

.fe-format-card {
    background: var(--titanium-glass);
    border: 1px solid var(--titanium-border);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.fe-format-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.55),
        0 0 25px rgba(255, 255, 255, 0.05);
}

.fe-format-header {
    height: 110px;
    background: rgba(8, 10, 14, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

.fe-format-svg {
    width: 100%;
    height: 80px;
    overflow: visible;
}

.fe-format-svg path,
.fe-format-svg rect,
.fe-format-svg circle {
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1.5;
    fill: none;
}

.fe-format-svg .pulse-element {
    fill: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.fe-format-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.fe-format-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- SECCIÓN 3: Módulo de Firmador Integrado en tu Panel (/account) --- */
.fe-signer-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(300px, 480px);
    align-items: center;
    gap: 48px;
    max-width: 1040px;
    margin: 0 auto;
}

.fe-signer-left {
    display: flex;
    flex-direction: column;
}

.fe-signer-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
}

.fe-signer-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--titanium-glass);
    border: 1px solid var(--titanium-border);
    padding: 20px 22px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.fe-signer-feat-item:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateX(4px);
}

.fe-feat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.fe-feat-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fe-feat-text strong {
    font-size: 0.98rem;
    color: #ffffff;
    font-weight: 700;
    font-family: var(--font-heading);
}

.fe-feat-text span {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
}

.fe-dashboard-preview-card {
    width: 100%;
    max-width: 480px;
    background: rgba(10, 14, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fe-dash-preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.fe-dash-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.fe-dash-preview-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fe-dash-upload-mock {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.015);
}

.fe-dash-upload-mock svg {
    color: #10b981;
}

.fe-dash-upload-mock strong {
    font-size: 0.95rem;
}

.fe-dash-upload-mock span {
    font-size: 0.78rem;
    color: #64748b;
}

.fe-dash-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
}

.fe-dash-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-family: monospace;
    font-size: 0.68rem;
    font-weight: 700;
}

.fe-dash-hash {
    font-family: monospace;
    font-size: 0.65rem;
    color: #64748b;
}

/* --- SECCIÓN 4: Planes y Precios Oficiales (1 a 5 Años) --- */
.fe-pricing-container {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

.fe-pricing-card {
    background: rgba(10, 14, 23, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 45px 40px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.65),
        0 0 35px rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fe-pricing-badge {
    position: absolute;
    top: -14px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    color: #0f172a;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 5px 18px;
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

/* --- Selector de Vigencia (Pills / Años) --- */
.fe-years-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px;
    border-radius: 999px;
    margin-top: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.fe-year-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fe-year-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.fe-year-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.fe-pop-tag {
    font-size: 0.65rem;
    background: #10b981;
    color: #0f172a;
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
}

.fe-year-btn.active .fe-pop-tag {
    background: #0f172a;
    color: #10b981;
}

/* --- Grilla Comparativa de los 5 Tiers --- */
.fe-tiers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 28px;
    width: 100%;
}

.fe-tier-box {
    background: rgba(10, 14, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
}

.fe-tier-box:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.03);
}

.fe-tier-box.active {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.fe-tier-box strong {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
}

.fe-tier-price {
    color: #cbd5e1;
    font-size: 1rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.fe-tier-price small {
    font-size: 0.65rem;
    color: #10b981;
    font-weight: 600;
    display: block;
}

.fe-tier-badge {
    position: absolute;
    top: -10px;
    background: #10b981;
    color: #0f172a;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .fe-tiers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.fe-pricing-header {
    margin-bottom: 28px;
}

.fe-price-amount {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.fe-price-amount .currency {
    font-size: 2rem;
    margin-top: 6px;
    color: #a0aec0;
}

.fe-price-amount .iva {
    font-size: 0.95rem;
    font-weight: 700;
    color: #10b981;
    align-self: flex-end;
    margin-bottom: 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
}

.fe-price-subtitle {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0 auto;
}

.fe-pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin-bottom: 35px;
    text-align: left;
}

.fe-price-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 0.92rem;
}

.fe-price-feat svg {
    color: #10b981;
    flex-shrink: 0;
}

.fe-pricing-cta {
    width: 100%;
    display: flex;
    justify-content: center;
}

.fe-pricing-cta .fe-btn-primary {
    width: 100%;
    justify-content: center;
    padding: 18px 30px;
    font-size: 1rem;
}

/* --- SECCIÓN 5: Distribuidor Autorizado UANATACA --- */
.fe-distrib-grid {
    display: grid;
    grid-template-columns: minmax(300px, 440px) minmax(300px, 1fr);
    align-items: center;
    gap: 48px;
    max-width: 1040px;
    margin: 0 auto;
}

.fe-distrib-left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.fe-distrib-card {
    width: 100%;
    max-width: 440px;
    background: rgba(10, 14, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6), 
        0 0 30px rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.fe-distrib-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fe-distrib-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
    transition: transform 0.4s ease;
}

.fe-distrib-card:hover .fe-distrib-img {
    transform: scale(1.03);
}

/* Columna Derecha: Pilares de Garantía y Validez */
.fe-distrib-right {
    display: flex;
    flex-direction: column;
}

.fe-distrib-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fe-pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--titanium-glass);
    border: 1px solid var(--titanium-border);
    padding: 22px 24px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.fe-pillar-item:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateX(4px);
}

.fe-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.fe-pillar-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fe-pillar-content h3 {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 700;
    font-family: var(--font-heading);
}

.fe-pillar-content p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* --- SECCIÓN 6: CTA Final --- */
.fe-cta-section {
    padding: 120px 24px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(8, 10, 18, 0) 70%);
    text-align: center;
}

.fe-cta-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--titanium-glass);
    border: 1px solid var(--titanium-border);
    border-radius: 24px;
    padding: 60px 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.fe-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.2;
}

.fe-cta-desc {
    color: #cbd5e1;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* --- Animaciones de Entrada (Scroll) --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay escalonado */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsividad --- */

@media (max-width: 1024px) {
    .fe-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .fe-hero-left {
        text-align: center;
        align-items: center;
    }
    
    .fe-btn-group {
        justify-content: center;
    }
    
    .fe-signer-grid,
    .fe-distrib-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fe-pricing-card {
        padding: 35px 24px;
    }
}

@media (max-width: 480px) {
    .fe-formats-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fe-hero-left,
    .fe-hero-right,
    .fe-hero-checklist,
    .fe-btn-group,
    .fe-cert-card {
        width: 100%;
        min-width: 0;
    }

    .fe-btn-primary,
    .fe-btn-secondary {
        width: 100%;
        max-width: 100%;
        padding-inline: 20px;
        justify-content: center;
        text-align: center;
    }
}
