:root {
    /* AFCO Brand Green — extracted from their live site */
    --green: #3D9B5E;
    --green-dark: #2D7A48;
    --green-darker: #1E5A33;
    --green-light: #EDF7F1;
    --green-accent: #43B78D;
    --dark: #1A1A1A;
    --bg: #F5F6F8;
    --white: #FFFFFF;
    --text: #4A5568;
    --text-dark: #2D3748;
    --text-muted: #718096;
    --text-light: #A0AEC0;
    --border: #E2E8F0;
    --border-dark: #CBD5E1;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
::selection { background: var(--green); color: white; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; width: 100%; position: relative; }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; color: var(--text-dark); line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: break-word; word-break: break-word; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: 'Inter', sans-serif; cursor: pointer; border: none; background: none; }

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

/* ═══ Ultra-Smooth Reveal Animations ═══ */
.rv { opacity: 0; transform: translateY(50px); filter: blur(4px); transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.rv.on { opacity: 1; transform: translateY(0); filter: blur(0); }
.d1 { transition-delay: 100ms; } .d2 { transition-delay: 200ms; } .d3 { transition-delay: 300ms; } .d4 { transition-delay: 400ms; }

/* ═══ HEADER (Solid Professional White) ═══ */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: #FFFFFF; border-bottom: 1px solid rgba(0, 0, 0, 0.06); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
header.scrolled { box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08); }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 88px; }
.logo-link { flex-shrink: 0; z-index: 1002; position: relative; }
.logo-img { height: 48px; transition: transform 0.4s; flex-shrink: 0; }
.logo-img:hover { transform: scale(1.02); }

.nav-links { display: flex; gap: clamp(12px, 1.5vw, 24px); align-items: center; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-dark); transition: color 0.3s; position: relative; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.7; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--green); transition: width 0.3s ease; }
.nav-links a:hover { color: var(--green); opacity: 1; }
.nav-links a:hover::after, .nav-links a.nav-active::after { width: 100%; }
.nav-links a.nav-active { color: var(--green); opacity: 1; }

.nav-cta { background: var(--green); color: white !important; padding: 12px 28px; border-radius: 100px; font-weight: 600; letter-spacing: 0.5px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 14px 0 rgba(37, 165, 106, 0.2); opacity: 1 !important; }
.nav-cta:hover { background: var(--green-dark); box-shadow: 0 6px 20px rgba(37, 165, 106, 0.3); transform: translateY(-2px); }
.nav-cta::after { display: none; }

.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-dark) !important; letter-spacing: 0.5px; opacity: 1 !important; transition: all 0.3s ease; white-space: nowrap; }
.nav-phone svg { color: var(--green); transition: color 0.3s ease; }
.nav-phone:hover { color: var(--green) !important; }
.nav-phone::after { display: none; }

.menu-btn { display: none; width: 32px; height: 20px; flex-direction: column; justify-content: space-between; z-index: 1001; }
.menu-btn span { display: block; width: 100%; height: 2px; background: var(--text-dark); border-radius: 2px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease; transform-origin: left center; }

/* ═══ HERO ═══ */
.hero { padding: 220px 0 100px; background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); overflow: hidden; position: relative; }
.hero::before { content:''; position:absolute; top: -50%; left: -10%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(37,165,106,0.08) 0%, rgba(255,255,255,0) 70%); z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(36px, 7vw, 88px); font-weight: 800; color: var(--text-dark); margin-bottom: 32px; text-transform: uppercase; line-height: 0.95; letter-spacing: -2px; text-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.hero p { font-size: 20px; color: var(--text); line-height: 1.8; font-weight: 400; max-width: 800px; }

