/* =========================================================
   CONFIGURACIÓN GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #f4f7fb;
    color: #0f172a;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}


/* =========================================================
   CABECERA
   ========================================================= */

.page-header {
    margin-bottom: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;

    color: #2563eb;
    font-size: 15px;
    font-weight: 700;
}

.brand-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;

    font-size: 18px;
    font-weight: 700;
}

.page-header h1 {
    margin: 0 0 8px;

    font-size: 36px;
    line-height: 1.2;

    color: #0f172a;
}

.page-header p {
    max-width: 680px;

    margin: 0;

    color: #64748b;
    font-size: 15px;
}


/* =========================================================
   SECCIÓN HERRAMIENTAS
   ========================================================= */

.tools-section {
    margin-bottom: 22px;
}

.tools-section h2 {
    margin: 0 0 6px;

    font-size: 21px;
    color: #0f172a;
}

.section-description {
    margin: 0 0 20px;

    color: #64748b;
    font-size: 14px;
}


/* =========================================================
   GRID DE HERRAMIENTAS
   ========================================================= */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}


/* =========================================================
   TARJETAS DE HERRAMIENTAS
   ========================================================= */

.tool-card {
    display: flex;
    flex-direction: column;

    min-height: 245px;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    text-decoration: none;

    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.05);

    transition:
        transform 0.15s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-2px);

    border-color: #93c5fd;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.09);
}


/* =========================================================
   ICONOS
   ========================================================= */

.tool-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 12px;

    background: #eff6ff;
    color: #2563eb;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
}


/* =========================================================
   CONTENIDO TARJETAS
   ========================================================= */

.tool-content {
    display: flex;
    flex-direction: column;

    flex: 1;
}

.tool-content h3 {
    margin: 0 0 8px;

    color: #0f172a;

    font-size: 18px;
    line-height: 1.3;
}

.tool-content p {
    margin: 0 0 18px;

    color: #64748b;

    font-size: 13px;
    line-height: 1.55;
}

.tool-link {
    margin-top: auto;

    color: #2563eb;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   INFORMACIÓN
   ========================================================= */

.info-card {
    padding: 22px 24px;

    margin-bottom: 22px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.04);
}

.info-card h2 {
    margin: 0 0 10px;

    font-size: 19px;
    color: #0f172a;
}

.info-card p {
    margin: 0 0 10px;

    color: #64748b;

    font-size: 14px;
}

.info-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding-top: 4px;

    text-align: center;

    color: #64748b;

    font-size: 12px;
}

.footer p {
    margin: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 650px) {

    .container {
        padding: 18px 14px 30px;
    }

    .page-header {
        margin-bottom: 26px;
    }

    .page-header h1 {
        font-size: 29px;
    }

    .page-header p {
        font-size: 14px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        min-height: 220px;
    }

    .info-card {
        padding: 20px;
    }
}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
   ========================================================= */

@media (max-width: 380px) {

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .tool-card {
        padding: 18px;
    }

    .info-card {
        padding: 16px;
    }
}