/* Modtech Works Limited — brand: navy, red, yellow (from flyers & price list) */
:root {
  --navy: #1d1b4c;
  --navy-2: #26235f;
  --navy-3: #13123a;
  --red: #e0193a;
  --red-dark: #b8122d;
  --yellow: #ffd60a;
  --yellow-soft: #fff6c7;
  --ink: #17163a;
  --muted: #5d5c7a;
  --line: #e4e3ef;
  --tint: #f5f5fb;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 18px 50px -20px rgba(29, 27, 76, .35);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font: 600 .95rem var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(224, 25, 58, .7); }
.btn-red:hover { background: var(--red-dark); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #ffe23f; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--red); font: 600 .85rem var(--font); cursor: pointer; }

.badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .35em .8em; border-radius: 6px; }
.badge-yellow { background: var(--yellow); color: var(--navy); }
.badge-navy { background: var(--navy); color: #fff; }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin-bottom: .9rem; }
.eyebrow-light { color: var(--yellow); }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--navy); }
.section-navy .h2, .section-head-light .h2 { color: #fff; }
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: #d9d8f0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head-light p { color: #c9c8e6; }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: .82rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(29, 27, 76, .1); }
.field input.invalid { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: center; font-size: .9rem; margin: 4px 0 18px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.form-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Top bar & header */
.topbar { background: var(--navy-3); color: #c9c8e6; font-size: .8rem; border-bottom: 3px solid var(--red); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 16px; }
.topbar-lines { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.topbar-lines i { color: var(--red); font-style: normal; margin: 0 .4em; }
.topbar-contact { display: flex; gap: 18px; }
.topbar-contact a { text-decoration: none; }
.topbar-contact a:hover { color: var(--yellow); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header.scrolled { box-shadow: 0 6px 24px -12px rgba(29, 27, 76, .3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: .88rem; font-weight: 500; padding: .5em .7em; border-radius: 8px; color: var(--navy); }
.nav a:not(.btn):hover { background: var(--tint); }
.nav .nav-cta { color: #fff; margin-left: 8px; padding: .65em 1.2em; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 72px 0 88px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .3; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(29, 27, 76, .7) 20%, rgba(29, 27, 76, .45) 65%, rgba(29, 27, 76, .3)); }
.hero::before { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(255, 214, 10, .08); z-index: 1; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
.hl { color: var(--yellow); }
.lead { font-size: 1.1rem; color: #d6d5ee; max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 40px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 24px; }
.hero-trust b { display: block; font-size: 1.35rem; color: #fff; }
.hero-trust span { font-size: .78rem; color: #b5b4d8; }
.lead-card { color: var(--ink); border-top: 6px solid var(--red); }
.lead-card-head h2 { font-size: 1.45rem; color: var(--navy); margin-top: 12px; }
.lead-card-head p { color: var(--muted); font-size: .9rem; }

/* Strip */
.strip { background: var(--yellow); }
.strip-inner { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.strip-label { flex: none; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--red); }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.strip ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0 28px 0 0; }
.strip li { font-weight: 700; color: var(--navy); font-size: .92rem; white-space: nowrap; }
.strip li::after { content: "•"; color: var(--red); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 20px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-badge { position: absolute; right: -20px; bottom: 32px; background: var(--red); color: #fff; padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow); }
.about-badge b { display: block; font-size: 1.4rem; }
.about-badge span { font-size: .8rem; opacity: .9; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.mv-item { border-left: 4px solid var(--yellow); padding-left: 16px; }
.mv-item h3 { font-size: 1.05rem; color: var(--navy); }
.mv-item p { font-size: .92rem; color: var(--muted); margin: 0; }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.values li { background: var(--tint); border-radius: 12px; padding: 14px 16px; }
.values b { display: block; color: var(--navy); font-size: .95rem; }
.values span { font-size: .82rem; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.1rem; color: var(--navy); }
.service ul { padding-left: 18px; margin: 0; color: var(--muted); font-size: .9rem; }
.service li { margin-bottom: 6px; }
.service li::marker { color: var(--red); }
.also { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.also span { font-weight: 600; color: var(--muted); margin-right: 6px; }
.also b { background: #fff; border: 1px solid var(--line); padding: .45em 1em; border-radius: 999px; font-size: .85rem; color: var(--navy); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: start; }
.calc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.calc-head h3 { margin: 0; color: var(--navy); font-size: 1.15rem; }
.appliances { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.appl { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s; }
.appl.on { border-color: var(--navy); background: #f7f7fd; }
.appl-name { font-weight: 600; font-size: .9rem; color: var(--navy); }
.appl-meta { font-size: .75rem; color: var(--muted); grid-column: 1; }
.qty { display: flex; align-items: center; gap: 4px; grid-row: span 2; }
.qty button { width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font: 700 1rem var(--font); color: var(--navy); cursor: pointer; line-height: 1; }
.qty button:hover { border-color: var(--navy); }
.qty output { min-width: 22px; text-align: center; font-weight: 700; }
.calc-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.calc-result { position: sticky; top: 100px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.calc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.calc-metrics div { background: var(--navy-2); border-radius: 12px; padding: 12px 14px; }
.calc-metrics span { display: block; font-size: .72rem; color: #b5b4d8; text-transform: uppercase; letter-spacing: .06em; }
.calc-metrics b { font-size: 1.2rem; }
.rec { background: #fff; color: var(--ink); border-radius: 14px; padding: 20px; }
.rec-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.rec-name { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin: 4px 0 6px; }
.rec-spec { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.rec-price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.rec-price span { display: block; font-size: .72rem; color: var(--muted); }
.rec-price b { font-size: 1.1rem; color: var(--navy); }
.rec-savings { background: var(--yellow-soft); border-radius: 10px; padding: 10px 12px; font-size: .85rem; margin-bottom: 14px; }
.calc-note { font-size: .75rem; color: #b5b4d8; margin: 14px 0 0; }

/* Price list */
.toggle { display: inline-flex; background: var(--navy-2); border-radius: 999px; padding: 5px; margin-bottom: 32px; }
.toggle button { border: 0; background: none; color: #c9c8e6; font: 600 .9rem var(--font); padding: .7em 1.4em; border-radius: 999px; cursor: pointer; }
.toggle button.active { background: var(--yellow); color: var(--navy); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.pkg { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .2s; }
.pkg:hover { transform: translateY(-4px); }
.pkg.popular { box-shadow: 0 0 0 3px var(--yellow); }
.pkg-ribbon { position: absolute; top: 14px; right: 14px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .3em .7em; border-radius: 6px; }
.pkg-size { font-size: 2rem; font-weight: 800; color: var(--red); line-height: 1; }
.pkg-tier { display: inline-block; margin-top: 8px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--navy); color: #fff; padding: .25em .6em; border-radius: 5px; }
.pkg-tier.alt { background: var(--yellow); color: var(--navy); }
.pkg-spec { list-style: none; padding: 0; margin: 16px 0; font-size: .85rem; }
.pkg-spec li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.pkg-spec li span { color: var(--muted); }
.pkg-spec li b { text-align: right; color: var(--navy); font-weight: 600; }
.pkg-loads { font-size: .8rem; color: var(--muted); margin-bottom: 16px; }
.pkg-loads strong { color: var(--navy); display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.pkg-price { margin-top: auto; font-size: 1.55rem; font-weight: 800; color: var(--navy); }
.pkg-monthly { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.pkg-monthly b { color: var(--red); }
.pkg .btn { padding: .7em 1em; font-size: .88rem; }
.price-foot { font-size: .8rem; color: #a9a8cf; margin-top: 28px; max-width: 820px; }

/* Financing */
.fin-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.fin-points { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 32px; }
.fin-points li { background: var(--tint); border-radius: 12px; padding: 16px; border-top: 4px solid var(--yellow); }
.fin-points b { display: block; color: var(--navy); }
.fin-points span { font-size: .85rem; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 56px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 800; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 2px; width: 2px; background: var(--line); }
.steps b { display: block; color: var(--navy); }
.steps span { font-size: .9rem; color: var(--muted); }
.fin-calc { position: sticky; top: 100px; border-top: 6px solid var(--yellow); }
.fin-calc h3 { color: var(--navy); margin: 14px 0 16px; font-size: 1.3rem; }
.fin-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.fin-out div { background: var(--tint); border-radius: 12px; padding: 12px 14px; }
.fin-out span { display: block; font-size: .75rem; color: var(--muted); }
.fin-out b { color: var(--navy); font-size: 1.05rem; }
.fin-out .fin-big { grid-column: 1 / -1; background: var(--navy); }
.fin-out .fin-big span { color: #c9c8e6; }
.fin-out .fin-big b { color: var(--yellow); font-size: 1.9rem; }
.fin-calc .btn + .btn { margin-top: 10px; }

/* Projects */
.filters { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.filters button { border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: 600 .88rem var(--font); padding: .55em 1.2em; border-radius: 999px; cursor: pointer; }
.filters button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot { position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/5; background: var(--line); border: 0; padding: 0; text-align: left; font: inherit; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shot:hover img { transform: scale(1.05); }
.shot-cap { position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(19, 18, 58, .92)); color: #fff; }
.shot-cap small { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--yellow); color: var(--navy); padding: .2em .5em; border-radius: 4px; margin-bottom: 6px; }
.shot-cap b { display: block; font-size: .9rem; line-height: 1.3; }
.shot[hidden] { display: none; }

/* Leadership */
.lead-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.ceo-photo { position: relative; }
.ceo-photo img { border-radius: 24px; background: linear-gradient(160deg, var(--yellow-soft), var(--tint)); box-shadow: var(--shadow); aspect-ratio: 1/1.05; object-fit: cover; width: 100%; }
.ceo-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--red); border-radius: 24px; z-index: -1; }
.ceo-tags { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.ceo-tags span { background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700; padding: .4em .7em; border-radius: 6px; }
.ceo-name { font-size: 1.5rem; color: var(--navy); margin: 8px 0 0; }
.ceo-role { color: var(--red); font-weight: 600; font-size: .9rem; }
blockquote { margin: 20px 0; padding: 20px 24px; background: var(--tint); border-left: 5px solid var(--yellow); border-radius: 0 14px 14px 0; font-size: 1.08rem; font-style: italic; color: var(--navy); }
.expertise { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.expertise li { border: 1.5px solid var(--line); border-radius: 999px; padding: .35em .9em; font-size: .82rem; font-weight: 600; color: var(--navy); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-grid div { background: var(--navy-2); border-radius: 14px; padding: 24px; border-left: 4px solid var(--red); }
.why-grid b { display: block; font-size: 1.6rem; color: var(--yellow); }
.why-grid span { color: #d6d5ee; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: -100px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .08); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; position: relative; }
.cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.cta-inner p { margin: 0; color: #ffe0e5; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; }
.ci svg { width: 20px; height: 20px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list b { display: block; color: var(--navy); font-size: .9rem; }
.contact-list span { color: var(--muted); font-size: .92rem; }
.contact-list a { text-decoration: none; color: var(--navy); font-weight: 500; }
.contact-list a:hover { color: var(--red); }
.map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); height: 240px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact-form h3 { color: var(--navy); font-size: 1.3rem; }

/* Footer */
.footer { background: var(--navy-3); color: #b5b4d8; padding: 64px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-logo { background: #fff; border-radius: 10px; padding: 8px 12px; height: 64px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer a, .footer span { display: block; text-decoration: none; margin-bottom: 8px; }
.footer a:hover { color: var(--yellow); }
.footer .small { font-size: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; padding-bottom: 24px; font-size: .8rem; }
.footer-bottom span { display: inline; margin: 0; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10, 9, 30, .92); z-index: 100; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1000px; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; }
.lb-close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* Toast */
/* SolarFlow (installer tool) */
.sf { background: linear-gradient(180deg, var(--tint), #fff); border-top: 1px solid var(--line); }
.sf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sf-hl { color: var(--red); }
.sf-lead { color: var(--muted); font-size: 1.05rem; }
.sf-lead b { color: var(--navy); }
.sf-steps { list-style: none; counter-reset: sf; padding: 0; margin: 24px 0 28px; display: grid; gap: 16px; }
.sf-steps li { counter-increment: sf; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.sf-steps li::before { content: counter(sf, decimal-leading-zero); grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.sf-steps b { color: var(--navy); }
.sf-steps span { color: var(--muted); font-size: .92rem; }
.sf-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.sf-note { margin: 14px 0 0; font-size: .82rem; font-weight: 600; color: var(--navy); }
.sf-window { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.sf-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--navy); }
.sf-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.sf-bar i:first-child { background: var(--red); }
.sf-bar i:nth-child(2) { background: var(--yellow); }
.sf-bar span { margin-left: 10px; font-size: .75rem; color: #c9c8e6; }
.sf-body { padding: 22px; }
.sf-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 10px; }
.sf-items { list-style: none; padding: 0; margin: 0 0 16px; }
.sf-items li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.sf-items b { color: var(--navy); }
.sf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.sf-stats div { background: var(--tint); border-radius: 10px; padding: 10px 12px; }
.sf-stats span { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; }
.sf-stats b { color: var(--navy); font-size: 1.05rem; }
.sf-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--navy); color: #fff; border-radius: 12px; padding: 14px 16px; }
.sf-result span { display: block; font-size: .7rem; color: #c9c8e6; }
.sf-result b { font-size: .9rem; }
.sf-pill { flex: none; background: var(--yellow); color: var(--navy) !important; font-weight: 800; font-size: .72rem !important; padding: 6px 10px; border-radius: 999px; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sf-chips span { font-size: .78rem; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 900px) { .sf-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 600px) { .sf-stats { grid-template-columns: 1fr 1fr; } .sf-result { flex-direction: column; align-items: flex-start; } }

/* Financing application dialog */
.apply { border: 0; padding: 0; border-radius: var(--radius); width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 32px); box-shadow: var(--shadow); color: var(--ink); }
.apply::backdrop { background: rgba(10, 9, 30, .7); }
.apply-form { padding: 28px; border-top: 6px solid var(--red); }
.apply-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.apply-head h2 { font-size: 1.45rem; color: var(--navy); margin: 12px 0 6px; }
.apply-head p { color: var(--muted); font-size: .9rem; margin: 0; }
.apply-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.apply-close:hover { background: var(--line); }
.apply-plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: var(--yellow-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.apply-plan span { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.apply-plan b { color: var(--navy); font-size: 1.02rem; }
.field label i { color: var(--red); font-style: normal; }
.field select.invalid, .field textarea.invalid { border-color: var(--red); }
.check.invalid { color: var(--red); }
@media (max-width: 600px) { .apply-form { padding: 20px; } .apply-plan { grid-template-columns: 1fr 1fr; } }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow); z-index: 120; font-size: .92rem; max-width: calc(100% - 32px); text-align: center; }
.toast[hidden] { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .marquee-track { animation: none; } }

/* Responsive */
@media (max-width: 1100px) {
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .25s; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav.open { transform: none; }
  .nav a { padding: .8em .6em; }
  .nav .nav-cta { margin: 10px 0 0; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .services { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero-grid, .about-grid, .calc, .fin-grid, .lead-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .calc-result, .fin-calc { position: static; }
  .about-badge { right: 12px; }
  .ceo-photo { max-width: 420px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .topbar-lines { display: none; }
  .topbar-contact { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar-contact a:last-child { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .field-row, .mv, .values, .appliances, .calc-extra, .fin-points, .services, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 22px; }
  .ceo-photo::before { inset: 14px -10px -14px 14px; }
  .toggle { display: flex; }
  .toggle button { flex: 1; padding: .7em .8em; }
}

/* ==========================================================
   Corporate refresh — refined type, calmer colour, more air
   ========================================================== */
:root { --radius: 14px; --shadow: 0 24px 60px -28px rgba(19, 18, 58, .35); --shadow-sm: 0 6px 20px -12px rgba(19, 18, 58, .25); }
body { font-size: 16.5px; }
h1, h2, h3, h4 { letter-spacing: -.02em; }
.h2 { font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.12; }
.section { padding: 112px 0; }
.section-head { margin-bottom: 56px; }
.section-head p { font-size: 1.08rem; line-height: 1.7; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .14em; font-size: .74rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.btn { border-radius: 10px; font-weight: 700; letter-spacing: .005em; }
.btn-red { box-shadow: 0 10px 24px -12px rgba(224, 25, 58, .8); }

/* Top bar & header */
.topbar { border-bottom: 0; background: var(--navy-3); }
.header-inner { height: 82px; }
.nav a { font-weight: 600; font-size: .9rem; }
.nav .nav-cta { border-radius: 10px; }

/* Hero: crisp full-bleed photograph with a directional scrim */
.hero { padding: 96px 0 112px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.hero::after { background: linear-gradient(95deg, rgba(19, 18, 58, .97) 0%, rgba(29, 27, 76, .9) 42%, rgba(29, 27, 76, .55) 72%, rgba(29, 27, 76, .35) 100%); }
.hero::before { display: none; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.035em; }
.hero .lead { font-size: 1.12rem; line-height: 1.75; color: #dddcf2; }
.hero-trust { border-top-color: rgba(255, 255, 255, .14); }
.hero-trust b { font-size: 1.6rem; letter-spacing: -.02em; }
.lead-card { border-top: 0; border-radius: 18px; padding: 32px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); position: relative; }
.lead-card::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--red), var(--yellow)); }

/* Credentials bar */
.creds { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.creds-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -46px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.cred { display: flex; gap: 14px; align-items: center; padding: 24px 22px; }
.cred + .cred { border-left: 1px solid var(--line); }
.cred-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; }
.cred-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cred b { display: block; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.cred span { font-size: .8rem; color: var(--muted); }
.creds-serve { text-align: center; padding-top: 22px; padding-bottom: 22px; font-size: .86rem; color: var(--muted); font-weight: 500; }
.creds-serve span { font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; margin-right: 10px; }

/* About */
.about-media img { border-radius: 18px; }
.about-badge { background: var(--navy); border-radius: 12px; right: -16px; }
.about-badge b { color: var(--yellow); }
.mv-item { border-left-width: 3px; }
.values li { background: #fff; border: 1px solid var(--line); }

/* Services */
.service { border-radius: 16px; padding: 32px 26px; position: relative; overflow: hidden; }
.service::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service:hover::before { transform: scaleX(1); }
.service-icon { border-radius: 12px; }

/* Price list: navy-led cards, red reserved for the recommended one */
.section-navy { background: radial-gradient(1200px 500px at 85% -10%, rgba(255, 214, 10, .07), transparent 60%), var(--navy); }
.toggle button { font-weight: 700; }
.pkg { border-radius: 16px; padding: 26px; }
.pkg-size { color: var(--navy); font-size: 2.1rem; letter-spacing: -.03em; }
.pkg.popular { box-shadow: 0 0 0 2px var(--yellow), 0 30px 60px -30px rgba(0, 0, 0, .6); }
.pkg.popular .pkg-size { color: var(--red); }
.pkg-tier { border-radius: 4px; }
.pkg-monthly b { color: var(--navy); }

/* Financing */
.fin-points li { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--yellow); }
.fin-calc { border-top: 0; border-radius: 18px; }
.fin-out .fin-big { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }

/* Projects */
.shot { border-radius: 12px; }
.filters button { font-weight: 700; }

/* Leadership */
.ceo-photo::before { border-width: 2px; border-color: var(--yellow); }
blockquote { border-left-width: 3px; font-size: 1.12rem; line-height: 1.7; }

/* Why us: clean stat tiles */
.why-grid { gap: 1px; background: rgba(255, 255, 255, .1); border-radius: 16px; overflow: hidden; }
.why-grid div { background: var(--navy); border: 0; border-radius: 0; padding: 32px 30px; }
.why-grid b { font-size: 2rem; letter-spacing: -.03em; }

/* CTA band: deep navy with brand accent instead of solid red */
.cta-band { background: linear-gradient(110deg, var(--navy-3), var(--navy) 60%, var(--navy-2)); padding: 72px 0; border-top: 4px solid var(--red); }
.cta-band::before { border-color: rgba(255, 214, 10, .08); }
.cta-inner p { color: #c9c8e6; }

/* Footer */
.footer { padding-top: 80px; }

@media (max-width: 1100px) { .nav { inset: 82px 0 auto 0; max-height: calc(100vh - 82px); } .creds-grid { grid-template-columns: 1fr 1fr; } .cred:nth-child(3) { border-left: 0; } .cred:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 96px; }
  .creds-grid { grid-template-columns: 1fr; margin-top: -36px; }
  .cred + .cred { border-left: 0; border-top: 1px solid var(--line); }
  .cred { padding: 16px 18px; }
}

/* Hero without the audit form: single column, photo shows on the right */
.hero-grid { grid-template-columns: minmax(0, 760px); }

/* ==========================================================
   Mobile experience
   ========================================================== */
.swipe-hint, .mbar { display: none; }
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .h2 { font-size: 1.85rem; }
  .topbar { display: none; }
  .header-inner { height: 68px; }
  .brand img { height: 46px; }
  .nav { inset: 68px 0 auto 0 !important; max-height: calc(100vh - 68px) !important; }
  .nav a { font-size: 1.05rem; padding: .9em .6em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle { width: 48px; height: 48px; }

  /* Comfortable inputs: 16px stops iOS zooming into fields */
  .field input, .field select, .field textarea { font-size: 16px; min-height: 50px; }
  .btn { min-height: 50px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  /* Hero */
  .hero { padding: 44px 0 84px; }
  .hero h1 { font-size: 2.35rem; }
  .hero .lead { font-size: 1rem; line-height: 1.65; }
  .hero-ctas { flex-direction: column; align-items: stretch; margin: 24px 0 28px; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { grid-template-columns: 1fr 1fr; gap: 16px 12px; }

  /* Short items in two columns instead of long stacks */
  .values { grid-template-columns: 1fr 1fr; }
  .mv { grid-template-columns: 1fr; gap: 16px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid div { padding: 22px 18px; }
  .why-grid b { font-size: 1.45rem; }
  .why-grid span { font-size: .85rem; }
  .fin-points { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fin-points li { padding: 14px 12px; }
  .about-badge { right: 12px; bottom: 12px; }

  /* Swipeable rows for services and packages */
  .swipe-hint { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--yellow); margin: -12px 0 14px; }
  .swipe-hint-dark { color: var(--red); }
  .services, .price-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 4px 18px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .services::-webkit-scrollbar, .price-grid::-webkit-scrollbar { display: none; }
  .service, .pkg { scroll-snap-align: center; }
  .toggle { display: flex; width: 100%; }
  .toggle button { flex: 1; min-height: 46px; }

  /* Calculator: compact rows, bigger +/- targets */
  .appliances { grid-template-columns: 1fr; gap: 8px; }
  .appl { padding: 10px 12px; }
  .qty button { width: 42px; height: 42px; font-size: 1.15rem; }
  .calc-extra { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .link-btn { padding: 10px 4px; }

  /* Projects */
  .filters button { min-height: 44px; padding: .6em 1.3em; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Footer & contact links get roomier tap areas */
  .footer a { padding: 6px 0; }
  .contact-list a { display: inline-block; padding: 4px 0; }
  .faq summary { padding: 20px 40px 20px 0; }

  /* Sticky quick-action bar replaces the floating WhatsApp bubble */
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -16px rgba(19, 18, 58, .35); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--navy); background: var(--tint); }
  .mbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mbar svg.fill { fill: #1fa855; stroke: none; }
  .mbar .mbar-cta { background: var(--red); color: #fff; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .apply { max-height: calc(100vh - 24px); }
}
