*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0e1116;
  --ink-2: #3b4250;
  --muted: #6b7280;
  --line: #e6e8ec;
  --bg: #ffffff;
  --soft: #f6f5f1;
  --gold: #b8892a;
  --gold-2: #d9ad4f;
  --sky-1: #a9bfd6;
  --sky-2: #cfdbe7;
  --sky-3: #eef2f6;
  --radius: 18px;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold); letter-spacing: -.01em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* NAV */
nav.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
nav.top.scrolled, nav.top.solid { background: rgba(255,255,255,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.links { display: flex; gap: 28px; font-size: .92rem; color: var(--ink-2); }
.links a { position: relative; padding: 4px 0; }
.links a:hover, .links a.active { color: var(--ink); }
.links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--gold); }
.nav-btns { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: transform .2s, opacity .2s; }
.mobile-menu { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font: inherit; font-size: .92rem; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 8px 24px rgba(14,17,22,.25); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff; }
.btn-gold:hover { box-shadow: 0 8px 24px rgba(184,137,42,.35); }
.btn-light { background: #fff; color: var(--ink); border-color: rgba(14,17,22,.1); }
.btn-ghost { background: rgba(255,255,255,.55); color: var(--ink); border-color: rgba(255,255,255,.85); backdrop-filter: blur(8px); }

/* HERO (home) */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 130px 20px 90px; position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 50% 112%, #fff 10%, transparent 60%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 45%, var(--sky-3) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 200px at 18% 28%, rgba(255,255,255,.5), transparent 70%),
              radial-gradient(700px 240px at 86% 55%, rgba(255,255,255,.38), transparent 70%);
}
.hero-in { position: relative; z-index: 1; max-width: 960px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500; color: var(--ink-2);
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.95);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 28px;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 6.6rem); font-weight: 500; letter-spacing: -.045em; line-height: .98;
  color: #fff; text-shadow: 0 2px 30px rgba(40,60,90,.18);
}
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.search {
  margin: 44px auto 0; max-width: 640px; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.74); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.95);
  border-radius: 16px; padding: 14px 14px 14px 20px; box-shadow: 0 10px 40px rgba(40,60,90,.12); text-align: left;
}
.search-text { flex: 1; font-size: 1rem; color: var(--ink-2); min-height: 1.5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 1px; height: 1.1em; background: var(--ink); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search-go { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.hero p.sub { margin: 26px auto 0; font-size: 1.1rem; color: var(--ink-2); max-width: 580px; }
.tag-now { font-weight: 600; color: var(--ink); }
.hero-btns { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 160px 0 90px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-2) 0%, var(--sky-3) 60%, #fff 100%);
}
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; max-width: 900px; }
.page-hero p { margin-top: 20px; font-size: 1.15rem; color: var(--ink-2); max-width: 620px; }

/* SECTIONS */
section { padding: 110px 0; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; max-width: 780px; }
.lead { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 620px; }
.center { text-align: center; }
.center h2, .center .lead { margin-left: auto; margin-right: auto; }
.soft { background: var(--soft); }
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: #aab1bd; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }

