/* ============================================================
   SUNVERA ENERGY — Premium Solar Theme
   ============================================================ */
:root {
  --navy-900: #081826;
  --navy-800: #0b2035;
  --navy-700: #10304e;
  --navy-100: #e8eef5;
  --amber-500: #f7a51b;
  --amber-600: #ef8f0b;
  --amber-grad: linear-gradient(135deg, #ffc23c 0%, #f7941e 100%);
  --sky-50: #f4f8fc;
  --white: #ffffff;
  --text: #24313f;
  --text-soft: #5b6b7c;
  --line: #e3eaf2;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(8, 24, 38, .06);
  --shadow-md: 0 12px 34px rgba(8, 24, 38, .12);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* overflow-x: clip (not hidden) — hidden turns the element into a scroll
   container, which breaks the sticky header and lets fixed elements drift when
   anything overflows. clip just clips. The hidden line is the older fallback. */
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; overflow-x: hidden; overflow-x: clip; max-width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy-900); font-weight: 800; letter-spacing: -.01em; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff; padding: 8px 16px; z-index: 300; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: .25s; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--amber-grad); color: #21150a; box-shadow: 0 8px 22px rgba(247, 148, 30, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(247, 148, 30, .45); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: #cfdcea; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 18px; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: #cfdcea; }
.topbar-item:hover { color: var(--amber-500); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-badge { background: rgba(247, 165, 27, .15); color: var(--amber-500); padding: 3px 12px; border-radius: 999px; font-weight: 600; font-size: 12px; }
.topbar-social { display: flex; gap: 4px; }
.topbar-social a { display: inline-flex; padding: 6px; border-radius: 50%; color: #cfdcea; }
.topbar-social a:hover { color: var(--amber-500); background: rgba(255,255,255,.08); }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 20px; font-weight: 800; color: var(--navy-900); letter-spacing: .06em; }
.brand-text em { font-style: normal; font-size: 11px; letter-spacing: .42em; color: var(--amber-600); font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 16px; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav ul a { display: block; padding: 10px 11px; font-weight: 600; font-size: 14.5px; white-space: nowrap; color: var(--navy-800); border-radius: 10px; transition: .2s; }
.main-nav ul a:hover { color: var(--amber-600); background: var(--sky-50); }
.main-nav ul a.active { color: var(--amber-600); }
.nav-cta { padding: 11px 18px; font-size: 13.5px; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2.6px; background: var(--navy-900); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; background: rgba(8,24,38,.5); z-index: 190; opacity: 0; transition: opacity .3s; }
.nav-overlay.show { opacity: 1; }
/* Drawer chrome — only rendered on mobile (see the ≤1024px block) */
.nav-drawer-head, .nav-drawer-foot, .nav-close { display: none; }

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; background: var(--navy-900); }
.hero-slide { grid-area: 1/1; min-width: 0; position: relative; display: flex; align-items: center; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,18,30,.92) 20%, rgba(6,18,30,.55) 55%, rgba(6,18,30,.25)); z-index: 1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-slide.active .hero-bg { animation: heroZoom 7s ease forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero-content { position: relative; z-index: 2; padding: 90px 0; max-width: 640px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(247,165,27,.16); border: 1px solid rgba(247,165,27,.4); color: #ffc766; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; }
.hero h1, .hero h2 { color: #fff; font-size: clamp(34px, 5vw, 58px); margin-bottom: 18px; line-height: 1.12; }
.hero .accent { background: var(--amber-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #c9d7e4; font-size: clamp(15px, 1.6vw, 18px); margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button { width: 34px; height: 5px; border-radius: 99px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s; }
.hero-dots button.active { background: var(--amber-500); width: 48px; }

/* ---------- Marquee strip ---------- */
.marquee { background: var(--amber-grad); overflow: hidden; padding: 13px 0; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 26s linear infinite; width: max-content; }
.marquee-track span { font-weight: 800; color: #251503; letter-spacing: .14em; font-size: 14px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "☀"; font-size: 15px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-alt { background: var(--sky-50); }
.section-dark { background: var(--navy-900); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; color: var(--amber-600); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: 12.5px; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(27px, 3.4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--text-soft); font-size: 16.5px; }
.section-dark .section-head p { color: #a7b8c8; }

/* ---------- Cards & grids ---------- */
/* minmax(0, 1fr) rather than 1fr: a bare 1fr has an auto minimum, so a single
   wide child (long heading, image, table) can push the track past the screen. */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; box-shadow: var(--shadow-sm); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px; }
.card-body h3 { font-size: 19px; margin-bottom: 10px; }
.card-body p { color: var(--text-soft); font-size: 14.5px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--amber-600); font-weight: 700; font-size: 14px; }
.card-link:hover { gap: 10px; }

.icon-card { padding: 30px 26px; text-align: left; }
.icon-card .ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(247,165,27,.13); font-size: 26px; margin-bottom: 18px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { text-align: center; padding: 34px 16px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.stat b { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: var(--amber-500); }
.stat span { color: #a7b8c8; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Why choose / feature list ---------- */
.feature-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row .fi { flex: 0 0 46px; height: 46px; display: grid; place-items: center; background: rgba(247,165,27,.13); color: var(--amber-600); border-radius: 12px; font-size: 21px; }
.feature-row h4 { font-size: 16.5px; margin-bottom: 4px; }
.feature-row p { color: var(--text-soft); font-size: 14px; }

.img-frame { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); }
.img-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,24,38,.55)); }
.img-badge { position: absolute; z-index: 2; bottom: 20px; left: 20px; background: rgba(255,255,255,.95); border-radius: 14px; padding: 14px 20px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-md); }
.img-badge b { font-size: 22px; color: var(--navy-900); }
.img-badge span { font-size: 12.5px; color: var(--text-soft); font-weight: 600; }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -16px; left: 22px; background: var(--amber-grad); color: #251503; font-weight: 800; padding: 5px 14px; border-radius: 99px; font-size: 14px; }
.step h3 { font-size: 17px; margin: 8px 0; }
.step p { font-size: 14px; color: var(--text-soft); }

/* ---------- Testimonials ---------- */
.testi { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.testi p { color: var(--text); font-size: 15px; font-style: italic; }
.testi .who { display: flex; gap: 12px; align-items: center; }
.testi .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-800); color: var(--amber-500); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.testi .who b { display: block; font-size: 14.5px; color: var(--navy-900); }
.testi .who span { font-size: 12.5px; color: var(--text-soft); }
.testi .starline { color: var(--amber-500); letter-spacing: 2px; font-size: 14px; }

/* ---------- Insta / gallery ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.insta-grid a { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.insta-grid a:hover img { transform: scale(1.08); }
.insta-grid a::after { content: "\2197"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8,24,38,.45); color: #fff; font-size: 22px; opacity: 0; transition: .3s; }
.insta-grid a:hover::after { opacity: 1; }

/* ---------- Blog ---------- */
.blog-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--text-soft); margin-bottom: 8px; font-weight: 600; }
.badge-cat { background: rgba(247,165,27,.14); color: var(--amber-600); padding: 2px 10px; border-radius: 99px; font-weight: 700; }
.post-hero { background: var(--navy-900); color: #fff; padding: clamp(50px, 7vw, 80px) 0 40px; }
.post-hero h1 { color: #fff; font-size: clamp(26px, 3.6vw, 42px); max-width: 850px; }
.post-hero .blog-meta { color: #a7b8c8; margin-top: 14px; }
.post-body { max-width: 820px; margin: 0 auto; font-size: 16.5px; }
.post-body img { border-radius: var(--radius); margin: 26px 0; }
.post-body h2 { font-size: 26px; margin: 34px 0 12px; }
.post-body h3 { font-size: 20px; margin: 26px 0 10px; }
.post-body p { margin-bottom: 16px; color: #374557; }
.post-body ul, .post-body ol { margin: 0 0 18px 22px; color: #374557; }
.post-body ul { list-style: disc; }
.post-body li { margin-bottom: 6px; }
.post-body blockquote { border-left: 4px solid var(--amber-500); background: var(--sky-50); padding: 16px 22px; border-radius: 0 12px 12px 0; margin: 22px 0; font-style: italic; }

/* ---------- Pages / legal ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding: clamp(54px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: "☀"; position: absolute; right: -30px; top: -50px; font-size: 260px; opacity: .05; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.breadcrumbs { display: flex; gap: 8px; font-size: 13.5px; color: #9db1c4; margin-top: 12px; flex-wrap: wrap; }
.breadcrumbs a { color: #cfdcea; }
.breadcrumbs a:hover { color: var(--amber-500); }
.prose { max-width: 860px; }
.prose h2 { font-size: 24px; margin: 30px 0 12px; }
.prose h3 { font-size: 19px; margin: 22px 0 8px; }
.prose p { margin-bottom: 14px; color: #374557; }
.prose ul { list-style: disc; margin: 0 0 16px 22px; color: #374557; }
.prose li { margin-bottom: 6px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--navy-800); }
input, select, textarea { width: 100%; padding: 13px 16px; border: 1.6px solid var(--line); border-radius: 12px; font-family: var(--font); font-size: 15px; background: var(--sky-50); transition: .2s; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber-500); background: #fff; box-shadow: 0 0 0 4px rgba(247,165,27,.14); }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--text-soft); margin-top: 12px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; font-size: 14.5px; }
.alert-success { background: #e8f8ee; color: #14683a; border: 1px solid #b9e8cb; }
.alert-error { background: #fdeeee; color: #a12b2b; border: 1px solid #f3c4c4; }

.contact-info-card { background: var(--navy-900); color: #cfdcea; border-radius: 20px; padding: clamp(24px, 4vw, 38px); height: 100%; }
.contact-info-card h3 { color: #fff; font-size: 22px; margin-bottom: 20px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-line .ci { flex: 0 0 44px; height: 44px; display: grid; place-items: center; background: rgba(247,165,27,.16); border-radius: 12px; font-size: 19px; }
.contact-line b { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.contact-line a, .contact-line span.val { color: #cfdcea; font-size: 14.5px; }
.contact-line a:hover { color: var(--amber-500); }
.map-embed { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 40px; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- CTA banner in footer ---------- */
.site-footer { background: var(--navy-900); color: #b7c6d5; margin-top: 0; }
.footer-cta { background: var(--amber-grad); }
.footer-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 0; flex-wrap: wrap; }
.footer-cta h2 { color: #21150a; font-size: clamp(21px, 2.6vw, 30px); max-width: 560px; }
.footer-cta p { color: #4a3311; font-weight: 600; font-size: 14.5px; margin-top: 6px; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cta .btn-outline-light { border-color: rgba(33,21,10,.4); color: #21150a; }
.footer-cta .btn-outline-light:hover { background: rgba(33,21,10,.08); }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr); gap: 36px; padding: 60px 0 40px; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 18px; letter-spacing: .04em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #b7c6d5; font-size: 14.5px; transition: .2s; }
.footer-col a:hover { color: var(--amber-500); padding-left: 4px; }
.footer-about p { font-size: 14px; margin: 16px 0 20px; }
.brand-footer .brand-text strong { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.footer-social a:hover { background: var(--amber-500); color: #21150a; padding-left: 0; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0; }
.footer-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--amber-500); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .45); animation: waPulse 2.4s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { 0%,100% { box-shadow: 0 10px 26px rgba(37,211,102,.45); } 50% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,.12); } }

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

/* ---------- Projects ---------- */
.project-card .card-img { position: relative; }
.proj-cap { position: absolute; top: 12px; left: 12px; background: var(--amber-grad); color: #21150a; font-weight: 800; font-size: 12.5px; padding: 5px 13px; border-radius: 99px; box-shadow: 0 4px 12px rgba(8,24,38,.2); }
.proj-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 36px; }
.proj-summary > div { text-align: center; padding: 24px 14px; border-radius: var(--radius); background: var(--sky-50); border: 1px solid var(--line); }
.proj-summary b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--navy-900); }
.proj-summary span { font-size: 12.5px; color: var(--text-soft); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-btn { padding: 10px 22px; border-radius: 999px; border: 1.8px solid var(--line); background: #fff; font-family: var(--font); font-weight: 700; font-size: 14px; color: var(--navy-800); cursor: pointer; transition: .22s; }
.filter-btn:hover { border-color: var(--amber-500); color: var(--amber-600); }
.filter-btn.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.project-card.hide { display: none; }
.no-results { text-align: center; color: var(--text-soft); padding: 40px 0; }

.spec-card { background: var(--navy-900); color: #cfdcea; border-radius: 20px; padding: 28px; position: sticky; top: 100px; }
.spec-card h3 { color: #fff; font-size: 19px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.spec-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { font-size: 13px; color: #93a7ba; font-weight: 600; flex: 0 0 auto; }
.spec-list dd { font-size: 13.5px; color: #fff; font-weight: 700; text-align: right; }

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: .25s; }
.faq-item.open { border-color: var(--amber-500); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 22px; background: none; border: 0; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: 15.5px; color: var(--navy-900); text-align: left; line-height: 1.45; }
.faq-q:hover { color: var(--amber-600); }
.faq-q em { flex: 0 0 30px; height: 30px; display: grid; place-items: center; background: rgba(247,165,27,.14); color: var(--amber-600); border-radius: 50%; font-style: normal; font-size: 19px; font-weight: 700; transition: .28s; }
.faq-item.open .faq-q em { transform: rotate(45deg); background: var(--amber-500); color: #fff; }
.faq-a { padding: 0 22px 20px; }
.faq-a p { color: var(--text-soft); font-size: 15px; margin: 0; }

/* ---------- Service area chips ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 13.5px; font-weight: 600; color: var(--navy-800); transition: .22s; }
.area-chip:hover { border-color: var(--amber-500); color: var(--amber-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; min-width: 660px; border-collapse: collapse; background: #fff; font-size: 14.5px; }
.compare-table th { background: var(--navy-900); color: #fff; text-align: left; padding: 15px 18px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.compare-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--text-soft); vertical-align: top; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:nth-child(even) td { background: var(--sky-50); }
.compare-table td strong { color: var(--navy-900); font-size: 15px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--amber-500), rgba(247,165,27,.15)); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--amber-500); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--amber-500); }
.tl-item h4 { font-size: 17px; margin-bottom: 6px; }
.tl-item p { color: var(--text-soft); font-size: 14.5px; }
.tl-item span.tl-tag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--amber-600); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- Trust badges ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-item { display: flex; gap: 13px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.trust-item .ti { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(247,165,27,.13); font-size: 21px; }
.trust-item b { display: block; font-size: 14.5px; color: var(--navy-900); }
.trust-item span { font-size: 12.5px; color: var(--text-soft); }

/* ---------- Footer service areas ---------- */
.footer-areas { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; }
.footer-areas h4 { color: #fff; font-size: 13px; margin-bottom: 10px; letter-spacing: .06em; text-transform: uppercase; }
.footer-areas p { font-size: 13px; color: #93a7ba; line-height: 1.9; }
.footer-areas a { color: #93a7ba; }
.footer-areas a:hover { color: var(--amber-500); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1.6px solid var(--line); font-weight: 700; font-size: 14px; }
.pagination .cur { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.pagination a:hover { border-color: var(--amber-500); color: var(--amber-600); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proj-summary { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .spec-card { position: static; }
}

@media (max-width: 1120px) {
  /* Mobile nav drawer. Breakpoint is 1120px, not the usual tablet width: with
     8 menu items plus the logo and CTA, the desktop header stops fitting below
     roughly 1100px, so the drawer has to take over before that. */

  /* backdrop-filter makes the header a containing block for its position:fixed
     children, which would trap the drawer inside the 75px header box. Drop it
     here so the drawer positions against the viewport. */
  .site-header { backdrop-filter: none; background: #fff; }

  .nav-toggle { display: flex; }

  /* Drawer: full viewport height, never wider than the screen. 100dvh keeps it
     correct while mobile browser chrome hides/shows. */
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 88vw); max-width: 100vw;
    height: 100vh; height: 100dvh;
    background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0 0 calc(18px + env(safe-area-inset-bottom));
    transform: translateX(105%);
    transition: transform .32s cubic-bezier(.22,.9,.3,1);
    z-index: 220;
    box-shadow: -18px 0 50px rgba(8,24,38,.22);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .main-nav.open { transform: translateX(0); }

  .nav-drawer-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 18px; border-bottom: 1px solid var(--line);
    position: sticky; top: 0; background: #fff; z-index: 2;
  }
  .nav-drawer-head .brand-text strong { font-size: 17px; }
  .nav-drawer-head .brand-text em { font-size: 9.5px; letter-spacing: .34em; }
  .nav-close {
    display: grid; place-items: center; flex: 0 0 40px; height: 40px;
    border: 1px solid var(--line); border-radius: 12px; background: var(--sky-50);
    color: var(--navy-900); cursor: pointer;
  }
  .nav-close:active { background: #e7edf5; }

  .main-nav ul { flex-direction: column; gap: 2px; padding: 12px 14px 4px; }
  .main-nav ul a {
    padding: 14px 16px; font-size: 16px; border-radius: 12px;
    display: flex; align-items: center; min-height: 50px;
  }
  .main-nav ul a.active { background: rgba(247,165,27,.12); color: var(--amber-600); }
  .main-nav ul a:active { background: var(--sky-50); }

  .nav-cta { margin: 8px 14px 0; width: calc(100% - 28px); min-height: 50px; }

  .nav-drawer-foot { display: grid; gap: 8px; margin-top: auto; padding: 18px 14px 0; }
  .nav-foot-link {
    display: flex; align-items: center; gap: 9px; padding: 12px 16px;
    border: 1px solid var(--line); border-radius: 12px;
    font-size: 14.5px; font-weight: 600; color: var(--navy-800); min-height: 48px;
  }
  .nav-foot-wa { background: #e8f9ee; border-color: #bfe9cd; color: #14683a; }

  /* Toggle sits above the overlay but below the drawer */
  .site-header .nav-toggle { position: relative; z-index: 210; }
  /* The drawer carries its own close button, so hide the burger while it is open */
  .nav-toggle[aria-expanded="true"] { opacity: 0; pointer-events: none; }
}

@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .faq-q { font-size: 15px; padding: 17px 18px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hide-sm { display: none !important; }
  .proj-summary { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .proj-summary > div { padding: 18px 10px; }
  .trust-strip { grid-template-columns: 1fr; }
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 9px 16px; font-size: 13px; }
  .timeline { padding-left: 28px; }
  .spec-list > div { flex-direction: column; gap: 2px; }
  .spec-list dd { text-align: left; }
  .topbar-in { justify-content: center; }
  .topbar-right { display: none; }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 28px; }
  .footer-bottom-in { justify-content: center; text-align: center; }
  .hero { min-height: 80vh; }
  .hero-content { padding: 70px 0; }
  .hero-actions .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-cta-in { text-align: center; justify-content: center; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .brand-logo { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
