/* ========================================
   暗夜鎏金 - 经典奢华企业风格
   Dark Luxury + Classic European Luxury
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@400;500;600;700;900&display=swap');

/* ========================================
   1. CSS Variables & Global Reset
   ======================================== */
:root {
    /* Background */
    --bg-deep: #0a0a0a;
    --bg-card: #0d0d0d;
    --bg-surface: #111111;
    --bg-footer: #060a10;

    /* Gold palette */
    --gold: #c9a44c;
    --gold-warm: #d4a745;
    --gold-light: #dfc07c;
    --gold-dark: #a07d2e;

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #999999;
    --text-muted: #666666;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(201, 164, 76, 0.2);
    --border-gold-strong: rgba(201, 164, 76, 0.35);

    /* Typography */
    --font-heading: 'Noto Serif SC', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;

    /* Radius */
    --radius-sm: 4px;

    /* Shadows */
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 4px 30px rgba(201, 164, 76, 0.15);
    --shadow-gold-hover: 0 8px 40px rgba(201, 164, 76, 0.25);
}

/* --- Global Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Background Depth --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 164, 76, 0.06), transparent),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(201, 164, 76, 0.03), transparent);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

/* --- Gold Decorative Lines --- */
.gold-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 1rem;
}

.gold-line-wide {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 1rem;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: #1e1e1e;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

/* --- Heading defaults --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

hr {
    border-color: var(--border-subtle);
}

.lead {
    color: var(--text-secondary);
}

/* ========================================
   2. Navigation Bar
   ======================================== */
.navbar {
    background: rgba(8, 8, 12, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(201, 164, 76, 0.1);
    padding: 14px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--gold-warm) !important;
}

.navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 18px !important;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--gold) !important;
}

.navbar-toggler {
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm);
    padding: 6px 10px;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.2);
}

/* ========================================
   3. Hero Banner
   ======================================== */
.hero-banner {
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201, 164, 76, 0.1), transparent),
        linear-gradient(180deg, #0c0f14 0%, #0a0a0a 100%);
    min-height: 65vh;
    padding: 60px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Geometric decorative rings */
.hero-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(201, 164, 76, 0.12);
    border-radius: 50%;
    animation: heroRotate 25s linear infinite;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(201, 164, 76, 0.08);
    border-radius: 50%;
    animation: heroRotate 20s linear infinite reverse;
}

@keyframes heroRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Hero tagline above title */
.hero-banner .hero-tagline {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.hero-banner h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: var(--gold-warm);
    margin-bottom: 1.5rem;
}

.hero-banner .lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
    margin-left: auto;
    margin-right: auto;
}

/* Hero primary button */
.hero-banner .btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    color: #000 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 164, 76, 0.25);
}

.hero-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(201, 164, 76, 0.4);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

/* Hero outline button */
.btn-outline-hero {
    background: transparent !important;
    color: var(--gold) !important;
    border: 1.5px solid var(--border-gold-strong) !important;
    box-shadow: none !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}
.btn-outline-hero:hover {
    background: rgba(201, 164, 76, 0.08) !important;
    border-color: var(--gold) !important;
    color: var(--gold-light) !important;
    transform: translateY(-2px);
}

/* --- Scroll hint --- */
.hero-banner .scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: bounce 2s ease infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   4. Section Titles
   ======================================== */
.section-tagline {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.section-title .accent {
    color: var(--gold-warm);
}

.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ========================================
   5. Feature Cards
   ======================================== */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    position: relative;
    overflow: hidden;
}

/* Top gold line that expands from center on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.feature-card:hover::before {
    width: 80%;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold-strong);
    box-shadow: var(--shadow-gold), var(--shadow-card);
}

.feature-icon {
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--gold-warm);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   6. General Cards (Products & News)
   ======================================== */
.card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: var(--radius-sm) !important;
    transition: all 0.4s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold-strong) !important;
    box-shadow: var(--shadow-gold), var(--shadow-card) !important;
}

