:root {
    --color-yellow: #f5ce45;
    --color-yellow-soft: #f8dc6a;
    --color-green: #0f8f3d;
    --color-green-dark: #146b36;
    --color-orange: #ff6700;
    --color-blue: #4f55f5;
    --color-dark: #111827;
    --color-muted: #4b5563;
    --color-light: #f7f7f2;
    --color-white: #ffffff;
    --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.12);
    --radius-md: 14px;
    --radius-lg: 24px;
    --font-main: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-dark);
    background: var(--color-light);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

/* Header */

.site-header {
    background: var(--color-yellow);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-content {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 800;
}

.brand-logo {
    width: 58px;
    height: auto;
}

.brand-text {
    font-size: 1.05rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-weight: 700;
}

.main-nav a {
    text-decoration: none;
}

.nav-button {
    background: var(--color-green);
    color: var(--color-white);
    padding: 0.7rem 1rem;
    border-radius: 999px;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 0.65rem;
    text-decoration: none;
    font-weight: 800;
    border: none;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    transition: all 0.2s ease;
}
.btn-primary {
    background: var(--color-green);
    color: var(--color-white);
}

.btn-contact {
    background: var(--color-green);
    color: var(--color-white);
    text-transform: uppercase;
    min-width: 180px;
}

.btn-secondary {
    background: var(--color-green);
    color: var(--color-white);
    width: 100%;
    border-radius: 999px;
}

.btn-blue {
    background: var(--color-blue);
    color: var(--color-white);
    width: 100%;
    border-radius: 999px;
}

/* Hero */

.hero {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(245,206,69,0.45) 0%, transparent 52%),
        radial-gradient(ellipse at 100% 100%, rgba(0,148,58,0.20) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(0,82,165,0.13) 0%, transparent 42%),
        #faf8f2;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-green-dark);
    background: rgba(15,143,61,0.08);
    border: 1px solid rgba(15,143,61,0.18);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    align-items: center;
    gap: 5rem;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.hero-logo {
    width: 330px;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 5.3rem);
    line-height: 1.05;
    margin: 0 0 1.2rem;
    color: var(--color-dark);
}

.hero-content p {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: var(--color-muted);
    line-height: 1.65;
    margin: 0 0 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Sections */

.welcome-section {
    background: var(--color-light);
    padding: 4rem 0;
}

.section-heading {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 0 0 1rem;
}

.section-heading p {
    font-size: 1.15rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0.35rem 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    gap: 2rem;
}

.audience-card {
    background: transparent;
    text-align: center;
    padding: 1.5rem;
}

.audience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.audience-card p {
    line-height: 1.7;
    color: var(--color-dark);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.featured-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-logo {
    width: 330px;
    margin: 0 auto;
}

/* Services */

.services-preview {
    background: var(--color-white);
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--color-light);
    border-radius: var(--radius-md);
    padding: 1.7rem;
    box-shadow: var(--shadow-soft);
}

.service-card h3 {
    margin-top: 0;
    color: var(--color-green-dark);
}

.service-card p {
    line-height: 1.6;
    color: var(--color-muted);
}

/* Footer */

.site-footer {
    background: var(--color-yellow);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.privacy-link {
    text-decoration: none;
    font-size: 1.15rem;
}

.social-area {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-area span {
    font-size: 1.8rem;
    font-weight: 900;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    text-decoration: none;
    font-weight: 800;
}

/* Responsive */

@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        padding: 1rem 0;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-logo {
        width: 240px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .main-nav {
        gap: 0.8rem;
    }

    /* .whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: #25d366;
    color: white;
    padding: 1rem 1.3rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    z-index: 1000;
    } */
}

.contact-section {
    background: var(--color-light);
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-muted);
}

.contact-card {
    margin-top: 2rem;
    background: var(--color-yellow);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.contact-card strong,
.contact-card span {
    display: block;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.7rem;
    font: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(15, 143, 61, 0.15);
}

.form-error {
    color: #dc2626;
    font-weight: 700;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    z-index: 1000;
}
.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}
}
/* ─── Página de Servicios con Checklist ─── */
.services-hero {
    background: var(--color-yellow);
    padding: 3.5rem 0 2.5rem;
    text-align: center;
}
.services-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 1rem; }
.services-hero p { font-size: 1.1rem; color: var(--color-muted); max-width: 640px; margin: 0 auto; line-height: 1.6; }

.services-full { background: var(--color-light); padding: 4rem 0; }

.step-title { font-size: 1.5rem; margin: 0 0 0.3rem; color: var(--color-dark); }
.step-hint { color: var(--color-muted); margin: 0 0 1.5rem; }

.form-error-banner {
    background: #fee2e2; border: 1px solid #fca5a5; color: #b91c1c;
    border-radius: var(--radius-md); padding: 1rem 1.5rem; margin-bottom: 2rem; font-weight: 700;
}

