:root {
  --ink: #16112f;
  --plum: #261044;
  --plum-soft: #4a2379;
  --violet: #6d28d9;
  --violet-2: #7c3aed;
  --lavender: #eee7ff;
  --lavender-2: #f6f2ff;
  --paper: #fffdf9;
  --white: #ffffff;
  --warm: #f8f5f0;
  --muted: #645d78;
  --line: rgba(38, 16, 68, .13);
  --shadow: 0 24px 60px rgba(62, 34, 101, .14);
  --shadow-strong: 0 34px 90px rgba(49, 25, 85, .22);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 5% 3%, rgba(124, 58, 237, .12), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(238, 231, 255, .88), transparent 28rem),
    linear-gradient(180deg, #fffefd 0%, #fbf9f6 52%, #fff 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(109, 40, 217, .45);
  outline-offset: 4px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  width: auto;
  height: auto;
  clip: auto;
  left: 18px;
  top: 16px;
  z-index: 300;
  padding: 11px 15px;
  border-radius: 999px;
  color: #fff;
  background: var(--plum);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Bodoni Moda", "Didot", Georgia, serif;
  font-weight: 600;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}

em {
  color: var(--violet);
  font-style: italic;
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--violet);
  font-family: "DM Mono", monospace;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.3;
  text-transform: uppercase;
}

.lead {
  max-width: 49ch;
  color: #332b4f;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.8;
}

.construction-marquee {
  position: relative;
  z-index: 120;
  overflow: hidden;
  color: #fff;
  background: var(--plum);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.construction-marquee__track {
  width: max-content;
  display: flex;
  gap: 34px;
  padding: 8px 0;
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  animation: constructionMarquee 24s linear infinite;
}

.construction-marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
}

.construction-marquee__track span::after {
  content: "•";
  opacity: .64;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(38, 16, 68, .08);
  background: rgba(255, 253, 249, .82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 64px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 244px;
  flex: 0 0 auto;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 2px;
  color: var(--ink);
  line-height: 1;
}

.brand strong {
  color: #1b1434;
  font-family: "Bodoni Moda", "Didot", Georgia, serif;
  font-size: 2.05rem;
  font-style: italic;
  letter-spacing: 0;
}

.brand small {
  color: #1b1434;
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.35vw, 36px);
}

.nav-links a:not(.nav-cta) {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #17102f;
  font-size: .92rem;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  transition: color .2s ease, text-decoration-color .2s ease, transform .2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--violet);
  text-decoration-color: currentColor;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.nav-cta {
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), #7f48f2);
  box-shadow: 0 16px 38px rgba(109, 40, 217, .29);
}

.nav-cta::after {
  content: "\2197";
  display: inline-block;
  margin-left: 10px;
  font-size: .82em;
  font-weight: 500;
  line-height: 1;
  transition: transform .2s ease, color .2s ease;
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, #4a168f, #251044);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(109, 40, 217, .36);
}

.nav-links .nav-cta:hover::after,
.nav-links .nav-cta:focus-visible::after {
  color: #fff;
  transform: translate(2px, -2px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(38, 16, 68, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--plum);
}

.btn {
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  font-family: "DM Sans", system-ui, sans-serif;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), #7f48f2);
  box-shadow: 0 16px 38px rgba(109, 40, 217, .24);
}

.btn-secondary {
  color: #231742;
  border-color: rgba(38, 16, 68, .16);
  background: rgba(255, 255, 255, .76);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(.98);
}

/* ---------- Shared section scaffolding ---------- */

.ct-hero__grid,
.ct-form__inner,
.ct-steps__inner,
.ct-local__inner {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

.svc-intro {
  display: grid;
  gap: 4px;
  margin-bottom: clamp(38px, 4vw, 54px);
}

.svc-intro--center {
  justify-items: center;
  text-align: center;
}

.svc-intro h2 {
  font-size: clamp(2.35rem, 4vw, 3.9rem);
}

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */

.ct-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 84px) 0 clamp(40px, 5vw, 68px);
}

.ct-hero::before {
  content: "";
  position: absolute;
  inset: 0 46% 0 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 1), rgba(255, 253, 249, .9) 63%, rgba(255, 253, 249, 0)),
    radial-gradient(circle at 22% 20%, rgba(124, 58, 237, .12), transparent 22rem);
}

