/* --- VARIABLES & RESET --- */
:root { --navy: #0F172A; --blue-steel: #334155; --orange: #F97316; --orange-dark: #ea580c; --whatsapp: #25D366; --white: #ffffff; --light-gray: #F8FAFC; --muted: #64748b; --line: #e2e8f0; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--blue-steel); background: var(--light-gray); line-height: 1.6; }
html { scroll-behavior: smooth; }
a { text-decoration: none; transition: 0.3s; color: var(--orange); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.flex { display: flex; align-items: center; justify-content: space-between; }
.grid { display: grid; gap: 30px; }
.text-center { text-align: center; }
.section-pad { padding: 90px 0; }
.bg-white { background: var(--white); }
.bg-slate { background: #f1f5f9; }

/* --- BUTTONS --- */
.btn { padding: 14px 32px; border-radius: 8px; font-weight: 600; text-transform: uppercase; display: inline-block; font-size: 0.9rem; letter-spacing: 0.5px; cursor: pointer; border: none; font-family: inherit; }
.btn-orange { background: var(--orange); color: var(--white); border: 2px solid var(--orange); box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3); }
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-dark { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* --- HEADER --- */
header.site-header { background: var(--white); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.04); }
.logo-group { display: flex; align-items: center; gap: 15px; color: inherit; }
.logo-img { height: 55px; width: auto; }
.logo-text .brand { color: var(--navy); font-size: 1.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; }
.logo-text p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin-top: 4px; font-weight: 600; }
.main-nav ul { display: flex; gap: 26px; align-items: center; }
.main-nav a { color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange); }
.main-nav .nav-cta { background: var(--orange); color: var(--white); padding: 9px 18px; border-radius: 6px; }
.main-nav .nav-cta:hover { background: var(--orange-dark); color: var(--white); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; font-size: 1.2rem; color: var(--navy); cursor: pointer; }

/* --- HERO --- */
.hero { background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7)), url('/assets/hero.jpg'); background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7)), image-set(url('/assets/hero.webp') type('image/webp'), url('/assets/hero.jpg') type('image/jpeg')); background-size: cover; background-position: center; min-height: 90vh; padding: 60px 0; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); position: relative; }
.hero-content { max-width: 900px; z-index: 2; }
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 25px; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.quote-badge { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); border: 1px solid rgba(249, 115, 22, 0.6); color: var(--orange); padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 25px; }

