/* ============================================
   Motor Components Ltd - Main Stylesheet
   Multi-page PHP website
   ============================================ */

/* ---- CSS Reset & Base ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Segoe UI',system-ui,-apple-system,sans-serif;line-height:1.6;color:#334155;background:#f8fafc;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{cursor:pointer;font-family:inherit;border:none;background:none}
ul,ol{list-style:none}
address{font-style:normal}

/* ---- Skip Link ---- */
.skip-link{position:absolute;top:-100%;left:0;background:#b91c1c;color:#fff;padding:.75rem 1.5rem;z-index:9999;font-weight:600;border-radius:0 0 4px 0;transition:top .2s}
.skip-link:focus{top:0}

/* ---- Container ---- */
.container{width:100%;max-width:1280px;margin:0 auto;padding:0 1.25rem}
@media(min-width:768px){.container{padding:0 2rem}}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar{background:#0f172a;color:#94a3b8;font-size:.8125rem;padding:.5rem 0}
.top-bar-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}
.top-bar-contact{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}
.top-bar-link{display:inline-flex;align-items:center;gap:.375rem;color:#cbd5e1;transition:color .2s}
.top-bar-link:hover{color:#fff}
.top-bar-link svg{flex-shrink:0;color:#b91c1c}
.top-bar-right{display:flex;align-items:center;gap:1rem}
.cert-badge{background:#b91c1c;color:#fff;font-size:.6875rem;font-weight:600;padding:.25rem .625rem;border-radius:999px;white-space:nowrap}
.social-icons{display:flex;gap:.625rem}
.social-icons a{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#1e293b;color:#94a3b8;transition:all .2s}
.social-icons a:hover{background:#b91c1c;color:#fff}

@media(max-width:640px){
.top-bar-email{display:none}
.cert-badge{font-size:.625rem;padding:.2rem .5rem}
}
@media(max-width:480px){
.top-bar-contact{gap:.75rem}
.social-icons{display:none}
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header{background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100}
.header-inner{display:flex;justify-content:space-between;align-items:center;height:72px}
.logo{display:flex;align-items:center;gap:.625rem;flex-shrink:0}
.logo-icon{width:40px;height:40px;background:#b91c1c;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff}
.logo-icon svg{width:24px;height:24px}
.logo-text{display:flex;flex-direction:column;line-height:1.1}
.logo-name{font-size:1.125rem;font-weight:800;color:#0f172a;letter-spacing:-.025em}
.logo-ltd{font-size:.625rem;font-weight:700;color:#b91c1c;letter-spacing:.15em}

/* Desktop Nav */
.desktop-nav{display:flex;align-items:center;gap:.25rem}
.nav-link{display:flex;align-items:center;gap:.25rem;padding:.5rem .875rem;font-size:.875rem;font-weight:500;color:#475569;border-radius:6px;transition:all .2s;white-space:nowrap}
.nav-link:hover{color:#b91c1c;background:#fef2f2}
.nav-link.active{color:#b91c1c;background:#fef2f2}
.nav-cta{background:#b91c1c;color:#fff!important}
.nav-cta:hover{background:#991b1b}
.nav-dropdown-wrap{position:relative}
.dropdown-chevron{transition:transform .2s}
.nav-dropdown-wrap:hover .dropdown-chevron{transform:rotate(180deg)}
.dropdown-menu{position:absolute;top:100%;left:0;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,.1);padding:.5rem;min-width:280px;opacity:0;visibility:hidden;transform:translateY(-4px);transition:all .2s;max-height:420px;overflow-y:auto;z-index:101}
.nav-dropdown-wrap:hover .dropdown-menu,.nav-dropdown-wrap:focus-within .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown-item{display:block;padding:.5rem .75rem;font-size:.8125rem;color:#475569;border-radius:4px;transition:all .15s}
.dropdown-item:hover{background:#fef2f2;color:#b91c1c}

/* Mobile Menu Button */
.mobile-menu-btn{display:none;flex-direction:column;justify-content:center;align-items:center;width:40px;height:40px;gap:5px;border-radius:6px}
.mobile-menu-btn:hover{background:#f1f5f9}
.hamburger-line{display:block;width:22px;height:2px;background:#0f172a;border-radius:1px;transition:all .3s}
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2){opacity:0}
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* Mobile Nav */
.mobile-nav{display:none;background:#fff;border-top:1px solid #e2e8f0;max-height:calc(100vh - 120px);overflow-y:auto}
.mobile-nav-inner{padding:1rem}
.mobile-nav-link{display:block;padding:.75rem 1rem;font-size:.9375rem;font-weight:500;color:#475569;border-radius:6px;transition:all .15s}
.mobile-nav-link:hover,.mobile-nav-link.active{background:#fef2f2;color:#b91c1c}
.mobile-nav-cta{background:#b91c1c;color:#fff!important;text-align:center;margin-top:.5rem}
.mobile-nav-cta:hover{background:#991b1b}
.mobile-nav-details{border-radius:6px;overflow:hidden}
.mobile-nav-summary{padding:.75rem 1rem;font-size:.9375rem;font-weight:500;color:#475569;cursor:pointer;display:flex;justify-content:space-between;align-items:center;list-style:none}
.mobile-nav-summary::-webkit-details-marker{display:none}
.mobile-nav-summary::after{content:'+';font-size:1.25rem;color:#94a3b8}
.mobile-nav-details[open] .mobile-nav-summary::after{content:'\2013'}
.mobile-nav-sub{padding:0 1rem .5rem}
.mobile-nav-sublink{display:block;padding:.5rem .75rem .5rem 1.5rem;font-size:.8125rem;color:#64748b;border-radius:4px;transition:all .15s}
.mobile-nav-sublink:hover{color:#b91c1c;background:#fef2f2}

@media(max-width:1024px){
.desktop-nav{display:none}
.mobile-menu-btn{display:flex}
.mobile-nav{display:block}
.mobile-nav[hidden]{display:none}
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.h1{font-size:clamp(1.875rem,5vw,3rem);font-weight:800;color:#0f172a;line-height:1.15;letter-spacing:-.025em}
.h2{font-size:clamp(1.5rem,3.5vw,2.25rem);font-weight:700;color:#0f172a;line-height:1.2;letter-spacing:-.02em}
.h3{font-size:clamp(1.125rem,2.5vw,1.5rem);font-weight:600;color:#0f172a;line-height:1.3}
.h4{font-size:1.125rem;font-weight:600;color:#0f172a;line-height:1.4}
.text-lead{font-size:clamp(1rem,2vw,1.25rem);color:#475569;line-height:1.7}
.text-body{color:#475569;line-height:1.7}
.text-small{font-size:.875rem;color:#64748b;line-height:1.6}
.text-accent{color:#b91c1c}

/* ============================================
   HERO SECTION
   ============================================ */
.hero{background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:#fff;position:relative;overflow:hidden;padding:4rem 0 5rem}
.hero-pattern{position:absolute;inset:0;opacity:.03;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e94560' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.hero .container{position:relative;z-index:1}
.hero-grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:center}
@media(min-width:1024px){.hero-grid{grid-template-columns:1.1fr 1fr}}
.hero h1{margin-bottom:1.25rem}
.hero h1 span{color:#fb7185}
.hero p{color:#cbd5e1;margin-bottom:2rem;max-width:560px}
.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap}
.hero-image{border-radius:12px;overflow:hidden;box-shadow:0 25px 60px rgba(0,0,0,.3)}
.hero-image img{width:100%;height:auto;object-fit:cover}
}

/* ---- Hero Headings (ensure visibility on dark background) ---- */
.hero .h1,
.page-hero .h1 {
    color: #ffffff;
}

/* ---- Hero Buttons continued ---- */
@media(max-width:1024px){.hero-image{display:none}}

/* ============================================
   BUTTONS
   ============================================ */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 2rem;font-size:.9375rem;font-weight:600;border-radius:8px;transition:all .2s;border:none;cursor:pointer}
.btn-primary{background:#b91c1c;color:#fff}
.btn-primary:hover{background:#991b1b;transform:translateY(-1px);box-shadow:0 4px 12px rgba(185,28,28,.25)}
.btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.4)}
.btn-outline:hover{background:rgba(255,255,255,.1);border-color:#fff}
.btn-secondary{background:#f1f5f9;color:#334155}
.btn-secondary:hover{background:#e2e8f0}
.btn-lg{padding:1rem 2.5rem;font-size:1rem}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar{background:#fff;border-bottom:1px solid #e2e8f0;padding:2.5rem 0}
.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;text-align:center}
@media(min-width:640px){.stats-grid{grid-template-columns:repeat(4,1fr)}}
.stat-number{font-size:clamp(2rem,4vw,2.75rem);font-weight:800;color:#b91c1c;line-height:1}
.stat-label{font-size:.875rem;color:#64748b;margin-top:.375rem}

/* ============================================
   SECTIONS
   ============================================ */
.section{padding:4rem 0}
@media(min-width:768px){.section{padding:5rem 0}}
.section-header{text-align:center;margin-bottom:2.5rem}
.section-header .h2{margin-bottom:.75rem}
.section-header p{max-width:640px;margin:0 auto}
.section-divider{height:3px;background:linear-gradient(90deg,#b91c1c,#fb7185,#0f172a);border-radius:2px;margin:2rem 0;max-width:200px}
.section-header .section-divider{margin:1rem auto 0}

/* ============================================
   CARDS
   ============================================ */
.card-grid{display:grid;gap:1.5rem}
@media(min-width:640px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.card-grid--3{grid-template-columns:repeat(3,1fr)}.card-grid--4{grid-template-columns:repeat(4,1fr)}}
.card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;transition:all .25s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(0,0,0,.08);border-color:#cbd5e1}
.card-image{aspect-ratio:16/9;background:#f1f5f9;overflow:hidden}
.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card:hover .card-image img{transform:scale(1.05)}
.card-body{padding:1.5rem;flex:1;display:flex;flex-direction:column}
.card-title{font-size:1.125rem;font-weight:700;color:#0f172a;margin-bottom:.375rem}
.card-text{font-size:.875rem;color:#64748b;line-height:1.6;margin-bottom:1rem;flex:1}
.card-meta{font-size:.8125rem;color:#64748b}
.card-meta li{display:flex;align-items:flex-start;gap:.5rem;margin-bottom:.375rem}
.card-meta svg{width:16px;height:16px;color:#16a34a;flex-shrink:0;margin-top:2px}
.card-footer{padding:0 1.5rem 1.5rem}
.card-link{display:inline-flex;align-items:center;gap:.25rem;font-size:.875rem;font-weight:600;color:#b91c1c;transition:gap .2s}
.card-link:hover{gap:.5rem}
.badge-hot{position:absolute;top:.75rem;right:.75rem;background:#b91c1c;color:#fff;font-size:.6875rem;font-weight:700;padding:.25rem .625rem;border-radius:999px;z-index:2}
.card-image-wrap{position:relative}

/* Product card specific */
.product-card .card-image{aspect-ratio:21/9}

/* ============================================
   INDUSTRY CARDS
   ============================================ */
.industry-card{background:#fff;padding:1.75rem 1.25rem;border-radius:12px;text-align:center;border:1px solid #e2e8f0;transition:all .25s}
.industry-card:hover{box-shadow:0 15px 30px rgba(0,0,0,.08);border-color:#cbd5e1}
.industry-icon{width:48px;height:48px;margin:0 auto 1rem;color:#b91c1c}
.industry-card h3{font-size:1rem;font-weight:700;color:#0f172a;margin-bottom:.375rem}
.industry-card p{font-size:.8125rem;color:#64748b}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card{background:#fff;padding:2rem;border-radius:12px;border-top:4px solid #b91c1c;border-left:1px solid #e2e8f0;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;transition:all .25s}
.service-card:hover{box-shadow:0 15px 30px rgba(0,0,0,.08)}
.service-icon{width:56px;height:56px;background:#fef2f2;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#b91c1c;margin-bottom:1.25rem}
.service-icon svg{width:26px;height:26px}
.service-card h3{font-size:1.125rem;font-weight:700;color:#0f172a;margin-bottom:.625rem}
.service-card p{font-size:.875rem;color:#64748b;line-height:1.6}

/* ============================================
   CAPABILITY BOXES
   ============================================ */
.capability-box{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-left:4px solid #b91c1c;padding:1.25rem;border-radius:8px}
.capability-value{font-size:1.5rem;font-weight:800;color:#0f172a;line-height:1.1}
.capability-label{font-size:.8125rem;color:#64748b;margin-top:.25rem}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.page-hero{background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:#fff;padding:3rem 0 4rem;position:relative;overflow:hidden}
.page-hero-pattern{position:absolute;inset:0;opacity:.02;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e94560' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.page-hero .container{position:relative;z-index:1}
.page-hero h1{font-size:clamp(1.75rem,4vw,2.5rem);font-weight:800;margin-bottom:.75rem}
.page-hero p{font-size:clamp(1rem,2vw,1.25rem);color:#94a3b8;max-width:700px}
.breadcrumb{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem;font-size:.8125rem;color:#94a3b8}
.breadcrumb a{color:#cbd5e1;transition:color .2s}
.breadcrumb a:hover{color:#fff}
.breadcrumb-sep{color:#64748b}

/* Product Detail Layout */
.product-layout{display:grid;gap:3rem}
@media(min-width:1024px){.product-layout{grid-template-columns:1.2fr 1fr}}
.product-content h2{margin-bottom:1rem}
.product-content p{margin-bottom:1rem;color:#475569}
.product-content ul{padding-left:1.25rem;margin-bottom:1.25rem}
.product-content ul li{margin-bottom:.5rem;color:#475569}
.product-image{border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.1)}
.product-image img{width:100%;height:auto}

/* Accordion (mobile-friendly tabs) */
.accordion{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;margin-top:2rem}
.accordion-item{border-bottom:1px solid #e2e8f0}
.accordion-item:last-child{border-bottom:none}
.accordion-header{width:100%;display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;font-size:1rem;font-weight:600;color:#0f172a;background:#f8fafc;cursor:pointer;transition:background .15s}
.accordion-header:hover{background:#f1f5f9}
.accordion-header::after{content:'+';font-size:1.25rem;color:#94a3b8;transition:transform .2s}
.accordion-item.active .accordion-header::after{content:'\2013'}
.accordion-body{padding:1.25rem;display:none}
.accordion-item.active .accordion-body{display:block}
.accordion-body p{color:#475569;line-height:1.7}

/* Specs grid */
.specs-grid{display:grid;gap:.75rem;margin-top:1rem}
@media(min-width:640px){.specs-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.specs-grid{grid-template-columns:repeat(3,1fr)}}

/* Equipment list */
.equipment-list{display:grid;gap:.5rem}
.equipment-item{display:flex;align-items:center;gap:.625rem;padding:.625rem .875rem;background:#f8fafc;border-radius:6px;font-size:.875rem;color:#475569}
.equipment-item svg{width:18px;height:18px;color:#b91c1c;flex-shrink:0}

/* Application cards */
.app-grid{display:grid;gap:1rem}
@media(min-width:640px){.app-grid{grid-template-columns:repeat(2,1fr)}}
.app-card{background:#f8fafc;padding:1.25rem;border-radius:8px}
.app-card h4{font-size:.9375rem;font-weight:700;color:#b91c1c;margin-bottom:.375rem}
.app-card p{font-size:.8125rem;color:#64748b;line-height:1.5}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid{display:grid;gap:3rem}
@media(min-width:1024px){.contact-grid{grid-template-columns:1fr 1.2fr}}
.contact-info{display:flex;flex-direction:column;gap:1.5rem}
.contact-block{display:flex;gap:1rem}
.contact-icon{width:48px;height:48px;background:#fef2f2;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#b91c1c;flex-shrink:0}
.contact-icon svg{width:22px;height:22px}
.contact-block h3{font-size:1rem;font-weight:700;color:#0f172a;margin-bottom:.25rem}
.contact-block p,.contact-block a{font-size:.875rem;color:#64748b}
.contact-block a:hover{color:#b91c1c}
.company-details{background:#f8fafc;padding:1.25rem;border-radius:10px}
.company-details p{font-size:.8125rem;color:#64748b;margin-bottom:.25rem}

/* Contact Form */
.contact-form{background:#fff;padding:2rem;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 4px 20px rgba(0,0,0,.05)}
.form-group{margin-bottom:1.25rem}
.form-label{display:block;font-size:.8125rem;font-weight:600;color:#374151;margin-bottom:.375rem}
.form-input,.form-select,.form-textarea{width:100%;padding:.75rem 1rem;font-size:1rem;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;transition:border-color .2s,box-shadow .2s}
.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:#b91c1c;box-shadow:0 0 0 3px rgba(185,28,28,.1)}
.form-input::placeholder,.form-textarea::placeholder{color:#9ca3af}
.form-textarea{resize:vertical;min-height:120px}
.form-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;padding-right:2.5rem}
.form-row{display:grid;gap:1.25rem}
@media(min-width:640px){.form-row{grid-template-columns:1fr 1fr}}
.form-checkbox{display:flex;align-items:flex-start;gap:.625rem}
.form-checkbox input{width:18px;height:18px;margin-top:1px;accent-color:#b91c1c;flex-shrink:0}
.form-checkbox label{font-size:.8125rem;color:#475569;line-height:1.5}
.form-checkbox a{color:#b91c1c;text-decoration:underline}
.form-submit{width:100%;padding:1rem;font-size:1rem}
.form-submit:disabled{opacity:.6;cursor:not-allowed}
.form-error{color:#dc2626;font-size:.8125rem;margin-top:.375rem}
.form-success{color:#16a34a;font-size:.875rem;padding:1rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;margin-bottom:1rem}
.form-message{display:none}
.form-message.visible{display:block}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e2e8f0;box-shadow:0 -4px 20px rgba(0,0,0,.1);z-index:200;padding:1.25rem 0}
.cookie-banner[hidden]{display:none}
.cookie-banner-inner{max-width:1280px;margin:0 auto;padding:0 1.25rem}
.cookie-banner-content{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;justify-content:space-between}
.cookie-banner-content p{font-size:.875rem;color:#475569;flex:1;min-width:280px}
.cookie-banner-content p a{color:#b91c1c;text-decoration:underline}
.cookie-banner-buttons{display:flex;gap:.625rem;flex-wrap:wrap}
.cookie-btn{padding:.625rem 1.25rem;font-size:.8125rem;font-weight:600;border-radius:6px;transition:all .2s;border:1px solid transparent}
.cookie-btn-accept{background:#b91c1c;color:#fff}
.cookie-btn-accept:hover{background:#991b1b}
.cookie-btn-reject{background:#f1f5f9;color:#475569;border-color:#e2e8f0}
.cookie-btn-reject:hover{background:#e2e8f0}
.cookie-btn-manage{background:#fff;color:#475569;border-color:#d1d5db}
.cookie-btn-manage:hover{background:#f8fafc}

/* Cookie Modal */
.cookie-modal{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:1rem}
.cookie-modal[hidden]{display:none}
.cookie-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.cookie-modal-content{position:relative;background:#fff;border-radius:16px;max-width:540px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.cookie-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0}
.cookie-modal-header h2{font-size:1.125rem;font-weight:700;color:#0f172a}
.cookie-modal-close{font-size:1.5rem;color:#94a3b8;padding:.25rem;line-height:1}
.cookie-modal-close:hover{color:#0f172a}
.cookie-modal-body{padding:1.25rem 1.5rem}
.cookie-modal-footer{display:flex;gap:.625rem;justify-content:flex-end;padding:1.25rem 1.5rem;border-top:1px solid #e2e8f0}
.cookie-category{margin-bottom:1rem}
.cookie-category-header{display:flex;align-items:flex-start;gap:1rem}
.cookie-category-header h3{font-size:1rem;font-weight:600;color:#0f172a}
.cookie-category-header p{font-size:.8125rem;color:#64748b;margin-top:.125rem}
.cookie-toggle{position:relative;display:inline-block;width:44px;height:24px;flex-shrink:0;margin-top:2px}
.cookie-toggle input{opacity:0;width:0;height:0}
.cookie-toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:#e2e8f0;border-radius:999px;transition:.2s}
.cookie-toggle-slider::before{position:absolute;content:'';height:18px;width:18px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:.2s}
.cookie-toggle input:checked+.cookie-toggle-slider{background:#b91c1c}
.cookie-toggle input:checked+.cookie-toggle-slider::before{transform:translateX(20px)}
.cookie-toggle input:disabled+.cookie-toggle-slider{opacity:.5;cursor:not-allowed}

/* ============================================
   FOOTER
   ============================================ */
.site-footer{background:#0f172a;color:#94a3b8;padding:3rem 0 0}
.footer-grid{display:grid;gap:2rem;margin-bottom:2.5rem}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1.5fr}}
.footer-logo{display:flex;align-items:center;gap:.625rem;margin-bottom:.75rem}
.footer-logo-icon{width:36px;height:36px;background:#b91c1c;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff}
.footer-logo-icon svg{width:20px;height:20px}
.footer-logo-text{font-size:.9375rem;font-weight:800;color:#fff;letter-spacing:-.01em}
.footer-tagline{font-size:.8125rem;color:#94a3b8;margin-bottom:1rem}
.footer-social{display:flex;gap:.625rem}
.footer-social a{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#1e293b;color:#94a3b8;transition:all .2s}
.footer-social a:hover{background:#b91c1c;color:#fff}
.footer-heading{font-size:.875rem;font-weight:700;color:#e2e8f0;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.05em}
.footer-links li{margin-bottom:.5rem}
.footer-links a{font-size:.8125rem;color:#94a3b8;transition:color .2s}
.footer-links a:hover{color:#fb7185}
.footer-address{font-size:.8125rem;color:#94a3b8;line-height:1.8}
.footer-address a{color:#cbd5e1;transition:color .2s}
.footer-address a:hover{color:#fb7185}
.footer-bottom{border-top:1px solid #1e293b;padding:1.5rem 0;display:flex;flex-direction:column;gap:1rem}
@media(min-width:768px){.footer-bottom{flex-direction:row;justify-content:space-between;align-items:center}}
.footer-legal{display:flex;gap:1.25rem;flex-wrap:wrap}
.footer-legal a,.cookie-settings-link{font-size:.75rem;color:#94a3b8;transition:color .2s;background:none;border:none;padding:0;cursor:pointer}
.footer-legal a:hover,.cookie-settings-link:hover{color:#fb7185}
.copyright{font-size:.75rem;color:#64748b}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center{text-align:center}
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.flex{display:flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.gap-1{gap:.5rem}.gap-2{gap:1rem}
.justify-center{justify-content:center}
.grid{display:grid}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:640px){.grid-2-sm{grid-template-columns:1fr}}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ============================================
   404 PAGE
   ============================================ */
.page-404{text-align:center;padding:5rem 1rem}
.page-404 h1{font-size:clamp(4rem,10vw,8rem);font-weight:800;color:#b91c1c;line-height:1;margin-bottom:1rem}
.page-404 h2{font-size:1.5rem;color:#0f172a;margin-bottom:1rem}
.page-404 p{color:#64748b;margin-bottom:2rem;max-width:480px;margin-left:auto;margin-right:auto}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content{max-width:800px;margin:0 auto;padding:3rem 0}
.legal-content h1{margin-bottom:1.5rem}
.legal-content h2{font-size:1.25rem;font-weight:700;color:#0f172a;margin:2rem 0 .75rem}
.legal-content p{margin-bottom:1rem;color:#475569;line-height:1.7}
.legal-content ul{padding-left:1.5rem;margin-bottom:1rem;list-style:disc}
.legal-content ul li{margin-bottom:.5rem;color:#475569}
.placeholder-note{background:#fef9c3;border:1px solid #fde047;border-radius:8px;padding:1rem;margin:1rem 0;font-size:.8125rem;color:#854d0e}

/* ============================================
   LOADING STATE
   ============================================ */
.btn-spinner{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite;margin-right:.5rem}
@keyframes spin{to{transform:rotate(360deg)}}


/* ============================================
   HERO HEADING FIX - ensure white on dark bg
   ============================================ */
.hero .h1,
.page-hero .h1 {
    color: #ffffff;
}

/* ============================================
   HEADING HIERARCHY FIX
   ============================================ */
/* Ensure no heading level skips */
.section h2.h2 + h3,
.product-content h2 + h3 {
    margin-top: 1.5rem;
}


/* ===== v5 visual refinements ===== */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.logo.logo-mark{display:flex;align-items:center;justify-content:center}
.logo-emblem{width:56px;height:56px;object-fit:contain;display:block}
.footer-logo-image img{max-width:280px;width:100%;height:auto;filter:drop-shadow(0 12px 24px rgba(0,0,0,.12))}
.footer-highlight-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.footer-highlight-list span{background:#17212f;color:#e2e8f0;padding:.35rem .7rem;border-radius:999px;font-size:.75rem;font-weight:600}
.cert-badge{display:inline-flex;align-items:center;gap:.45rem;padding:.35rem .7rem}
.cert-badge img{width:16px;height:16px;display:block}
.page-hero{padding:2.5rem 0 3rem}
.hero{padding:3.5rem 0 4rem}
.section{padding:3rem 0}
@media(min-width:768px){.section{padding:4rem 0}}
.section-tight{padding-top:2.5rem;padding-bottom:3rem}
.stats-bar{padding:1.75rem 0}
.card-grid{gap:1.25rem}
.card-body{padding:1.25rem}
.card-footer{padding:0 1.25rem 1.25rem}
.card-footer-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.btn-sm{padding:.65rem 1rem;font-size:.8125rem;border-radius:999px}
.products-intro-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.5rem}
.intro-pill{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.15rem;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.intro-pill strong{font-size:1.25rem;color:#b91c1c;line-height:1}
.intro-pill span{font-size:.875rem;color:#475569}
.prefill-note{display:inline-flex;flex-wrap:wrap;gap:.35rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);padding:.6rem .85rem;border-radius:999px;color:#e2e8f0;font-size:.9rem;margin-top:1rem}
.icon-captcha{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
.icon-captcha-option{position:relative;display:block}
.icon-captcha-option input{position:absolute;opacity:0;pointer-events:none}
.icon-captcha-visual{display:flex;align-items:center;justify-content:center;height:72px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;color:#0f172a;transition:all .2s}
.icon-captcha-visual svg{width:28px;height:28px}
.icon-captcha-option input:checked + .icon-captcha-visual{border-color:#b91c1c;background:#fef2f2;color:#b91c1c;box-shadow:0 0 0 3px rgba(185,28,28,.12)}
.captcha-instructions{font-size:.875rem;color:#475569;margin-bottom:.75rem}
.rfq-modal[hidden]{display:none}
.rfq-modal{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:1rem}
.rfq-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.7)}
.rfq-modal-dialog{position:relative;z-index:1;background:#fff;border-radius:18px;width:min(720px,100%);padding:1.5rem;box-shadow:0 30px 80px rgba(15,23,42,.28)}
.rfq-modal-close{position:absolute;top:.75rem;right:.75rem;width:40px;height:40px;border-radius:999px;background:#f1f5f9;color:#0f172a;font-size:1.5rem;line-height:1}
.rfq-kicker{font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#b91c1c;margin-bottom:.4rem}
.rfq-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.25rem}
.rfq-option{display:flex;flex-direction:column;gap:.45rem;border:1px solid #e2e8f0;background:#fff;border-radius:16px;padding:1.1rem;transition:all .2s;min-height:150px}
.rfq-option strong{color:#0f172a;font-size:1rem}
.rfq-option span{color:#64748b;font-size:.9rem;line-height:1.55}
.rfq-option:hover{transform:translateY(-2px);border-color:#fecaca;box-shadow:0 16px 34px rgba(15,23,42,.08)}
body.modal-open{overflow:hidden}
.product-cta-box{text-align:center;margin-top:2.25rem;padding:2rem;background:linear-gradient(135deg,#0f172a,#1e293b);border-radius:16px;color:#fff}
.product-cta-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}
.contact-grid{align-items:start}
@media(min-width:1025px){.contact-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)} .legal-content .container{max-width:1000px}}
@media(max-width:1024px){.products-intro-strip{grid-template-columns:1fr}.rfq-option-grid{grid-template-columns:1fr}.icon-captcha{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){.header-inner{height:64px}.logo-emblem{width:46px;height:46px}.page-hero{padding:2rem 0 2.35rem}.hero{padding:2.75rem 0 3rem}.section{padding:2.4rem 0}.card-footer-actions{align-items:stretch}.card-footer-actions .btn{width:100%;justify-content:center}.rfq-modal-dialog{padding:1.2rem}.footer-logo-image img{max-width:220px}.top-bar-right{width:100%;justify-content:space-between}}
@media(max-width:540px){.top-bar{padding:.45rem 0}.top-bar-contact{width:100%;justify-content:space-between}.cert-badge{font-size:.62rem;padding:.28rem .55rem}.icon-captcha{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.icon-captcha-visual{height:64px}.mobile-nav-inner{padding:.85rem}.dropdown-menu{min-width:250px}}