.ct-hero__grid {
  display: grid;
  grid-template-columns: minmax(400px, 1fr) minmax(440px, 1fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
}

.ct-hero__copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.ct-hero__copy .eyebrow {
  margin-bottom: 0;
}

.ct-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.85rem, 4.6vw, 4.55rem);
  line-height: 1.02;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.ct-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.ct-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3a3156;
  font-size: .82rem;
  font-weight: 700;
}

.ct-trust i {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(109, 40, 217, .18);
  border-radius: 999px;
  color: var(--violet);
  background: #fff;
  box-shadow: 0 10px 22px rgba(62, 34, 101, .1);
  font-style: normal;
  font-weight: 900;
  font-size: .74rem;
}

/* Hero connected-systems visual */

.ct-eco__map {
  position: relative;
  width: 100%;
  aspect-ratio: 560 / 440;
}

.ct-eco__map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ct-eco__map line {
  stroke: rgba(109, 40, 217, .3);
  stroke-width: 2;
  stroke-dasharray: 3 8;
  animation: ecoDash 1.6s linear infinite;
}

@keyframes ecoDash {
  to {
    stroke-dashoffset: -11;
  }
}

.ct-eco__core,
.ct-eco__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
}

.ct-eco__core {
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 24px 34px;
  border-radius: 20px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 80% 12%, rgba(139, 92, 246, .55), transparent 6rem),
    linear-gradient(155deg, #241040, #150b2b);
  box-shadow: 0 24px 60px rgba(109, 40, 217, .38);
}

.ct-eco__core img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.ct-eco__core b {
  font-size: .95rem;
  font-weight: 800;
  white-space: nowrap;
}

.ct-eco__node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(62, 34, 101, .12);
  font-size: .8rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ct-eco__node:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 18px 40px rgba(109, 40, 217, .2);
}

.ct-eco__node i {
  color: var(--violet);
  font-style: normal;
  font-weight: 900;
  font-size: .76rem;
}

/* ---------- Project inquiry form ---------- */

.ct-form {
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(60px, 6.5vw, 92px) 0;
  color: #fff;
  scroll-margin-top: 90px;
  background:
    radial-gradient(circle at 8% 12%, rgba(124, 58, 237, .34), transparent 26rem),
    radial-gradient(circle at 94% 88%, rgba(139, 92, 246, .22), transparent 22rem),
    linear-gradient(150deg, #1c0e36, #120a26 58%, #180f2e);
}

.ct-form__inner {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 4.5vw, 68px);
  align-items: start;
}

.ct-form .eyebrow {
  color: #c4b5fd;
}

.ct-form h2 {
  color: #fff;
  font-size: clamp(2.1rem, 3.3vw, 3.2rem);
}

.ct-form em {
  color: #c4b5fd;
}

.ct-form__copy > p:not(.eyebrow) {
  max-width: 34ch;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, .68);
  font-size: .95rem;
  line-height: 1.72;
}

.ct-form__points {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-form__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: .86rem;
  font-weight: 700;
}

.ct-form__points i {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .22);
  font-style: normal;
  font-weight: 900;
  font-size: .76rem;
}

.ct-form__form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
}

.ct-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ct-field {
  display: grid;
  gap: 8px;
}

.ct-field label {
  color: rgba(255, 255, 255, .92);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.ct-field label span {
  color: #c4b5fd;
}

.ct-field label small {
  color: rgba(255, 255, 255, .55);
  font-weight: 600;
}

.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field select,
.ct-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  font: 600 .92rem/1.5 "DM Sans", system-ui, sans-serif;
  transition: border-color .2s ease, background .2s ease;
}

.ct-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, .72) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, .72) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.ct-field select option {
  color: var(--ink);
  background: #fff;
}

.ct-field textarea {
  resize: vertical;
  min-height: 120px;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: rgba(255, 255, 255, .45);
}

.ct-field input:hover,
.ct-field select:hover,
.ct-field textarea:hover {
  border-color: rgba(255, 255, 255, .32);
}

.ct-field input:focus-visible,
.ct-field select:focus-visible,
.ct-field textarea:focus-visible {
  outline: 3px solid rgba(196, 181, 253, .55);
  outline-offset: 2px;
  border-color: rgba(196, 181, 253, .7);
  background: rgba(255, 255, 255, .1);
}

