/* ==========================================================================
   Conreco Shoes Redesign - Design System & Styling
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-primary: #0f1722;
    --bg-secondary: #162436;
    --bg-tertiary: #1e2e42;
    --accent-gold: #C5A059;
    --accent-gold-dark: #AA8749;
    --accent-sand: #E5D9C4;
    --accent-navy: #162436;
    --bg-cream: #FAF7F0;
    --text-light: #ffffff;
    --text-muted: #b8c4d0;
    --text-dark: #121212;
    --border-color: rgba(197, 160, 89, 0.22);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', 'Cinzel', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(22, 36, 54, 0.85);
    --glass-border: rgba(197, 160, 89, 0.15);
}

/* --- Global Resets & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-light);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-sand) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(193, 154, 107, 0.1);
    border: 1px solid var(--accent-gold);
    color: var(--accent-sand);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--accent-sand);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 154, 107, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent-sand);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--accent-sand);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--accent-sand);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--text-light);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    backdrop-filter: blur(0px);
}

.header.scrolled {
    background-color: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 12px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: var(--transition-smooth);
}

.header.scrolled .header-container {
    padding-top: 8px;
    padding-bottom: 8px;
}

.logo-group {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.heritage-logo-group {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.heritage-logo-group:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.header-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.tagline {
    font-size: 0.65rem;
    font-family: var(--font-body);
    color: var(--accent-sand);
    letter-spacing: 0.08em;
    font-weight: 500;
    margin-top: 2px;
    text-transform: uppercase;
}

.logo-group:hover .logo-sub {
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.logo-accent {
    color: var(--accent-gold);
}

.logo-sub {
    font-weight: 300;
    color: var(--accent-sand);
}

.nav-menu {
    transition: var(--transition-smooth);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-sand);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    font-size: 0.9rem;
    padding: 8px 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
}

.menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(193, 154, 107, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

/* --- Services & Gait Analysis --- */
.services {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.gait-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.gait-image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
}

.gait-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gait-steps {
    display: flex;
    flex-direction: column;
}

.step-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
}

.step-tab-btn {
    background: none;
    border: none;
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-tab-btn.active {
    color: var(--accent-sand);
    border-bottom-color: var(--accent-gold);
}

.tab-number {
    font-size: 0.8rem;
    color: var(--accent-gold);
    opacity: 0.8;
}

.step-content-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step-content-pane.active {
    display: block;
}

.step-content-pane h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-light);
}

.step-content-pane p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.step-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.step-features li i {
    color: var(--accent-gold);
}

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

/* --- Brands Section --- */
.brands {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.brand-track-container {
    width: 100%;
    margin-bottom: 32px;
}

.brand-marquee {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px;
    padding: 10px 24px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 180px;
    transition: var(--transition-smooth);
}

.brand-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.brand-card svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Specific text logo stylings */
.birkenstock-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    color: var(--accent-sand);
}

.finn-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--accent-sand);
}

.finn-text .gold-text {
    color: var(--accent-gold);
    font-weight: 400;
}

.brands-list-expand {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.brands-more-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Featured Showcase --- */
.featured {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-premium);
}

.product-image-wrapper {
    height: 300px;
    background-color: #171717;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-gallery-nav {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 5;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(8px);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(229, 217, 196, 0.2);
}

.gallery-thumb-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: #1e1e1e;
    overflow: hidden;
    cursor: pointer;
    padding: 2px;
    transition: var(--transition-smooth);
}

.gallery-thumb-btn.active, .gallery-thumb-btn:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 8px rgba(193, 154, 107, 0.5);
}

.gallery-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-brand {
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.rating {
    font-size: 0.9rem;
    color: var(--accent-sand);
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating i {
    color: #e6a100;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.in-stock-badge {
    font-size: 0.85rem;
    color: #2ec4b6;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- About Section --- */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    gap: 16px;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(193, 154, 107, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.highlight-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-card {
    display: flex;
    justify-content: center;
}

.hours-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-premium);
}

.hours-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    color: var(--accent-sand);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.hours-row.closed {
    color: var(--text-muted);
}

.address-block, .phone-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 24px;
    font-size: 0.95rem;
}

.address-block i, .phone-block i {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-top: 4px;
}

.phone-block a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.phone-block a:hover {
    color: var(--accent-gold);
}

/* --- FAQs Section --- */
.faqs {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(193, 154, 107, 0.4);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--accent-sand);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 24px 24px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid rgba(229, 217, 196, 0.05);
    padding-top: 16px;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.contact-detail-item i {
    width: 48px;
    height: 48px;
    background-color: rgba(193, 154, 107, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--accent-sand);
}

.contact-detail-item p, .contact-detail-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.contact-detail-item a:hover {
    color: var(--accent-gold);
}

.contact-form-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
}

.contact-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group input, .form-group textarea {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(193, 154, 107, 0.2);
}

.form-status {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
}

.form-status.success {
    color: #2ec4b6;
}

.form-status.error {
    color: #e63946;
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.heritage-footer-logo {
    display: block;
    margin-bottom: 24px;
}

.footer-logo-img {
    max-width: 280px;
    height: auto;
    display: block;
    background-color: var(--bg-cream);
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.footer-logo-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.2);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 360px;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 24px;
    color: var(--accent-sand);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact p i {
    color: var(--accent-gold);
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(229, 217, 196, 0.05);
    padding-top: 30px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
    color: var(--accent-gold);
}

/* --- Product Details Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    padding: 48px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--text-light);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.modal-image-wrapper {
    min-height: 360px;
    background-color: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.modal-image {
    width: 90%;
    max-height: 250px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.modal-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    width: 100%;
}

.modal-thumb-btn {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    background: #1e1e1e;
    overflow: hidden;
    cursor: pointer;
    padding: 3px;
    transition: var(--transition-smooth);
}

.modal-thumb-btn.active, .modal-thumb-btn:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 8px rgba(193, 154, 107, 0.4);
}

.modal-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-brand {
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.modal-description {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-specs h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--accent-sand);
}

.modal-specs ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.modal-specs li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-specs li::before {
    content: '•';
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.modal-cta-box {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.modal-cta-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-grid, .gait-grid, .about-grid, .contact-grid, .footer-grid, .modal-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content {
        order: 2;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions, .hero-stats {
        justify-content: center;
    }
    .hero-image-wrapper {
        order: 1;
        max-width: 320px;
        margin: 0 auto;
    }
    .about-card {
        justify-content: center;
    }
    .modal-content {
        padding: 32px;
    }
    .modal-image-wrapper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        border-top: 1px solid var(--border-color);
        padding: 40px;
        box-shadow: var(--shadow-premium);
    }
    .nav-menu.open {
        left: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .nav-link {
        font-size: 1.2rem;
    }
    .header-actions .nav-phone {
        display: none;
    }
    .step-tabs {
        flex-direction: column;
        border-bottom: none;
        gap: 8px;
    }
    .step-tab-btn {
        border-bottom: none;
        border-left: 2px solid transparent;
        padding: 12px 16px;
        width: 100%;
        text-align: left;
    }
    .step-tab-btn.active {
        border-left-color: var(--accent-gold);
    }
    .brand-card {
        height: 65px;
        padding: 8px 16px;
        min-width: 150px;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
