/* =========================================================
   BRITÁNICA DE SEGURIDAD
   Hoja de estilos principal
   ========================================================= */


/* =========================================================
   01. VARIABLES
   ========================================================= */

:root {

    /* Colores institucionales */

    --color-primary: #132b63;
    --color-primary-dark: #091b42;
    --color-primary-light: #21458f;

    --color-red: #c3172c;
    --color-red-dark: #971323;
    --color-red-light: #e02a40;

    --color-white: #ffffff;
    --color-black: #111111;

    --color-text: #252a34;
    --color-text-light: #687080;

    --color-gray-50: #f8f9fb;
    --color-gray-100: #f1f3f6;
    --color-gray-200: #e3e6eb;
    --color-gray-300: #d2d6dd;

    /* Tipografía */

    --font-body: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Tamaños */

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.75rem;
    --text-5xl: 3.5rem;

    /* Layout */

    --container-width: 1200px;

    --section-padding: 100px;

    /* Bordes */

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Sombras */

    --shadow-sm:
        0 4px 12px rgba(9, 27, 66, 0.06);

    --shadow-md:
        0 10px 30px rgba(9, 27, 66, 0.10);

    --shadow-lg:
        0 20px 50px rgba(9, 27, 66, 0.15);

    /* Transiciones */

    --transition-fast:
        0.2s ease;

    --transition:
        0.35s ease;

    --transition-slow:
        0.6s ease;

}


/* =========================================================
   02. RESET
   ========================================================= */

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


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


body {

    font-family: var(--font-body);

    font-size: var(--text-base);

    line-height: 1.6;

    color: var(--color-text);

    background: var(--color-white);

    -webkit-font-smoothing: antialiased;

    text-rendering: optimizeLegibility;

}


body.menu-open {
    overflow: hidden;
}


img {

    display: block;

    max-width: 100%;

    height: auto;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
textarea,
select {

    font: inherit;

}


button {

    border: 0;

    cursor: pointer;

}


ul,
ol {

    list-style: none;

}


h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: var(--font-heading);

    line-height: 1.15;

    color: var(--color-primary-dark);

}


p {

    color: var(--color-text-light);

}


/* =========================================================
   03. CONTENEDOR
   ========================================================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--container-width)
    );

    margin-inline: auto;

}


/* =========================================================
   04. SECCIONES
   ========================================================= */

.section {

    padding: var(--section-padding) 0;

    position: relative;

}


.section--light {

    background: var(--color-gray-50);

}


.section--dark {

    background: var(--color-primary-dark);

}


/* =========================================================
   05. ENCABEZADOS DE SECCIÓN
   ========================================================= */

.section-heading {

    max-width: 720px;

    margin-bottom: 55px;

}


.section-heading--center {

    margin-inline: auto;

    text-align: center;

}


.section-heading__eyebrow,
.section-heading > span {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--color-red);

    font-size: var(--text-sm);

    font-weight: 700;

    letter-spacing: 0.12em;

}


.section-heading h2 {

    font-size: clamp(
        2rem,
        4vw,
        3.2rem
    );

    margin-bottom: 18px;

}


.section-heading p {

    max-width: 650px;

    font-size: var(--text-lg);

}


/* =========================================================
   06. BOTONES
   ========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 0 26px;

    border-radius: 6px;

    font-size: var(--text-sm);

    font-weight: 700;

    white-space: nowrap;

    transition:
        transform var(--transition-fast),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

}


.btn:hover {

    transform: translateY(-2px);

}


.btn--primary {

    color: var(--color-white);

    background: var(--color-red);

    box-shadow:
        0 8px 20px rgba(195, 23, 44, 0.22);

}


.btn--primary:hover {

    background: var(--color-red-dark);

    box-shadow:
        0 12px 28px rgba(195, 23, 44, 0.28);

}


.btn--light {

    color: var(--color-white);

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

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);

}


.btn--light:hover {

    color: var(--color-primary-dark);

    background: var(--color-white);

    border-color: var(--color-white);

}


/* =========================================================
   07. FOCUS / ACCESIBILIDAD
   ========================================================= */

:focus-visible {

    outline: 3px solid rgba(195, 23, 44, 0.45);

    outline-offset: 4px;

}


::selection {

    color: var(--color-white);

    background: var(--color-red);

}


