/* =========================================================
   ASP Power Solution & Earthing Point — main stylesheet
   Corporate Blue light theme: white, royal blue, orange accent
   ========================================================= */

:root {
    --blue: #1d4ed8;
    --blue-2: #2563eb;
    --blue-dark: #0b3d91;
    --navy: #0b2a5b;
    --blue-soft: #eaf1ff;
    --blue-soft-2: #dbe7ff;
    --orange: #f97316;
    --orange-2: #ea580c;
    --orange-soft: #fff1e6;
    --ink: #0f1f3d;
    --text: #4a5873;
    --muted: #6b7a94;
    --line: #e4eaf4;
    --bg: #ffffff;
    --bg-soft: #f5f8fe;
    --wa: #25d366;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow-sm: 0 4px 14px rgba(15, 31, 61, .06);
    --shadow: 0 14px 38px rgba(15, 31, 61, .09);
    --shadow-lg: 0 26px 60px rgba(15, 31, 61, .15);
    --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --header-h: 78px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.mt-24 { margin-top: 24px; }
.lead { font-size: 1.07rem; }
.hl { color: var(--blue); }
.show-sm { display: none; }
.center-row { display: flex; justify-content: center; margin-top: 44px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.kicker {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
    padding: 6px 14px; border-radius: 999px; background: var(--blue-soft); color: var(--blue);
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.kicker .icon { width: 14px; height: 14px; color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .9em 1.6em; border-radius: 10px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(29, 78, 216, .25); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 14px 28px rgba(29, 78, 216, .35); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 10px 22px rgba(249, 115, 22, .3); }
.btn-accent:hover { background: var(--orange-2); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-soft); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px rgba(37, 211, 102, .25); }
.btn-wa:hover { background: #1db954; }
.btn-lg { padding: 1.05em 1.9em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--blue); font-family: var(--font-head); font-size: .95rem; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-dark); color: #dbe7ff; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-links { display: flex; gap: 22px; align-items: center; }
.topbar-links a, .topbar-links span { display: inline-flex; align-items: center; gap: .45em; }
.topbar-links a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: #fdba74; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 26px rgba(15, 31, 61, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.brand-name b { color: var(--blue-2); font-weight: 700; }
.brand-sub { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-top: 3px; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav li > a {
    position: relative; display: block; padding: 10px 15px; border-radius: 8px;
    font-family: var(--font-head); font-weight: 500; font-size: .97rem; color: var(--ink);
    transition: color .2s, background .2s;
}
.main-nav li > a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav li > a:hover { color: var(--blue); }
.main-nav li > a.active { color: var(--blue); font-weight: 600; }
.main-nav li > a:hover::after, .main-nav li > a.active::after { transform: scaleX(1); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--blue-soft); position: relative; padding: 0; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--blue-dark); transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.nav-backdrop { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 110px 0 120px; background: #f7faff; }
/* Photo only covers the right part so the low-res image is not stretched across the full screen */
.hero-bg { position: absolute; top: 0; right: 0; width: 60%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, #f7faff 0%, #f7faff 40%, rgba(247, 250, 255, .85) 50%, rgba(247, 250, 255, .25) 66%, rgba(247, 250, 255, 0) 80%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 600px; }
.hero h1 { margin-bottom: 20px; color: var(--navy); }
.hero-lead { font-size: 1.12rem; max-width: 560px; margin-bottom: 32px; color: var(--text); }
.hero-lead strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; color: var(--ink); font-size: .94rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--blue); }

/* ---------- Feature cards ---------- */
.features { position: relative; z-index: 3; padding: 80px 0 20px; background: #fff; }
.features-head { text-align: center; margin-bottom: 40px; }
.features-head h2 { margin: 0; }
.feature-card { text-align: center; align-items: center; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
    display: flex; flex-direction: column; padding: 28px 22px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 4px solid var(--blue);
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-top-color: var(--orange); }
.feature-card h3 { margin: 18px 0 6px; }
.feature-card p { color: var(--muted); font-size: .93rem; margin-bottom: 14px; flex: 1; }
.feature-icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); transition: background .3s, color .3s; }
.feature-icon .icon { width: 28px; height: 28px; }
.feature-card:hover .feature-icon { background: var(--blue); color: #fff; }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.04rem; color: var(--muted); margin: 0; }
.split .section-head, .earth-grid .section-head { margin-bottom: 18px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.head-row .section-head { margin-bottom: 0; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.photo-stack { position: relative; padding: 0 0 50px 0; }
.photo-stack .p-main { width: 88%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.photo-stack .p-sub { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.photo-stack .p-label {
    position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px;
    background: var(--blue); color: #fff; border-radius: 14px; padding: 14px 20px; box-shadow: var(--shadow-lg);
}
.photo-stack .p-label strong { font-family: var(--font-head); font-size: 1.9rem; line-height: 1; }
.photo-stack .p-label span { font-size: .82rem; line-height: 1.35; color: #dbe7ff; }
.check-list { display: grid; gap: 12px; margin: 22px 0 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; margin-top: 2px; }
.call-inline { display: flex; align-items: center; gap: 12px; }
.call-inline-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); }
.call-inline small { display: block; color: var(--muted); font-size: .8rem; }
.call-inline strong { font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }
.cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 24px; }
.cap-list li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink); }
.cap-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; }

/* ---------- Tiles (service cards) ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tile { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tile-link { display: flex; flex-direction: column; height: 100%; }
.tile-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-soft); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.07); }
.tile-num { display: none; }
.tile-body { position: relative; padding: 40px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.tile-icon {
    position: absolute; top: -28px; left: 24px; width: 56px; height: 56px; border-radius: 14px;
    display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(29, 78, 216, .3);
    transition: background .3s;
}
.tile:hover .tile-icon { background: var(--orange); }
.tile-icon .icon { width: 26px; height: 26px; }
.tile-body h3 { margin-bottom: 8px; }
.tile-body p { color: var(--muted); font-size: .94rem; flex: 1; }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(120deg, var(--blue-dark), var(--blue-2)); padding: 64px 0; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.stats-band .stat { text-align: center; color: #dbe7ff; }
.stats-band .stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1.1; }
.stats-band .stat > span { display: block; margin-top: 6px; font-size: .95rem; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.stat-row .stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-row .stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--blue); line-height: 1.15; }
.stat-row .stat > span { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ---------- Brand gensets ---------- */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.brand-card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.brand-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-soft); }
.brand-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.brand-card:hover .brand-img img { transform: scale(1.05); }
.brand-tag { position: absolute; left: 18px; top: 18px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--blue); font-family: var(--font-head); font-weight: 600; font-size: .82rem; box-shadow: var(--shadow-sm); }
.brand-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.brand-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.brand-body > p { color: var(--muted); }
.brand-points { display: grid; gap: 10px; margin: 4px 0 24px; flex: 1; }
.brand-points li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 500; }
.brand-points .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); stroke-width: 3; }
.brand-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Earthing ---------- */
.earth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.earth-visual img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); }
.earth-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 30px; }
.earth-points div { padding: 18px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); }
.earth-points .icon { display: block; width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--orange-soft); color: var(--orange); margin-bottom: 10px; }
.earth-points strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; font-weight: 600; }
.earth-points span { font-size: .88rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 66px; left: 13%; right: 13%; border-top: 2px dashed #b7c9ef; }
.step { position: relative; text-align: center; padding: 30px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-icon { position: relative; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 0 0 8px var(--blue-soft); }
.step-icon .icon { width: 30px; height: 30px; }
.step-icon b { position: absolute; top: -4px; right: -6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: .82rem; font-family: var(--font-head); border: 3px solid #fff; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-item { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease); }
.project-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.project-item.hidden { display: none; }
.project-open { display: block; width: 100%; padding: 0; border: 0; background: var(--blue-soft); position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-open:hover img { transform: scale(1.07); }
.project-open::after { content: ""; position: absolute; inset: 0; background: rgba(29, 78, 216, .25); opacity: 0; transition: opacity .3s; }
.project-open:hover::after { opacity: 1; }
.project-zoom { position: absolute; z-index: 1; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s var(--ease); }
.project-zoom .icon { width: 24px; height: 24px; }
.project-open:hover .project-zoom, .project-open:focus-visible .project-zoom { opacity: 1; transform: none; }
.project-item figcaption { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.project-item figcaption strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.35; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-2); }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 22px; border-radius: 999px; font-family: var(--font-head); font-weight: 500; font-size: .93rem; transition: all .25s; }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(29, 78, 216, .25); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(11, 42, 91, .92); display: flex; align-items: center; justify-content: center; padding: 60px 80px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 14px; box-shadow: var(--shadow-lg); animation: zoomIn .35s var(--ease); }
.lightbox figcaption { color: #fff; margin-top: 16px; font-family: var(--font-head); font-weight: 500; text-align: center; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.95); } }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); display: grid; place-items: center; transition: background .2s, color .2s; }
.lightbox button:hover { background: var(--orange); color: #fff; }
.lightbox .icon { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- Clients ---------- */
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.client-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 22px 16px; min-height: 150px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.client-cell:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.client-cell img { max-height: 66px; max-width: 140px; width: auto; object-fit: contain; border-radius: 6px; }
.client-cell span { font-size: .78rem; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.3; }
.client-cta { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); border: 0; text-align: center; }
.client-cta strong { font-family: var(--font-head); font-size: 1.1rem; color: #fff; line-height: 1.3; }
.client-cta .link-arrow { color: #fdba74; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: #c7d8fb; }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 34px; gap: 14px; align-items: center; padding: 18px 22px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-n { display: none; }
.faq-q { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.4; }
.faq-item[open] .faq-q { color: var(--blue); }
.faq-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); transition: background .3s, color .3s; }
.faq-icon .icon { transition: transform .3s var(--ease); }
.faq-item[open] .faq-icon { background: var(--blue); color: #fff; }
.faq-item[open] .faq-icon .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p { margin: 0; }
.help-card { margin-top: 6px; padding: 30px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); display: grid; gap: 12px; }
.help-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.help-icon .icon { width: 26px; height: 26px; }
.help-card h3 { margin: 0; }
.help-card .btn, .side-cta .btn { white-space: normal; text-align: center; }
/* Let grid columns shrink below their content's natural width (prevents mobile side-scroll) */
.split > *, .earth-grid > *, .faq-wrap > *, .contact-grid > *, .detail-grid > *, .brand-grid > * { min-width: 0; }
.help-card p { margin: 0 0 6px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 90px; }
.cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 54px; border-radius: 24px;
    background: linear-gradient(120deg, var(--blue-dark), var(--blue-2)); color: #dbe7ff; position: relative; overflow: hidden;
    box-shadow: 0 26px 50px rgba(29, 78, 216, .25);
}
.cta-inner::after { content: ""; position: absolute; right: 22%; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.cta-inner p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.page-contact .cta-band { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-top: 70px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.site-footer h3 { font-size: 1.05rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--orange); }
.footer-about p { margin: 18px 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue); transition: background .25s, color .25s, transform .25s; }
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--blue); padding-left: 4px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { color: var(--ink); font-weight: 500; }
.footer-contact span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.footer-contact a { color: var(--ink); word-break: break-word; }
.footer-contact a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; font-size: .86rem; background: #fff; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.dev-link { color: var(--blue); font-weight: 600; }
.dev-link:hover { color: var(--orange); text-decoration: underline; }

/* ---------- Floating buttons ---------- */
.float-actions { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 26px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.float-btn:hover { transform: scale(1.08); }
.float-btn .icon { width: 26px; height: 26px; }
.float-wa { background: var(--wa); position: relative; }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.float-call { background: var(--blue); }
.to-top {
    position: fixed; left: 20px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 12px; border: 0;
    background: #fff; color: var(--blue); box-shadow: var(--shadow); display: grid; place-items: center;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: #fff; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 80px 0 84px; text-align: center; background: var(--blue-soft); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(234, 241, 255, .9); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--navy); font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 12px; }
.page-hero p { max-width: 640px; margin: 0 auto 22px; font-size: 1.06rem; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: .88rem; font-weight: 500; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .icon { width: 15px; height: 15px; color: var(--muted); }
.breadcrumb .current { color: var(--blue); font-weight: 600; }

/* ---------- About page ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value > .icon { display: block; width: 56px; height: 56px; padding: 13px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.value p { margin: 0; color: var(--muted); }
.why-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { padding: 26px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-item > .icon { display: block; width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); margin-bottom: 14px; }
.why-item p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.detail-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 36px; background: var(--blue-soft); }
.detail-img img { width: 100%; max-height: 520px; object-fit: cover; }
.detail-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.detail-content h3 { margin-top: 34px; font-size: 1.3rem; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.feature-list li { display: flex; gap: 12px; padding: 16px 18px; background: var(--bg-soft); border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .95rem; align-items: flex-start; }
.feature-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; margin-top: 1px; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.side-box { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.side-box h3 { margin-bottom: 16px; }
.side-services { display: grid; gap: 6px; }
.side-services a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); font-weight: 500; color: var(--ink); font-size: .94rem; transition: background .2s, color .2s; }
.side-services a:hover { background: var(--blue-soft); color: var(--blue); }
.side-services a.active { background: var(--blue); color: #fff; }
.side-services .icon { width: 16px; height: 16px; }
.side-cta { background: linear-gradient(140deg, var(--blue-dark), var(--blue-2)); color: #dbe7ff; border: 0; display: grid; gap: 12px; }
.side-cta h3 { color: #fff; margin: 0; }
.side-cta p { margin: 0 0 6px; }
.side-cta .btn-primary { background: #fff; color: var(--blue); box-shadow: none; }
.side-cta .btn-primary:hover { background: var(--blue-soft); }

/* ---------- Contact ---------- */
.contact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 24px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; min-width: 0; }
a.contact-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ci-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.ci-icon .icon { width: 24px; height: 24px; }
.contact-item.wa .ci-icon { background: #e3f9eb; color: var(--wa); }
.contact-item div { min-width: 0; }
.contact-item small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); }
.contact-item strong { display: block; color: var(--ink); font-size: .96rem; font-weight: 600; overflow-wrap: break-word; line-height: 1.35; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.form-card { background: #fff; border-radius: 22px; padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; color: var(--ink); font-size: .9rem; }
.form-group label .req { color: #dc2626; }
.form-control {
    width: 100%; font: inherit; font-size: .98rem; color: var(--ink); padding: 13px 16px; border-radius: 10px;
    border: 1.5px solid var(--line); background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(29, 78, 216, .12); }
.form-control.invalid { border-color: #dc2626; background: #fff5f5; }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field-error { color: #dc2626; font-size: .84rem; font-weight: 500; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 16px 0 0; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; margin-bottom: 24px; font-weight: 600; }
.alert .icon { width: 24px; height: 24px; margin-top: 1px; }
.alert-success { background: #ecfdf3; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert p { margin: 4px 0 0; font-weight: 400; }
.info-panel { display: grid; gap: 24px; }
.hours { display: grid; }
.hours li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours li:last-child { border: 0; }
.hours strong { color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 110px 0; background: var(--bg-soft); }
.notfound .code { font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 18vw, 10rem); line-height: 1; color: var(--blue); }
.notfound .code span { color: var(--orange); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
    .main-nav li > a { padding: 10px 11px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .why-list { grid-template-columns: 1fr 1fr; }
    .contact-strip { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .client-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
    :root { --header-h: 70px; }
    .hide-md { display: none !important; }
    .nav-toggle { display: block; z-index: 210; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); z-index: 200;
        background: #fff; padding: 90px 22px 30px; overflow-y: auto; box-shadow: -20px 0 50px rgba(15, 31, 61, .15);
        clip-path: inset(0 0 0 100%); visibility: hidden;
        transition: clip-path .45s var(--ease), visibility 0s linear .45s;
        display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
    }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav li > a { padding: 14px 16px; border-radius: 10px; font-size: 1.05rem; }
    .main-nav li > a::after { display: none; }
    .main-nav li > a.active { background: var(--blue-soft); }
    .nav-mobile-cta { display: grid; gap: 10px; }
    .nav-open .main-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease), visibility 0s; }
    .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 150; background: rgba(15, 31, 61, .35); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
    .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }
    body.nav-open .site-header { z-index: 300; }

    .hero { padding: 80px 0 90px; }
    .hero-bg { width: 100%; }
    .hero::before { background: linear-gradient(180deg, rgba(247, 250, 255, .96) 0%, rgba(247, 250, 255, .9) 65%, rgba(247, 250, 255, .8) 100%); }
    .split, .earth-grid, .contact-grid, .detail-grid, .faq-wrap { grid-template-columns: 1fr; gap: 44px; }
    .brand-grid { gap: 22px; }
    .sidebar { position: static; }
    .tile-grid, .project-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .steps::before { display: none; }
    .stats-grid, .stat-row { grid-template-columns: 1fr 1fr; }
    .value-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
    body { font-size: 15.5px; }
    .container { padding: 0 16px; }
    .section { padding: 70px 0; }
    .hide-sm { display: none !important; }
    .show-sm { display: inline; }
    .topbar { font-size: .8rem; }
    .brand-mark { width: 42px; height: 42px; }
    .brand-name { font-size: 1.2rem; }
    .brand-sub { font-size: .58rem; letter-spacing: .08em; }
    .hero { padding: 56px 0 64px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .features { padding: 50px 0 20px; }
    .features-head { margin-bottom: 28px; }
    .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .feature-card { padding: 20px 16px; }
    .feature-card p { font-size: .84rem; }
    .feature-card .link-arrow { font-size: .85rem; }
    .feature-icon { width: 48px; height: 48px; }
    .feature-card h3 { font-size: 1rem; margin-top: 14px; }
    .section-head { margin-bottom: 36px; }
    .photo-stack .p-main { width: 100%; }
    .photo-stack .p-sub { width: 38%; }
    .photo-stack .p-label { left: 12px; bottom: 12px; padding: 12px 14px; }
    .photo-stack .p-label strong { font-size: 1.5rem; }
    .tile-grid, .project-grid, .brand-grid { grid-template-columns: 1fr; }
    .brand-body { padding: 22px 20px 24px; }
    .brand-actions .btn { flex: 1 1 auto; }
    .stats-band { padding: 48px 0; }
    .stats-grid { gap: 28px 12px; }
    .stat-row { gap: 12px; }
    .stat-row .stat { padding: 18px 10px; }
    .earth-points { grid-template-columns: 1fr 1fr; gap: 10px; }
    .earth-points div { padding: 14px; }
    .steps { grid-template-columns: 1fr; }
    .client-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .client-cell { min-height: 124px; padding: 18px 10px; }
    .client-cell img { max-width: 110px; max-height: 54px; }
    .faq-item summary { padding: 16px 16px; }
    .faq-answer { padding: 0 16px 18px; }
    .cta-band { padding-bottom: 60px; }
    .cta-inner { padding: 34px 22px; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1 1 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
    .footer-about, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-bottom-inner { flex-direction: column; text-align: center; align-items: center; }
    .footer-bottom { padding-bottom: 86px; }
    .form-card { padding: 26px 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-actions .btn { flex: 1 1 100%; }
    .feature-list, .cap-list { grid-template-columns: 1fr; }
    .why-list { grid-template-columns: 1fr; }
    .contact-strip { grid-template-columns: 1fr; gap: 12px; }
    .page-hero { padding: 54px 0 58px; }
    .lightbox { padding: 70px 12px; }
    .lb-prev, .lb-next { top: auto !important; bottom: 14px; transform: none !important; }
    .lb-prev { left: calc(50% - 62px); }
    .lb-next { right: calc(50% - 62px); }
    .float-btn { width: 50px; height: 50px; }
    .float-actions { right: 14px; bottom: 16px; }
    .to-top { left: 14px; bottom: 16px; }
    .head-row .btn { width: 100%; }
}

@media (max-width: 340px) {
    .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
    .earth-points { grid-template-columns: 1fr; }
    .brand-sub { font-size: .52rem; }
}
