/* ===============================================
   OFFERS PAGE — aligned with shop.css design language
   =============================================== */

:root {
    --isuzu-red: #E4002B;
    --isuzu-dark: #1a1a1a;
    --isuzu-black: #000000;
    --isuzu-gray: #666666;
    --isuzu-light-gray: #f8f8f8;
    --isuzu-white: #ffffff;
    --border-color: #e5e5e5;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --font-primary: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--isuzu-dark);
    line-height: 1.6;
    background: var(--isuzu-white);
    overflow-x: hidden;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===============================================
   PAGE HERO — exact match to shop.css
   =============================================== */

.shop-overlay {
    inset: 0;
    position: absolute;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        transparent 100%
    );
    width: 100%;
    border-radius: 1em;
    height: 100%;
}

.page-hero {
    margin: 7em 1em 0 1em;
    padding: 10rem 0;
    text-align: center;
    background: var(--isuzu-light-gray);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    border-radius: 1em;
}

.page-hero .container {
    background-color: #00000050;
    width: fit-content;
    padding: 1.5em;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--isuzu-red);
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--isuzu-white);
}

/* ===============================================
   INTRO TRUST STRIP
   =============================================== */

.offers-intro {
    padding: 1.5rem 0;
    background: var(--isuzu-white);
    border-bottom: 2px solid var(--border-color);
}

.intro-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.intro-strip-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 2rem;
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--isuzu-dark);
}

.intro-strip-item svg {
    color: var(--isuzu-red);
    flex-shrink: 0;
}

.intro-strip-divider {
    width: 1px;
    height: 24px;
    background: var(--border-color);
}

/* ===============================================
   SHARED SECTION HEADING
   =============================================== */

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.pill-label {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(228, 0, 43, 0.08);
    color: var(--isuzu-red);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 0.75rem;
    font-family: var(--font-secondary);
}

.section-heading h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--isuzu-black);
    margin-bottom: 0.5rem;
}

.section-heading p {
    font-size: 1.0625rem;
    color: var(--isuzu-gray);
}

/* ===============================================
   FEATURED OFFER
   =============================================== */

.featured-offer-section {
    padding: 4rem 0;
    background: var(--isuzu-light-gray);
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    background: var(--isuzu-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.featured-image-col {
    position: relative;
    min-height: 440px;
}

.featured-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-image-badge {
    position: absolute;
    top: 24px;
    left: -34px;
    background: var(--isuzu-red);
    color: var(--isuzu-white);
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 52px;
    transform: rotate(-45deg);
    box-shadow: 0 4px 10px rgba(228, 0, 43, 0.35);
}

.featured-details-col {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.featured-top h3 {
    font-family: var(--font-secondary);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--isuzu-black);
    margin-bottom: 1rem;
}

.featured-pricing {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.strike-price {
    font-size: 1.125rem;
    color: var(--isuzu-gray);
    text-decoration: line-through;
    font-family: var(--font-secondary);
}

.offer-price-main {
    font-family: var(--font-secondary);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--isuzu-red);
}

.featured-desc {
    font-size: 1rem;
    color: var(--isuzu-gray);
    line-height: 1.75;
}

/* Checklist */
.checklist {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
    padding: 1.25rem;
    background: var(--isuzu-light-gray);
    border-radius: 8px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--isuzu-dark);
}

.check-icon {
    color: var(--isuzu-red);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.875rem;
}

/* Featured footer */
.featured-footer {
    border-top: 2px solid var(--border-color);
    padding-top: 1.5rem;
}

.validity-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--isuzu-gray);
    margin-bottom: 1.25rem;
}

.validity-note svg {
    color: var(--isuzu-red);
    flex-shrink: 0;
}

.validity-note strong {
    color: var(--isuzu-dark);
}

.featured-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===============================================
   SHARED BUTTONS
   =============================================== */

.btn-primary-offer {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--isuzu-red);
    color: var(--isuzu-white);
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-offer:hover {
    background: #c00024;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(228, 0, 43, 0.3);
}

.btn-ghost-offer {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--isuzu-dark);
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ghost-offer:hover {
    border-color: var(--isuzu-dark);
    background: var(--isuzu-light-gray);
}