/* =========================================================
   08. UTILIDADES
   ========================================================= */

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


.hidden {
    display: none !important;
}


.no-scroll {
    overflow: hidden;
}

/* =========================================================
   09. TOPBAR
   ========================================================= */

.topbar {

    position: relative;

    z-index: 100;

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

    background: var(--color-primary-dark);

    font-size: var(--text-xs);

}


.topbar__content {

    min-height: 38px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.topbar__contact {

    display: flex;

    align-items: center;

    gap: 25px;

}


.topbar a {

    transition: color var(--transition-fast);

}


.topbar a:hover {

    color: var(--color-white);

}


.topbar__location {

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

}


/* =========================================================
   10. HEADER / NAVBAR
   ========================================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 999;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid rgba(9, 27, 66, 0.08);

    backdrop-filter: blur(14px);

}


.navbar {

    width: 100%;

}


.navbar__content {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.navbar__logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}


.navbar__logo img {

    width: 180px;

    height: auto;

}


.navbar__menu {

    display: flex;

    align-items: center;

    gap: 28px;

    margin-left: auto;

}


.navbar__menu ul {

    display: flex;

    align-items: center;

    gap: 26px;

}


.navbar__menu li a {

    position: relative;

    color: var(--color-primary-dark);

    font-size: var(--text-sm);

    font-weight: 600;

    transition: color var(--transition-fast);

}


.navbar__menu li a::after {

    content: '';

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 2px;

    background: var(--color-red);

    transition: width var(--transition);

}


.navbar__menu li a:hover {

    color: var(--color-red);

}


.navbar__menu li a:hover::after {

    width: 100%;

}


.navbar__cta {

    min-height: 44px;

    padding-inline: 20px;

}


.navbar__toggle {

    display: none;

    width: 44px;

    height: 44px;

    padding: 10px;

    background: transparent;

}


.navbar__toggle span {

    display: block;

    width: 100%;

    height: 2px;

    margin: 5px 0;

    background: var(--color-primary-dark);

    transition: transform var(--transition),
                opacity var(--transition);

}


/* =========================================================
   11. HERO
   ========================================================= */

.hero {

    position: relative;

    min-height: calc(100vh - 120px);

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--color-primary-dark);

}


.hero__slider {

    position: absolute;

    inset: 0;

    z-index: 0;

}


.hero__slide {

    position: absolute;

    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 1s ease,
        visibility 1s ease;

}


.hero__slide--active {

    opacity: 1;

    visibility: visible;

}


.hero__slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transform: scale(1.03);

    transition: transform 6s ease;

}


.hero__slide--active img {

    transform: scale(1);

}


/* =========================================================
   12. HERO OVERLAY
   ========================================================= */

.hero__overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:

        linear-gradient(
            90deg,
            rgba(5, 18, 45, 0.94) 0%,
            rgba(9, 27, 66, 0.78) 40%,
            rgba(9, 27, 66, 0.30) 75%,
            rgba(9, 27, 66, 0.15) 100%
        );

}


.hero__overlay::after {

    content: '';

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 75% 50%,
            rgba(195, 23, 44, 0.18),
            transparent 32%
        );

}


/* =========================================================
   13. HERO CONTENIDO
   ========================================================= */

.hero__content {

    position: relative;

    z-index: 2;

    width: 100%;

    padding-top: 40px;

    padding-bottom: 80px;

}


.hero__text {

    max-width: 700px;

}


.hero__eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

    color: var(--color-white);

    font-size: var(--text-sm);

    font-weight: 700;

    letter-spacing: 0.14em;

}


.hero__eyebrow::before {

    content: '';

    width: 38px;

    height: 2px;

    background: var(--color-red);

}


.hero h1 {

    max-width: 750px;

    margin-bottom: 25px;

    color: var(--color-white);

    font-size: clamp(
        2.8rem,
        6vw,
        5.2rem
    );

    font-weight: 800;

    letter-spacing: -0.035em;

}


.hero p {

    max-width: 620px;

    margin-bottom: 35px;

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

    font-size: clamp(
        1rem,
        2vw,
        1.2rem
    );

    line-height: 1.8;

}


.hero__actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 14px;

}


/* =========================================================
   14. CONTROLES DEL CARRUSEL
   ========================================================= */

