@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables - Professional Color Palette */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --accent: #10B981;
    --accent-dark: #059669;
    --background: #F9FAFB;
    --surface: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.2s ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 11px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--border-light);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    border-radius: var(--radius);
}

.menu-toggle:hover {
    background: var(--border-light);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.25s ease;
}

.menu-icon {
    top: 50%;
    transform: translate(-50%, -50%);
}

.menu-icon::before {
    top: -6px;
}

.menu-icon::after {
    top: 6px;
}

/* Mobile Drawer */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
    cursor: pointer;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(85vw, 320px);
    background: var(--surface);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 2001;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.drawer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.drawer-close {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.drawer-close:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.drawer-nav a:hover,
.drawer-nav a.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.2);
}

body.drawer-open {
    overflow: hidden;
}

body.drawer-open .drawer-overlay {
    opacity: 1;
    visibility: visible;
}

body.drawer-open .mobile-drawer {
    transform: translateX(0);
}

/* ========== CAROUSEL ========== */
.carousel {
    width: 100%;
    height: calc(100vh - 72px);
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    position: relative;
    background: var(--text-primary);
}

.carousel .list .item {
    width: 160px;
    height: 220px;
    position: absolute;
    top: 75%;
    transform: translateY(-50%);
    left: 70%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background-position: center;
    background-size: cover;
    z-index: 100;
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.carousel .list .item:nth-child(2)::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.carousel .list .item:nth-child(3) {
    left: 65%;
}

.carousel .list .item:nth-child(4) {
    left: calc(65% + 180px);
}

.carousel .list .item:nth-child(5) {
    left: calc(65% + 360px);
}

.carousel .list .item:nth-child(n+6) {
    left: calc(65% + 540px);
    opacity: 0;
}

/* Carousel Content */
.list .item .content {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    width: 450px;
    text-align: left;
    color: #fff;
    display: none;
    z-index: 10;
}

.list .item:nth-child(2) .content {
    display: block;
}

.content .title {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
    opacity: 0;
    animation: slideUp 0.6s ease 0.2s forwards;
}

.content .name {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    opacity: 0;
    animation: slideUp 0.6s ease 0.4s forwards;
}

.content .des {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 400px;
    opacity: 0;
    animation: slideUp 0.6s ease 0.6s forwards;
}

.content .btn {
    display: flex;
    gap: 14px;
    opacity: 0;
    animation: slideUp 0.6s ease 0.8s forwards;
}

.btn-primary,
.btn-secondary {
    padding: 16px 34px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Arrows */
.arrows {
    position: absolute;
    bottom: 40px;
    left: 80px;
    z-index: 100;
    display: flex;
    gap: 12px;
}

.arrows button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-primary);
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.arrows button:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

/* Time Running */
.carousel .timeRunning {
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background: var(--primary);
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {
    from { width: 0%; }
    to { width: 100%; }
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 80px 24px;
    background: var(--surface);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: var(--background);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========== CATEGORIES SECTION ========== */
.categories-section {
    padding: 80px 24px;
    background: var(--background);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.categories-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-info {
    padding: 20px;
}

.category-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.category-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.category-card:hover .category-link i {
    transform: translateX(4px);
}

/* ========== CTA SECTION ========== */
/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.btn-cta {
    display: inline-block;
    padding: 16px 36px;
    background: var(--surface);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}


/* ========== FOOTER ========== */
.footer {
    background: var(--text-primary);
    color: #fff;
    padding: 64px 24px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer-brand h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== RESPONSIVE: TABLET ========== */
@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .carousel .list .item {
        width: 140px;
        height: 190px;
    }

    .carousel .list .item:nth-child(3) {
        left: 60%;
    }

    .carousel .list .item:nth-child(4) {
        left: calc(60% + 160px);
    }

    .carousel .list .item:nth-child(5) {
        left: calc(60% + 320px);
    }

    .content .name {
        font-size: 2.75rem;
    }

    .list .item .content {
        width: 380px;
    }
}

/* ========== RESPONSIVE: MOBILE (900px) ========== */
@media (max-width: 900px) {
    .header-container {
        height: 64px;
        padding: 0 16px;
    }

    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel {
        height: 85vh;
        min-height: 480px;
    }

    .carousel .list .item {
        width: 100px;
        height: 140px;
        top: 72%;
    }

    .carousel .list .item:nth-child(3) {
        left: 55%;
    }

    .carousel .list .item:nth-child(4) {
        left: calc(55% + 115px);
    }

    .carousel .list .item:nth-child(5) {
        left: calc(55% + 230px);
    }

    .carousel .list .item:nth-child(n+5) {
        opacity: 0;
    }

    .list .item .content {
        left: 24px;
        width: calc(100% - 48px);
        top: 40%;
    }

    .content .name {
        font-size: 2.25rem;
    }

    .content .title {
        font-size: 0.875rem;
    }

    .content .des {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .content .btn {
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        text-align: center;
        font-size: 0.9rem;
    }

    .arrows {
        left: 24px;
        bottom: 24px;
    }

    .arrows button {
        width: 44px;
        height: 44px;
    }

    .features-section,
    .categories-section,
    .cta-section {
        padding: 60px 16px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .footer {
        padding: 48px 16px 20px;
    }

    .footer-container {
        gap: 32px;
    }
}

/* ========== RESPONSIVE: MOBILE (540px and below) ========== */
@media (max-width: 540px) {
    .header-container {
        height: 60px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .carousel {
        height: 80vh;
        min-height: 420px;
    }

    .carousel .list .item {
        width: 80px;
        height: 110px;
        top: 70%;
        border-width: 2px;
    }

    .carousel .list .item:nth-child(3) {
        left: 50%;
    }

    .carousel .list .item:nth-child(4) {
        left: calc(50% + 95px);
    }

    .carousel .list .item:nth-child(n+4) {
        opacity: 0;
    }

    .list .item .content {
        left: 16px;
        width: calc(100% - 32px);
        top: 35%;
    }

    .content .name {
        font-size: 1.75rem;
    }

    .content .title {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .content .des {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .arrows {
        left: 16px;
        bottom: 16px;
        gap: 8px;
    }

    .arrows button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .features-section,
    .categories-section,
    .cta-section {
        padding: 48px 12px;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 20px 16px;
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        margin: 0;
        font-size: 20px;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-card {
        display: flex;
        align-items: center;
    }

    .category-image {
        width: 100px;
        min-width: 100px;
        height: 100px;
    }

    .category-info {
        padding: 16px;
    }

    .category-info h3 {
        font-size: 1rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .btn-cta {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-col:first-child {
        margin-bottom: 16px;
    }

    .footer-col h4 {
        margin-bottom: 16px;
    }

    .footer-col ul li {
        margin-bottom: 10px;
    }

    .footer-bottom {
        margin-top: 32px;
        padding-top: 20px;
    }
}

/* ========== UTILITY CLASSES ========== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== OFFERS SECTION ========== */
.offers-section {
    padding: 80px 24px 60px;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff8f0 100%);
    position: relative;
    overflow: hidden;
}

.offers-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.offers-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: rgba(16, 185, 129, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

/* Header */
.offers-header {
    text-align: center;
    margin-bottom: 48px;
}

.offers-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ef4444, #f97316);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.35);
}

.offers-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 10px;
}

.offers-header p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Loading */
.offers-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 48px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.offers-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Error */
.offers-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.offers-error i {
    font-size: 2rem;
    color: #ef4444;
}

/* Grid */
.offers-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Card */
.offer-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

/* Image */
.offer-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--border-light);
}

.offer-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.offer-card:hover .offer-img-wrap img {
    transform: scale(1.06);
}

/* Badge */
.offer-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(90deg, #ef4444, #f97316);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Body */
.offer-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.offer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.offer-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex: 1;
}

.offer-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s ease;
}

.offer-card:hover .offer-cta {
    gap: 10px;
}

/* CTA row */
.offers-cta-row {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.offers-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    transition: background 0.2s ease, gap 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.offers-view-all:hover {
    background: var(--primary-dark);
    gap: 12px;
}

/* ---- RESPONSIVE: tablet (≤900px) ---- */
@media (max-width: 900px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* ---- RESPONSIVE: mobile (≤540px) ---- */
@media (max-width: 540px) {
    .offers-section {
        padding: 52px 16px 44px;
    }

    .offers-header h2 {
        font-size: 1.6rem;
    }

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

    .offer-body {
        padding: 14px;
    }

    .offer-title {
        font-size: 0.9rem;
    }
}

/* ---- RESPONSIVE: very small (≤360px) ---- */
@media (max-width: 360px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}