/* ═══ SERVICES CONTENT ═══ */
.services { background: #FFFFFF; padding: 0 0 160px; }
.content-section { padding-top: 140px; }

.svc-eyebrow { display: inline-block; padding: 6px 16px; background: var(--green-light); color: var(--green-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; border-radius: 100px; }
.svc-heading { font-size: clamp(40px, 5vw, 64px); font-weight: 700; margin-bottom: 32px; text-transform: uppercase; line-height: 1.05; letter-spacing: -1.5px; }
.svc-sub { font-size: 18px; color: var(--text-muted); margin-bottom: 80px; font-weight: 400; max-width: 600px; line-height: 1.7; }

.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 120px; }
.svc-block.reverse .svc-content { order: 1; }
.svc-block.reverse .svc-bento { order: 2; }

/* Cinematic Bento System */
.svc-bento { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 24px; position: sticky; top: 140px; perspective: 1000px; height: max-content; }
.bento-img { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); position: relative; z-index: 1; border: 1px solid rgba(0,0,0,0.05); background: var(--bg); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease; }
.bento-img::after { content:''; position: absolute; inset:0; border: 1px solid rgba(255,255,255,0.2); border-radius: 16px; pointer-events: none; z-index: 2; }
.bento-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); filter: contrast(1.05) saturate(1.1); }
.bento-img:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -15px rgba(0,0,0,0.15); z-index: 10; }
.bento-img:hover img { transform: scale(1.08); }
.svc-bento .bento-1 { grid-column: 1 / 3; aspect-ratio: 16/10; }
.svc-bento .bento-2 { aspect-ratio: 1/1; }
.svc-bento .bento-3 { aspect-ratio: 1/1; }

.svc-content { position: relative; z-index: 2; padding-top: 16px; }
.svc-feat { margin-bottom: 48px; border-left: 3px solid var(--border); padding-left: 32px; position: relative; transition: border-color 0.4s ease; }
.svc-feat:hover { border-left-color: var(--green); }
.svc-feat h4 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; letter-spacing: -0.5px; }
.svc-feat p { font-size: 16px; color: var(--text-muted); line-height: 1.7; font-weight: 400; margin: 0; }
.svc-paragraph { font-size: 17px; color: var(--text); line-height: 1.8; margin-bottom: 40px; font-weight: 400; }

/* High-End Tech Grid */
.svc-tech { background: var(--bg); padding: 48px; border-radius: 16px; margin-bottom: 64px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.svc-tech::before { content:''; position: absolute; top:0; left:0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--green), var(--icon-blue)); }
.tech-group h3 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 2px; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.tech-tag { display: flex; align-items: center; justify-content: center; padding: 14px 16px; background: var(--white); border: 1px solid rgba(0,0,0,0.06); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); }
.tech-tag:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 24px -4px rgba(37, 165, 106, 0.15); }

/* Accordions - Ultra Premium */
.accordion { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; border: none; box-shadow: none; border-radius: 0; }
.acc { background: var(--white); position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); cursor: pointer; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); border-radius: 12px; box-shadow: 0 4px 14px -4px rgba(0,0,0,0.03); }
.acc::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--green); transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.acc:hover { border-color: rgba(37,165,106,0.2); box-shadow: 0 16px 32px -8px rgba(0,0,0,0.08); transform: translateY(-2px); }
.acc-head { padding: 28px 32px 28px 40px; display: flex; justify-content: space-between; align-items: center; font-family: 'Outfit'; font-weight: 700; font-size: 17px; color: var(--text-dark); letter-spacing: -0.5px; transition: color 0.4s; position: relative; z-index: 2; text-transform: none; }
.acc-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); border: 1px solid rgba(0,0,0,0.05); }
.acc-dot::before, .acc-dot::after { content: ''; position: absolute; background: var(--text-dark); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); border-radius: 2px; }
.acc-dot::before { width: 14px; height: 2px; }
.acc-dot::after { width: 2px; height: 14px; }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s cubic-bezier(0.16, 1, 0.3, 1); position: relative; z-index: 2; }
.acc-body-inner { overflow: hidden; min-height: 0; font-size: 16px; line-height: 1.8; color: var(--text-muted); font-weight: 400; }
.acc-body-content { padding: 0 40px 32px; }

.acc.on { border-color: rgba(37,165,106,0.3); box-shadow: 0 24px 48px -12px rgba(37,165,106,0.12); background: var(--white); transform: translateY(-4px); }
.acc.on::before { width: 4px; }
.acc.on .acc-head { color: var(--green-darker); }
.acc.on .acc-dot { background: var(--green); border-color: var(--green); transform: rotate(180deg); }
.acc.on .acc-dot::before, .acc.on .acc-dot::after { background: var(--white); }
.acc.on .acc-dot::after { opacity: 0; transform: rotate(90deg); }
.acc.on .acc-body { grid-template-rows: 1fr; }