.hero__controls {

    position: absolute;

    z-index: 3;

    left: 50%;

    bottom: 35px;

    display: flex;

    align-items: center;

    gap: 8px;

    transform: translateX(-50%);

}


.hero__dot {

    width: 30px;

    height: 3px;

    padding: 0;

    background: rgba(255, 255, 255, 0.35);

    transition:
        width var(--transition),
        background var(--transition);

}


.hero__dot--active {

    width: 55px;

    background: var(--color-white);

}


/* =========================================================
   15. INDICADOR SCROLL
   ========================================================= */

.hero__scroll {

    position: absolute;

    z-index: 3;

    right: 35px;

    bottom: 30px;

    width: 26px;

    height: 42px;

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

    border-radius: 20px;

}


.hero__scroll span {

    position: absolute;

    top: 8px;

    left: 50%;

    width: 4px;

    height: 7px;

    border-radius: 4px;

    background: var(--color-white);

    transform: translateX(-50%);

    animation:
        scrollIndicator 1.8s infinite;

}


@keyframes scrollIndicator {

    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 15px);
    }

}

/* =========================================================
   16. NOSOTROS
   ========================================================= */

.section--about {

    background: var(--color-white);

}


.about {

    display: grid;

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

    gap: 80px;

    align-items: center;

}


.about__image {

    position: relative;

    min-height: 520px;

    overflow: hidden;

    border-radius: var(--radius-lg);

}


.about__image::after {

    content: '';

    position: absolute;

    right: -1px;

    bottom: -1px;

    width: 120px;

    height: 120px;

    background: var(--color-red);

    clip-path: polygon(
        100% 0,
        100% 100%,
        0 100%
    );

}


.about__image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.about__content {

    max-width: 600px;

}


.about__lead {

    margin-bottom: 20px;

    color: var(--color-primary-dark);

    font-size: 1.25rem;

    font-weight: 500;

    line-height: 1.7;

}


.about__content > p:not(.about__lead) {

    margin-bottom: 30px;

}


.about__features {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

}


.about__features div {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 18px;

    border-left: 3px solid var(--color-red);

    background: var(--color-gray-50);

}


.about__features strong {

    color: var(--color-red);

    font-family: var(--font-heading);

    font-size: var(--text-sm);

}


.about__features span {

    color: var(--color-primary-dark);

    font-size: var(--text-sm);

    font-weight: 600;

}


/* =========================================================
   17. SERVICIOS
   ========================================================= */

.section--services {

    background: var(--color-gray-50);

}


.services-grid {

    display: grid;

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

    gap: 22px;

}


.service-card {

    position: relative;

    min-height: 280px;

    padding: 32px;

    overflow: hidden;

    border: 1px solid var(--color-gray-200);

    border-radius: var(--radius-md);

    background: var(--color-white);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);

}


.service-card::before {

    content: '';

    position: absolute;

    left: 0;

    top: 0;

    width: 4px;

    height: 0;

    background: var(--color-red);

    transition: height var(--transition);

}


.service-card:hover {

    transform: translateY(-8px);

    border-color: transparent;

    box-shadow: var(--shadow-md);

}


.service-card:hover::before {

    height: 100%;

}


.service-card__icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 52px;

    height: 52px;

    margin-bottom: 25px;

    border-radius: 50%;

    color: var(--color-red);

    background: rgba(195, 23, 44, 0.08);

    font-family: var(--font-heading);

    font-size: var(--text-sm);

    font-weight: 800;

}


.service-card h3 {

    margin-bottom: 12px;

    font-size: 1.25rem;

}


.service-card p {

    font-size: var(--text-sm);

    line-height: 1.75;

}


/* =========================================================
   18. TECNOLOGÍA
   ========================================================= */

.section--technology {

    position: relative;

    overflow: hidden;

    color: var(--color-white);

    background: var(--color-primary-dark);

}


.section--technology::before {

    content: '';

    position: absolute;

    right: -200px;

    top: -200px;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    background:
        rgba(195, 23, 44, 0.12);

}


.technology {

    position: relative;

    z-index: 1;

    display: grid;

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

    gap: 100px;

    align-items: center;

}


.technology__image {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 300px;

    padding: 50px;

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

    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.04);

}


