/* ================= SOLVERA ================= */
:root {
  --bg: #FFFFFF;
  --surface: #F2F4F1;
  --surface-2: #E8ECE7;
  --ink: #0C1310;
  --ink-2: #3D4842;
  --muted: #7A857F;
  --soft: #A3ACA6;
  --line: #E2E7E2;
  --green: #22C55E;
  --green-2: #16A34A;
  --green-tint: #E5F8EC;
  --dark: #0A0F0C;
  --dark-2: #141B17;
  --dark-line: rgba(255, 255, 255, .1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 24px;

  /* consent UI theme */
  --dpdp-bg: #FFFFFF;
  --dpdp-fg: #0C1310;
  --dpdp-muted: #5D6862;
  --dpdp-border: #E2E7E2;
  --dpdp-soft: #F2F4F1;
  --dpdp-accent: #16A34A;
  --dpdp-accent-fg: #FFFFFF;
  --dpdp-font: var(--font);
  --dpdp-radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1720px, 100% - 64px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; float: none !important; }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s ease, transform .2s ease, color .2s ease; }
.btn:active { transform: scale(.98); }
.btn--green { background: var(--green); color: #042712; }
.btn--green:hover { background: #3AD873; }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; padding: 16px; font-size: 16px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.logo__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--green); color: #fff; }
.logo__mark svg { width: 18px; height: 18px; fill: currentColor; }
.logo--light { color: #fff; }
.nav__links { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--green-2); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__phone { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }

/* ---------- hero ---------- */
.hero { padding-top: 0; }
.hero__card { position: relative; overflow: hidden; min-height: min(84vh, 860px); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; animation: sl-zoom 22s ease-in-out infinite alternate; }
@keyframes sl-zoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 16, 12, .78) 0%, rgba(6, 16, 12, .45) 45%, rgba(6, 16, 12, .05) 75%), linear-gradient(0deg, rgba(6, 16, 12, .6), transparent 50%); }
.hero__inner { position: relative; align-self: stretch; display: flex; align-items: flex-end; }
.hero__content { padding: 0 0 140px; max-width: 680px; }
.tag { display: inline-block; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); font-size: 13px; font-weight: 500; }
.hero__title { margin: 0; font-size: clamp(2.8rem, 5.6vw, 5rem); line-height: .98; letter-spacing: -.035em; font-weight: 500; }
.hero__lede { margin: 22px 0 30px; max-width: 470px; font-size: 17px; color: rgba(255, 255, 255, .85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.live { position: absolute; top: 40px; right: 0; width: 190px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(14px); }
.live__top { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255, 255, 255, .85); }
.live__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .3); animation: sl-blink 1.6s ease-in-out infinite; }
.live strong { display: block; margin: 6px 0 10px; font-size: 32px; font-weight: 600; letter-spacing: -.02em; }
.live small { font-size: 15px; font-weight: 500; opacity: .8; }
.live__bars { display: flex; align-items: flex-end; gap: 5px; height: 42px; }
.live__bars i { flex: 1; height: var(--h); border-radius: 4px; background: linear-gradient(180deg, #7CF0A8, rgba(124, 240, 168, .35)); }
@keyframes sl-blink { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, .05); } }


.hero__stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; z-index: 2; width: min(760px, 100%); margin: -72px 0 0 auto; background: #fff; border-radius: 26px; padding: 26px 8px; box-shadow: 0 30px 60px -30px rgba(12, 19, 16, .35); }
.hero__stats > div { padding: 0 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.hero__stats > div:first-child { border-left: 0; }
.hero__stats dd { margin: 0; font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.hero__stats dt { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 6px; }

/* ---------- headings ---------- */
.kicker { margin: 0 0 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green-2); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--green); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-title { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 500; }
.section-title span { color: var(--soft); }
.section-title--left { text-align: left; }
.lede { color: var(--ink-2); font-size: 17px; margin: 18px 0 0; max-width: 480px; }

/* ---------- services ---------- */
.services { padding: 100px 0 40px; }
.services__box { background: var(--surface); border-radius: 36px; padding: 80px 56px 56px; }
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.pcard { position: relative; overflow: hidden; border-radius: 24px; min-height: 380px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 16, 12, .85) 0%, rgba(6, 16, 12, .3) 45%, transparent 70%); }
.pcard:hover img { transform: scale(1.06); }
.pcard__body { padding: 24px; }
.pcard__tag { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--green); color: #042712; font-size: 12px; font-weight: 700; }
.pcard h3 { margin: 0 0 4px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.pcard p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .8); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: #fff; border-radius: 22px; padding: 26px 26px 30px; border: 1px solid transparent; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.card:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(12, 19, 16, .3); }
.card { display: flex; gap: 16px; align-items: flex-start; }
.card__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--green-tint); color: var(--green-2); }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- quote ---------- */
.quote { padding: 100px 0 120px; }
.quote__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.quote__intro { position: sticky; top: 100px; }