.ct-field input[type="file"] {
  padding: 10px 12px;
  border: 1px dashed rgba(255, 255, 255, .26);
  border-radius: 10px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .04);
  font: 600 .84rem/1.4 "DM Sans", system-ui, sans-serif;
}

.ct-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(139, 92, 246, .4);
  font: 800 .78rem/1 "DM Sans", system-ui, sans-serif;
  cursor: pointer;
}

.ct-field.is-invalid input,
.ct-field.is-invalid select,
.ct-field.is-invalid textarea {
  border-color: rgba(252, 165, 165, .75);
  background: rgba(248, 113, 113, .08);
}

.ct-error {
  display: none;
  color: #fca5a5;
  font-size: .78rem;
  font-weight: 700;
}

.ct-field.is-invalid .ct-error {
  display: block;
}

.ct-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.ct-form__actions .form-note {
  color: rgba(255, 255, 255, .78);
  font-size: .84rem;
  font-weight: 700;
}

/* ---------- What happens next ---------- */

.ct-steps {
  padding: clamp(68px, 8vw, 110px) 0 0;
}

.ct-steps__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-steps__list::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 27px;
  border-top: 2px dotted rgba(109, 40, 217, .26);
}

.ct-steps__list li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.ct-steps__list i {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(109, 40, 217, .18);
  border-radius: 999px;
  color: var(--violet);
  background: #fff;
  box-shadow: 0 12px 28px rgba(62, 34, 101, .1);
  font-style: normal;
  font-weight: 900;
}

.ct-steps__list span {
  margin-top: 8px;
  color: var(--violet);
  font-family: "DM Mono", monospace;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .16em;
}

.ct-steps__list h3 {
  font-size: 1.3rem;
}

.ct-steps__list p {
  max-width: 24ch;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.6;
}

/* ---------- Whittier / LA County map + quick contact ---------- */

.ct-local {
  margin-top: clamp(68px, 8vw, 110px);
  padding: clamp(60px, 6.5vw, 92px) 0;
  color: #fff;
  background:
    radial-gradient(rgba(167, 139, 250, .18) 1px, transparent 1.6px) 0 0 / 26px 26px,
    radial-gradient(circle at 84% 16%, rgba(124, 58, 237, .34), transparent 24rem),
    linear-gradient(150deg, #1c0e36, #120a26 62%, #180f2e);
}

.ct-local__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: clamp(30px, 4.5vw, 64px);
  align-items: start;
}

.ct-local .eyebrow {
  color: #c4b5fd;
}

.ct-local h2 {
  max-width: 22ch;
  color: #fff;
  font-size: clamp(1.9rem, 2.9vw, 2.9rem);
}

.ct-local em {
  color: #c4b5fd;
}

.ct-map {
  margin-top: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .04);
  overflow: hidden;
}

.ct-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.ct-map__county {
  fill: rgba(139, 92, 246, .08);
  stroke: rgba(167, 139, 250, .34);
  stroke-width: 2;
  stroke-linejoin: round;
}

.ct-map__lines line {
  stroke: rgba(167, 139, 250, .3);
  stroke-width: 1.6;
  stroke-dasharray: 3 8;
  animation: ecoDash 1.6s linear infinite;
}

.ct-map__rings circle {
  fill: none;
  stroke: rgba(196, 181, 253, .3);
  stroke-width: 1.4;
  animation: ctPulse 3.2s ease-out infinite;
  transform-origin: 460px 352px;
}

.ct-map__rings circle:nth-child(2) {
  animation-delay: 1.6s;
}

@keyframes ctPulse {
  0% {
    opacity: .9;
    transform: scale(.72);
  }
  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

.ct-map__city circle {
  fill: #a78bfa;
  stroke: rgba(255, 255, 255, .5);
  stroke-width: 1.4;
}

.ct-map__city text,
.ct-map__home text {
  fill: rgba(255, 255, 255, .78);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.ct-map__home circle:first-child {
  fill: rgba(196, 181, 253, .28);
  stroke: #c4b5fd;
  stroke-width: 1.6;
}

.ct-map__home .ct-map__home-dot {
  fill: #fff;
  stroke: none;
}

.ct-map__home text {
  fill: #fff;
  font-size: 15px;
  font-weight: 800;
}

.ct-local__contact {
  display: grid;
  gap: 18px;
  align-content: start;
}

.ct-local__heading {
  color: #fff;
  font-size: 1.5rem;
}

.ct-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.ct-quick li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
}

.ct-quick i {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .22);
  font-style: normal;
  font-weight: 900;
  font-size: .82rem;
}

