/* =========================================================
   CADIK
   HERRAMIENTAS
   HERRAMIENTAS.CSS — PARTE 1
   ========================================================= */


/* =========================================================
   01. HERO
   ========================================================= */

.tools-hero {
    position: relative;

    height: 478px;

    min-height: 478px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #0b1c38;

    color: #ffffff;
}


/* Elemento decorativo */

.tools-hero::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -190px;
    bottom: -260px;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}


.tools-hero .container {
    position: relative;

    z-index: 2;

    width: min(1120px, calc(100% - 80px));

    margin: 0 auto;

    padding: 80px 0;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.tools-hero .breadcrumb {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 28px;
}


.tools-hero .breadcrumb a,
.tools-hero .breadcrumb span {
    font-size: 8px;

    line-height: 1.4;

    font-weight: 600;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


.tools-hero .breadcrumb a {
    color:
        rgba(255, 255, 255, 0.55);

    transition: color 0.2s ease;
}


.tools-hero .breadcrumb a:hover {
    color: #f47c20;
}


.tools-hero .breadcrumb span {
    color:
        rgba(255, 255, 255, 0.35);
}


/* =========================================================
   CONTENIDO DEL HERO
   ========================================================= */

.tools-hero .page-hero-content {
    max-width: 720px;
}


.tools-hero .eyebrow {
    display: block;

    margin-bottom: 16px;

    color: #f47c20;

    font-size: 9px;

    line-height: 1.4;

    font-weight: 700;

    letter-spacing: 0.14em;
}


.tools-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(42px, 5.5vw, 68px);

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -0.04em;
}


.tools-hero h1 span {
    display: block;

    color: #f47c20;
}


.tools-hero .hero-line {
    width: 48px;

    height: 3px;

    margin: 24px 0;
    
    background: #f47c20;
}


.tools-hero .page-hero-content p {
    max-width: 620px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 13px;

    line-height: 1.85;
}


/* =========================================================
   02. INTRODUCCIÓN
   ========================================================= */

.tools-intro {
    padding: 90px 0 80px;

    background: #ffffff;
}


.tools-intro .container {
    width: min(1120px, calc(100% - 80px));

    margin: 0 auto;
}


.tools-intro-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    margin-top: 42px;

    padding-left: 56px;
}


.tools-intro-main {
    max-width: 520px;

    color: #172033;

    font-size: 20px;

    line-height: 1.65;

    font-weight: 600;

    letter-spacing: -0.015em;
}


.tools-intro-content > p:not(.tools-intro-main) {
    max-width: 500px;

    color: #667085;

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   03. HERRAMIENTAS DE DISEÑO
   ========================================================= */

.tools-design {
    padding: 90px 0;

    background: #E5E7EB;
}


.tools-design .container {
    width: min(1120px, calc(100% - 80px));

    margin: 0 auto;
}


.tools-design .section-description {
    max-width: 720px;

    margin: 25px 0 45px;

    color: #667085;

    font-size: 13px;

    line-height: 1.85;
}


/* =========================================================
   04. GRID DE HERRAMIENTAS
   ========================================================= */

.tools-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   TARJETA
   ========================================================= */

.tool-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #aeb8c4;
    border-radius: 4px;

    box-shadow:
        0 3px 10px
        rgba(15, 31, 58, 0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.tool-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 35px
        rgba(15, 31, 58, 0.11);
}


/* =========================================================
   IMAGEN DE LA HERRAMIENTA
   ========================================================= */

.tool-image {
    position: relative;

    height: 190px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #eef1f5;
    border-bottom: 1px solid #d5dbe2;
}


.tool-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}


.tool-card:hover .tool-image img {
    transform: scale(1.04);
}


/* =========================================================
   CONTENIDO DE TARJETA
   ========================================================= */

.tool-content {
    position: relative;

    padding: 25px 25px 28px;
}


.tool-number {
    display: block;

    margin-bottom: 8px;

    color: #f47c20;

    font-size: 8px;

    line-height: 1.4;

    font-weight: 700;

    letter-spacing: 0.12em;
}


.tool-content h3 {
    margin: 0 0 10px;

    color: #172033;

    font-size: 18px;

    line-height: 1.3;

    font-weight: 700;
}


.tool-content p {
    margin: 0;

    color: #667085;

    font-size: 11px;

    line-height: 1.8;
}


/* =========================================================
   FIN — PARTE 1
   ========================================================= */
/* =========================================================
   CADIK
   HERRAMIENTAS
   HERRAMIENTAS.CSS — PARTE 2
   ========================================================= */


/* =========================================================
   05. HERRAMIENTAS DE SIMULACIÓN
   ========================================================= */

.tools-simulation {
    padding: 90px 0;

    background: #ffffff;
}


.tools-simulation .container {
    width: min(1120px, calc(100% - 80px));

    margin: 0 auto;
}


.tools-simulation .section-description {
    max-width: 720px;

    margin: 25px 0 45px;

    color: #667085;

    font-size: 13px;

    line-height: 1.85;
}


/* =========================================================
   GRID DE SIMULACIÓN
   ========================================================= */

.simulation-grid {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    max-width: 100%;
}


/* =========================================================
   DIFERENCIACIÓN VISUAL DE SIMULACIÓN
   ========================================================= */

.tools-simulation .tool-card {
    border-top: 3px solid #0b1c38;
}


.tools-simulation .tool-number {
    color: #0b1c38;
}


