@import url(global.css);
@import url(nosotros.css);
@import url(contacto.css);

body {
    background-image: none;
    background-color: white;
    overflow-x: hidden;
}

#nosotros,
#contacto {
    scroll-margin-top: 60px;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 6em 1.5em 5em;
    text-align: center;
}

/* Fondo de cuadrícula técnica, desvanecida hacia los bordes. */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(#e5e3dc 1px, transparent 1px),
        linear-gradient(90deg, #e5e3dc 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: 0.6;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 75%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    color: var(--accent-red);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.95em;
    margin-bottom: 1em;
}

.hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 2em;
    height: 2px;
    background-color: var(--accent-red);
}

.hero__title {
    font-size: 3.4em;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    max-width: 16em;
    margin: 0 auto;
}

.hero__subtitle {
    margin: 1.2em auto 0;
    max-width: 42em;
    font-size: 1.25em;
    line-height: 1.7em;
    color: #4a5364;
}

.hero__actions {
    margin-top: 2em;
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
}

/* Botón del hero: mismo estilo que .btn--accent, pero con esquinas
   rectangulares en vez del pill que usan los demás botones del sitio. */
.hero__actions .btn {
    border-radius: 14px;
    padding: 1em 2em;
    font-size: 1.05em;
}

/* Nuestra Herencia */
.heritage {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 1.5em 5em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    align-items: stretch;
}

.heritage__media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(20, 30, 60, 0.15);
}

.heritage__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heritage__content h2 {
    font-size: 2.2em;
    font-weight: 800;
    color: #1c2536;
    line-height: 1.25;
    margin-bottom: 0.6em;
}

.heritage__content p {
    color: #4a5364;
    line-height: 1.7em;
    margin-bottom: 1em;
}

.heritage__stats {
    display: flex;
    gap: 2.5em;
    margin-top: 1.5em;
    flex-wrap: wrap;
}

.heritage__stat strong {
    display: block;
    font-size: 2em;
    font-weight: 800;
    color: var(--primary-color);
}

.heritage__stat span {
    color: #4a5364;
    font-size: 0.9em;
    font-weight: 600;
}

/* Lanzamientos Recientes */
.launches {
    max-width: 100%;
    margin: 0 auto;
    padding: 3em 1.5em 5em;
    background-color: #eef2fb;
}

.launches > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.launches__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 2em;
}

.launches__head h2 {
    font-size: 2em;
    font-weight: 800;
    color: #1c2536;
}

.launches__head p {
    color: #4a5364;
    margin-top: 0.3em;
}

.launches__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: var(--primary-color);
    font-weight: 700;
}

.launches__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5em;
}

/* Misma tarjeta que .catalog-card (ver catalogo.css), más la etiqueta "Nuevo". */
.launch-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(20, 30, 60, 0.08);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.launch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(20, 30, 60, 0.14);
}

.launch-card__media {
    position: relative;
    height: 270px;
}

.launch-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.launch-card__badge {
    position: absolute;
    top: 0.8em;
    right: 0.8em;
    z-index: 1;
    color: white;
    background-color: var(--accent-red);
    font-weight: 700;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.35em 0.9em;
    border-radius: 4px;
}

.launch-card__body {
    padding: 1.3em 1.5em 1.5em;
}

.launch-card__title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.6em;
}

.launch-card__title-row h3 {
    font-size: 1.25em;
    font-weight: 800;
    color: #1c2536;
}

.launch-card__price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.15em;
    white-space: nowrap;
}

.launch-card__price small {
    font-weight: 500;
    font-size: 0.65em;
    color: #8890a3;
}

.launch-card__desc {
    margin-top: 0.5em;
    color: #6b7385;
    font-size: 0.9em;
    line-height: 1.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA final */
.cta-dark {
    background-color: #1c2536;
    color: white;
    text-align: center;
    padding: 5em 1.5em;
}

.cta-dark h2 {
    font-size: 2.2em;
    max-width: 30em;
    margin: 0 auto 0.5em;
    line-height: 1.3;
}

.cta-dark p {
    max-width: 34em;
    margin: 0 auto;
    color: #c3c9d6;
    line-height: 1.7em;
}

.cta-dark__actions {
    margin-top: 2em;
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
}

/* Misma forma que el botón del hero (rectangular, no pill). */
.cta-dark__btn {
    border-radius: 14px;
}

@media (max-width: 900px) {
    .heritage {
        grid-template-columns: 1fr;
    }

    .heritage__media {
        height: 320px;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 3em 1.2em 2.5em;
    }

    .hero__title {
        font-size: 2.1em;
    }

    .hero__subtitle {
        font-size: 1em;
    }

    .heritage__stats {
        gap: 1.5em;
    }

    .cta-dark h2 {
        font-size: 1.7em;
    }

    .launches__head h2 {
        font-size: 1.6em;
        line-height: 1.3;
    }
}

@media (max-width: 560px) {
    .launches__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.7em;
    }

    .heritage__stats {
        gap: 1.2em;
    }

    .heritage__stat strong {
        font-size: 1.6em;
    }
}
