:root {
    --black: #0a0a0a;
    --black-soft: #141414;
    --black-card: #1a1a1a;
    --white: #ffffff;
    --gray: #a3a3a3;
    --gray-dark: #2a2a2a;
    --yellow: #f5c400;
    --yellow-dark: #d4a800;
    --font: "Barlow", system-ui, sans-serif;
    --font-display: "Barlow Condensed", "Barlow", sans-serif;
    --header-h: 72px;
    --radius: 6px;
    --transition: 0.2s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--white);
    background: var(--black);
}

a {
    color: var(--yellow);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1100px, 92vw);
    margin-inline: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(10, 10, 10, 0.92);
    border-bottom: 1px solid var(--gray-dark);
    backdrop-filter: blur(8px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
    width: min(1100px, 92vw);
    margin-inline: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--white);
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover {
    color: var(--white);
    opacity: 0.92;
}

.logo__img {
    width: 52px;
    height: 52px;
    max-width: none;
    object-fit: contain;
    display: block;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.logo__img--footer {
    width: auto;
    height: 88px;
    max-width: 220px;
    border-radius: var(--radius);
}

.logo__text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    color: var(--gray);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nav a:hover,
.nav a.is-active {
    color: var(--yellow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--primary {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.btn--primary:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    color: var(--black);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--black);
}

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Pages — una sección visible a la vez */
.page {
    display: none;
}

.page.is-active {
    display: block;
}

.hero.page.is-active {
    display: flex;
    align-items: center;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(105deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.25) 100%);
    pointer-events: none;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
    transform: scale(1.03);
}

.hero__slide.is-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.8s ease-in-out, transform 8s ease-out;
}

.hero__bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--yellow);
    z-index: 3;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 4rem 0 5rem;
}

.hero__tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1.1rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--black);
    background: var(--yellow);
    border-radius: var(--radius);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    max-width: 14ch;
    margin-bottom: 1.25rem;
}

.hero__text {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.65;
    color: #ececec;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    max-width: 52ch;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section.page.is-active {
    min-height: 100vh;
    padding-top: calc(var(--header-h) + 3rem);
}

.section--services {
    position: relative;
    overflow: visible;
}

.section__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.section__bg--services {
    background-image:
        linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.35) 50%, rgba(10, 10, 10, 0.5) 100%),
        url("./img/fondo-servicios.jpg");
    filter: brightness(1.15) saturate(1.1);
}

.section--services .container {
    position: relative;
    z-index: 1;
    width: min(1360px, 97vw);
}

.section--about {
    position: relative;
    overflow: hidden;
    border-block: 1px solid var(--gray-dark);
}

.section__bg--about {
    background-image:
        linear-gradient(105deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.78) 42%, rgba(10, 10, 10, 0.5) 100%),
        url("./img/fondo-nosotros.jpg");
    filter: brightness(1.1) saturate(1.05);
}

.section--about .container {
    position: relative;
    z-index: 1;
}

.section--about .section__title {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.section--about .about__list li {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gray-dark);
    border-left: 3px solid var(--yellow);
}

.section--alt {
    background: var(--black-soft);
    border-block: 1px solid var(--gray-dark);
}

.section--contact {
    position: relative;
    overflow: hidden;
}

.section__bg--contact {
    background-image:
        linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.35) 50%, rgba(10, 10, 10, 0.5) 100%),
        url("./img/fondo-contacto.jpg");
    filter: brightness(1.15) saturate(1.1);
}

.section--contact .container {
    position: relative;
    z-index: 1;
}

.section--contact .contact__map {
    background: rgba(26, 26, 26, 0.78);
    backdrop-filter: blur(6px);
}

.section__head {
    text-align: center;
    margin-bottom: 3rem;
}

.section__head--left {
    text-align: left;
    margin-bottom: 2rem;
}

