@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #0f172a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================
HEADER & NAV
========================= */

.header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 20;
}

.nav {
    max-width: 1080px;
    margin: auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: #2563eb;
}

.menu {
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

.menu a:hover {
    color: #0f172a;
}

/* =========================
HERO
========================= */

.hero {
    max-width: 1080px;
    margin: auto;
    padding: 70px 20px 50px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.hero h1 span {
    color: #2563eb;
}

.hero p {
    font-size: 18px;
    color: #64748b;
    max-width: 580px;
    line-height: 1.7;
}

.buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

.primary {
    background: #0f172a;
    color: #ffffff;
}

.primary:hover {
    background: #1e293b;
}

.secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.secondary:hover {
    background: #f8fafc;
}

.visual {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-inner {
    font-size: 80px;
}

/* =========================
SECTIONS
========================= */

.section {
    max-width: 1080px;
    margin: auto;
    padding: 40px 20px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    gap: 20px;
}

.section-title h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title p {
    margin-top: 6px;
    color: #64748b;
    font-size: 15px;
}

.section-title a {
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
}

/* =========================
GRIDS
========================= */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* =========================
CARDS
========================= */

.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.2s ease;
}

.card:hover {
    border-color: #cbd5e1;
}

.icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.link,
.card span {
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
}

/* =========================
FEATURE
========================= */

.feature {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: center;
}

.feature h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature p {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

.feature a {
    display: inline-block;
    margin-top: 16px;
    background: #0f172a;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

/* =========================
LISTS / BANNERS
========================= */

.lists {
    max-width: 1080px;
    margin: auto;
    padding: 20px 20px 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.listbox {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.listbox h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.listbox a {
    display: block;
    color: #2563eb;
    font-weight: 500;
    font-size: 14px;
    margin: 8px 0;
}

.banner {
    background: #0f172a;
    color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.banner h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner p {
    font-size: 15px;
    color: #94a3b8;
    max-width: 550px;
}

.banner a {
    background: #ffffff;
    color: #0f172a;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

/* =========================
ARTÍCULOS Y CALCULADORAS
========================= */

.container {
    max-width: 720px;
    margin: 42px auto;
    padding: 24px;
    background: #ffffff;
}

.container .marca {
    text-align: center;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.container h1 {
    text-align: center;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.7px;
    margin-bottom: 14px;
}

.container h2 {
    font-size: 24px;
    line-height: 1.3;
    margin-top: 42px;
    margin-bottom: 12px;
}

.container h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 26px;
    margin-bottom: 8px;
}

.container .sub {
    text-align: center;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.container > p:not(.sub) {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
    margin: 14px 0;
    color: #334155;
}

.container li {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.75;
    color: #334155;
    margin: 7px 0;
}

.container ul,
.container ol {
    padding-left: 22px;
    margin: 16px 0;
}

.container label {
    display: block;
    margin-top: 20px;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #334155;
}

.container input,
.container select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    background: #f8fafc;
}

.container input:focus,
.container select:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
}

.container button {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.container button:hover {
    background: #1e293b;
}

.container .resultado {
    margin-top: 32px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    line-height: 1.75;
}

.container .tabla {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
    font-size: 14px;
}

.container .tabla th,
.container .tabla td {
    border-bottom: 1px solid #e2e8f0;
    padding: 11px 8px;
    text-align: left;
}

.container .tabla th {
    color: #64748b;
    font-weight: 600;
    background: #f8fafc;
}

.container .aviso,
.container .cta,
.container .destacado {
    border-left: 3px solid #2563eb;
    padding: 14px 0 14px 18px;
    margin: 30px 0;
    background: transparent;
    border-radius: 0;
}

.container a {
    color: #2563eb;
}

.container a:hover {
    text-decoration: underline;
}

/* =========================
FIRE PROGRESS BAR
========================= */

.barra-fondo {
    width: 100%;
    background: #e2e8f0;
    border-radius: 999px;
    height: 22px;
    margin-top: 10px;
    overflow: hidden;
}

.barra-progreso {
    height: 100%;
    background: #2563eb;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    line-height: 22px;
    border-radius: 999px;
}

/* =========================
FOOTER
========================= */

.footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin-top: 60px;
}

.footer-container {
    max-width: 1080px;
    margin: auto;
    padding: 48px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-column h3 {
    color: #0f172a;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
}

.footer-column p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.footer-column a {
    display: block;
    color: #64748b;
    font-size: 14px;
    margin: 8px 0;
}

.footer-column a:hover {
    color: #0f172a;
}

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

/* =========================
COOKIES
========================= */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #0f172a;
    color: #ffffff;
    border-top: 1px solid #1e293b;
}

.cookie-banner-inner {
    max-width: 1080px;
    margin: auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text {
    max-width: 700px;
}

.cookie-text strong {
    font-size: 15px;
}

.cookie-text p {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-text a {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
}

.cookie-btn-primary {
    background: #ffffff;
    color: #0f172a;
}

.cookie-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #334155;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width: 900px) {

    .menu {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .visual {
        display: none;
    }

    .grid-4,
    .grid-3,
    .lists,
    .footer-container {
        grid-template-columns: 1fr;
    }

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

    .banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media(max-width: 700px) {

    .container {
        margin: 20px auto;
        padding: 16px;
    }

    .container h1 {
        font-size: 28px;
    }

    .container h2 {
        font-size: 21px;
    }

    .container > p:not(.sub),
    .container li {
        text-align: left;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}
/* =========================
AJUSTE FINAL ICONOS LUCIDE
========================= */

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 7px;
}

.logo svg {
    width: 18px;
    height: 18px;
    stroke: #2563eb;
    stroke-width: 2;
}

/* Iconos de títulos de sección */
.section-title h2 {
    display: flex;
    align-items: center;
    gap: 9px;
}

.section-title h2 svg {
    width: 22px;
    height: 22px;
    stroke: #2563eb;
    stroke-width: 2;
    flex-shrink: 0;
}

/* Iconos de las tarjetas */
.icon {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.icon svg {
    width: 27px;
    height: 27px;
    stroke: #2563eb;
    stroke-width: 1.8;
}

/* Iconos de botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* Icono grande del hero */
.visual-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-inner svg {
    width: 105px;
    height: 105px;
    stroke: #2563eb;
    stroke-width: 1.25;
}

/* Icono de la guía destacada */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 72px;
    height: 72px;
    stroke: #2563eb;
    stroke-width: 1.4;
}

/* Iconos del footer */
.footer-column h3 {
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-column h3 svg {
    width: 17px;
    height: 17px;
    stroke: #2563eb;
    stroke-width: 1.8;
}