.technology__image img {

    width: min(100%, 280px);

}


.technology__content {

    max-width: 650px;

}


.technology__content .section-heading__eyebrow {

    color: var(--color-red-light);

}


.technology__content h2 {

    margin-bottom: 22px;

    color: var(--color-white);

    font-size: clamp(
        2rem,
        4vw,
        3.2rem
    );

}


.technology__content p {

    margin-bottom: 18px;

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

}


.technology__content .btn {

    margin-top: 15px;

}


/* =========================================================
   19. SECTORES
   ========================================================= */

.section--sectors {

    background: var(--color-white);

}


.sectors-grid {

    display: grid;

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

    gap: 20px;

}


.sector-card {

    position: relative;

    min-height: 360px;

    overflow: hidden;

    border-radius: var(--radius-md);

    background: var(--color-primary-dark);

}


.sector-card img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform var(--transition-slow);

}


.sector-card::after {

    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(5, 18, 45, 0.95),
            rgba(5, 18, 45, 0.10)
        );

}


.sector-card:hover img {

    transform: scale(1.08);

}


.sector-card__content {

    position: absolute;

    z-index: 2;

    left: 25px;

    right: 25px;

    bottom: 25px;

}


.sector-card h3 {

    margin-bottom: 8px;

    color: var(--color-white);

    font-size: 1.25rem;

}


.sector-card p {

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

    font-size: var(--text-sm);

}


/* =========================================================
   20. CONTACTO
   ========================================================= */

.section--contact {

    background: var(--color-gray-50);

}


.contact {

    display: grid;

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

    gap: 80px;

    align-items: start;

}


.contact__content {

    padding-top: 20px;

}


.contact__content h2 {

    max-width: 550px;

    margin-bottom: 20px;

    font-size: clamp(
        2rem,
        4vw,
        3.1rem
    );

}


.contact__content > p {

    max-width: 550px;

    margin-bottom: 35px;

}


.contact__details {

    display: grid;

    gap: 20px;

}


.contact__details div {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.contact__details strong {

    color: var(--color-primary-dark);

    font-size: var(--text-sm);

}


.contact__details a,
.contact__details span {

    color: var(--color-text-light);

    font-size: var(--text-sm);

}


.contact__details a:hover {

    color: var(--color-red);

}


/* =========================================================
   21. FORMULARIO
   ========================================================= */

.contact__form {

    padding: 40px;

    border-radius: var(--radius-lg);

    background: var(--color-white);

    box-shadow: var(--shadow-md);

}


.contact__form form {

    display: grid;

    gap: 20px;

}


.form-group {

    display: grid;

    gap: 7px;

}


.form-group label {

    color: var(--color-primary-dark);

    font-size: var(--text-sm);

    font-weight: 600;

}


.form-group input,
.form-group textarea {

    width: 100%;

    padding: 13px 15px;

    border: 1px solid var(--color-gray-300);

    border-radius: var(--radius-sm);

    color: var(--color-text);

    background: var(--color-white);

    outline: none;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);

}


.form-group textarea {

    resize: vertical;

    min-height: 130px;

}


.form-group input:focus,
.form-group textarea:focus {

    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px rgba(19, 43, 99, 0.10);

}


.contact__form .btn {

    width: 100%;

    margin-top: 5px;

}

/* =========================================================
   22. FOOTER
   ========================================================= */

.footer {

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

    background: #071735;

}


.footer__main {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr;

    gap: 60px;

    padding: 70px 0 50px;

}


.footer__brand {

    max-width: 360px;

}


.footer__brand img {

    width: 200px;

    margin-bottom: 20px;

}


.footer__brand p {

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

    font-size: var(--text-sm);

}


.footer__column h3 {

    margin-bottom: 20px;

    color: var(--color-white);

    font-size: var(--text-base);

}


.footer__column ul {

    display: grid;

    gap: 10px;

}


.footer__column li,
.footer__column a {

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

    font-size: var(--text-sm);

    transition: color var(--transition-fast);

}


.footer__column a:hover {

    color: var(--color-white);

}


.footer__bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 22px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);

}


.footer__bottom p,
.footer__bottom a {

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

    font-size: var(--text-xs);

}


.footer__bottom a:hover {

    color: var(--color-white);

}


