/* =========================
   VARIABLES GENERALES
========================= */

:root {
    --blue: #071f3d;
    --blue-light: #123b68;
    --red: #c90016;
    --red-dark: #990011;
    --gray-dark: #262a30;
    --gray: #69717d;
    --gray-light: #eef1f5;
    --white: #ffffff;
    --border: #dfe4ea;
    --shadow: 0 18px 50px rgba(7, 31, 61, 0.12);
    --radius: 18px;
}


/* =========================
   REINICIO
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    background-color: var(--white);
    color: var(--gray-dark);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 90%);
    margin-inline: auto;
}


/* =========================
   BOTONES
========================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background-color: var(--red);
    color: var(--white);
}

.button-primary:hover {
    background-color: var(--red-dark);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.button-secondary:hover {
    background-color: var(--white);
    color: var(--blue);
}

.button-header {
    background-color: var(--red);
    color: var(--white);
    font-size: 0.9rem;
}


/* =========================
   CABECERA
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-content {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand img {
    width: 150px;
    max-height: 72px;
    object-fit: contain;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.navigation a {
    position: relative;
    color: var(--blue);
    font-size: 0.92rem;
    font-weight: 700;
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background-color: var(--red);
    transition: width 0.25s ease;
}

.navigation a:hover::after {
    width: 100%;
}


/* =========================
   PORTADA
========================= */

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 88px);
    padding: 100px 0 45px;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(201, 0, 22, 0.2),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #041426 0%,
            #071f3d 55%,
            #102f52 100%
        );

    color: var(--white);
}