.card-img-top {
    border-radius: 0 !important;
    object-fit: cover;
    height: 200px;
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--gold-warm);
    line-height: 1.4;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.card-category {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.card .text-primary {
    color: var(--gold) !important;
}

.card small {
    color: var(--text-muted) !important;
}

/* Card image placeholder */
.card-img-placeholder {
    height: 200px;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-img-placeholder i {
    font-size: 2.5rem;
    color: var(--text-muted);
}

/* ========================================
   7. Buttons
   ======================================== */

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
    border: none !important;
    color: #000 !important;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 12px 30px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 15px rgba(201, 164, 76, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
    box-shadow: 0 6px 25px rgba(201, 164, 76, 0.35);
    transform: translateY(-2px);
}

/* Outline primary (category filter pills) */
.btn-outline-primary {
    color: var(--text-secondary);
    border-color: var(--border-subtle);
    background: transparent;
    border-radius: var(--radius-sm);
    padding: 8px 20px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    color: #000 !important;
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    font-weight: 600;
}

/* Outline primary small (card detail links) */
.btn-outline-primary.btn-sm,
a.btn-outline-primary.btn-sm {
    border-color: var(--border-gold);
    color: var(--gold);
    border-radius: var(--radius-sm);
    padding: 6px 18px;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
}

.btn-outline-primary.btn-sm:hover {
    background: rgba(201, 164, 76, 0.12);
    border-color: var(--gold);
    color: var(--gold-light);
}

/* ========================================
   8. Content Area (About, Detail pages)
   ======================================== */
.content-text {
    color: var(--text-secondary);
    line-height: 2;
    font-size: 1rem;
}

.content-text p {
    margin-bottom: 1.2rem;
}

/* --- Breadcrumb --- */
.breadcrumb-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.breadcrumb-nav a:hover {
    color: var(--gold);
}

/* --- Badge --- */
.badge {
    background: rgba(201, 164, 76, 0.15) !important;
    color: var(--gold-light) !important;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    border: 1px solid var(--border-gold);
}

/* --- List items (content area only) --- */
.content-text ul li {
    color: var(--text-secondary);
    margin-bottom: 6px;
}

/* ========================================
   9. Forms
   ======================================== */
.form-control {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.form-control:focus {
    background: var(--bg-surface);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 164, 76, 0.1);
    color: var(--text-primary);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

/* --- Contact form card --- */
.card.shadow-sm,
.card.shadow-sm .card-body {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-gold) !important;
}

.card.shadow-sm .card-title {
    color: var(--text-primary);
}

.card .bi {
    color: var(--gold);
}

.alert-success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-radius: var(--radius-sm);
}

/* ========================================
   10. Pagination
   ======================================== */
.pagination .page-link {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: var(--radius-sm) !important;
    margin: 0 3px;
    padding: 10px 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background: rgba(201, 164, 76, 0.1);
    color: var(--gold-light);
    border-color: var(--border-gold);
}

.pagination .active .page-link {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #000 !important;
    font-weight: 700;
}

/* ========================================
   11. Contact Page Sidebar Cards
   ======================================== */
.col-lg-5 .card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: var(--radius-sm) !important;
}

.col-lg-5 .card .card-title {
    font-family: var(--font-heading);
    color: var(--gold-warm);
}

.col-lg-5 .card .bi {
    color: var(--gold);
}

.col-lg-5 .card p {
    color: var(--text-secondary);
}

/* ========================================
   12. Footer
   ======================================== */
.site-footer {
    position: relative;
    z-index: 1;
}

.footer-top {
    background: var(--bg-footer);
    border-top: 1px solid rgba(201, 164, 76, 0.12);
    padding: 48px 0 32px;
    position: relative;
    overflow: hidden;
}

/* Top gold gradient line */
.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Footer logo */
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--gold-warm);
    margin-bottom: 1rem;
}

/* Footer description */
.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 320px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(201, 164, 76, 0.15);
    border-color: var(--border-gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* Footer section headings */
.footer-top h5 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
}

/* Footer links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
    color: inherit;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    display: inline-block;
    padding: 2px 0;
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

/* Footer contact list */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--gold);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact li span {
    line-height: 1.5;
}

.footer-hours {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-left: 26px;
}

/* Footer bottom bar */
.footer-bottom {
    background: #040810;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 18px 0;
}

.footer-bottom span,
.footer-bottom a {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-decoration: none;
}

