/* ============================================================
   Nova brand page — nova.css
   Palette: Navy #1C3464 | Rust #B85C38 | Cream #F5F2EA | Card #EDE9DE
   Typography: Playfair Display (headings/product names italic) + DM Sans (body)
   ============================================================ */

.nova-page {
    --n-navy:    #1C3464;
    --n-navy-lt: #243d75;
    --n-rust:    #B85C38;
    --n-rust-lt: #cb6940;
    --n-cream:   #F5F2EA;
    --n-card:    #EDE9DE;
    --n-dark:    #2C2C2C;
    --n-muted:   #6B6B6B;
    --n-border:  rgba(28, 52, 100, 0.12);
    --n-heading: 'Playfair Display', Georgia, serif;
    --n-body:    'DM Sans', system-ui, sans-serif;
    --n-radius:  12px;
    font-family: var(--n-body);
    background: #FAFAF8;
    color: var(--n-dark);
}

/* ── Hero ────────────────────────────────────────────────────────── */

.nova-hero {
    background: var(--n-navy);
    padding-top: 120px; /* clears fixed nav */
    padding-bottom: 80px;
    overflow: hidden;
}

.nova-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .nova-hero__inner {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.nova-hero__logo {
    width: 140px;
    height: auto;
    display: block;
    margin-bottom: 32px;
}

.nova-hero__title {
    font-family: var(--n-heading);
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.18;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

@media (min-width: 768px)  { .nova-hero__title { font-size: 50px; } }
@media (min-width: 1200px) { .nova-hero__title { font-size: 60px; } }

.nova-hero__subtitle {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 36px;
    max-width: 460px;
}

.nova-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--n-rust);
    color: #ffffff;
    font-family: var(--n-body);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 100px;
    transition: background-color 0.2s ease;
}

.nova-hero__cta:hover {
    background: var(--n-rust-lt);
}

.nova-hero__cta svg {
    flex-shrink: 0;
}

.nova-hero__visual {
    position: relative;
}

.nova-hero__img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    display: block;
}

.nova-hero__img-ph {
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nova-hero__img-ph span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    font-family: monospace;
}

.nova-hero__img-ph::before {
    content: 'imagen requerida';
    font-size: 11px;
    font-family: var(--n-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.2);
}

/* ── Brand Pillars ───────────────────────────────────────────────── */

.nova-pillars {
    background: var(--n-cream);
    padding-block: 72px;
}

.nova-pillars__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 600px) {
    .nova-pillars__grid { grid-template-columns: repeat(3, 1fr); }
}

.nova-pillar {
    text-align: center;
}

.nova-pillar__icon {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--n-navy);
    box-shadow: 0 2px 12px rgba(28, 52, 100, 0.1);
}

.nova-pillar__icon svg {
    width: 28px;
    height: 28px;
}

.nova-pillar__name {
    font-family: var(--n-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--n-navy);
    margin: 0 0 10px;
    line-height: 1.3;
}

.nova-pillar__desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--n-muted);
    max-width: 220px;
    margin: 0 auto;
}

/* ── Quick Nav ───────────────────────────────────────────────────── */

.nova-qnav {
    background: #ffffff;
    border-bottom: 1px solid var(--n-border);
    position: sticky;
    top: 66px; /* sits below fixed pill nav */
    z-index: 100;
}

.nova-qnav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    padding-block: 12px;
    scrollbar-width: none;
}

.nova-qnav__list::-webkit-scrollbar { display: none; }

.nova-qnav__link {
    font-family: var(--n-body);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--n-muted);
    text-decoration: none;
    padding: 7px 18px;
    border-radius: 100px;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nova-qnav__link:hover {
    color: var(--n-navy);
    background: var(--n-cream);
}

/* ── Category sections ───────────────────────────────────────────── */

.nova-category {
    padding-block: 80px;
    background: #FAFAF8;
}

.nova-category--alt {
    background: var(--n-cream);
}

.nova-category__header {
    margin-bottom: 48px;
}

.nova-category__label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--n-rust);
    margin-bottom: 8px;
    font-family: var(--n-body);
}