/* ═══ PRE-FOOTER CTA ═══ */
.cta-section { position: relative; overflow: hidden; background: var(--white); padding: 140px 0; text-align: center; border-bottom: 1px solid var(--border); }
.cta-section::before { content:''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 100%, rgba(37,165,106,0.03) 0%, transparent 60%); pointer-events: none; }
.cta-section h2 { font-size: clamp(40px, 6vw, 56px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 24px; color: var(--text-dark); text-transform: uppercase; }
.cta-section p { font-size: 20px; color: var(--text-muted); max-width: 640px; margin: 0 auto 48px; font-weight: 400; line-height: 1.6; }
.cta-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.cta-primary { background: var(--green); color: var(--white); padding: 18px 40px; border-radius: 100px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); display: inline-block; box-shadow: 0 10px 30px rgba(37,165,106,0.15); }
.cta-primary:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(37,165,106,0.25); background: var(--green-dark); color: var(--white); }
.cta-secondary { background: transparent; color: var(--text-dark); border: 1px solid var(--border); padding: 18px 40px; border-radius: 100px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.4s ease; display: inline-block; }
.cta-secondary:hover { border-color: var(--text-dark); background: rgba(0,0,0,0.02); color: var(--text-dark); }

/* ═══ GREEN FOOTER (matches AFCO brand) ═══ */
.footer { background: var(--green); color: white; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer-logo { margin-bottom: 32px; }
.footer-logo img { height: 48px; filter: brightness(0) invert(1); opacity: 1; }
.footer-info { font-size: 14px; line-height: 1.8; font-weight: 400; color: white; }
.footer-info p { margin-bottom: 16px; display: flex; align-items: flex-start; gap: 12px; }
.footer-info svg { margin-top: 2px; opacity: 1; flex-shrink: 0; }
.footer-col-title { font-family: 'Outfit'; font-weight: 500; font-size: 16px; color: white; margin-bottom: 24px; text-transform: none; letter-spacing: 0; }
.footer-links li { margin-bottom: 14px; }
.footer-links a { font-size: 14px; font-weight: 400; color: white; opacity: 0.9; transition: color 0.3s, opacity 0.3s; position: relative; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { background: #378255; padding: 24px 0; font-size: 13px; font-weight: 500; color: white; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }

.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: white; opacity: 0.7; transition: all 0.3s ease; }
.footer-social a:hover { opacity: 1; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }



/* ═══ INNER PAGE HERO BANNER (Granulated Photo Overlay) ═══ */
.page-hero { min-height: 480px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: 88px; background-image: url('https://afcosteel.com.sa/wp-content/uploads/2023/11/banner-image-1.jpg'); background-size: cover; background-position: center; background-attachment: fixed; color: white; position: relative; overflow: visible; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%); pointer-events: none; z-index: 1; }
.page-hero .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.page-hero h1 { font-size: clamp(36px, 6vw, 72px); font-weight: 700; color: white; margin-bottom: 24px; text-transform: uppercase; line-height: 1.05; letter-spacing: 0px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.9); line-height: 1.8; font-weight: 400; max-width: 640px; margin-bottom: 0; text-align: center; }
.page-hero .hero-badge { display: none; }

/* ═══ PRODUCTS PAGE ═══ */
.products-section { padding: 100px 0 160px; background: var(--white); }
.prod-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 80px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.prod-tab { padding: 12px 24px; font-size: 14px; font-weight: 600; color: var(--text-muted); background: transparent; border: 1px solid var(--border); border-radius: 100px; cursor: pointer; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); text-transform: uppercase; letter-spacing: 1px; font-family: 'Inter', sans-serif; }
.prod-tab:hover { border-color: var(--text-dark); color: var(--text-dark); }
.prod-tab.active { background: var(--text-dark); color: white; border-color: var(--text-dark); box-shadow: 0 4px 14px rgba(15,23,42,0.2); }

.prod-panel { display: none; }
.prod-panel.active { display: block; }

.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.prod-visual { position: sticky; top: 120px; }
.prod-img-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -15px rgba(0,0,0,0.12); aspect-ratio: 4/3; background: var(--bg); border: 1px solid rgba(0,0,0,0.05); }
.prod-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.16,1,0.3,1); filter: contrast(1.05) saturate(1.08); }
.prod-img-wrap:hover img { transform: scale(1.04); }

.prod-content h2 { font-size: 40px; font-weight: 300; text-transform: uppercase; margin-bottom: 24px; line-height: 1.1; letter-spacing: -1px; }
.prod-content > p { font-size: 17px; color: var(--text); line-height: 1.8; font-weight: 400; margin-bottom: 48px; }