.section__label {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--yellow);
    margin-bottom: 0.65rem;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.section__desc {
    margin-top: 0.75rem;
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.65;
    max-width: 50ch;
    margin-inline: auto;
}

.section__head--left .section__desc {
    margin-inline: 0;
}

.section--services .section__desc,
.section--about .section__desc,
.section--contact .section__desc {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

/* Cards — servicios */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.section--services .cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: start;
}

.section--services .card {
    padding: 1.65rem 1.5rem;
    min-height: 11.5rem;
    overflow: hidden;
    z-index: 1;
}

.section--services .card:hover,
.section--services .card:focus-within {
    z-index: 5;
}

.section--services .card__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
    overflow: hidden;
    transition:
        max-height 0.45s ease,
        opacity 0.35s ease,
        margin-top 0.35s ease,
        padding-top 0.35s ease,
        border-color 0.35s ease;
}

.section--services .card__photo {
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4 / 3;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.35s ease;
}

.section--services .card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 0.5s ease;
}

@media (hover: hover) {
    .section--services .card--expandable:hover .card__gallery,
    .section--services .card--expandable:focus-within .card__gallery {
        max-height: 240px;
        opacity: 1;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top-color: rgba(255, 193, 7, 0.35);
    }

    .section--services .card--expandable:hover .card__photo,
    .section--services .card--expandable:focus-within .card__photo {
        transform: scale(1);
        opacity: 1;
    }

    .section--services .card--expandable:hover .card__photo img,
    .section--services .card--expandable:focus-within .card__photo img {
        transform: scale(1);
    }

    .section--services .card--expandable:hover .card__photo:nth-child(1),
    .section--services .card--expandable:focus-within .card__photo:nth-child(1) {
        transition-delay: 0.04s;
    }

    .section--services .card--expandable:hover .card__photo:nth-child(2),
    .section--services .card--expandable:focus-within .card__photo:nth-child(2) {
        transition-delay: 0.1s;
    }

    .section--services .card--expandable:hover .card__photo:nth-child(3),
    .section--services .card--expandable:focus-within .card__photo:nth-child(3) {
        transition-delay: 0.16s;
    }

    .section--services .card--expandable:hover .card__photo:nth-child(4),
    .section--services .card--expandable:focus-within .card__photo:nth-child(4) {
        transition-delay: 0.22s;
    }
}

.section--services .card h3 {
    font-size: 1.18rem;
    color: var(--white);
    line-height: 1.2;
}

.section--services .card p {
    font-size: 0.95rem;
    color: #e3e3e3;
    line-height: 1.55;
}

.section--services .card__icon {
    font-size: 2.25rem;
    margin-bottom: 1.1rem;
}

@media (max-width: 900px) {
    .section--services .cards {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .section--services .card {
        padding: 1.85rem;
        min-height: auto;
    }

    .section--services .card__gallery {
        max-height: none;
        opacity: 1;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top-color: rgba(255, 193, 7, 0.25);
    }

    .section--services .card__photo {
        transform: none;
        opacity: 1;
    }

    .section--services .card__photo img {
        transform: none;
    }

    .section--services .card h3 {
        font-size: 1.3rem;
    }

    .section--services .card p {
        font-size: 1rem;
        color: #ebebeb;
    }
}

.section--services .card {
    background: rgba(26, 26, 26, 0.78);
    backdrop-filter: blur(6px);
}

.card {
    padding: 1.75rem;
    background: var(--black-card);
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius);
    transition: border-color var(--transition), transform var(--transition);
}

.section--services .card:hover {
    transform: translateY(-2px);
}

.card:hover {
    border-color: var(--yellow);
    transform: translateY(-2px);
}