/* =========================================================
   06. BLOQUE FINAL
   ========================================================= */

.tools-closing {
    padding: 90px 0;

    background: #E5E7EB;
}


.tools-closing .container {
    width: min(1120px, calc(100% - 80px));

    margin: 0 auto;
}


.tools-closing-box {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 55px 60px;

    overflow: hidden;

    background: #0b1c38;
}


.tools-closing-box::after {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: -170px;
    bottom: -220px;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}


.tools-closing-content {
    position: relative;

    z-index: 2;

    max-width: 700px;
}


.tools-closing-content .section-label {
    color: #f47c20;
}


.tools-closing-content h2 {
    margin-top: 10px;

    color: #ffffff;

    font-size:
        clamp(28px, 3.5vw, 42px);

    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -0.025em;
}


.tools-closing-content p {
    max-width: 620px;

    margin-top: 16px;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 12px;

    line-height: 1.85;
}


/* =========================================================
   BOTÓN FINAL
   ========================================================= */

.tools-closing-action {
    position: relative;

    z-index: 2;

    flex-shrink: 0;
}


.tools-closing-action .btn-primary {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 48px;

    padding: 0 24px;

    color: #ffffff;

    background: #f47c20;

    font-size: 9px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.tools-closing-action .btn-primary span {
    font-size: 16px;

    line-height: 1;
}


.tools-closing-action .btn-primary:hover {
    background: #db6914;

    transform: translateY(-2px);
}


/* =========================================================
   07. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .tools-intro .container,
    .tools-design .container,
    .tools-simulation .container,
    .tools-closing .container {
        width: calc(100% - 60px);
    }


    .tools-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .simulation-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .tools-closing-box {
        padding: 45px;
    }

}


/* =========================================================
   08. RESPONSIVE — TABLET PEQUEÑA
   ========================================================= */

@media (max-width: 800px) {

    .tools-intro,
    .tools-design,
    .tools-simulation,
    .tools-closing {
        padding-top: 70px;
        padding-bottom: 70px;
    }


    .tools-intro-content {
        grid-template-columns: 1fr;

        gap: 20px;

        padding-left: 56px;
    }


    .tools-closing-box {
        flex-direction: column;

        align-items: flex-start;

        gap: 30px;
    }

}


/* =========================================================
   09. RESPONSIVE — MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .tools-intro .container,
    .tools-design .container,
    .tools-simulation .container,
    .tools-closing .container {
        width: calc(100% - 36px);
    }


    .tools-hero .container {
        width: calc(100% - 36px);

        padding: 65px 0;
    }


    .tools-hero {
        min-height: 460px;
    }


    .tools-hero h1 {
        font-size: 40px;
    }


    .tools-hero .page-hero-content p {
        font-size: 12px;
    }


    .tools-intro-content {
        padding-left: 0;
    }


    .tools-intro-main {
        font-size: 18px;
    }


    .tools-grid,
    .simulation-grid {
        grid-template-columns: 1fr;
    }


    .tool-image {
        height: 210px;
    }


    .tools-closing-box {
        padding: 35px 25px;
    }


    .tools-closing-content h2 {
        font-size: 28px;
    }


    .tools-closing-action,
    .tools-closing-action .btn-primary {
        width: 100%;
    }

}


/* =========================================================
   10. PANTALLAS MUY PEQUEÑAS
   ========================================================= */

@media (max-width: 400px) {

    .tools-hero h1 {
        font-size: 34px;
    }


    .tool-content {
        padding: 22px 20px 25px;
    }


    .tools-closing-box {
        padding: 30px 20px;
    }

}


/* =========================================================
   FIN — HERRAMIENTAS.CSS PARTE 2
   ========================================================= */
/* =========================================================
   AJUSTE VISUAL DE TARJETAS DE HERRAMIENTAS
   ========================================================= */

.tool-card {
    background: #ffffff;

    border: 1px solid #e1e5ea;

    box-shadow: 0 8px 24px rgba(11, 28, 56, 0.06);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.tool-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 32px rgba(11, 28, 56, 0.10);
}


/* =========================================================
   ÁREA DE IMAGEN
   ========================================================= */

.tool-image {
    width: 100%;

    height: 220px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    background: #ffffff;

    overflow: hidden;
}


/* =========================================================
   IMAGEN DEL LOGO
   ========================================================= */

.tool-image img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.tool-content {
    min-height: 165px;

    padding: 25px 24px 28px;

    background: #ffffff;

    border-top: 1px solid #edf0f3;
}


.tool-content h3 {
    margin: 7px 0 12px;

    color: #0b1c38;

    font-size: 20px;

    line-height: 1.2;

    font-weight: 700;
}


.tool-content p {
    margin: 0;

    color: #667085;

    font-size: 12px;

    line-height: 1.75;
}
/* =========================================================
   LISTA DE FUNCIONES DE CADA HERRAMIENTA
   ========================================================= */

.tool-features {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin: 20px 0 0;

    padding: 0;

    list-style: none;
}


.tool-features li {
    position: relative;

    padding-left: 18px;

    color: #475467;

    font-size: 10px;

    line-height: 1.55;
}


.tool-features li::before {
    content: "✓";

    position: absolute;

    left: 0;

    top: 1px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    color: #ffffff;

    background: #f47c20;

    font-size: 7px;

    font-weight: 700;

    line-height: 1;
}