/* =============================================
   RCH Doors — Main Stylesheet v1.0
   ============================================= */

/* 1. Variables
   ============================================= */
:root {
    --orange:      #F26522;
    --orange-dark: #D95510;
    --navy:        #1A8BBF;
    --navy-dark:   #0A6A9A;
    --teal-gradient: linear-gradient(to bottom, #7FCFFF, #0A6A9A);
    --gray:        #6D6E71;
    --text:        #2C2C2C;
    --text-light:  #6B7280;
    --white:       #FFFFFF;
    --light-bg:    #F7F8FA;
    --border:      #E5E7EB;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
    --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
    --radius:      10px;
    --radius-lg:   16px;
    --transition:  all 0.28s ease;
    --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container:   1200px;
    --header-h:    72px;
}

/* 2. Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-h);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* 3. Layout
   ============================================= */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 48px;
}

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

/* 4. Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    border: 2px solid var(--orange);
}
.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242,101,34,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}
.hero-ctas .btn-outline {
    background: var(--navy);
    border-color: var(--navy);
}
.hero-ctas .btn-outline:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}
.btn-dark:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg { padding: 16px 36px; font-size: 15px; }

/* 5. Header
   ============================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}

.site-logo img { height: 52px; width: auto; max-width: 180px; object-fit: contain; }

.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu li a {
    padding: 8px 15px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.current a {
    color: var(--orange);
    background: rgba(242,101,34,0.07);
}

/* Nav dropdown */
.nav-menu li.has-dropdown { position: relative; }
.nav-menu li.has-dropdown > a .nav-arrow { font-size: 9px; opacity: 0.6; margin-left: 3px; }
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(28,58,94,0.14);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(-50%) translateY(6px);
    z-index: 200;
    border: 1px solid rgba(28,58,94,0.08);
}
.nav-menu li.has-dropdown:hover .nav-dropdown,
.nav-menu li.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    border-radius: 0;
    white-space: nowrap;
}
.nav-dropdown li a:hover {
    background: var(--light-bg);
    color: var(--orange);
}

/* Product detail pages */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.product-detail-text h2 { font-size: 30px; font-weight: 800; color: var(--navy); margin: 8px 0 16px; }
.product-detail-text p  { color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }
.product-features { list-style: none; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.product-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text); }
.product-features li span { color: var(--orange); font-weight: 700; flex-shrink: 0; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.product-detail-grid img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4/5; }
.product-detail-grid--single { grid-template-columns: 1fr; }
.product-detail-grid--single img { aspect-ratio: 4/3; }
.product-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-type-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(28,58,94,0.08); }
.product-type-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-type-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); padding: 16px 20px 6px; }
.product-type-card p  { font-size: 14px; color: var(--text-light); padding: 0 20px 20px; line-height: 1.5; }

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

.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-phone:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(242,101,34,0.35);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 6. Hero
   ============================================= */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;

    /* Background image — place hero-bg.jpg in assets/images/ */
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;

    /* Fallback gradient if no image */
    background-color: var(--navy);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 56px;
    align-items: center;
    padding: 80px 0;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    border: 1px solid var(--navy-dark);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 20px;
}
.hero-title span { color: var(--orange); }

.hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 440px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--navy);
    padding: 10px 16px;
    border-radius: 8px;
}
.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.stat-number span { color: var(--white); }
.stat-label { font-size: 12px; color: var(--white); text-transform: uppercase; letter-spacing: 1px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero Quote Form */
.hero-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
}
.hero-form-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-form-card h3::before {
    content: '';
    display: block;
    width: 4px;
    height: 22px;
    background: var(--orange);
    border-radius: 2px;
}
.hero-form-card .form-subtitle {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* 7. Form Styles
   ============================================= */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.form-row.single { grid-template-columns: 1fr; }

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}
.form-field label { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 6px; }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: #aaa; }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(242,101,34,0.12);
}
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-textarea { resize: vertical; min-height: 90px; }

.form-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 14px;
    font-size: 11px;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.form-trust span { display: flex; align-items: center; gap: 4px; }