.prod-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prod-item { padding: 20px 24px; background: var(--bg); border-radius: 12px; border: 1px solid var(--border); font-size: 15px; font-weight: 500; color: var(--text-dark); transition: all 0.4s cubic-bezier(0.16,1,0.3,1); cursor: default; display: flex; align-items: center; gap: 12px; }
.prod-item::before { content: ''; width: 8px; height: 8px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.prod-item:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 8px 20px -4px rgba(37,165,106,0.1); }

/* ═══ ABOUT PAGE ═══ */
.about-section { padding: 120px 0; background: var(--white); }
.about-grid-full { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.about-sticky { position: sticky; top: 120px; }
.about-sticky .about-img-full { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -15px rgba(0,0,0,0.12); aspect-ratio: 3/4; border: 1px solid rgba(0,0,0,0.05); }
.about-sticky .about-img-full img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.08); }

.about-scroll h2 { font-size: 56px; font-weight: 300; text-transform: uppercase; letter-spacing: -1px; margin-bottom: 48px; line-height: 1; }
.about-scroll > p { font-size: 17px; color: var(--text); line-height: 1.9; font-weight: 400; margin-bottom: 24px; }
.about-scroll .find-more { display: inline-block; margin-top: 16px; margin-bottom: 64px; padding: 14px 32px; background: var(--green); color: white; border-radius: 100px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); box-shadow: 0 4px 14px rgba(37,165,106,0.3); }
.about-scroll .find-more:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,165,106,0.4); }

/* Certification Badges & Documents */
.cert-section { padding: 100px 0; background: var(--bg); }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.cert-card { background: var(--white); border-radius: 16px; padding: 48px 32px; text-align: center; border: 1px solid var(--border); transition: all 0.4s cubic-bezier(0.16,1,0.3,1); position: relative; overflow: hidden; }
.cert-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--green); transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left; }
.cert-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08); border-color: var(--green-light); }
.cert-card:hover::before { transform: scaleX(1); }
.cert-badge { width: 80px; height: 80px; margin: 0 auto 24px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Outfit'; font-size: 24px; font-weight: 800; color: var(--green-dark); }
.cert-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.cert-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; font-weight: 400; }

.cert-doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.cert-doc-card { background: var(--white); border-radius: 16px; padding: 16px; border: 1px solid var(--border); transition: all 0.5s cubic-bezier(0.16,1,0.3,1); position: relative; box-shadow: 0 10px 30px -15px rgba(0,0,0,0.08); display: block; overflow: hidden; }
.cert-doc-card:hover { transform: translateY(-8px) scale(1.02); border-color: var(--green-light); box-shadow: 0 30px 50px -15px rgba(37,165,106,0.2); z-index: 10; }
.cert-doc-card::after { content: ''; position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 0 2px var(--green); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.cert-doc-card:hover::after { opacity: 1; }
.cert-doc-img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: contain; object-position: center; border-radius: 8px; border: 1px solid rgba(0,0,0,0.05); transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); background: #f8fafc; }
.cert-doc-card:hover .cert-doc-img { transform: scale(1.03); }
.cert-doc-name { margin-top: 16px; font-family: 'Inter'; font-weight: 600; font-size: 14px; color: var(--text-dark); text-align: center; }

/* ═══ CONTACT PAGE ═══ */
.contact-section { padding: 100px 0 160px; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }

.contact-form h2 { font-size: 40px; font-weight: 300; text-transform: uppercase; margin-bottom: 16px; letter-spacing: -1px; }
.contact-form > p { font-size: 16px; color: var(--text-muted); margin-bottom: 48px; line-height: 1.7; }

.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 16px 20px; border: 1px solid var(--border); border-radius: 12px; font-family: 'Inter', sans-serif; font-size: 15px; color: var(--text-dark); background: var(--bg); transition: all 0.3s ease; outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(37,165,106,0.1); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit { display: inline-block; padding: 18px 48px; background: var(--text-dark); color: white; border: none; border-radius: 100px; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); box-shadow: 0 4px 14px rgba(15,23,42,0.2); }
.form-submit:hover { background: var(--green); box-shadow: 0 8px 24px rgba(37,165,106,0.3); transform: translateY(-2px); }