.hero-decoration {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.hero-decoration-one {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -100px;
}

.hero-decoration-two {
    width: 280px;
    height: 280px;
    right: 22%;
    bottom: -160px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 75px;
}

.section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 6vw, 5.3rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.hero h1 span {
    display: block;
    color: #ff3348;
}

.hero-text > p {
    max-width: 660px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.12rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-panel {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
}

.hero-panel-title {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-panel-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel-item:last-child {
    border-bottom: 0;
}

.hero-panel-item > span {
    color: var(--red);
    font-size: 0.83rem;
    font-weight: 800;
}

.hero-panel-item h3 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.hero-panel-item p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

.sectors {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 85px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.sectors span {
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
}


/* =========================
   SECCIONES GENERALES
========================= */

.section {
    padding: 105px 0;
}

.section-soft {
    background-color: var(--gray-light);
}

.section-dark {
    background-color: var(--blue);
    color: var(--white);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-bottom: 18px;
    color: var(--blue);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-heading p {
    color: var(--gray);
    font-size: 1.05rem;
}

.section-heading-light h2 {
    color: var(--white);
}

.section-heading-light p {
    color: rgba(255, 255, 255, 0.66);
}


/* =========================
   NOSOTROS
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
}

.about-main {
    padding: 45px;
    border-radius: var(--radius);
    background-color: var(--blue);
    color: var(--white);
}

.about-main h3 {
    margin-bottom: 22px;
    font-size: 1.8rem;
    line-height: 1.2;
}

.about-main p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.value-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--white);
}

.value-card > span {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: rgba(201, 0, 22, 0.1);
    color: var(--red);
    font-weight: 800;
}

.value-card h3 {
    margin-bottom: 10px;
    color: var(--blue);
}

.value-card p {
    color: var(--gray);
    font-size: 0.92rem;
}


/* =========================
   SERVICIOS
========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    min-height: 270px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.05);
    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    background-color: rgba(255, 255, 255, 0.09);
}

.service-number {
    display: block;
    margin-bottom: 55px;
    color: var(--red);
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 13px;
    font-size: 1.28rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.93rem;
}


/* =========================
   CAPACITACIÓN
========================= */

.training-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 50px;
    align-items: start;
}

.training-intro {
    position: sticky;
    top: 125px;
    padding: 38px;
    border-radius: var(--radius);
    background-color: var(--blue);
    color: var(--white);
}

.training-tag {
    display: inline-block;
    margin-bottom: 22px;
    padding: 7px 12px;
    border-radius: 100px;
    background-color: rgba(201, 0, 22, 0.2);
    color: #ff5365;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.training-intro h3 {
    margin-bottom: 18px;
    font-size: 1.9rem;
    line-height: 1.15;
}

.training-intro p {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.68);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.course-item {
    position: relative;
    padding: 25px 25px 25px 56px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--blue);
    font-weight: 700;
}

.course-item::before {
    content: "✓";
    position: absolute;
    left: 22px;
    color: var(--red);
    font-weight: 900;
}


/* =========================
   EQUIPOS
========================= */

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.equipment-card {
    min-height: 190px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--white);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.equipment-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.equipment-card span {
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 800;
}

.equipment-card h3 {
    margin-top: 55px;
    color: var(--blue);
    font-size: 1.16rem;
}


/* =========================
   GALERÍA
========================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 230px;
    gap: 18px;
}

.gallery-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 25px;
    border-radius: var(--radius);
    background:
        linear-gradient(
            135deg,
            rgba(7, 31, 61, 0.95),
            rgba(201, 0, 22, 0.7)
        );
}

.gallery-large {
    grid-row: span 2;
}

.gallery-item::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    top: -50px;
    right: -50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.gallery-item span {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-weight: 800;
}


/* =========================
   BLOG
========================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.blog-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--white);
}

.blog-category {
    display: inline-block;
    margin-bottom: 40px;
    padding: 7px 12px;
    border-radius: 100px;
    background-color: rgba(201, 0, 22, 0.09);
    color: var(--red);
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
}

.blog-card h3 {
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 1.25rem;
}

.blog-card p {
    color: var(--gray);
    font-size: 0.93rem;
}


/* =========================
   COTIZACIÓN
========================= */

.quote-section {
    background-color: var(--white);
}

.quote-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 60px;
}

.quote-information h2 {
    margin-bottom: 20px;
    color: var(--blue);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.quote-information > p {
    margin-bottom: 36px;
    color: var(--gray);
}

.quote-detail {
    display: grid;
    gap: 4px;
    margin-bottom: 22px;
    padding-left: 18px;
    border-left: 3px solid var(--red);
}

.quote-detail strong {
    color: var(--blue);
}

.quote-detail span {
    color: var(--gray);
    font-size: 0.9rem;
}

.quote-form {
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--gray-light);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 9px;
    background-color: var(--white);
    padding: 13px 14px;
    color: var(--gray-dark);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(201, 0, 22, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    margin-top: 18px;
    color: var(--gray);
    font-size: 0.8rem;
}


/* =========================
   CONTACTO
========================= */

.contact-section {
    background:
        linear-gradient(
            135deg,
            rgba(7, 31, 61, 0.98),
            rgba(13, 47, 82, 0.98)
        );

    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-item {
    display: grid;
    gap: 10px;
    min-height: 145px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.05);
}

.contact-item span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-item strong {
    align-self: end;
}


/* =========================
   PIE DE PÁGINA
========================= */

.footer {
    padding: 32px 0;
    background-color: #03101f;
    color: var(--white);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer img {
    width: 115px;
    border-radius: 5px;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer a {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 800;
}


/* =========================
   DISEÑO RESPONSIVO
========================= */

@media (max-width: 1050px) {

    .navigation {
        display: none;
    }

    .hero-content,
    .about-grid,
    .training-layout,
    .quote-layout {
        grid-template-columns: 1fr;
    }

    .training-intro {
        position: static;
    }

    .services-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .equipment-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: auto;
    }
}


@media (max-width: 700px) {

    .section {
        padding: 75px 0;
    }

    .header-content {
        min-height: 75px;
    }

    .brand img {
        width: 115px;
    }

    .button-header {
        padding: 9px 13px;
        font-size: 0.75rem;
    }

    .hero {
        padding-top: 75px;
    }

    .hero-content {
        gap: 45px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .sectors {
        justify-content: flex-start;
        margin-top: 55px;
    }

    .values-grid,
    .services-grid,
    .courses-grid,
    .equipment-grid,
    .gallery-grid,
    .blog-grid,
    .form-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-auto-rows: 220px;
    }

    .gallery-large {
        grid-row: span 1;
    }

    .about-main,
    .training-intro,
    .quote-form {
        padding: 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
.gallery-item {
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: #071f3d;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background: linear-gradient(
        to top,
        rgba(3, 16, 31, 0.95),
        rgba(3, 16, 31, 0.1) 65%
    );
}

.gallery-overlay span {
    color: white;
    font-size: 1rem;
    font-weight: 800;
}

/* FORMULARIO FUNCIONAL */

.consent-group {
    margin-top: 4px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray);
    font-size: 0.88rem;
    cursor: pointer;
}

.consent-label input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--red);
}

#submit-button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.form-status {
    display: none;
    margin-top: 20px;
    padding: 15px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-status-success {
    display: block;
    border: 1px solid #9ed7b0;
    background-color: #eaf8ef;
    color: #176b35;
}

.form-status-error {
    display: block;
    border: 1px solid #efadb5;
    background-color: #fff0f2;
    color: #a00014;
}

/* ICONOS DE LAS TARJETAS DE EMERGENCIAS */

.equipment-icon {
    display: block;
    margin-bottom: 18px;
    font-size: 42px;
    line-height: 1;
}

.equipment-card p {
    margin-top: 12px;
    line-height: 1.7;
}


/* FRANJA NUESTRO EQUIPO DE RESPUESTA */

.response-team {
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    padding: 55px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(8, 24, 43, 0.98),
            rgba(15, 61, 94, 0.96)
        );
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(8, 24, 43, 0.25);
}

.response-team::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.response-team::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.response-team-heading {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin-bottom: 35px;
}

.response-team-heading > span {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 14px;
    color: #08182b;
    background: #ffffff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.response-team-heading h3 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.response-team-heading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.7;
}

.response-team-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.response-team-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 70px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.response-team-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.17);
}