.form-trust span::before {
    content: '✓';
    color: var(--orange);
    font-weight: 800;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 4px;
}
.btn-submit:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(242,101,34,0.35);
}

.success-msg {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

/* 8. Trust Bar
   ============================================= */
.trust-bar {
    background: var(--orange);
    padding: 18px 0;
}
.trust-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 32px;
    position: relative;
}
.trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.3);
}
.trust-item svg { flex-shrink: 0; opacity: 0.9; }

/* 9. Services Section
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 16px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card-img {
    height: 210px;
    background: var(--light-bg);
    overflow: hidden;
    position: relative;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }

.service-card-img .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8edf2 0%, #d1dae5 100%);
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.service-card-body { padding: 24px; }
.service-card-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.service-card-body p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}
.service-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.service-link:hover { gap: 10px; color: var(--orange-dark); }
.service-card-accent {
    height: 3px;
    background: var(--orange);
    border-radius: 0 0 3px 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.service-card:hover .service-card-accent { transform: scaleX(1); }

/* 10. Financing Section
   ============================================= */
.financing-section {
    background: var(--teal-gradient);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.financing-section::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 400px;
    height: 400px;
    background: rgba(242,101,34,0.08);
    border-radius: 50%;
}
.financing-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.financing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(242,101,34,0.2);
    border: 1px solid rgba(242,101,34,0.5);
    color: var(--orange);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.financing-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}
.financing-title span { color: var(--orange); }
.financing-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.70);
    line-height: 1.6;
    max-width: 520px;
}
.financing-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}
.financing-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: rgba(255,255,255,0.80);
}
.financing-points li::before {
    content: '';
    width: 18px;
    height: 18px;
    background: var(--orange);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.financing-cta { flex-shrink: 0; text-align: center; }
.financing-cta .btn-primary { padding: 16px 40px; font-size: 15px; }
.financing-cta p {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-top: 10px;
}

/* 11. Projects / Gallery Section
   ============================================= */
.filter-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.filter-btn {
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    color: var(--text-light);
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.project-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
    background: var(--light-bg);
}
.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-item:hover img { transform: scale(1.06); }
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,77,98,0.85) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.project-item:hover .project-overlay { opacity: 1; }
.project-overlay span {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}
.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8edf2 0%, #d1dae5 100%);
    font-size: 12px;
    color: #9ca3af;
}

/* Gallery masonry variant */
.gallery-grid {
    columns: 4;
    column-gap: 14px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 14px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .project-overlay { opacity: 0; transition: opacity 0.3s ease; }
.gallery-item:hover .project-overlay { opacity: 1; }

.load-more-wrap { text-align: center; margin-top: 40px; }

/* Lightbox */
.rch-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.rch-lightbox.open { display: flex; }
.rch-lightbox-inner {
    position: relative;
    max-width: 1000px;
    width: 100%;
    animation: lbFadeIn 0.25s ease;
}
@keyframes lbFadeIn { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }
.rch-lightbox-inner img {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}
.rch-lightbox-caption {
    color: rgba(255,255,255,0.75);
    text-align: center;
    font-size: 14px;
    margin-top: 12px;
}
.rch-lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 36px;
    height: 36px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rch-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.rch-lightbox-nav:hover { background: var(--orange); }
.rch-lightbox-prev { left: -56px; }
.rch-lightbox-next { right: -56px; }

/* 12. Page Hero (Internal Pages)
   ============================================= */
.page-hero {
    background: var(--teal-gradient);
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .section-label { color: var(--orange); }
.page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--white);
    margin: 8px 0 12px;
}
.page-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.70);
}

/* 13. Products Page
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-card-img {
    height: 200px;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-img .img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #e8edf2 0%, #d1dae5 100%);
    font-size: 12px; color: #9ca3af;
}
.product-card-accent {
    height: 3px;
    background: var(--orange);
}
.product-card-body { padding: 20px 22px; }
.product-card-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.product-card-body .meta { font-size: 12px; color: var(--text-light); margin-bottom: 14px; }
.product-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.product-link:hover { gap: 10px; }

/* 14. About Page
   ============================================= */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-story-text .section-label { margin-bottom: 10px; }