.contact-info-side { position: sticky; top: 120px; }
.info-card { padding: 32px; background: var(--bg); border-radius: 16px; border: 1px solid var(--border); margin-bottom: 20px; transition: all 0.3s ease; }
.info-card:hover { border-color: var(--green-light); }
.info-card h4 { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.info-card p, .info-card a { font-size: 16px; color: var(--text-dark); line-height: 1.7; font-weight: 500; }
.info-card a:hover { color: var(--green); }
.info-card .info-icon { width: 48px; height: 48px; background: var(--green-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.info-card .info-icon svg { width: 22px; height: 22px; color: var(--green-dark); }

.map-wrap { border-radius: 16px; overflow: hidden; height: 280px; border: 1px solid var(--border); margin-top: 20px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(20%) contrast(1.05); }

/* Catalogue Download Button */
.download-cta { display: inline-flex; align-items: center; gap: 12px; padding: 16px 32px; background: var(--green-light); color: var(--green-dark); border-radius: 12px; font-weight: 700; font-size: 15px; transition: all 0.3s ease; border: 1px solid transparent; }
.download-cta:hover { background: var(--green); color: white; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,165,106,0.2); }
.download-cta svg { width: 20px; height: 20px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .svc-block { grid-template-columns: 1fr; gap: 64px; }
    .svc-block.reverse .svc-content { order: 2; padding-top: 0; }
    .svc-block.reverse .svc-bento { order: 1; }
    .svc-heading { font-size: 48px; }
    .prod-grid { grid-template-columns: 1fr; gap: 64px; }
    .prod-visual { position: relative; top: 0; }
    .about-grid-full { grid-template-columns: 1fr; gap: 64px; }
    .about-sticky { position: relative; top: 0; order: -1; }
    .about-sticky .about-img-full { aspect-ratio: 16/9; }
    .contact-grid { grid-template-columns: 1fr; gap: 64px; }
    .contact-info-side { position: relative; top: 0; }
    .cert-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1300px) {
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 100%; max-width: 400px; height: 100vh;
        background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        flex-direction: column; padding-top: 120px;
        transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1); display: flex;
        align-items: flex-start; padding-left: 48px; box-shadow: -20px 0 60px rgba(0,0,0,0.1); 
        gap: 24px;
        border-left: 1px solid rgba(255,255,255,0.5);
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 20px; font-weight: 700; color: var(--text-dark); }
    .nav-links a.nav-phone, .nav-links a.nav-cta { margin-top: 24px; font-size: 16px; }

    .menu-btn { display: flex; height: 16px; width: 28px; }
    .menu-btn span { height: 2px; }
    .menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-btn.open span:nth-child(2) { opacity: 0; }
    .menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero h1 { font-size: 44px; letter-spacing: -1px; }
    .hero { padding: 160px 0 80px; }
    .page-hero { min-height: 400px; padding: 120px 0 40px; align-items: flex-start; }
    .page-hero h1 { font-size: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-bottom { flex-direction: column; gap: 24px; text-align: center; }
    .svc-bento { grid-template-columns: 1fr; }
    .svc-bento .bento-1, .svc-bento .bento-2, .svc-bento .bento-3 { grid-column: 1 / -1; aspect-ratio: 16/10; }
    .prod-items { grid-template-columns: 1fr; }
    .prod-tabs { gap: 6px; }
    .prod-tab { padding: 10px 16px; font-size: 12px; }
    .cert-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-scroll h2 { font-size: 40px; }
}

/* ═══ PREMIUM CAROUSEL ═══ */
.carousel-wrap { position: relative; width: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -15px rgba(0,0,0,0.12); aspect-ratio: 4/3; background: var(--bg); border: 1px solid rgba(0,0,0,0.05); }
.carousel-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.08); }
.carousel-nav { position: absolute; inset: 0; pointer-events: none; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; z-index: 10; opacity: 0; transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1); }
.carousel-wrap:hover .carousel-nav { opacity: 1; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); box-shadow: 0 8px 16px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; pointer-events: auto; cursor: pointer; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); border: 1px solid rgba(0,0,0,0.05); color: var(--text-dark); }
.carousel-btn:hover { background: var(--text-dark); color: white; transform: scale(1.08); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }
.carousel-btn svg { width: 22px; height: 22px; fill: currentColor; }
.carousel-dots { position: absolute; bottom: 20px; left: 0; width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; z-index: 10; pointer-events: none; }
.carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); border: none; padding: 0; box-shadow: 0 2px 4px rgba(0,0,0,0.2); pointer-events: auto; }
.carousel-dot.active { width: 24px; border-radius: 100px; background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }

