:root {
    --ac-blue: #0072CE;
    --ac-blue-strong: #0033A1;
    --ac-blue-dark: #0F2D72;
    --ac-navy: #0F2D72;
    --ac-red: #EA0029;
    --ac-red-bright: #EA0029;
    --ac-ink: #262626;
    --ac-muted: rgba(38, 38, 38, 0.68);
    --ac-line: #D8D8D5;
    --ac-surface: rgba(216, 216, 213, 0.28);
    --ac-white: #FFFFFF;
    --shadow-sm: 0 12px 30px rgba(15, 45, 114, 0.08);
    --shadow-lg: 0 24px 70px rgba(15, 45, 114, 0.16);
    --radius-md: 16px;
    --radius-lg: 26px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ac-ink);
    background: var(--ac-white);
    font-family: 'Overpass', sans-serif;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    text-underline-offset: 0.2em;
}

a,
button,
input,
textarea {
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease,
                box-shadow 0.25s ease, transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(0, 114, 206, 0.35);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1100;
    padding: 0.75rem 1rem;
    color: var(--ac-white);
    background: var(--ac-red);
    border-radius: 8px;
    font-weight: 700;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.section-padding {
    padding: 7rem 0;
}

.text-ac-blue {
    color: var(--ac-blue-strong) !important;
}

.text-ac-red {
    color: var(--ac-red) !important;
}

.bg-ac-blue {
    background-color: var(--ac-blue-strong) !important;
}

.bg-ac-red {
    background-color: var(--ac-red) !important;
}

.bg-ac-gray {
    background-color: var(--ac-surface) !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 10px;
    font-weight: 700;
}

.btn-lg {
    min-height: 54px;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
}

.btn-ac-red {
    color: var(--ac-white);
    background: var(--ac-red);
    border: 1px solid var(--ac-red);
    box-shadow: 0 12px 24px rgba(234, 0, 41, 0.24);
}

.btn-ac-red:hover,
.btn-ac-red:focus {
    color: var(--ac-white);
    background: var(--ac-red);
    border-color: var(--ac-red);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(234, 0, 41, 0.3);
    filter: brightness(0.88);
}

.btn-ac-red:disabled {
    color: var(--ac-white);
    background: rgba(38, 38, 38, 0.62);
    border-color: rgba(38, 38, 38, 0.62);
}

.btn-ac-blue {
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    color: var(--ac-white);
    background: var(--ac-blue);
    border: 1px solid var(--ac-blue);
}

.btn-ac-blue:hover,
.btn-ac-blue:focus {
    color: var(--ac-white);
    background: var(--ac-blue-strong);
    border-color: var(--ac-blue-strong);
    transform: translateY(-2px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: var(--ac-blue-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow > span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--ac-red);
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.78);
}

.eyebrow-blue-line > span {
    background: var(--ac-blue-strong);
}

.section-title {
    max-width: 720px;
    margin: 0 0 1.4rem;
    color: var(--ac-ink);
    font-size: clamp(2.1rem, 4vw, 3.55rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-lead {
    margin-bottom: 1rem;
    color: rgba(38, 38, 38, 0.82);
    font-size: 1.18rem;
    line-height: 1.7;
}

/* Navegación */
.navbar {
    min-height: 84px;
    padding: 0.9rem 0;
    background: linear-gradient(to bottom, rgba(15, 45, 114, 0.78), rgba(15, 45, 114, 0));
    transition: min-height 0.3s ease, padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    min-height: 72px;
    padding: 0.55rem 0;
    background: var(--ac-blue);
    box-shadow: 0 8px 28px rgba(15, 45, 114, 0.18);
    backdrop-filter: blur(14px);
}

.navbar-brand {
    margin-right: 1.5rem;
}

.site-logo {
    display: block;
    width: 150px;
    height: auto;
}

.navbar .nav-link {
    position: relative;
    padding: 0.7rem 0.85rem !important;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 0.93rem;
    font-weight: 700;
}

.navbar .nav-link::after,
.navbar .btn-nav::after {
    content: '';
    position: absolute;
    right: 0.85rem;
    bottom: 0.4rem;
    left: 0.85rem;
    height: 2px;
    background: var(--ac-red-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--ac-white) !important;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after,
.navbar .btn-nav.active::after {
    transform: scaleX(1);
}

.btn-nav {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 1rem;
    color: var(--ac-white);
    background: var(--ac-red);
    border: 1px solid var(--ac-red);
    font-size: 0.88rem;
}

.btn-nav:hover,
.btn-nav:focus {
    color: var(--ac-white);
    background: var(--ac-red);
    border-color: var(--ac-red);
    transform: translateY(-1px);
    filter: brightness(0.88);
}

/* Hero */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(720px, 92svh, 940px);
    padding: 9rem 0 10rem;
    overflow: hidden;
    color: var(--ac-white);
    isolation: isolate;
}

.hero-slider,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slider {
    z-index: -3;
    background: var(--ac-navy);
}

.hero-slide {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1.045);
    transition: opacity 1.1s ease, transform 7s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide-1 {
    background-image: url('img/slider_1.webp');
}

.hero-slide-2 {
    background-image: url('img/slider_2.webp');
}

.hero-slide-3 {
    background-image: url('img/slider_3.webp');
}

.hero-slide-4 {
    background-image: url('img/slider_4.webp');
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(15, 45, 114, 0.97) 0%, rgba(15, 45, 114, 0.88) 38%, rgba(15, 45, 114, 0.42) 70%, rgba(15, 45, 114, 0.26) 100%),
        linear-gradient(0deg, rgba(15, 45, 114, 0.54), transparent 45%);
}

.hero-section::after {
    content: '';
    position: absolute;
    right: -14vw;
    bottom: -34vw;
    z-index: -1;
    width: 68vw;
    height: 68vw;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.025), 0 0 0 180px rgba(255, 255, 255, 0.018);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, black, transparent 62%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 780px;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.hero-copy.is-changing {
    opacity: 0;
    transform: translateY(10px);
}

.hero-copy h1 {
    max-width: 760px;
    margin: 0;
    color: var(--ac-white);
    font-size: clamp(3rem, 6.1vw, 5.9rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.hero-highlight {
    margin: 0.55rem 0 1.6rem;
    color: var(--ac-red-bright);
    font-size: clamp(1.75rem, 3.6vw, 3.55rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
}

.hero-description {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2.2rem;
}

.btn-hero-outline {
    color: var(--ac-white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-hero-outline:hover,
.btn-hero-outline:focus {
    color: var(--ac-white);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.hero-controls-wrap {
    position: absolute;
    right: 0;
    bottom: 84px;
    left: 0;
    z-index: 3;
}

.hero-controls {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 0.38rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(15, 45, 114, 0.48);
    backdrop-filter: blur(12px);
}

.hero-control {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--ac-white);
    background: transparent;
    border: 0;
    border-radius: 50%;
    place-items: center;
}

.hero-control:hover,
.hero-control:focus {
    color: var(--ac-white);
    background: rgba(255, 255, 255, 0.14);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 0.6rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: rgba(255, 255, 255, 0.42);
    border: 0;
    border-radius: 999px;
}

.hero-dot.active {
    width: 28px;
    background: var(--ac-red-bright);
}

/* Confianza */
.trust-strip {
    position: relative;
    z-index: 5;
    margin-top: -44px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 112px;
    overflow: hidden;
    background: var(--ac-white);
    border: 1px solid rgba(0, 51, 161, 0.07);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.35rem;
    color: rgba(38, 38, 38, 0.78);
    font-size: 0.94rem;
    font-weight: 700;
    text-align: left;
}

.trust-item + .trust-item {
    border-left: 1px solid var(--ac-line);
}

.trust-item strong {
    color: var(--ac-blue-strong);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.trust-item i {
    color: var(--ac-red);
    font-size: 2.5rem;
}

/* Respaldo */
.about-section {
    position: relative;
    padding-top: 9rem;
    background: var(--ac-white);
}

.about-media {
    position: relative;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    right: -0.8rem;
    bottom: 3.5rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 250px;
    padding: 1rem 1.15rem;
    color: var(--ac-white);
    background: var(--ac-navy);
    border-left: 4px solid var(--ac-red);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-badge i {
    color: var(--ac-red-bright);
    font-size: 1.7rem;
}

.about-badge span {
    font-size: 0.86rem;
    line-height: 1.4;
}

.about-badge strong {
    display: block;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--ac-line);
    border-radius: 14px;
    background: var(--ac-white);
}

.benefit-icon {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    color: var(--ac-red);
    background: rgba(234, 0, 41, 0.08);
    border-radius: 10px;
    place-items: center;
    font-size: 1.25rem;
}

.benefit-item h3 {
    margin: 0 0 0.2rem;
    color: var(--ac-ink);
    font-size: 1rem;
    font-weight: 800;
}

.benefit-item p {
    margin: 0;
    color: var(--ac-muted);
    font-size: 0.83rem;
    line-height: 1.45;
}

/* Productos */
.products-section {
    position: relative;
    background:
        radial-gradient(circle at 96% 0%, rgba(0, 114, 206, 0.09), transparent 24rem),
        var(--ac-surface);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.section-heading > p {
    max-width: 500px;
    margin: 0 0 0.35rem;
    color: var(--ac-muted);
    line-height: 1.65;
}

.product-grid > [class*="col-"] {
    position: relative;
}

.product-card {
    position: relative;
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    background: var(--ac-white);
    border: 1px solid rgba(0, 51, 161, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 28px rgba(15, 45, 114, 0.05);
    cursor: pointer;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    transition:
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease;
}

.product-card:focus-within {
    border-color: rgba(0, 114, 206, 0.22);
    transform: translate3d(0, -8px, 0) scale(1.006);
    box-shadow: var(--shadow-lg);
}

.product-media {
    position: relative;
    overflow: hidden;
    background: var(--ac-white);
}

.product-media::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 36%;
    background: linear-gradient(to top, rgba(15, 45, 114, 0.28), transparent);
    pointer-events: none;
}

.product-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    padding: 1rem 8%;
    object-fit: contain;
    transform: scale(1.21);
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:focus-within .product-media img {
    transform: scale(1.26445);
}

@media (hover: hover) and (pointer: fine) {
    .product-grid > [class*="col-"]:hover .product-card {
        border-color: rgba(0, 114, 206, 0.22);
        transform: translate3d(0, -8px, 0) scale(1.006);
        box-shadow: var(--shadow-lg);
    }

    .product-grid > [class*="col-"]:hover .product-media img {
        transform: scale(1.26445);
    }
}

.product-category {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    padding: 0.38rem 0.65rem;
    color: var(--ac-white);
    background: rgba(15, 45, 114, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 7px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.product-body {
    display: flex;
    flex: 1;
    padding: 1.5rem;
    flex-direction: column;
}

.product-body h3 {
    margin: 0 0 0.7rem;
    color: var(--ac-ink);
    font-size: 1.35rem;
    font-weight: 800;
}

.product-body p {
    margin-bottom: 1.35rem;
    color: var(--ac-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    margin-top: auto;
    padding: 0;
    color: var(--ac-blue-strong);
    background: transparent;
    border: 0;
    appearance: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
}

.product-link i {
    color: var(--ac-red);
    transition: transform 0.25s ease;
}

.product-link:hover {
    color: var(--ac-blue);
}

.product-link:focus-visible {
    outline: 3px solid rgba(0, 114, 206, 0.3);
    outline-offset: 5px;
    border-radius: 3px;
}

.product-link:hover i {
    transform: translate(3px, -3px);
}

.catalog-cta {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2.5rem 2.2rem 3rem;
    overflow: hidden;
    color: var(--ac-white);
    background: linear-gradient(120deg, var(--ac-navy), var(--ac-blue-dark));
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.catalog-cta::after {
    content: '';
    position: absolute;
    top: -90px;
    right: 15%;
    width: 180px;
    height: 260px;
    background: rgba(255, 255, 255, 0.04);
    transform: rotate(28deg);
}

.catalog-cta > * {
    position: relative;
    z-index: 1;
}

.catalog-cta strong {
    display: block;
}

.catalog-cta .eyebrow {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-cta strong {
    font-size: 1.2rem;
}

.catalog-cta-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.catalog-cta-description {
    max-width: 680px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.6;
}

.catalog-cta > .btn {
    flex: 0 0 auto;
}

.catalog-brands {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    gap: clamp(0.6rem, 2vw, 1.75rem);
    width: 100%;
    max-width: 620px;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.catalog-brands li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.catalog-brands img {
    display: block;
    width: 100%;
    max-width: 72px;
    height: clamp(28px, 4vw, 44px);
    object-fit: contain;
    opacity: 0.6;
}

.catalog-brands .catalog-brand-small {
    transform: scale(0.85);
}

/* Detalle de producto */
.product-modal {
    --bs-modal-width: 1180px;
}

.product-modal .modal-dialog {
    width: min(calc(100% - 2rem), var(--bs-modal-width));
    max-width: var(--bs-modal-width);
    margin-right: auto;
    margin-left: auto;
}

.product-modal .modal-content {
    overflow: hidden;
    background: var(--ac-white);
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(15, 45, 114, 0.28);
}

.product-modal .modal-header {
    align-items: flex-start;
    padding: 1.4rem 1.8rem;
    background: linear-gradient(110deg, var(--ac-navy), var(--ac-blue-dark));
    border-bottom: 0;
}

.product-modal-category {
    display: block;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-modal .modal-title {
    color: var(--ac-white);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.product-modal .btn-close {
    margin-top: 0.1rem;
    filter: invert(1) grayscale(1) brightness(2);
    opacity: 0.82;
}

.product-modal .btn-close:hover,
.product-modal .btn-close:focus {
    opacity: 1;
}

.product-modal .modal-body {
    padding: 2rem;
}

.product-gallery {
    outline: none;
}

.product-gallery:focus-visible .product-gallery-stage {
    box-shadow: 0 0 0 4px rgba(0, 114, 206, 0.22);
}

.product-gallery-stage {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: 360px;
    background: var(--ac-white);
    border: 1px solid rgba(0, 51, 161, 0.1);
    border-radius: var(--radius-md);
}

.product-gallery-stage > img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 520px;
    aspect-ratio: 4 / 3;
    padding: 1rem 8%;
    object-fit: contain;
}

.product-gallery-nav {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ac-white);
    background: rgba(15, 45, 114, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(15, 45, 114, 0.2);
    transform: translateY(-50%);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.product-gallery-nav:hover,
.product-gallery-nav:focus-visible {
    background: var(--ac-blue);
    transform: translateY(-50%) scale(1.06);
}

.product-gallery-prev {
    left: 1rem;
}

.product-gallery-next {
    right: 1rem;
}

.product-gallery-counter {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.35rem 0.65rem;
    color: var(--ac-white);
    background: rgba(15, 45, 114, 0.86);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.product-gallery.is-single .product-gallery-nav,
.product-gallery.is-single .product-gallery-counter,
.product-gallery.is-single .product-gallery-thumbs {
    display: none;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding: 0.2rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.product-gallery-thumb {
    flex: 0 0 86px;
    width: 86px;
    height: 66px;
    padding: 0.25rem;
    overflow: hidden;
    background: var(--ac-white);
    border: 2px solid transparent;
    border-radius: 10px;
    opacity: 0.68;
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb:focus-visible,
.product-gallery-thumb.active {
    border-color: var(--ac-blue);
    opacity: 1;
    transform: translateY(-2px);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-modal-copy {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.product-modal-intro {
    margin: 0 0 1.4rem;
    color: var(--ac-ink);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.7;
}

.product-modal-section {
    padding: 1.1rem 0;
    border-top: 1px solid var(--ac-line);
}

.product-modal-section h3 {
    margin: 0 0 0.65rem;
    color: var(--ac-navy);
    font-size: 1rem;
    font-weight: 800;
}

.product-modal-section p,
.product-modal-section li {
    color: var(--ac-muted);
    font-size: 0.91rem;
    line-height: 1.65;
}

.product-modal-section p:last-child,
.product-modal-section ul:last-child {
    margin-bottom: 0;
}

.product-modal-section ul {
    margin: 0;
    padding-left: 1.15rem;
}

.product-modal-section li + li {
    margin-top: 0.35rem;
}

.product-modal-section.is-advice {
    margin-top: 0.4rem;
    padding: 1rem;
    background: rgba(0, 114, 206, 0.08);
    border: 0;
    border-radius: 12px;
}

.product-modal-section.is-advice h3 {
    color: var(--ac-blue-strong);
}

.product-modal-contact {
    align-self: flex-start;
    margin-top: 1.4rem;
}

.modal-backdrop.show {
    background: var(--ac-navy);
    opacity: 0.72;
}

/* Contacto */
.contact-section {
    position: relative;
    overflow: hidden;
    background: var(--ac-white);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 4rem;
    left: -12rem;
    width: 24rem;
    height: 24rem;
    border: 55px solid rgba(234, 0, 41, 0.035);
    border-radius: 50%;
}

.contact-shell {
    position: relative;
    overflow: hidden;
    background: var(--ac-white);
    border: 1px solid rgba(0, 51, 161, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-intro {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4.5rem);
    overflow: hidden;
    color: var(--ac-white);
    background:
        radial-gradient(circle at 110% 10%, rgba(0, 114, 206, 0.75), transparent 42%),
        linear-gradient(145deg, var(--ac-navy), var(--ac-blue-dark));
}

.contact-intro::after {
    content: '';
    position: absolute;
    right: -5rem;
    bottom: -8rem;
    width: 18rem;
    height: 18rem;
    border: 34px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.contact-intro > * {
    position: relative;
    z-index: 1;
}

.contact-intro h2 {
    margin: 0 0 1.2rem;
    color: var(--ac-white);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.contact-intro > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.02rem;
    line-height: 1.7;
}

.contact-benefits {
    display: grid;
    gap: 1.15rem;
    margin-top: 2.5rem;
}

.contact-benefits > div {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.contact-benefits i {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    color: var(--ac-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    place-items: center;
    font-size: 1.1rem;
}

.contact-benefits span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.45;
}

.contact-benefits strong {
    color: var(--ac-white);
}

.contact-form-wrap {
    padding: clamp(2.5rem, 5vw, 4.5rem);
}

.form-heading {
    margin-bottom: 1.7rem;
}

.form-heading > .eyebrow {
    color: var(--ac-red);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-heading h3 {
    margin: 0.35rem 0 0;
    color: var(--ac-ink);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.form-label {
    margin-bottom: 0.45rem;
    color: rgba(38, 38, 38, 0.82);
    font-size: 0.8rem;
    font-weight: 800;
}

.form-control,
.form-select {
    min-height: 50px;
    padding: 0.8rem 0.95rem;
    color: var(--ac-ink);
    background: rgba(216, 216, 213, 0.22);
    border: 1px solid var(--ac-line);
    border-radius: 9px;
    font-size: 0.92rem;
}

.form-select {
    padding-right: 2.75rem;
    cursor: pointer;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus {
    color: var(--ac-ink);
    background: var(--ac-white);
    border-color: var(--ac-blue);
    box-shadow: 0 0 0 0.22rem rgba(0, 114, 206, 0.12);
}

.form-submit {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.25rem;
}

.form-submit .btn {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 0.75rem 1.3rem;
}

.form-submit p {
    max-width: 360px;
    margin: 0;
    color: rgba(38, 38, 38, 0.6);
    font-size: 0.72rem;
    line-height: 1.45;
}

.form-submit p a {
    color: var(--ac-blue-strong);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-submit p a:hover,
.form-submit p a:focus-visible {
    color: var(--ac-blue);
}

.contact-status {
    display: none;
    color: var(--ac-blue-strong);
    font-size: 0.84rem;
    font-weight: 700;
}

.contact-status.visible {
    display: block;
}

.contact-status.is-success {
    color: #14713d;
}

.contact-status.is-error {
    color: var(--ac-red);
}

/* Acceso flotante a WhatsApp */
.floating-whatsapp {
    --whatsapp-offset: 24px;
    --footer-overlap: 0px;
    position: fixed;
    right: 24px;
    bottom: calc(var(--whatsapp-offset) + var(--footer-overlap));
    z-index: 900;
    display: grid;
    width: 64px;
    height: 64px;
    color: var(--ac-white);
    background: var(--ac-blue);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(15, 45, 114, 0.3);
    place-items: center;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    color: var(--ac-white);
    background: var(--ac-blue-strong);
    border-color: var(--ac-white);
    box-shadow: 0 14px 34px rgba(15, 45, 114, 0.38);
    transform: translateY(-4px) scale(1.04);
}

.floating-whatsapp:active {
    transform: translateY(0) scale(0.96);
}

.floating-whatsapp img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Footer */
.site-footer {
    color: var(--ac-white);
    background: var(--ac-blue);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 2.6fr) minmax(140px, 0.7fr) auto;
    gap: 3rem;
    padding: 4.5rem 0 3rem;
}

.footer-brand p {
    max-width: 600px;
    margin: 1.2rem 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-main h2 {
    margin: 0 0 1.1rem;
    color: var(--ac-white);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-main ul {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-main a,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
    text-decoration: none;
}

.footer-main a:hover,
.footer-bottom a:hover {
    color: var(--ac-white);
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.footer-social {
    justify-self: end;
}

.social-links a {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--ac-white);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    place-items: center;
    line-height: 1;
}

.social-links .bi,
.social-links .bi::before {
    display: block;
    line-height: 1;
    vertical-align: 0;
}

.social-links a:hover {
    background: var(--ac-red);
    border-color: var(--ac-red);
    transform: translateY(-2px);
}

.footer-legal {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
    max-width: 980px;
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    line-height: 1.65;
}

.footer-legal a {
    color: var(--ac-white);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 3px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: var(--ac-white);
    text-decoration-color: var(--ac-white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
}

.footer-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* Entrada de secciones */
/* El contenido permanece visible aunque JavaScript falle o esté desactivado. */
.fade-in-scroll {
    opacity: 1;
    transform: none;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.08s;
}

.delay-200 {
    transition-delay: 0.16s;
}

.delay-300 {
    transition-delay: 0.24s;
}

.delay-400 {
    transition-delay: 0.32s;
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 72px;
        padding: 0.6rem 0;
        background: var(--ac-blue);
        backdrop-filter: blur(14px);
    }

    .navbar-collapse {
        margin-top: 0.7rem;
        padding: 0.8rem;
        background: var(--ac-blue-dark);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
    }

    .navbar .nav-link {
        padding: 0.75rem !important;
    }

    .navbar .nav-link::after,
    .navbar .btn-nav::after {
        right: 0.75rem;
        left: 0.75rem;
    }

    .btn-nav {
        width: 100%;
        margin-top: 0.35rem;
    }

    .hero-section {
        min-height: 820px;
        padding-top: 9rem;
    }

    .hero-section::before {
        background: linear-gradient(90deg, rgba(15, 45, 114, 0.95), rgba(15, 45, 114, 0.58));
    }

    .hero-copy h1 {
        max-width: 680px;
    }

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

    .trust-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--ac-line);
    }

    .trust-item:nth-child(4) {
        border-top: 1px solid var(--ac-line);
    }

    .about-media {
        max-width: 720px;
        margin: 0 auto;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 1rem;
    }

    .contact-intro {
        min-height: auto;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1.7fr) minmax(130px, 0.7fr) auto;
        gap: 2rem;
    }

    .footer-main > :last-child {
        grid-column: auto;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 5rem 0;
    }

    .site-logo {
        width: 132px;
    }

    .hero-section {
        align-items: flex-start;
        min-height: 790px;
        padding: 8.8rem 0 9.5rem;
    }

    .hero-section::before {
        background: linear-gradient(90deg, rgba(15, 45, 114, 0.96), rgba(15, 45, 114, 0.7));
    }

    .hero-slide-1,
    .hero-slide-2,
    .hero-slide-3,
    .hero-slide-4 {
        background-position: 62% center;
    }

    .hero-grid {
        background-size: 48px 48px;
    }

    .hero-copy h1 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }

    .hero-highlight {
        margin-top: 0.7rem;
        font-size: clamp(1.65rem, 7vw, 2.4rem);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 360px;
    }

    .hero-controls-wrap {
        bottom: 72px;
    }

    .trust-strip {
        margin-top: -32px;
    }

    .trust-grid {
        min-height: auto;
    }

    .trust-item {
        min-height: 92px;
        padding: 1rem;
        flex-direction: column;
        gap: 0.45rem;
        font-size: 0.76rem;
        text-align: center;
    }

    .trust-item strong {
        font-size: 1.6rem;
    }

    .about-section {
        padding-top: 7rem;
    }

    .about-image-wrap {
        height: 496px;
        overflow: hidden;
        border-radius: var(--radius-lg);
    }

    .about-image {
        /* Conserva el encuadre y recorta el 20% superior de los 620px originales. */
        transform: translateY(-20%);
    }

    .about-badge {
        right: -0.4rem;
        bottom: 2rem;
    }

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

    .catalog-cta {
        align-items: stretch;
        padding: 2rem 1.6rem 2.5rem;
        flex-direction: column;
    }

    .catalog-cta .btn {
        width: 100%;
    }

    .form-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .form-submit .btn {
        width: 100%;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-main > :last-child {
        grid-column: auto;
    }

    .footer-social {
        justify-self: end;
    }

    .floating-whatsapp {
        --whatsapp-offset: calc(16px + env(safe-area-inset-bottom));
        right: calc(16px + env(safe-area-inset-right));
        width: 56px;
        height: 56px;
    }

    .floating-whatsapp img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 575.98px) {
    .container {
        --bs-gutter-x: 2rem;
    }

    .hero-section {
        min-height: 760px;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .hero-controls {
        margin: 0 auto;
    }

    .trust-item:nth-child(even) {
        border-left: 1px solid var(--ac-line);
    }

    .about-badge {
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% - 1.5rem);
        max-width: none;
        margin: -1.5rem auto 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .product-body {
        padding: 1.3rem;
    }

    .product-modal .modal-dialog {
        width: calc(100% - 1rem);
        margin: 0.5rem auto;
    }

    .product-modal .modal-content {
        border-radius: 18px;
    }

    .product-modal .modal-header {
        padding: 1.15rem 1.2rem;
    }

    .product-modal .modal-body {
        padding: 1.2rem;
    }

    .product-gallery-stage {
        min-height: 250px;
    }

    .product-gallery-stage > img {
        max-height: 360px;
        padding: 0.6rem 8%;
    }

    .product-gallery-nav {
        width: 40px;
        height: 40px;
    }

    .product-gallery-prev {
        left: 0.65rem;
    }

    .product-gallery-next {
        right: 0.65rem;
    }

    .product-gallery-counter {
        right: 0.65rem;
        bottom: 0.65rem;
    }

    .product-gallery-thumb {
        flex-basis: 72px;
        width: 72px;
        height: 56px;
    }

    .product-modal-intro {
        margin-bottom: 0.9rem;
    }

    .product-modal-contact {
        width: 100%;
        justify-content: center;
    }

    .contact-intro,
    .contact-form-wrap {
        padding: 2rem 1.35rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-main > :last-child {
        grid-column: auto;
    }

    .footer-social {
        justify-self: start;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Imágenes del slider adaptadas a pantallas móviles. */
@media (max-width: 767.98px) {
    .hero-slide-1 { background-image: url('img/slider_1-mobile.webp'); }
    .hero-slide-2 { background-image: url('img/slider_2-mobile.webp'); }
    .hero-slide-3 { background-image: url('img/slider_3-mobile.webp'); }
    .hero-slide-4 { background-image: url('img/slider_4-mobile.webp'); }
}