.response-team-item span {
    flex-shrink: 0;
    font-size: 29px;
}

.response-team-item strong {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.4;
}


/* ADAPTACIÓN PARA CELULARES */

@media (max-width: 768px) {
    .response-team {
        margin-top: 50px;
        padding: 35px 22px;
        border-radius: 18px;
    }

    .response-team-grid {
        grid-template-columns: 1fr;
    }

    .response-team-heading h3 {
        font-size: 32px;
    }

    .response-team-item {
        min-height: 65px;
    }
}

/* SEGURIDAD Y SALUD EN EL TRABAJO */

.sst-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 45px;
}

.sst-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid rgba(15, 61, 94, 0.12);
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(8, 24, 43, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.sst-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        #0f3d5e,
        #e63946
    );
}

.sst-card:hover {
    transform: translateY(-7px);
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 22px 45px rgba(8, 24, 43, 0.14);
}

.sst-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    color: #ffffff;
    background: #0f3d5e;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
}

.sst-card h3 {
    margin: 0 0 16px;
    color: #08182b;
    font-size: 21px;
    line-height: 1.3;
}

.sst-card p {
    margin: 0;
    color: #5c6670;
    line-height: 1.7;
}

.sst-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sst-list li {
    position: relative;
    padding-left: 22px;
    color: #5c6670;
    line-height: 1.5;
}

.sst-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: #e63946;
    font-weight: 800;
}


/* TABLETS */

@media (max-width: 1000px) {
    .sst-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* CELULARES */

@media (max-width: 650px) {
    .sst-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 35px;
    }

    .sst-card {
        min-height: auto;
        padding: 27px 23px;
    }

    .sst-card h3 {
        font-size: 20px;
    }
}

/* =========================================================
   EQUIPAMIENTO PROFESIONAL
   ========================================================= */

.equipment-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.equipment-product-card {
    position: relative;
    padding: 34px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.equipment-product-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
}

.equipment-product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 34px;
}