.footer-bottom a {
    margin-left: 20px;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

/* ========================================
   13. Animations
   ======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   14. Responsive Design
   ======================================== */

/* --- Tablet (≤992px) --- */
@media (max-width: 992px) {
    .hero-banner h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .hero-banner .lead {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 10px 0;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .navbar .nav-link {
        padding: 12px 16px !important;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--border-subtle);
    }
    .navbar .collapse {
        background: rgba(8, 8, 12, 0.98);
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        padding-bottom: 8px;
    }

    /* Hero */
    .hero-banner {
        min-height: auto;
        padding: 60px 0 50px;
        text-align: center;
    }
    .hero-banner::before,
    .hero-banner::after {
        display: none;
    }
    .hero-banner h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    .hero-banner .lead {
        font-size: 0.92rem;
    }
    .hero-banner .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    .hero-banner .hero-actions {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    /* Section titles */
    .section-title {
        font-size: 1.45rem;
    }
    .section-subtitle {
        font-size: 0.85rem;
    }
    .section-tagline {
        font-size: 0.72rem;
    }

    /* Feature cards */
    .feature-card {
        padding: 1rem 0.8rem;
    }
    .feature-icon {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem;
    }
    .feature-card h4 {
        font-size: 0.95rem;
    }
    .feature-card p {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    /* Product/news cards - 2-column layout on mobile */
    .card-img-top {
        height: 140px !important;
    }
    .card-img-placeholder {
        height: 140px;
    }
    .card-img-placeholder i {
        font-size: 1.8rem;
    }
    .card-body {
        padding: 0.75rem !important;
    }
    .card-title {
        font-size: 0.88rem;
        line-height: 1.3;
        margin-top: 2px !important;
    }
    .card-text {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    .card-category,
    .card-date {
        font-size: 0.68rem;
    }
    .card .btn-outline-primary.btn-sm {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    /* Category filter buttons */
    .btn-outline-primary {
        padding: 6px 14px;
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    /* Forms */
    .form-control {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    /* Buttons */
    .btn-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    .btn-outline-primary.btn-sm {
        padding: 5px 14px;
        font-size: 0.8rem;
    }

    /* Footer */
    .footer-top {
        padding: 32px 0 20px;
    }
    .footer-logo {
        font-size: 1.2rem;
    }
    .footer-desc {
        font-size: 0.82rem;
    }
    .footer-top h5 {
        font-size: 0.88rem;
        margin-bottom: 0.8rem;
    }
    .footer-links a,
    .footer-contact li {
        font-size: 0.82rem;
    }
    .footer-bottom {
        padding: 14px 0;
        text-align: center;
    }
    .footer-bottom span,
    .footer-bottom a {
        font-size: 0.75rem;
    }
    .footer-bottom a {
        margin-left: 10px;
    }
    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    /* Content pages */
    .content-text {
        font-size: 0.9rem;
    }

    /* News detail */
    article h1 {
        font-size: 1.4rem !important;
    }

    /* Contact sidebar */
    .col-lg-5 .card {
        margin-top: 20px;
    }
}

/* --- Small phones (≤480px) --- */
@media (max-width: 480px) {
    .hero-banner {
        padding: 40px 0 36px;
    }
    .hero-banner h1 {
        font-size: 1.35rem;
    }
    .hero-banner .lead {
        font-size: 0.82rem;
    }
    .hero-banner .btn {
        padding: 8px 20px;
        font-size: 0.82rem;
    }
    .section-title {
        font-size: 1.25rem;
    }
    .section-subtitle {
        font-size: 0.8rem;
    }
    .card-img-top,
    .card-img-placeholder {
        height: 110px !important;
    }
    .card-img-placeholder i {
        font-size: 1.5rem;
    }
    .card-body {
        padding: 0.6rem !important;
    }
    .card-title {
        font-size: 0.8rem;
    }
    .card-text {
        font-size: 0.7rem;
    }
    .feature-icon {
        font-size: 1.5rem !important;
    }
    .feature-card h4 {
        font-size: 0.85rem;
    }
    .feature-card p {
        font-size: 0.72rem;
    }
    .footer-top .row > div {
        margin-bottom: 12px;
    }
}

/* ========================================
   Product images: show the full image, sized to card width
   ======================================== */
.card-img-top.product-img {
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: var(--bg-card);
}

.card-img-placeholder {
    height: auto !important;
    aspect-ratio: 1 / 1;
}