/* Inner-page banner */
.page-hero { background: var(--navy); color: var(--white); padding: 60px 0 55px; }
.page-hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 15px; max-width: 850px; }
.page-hero p.lead { color: #cbd5e1; font-size: 1.15rem; max-width: 760px; }
.page-hero .hero-actions { justify-content: flex-start; margin-top: 30px; }
.breadcrumb { font-size: 0.85rem; color: #94a3b8; margin-bottom: 18px; }
.breadcrumb a { color: #94a3b8; }
.breadcrumb a:hover { color: var(--orange); }

/* --- SECTION TITLES & CARDS --- */
.section-title h2 { font-size: 2.5rem; color: var(--navy); font-weight: 800; margin-bottom: 15px; }
.section-title p { margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
.divider { width: 80px; height: 5px; background: var(--orange); margin: 0 auto 20px auto; border-radius: 3px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.modern-card { background: var(--white); padding: 50px 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); transition: all 0.4s ease; position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,0.03); }
.modern-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.card-accent { position: absolute; top: -50px; right: -50px; width: 100px; height: 100px; border-radius: 50%; background: var(--navy); opacity: 0.1; }
.modern-card.unit2 .card-accent { background: var(--orange); }
.modern-card h3 { color: var(--navy); font-size: 1.75rem; margin-bottom: 5px; font-weight: 800; }
.location { color: var(--muted); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 25px; }
.modern-card ul li { padding: 12px 0; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; font-weight: 500; font-size: 1.05rem; }
.modern-card ul li i { color: var(--orange); margin-right: 15px; font-size: 1.2rem; }

.industries { margin-top: 50px; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.industries a { color: var(--blue-steel); opacity: 0.75; font-weight: 500; }
.industries a:hover { opacity: 1; color: var(--orange); }

/* Service cards */
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px 30px; color: var(--blue-steel); transition: 0.3s; }
.service-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0,0,0,0.07); }
.service-card i.icon { width: 52px; height: 52px; border-radius: 12px; background: #fff7ed; color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 20px; }
.service-card h3 { color: var(--navy); font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.service-card p { color: var(--muted); flex: 1; margin-bottom: 18px; }
.service-card .more { color: var(--orange); font-weight: 700; }

/* Process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--white); border-radius: 14px; padding: 28px 24px; border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; color: var(--orange); font-weight: 800; font-size: 1.6rem; margin-bottom: 8px; }
.step h3 { color: var(--navy); font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Insight cards */
.insight-card { padding: 30px; border: 1px solid var(--line); }
.insight-card h3 { font-size: 1.2rem !important; margin-bottom: 10px !important; }
.insight-card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 20px; }
.insight-card a.read { color: var(--orange); font-weight: 700; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; margin-bottom: 10px; background: #ffedd5; color: #9a3412; }
.chip-tool-design { background: #e0f2fe; color: #0284c7; }
.chip-cost-saving { background: #dcfce7; color: #166534; }
.chip-quality { background: #fef9c3; color: #854d0e; }
.chip-materials { background: #f3e8ff; color: #6b21a8; }
.chip-buyer-guide { background: #ffedd5; color: #9a3412; }
.chip-case-study { background: #e0e7ff; color: #3730a3; }

/* Unit maps */
.unit-map { background: var(--light-gray); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.unit-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.unit-map-info { padding: 25px 30px; }
.unit-map-info h3 { color: var(--navy); font-size: 1.3rem; font-weight: 800; margin-bottom: 5px; }
.unit-map-info p { color: var(--muted); margin-bottom: 12px; }
.unit-map-info a { font-weight: 700; }

/* --- CONTENT PAGES (services, industries, articles) --- */
.prose { color: var(--blue-steel); line-height: 1.8; font-size: 1.05rem; }
.prose h2 { color: var(--navy); font-size: 1.6rem; font-weight: 800; margin: 45px 0 15px; line-height: 1.3; }
.prose h3 { color: var(--navy); font-size: 1.2rem; font-weight: 700; margin: 30px 0 10px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 20px 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose a { font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose blockquote, .prose .cta { background: #eff6ff; border-left: 5px solid var(--orange); padding: 20px; margin: 30px 0; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { border-radius: 10px; margin: 10px 0 20px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 25px; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: #f1f5f9; color: var(--navy); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 20px; }
.side-box { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.side-box h3 { color: var(--navy); font-size: 1.1rem; font-weight: 800; margin-bottom: 12px; }
.side-box p { color: var(--muted); font-size: 0.95rem; margin-bottom: 15px; }
.side-box ul li { padding: 7px 0; border-bottom: 1px solid #f1f5f9; }
.side-box ul li a { color: var(--blue-steel); font-weight: 500; }
.side-box ul li a:hover, .side-box ul li a[aria-current="page"] { color: var(--orange); }
.side-box.dark { background: var(--navy); border-color: var(--navy); }
.side-box.dark h3 { color: var(--white); }
.side-box.dark p { color: #cbd5e1; }
.side-box .btn { width: 100%; text-align: center; margin-bottom: 10px; padding: 12px 16px; }

.check-list li { padding: 8px 0 8px 32px; position: relative; list-style: none; }
.prose ul.check-list { list-style: none; margin-left: 0; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--orange); position: absolute; left: 4px; top: 8px; }
.side-box .check-list li { padding: 7px 0 7px 30px; }
.side-box .check-list li::before { top: 7px; }

.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq details p { margin: 12px 0 0; }

/* Article */
.article-card { background: var(--white); padding: 60px 50px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.article-card .tag { color: var(--orange); font-weight: 700; }
.article-card h1 { color: var(--navy); font-size: 2.2rem; line-height: 1.25; margin: 6px 0 10px; font-weight: 800; }
.article-card .meta { color: var(--muted); font-size: 0.9rem; }
.article-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.article-card .cover { border-radius: 10px; margin-bottom: 25px; }
.article-crumb { color: var(--muted); padding: 30px 0 15px; font-size: 0.85rem; }
.article-crumb a { color: var(--muted); }

.rfq-band { background: var(--navy); color: var(--white); border-radius: 12px; padding: 35px; margin-top: 30px; text-align: center; }
.rfq-band h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 10px; }
.rfq-band p { color: #cbd5e1; }
.rfq-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.rfq-actions a { padding: 12px 22px; border-radius: 8px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.btn-wa { background: var(--whatsapp); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }

.related { margin: 40px 0 0; }
.related h2 { color: var(--navy); font-size: 1.4rem; margin-bottom: 15px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
.related-grid a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; color: var(--navy); font-weight: 700; }
.related-grid a:hover { border-color: var(--orange); }
.related-grid span { display: block; color: var(--orange); font-size: 0.75rem; letter-spacing: 0.5px; }

/* --- RFQ FORM --- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 0.95rem; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; color: var(--navy); background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: 5px; }
.hidden-field { position: absolute; left: -9999px; }

/* --- FOOTER --- */
footer.site-footer { background: #020617; color: #94a3b8; padding: 70px 0 30px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 50px; text-align: left; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; letter-spacing: 0.5px; }
.footer-col a { color: #cbd5e1; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-col a:hover { color: var(--orange); }
.footer-col .small-link { margin-bottom: 8px; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 30px; text-align: center; font-size: 0.85rem; }
.map-link { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); padding: 8px 12px; border-radius: 6px; width: 100%; margin-bottom: 10px; border: 1px solid transparent; }
.map-link:hover { border-color: var(--orange); color: white; background: rgba(249, 115, 22, 0.1); }
.map-link span { font-size: 0.8rem; color: var(--muted); }

/* --- MODAL --- */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.9); z-index: 2000; justify-content: center; align-items: center; }
.modal-box { background: var(--white); padding: 40px; border-radius: 16px; max-width: 500px; width: 90%; text-align: center; position: relative; animation: slideUp 0.3s ease-out; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: #94a3b8; background: none; border: none; line-height: 1; }
.choice-btn { display: flex; align-items: center; justify-content: center; gap: 15px; width: 100%; padding: 15px; margin-top: 15px; border-radius: 8px; font-weight: 700; font-size: 1.1rem; transition: 0.3s; }
.whatsapp-btn { background: #DCFCE7; color: #166534; border: 1px solid #166534; }
.email-btn { background: #F1F5F9; color: var(--navy); border: 1px solid var(--navy); }
.upload-btn { background: #fff7ed; color: #9a3412; border: 1px solid #9a3412; }
.float-wa { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: var(--whatsapp); color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; display: flex; justify-content: center; align-items: center; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .content-layout { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 12px 20px rgba(0,0,0,0.08); }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; }
    .main-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
    .main-nav .nav-cta { text-align: center; margin-top: 12px; padding: 12px; }
}
@media (max-width: 768px) {
    .section-pad { padding: 60px 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero { background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7)), image-set(url('/assets/hero-960.webp') type('image/webp'), url('/assets/hero.jpg') type('image/jpeg')); }
    .section-title h2 { font-size: 2rem; }
    .page-hero h1 { font-size: 2rem; }
    .grid-2, .form-grid, .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .logo-img { height: 44px; }
    .logo-text .brand { font-size: 1.2rem; }
    .float-wa { bottom: 20px; right: 20px; }
    .article-card { padding: 35px 22px; }
    .article-card h1 { font-size: 1.7rem; }
    .prose table { display: block; overflow-x: auto; white-space: nowrap; }
    .form-card { padding: 25px 20px; }
    .modern-card { padding: 40px 28px; }
}

/* --- CLIENTS --- */
.clients { display: grid; gap: 30px; }
.client-group h3 { color: var(--navy); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.client-list { display: flex; flex-wrap: wrap; gap: 12px; }
.client-list li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; font-weight: 600; color: var(--navy); }
.client-list.tier2 li span { display: inline-block; margin-left: 8px; font-size: 0.7rem; font-weight: 700; color: var(--orange); background: #fff7ed; border-radius: 4px; padding: 2px 6px; vertical-align: middle; }
.prose .client-list { margin: 0; list-style: none; }