.services-check-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.service-check-card {
    cursor: pointer;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    display: block;
}
.service-check-card:hover { border-color: var(--color-green); box-shadow: var(--shadow-soft); }
.service-check-card.checked { border-color: var(--color-green); background: #f0fdf4; box-shadow: 0 0 0 3px rgba(15,143,61,0.15); }
.service-check-card input[type=checkbox] { display: none; }

.check-card-body {
    display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem;
}
.check-card-icon { font-size: 2rem; flex-shrink: 0; }
.check-card-body strong { display: block; margin-bottom: 0.3rem; color: var(--color-green-dark); }
.check-card-body p { margin: 0; font-size: 0.9rem; color: var(--color-muted); line-height: 1.4; }

.services-contact-form {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.form-submit-area {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 1.5rem; flex-wrap: wrap; gap: 1rem;
}

.selected-count { font-weight: 700; color: var(--color-muted); }
.selected-count.has-selection { color: var(--color-green); }

.btn-submit { padding: 1rem 2.5rem; font-size: 1.05rem; }

@media (max-width: 900px) {
    .services-check-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .services-check-grid { grid-template-columns: 1fr; }
    .services-contact-form { padding: 1.5rem; }
    .form-submit-area { flex-direction: column; align-items: stretch; }
    .btn-submit { width: 100%; }
}

/* ─── Paginación Admin ─── */
.portal-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 0 0.5rem;
    flex-wrap: wrap;
}
.pagination-info {
    font-size: 0.9rem;
    color: var(--color-muted);
    padding: 0 0.5rem;
}

/* ─── Página de Confirmación ─── */
.success-section {
    background: var(--color-light);
    padding: 6rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.success-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-soft);
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-card h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 1rem;
    color: var(--color-green-dark);
}

.success-message {
    font-size: 1.1rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0 0 2rem;
}

.success-info {
    background: var(--color-yellow);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.success-info p {
    margin: 0 0 1rem;
    font-weight: 700;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-green);
    color: var(--color-green);
    border-radius: 0.65rem;
    padding: 0.9rem 1.4rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-outline:hover {
    background: var(--color-green);
    color: var(--color-white);
    transition: all 0.2s ease;
}

/* Portal */

.portal-section {
    background: var(--color-light);
    min-height: 70vh;
    padding: 4rem 0;
}

/* El portal usa más ancho que el sitio público */
.portal-section > .container {
    width: min(1760px, calc(100% - 2rem));
}

.portal-auth-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: center;
}

.portal-auth-intro {
    max-width: 560px;
}

.portal-auth-intro h1,
.portal-header-row h1,
.portal-form h1,
.portal-card h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
    margin: 0 0 1rem;
}

.portal-auth-intro p,
.portal-muted {
    color: var(--color-muted);
    line-height: 1.7;
}

.portal-kicker {
    color: var(--color-green-dark);
    font-weight: 900;
    margin: 0 0 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.portal-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
}

.portal-narrow {
    max-width: 920px;
    margin: 0 auto;
}

.portal-form h2,
.portal-card h2 {
    margin-top: 0;
}

.portal-form input,
.portal-form select,
.portal-form textarea,
.portal-filter input,
.portal-filter select,
.portal-inline-form select,
.portal-inline-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.7rem;
    font: inherit;
    background: white;
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus,
.portal-filter input:focus,
.portal-filter select:focus,
.portal-inline-form select:focus,
.portal-inline-form textarea:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(15, 143, 61, 0.15);
}

.portal-form .errorlist {
    color: #b91c1c;
    padding-left: 1.1rem;
    margin: 0.4rem 0 0;
    font-weight: 700;
}

.portal-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.2rem;
}

.portal-form-wide {
    grid-column: 1 / -1;
}

.portal-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.portal-auth-links,
.portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.portal-auth-links {
    justify-content: space-between;
    margin-top: 1rem;
    font-weight: 800;
}

.portal-header-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.portal-messages {
    margin-bottom: 1.5rem;
}

.portal-message {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 800;
}

.portal-table-wrap {
    overflow-x: auto;
}

.portal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.portal-table th,
.portal-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
    text-align: left;
    vertical-align: top;
}