/* =========================================================
   23. TABLET
   ========================================================= */

@media (max-width: 1050px) {

    :root {

        --section-padding: 80px;

    }


    .navbar__menu {

        gap: 18px;

    }


    .navbar__menu ul {

        gap: 18px;

    }


    .navbar__cta {

        padding-inline: 16px;

    }


    .about {

        gap: 50px;

    }


    .technology {

        gap: 60px;

    }


    .sectors-grid {

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

    }

}


/* =========================================================
   24. MENÚ TABLET / MÓVIL
   ========================================================= */

@media (max-width: 900px) {

    .topbar__content {

        justify-content: center;

    }


    .topbar__location {

        display: none;

    }


    .navbar__toggle {

        display: block;

    }


    .navbar__menu {

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        padding: 25px 20px 30px;

        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        background: var(--color-white);

        border-top:
            1px solid var(--color-gray-200);

        box-shadow: var(--shadow-md);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);

    }


    .navbar__menu--open {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

    }


    .navbar__menu ul {

        flex-direction: column;

        align-items: stretch;

        gap: 0;

    }


    .navbar__menu li {

        border-bottom:
            1px solid var(--color-gray-200);

    }


    .navbar__menu li a {

        display: block;

        padding: 13px 0;

    }


    .navbar__menu li a::after {

        display: none;

    }


    .navbar__cta {

        width: 100%;

    }


    .about,
    .technology,
    .contact {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .about__image {

        min-height: 450px;

    }


    .technology__image {

        order: 2;

    }


    .technology__content {

        order: 1;

    }


    .services-grid {

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

    }


    .footer__main {

        grid-template-columns:
            1.5fr 1fr;

    }

}


/* =========================================================
   25. MÓVILES
   ========================================================= */

@media (max-width: 650px) {

    :root {

        --section-padding: 65px;

    }


    .container {

        width: min(
            calc(100% - 30px),
            var(--container-width)
        );

    }


    .topbar {

        display: none;

    }


    .navbar__content {

        min-height: 72px;

    }


    .navbar__logo img {

        width: 150px;

    }


    .hero {

        min-height: calc(100vh - 72px);

    }


    .hero__overlay {

        background:

            linear-gradient(
                90deg,
                rgba(5, 18, 45, 0.92),
                rgba(9, 27, 66, 0.72)
            );

    }


    .hero__content {

        padding-top: 30px;

        padding-bottom: 80px;

    }


    .hero h1 {

        font-size: clamp(
            2.35rem,
            12vw,
            3.5rem
        );

    }


    .hero p {

        font-size: 1rem;

        line-height: 1.7;

    }


    .hero__actions {

        flex-direction: column;

        align-items: stretch;

    }


    .hero__actions .btn {

        width: 100%;

    }


    .hero__scroll {

        display: none;

    }


    .hero__controls {

        bottom: 25px;

    }


    .section-heading {

        margin-bottom: 35px;

    }


    .section-heading h2 {

        font-size: 2rem;

    }


    .about__image {

        min-height: 360px;

    }


    .about__features {

        grid-template-columns: 1fr;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .service-card {

        min-height: auto;

    }


    .technology__image {

        min-height: 230px;

        padding: 30px;

    }


    .sectors-grid {

        grid-template-columns: 1fr;

    }


    .sector-card {

        min-height: 320px;

    }


    .contact {

        gap: 35px;

    }


    .contact__form {

        padding: 25px 20px;

    }


    .footer__main {

        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px 0 35px;

    }


    .footer__bottom {

        flex-direction: column;

        align-items: flex-start;

    }

}


/* =========================================================
   26. MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 400px) {

    .hero h1 {

        font-size: 2.15rem;

    }


    .hero__eyebrow {

        font-size: 0.7rem;

    }


    .btn {

        padding-inline: 18px;

    }


    .service-card {

        padding: 25px;

    }

}


/* =========================================================
   27. REDUCCIÓN DE MOVIMIENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;

    }

}

/* =========================================================
   28. MAIL CONTACTO
   ========================================================= */

.form-group--hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-message--success {
    border: 1px solid #b7dec5;
    background: #edf8f1;
    color: #176b38;
}

.form-message--error {
    border: 1px solid #e5b8b8;
    background: #fdf0f0;
    color: #8a1f1f;
}