.card__icon {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 1rem;
    line-height: 1;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* About */
.about__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.about__intro {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    padding: 2rem;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gray-dark);
    border-left: 3px solid var(--yellow);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.about__intro p {
    color: #f2f2f2;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.75;
}

.about__intro p:first-child {
    font-size: 1.1rem;
    color: var(--white);
}

.about__text {
    color: var(--gray);
    font-size: 1.05rem;
}

.about__text strong {
    color: var(--white);
}

.about__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about__list li {
    padding: 1.15rem 1.35rem;
    background: var(--black-card);
    border-left: 3px solid var(--yellow);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.about__list strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
    color: var(--white);
}

.about__list span {
    color: #e8e8e8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Búsqueda — catálogo */
.catalog-search {
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.catalog-search__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--yellow);
    margin-bottom: 0.55rem;
}

.catalog-search__field {
    position: relative;
}

.catalog-search__input {
    width: 100%;
    padding: 0.95rem 3rem 0.95rem 1.1rem;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--white);
    background: var(--black-card);
    border: 2px solid var(--gray-dark);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.catalog-search__input::placeholder {
    color: var(--gray);
}

.catalog-search__input:hover {
    border-color: rgba(245, 196, 0, 0.45);
}

.catalog-search__input:focus {
    outline: none;
    border-color: var(--yellow);
}

.catalog-search__clear {
    position: absolute;
    top: 50%;
    right: 0.65rem;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--gray);
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
}

.catalog-search__clear:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.catalog-search__hint {
    margin-top: 0.55rem;
    font-size: 0.875rem;
    color: #c8c8c8;
}

/* Filtros — a la venta */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 720px;
    margin-inline: auto;
}

.filter-btn {
    padding: 0.85rem 1.5rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray);
    background: var(--black-card);
    border: 2px solid var(--gray-dark);
    border-radius: var(--radius);
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.filter-btn:hover {
    color: var(--white);
    border-color: var(--yellow);
}

.filter-btn.is-active {
    color: var(--black);
    background: var(--yellow);
    border-color: var(--yellow);
}

.subfilters:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 960px;
    margin: 1.25rem auto 0;
}

.subfilter-btn {
    padding: 0.55rem 1.15rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray);
    background: transparent;
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius);
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.subfilter-btn:hover {
    color: var(--white);
    border-color: var(--yellow);
}

.subfilter-btn.is-active {
    color: var(--yellow);
    border-color: var(--yellow);
    background: rgba(245, 196, 0, 0.08);
}

.catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 320px));
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.catalog__item {
    display: flex;
    flex-direction: column;
    background: var(--white);
    color: var(--black);
    border: 1px solid #d4d4d4;
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

.catalog__item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.catalog__item[hidden] {
    display: none;
}

.catalog__head {
    padding: 1.25rem 1.25rem 0.75rem;
}

.catalog__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    line-height: 1.2;
    color: var(--black);
}

.catalog__category {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

.catalog__year {
    margin-top: 0.15rem;
    font-size: 0.85rem;
    color: #666;
}

.catalog__units {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b8860b;
    letter-spacing: 0.02em;
}

.catalog__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    margin: 0.5rem 1rem;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: var(--radius);
}

.catalog__media img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.catalog__media.is-placeholder::before {
    content: "Foto no disponible";
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    line-height: 1.4;
}

.catalog__btn {
    display: block;
    width: calc(100% - 2.5rem);
    margin: 0.75rem 1.25rem 1.25rem;
    padding: 0.85rem 1rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--black);
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.catalog__btn:hover {
    background: var(--black);
    color: var(--white);
}

.catalog__empty {
    margin-top: 2rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Publicación de producto */
.product-pub {
    margin-top: 1rem;
}

.product-pub__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 2rem;
    padding: 0;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--yellow);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition);
}

.product-pub__back:hover {
    color: var(--white);
}