/* ═══ INFRASTRUCTURE PAGE ═══ */
/* 1. Sub-Hero Metrics */
.metrics-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 64px; }
.metric-card { background: white; padding: 40px; border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.03); text-align: center; }
.metric-val { font-family: 'Outfit', sans-serif; font-size: 56px; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 12px; letter-spacing: -2px; }
.metric-label { font-size: 15px; font-weight: 600; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px; }

/* 2. Arsenal Showcase (Cinematic Bento) */
.arsenal-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.arsenal-item { position: relative; border-radius: 16px; overflow: hidden; background: #000; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; min-height: 480px; }
.arsenal-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1), opacity 0.8s; }
.arsenal-item:hover img { transform: scale(1.05); opacity: 0.7; }
.arsenal-item.span-8 { grid-column: span 8; }
.arsenal-item.span-4 { grid-column: span 4; }
.arsenal-item.span-6 { grid-column: span 6; }
.arsenal-content { position: relative; z-index: 2; }
.arsenal-title { color: white; font-size: 32px; font-weight: 700; margin-bottom: 16px; line-height: 1.1; }
.arsenal-badge { display: inline-block; padding: 6px 14px; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); color: white; border-radius: 100px; font-size: 12px; font-weight: 600; margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.2); letter-spacing: 1px; }
.arsenal-specs { display: flex; flex-direction: column; gap: 8px; }
.spec-line { color: rgba(255,255,255,0.9); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.spec-line::before { content: ''; width: 4px; height: 4px; background: var(--green); border-radius: 50%; }

/* 3. Premium Matrix (Equipment List) */
.premium-matrix-wrapper { overflow-x: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 40px 80px rgba(0,0,0,0.5); background: #080808; margin-top: 48px; }
.premium-matrix { width: 100%; border-collapse: collapse; text-align: left; min-width: 900px; color: rgba(255,255,255,0.8); }
.premium-matrix th { background: rgba(255,255,255,0.02); padding: 24px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 2px; border-bottom: 1px solid rgba(255,255,255,0.1); white-space: nowrap; }
.premium-matrix td { padding: 24px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.03); font-weight: 500; transition: all 0.2s cubic-bezier(0.16,1,0.3,1); position: relative; }
.premium-matrix tbody tr { transition: background 0.2s; }
.premium-matrix tbody tr:hover td { background: rgba(255,255,255,0.02); color: white; }
.matrix-tag { display: inline-block; padding: 6px 12px; background: rgba(61, 155, 94, 0.1); border: 1px solid rgba(61, 155, 94, 0.2); border-radius: 100px; font-size: 12px; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; box-shadow: inset 0 0 10px rgba(61, 155, 94, 0.05); }

/* 4. Strict Bento Gallery */
.bento-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.bento-item { border-radius: 16px; overflow: hidden; position: relative; background: #000; display: flex; align-items: flex-end; min-height: 400px; }
.bento-item.span-8 { grid-column: span 8; }
.bento-item.span-4 { grid-column: span 4; }
.bento-item.span-6 { grid-column: span 6; }
.bento-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1), opacity 0.6s; }
.bento-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 60%, transparent 100%); opacity: 0; transition: opacity 0.6s; pointer-events: none; z-index: 1; }
.bento-item:hover img { transform: scale(1.05); opacity: 0.8; }
.bento-item:hover::after { opacity: 1; }
.gallery-caption { position: relative; padding: 40px; color: white; transform: translateY(20px); opacity: 0; transition: all 0.6s cubic-bezier(0.16,1,0.3,1); z-index: 2; pointer-events: none; width: 100%; }
.bento-item:hover .gallery-caption { transform: translateY(0); opacity: 1; }
.gallery-caption-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; text-shadow: 0 4px 12px rgba(0,0,0,0.5); }
.gallery-caption-sub { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 1024px) {
    .arsenal-item.span-8, .arsenal-item.span-4, .arsenal-item.span-6 { grid-column: span 12; }
    .bento-item.span-8, .bento-item.span-4, .bento-item.span-6 { grid-column: span 12; min-height: 320px; }
}