.ct-quick span {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ct-quick a,
.ct-quick b {
  display: block;
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.35;
}

.ct-quick a:hover {
  color: #c4b5fd;
}

.ct-faq {
  display: grid;
  gap: 10px;
}

.ct-faq details {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  transition: border-color .2s ease, background .2s ease;
}

.ct-faq details[open],
.ct-faq details:hover {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
}

.ct-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.ct-faq summary::-webkit-details-marker {
  display: none;
}

.ct-faq summary i {
  flex: 0 0 auto;
  color: #c4b5fd;
  font-style: normal;
  font-weight: 900;
  transition: transform .2s ease;
}

.ct-faq details[open] summary i {
  transform: rotate(90deg);
}

.ct-faq details p {
  padding: 0 16px 16px;
  color: rgba(255, 255, 255, .68);
  font-size: .84rem;
  line-height: 1.7;
}

/* ---------- Final CTA (shared component, rendered by site.js) ---------- */

.site-cta {
  width: min(var(--max), calc(100% - 80px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  margin: clamp(48px, 6vw, 78px) auto 26px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(109, 40, 217, .14);
  border-radius: clamp(1.5rem, 2vw, 2rem);
  background:
    radial-gradient(circle at 82% 20%, rgba(109, 40, 217, .08), transparent 22rem),
    #fffdf9;
  box-shadow: 0 20px 60px rgba(31, 20, 64, .08);
}

.site-cta__icon {
  width: clamp(4.5rem, 6vw, 6rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(109, 40, 217, .16);
  border-radius: 1.25rem;
  color: var(--violet);
  background: #fff;
  box-shadow: 0 14px 34px rgba(109, 40, 217, .1);
  font-size: 1.9rem;
}

.site-cta__content h2 {
  margin: 0;
  color: #16112f;
  font-size: clamp(2.1rem, 3.2vw, 3.4rem);
  line-height: .98;
  letter-spacing: -.01em;
}

.site-cta__content h2 em {
  color: var(--violet);
  font-style: italic;
}

.site-cta__content p {
  max-width: 52ch;
  margin: 14px 0 0;
  color: #51496a;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.7;
}

.site-cta__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-cta__primary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 12px;
  color: #fff;
  background: var(--violet);
  box-shadow: 0 16px 34px rgba(109, 40, 217, .24);
  font-weight: 800;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.site-cta__primary::after {
  content: "\2197";
  margin-left: 10px;
}

.site-cta__primary:hover,
.site-cta__primary:focus-visible {
  background: #4a168f;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(109, 40, 217, .32);
}

.site-cta__secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--violet);
  font-weight: 800;
  transition: color .2s ease;
}

.site-cta__secondary:hover,
.site-cta__secondary:focus-visible {
  color: #4a168f;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-cta__primary:focus-visible,
.site-cta__secondary:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* ---------- Footer (injected by site.js) ---------- */

.site-footer {
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(109, 40, 217, .2), transparent 22rem),
    linear-gradient(180deg, #17112d, #100b22);
}

.public-footer {
  padding: 44px 0 26px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(109, 40, 217, .2), transparent 22rem),
    linear-gradient(180deg, #17112d, #100b22);
}

.public-footer-shell {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(520px, 1.4fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.public-footer-brand {
  display: grid;
  gap: 18px;
}

.public-footer .public-footer-brand p {
  max-width: 36ch;
  color: rgba(255, 255, 255, .74);
  font-weight: 600;
}

.public-footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.public-footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .06);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.public-footer-social a:hover,
.public-footer-social a:focus-visible {
  color: #fff;
  border-color: rgba(167, 139, 250, .55);
  background: rgba(139, 92, 246, .32);
  transform: translateY(-2px);
}

.public-footer-social svg {
  display: block;
}

.public-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.public-footer .footer-logo img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.public-footer .footer-logo span {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.public-footer .footer-logo strong {
  color: #fff;
  font-family: "Bodoni Moda", "Didot", Georgia, serif;
  font-size: 2.05rem;
  font-style: italic;
}

.public-footer .footer-logo small {
  color: rgba(255, 255, 255, .88);
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.public-footer-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 420px;
}

.public-footer-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 0 14px;
  font: 700 .92rem/1 "DM Sans", system-ui, sans-serif;
}

.public-footer-form input::placeholder {
  color: rgba(255, 255, 255, .58);
}

.public-footer-form button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), #7f48f2);
  box-shadow: 0 14px 32px rgba(109, 40, 217, .24);
  font: 900 .92rem/1 "DM Sans", system-ui, sans-serif;
  cursor: pointer;
}

.public-footer-form .form-note {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
}

.public-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.public-footer-links h4 {
  margin: 0 0 12px;
  color: rgba(238, 231, 255, .92);
  font-family: "DM Mono", monospace;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.public-footer-links a,
.public-footer-links span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
  font-weight: 700;
}

.public-footer-links a:hover {
  color: #fff;
}

.public-footer-base {
  width: min(var(--max), calc(100% - 64px));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .68);
  font-size: .88rem;
}

@keyframes constructionMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .brand {
    min-width: 218px;
  }

  .ct-hero__grid {
    grid-template-columns: minmax(360px, .95fr) minmax(380px, 1.05fr);
  }
}