/* logo wall */
.logos { padding: 40px 0 46px; border-bottom: 1px solid var(--line); overflow: hidden; }
.logos p { text-align: center; font-size: .82rem; color: var(--muted); margin-bottom: 22px; letter-spacing: .02em; }
.logo-track { display: flex; gap: 64px; width: max-content; animation: slide 40s linear infinite; align-items: center; }
.logo-track img { height: 54px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.logo-track img:hover { filter: none; opacity: 1; }
@keyframes slide { to { transform: translateX(-50%); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.stat b { display: block; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.stat span { display: block; font-weight: 600; margin-top: 12px; }
.stat small { display: block; color: var(--muted); font-size: .92rem; margin-top: 6px; }
.stat .where { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; font-weight: 600; }

/* industries */
.ind-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.ind {
  border-radius: var(--radius); padding: 32px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden; border: 1px solid var(--line);
}
.ind h3 { font-size: 1.65rem; font-weight: 500; letter-spacing: -.03em; }
.ind p { color: var(--ink-2); margin-top: 10px; max-width: 440px; }
.ind ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ind li { font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid rgba(14,17,22,.06); }
.ind .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.45rem; background: rgba(255,255,255,.78); margin-bottom: 26px; }
.ind .client { font-size: .8rem; color: var(--ink-2); margin-top: 18px; }
.ind .client b { font-weight: 600; }
.ind.solar { grid-column: span 7; background: linear-gradient(160deg, #fff4d6 0%, #ffe3a3 100%); border-color: #f5dfa8; }
.ind.shop { grid-column: span 5; background: linear-gradient(160deg, #e3f5e9 0%, #bfe8cf 100%); border-color: #c9ead6; }
.ind.estate { grid-column: span 5; background: linear-gradient(160deg, #e6eefa 0%, #c6d7f1 100%); border-color: #d2def2; }
.ind.any { grid-column: span 7; background: var(--ink); color: #fff; border-color: var(--ink); }
.ind.any p, .ind.any .client { color: #b8bec9; }
.ind.any li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #e6e8ec; }
.ind.any .icon { background: rgba(255,255,255,.1); }

/* services grid */
.svc-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(14,17,22,.07); }
.svc .n { font-size: .8rem; color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.svc h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; margin: 18px 0 8px; }
.svc p { color: var(--muted); font-size: .95rem; }

/* service detail blocks */
.svc-block { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; padding: 90px 0; border-top: 1px solid var(--line); }
.svc-block:first-of-type { border-top: 0; }
.svc-block h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.svc-block .tagline { font-size: 1.1rem; font-weight: 500; margin-top: 18px; }
.svc-block .desc { color: var(--muted); margin-top: 12px; }
.svc-block .btn { margin-top: 26px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat div { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.feat h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.feat p { font-size: .9rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { font-size: .82rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }

/* process */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.15); }
.step { padding: 30px 22px 0 0; }
.step .num { font-size: 3rem; font-weight: 300; letter-spacing: -.04em; color: var(--gold-2); }
.step h3 { font-size: 1.1rem; font-weight: 600; margin: 8px 0; }
.step p { color: #aab1bd; font-size: .93rem; }

/* work / testimonials */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.filters button { font: inherit; font-size: .88rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink-2); transition: all .2s; }
.filters button.on, .filters button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.case:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(14,17,22,.1); }
.case .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); position: relative; }
.case .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.case:hover .media img { transform: scale(1.06); }
.case .media.logo-media { display: grid; place-items: center; background: linear-gradient(160deg, #faf9f6, #efece4); }
.case .media.logo-media img { width: 52%; height: 60%; object-fit: contain; mix-blend-mode: multiply; }
.case .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.case .body .did { margin-top: auto; padding-top: 16px; }
.case .ind-tag { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.case h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 8px; }
.case p { font-size: .92rem; color: var(--muted); }
.case .did { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.case .did span { font-size: .75rem; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.case.hide { display: none; }

.quotes { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.quote blockquote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; background: var(--soft); }
.quote .who b { display: block; font-size: .95rem; }
.quote .who small { color: var(--muted); }

/* CTA band */
.cta-band { padding: 100px 0; background: linear-gradient(180deg, var(--sky-3) 0%, var(--sky-2) 100%); text-align: center; }
.cta-band h2 { margin: 0 auto; }
.cta-band .hero-btns { margin-top: 34px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checks { list-style: none; margin-top: 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--ink-2); }
.checks li::before { content: '✓'; color: var(--gold); font-weight: 700; }
.info { margin-top: 36px; display: grid; gap: 14px; }
.info a, .info div { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s; }
.info a:hover { border-color: var(--ink); }
.info small { display: block; color: var(--muted); font-size: .78rem; }
.info b { font-weight: 500; }
form.lead-form {
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border: 1px solid var(--line);
  border-radius: 22px; padding: 32px; box-shadow: 0 20px 60px rgba(40,60,90,.1);
}
form h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
form .hint { color: var(--muted); font-size: .9rem; margin: 6px 0 22px; }
.field { margin-bottom: 14px; }
label { display: block; font-size: .8rem; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  font: inherit; font-size: .95rem; background: #fff; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,137,42,.14); }
textarea { resize: vertical; min-height: 96px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form .btn { width: 100%; padding: 14px; font-size: 1rem; margin-top: 6px; }
.fine { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 12px; }
.map { margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); height: 240px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }
.prose ul { padding-left: 20px; }

/* footer */
footer { padding: 70px 0 36px; background: var(--ink); color: #c9ced6; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
footer .logo { color: #fff; }
footer .logo img { filter: invert(1); }
footer p { font-size: .92rem; margin-top: 14px; max-width: 300px; color: #9aa2ae; }
footer h4 { color: #fff; font-size: .85rem; font-weight: 600; margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 8px; font-size: .92rem; }
footer ul a:hover { color: #fff; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #8b93a0; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background .2s; }
.social a:hover { background: rgba(255,255,255,.1); }

/* floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .logo-track, .caret { animation: none; }
}

/* responsive */
@media (max-width: 960px) {
  .links, .nav-btns .btn-light { display: none; }
  .menu-btn { display: block; }
  .mobile-menu.open { display: grid; gap: 4px; position: fixed; top: 72px; left: 0; right: 0; background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); z-index: 49; }
  .mobile-menu a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .ind.solar, .ind.shop, .ind.estate, .ind.any { grid-column: span 12; min-height: 0; }
  .svc-grid, .quotes { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .stats { grid-template-columns: 1fr; }
  .contact-grid, .svc-block { grid-template-columns: 1fr; gap: 36px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 80px 0; }
  .nav-btns .btn-gold { display: none; }
  .svc-grid, .steps, .row, .feat, .quotes, .foot-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .ind, form.lead-form { padding: 24px; }
  .search { padding: 12px 12px 12px 16px; }
  .search-text { font-size: .9rem; }
  .page-hero { padding: 130px 0 60px; }
}