.product-pub__hero {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
    .product-pub__hero {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.product-pub__media-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-pub__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 2rem;
    background: var(--white);
    border: 1px solid #d4d4d4;
    border-radius: var(--radius);
}

.product-pub__media img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.product-pub__media.is-placeholder::before {
    content: "Sin foto disponible";
    font-size: 0.9rem;
    color: #888;
}

.product-pub__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-pub__thumb {
    flex: 0 0 calc(25% - 0.375rem);
    min-width: 4.5rem;
    padding: 0;
    border: 2px solid var(--gray-dark);
    border-radius: 4px;
    background: var(--black-card);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
}

.product-pub__thumb.is-active,
.product-pub__thumb:hover {
    border-color: var(--yellow);
}

.product-pub__thumb img {
    display: block;
    width: 100%;
    height: 4.5rem;
    object-fit: cover;
}

.product-pub__summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-pub__badge {
    display: inline-block;
    width: fit-content;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--black);
    background: var(--yellow);
    border-radius: var(--radius);
}

.product-pub__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

.product-pub__meta {
    color: var(--gray);
    font-size: 1rem;
}

.product-pub__price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--yellow);
}

.product-pub__desc {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

.product-pub__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.product-pub__body {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .product-pub__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-pub__block--full {
        grid-column: 1 / -1;
    }

    .product-pub__body:has(#productPubApplications.product-pub__block--pair) > .product-pub__block:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    #productPubApplications.product-pub__block--pair {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
    }

    .product-pub__body:has(#productPubApplications.product-pub__block--pair) > .product-pub__block:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .product-pub__body:has(#productPubApplications.product-pub__block--pair) > .product-pub__block:last-child {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

.product-pub__block {
    padding: 1.5rem;
    background: var(--black-card);
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius);
}

.product-pub__heading {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--yellow);
}

.product-pub__specs {
    display: grid;
    gap: 0.85rem;
}

.product-pub__specs div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--gray-dark);
}

.product-pub__specs dt {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray);
}

.product-pub__specs dd {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    text-align: right;
}

.product-pub__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.product-pub__features li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.product-pub__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background: var(--yellow);
    border-radius: 50%;
}

.product-pub__applications {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.5rem 1rem;
}

.product-pub__applications ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.5rem 1rem;
    margin: 0;
    padding: 0;
}

.product-pub__application-summary {
    margin: 0;
    color: var(--gray-light);
    line-height: 1.6;
}

.product-pub__application-summary p {
    margin: 0;
}

.product-pub__applications li {
    color: #d8d8d8;
    font-size: 0.9rem;
    line-height: 1.45;
    padding-left: 0.85rem;
    border-left: 2px solid rgba(245, 196, 0, 0.35);
}

.product-pub__application-groups {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    width: 100%;
}

.application-group {
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gray-dark);
    border-left: 3px solid var(--yellow);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.application-group__title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 0.45rem;
}

.application-group__models {
    color: #d0d0d0;
    font-size: 0.88rem;
    line-height: 1.55;
}

.product-pub__longdesc {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact */
.contact {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact {
        grid-template-columns: 1fr 1fr;
    }
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__block .contact__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin-bottom: 0.25rem;
}

.contact__block a,
.contact__block p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.contact__block a:hover {
    color: var(--yellow);
}

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact__map {
    padding: 2rem;
    background: var(--black-card);
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
}

.contact__about {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact__about p {
    color: #e8e8e8;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--gray-dark);
    background: var(--black);
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer__brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer__brand-text .logo__text {
    font-size: clamp(0.72rem, 2vw, 0.9rem);
    line-height: 1.35;
    max-width: 34ch;
}

.footer__brand p {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer__copy {
    color: var(--gray);
    font-size: 0.85rem;
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: var(--white);
}

/* Mobile nav */
@media (max-width: 768px) {
    .logo__text {
        font-size: 0.95rem;
    }

    .logo__img {
        width: 44px;
        height: 44px;
    }

    .logo__img--footer {
        width: auto;
        height: 72px;
        max-width: 180px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        background: var(--black);
        border-bottom: 1px solid var(--gray-dark);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav a {
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--gray-dark);
    }

    .nav-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