@media (max-width: 920px) {
  .nav-shell,
  .ct-hero__grid,
  .ct-form__inner,
  .ct-steps__inner,
  .ct-local__inner {
    width: min(var(--max), calc(100% - 36px));
  }

  .brand {
    min-width: 202px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 110;
  }

  .nav-links {
    position: fixed;
    inset: 78px 18px auto;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(38, 16, 68, .12);
    border-radius: 18px;
    background: rgba(255, 253, 249, .96);
    box-shadow: 0 24px 70px rgba(38, 16, 68, .18);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a:not(.nav-cta) {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: var(--lavender-2);
  }

  .nav-cta {
    margin-top: 8px;
  }

  .public-footer-shell,
  .public-footer-links {
    grid-template-columns: 1fr;
  }

  .public-footer-shell,
  .public-footer-base {
    width: min(var(--max), calc(100% - 36px));
  }

  .public-footer-form {
    grid-template-columns: 1fr;
  }

  .ct-hero {
    padding-top: 40px;
  }

  .ct-hero__grid {
    grid-template-columns: 1fr;
  }

  .ct-hero h1 {
    font-size: clamp(2.5rem, 9.5vw, 3.6rem);
  }

  .ct-form__inner,
  .ct-local__inner {
    grid-template-columns: 1fr;
  }

  .ct-local h2 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .ct-eco__map {
    aspect-ratio: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .ct-eco__map svg {
    display: none;
  }

  .ct-eco__core,
  .ct-eco__node {
    position: static;
    transform: none;
  }

  .ct-eco__core {
    width: 100%;
    order: -1;
    padding: 18px;
  }

  .ct-eco__node:hover {
    transform: scale(1.04);
  }

  .ct-field-row {
    grid-template-columns: 1fr;
  }

  .ct-trust {
    grid-template-columns: 1fr;
  }

  .ct-steps__list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ct-steps__list::before {
    display: none;
  }

  .ct-quick {
    grid-template-columns: 1fr;
  }

  .ct-map__city text,
  .ct-map__home text {
    font-size: 17px;
  }

  .site-cta {
    width: min(var(--max), calc(100% - 36px));
    grid-template-columns: 1fr;
    justify-items: start;
  }

}

@media (max-width: 620px) {
  .brand {
    min-width: 176px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 1.65rem;
  }

  .brand small {
    font-size: .44rem;
  }

  .nav-shell {
    min-height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .construction-marquee__track {
    animation: none !important;
  }

  .ct-eco__map line,
  .ct-map__lines line {
    animation: none;
  }

  .ct-map__rings circle {
    animation: none;
    opacity: .5;
    transform: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .ct-eco__node,
  .ct-faq details,
  .site-cta__primary {
    transition: none;
  }
}