.btn-ghost-offer.light {
    color: var(--isuzu-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost-offer.light:hover {
    border-color: var(--isuzu-white);
    background: rgba(255, 255, 255, 0.1);
}

/* ===============================================
   OFFERS GRID
   =============================================== */

.offers-grid-section {
    padding: 4rem 0 5rem;
    background: var(--isuzu-white);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ===============================================
   OFFER CARD — Base
   =============================================== */

.offer-card {
    background: var(--isuzu-white);
    border-radius: 12px;
    padding: 1.75rem;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.offer-card:not(.state-expired):hover {
    border-color: var(--isuzu-red);
    box-shadow: 0 8px 24px rgba(228, 0, 43, 0.12);
    transform: translateY(-4px);
}

.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offer-type-icon {
    width: 52px;
    height: 52px;
    background: rgba(228, 0, 43, 0.07);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--isuzu-red);
}

/* Card state: expired — muted icon */
.state-expired .offer-type-icon {
    background: var(--isuzu-light-gray);
    color: #aaa;
}

/* Badge variants */
.card-badge {
    font-family: var(--font-secondary);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.75px;
    padding: 5px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}

.card-badge.discount {
    background: rgba(228, 0, 43, 0.1);
    color: var(--isuzu-red);
}

.card-badge.popular {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.card-badge.free {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.card-badge.seasonal {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.card-badge.expired {
    background: var(--isuzu-light-gray);
    color: #999;
}

/* Card titles */
.offer-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--isuzu-black);
    margin: 0;
}

.state-expired h4 {
    color: #999;
}

.card-desc {
    font-size: 0.9375rem;
    color: var(--isuzu-gray);
    line-height: 1.65;
    flex-grow: 1;
}

/* Pricing */
.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.card-old-price {
    font-size: 0.9375rem;
    color: var(--isuzu-gray);
    text-decoration: line-through;
    font-family: var(--font-secondary);
}

.card-new-price {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--isuzu-red);
}

.card-new-price.free-text {
    color: #059669;
}

.expired-price .card-old-price {
    text-decoration: none;
    color: #bbb;
}

.expired-label {
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #bbb;
}

/* Includes list */
.card-includes {
    list-style: none;
    padding: 1rem 1.125rem;
    background: var(--isuzu-light-gray);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.card-includes li {
    font-size: 0.9rem;
    color: var(--isuzu-gray);
    padding-left: 1.125rem;
    position: relative;
}

.card-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--isuzu-red);
    font-weight: 700;
    font-size: 0.8rem;
}

.state-expired .card-includes li::before {
    color: #bbb;
}

/* Card footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.card-validity {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--isuzu-gray);
    font-style: italic;
}

.card-validity svg {
    color: var(--isuzu-gray);
    flex-shrink: 0;
}

.card-validity.urgent {
    color: var(--isuzu-red);
    font-style: normal;
    font-weight: 600;
}

.card-validity.urgent svg {
    color: var(--isuzu-red);
}

/* CTA link in card */
.card-cta {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--isuzu-red);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.card-cta:hover {
    color: #c00024;
    text-decoration: underline;
}

.card-cta.shop-cta {
    color: var(--isuzu-dark);
}

.card-cta.shop-cta:hover {
    color: var(--isuzu-red);
}

.card-cta.ghost-cta {
    color: #aaa;
    font-weight: 500;
}

.card-cta.ghost-cta:hover {
    color: var(--isuzu-gray);
    text-decoration: underline;
}

/* Expired card full style */
.state-expired {
    opacity: 0.6;
    pointer-events: all;
}

.state-expired:hover {
    border-color: var(--border-color) !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.7;
}

/* ===============================================
   CTA BANNER
   =============================================== */

.offers-cta-banner {
    padding: 4rem 0;
    background: var(--isuzu-dark);
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-banner-text h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--isuzu-white);
    margin-bottom: 0.5rem;
}

.cta-banner-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-banner-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-phone-link:hover {
    color: var(--isuzu-white);
}

.cta-phone-link svg {
    flex-shrink: 0;
}

/* ===============================================
   TERMS
   =============================================== */

.terms-section {
    padding: 3rem 0;
    background: var(--isuzu-light-gray);
}

.terms-section h3 {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--isuzu-black);
    margin-bottom: 1.5rem;
    text-align: center;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.term-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.125rem;
    background: var(--isuzu-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.term-item svg {
    color: var(--isuzu-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.term-item p {
    font-size: 0.875rem;
    color: var(--isuzu-gray);
    line-height: 1.6;
}

/* ===============================================
   RESPONSIVE
   =============================================== */

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

    .terms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .page-hero {
        margin-top: 6em;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image-col {
        min-height: 300px;
    }

    .featured-image-badge {
        top: 20px;
        left: -30px;
    }
}

@media (max-width: 768px) {
    .container-fluid,
    .container {
        padding: 0 1rem;
    }

    .page-hero {
        padding: 6rem 8px;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .intro-strip {
        gap: 0;
    }

    .intro-strip-item {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .intro-strip-divider {
        display: none;
    }

    .featured-details-col {
        padding: 2rem 1.5rem;
    }

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

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

    .cta-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cta-banner-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary-offer,
    .btn-ghost-offer {
        width: 100%;
        text-align: center;
    }

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

    .featured-ctas {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .offer-card {
        padding: 1.25rem;
    }

    .card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}