/* =========================================================
   Doors & Windows - Main Stylesheet
   Colours: White, Navy Blue, Orange (highlight / buttons)
   ========================================================= */

:root {
    --navy: #0a1f44;
    --navy-2: #13306b;
    --navy-light: #1e3f80;
    --orange: #f7931e;
    --orange-dark: #e07b00;
    --white: #ffffff;
    --bg-soft: #f4f6fb;
    --text: #2b3445;
    --muted: #6b7489;
    --border: #e3e7f0;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(10, 31, 68, .08);
    --shadow-lg: 0 20px 45px rgba(10, 31, 68, .15);
    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --header-h: 128px;   /* menu bar height */
    --logo-h: 104px;     /* logo image height (was 52px) */
}

@media (max-width: 860px) {
    :root { --header-h: 96px; --logo-h: 72px; }
}

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

/* Keep anchor targets (e.g. #quote) clear of the sticky header */
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 50px; border: 2px solid transparent;
    font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
    transition: all .25s ease; text-align: center; justify-content: center;
}
.btn .icon { width: 16px; height: 16px; }
.btn-orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(247, 147, 30, .35); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c9d3ea; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px; }
.topbar a { color: #c9d3ea; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--orange); }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-social { display: flex; gap: 14px; }
.topbar .icon { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 15px rgba(10, 31, 68, .06); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 4px 25px rgba(10, 31, 68, .12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 20px; flex-shrink: 0; }
.logo img { max-height: var(--logo-h); width: auto; max-width: 100%; display: block; }
.logo-mark { width: 42px; height: 42px; background: var(--navy); color: var(--white); border-radius: 8px; display: grid; place-items: center; }
.logo-mark svg { width: 28px; height: 28px; }
.logo:hover { color: var(--navy); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: 8px 14px; color: var(--navy); font-weight: 500; position: relative; }
.main-nav ul a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .25s; }
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); }
.main-nav ul a.active { color: var(--orange); }

.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 6px; }
.nav-toggle .icon { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 620px; display: flex; align-items: center;
    background-size: cover; background-position: center; color: var(--white);
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 31, 68, .95) 0%, rgba(10, 31, 68, .75) 50%, rgba(10, 31, 68, .3) 100%); }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 640px; }
.hero-badge { display: inline-block; background: rgba(247, 147, 30, .15); color: var(--orange); border: 1px solid rgba(247, 147, 30, .4); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 20px; letter-spacing: .5px; }
.hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 56px); margin-bottom: 20px; }
.hero p { font-size: 18px; color: #d6deef; margin-bottom: 34px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero slider ---------- */
.hero-slider { display: grid; align-items: stretch; overflow: hidden; background: var(--navy); }
.hero-slider::before { display: none; }
.hero-slide {
    grid-area: 1 / 1; position: relative; display: flex; align-items: center;
    padding: 90px 0 110px; opacity: 0; visibility: hidden;
    transition: opacity 1s ease, visibility 0s linear 1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1s ease, visibility 0s; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7s ease-out; }
.hero-slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 31, 68, .95) 0%, rgba(10, 31, 68, .75) 50%, rgba(10, 31, 68, .3) 100%); }
.hero-slide.is-active .hero-slide-bg { transform: scale(1); }
.hero-slide .container { width: 100%; }