.portal-table th {
    color: var(--color-green-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.portal-table span {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    font-weight: 900;
    font-size: 0.85rem;
}

.status-enviado,
.status-pendiente {
    background: #fef3c7;
    color: #92400e;
}

.status-validando,
.status-en_proceso {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-radicado,
.status-completado {
    background: #dcfce7;
    color: #166534;
}

.status-rechazado {
    background: #fee2e2;
    color: #b91c1c;
}

.portal-empty {
    text-align: center;
}

.portal-filter {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.portal-inline-form {
    display: grid;
    gap: 0.6rem;
    min-width: 220px;
}

.portal-inline-form .btn {
    padding: 0.7rem 1rem;
}

.btn-small {
    padding: 0.45rem 0.7rem;
    font-size: 0.85rem;
    margin: 0.15rem;
}

.portal-detail-list {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0.75rem 1rem;
    margin: 2rem 0;
}

.portal-detail-list dt {
    font-weight: 900;
    color: var(--color-green-dark);
}

.portal-detail-list dd {
    margin: 0;
    color: var(--color-muted);
    overflow-wrap: anywhere;
}

.portal-service-checklist {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin: 1.5rem 0;
    background: #f8fafc;
}

.portal-checklist-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.portal-checklist-head h2 {
    margin: 0;
    font-size: 1.2rem;
}

.portal-service-checklist ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.portal-service-checklist label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 800;
}

.portal-service-checklist input {
    width: 18px;
    height: 18px;
    margin-top: 0.1rem;
}

.service-chip {
    display: inline-flex;
    background: #eef2ff;
    color: #3730a3;
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    margin: 0.12rem;
    font-size: 0.82rem;
    font-weight: 900;
}

.result-upload-fields {
    border: 1px solid #e5e7eb;
    border-radius: 0.7rem;
    display: grid;
    gap: 0.55rem;
    padding: 0.7rem;
    background: #f8fafc;
}

.result-upload-fields[hidden] {
    display: none;
}

.portal-legal-checks {
    display: grid;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.portal-legal-checks label {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    line-height: 1.4;
}

.portal-legal-checks input {
    width: 18px;
    height: 18px;
    margin-top: 0.1rem;
    flex: 0 0 auto;
}

.portal-legal-checks a {
    color: var(--color-green-dark);
    font-weight: 900;
}

@media (max-width: 900px) {
    .portal-auth-grid,
    .portal-form-grid,
    .portal-filter {
        grid-template-columns: 1fr;
    }

    .portal-header-row {
        flex-direction: column;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .portal-card {
        padding: 1.3rem;
    }

    .portal-actions .btn,
    .portal-auth-links a {
        width: 100%;
    }

    .portal-auth-links {
        align-items: stretch;
    }

    .portal-detail-list {
        grid-template-columns: 1fr;
    }

    .portal-service-checklist ul {
        grid-template-columns: 1fr;
    }
}

/* ─── Botón flotante WhatsApp ─── */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}

/* ─── Iconos redes sociales ─── */
.social-icon {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

/* ─── Tamaño uniforme iconos sociales ─── */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.social-icon {
    width: 42px !important;
    height: 42px !important;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ─── Página Sobre Nosotros ─── */
.about-hero {
    background: var(--color-yellow);
    padding: 5rem 0;
}
.about-hero-inner {
    display: block;
}
.about-tag {
    display: inline-block;
    background: rgba(0,0,0,0.08);
    border-radius: 999px;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.about-hero-text h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin: 0 0 1.2rem;
}
.about-hero-text h1 em {
    font-style: normal;
    color: var(--color-green-dark);
}
.about-hero-text p {
    font-size: 1.15rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0;
    max-width: 520px;
}

.about-history {
    background: var(--color-white);
    padding: 5rem 0;
}
.about-history-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: start;
}
.about-history-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
}
.year-badge {
    background: var(--color-yellow);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-weight: 900;
    font-size: 1rem;
    white-space: nowrap;
}
.year-now {
    background: var(--color-green);
    color: white;
}
.year-line {
    width: 3px;
    height: 120px;
    background: linear-gradient(to bottom, var(--color-yellow), var(--color-green));
    border-radius: 999px;
}
.about-history-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 1.5rem;
}
.about-history-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-muted);
    margin: 0 0 1rem;
}
.about-history-content p strong {
    color: var(--color-dark);
}

.about-mv {
    background: var(--color-light);
    padding: 5rem 0;
}
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.mv-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--color-yellow);
}
.mv-card-vision {
    border-top-color: var(--color-green);
}
.mv-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.mv-card h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--color-dark);
}
.mv-card p {
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0 0 0.8rem;
    font-size: 1rem;
}

.about-stats {
    background: var(--color-green);
    padding: 4rem 0;
    color: white;
    text-align: center;
}
.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
}
.stat-item {
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
}
.stat-label {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 600;
}
.stat-divider {
    width: 1px;
    height: 80px;
    background: rgba(255,255,255,0.3);
}
.stats-note {
    max-width: 640px;
    margin: 0 auto;
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.6;
}

.about-values {
    background: var(--color-white);
    padding: 5rem 0;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.value-card {
    background: var(--color-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    border-bottom: 3px solid var(--color-yellow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}
.value-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}
.value-card h4 {
    font-size: 1.1rem;
    margin: 0 0 0.6rem;
    color: var(--color-green-dark);
}
.value-card p {
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.about-cta {
    background: var(--color-light);
    padding: 5rem 0;
}

@media (max-width: 900px) {
    .about-history-inner { grid-template-columns: 1fr; }
    .about-history-badge { flex-direction: row; }
    .year-line { width: 80px; height: 3px; }
    .mv-grid { grid-template-columns: 1fr; }
    .stats-grid { flex-direction: column; gap: 2rem; }
    .stat-divider { width: 80px; height: 1px; }
    .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .values-grid { grid-template-columns: 1fr; }
    .stat-item { padding: 0 2rem; }
}

/* ─── Logo nuevo Soluciones Integrales ─── */
.brand-logo {
    width: 80px !important;
    border-radius: 8px;
    background: transparent;
    mix-blend-mode: multiply;
}

/* ─── Logo nuevo Soluciones Integrales ─── */
.brand-logo {
    width: 80px !important;
    border-radius: 8px;
    background: transparent;
    mix-blend-mode: multiply;
}
