/* Variables Corporativas */
:root {
    --primary: #00553f;
    --primary-dark: #003b2c;
    --primary-light: #e6f2ee;
    --secondary: #0f3d68;
    --dark: #0f172a;
    --slate: #334155;
    --muted: #64748b;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --radius: 10px;
    --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Bar */
.top-bar {
    background: var(--dark);
    color: #cbd5e1;
    font-size: 0.82rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-links {
    display: flex;
    gap: 20px;
}

.top-bar a {
    color: #e2e8f0;
    text-decoration: none;
}

/* Navbar */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand-emblem {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.brand-text span {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--slate);
    font-weight: 500;
    font-size: 0.94rem;
    transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.96rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.88rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f7f4 0%, #ffffff 65%);
    padding: 64px 0 76px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 18px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.hero-content h1 {
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 1.18;
    color: var(--dark);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--slate);
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-highlights {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate);
}

.highlight-item svg {
    color: var(--primary);
}

/* Form Card */
.form-card {
    background: var(--white);
    padding: 32px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-card-header {
    margin-bottom: 20px;
}

.form-card-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.form-card-header p {
    font-size: 0.9rem;
    color: var(--muted);
}

.form-group {
    margin-bottom: 14px;
}

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

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--slate);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.94rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-legal {
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
    margin-top: 12px;
}

.form-legal a {
    color: var(--primary);
}

.success-box {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 20px;
    border-radius: 10px;
    margin-top: 12px;
}

/* KPI Strip */
.kpi-strip {
    background: var(--primary);
    color: var(--white);
    padding: 32px 0;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.kpi-number {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.2;
}

.kpi-label {
    font-size: 0.88rem;
    opacity: 0.9;
}

/* Secciones Generales */
.section {
    padding: 76px 0;
}

.bg-slate {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--muted);
    font-size: 1.02rem;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s;
}

.service-box:hover {
    transform: translateY(-4px);
}

.service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 99px;
}

.service-body {
    padding: 28px;
}

.service-body h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-body > p {
    color: var(--slate);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.check-list {
    list-style: none;
    margin-bottom: 22px;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 9px;
    font-size: 0.92rem;
    color: var(--slate);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.94rem;
}

/* Metodología */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--white);
    padding: 26px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.step-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Respaldo Institucional */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.trust-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.trust-content h2 {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.trust-content > p {
    color: var(--slate);
    margin-bottom: 22px;
}

.trust-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.tf-item {
    background: var(--bg-light);
    padding: 14px 18px;
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    font-size: 0.93rem;
}

/* FAQ */
.faq-container {
    max-width: 820px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 22px;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.02rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--primary);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin-top: 12px;
    color: var(--slate);
    font-size: 0.94rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: #cbd5e1;
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.footer-subtitle {
    color: #34d399;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer p {
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 14px;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.footer-col a:hover, .footer-brand a:hover {
    color: var(--white);
}

.footer-brand a {
    color: #93c5fd;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid, .services-grid, .trust-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .kpi-grid, .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links a:not(.btn) {
        display: none;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 540px) {
    .kpi-grid, .steps-grid, .form-row {
        grid-template-columns: 1fr;
    }
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
}