/* Content animates in when its slide becomes active */
.hero-slide .hero-content > * { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.hero-slide.is-active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-content > :nth-child(1) { transition-delay: .3s; }
.hero-slide.is-active .hero-content > :nth-child(2) { transition-delay: .45s; }
.hero-slide.is-active .hero-content > :nth-child(3) { transition-delay: .6s; }
.hero-slide.is-active .hero-content > :nth-child(4) { transition-delay: .75s; }
.hero-title { color: var(--white); font-size: clamp(34px, 5vw, 56px); margin-bottom: 20px; }

.slider-arrow {
    position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; margin-top: -26px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); color: var(--white);
    backdrop-filter: blur(4px); transition: background .25s, border-color .25s, transform .25s;
}
.slider-arrow:hover, .slider-arrow:focus-visible { background: var(--orange); border-color: var(--orange); transform: scale(1.06); }
.slider-arrow .icon { width: 24px; height: 24px; }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.slider-dot { width: 44px; height: 20px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; }
.slider-dot span { position: relative; display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.slider-dot span::after { content: ''; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.slider-dot.is-active span::after { animation: slider-progress var(--slide-duration, 6s) linear forwards; }
.hero-slider.is-paused .slider-dot.is-active span::after { animation-play-state: paused; }
@keyframes slider-progress { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slide-bg, .hero-slide .hero-content > * { transition: none !important; }
    .hero-slide-bg { transform: none; }
    .slider-dot.is-active span::after { animation: none; transform: scaleX(1); }
}

/* ---------- Stats ---------- */
.stats { margin-top: -60px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 32px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat-num { font-size: 34px; font-weight: 700; color: var(--orange); line-height: 1.1; }
.stat-label { color: var(--navy); font-weight: 500; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #d6deef; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head .eyebrow, .eyebrow { display: inline-block; color: var(--orange); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); }
.section-head p { color: var(--muted); }
.section-navy .section-head p { color: #b9c5e0; }
.title-line { width: 60px; height: 3px; background: var(--orange); border-radius: 3px; margin: 14px auto 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-img::after { content: ''; position: absolute; width: 120px; height: 120px; border: 6px solid var(--orange); border-radius: var(--radius); right: -20px; bottom: -20px; z-index: -1; }
.split h2 { font-size: clamp(26px, 3vw, 38px); }
.split .text { color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list .icon { color: var(--white); background: var(--orange); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 3px; }

/* ---------- Feature cards ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: var(--white); padding: 34px 26px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; transition: transform .3s, box-shadow .3s; border-bottom: 3px solid transparent; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--orange); }
.feature-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: rgba(10, 31, 68, .06); color: var(--navy); border-radius: 50%; display: grid; place-items: center; transition: all .3s; }
.feature-icon .icon { width: 30px; height: 30px; }
.feature-card:hover .feature-icon { background: var(--orange); color: var(--white); }
.feature-card h3 { font-size: 19px; }
.feature-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-cat { position: absolute; top: 14px; left: 14px; background: var(--navy); color: var(--white); font-size: 12px; padding: 4px 12px; border-radius: 50px; font-weight: 500; }
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 19px; margin-bottom: 8px; }
.product-body h3 a { color: var(--navy); }
.product-body h3 a:hover { color: var(--orange); }
.product-body p { color: var(--muted); font-size: 15px; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.price { color: var(--orange); font-weight: 700; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); font-size: 14px; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-bar a { padding: 9px 22px; border-radius: 50px; border: 2px solid var(--border); color: var(--navy); font-weight: 500; font-size: 14px; background: var(--white); }
.filter-bar a:hover { border-color: var(--orange); color: var(--orange); }
.filter-bar a.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* Category cards (products page) */
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 60px; }
.category-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--navy); box-shadow: var(--shadow); border: 3px solid transparent; transition: transform .3s, box-shadow .3s, border-color .3s; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,31,68,0) 35%, rgba(10,31,68,.9) 100%); }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card:hover img { transform: scale(1.06); }
.category-card .cat-info { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 1; color: var(--white); }
.category-card .cat-info strong { display: block; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.25; margin-bottom: 4px; }
.category-card .cat-info span { font-size: 15px; color: var(--orange); font-weight: 500; }
.category-card .cat-cta { display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--white); opacity: .85; }
.category-card .cat-cta .icon { width: 16px; height: 16px; transition: transform .2s; }
.category-card:hover .cat-cta { opacity: 1; }
.category-card:hover .cat-cta .icon { transform: translateX(4px); }
@media (max-width: 640px) {
    .category-grid { grid-template-columns: 1fr; gap: 18px; }
    .category-card .cat-info { left: 18px; right: 18px; bottom: 16px; }
}
.category-card-all::after { background: linear-gradient(180deg, rgba(247,147,30,.25) 0%, rgba(10,31,68,.92) 100%); }
.category-card-all:hover { border-color: var(--orange); }
.link-back:hover .icon { transform: translateX(-4px); }
.category-card.active { border-color: var(--orange); }
.category-card.active::after { background: linear-gradient(180deg, rgba(247,147,30,.15) 0%, rgba(10,31,68,.92) 100%); }
.products-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 2px solid var(--border); scroll-margin-top: calc(var(--header-h) + 30px); }
.products-head h2 { margin: 0; font-size: clamp(22px, 2.5vw, 28px); }
.products-head .count { color: var(--muted); font-weight: 400; font-size: 15px; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.product-detail-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-detail h1 { font-size: clamp(28px, 3.5vw, 40px); }
.product-detail .price { font-size: 24px; display: block; margin-bottom: 20px; }
.product-detail .desc { color: var(--muted); }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

/* Product gallery + lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.gallery-thumb { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--white); box-shadow: var(--shadow); position: relative; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-thumb::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; font-weight: 300; color: var(--white); background: rgba(10,31,68,.55); opacity: 0; transition: opacity .3s; }
.gallery-thumb:hover img { transform: scale(1.06); }
.gallery-thumb:hover::after, .gallery-thumb:focus-visible::after { opacity: 1; }
/* Gallery entrance: images drop in from the top, one by one (enabled by main.js) */
.gallery-grid.anim-ready .gallery-thumb { opacity: 0; transform: translateY(-60px) scale(.96); }
.gallery-grid.anim-ready.in .gallery-thumb {
    opacity: 1; transform: none;
    transition: opacity .6s ease, transform .7s cubic-bezier(.22, 1.2, .36, 1), box-shadow .3s;
    transition-delay: calc(var(--i, 0) * 150ms);
}
@media (prefers-reduced-motion: reduce) {
    .gallery-grid.anim-ready .gallery-thumb { opacity: 1; transform: none; transition: none; }
}
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5,15,35,.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: var(--orange); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #b9c5e0; font-size: 14px; }
@media (max-width: 560px) { .lightbox { padding: 60px 12px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 8px; transform: none; } }
.tag { display: inline-block; background: rgba(247, 147, 30, .12); color: var(--orange-dark); padding: 4px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }

/* Product details page layout: intro -> image -> specs & features -> gallery */
.pd-intro-section { padding-bottom: 40px; }
.pd-intro { max-width: 860px; text-align: center; }
.pd-intro h1 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 8px; }
.pd-intro .price { font-size: 24px; display: block; margin-bottom: 16px; }
.pd-lead { color: var(--muted); font-size: 17px; margin: 0 auto 24px; }
.pd-intro .detail-actions { justify-content: center; }
.pd-image { max-width: 750px; margin: 0 auto; }
.pd-image img { width: 100%; max-height: 465px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.pd-specs { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }
.pd-specs.single { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
.pd-card { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--orange); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.pd-card h3 { font-size: 20px; margin-bottom: 14px; }
.pd-card .desc { color: var(--muted); }
.pd-card .desc p:last-child, .pd-card .check-list { margin-bottom: 0; }
.pd-card .check-list { margin-top: 0; }
@media (max-width: 860px) { .pd-specs { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.testimonial { background: var(--navy-2); padding: 32px; border-radius: var(--radius); position: relative; }
.testimonial::before { content: '\201C'; position: absolute; top: 4px; right: 24px; font-size: 90px; color: var(--orange); opacity: .35; font-family: Georgia, serif; line-height: 1; }
.testimonial p { color: #d6deef; font-style: italic; }
.stars { color: var(--orange); display: flex; gap: 2px; margin-bottom: 14px; }
.stars .icon { width: 16px; height: 16px; fill: currentColor; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.testimonial-author strong { color: var(--white); display: block; }
.testimonial-author span { font-size: 13px; color: #9fb0d4; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--white); padding: 70px 0; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(247, 147, 30, .15); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; position: relative; z-index: 1; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta p { color: #c9d3ea; margin: 0; }

/* ---------- Raw materials band (full width, orange) ---------- */
.materials-band { background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%); color: var(--white); padding: 70px 0; position: relative; overflow: hidden; }
.materials-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.materials-copy { max-width: 720px; }
.materials-band .eyebrow { color: var(--navy); }
.materials-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; text-shadow: 0 1px 2px rgba(10, 31, 68, .15); }
.materials-band p { color: #fff6ea; margin: 0; }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-2px); }

/* Decorative hardware vectors (nails, screws, bolts, tools) */
.materials-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.materials-deco .deco { position: absolute; color: var(--white); opacity: .55; }
.deco-1  { width: 54px; height: 54px; left: 2%;   top: 14%;    transform: rotate(-25deg); }
.deco-2  { width: 46px; height: 46px; left: 9%;   bottom: 8%;  transform: rotate(30deg); }
.deco-3  { width: 34px; height: 34px; left: 20%;  top: 6%;     transform: rotate(10deg); }
.deco-4  { width: 60px; height: 60px; left: 34%;  bottom: -12px; transform: rotate(-15deg); }
.deco-5  { width: 44px; height: 44px; left: 48%;  top: 4%;     transform: rotate(40deg); }
.deco-6  { width: 30px; height: 30px; left: 58%;  bottom: 10%; }
.deco-7  { width: 58px; height: 58px; left: 64%;  top: 10%;    transform: rotate(-10deg); }
.deco-8  { width: 40px; height: 40px; right: 22%; bottom: 6%;  transform: rotate(-35deg); }
.deco-9  { width: 52px; height: 52px; right: 14%; top: 6%;     transform: rotate(8deg); }
.deco-10 { width: 48px; height: 48px; right: 3%;  top: 22%;    transform: rotate(35deg); }
.deco-11 { width: 56px; height: 56px; right: 6%;  bottom: 4%;  transform: rotate(-20deg); }
.deco-12 { width: 28px; height: 28px; right: 30%; top: 14%;    transform: rotate(20deg); }
@media (max-width: 860px) {
    .materials-deco .deco { width: 34px; height: 34px; }
    .deco-3, .deco-5, .deco-6, .deco-8, .deco-12 { display: none; }
}

/* About page buttons (Contact + certificate downloads) */
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Certificates (about page) */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cert-card { background: var(--white); padding: 36px 30px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--orange); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cert-card h3 { font-size: 20px; }
.cert-card p { color: var(--muted); font-size: 15px; flex: 1; }
.cert-card .btn { margin-top: 8px; }
.cert-card:hover .feature-icon { background: var(--orange); color: var(--white); }
@media (max-width: 860px) { .cert-grid { grid-template-columns: 1fr; } }

/* ---------- Page banner ---------- */
.page-banner { background-size: cover; background-position: center; color: var(--white); padding: 90px 0 80px; text-align: center; }
.page-banner h1 { color: var(--white); font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 10px; }
.page-banner p { color: #c9d3ea; font-size: 18px; margin-bottom: 18px; }
.breadcrumb { font-size: 14px; color: #9fb0d4; }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .current { color: var(--orange); }
.breadcrumb span { margin: 0 6px; }

/* ---------- About ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mv-card { background: var(--white); padding: 36px 30px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.mv-card h3 { display: flex; align-items: center; gap: 10px; }
.mv-card h3 .icon { color: var(--orange); width: 26px; height: 26px; }
.mv-card p, .mv-card li { color: var(--muted); }
.mv-card ul { padding-left: 0; list-style: none; margin: 0; }
.mv-card li { display: flex; gap: 8px; margin-bottom: 6px; }
.mv-card li .icon { color: var(--orange); margin-top: 5px; width: 16px; height: 16px; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: step; }
.step { text-align: center; padding: 20px; position: relative; }
.step-num { width: 70px; height: 70px; border-radius: 50%; background: var(--orange); color: var(--white); font-size: 26px; font-weight: 700; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 0 0 8px rgba(247, 147, 30, .2); }
.step h3 { font-size: 19px; }
.step p { color: #b9c5e0; font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.contact-info { background: var(--navy); color: #c9d3ea; padding: 40px; border-radius: var(--radius); }
.contact-info h3 { color: var(--white); }
.info-item { display: flex; gap: 16px; margin-top: 26px; }
.info-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.info-item h4 { color: var(--white); margin: 0 0 4px; font-size: 16px; }
.info-item a { color: #c9d3ea; }
.info-item a:hover { color: var(--orange); }

.form-card { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; color: var(--navy); margin-bottom: 6px; font-size: 14px; }
.form-group label .req { color: var(--orange); }
.form-control { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 15px; color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.form-control:focus { outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(30, 63, 128, .12); }
textarea.form-control { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 15px; }
.alert-success { background: #e7f7ee; color: #146c43; border: 1px solid #b6e4c9; }
.alert-error { background: #fdecec; color: #a12622; border: 1px solid #f5c2c0; }
.alert ul { margin: 0; padding-left: 18px; }

.map-wrap { margin-top: 0; line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* ---------- Footer ---------- */
.site-footer { background: #071631; color: #9fb0d4; padding-top: 70px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { color: var(--white); font-size: 22px; }
.site-footer h4 { color: var(--white); font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--orange); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #9fb0d4; }
.site-footer a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--orange); margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--white); transition: background .2s; }
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; text-align: center; font-size: 14px; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); z-index: 90; transition: transform .2s, background .2s; }
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover { color: var(--white); background: #1ebe5b; transform: scale(1.08); }
.whatsapp-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: wa-pulse 2.2s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.whatsapp-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--white); color: var(--navy); font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 50px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; }
.whatsapp-float:hover .whatsapp-tip, .whatsapp-float:focus-visible .whatsapp-tip { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .whatsapp-float::before { animation: none; } }
@media (max-width: 560px) { .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } .whatsapp-float svg { width: 28px; height: 28px; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Below this width the side arrows would overlap the slide text, so move them beside the dots */
@media (max-width: 1340px) {
    .slider-arrow { top: auto; bottom: 24px; margin-top: 0; }
    .slider-prev { left: 20px; }
    .slider-next { right: 20px; }
    .slider-dots { bottom: 40px; }
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; box-shadow: 0 10px 20px rgba(10, 31, 68, .1); display: none; }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; }
    .main-nav ul a { padding: 12px 0; border-bottom: 1px solid var(--border); }
    .main-nav ul a::after { display: none; }
    .main-nav .btn { margin-top: 14px; }
    .split, .product-detail, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .split-img::after { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .hero { min-height: 520px; }
    .hero-slide { padding: 70px 0 100px; }
    .slider-arrow { width: 42px; height: 42px; }
    .slider-dots { bottom: 35px; }
    .slider-dot { width: 32px; }
    .section { padding: 70px 0; }
}

@media (max-width: 560px) {
    .topbar-social { display: none; }
    .topbar-info { gap: 14px; }
    .features-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
    .form-card, .contact-info { padding: 28px 22px; }
    .cta-inner { text-align: center; justify-content: center; }
}