.quote__photo { position: relative; margin: 32px 0 0; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; }
.quote__photo img { width: 100%; height: 100%; object-fit: cover; }
.quote__photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); font-size: 14px; line-height: 1.4; }
.quote__photo small { color: var(--muted); font-size: 12.5px; }
.estimator { margin-top: 16px; padding: 26px; border-radius: 26px; background: var(--dark); color: #fff; }
.estimator__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.estimator h3 { margin: 0; font-size: 16px; font-weight: 600; }
.estimator__memo { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); }
.estimator__memo.is-on { background: rgba(34, 197, 94, .2); color: #8BF0B1; }
.estimator__label { font-size: 13px; color: rgba(255, 255, 255, .6); }
.estimator__bill { display: flex; align-items: baseline; gap: 4px; margin: 2px 0 12px; font-size: 44px; font-weight: 600; letter-spacing: -.03em; }
.estimator__bill span { font-size: 26px; color: rgba(255, 255, 255, .6); }
.estimator input[type=range] { width: 100%; accent-color: var(--green); }
.estimator__results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 0; }
.estimator__results div { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.estimator__results dt { font-size: 12px; color: rgba(255, 255, 255, .6); }
.estimator__results dd { margin: 4px 0 0; font-size: 20px; font-weight: 600; color: #8BF0B1; }

.quote__card { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 36px; box-shadow: 0 40px 80px -50px rgba(12, 19, 16, .35); }
.quote__card .dpdp-receipt { padding: 4px; }
.form__title { margin: 0 0 4px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }

.form { display: grid; gap: 18px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span:first-child, .field legend { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0; }
.field i, .consents b { color: var(--green-2); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 15px var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid transparent; border-radius: 14px; padding: 13px 14px;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder { color: var(--soft); }
.field input:focus, .field select:focus { outline: none; background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.field input:user-invalid, .field select:user-invalid { border-color: #E5484D; }
.field__prefix { display: flex; align-items: center; background: var(--surface); border-radius: 14px; border: 1px solid transparent; }
.field__prefix b { padding: 0 2px 0 14px; font-size: 15px; font-weight: 600; color: var(--muted); }
.field__prefix input { background: transparent; border: 0; box-shadow: none !important; }
.field__prefix:focus-within { background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.seg--sm { grid-template-columns: repeat(2, 1fr); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; }
.seg span { display: block; text-align: center; padding: 12px 8px; border-radius: 14px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: all .15s ease; }
.seg input:checked + span { background: var(--green-tint); border-color: var(--green); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--green-2); outline-offset: 2px; }

.consents { margin: 0; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 0; display: grid; gap: 11px; }
.consents legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; font-size: 14px; line-height: 1.5; cursor: pointer; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green-2); }
.check em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.check b { font-size: 12.5px; }

.notice { font-size: 13.5px; color: var(--muted); }
.notice summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.notice ul { margin: 10px 0 0; padding-left: 18px; line-height: 1.7; }
.notice b { color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #fff; padding: 90px 0 88px; }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--dark-line); }
.footer__title { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; }
.footer__title span { color: #6F7D75; }
.footer__ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; font-size: 14px; color: rgba(255, 255, 255, .75); }
.footer__ticks li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 6px; background: var(--green); color: #042712; font-size: 12px; font-weight: 700; }

.newsletter { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 28px; padding: 30px; }
.newsletter h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.newsletter > p { margin: 6px 0 20px; color: rgba(255, 255, 255, .6); font-size: 14.5px; }
.form--dark .field > span:first-child, .form--dark .field legend { color: rgba(255, 255, 255, .75); }
.form--dark .field input, .form--dark .field select { background: rgba(255, 255, 255, .06); color: #fff; }
.form--dark .field select option { color: var(--ink); }
.form--dark .field input::placeholder { color: rgba(255, 255, 255, .35); }
.form--dark .field input:focus, .form--dark .field select:focus { background: rgba(255, 255, 255, .1); }
.form--dark .seg span { border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .75); padding: 11px 8px; }
.form--dark .seg input:checked + span { background: rgba(34, 197, 94, .16); color: #fff; border-color: var(--green); }
.consents--dark { background: rgba(255, 255, 255, .05); }
.consents--dark .check { color: rgba(255, 255, 255, .82); }
.consents--dark .check em { color: rgba(255, 255, 255, .5); }
.consents--dark b { color: #6FE59A; }
.newsletter .dpdp-receipt { padding: 0; color: #fff; --dpdp-accent: var(--green); --dpdp-accent-fg: #042712; }

.footer__mid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 0; }
.footer__mid nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14.5px; }
.footer__mid nav a, .footer__legal a { text-decoration: none; color: rgba(255, 255, 255, .75); }
.footer__mid nav a:hover, .footer__legal a:hover { color: var(--green); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 700; text-decoration: none; }
.socials a:hover { background: var(--green); color: #042712; }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- chat widget (from tags/chat.js) ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 8800; font-family: var(--font); }
.chat__fab { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--green); color: #042712; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(22, 163, 74, .65); margin-left: auto; }
.chat__panel { width: 300px; margin-bottom: 12px; background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(12, 19, 16, .4); overflow: hidden; }
.chat__head { display: flex; gap: 10px; align-items: center; padding: 14px 16px; background: var(--dark); color: #fff; }
.chat__head small { display: block; font-size: 12px; opacity: .6; }
.chat__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #042712; font-weight: 700; }
.chat__msg { margin: 16px; padding: 12px 14px; background: var(--surface); border-radius: 4px 16px 16px 16px; font-size: 13.5px; line-height: 1.5; }
.chat__input { display: flex; gap: 8px; padding: 0 16px 16px; }
.chat__input input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font: inherit; font-size: 13px; }
.chat__input button { padding: 0 14px; border-radius: 12px; border: 0; background: var(--surface-2); font: 600 13px var(--font); }

/* ---------- legal page ---------- */
.legal { padding: 60px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -.03em; font-weight: 500; line-height: 1.05; margin: 0 0 12px; }
.legal h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 44px 0 10px; }
.legal h3 { font-size: 16px; margin: 26px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .dpdp-table { background: var(--surface); border-radius: 14px; overflow: hidden; font-size: 13px; }
.legal .dpdp-table th, .legal .dpdp-table td { padding: 10px 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .quote__inner, .footer__top { grid-template-columns: 1fr; gap: 44px; }
  .quote__intro { position: static; }
  .cards { grid-template-columns: 1fr; }
  .pcards { grid-template-columns: 1fr 1fr; }
  .pcard:first-child { grid-column: 1 / -1; }
  .nav__links { display: none; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 24px); }
  .nav__phone { display: none; }
  .hero__card { min-height: 600px; }
  .hero__content { padding: 0 0 72px; }
  .live { display: none; }
  .hero__stats { grid-template-columns: 1fr; width: 100%; margin: -32px auto 0; gap: 16px; padding: 22px; }
  .hero__stats > div { border-left: 0; padding: 0; }
  .services__box { padding: 48px 18px 18px; border-radius: 26px; }
  .cards, .pcards, .form__grid, .estimator__results { grid-template-columns: 1fr; }
  .pcard { min-height: 300px; }
  .seg { grid-template-columns: 1fr; }
  .quote__card, .newsletter { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg, .live__dot { animation: none; }
}
