* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #080b0e;
    color: #fff;
}

main {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    padding: 60px clamp(24px, 6vw, 88px) 12px;
    background: #080b0e;
}

main::before,
main::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

main::before {
    z-index: -2;
    background: url("Fotos/fondo.webp") 50% 58% / cover no-repeat;
    transform: scale(1.14);
    transform-origin: 50% 58%;
}

main::after {
    z-index: -1;
    background:
        radial-gradient(ellipse 36% 43% at 50% 46%,
            rgb(0 4 7 / 88%) 0%,
            rgb(0 4 7 / 72%) 40%,
            rgb(0 4 7 / 28%) 76%,
            transparent 100%),
        radial-gradient(ellipse at center, transparent 45%, rgb(0 0 0 / 32%) 100%),
        linear-gradient(rgb(0 0 0 / 24%), rgb(0 0 0 / 24%));
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    isolation: isolate;
    display: flex;
    width: 100%;
    min-height: 72px;
    padding: 12px max(clamp(24px, 6vw, 88px), calc((100% - 1440px) / 2));
    padding-left: clamp(16px, 2vw, 32px);
    align-items: center;
    justify-content: space-between;
}

.site-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: rgb(5 8 11 / 60%);
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.brand {
    position: relative;
    display: block;
    width: clamp(180px, 24vw, 300px);
    height: 40px;
    overflow: hidden;
}

.brand img {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(-50%);
}

.products-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 1px solid rgb(255 255 255 / 70%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.products-button:hover,
.products-button:focus-visible {
    background: #fff;
    color: #080b0e;
}

.hero-brand {
    display: flex;
    width: 100%;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 0 126px;
    text-align: center;
}

.brand-logo-crop {
    width: min(64vw, 800px);
    aspect-ratio: 2172 / 625;
    overflow: hidden;
    filter: drop-shadow(0 3px 24px rgb(0 0 0 / 65%));
}

.brand-logo {
    display: block;
    width: 100%;
    height: auto;
}

.hero-divider {
    width: 76px;
    height: 1px;
    margin: 28px 0 22px;
    background: rgb(255 255 255 / 65%);
}

.hero-tagline {
    margin: 0;
    color: rgb(255 255 255 / 88%);
    font-size: clamp(11px, 1.05vw, 18px);
    line-height: 1.8;
    letter-spacing: .4em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px #000;
}

.products-section {
    min-height: 55vh;
    min-height: 55svh;
    padding: 80px 24px;
    background: #101113;
    scroll-margin-top: 72px;
    text-align: left;
}

.products-content {
    width: min(100%, 1200px);
    margin: 0 auto 52px;
    text-align: center;
}

.section-eyebrow {
    margin: 0 0 12px;
    color: #AA7C11;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.products-section h2 {
    margin: 0;
    font-size: clamp(36px, 6vw, 64px);
    letter-spacing: -.04em;
}

.products-section p:last-child {
    margin: 18px 0 0;
    color: rgb(255 255 255 / 72%);
    font-size: 16px;
    line-height: 1.7;
}

.products-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(72px, 9vw, 128px);
    width: min(100%, 1200px);
    margin: 0 auto;
}

.product-card {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 8vw, 112px);
    min-width: 0;
    text-align: left;
}

.product-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}

.product-card:nth-child(even) .product-image {
    grid-column: 2;
    grid-row: 1;
}

.product-card:nth-child(even) .product-info {
    grid-column: 1;
}

.product-image {
    display: block;
    width: min(100%, 620px);
    height: auto;
    object-fit: contain;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    justify-self: center;
}

.product-card .product-info {
    grid-column: 2;
}

.product-info {
    align-self: center;
}
#products-title{
    font-size: 45px;
}

.product-card h3 {
    margin: 0;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.3;
    font-weight: 700;
}

.products-section .product-card p {
    margin: 8px 0 0;
    color: #bfc0c3;
    font-size: 16px;
    line-height: 1.5;
}

.product-details-link {
    display: inline-flex;
    margin-top: 14px;
    padding: 7px 14px;
    border: 1px solid #AA7C11;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 160ms ease, color 160ms ease;
}

.product-details-link:hover,
.product-details-link:focus-visible {
    background: #AA7C11;
    color: #080b0e;
}

.product-card h4 {
    margin: 8px 0 0;
    color: #AA7C11;
    font-size: 20px;
    line-height: 1.3;
}

.site-footer {
    padding: 44px 24px 28px;
    border-top: 1px solid rgb(255 255 255 / 12%);
    background: #080b0e;
    text-align: center;
}

.footer-logo {
    display: block;
    width: min(180px, 55vw);
    height: auto;
    margin: 0;
}

.footer-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 26px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    transition: color 160ms ease;
}

.email-icon {
    width: 18px;
    height: 18px;
    fill: none;
    color: #AA7C11;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: #AA7C11;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 30px;
    margin-bottom: 26px;
}

.footer-links a,
.footer-credit a {
    color: #fff;
    text-decoration: none;
    transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-credit a:hover,
.footer-credit a:focus-visible {
    color: #AA7C11;
}

.footer-social {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-social a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    border-color: #AA7C11;
    background: #AA7C11;
    color: #080b0e;
}

.site-footer p {
    margin: 5px 0;
    color: #bfc0c3;
    font-size: 13px;
}

.site-footer .footer-credit {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgb(255 255 255 / 10%);
    font-size: 12px;
}

.footer-credit a {
    margin-left: 4px;
}

@media (min-width: 900px) {
    .products-grid {
        max-width: 1200px;
    }
}

@media (max-width: 520px) {
    .site-header {
        min-height: 68px;
        padding: 10px 20px 10px 12px;
    }

    .products-section {
        scroll-margin-top: 68px;
        padding: 56px 20px 24px;
    }

    .products-content {
        margin-bottom: 40px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 12px;
    }

    .product-card {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        gap: 16px;
    }

    .product-image {
        width: min(100%, 380px);
        padding: 8px;
    }

    .product-card h3 {
        font-size: 16px;
    }

    .product-card p {
        font-size: 13px;
        line-height: 1.5;
    }

    .product-card h4 {
        font-size: 16px;
    }

    .product-image {
        padding: 8px;
    }

    main {
        padding: 58px 20px 10px;
    }

    main::before {
        transform: scale(1.06);
    }

    main::after {
        background:
            radial-gradient(ellipse 72% 36% at 50% 46%, rgb(0 4 7 / 85%), transparent 100%),
            linear-gradient(rgb(0 0 0 / 32%), rgb(0 0 0 / 32%));
    }

    .brand {
        width: min(48vw, 200px);
        height: 34px;
    }

    .products-button {
        min-height: 40px;
        padding: 0 12px;
        font-size: 10px;
    }

    .brand-logo-crop {
        width: 88%;
    }

    .hero-brand {
        padding: 56px 0 112px;
    }

    .hero-tagline {
        font-size: 10px;
        letter-spacing: .2em;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .products-button {
        transition: none;
    }
}
