/* AirBag Pro — página Servicios (moderna, con galería de productos) */

.servicios-page {
    padding-bottom: 5rem;
}

.servicios-hero {
    position: relative;
    padding: 5.5rem 0 3.5rem;
    background: linear-gradient(165deg, #050505 0%, #0f0f0f 45%, #121212 100%);
    border-bottom: 1px solid #252525;
    overflow: hidden;
}

.servicios-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 70% 0%, rgba(254, 238, 58, 0.08), transparent 55%);
    pointer-events: none;
}

.servicios-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
}

.servicios-hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #feee3a;
    margin-bottom: 1rem;
}

.servicios-hero__title {
    font-size: clamp(1.85rem, 4.5vw, 2.65rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.servicios-hero__title span {
    color: #feee3a;
}

.servicios-hero__lead {
    font-size: 1.05rem;
    color: #a8a8a8;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.servicios-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.servicios-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.servicios-hero__btn--primary {
    background: #feee3a;
    color: #000;
    border: none;
}

.servicios-hero__btn--primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(254, 238, 58, 0.25);
}

.servicios-hero__btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid #3a3a3a;
}

.servicios-hero__btn--ghost:hover {
    border-color: #feee3a;
    color: #feee3a;
}

/* Galería productos */
.servicios-gallery-wrap {
    padding: 3rem 0 2rem;
    background: #0a0a0a;
}

.servicios-gallery-wrap .container {
    max-width: 1100px;
}

.servicios-gallery__label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 1.25rem;
    text-align: center;
}

.servicios-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

@media (min-width: 900px) {
    .servicios-gallery {
        grid-template-columns: repeat(6, 1fr);
    }

    .servicios-gallery__item--large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.servicios-gallery__item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #141414;
    border: 1px solid #222;
    aspect-ratio: 1;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.servicios-gallery__item--large {
    aspect-ratio: auto;
    min-height: 100%;
}

.servicios-gallery__item:hover {
    border-color: rgba(254, 238, 58, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.servicios-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    display: block;
}

.servicios-gallery__item--large img {
    padding: 20px;
}

@media (max-width: 640px) {
    .servicios-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicios-gallery__item--large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 2 / 1;
    }
}

/* Toolbar filtros */
.servicios-body {
    padding-top: 2.5rem;
    background: #0a0a0a;
}

.servicios-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.servicios-filter {
    border: 1px solid #2a2a2a;
    background: #111;
    color: #c4c4c4;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.servicios-filter:hover {
    border-color: #444;
    color: #fff;
}

.servicios-filter.is-active {
    background: #feee3a;
    border-color: #feee3a;
    color: #000;
}

/* Grid tarjetas */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.servicio-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #131313 0%, #0e0e0e 100%);
    border: 1px solid #232323;
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.servicio-card:hover {
    border-color: rgba(254, 238, 58, 0.25);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    transform: translateY(-4px);
}

.servicio-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #0d0d0d;
    overflow: hidden;
}

.servicio-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem 1.25rem;
    transition: transform 0.35s ease;
}

.servicio-card:hover .servicio-card__media img {
    transform: scale(1.04);
}

.servicio-card__cat {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.65);
    color: #feee3a;
    backdrop-filter: blur(6px);
}

.servicio-card__body {
    padding: 1.35rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.servicio-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.servicio-card__desc {
    font-size: 0.92rem;
    color: #949494;
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1rem;
}

.servicio-card__meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: #6e6e6e;
    margin-bottom: 1.15rem;
}

.servicio-card__meta i {
    color: #feee3a;
    opacity: 0.85;
}

.servicio-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    background: transparent;
    border: 1px solid #feee3a;
    color: #feee3a;
    transition: background 0.2s ease, color 0.2s ease;
}

.servicio-card__cta:hover {
    background: #feee3a;
    color: #000;
}

.servicios-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #777;
    font-size: 1rem;
}