.nova-category__title {
    font-family: var(--n-heading);
    font-size: 34px;
    font-weight: 700;
    color: var(--n-navy);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* ── Product grid ────────────────────────────────────────────────── */

.nova-products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .nova-products__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (min-width: 1200px) {
    .nova-products__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Centered — for sections with 2 products (Salud) */
.nova-products__grid--centered {
    max-width: 520px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .nova-products__grid--centered { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
    .nova-products__grid--centered { grid-template-columns: repeat(2, 1fr); }
}

/* ── Product card ────────────────────────────────────────────────── */

.nova-card {
    background: #ffffff;
    border-radius: var(--n-radius);
    border: 1px solid var(--n-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.nova-card:hover {
    box-shadow: 0 10px 36px rgba(28, 52, 100, 0.11);
    transform: translateY(-3px);
}

.nova-card__img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--n-card);
    flex-shrink: 0;
}

.nova-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.nova-card:hover .nova-card__img {
    transform: scale(1.05);
}

.nova-card__img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
    font-size: 10.5px;
    color: rgba(28, 52, 100, 0.3);
    font-family: monospace;
    line-height: 1.45;
}

.nova-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.nova-card__name {
    font-family: var(--n-heading);
    font-style: italic;
    font-size: 16px;
    font-weight: 700;
    color: var(--n-navy);
    line-height: 1.25;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nova-card__variant {
    font-size: 12.5px;
    font-style: normal;
    font-weight: 600;
    color: var(--n-rust);
    font-family: var(--n-body);
    letter-spacing: 0.01em;
}

.nova-card__desc {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--n-muted);
    margin: 0;
    flex: 1;
}

.nova-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--n-border);
}

.nova-card__volume {
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(107, 107, 107, 0.85);
    background: var(--n-card);
    padding: 3px 10px;
    border-radius: 100px;
    font-family: var(--n-body);
    white-space: nowrap;
}

.nova-card__price {
    font-family: var(--n-body);
    font-size: 17px;
    font-weight: 700;
    color: var(--n-navy);
    white-space: nowrap;
}

/* ── Collection block (Línea Reparación) ─────────────────────────── */

.nova-collection {
    margin-top: 52px;
    background: var(--n-card);
    border-radius: 16px;
    padding: 36px 40px 40px;
}

.nova-collection__header {
    margin-bottom: 32px;
}

.nova-collection__title {
    font-family: var(--n-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--n-navy);
    margin: 0 0 8px;
    line-height: 1.2;
}

.nova-collection__desc {
    font-size: 14px;
    color: var(--n-muted);
    margin: 0;
    max-width: 460px;
    line-height: 1.6;
}

.nova-collection__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

@media (min-width: 768px) {
    .nova-collection__grid { grid-template-columns: repeat(4, 1fr); }
}

.nova-collection__item {
    text-align: center;
}

.nova-collection__img-wrap {
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--n-border);
}

.nova-collection__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nova-collection__img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    font-size: 10px;
    color: rgba(28, 52, 100, 0.3);
    font-family: monospace;
    line-height: 1.45;
}

.nova-collection__item-name {
    font-family: var(--n-heading);
    font-style: italic;
    font-size: 14px;
    font-weight: 700;
    color: var(--n-navy);
    margin: 0;
    line-height: 1.3;
}

/* ── CTA final ───────────────────────────────────────────────────── */

.nova-cta {
    background: var(--n-navy);
    padding-block: 80px;
}

.nova-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
}

@media (min-width: 768px) {
    .nova-cta__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.nova-cta__title {
    font-family: var(--n-heading);
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .nova-cta__title { font-size: 36px; }
}

.nova-cta__sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 420px;
    line-height: 1.65;
}

.nova-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .nova-cta__actions { flex-direction: row; }
}

.nova-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--n-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 100px;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nova-cta__btn--primary {
    background: var(--n-rust);
    color: #ffffff;
    border: 2px solid var(--n-rust);
}

.nova-cta__btn--primary:hover {
    background: var(--n-rust-lt);
    border-color: var(--n-rust-lt);
}

.nova-cta__btn--outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.nova-cta__btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
}