.about-story-text h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 20px;
}
.about-story-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.about-stat { display: flex; flex-direction: column; gap: 4px; }
.about-stat .num {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}
.about-stat .num span { color: var(--orange); }
.about-stat .lbl { font-size: 13px; color: var(--text-light); font-weight: 500; }

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e8edf2 0%, #d1dae5 100%);
    display: flex; align-items: center; justify-content: center;
    color: #9ca3af; font-size: 14px;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.service-areas { margin-top: 64px; }
.service-areas h2 {
    font-size: 28px; font-weight: 800; color: var(--navy);
    margin-bottom: 24px; text-align: center;
}
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.area-tag {
    padding: 8px 20px;
    background: var(--light-bg);
    border: 1.5px solid var(--border);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    transition: var(--transition);
}
.area-tag:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* 15. Contact Page
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.contact-form-wrap h2 {
    font-size: 26px; font-weight: 800; color: var(--navy);
    margin-bottom: 8px;
}
.contact-form-wrap p {
    font-size: 14px; color: var(--text-light); margin-bottom: 28px;
}
.contact-info h2 {
    font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 24px;
}
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.contact-info-icon {
    width: 42px; height: 42px;
    background: var(--orange);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}
.contact-info-item h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a {
    font-size: 14px; color: var(--text-light); line-height: 1.5;
}
.contact-info-item a:hover { color: var(--orange); }

.map-wrap {
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 220px;
    background: var(--light-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light); font-size: 14px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 16. Footer
   ============================================= */
.site-footer {
    background: #6D6E71;
    padding-top: 56px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    align-items: start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin: 8px 0 20px;
    max-width: 300px;
}
.footer-logo-link img { height: 140px; width: auto; mix-blend-mode: lighten; }

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
}
.social-links a svg { width: 17px; height: 17px; }
.social-links a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-top: 4px;
}

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 16px; color: rgba(255,255,255,0.55);
}
.footer-contact-list li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--orange); }
.footer-contact-list a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-contact-list a:hover { color: var(--orange); }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
    display: flex; align-items: center; gap: 6px;
}
.footer-links a::before {
    content: '→';
    color: var(--orange);
    font-size: 11px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* 17. Responsive
   ============================================= */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr 380px; gap: 40px; }
    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { columns: 3; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .financing-inner { gap: 28px; }
    .product-detail-layout { grid-template-columns: 1fr; gap: 40px; }
    .product-types-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .site-logo img { height: 44px; max-width: 130px; }

    .menu-toggle { display: flex; }

    .site-nav {
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        display: none;
        box-shadow: var(--shadow-md);
    }
    .site-nav.open { display: block; }
    .nav-menu { flex-direction: column; gap: 4px; }
    .nav-menu li a { display: block; padding: 10px 16px; }
    .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-left: 3px solid var(--orange); margin-left: 16px; border-radius: 0; padding: 4px 0; background: var(--light-bg); }
    .nav-dropdown li a { padding: 8px 16px; font-size: 13px; }
    .product-types-grid { grid-template-columns: 1fr; }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 48px 0 40px;
    }
    .hero-form-card { padding: 28px 24px; }

    .hero-stats { gap: 20px; }

    .trust-item { padding: 6px 18px; font-size: 12px; }

    .services-grid { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }

    .financing-inner { flex-direction: column; text-align: center; }
    .financing-desc { max-width: 100%; }
    .financing-points { align-items: flex-start; text-align: left; }

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

    .products-grid { grid-template-columns: 1fr; }
    .about-story { grid-template-columns: 1fr; gap: 36px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { justify-content: center; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { columns: 2; }
    .form-row { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    .trust-bar { padding: 12px 0; }
    .trust-bar-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
    .trust-item { padding: 8px 12px; font-size: 11px; justify-content: center; }
    .trust-item::after { display: none; }
}