.equipment-product-number {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.equipment-product-card h3 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.3;
}

.equipment-product-card ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.equipment-product-card li {
    position: relative;
    padding-left: 19px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

.equipment-product-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
}


/* =========================================================
   SERVICIOS COMPLEMENTARIOS
   ========================================================= */

.equipment-complementary {
    position: relative;
    margin-top: 70px;
    padding: 55px;
    background: #ffffff;
    border-radius: 24px;
}

.equipment-complementary-heading {
    max-width: 800px;
    margin-bottom: 40px;
}

.equipment-complementary-heading .section-label {
    color: #0f3d5e;
}

.equipment-complementary-heading h3 {
    margin: 12px 0 15px;
    color: #08182b;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.equipment-complementary-heading p {
    margin: 0;
    color: #5c6670;
    font-size: 16px;
    line-height: 1.7;
}

.equipment-complementary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.equipment-complementary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #f5f7f9;
    border: 1px solid rgba(15, 61, 94, 0.08);
    border-radius: 12px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.equipment-complementary-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(8, 24, 43, 0.08);
}

.equipment-complementary-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: #0f3d5e;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
}

.equipment-complementary-item p {
    margin: 0;
    color: #33404d;
    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 900px) {

    .equipment-products-grid {
        grid-template-columns: 1fr;
    }

    .equipment-complementary {
        padding: 40px 30px;
    }

}


/* =========================================================
   CELULARES
   ========================================================= */

@media (max-width: 600px) {

    .equipment-products-grid {
        gap: 18px;
        margin-top: 35px;
    }

    .equipment-product-card {
        padding: 27px 22px;
    }

    .equipment-product-card h3 {
        font-size: 20px;
    }

    .equipment-product-card ul {
        grid-template-columns: 1fr;
    }

    .equipment-complementary {
        margin-top: 50px;
        padding: 32px 20px;
        border-radius: 18px;
    }

    .equipment-complementary-grid {
        grid-template-columns: 1fr;
    }

    .equipment-complementary-heading h3 {
        font-size: 30px;
    }

}

/* --- ENLACE DE WHATSAPP EN CONTACTO --- */
.contacto-whatsapp {
    display: flex;
    align-items: center;
    gap: 10px; /* Separación entre el logo y el número */
    transition: opacity 0.3s ease;
}

.contacto-whatsapp:hover {
    opacity: 0.7; /* Da un efecto sutil al pasar el mouse */
}

/* =========================================================
   ANIMACIÓN DE IMÁGENES (GALERÍA)
   ========================================================= */
.animacion-galeria img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* La imagen de arriba es la que hace la animación */
.animacion-galeria .img-arriba {
    /* 8s en total: 4 segundos se ve la imagen 1, 4 segundos se ve la imagen 2 */
    animation: cambioDeImagen 8s infinite;
}

@keyframes cambioDeImagen {
    0%, 40% {
        opacity: 1; /* Durante los primeros 4 seg, la imagen de arriba es visible */
    }
    50%, 90% {
        opacity: 0; /* Durante los siguientes 4 seg, se vuelve invisible y deja ver la de abajo */
    }
    100% {
        opacity: 1; /* Vuelve a aparecer */
    }
}

/* =========================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================= */
.whatsapp-flotante {
    position: fixed; /* Esto es lo que hace que te siga al hacer scroll */
    bottom: 25px;    /* Distancia desde abajo */
    right: 25px;     /* Distancia desde la derecha */
    z-index: 1000;   /* Asegura que siempre esté por encima de las fotos y textos */
    transition: transform 0.3s ease;
}

.whatsapp-flotante img {
    width: 60px;     /* Tamaño del botón */
    height: 60px;
    border-radius: 50%; /* Hace que sea redondito */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3); /* Le da una sombra elegante */
    background-color: #25D366; /* Color verde oficial de WhatsApp por si la imagen es transparente */
}

/* Efecto cuando pasas el mouse por encima */
.whatsapp-flotante:hover {
    transform: scale(1.1); /* Se hace un poquito más grande */
}