/* ==========================================================================
   R.A.W Electrical Group: design tokens
   ========================================================================== */
:root {
  --bg: #070907;
  --surface: #0f1310;
  --surface-2: #151b17;
  --border: #223026;
  --border-strong: #2f4135;
  --text: #f2f5f3;
  --muted: #a9b5ad;
  --green: #2be35a;
  --green-strong: #1fc94a;
  --green-ink: #04140a;          /* text on green */
  --glow: rgba(43, 227, 90, .35);
  --danger: #ff6b6b;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --shadow-glow: 0 0 0 1px rgba(43, 227, 90, .25), 0 10px 40px rgba(43, 227, 90, .12);

  --space-section: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 160ms;
  --t-med: 260ms;

  --z-header: 40;
  --z-fab: 50;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; touch-action: manipulation; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { max-width: 70ch; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { display: flex; justify-content: center; margin-top: 40px; }
.hide-sm { display: none !important; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--green); color: var(--green-ink); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 16px; }

.text-glow { color: var(--green); text-shadow: 0 0 24px var(--glow); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  border: 2px solid transparent;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--green); color: var(--green-ink); box-shadow: 0 0 0 0 var(--glow); }
.btn--primary:hover { background: #4cf075; box-shadow: 0 0 28px var(--glow); }
.btn--ghost { border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; margin-top: auto; padding-top: 16px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link .icon { width: 16px; height: 16px; }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar { background: #000; border-bottom: 1px solid var(--border); font-size: .85rem; color: var(--muted); white-space: nowrap; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__badge, .topbar__links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__badge .icon { color: var(--green); width: 16px; height: 16px; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__links a { min-height: 40px; transition: color var(--t-fast); }
.topbar__links a:hover { color: var(--green); }
.topbar__links .icon { width: 16px; height: 16px; }
.topbar__links .topbar__email { display: none; }
@media (min-width: 900px) { .topbar__links .topbar__email { display: inline-flex; } }

.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(7, 9, 7, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-med), box-shadow var(--t-med);
}
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 52px; height: 42px; color: var(--green); filter: drop-shadow(0 0 6px var(--glow)); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; }
.brand__word i { font-style: normal; font-family: var(--font-head); font-weight: 600; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--green); margin-top: 5px; }

.nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--border); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close, .nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

.nav {
  position: absolute; top: 100%; left: 0; right: 0; /* drops down from the sticky header */
  background: var(--bg); border-block: 1px solid var(--border);
  padding: 8px 16px 24px; display: none; flex-direction: column; gap: 8px;
  max-height: calc(100dvh - 72px); overflow-y: auto;
}
.nav.is-open { display: flex; }
.nav ul { display: flex; flex-direction: column; }
.nav a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 8px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--border); transition: color var(--t-fast); }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--green); }
.nav__cta { margin-top: 12px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 88px) 0 clamp(96px, 12vw, 160px);
  background:
    radial-gradient(60% 70% at 85% 40%, rgba(43, 227, 90, .14), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(43, 227, 90, .06), transparent 70%),
    var(--bg);
}
.hero::after { /* energy swoosh, echoing the business card */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -150px; height: 220px;
  border-top: 3px solid var(--green); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -6px 30px var(--glow); opacity: .5; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.eyebrow .icon { width: 16px; height: 16px; color: var(--green); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); margin-top: 20px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: .9rem; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { width: 18px; height: 18px; color: var(--green); }

.hero__art { position: relative; }
.house { width: 100%; height: auto; }
.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: rgba(15, 19, 16, .85); border: 1px solid var(--border-strong); backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.hero__chip .icon { width: 16px; height: 16px; color: var(--green); }
.hero__chip--a { top: 6%; left: 4%; }
.hero__chip--b { top: 6%; right: 0; }

.flow { stroke-dasharray: 8 10; animation: flow 1.2s linear infinite; }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }
@keyframes pulse { 50% { opacity: .45; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--space-section) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.section__head { text-align: center; margin: 0 auto 48px; max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.section__head p { color: var(--muted); margin-top: 8px; }
.rule { display: block; width: 72px; height: 4px; border-radius: 4px; margin: 16px 0; background: var(--green); box-shadow: 0 0 14px var(--glow); }
.rule--left { margin-inline: 0; }

/* Cards */
.cards { display: grid; gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med), box-shadow var(--t-med);
}
.card:hover { transform: translateY(-4px); border-color: rgba(43, 227, 90, .45); box-shadow: var(--shadow-glow); }
.card p { color: var(--muted); }
.card--feature { background: linear-gradient(180deg, rgba(43, 227, 90, .08), var(--surface) 60%); border-color: rgba(43, 227, 90, .35); }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(43, 227, 90, .1); border: 1px solid rgba(43, 227, 90, .3); color: var(--green); margin-bottom: 4px; }
.card__icon .icon { width: 28px; height: 28px; }
.card--glass { background: rgba(7, 9, 7, .55); backdrop-filter: blur(6px); border-color: rgba(43, 227, 90, .22); }

.ticks { display: grid; gap: 8px; margin-top: 4px; font-size: .95rem; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(43, 227, 90, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232be35a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ticks--lg { gap: 14px; font-size: 1rem; color: var(--muted); }
.ticks--lg b { color: var(--text); }

/* Green bands */
.band {
  position: relative; overflow: hidden; padding: var(--space-section) 0;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(43, 227, 90, .18), transparent 70%),
    linear-gradient(160deg, #0b2213 0%, #06140b 55%, #040a06 100%);
  border-block: 1px solid rgba(43, 227, 90, .2);
}
.band::before { /* subtle panel grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(43, 227, 90, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(43, 227, 90, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.band > .container { position: relative; }
.band .section__head p { color: #c3d0c7; }

.stats { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 28px 16px; border-radius: var(--radius-lg);
  background: rgba(7, 9, 7, .5); border: 1px solid rgba(43, 227, 90, .22);
}
.stat .icon { width: 32px; height: 32px; color: var(--green); margin-bottom: 6px; }
.stat strong { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--green); text-shadow: 0 0 18px var(--glow); }
.stat span { font-size: .9rem; color: #c3d0c7; }
.fineprint { text-align: center; font-size: .85rem; color: #c3d0c7; margin: 28px auto 0; }

/* Split */
.split { display: grid; gap: 32px; align-items: center; }
.split__copy p + p { margin-top: 16px; }
.split__copy p { color: var(--muted); }
.split h3 { font-size: 1.5rem; margin-bottom: 12px; }
.split p + p { margin-top: 12px; }
.split--even p { color: var(--muted); }
.split.has-missing { grid-template-columns: 1fr !important; }
.split.has-missing .photo.is-missing { display: none; }

.steps { display: grid; gap: 16px; margin-top: 56px; counter-reset: s; }
.steps li { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.steps__num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--green); color: var(--green); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 0 18px var(--glow), inset 0 0 12px rgba(43, 227, 90, .15); margin-bottom: 14px;
}
.steps p { color: var(--muted); font-size: .95rem; margin: 6px auto 0; }

/* Photos (with graceful placeholders when the image file is missing) */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--border); aspect-ratio: 4 / 3; }
.photo--tall { aspect-ratio: 4 / 4.5; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo.is-missing img { display: none; }
.photo.is-missing::before {
  content: attr(data-placeholder); position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center;
  font-size: .85rem; color: var(--muted);
  background:
    linear-gradient(rgba(43, 227, 90, .05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(43, 227, 90, .05) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 50% 40%, rgba(43, 227, 90, .12), transparent 60%);
}
.photo figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px; font-size: .85rem; font-weight: 600;
  background: rgba(7, 9, 7, .82); backdrop-filter: blur(6px); border: 1px solid var(--border-strong);
}
.photo figcaption span { color: var(--green); font-weight: 500; }

/* Brands */
.brands { padding: 40px 0; border-bottom: 1px solid var(--border); }
.brands__title { text-align: center; margin: 0 auto 20px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.brands__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.brands__list li { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: #7d8a81; letter-spacing: .02em; transition: color var(--t-fast); }
.brands__list li:hover { color: var(--text); }

/* Gallery */
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }

/* Reviews carousel */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 4px; border-radius: var(--radius-lg);
}
.carousel__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px;
  padding: 28px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--border);
}
.rating {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; white-space: nowrap; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg);
  font-size: .9rem; color: var(--muted); transition: border-color var(--t-fast), color var(--t-fast);
}
.rating:hover { border-color: var(--green); color: var(--text); }
.rating b { font-family: var(--font-head); font-size: 1.15rem; color: var(--text); }
.rating > .icon { width: 16px; height: 16px; color: var(--green); }
.review__stars { display: flex; gap: 4px; color: #ffc53d; }
.review__stars .icon { width: 18px; height: 18px; }
.review blockquote { color: var(--muted); font-size: 1rem; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__who b { display: block; font-family: var(--font-head); }
.review__who small { color: var(--green); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(43, 227, 90, .15); color: var(--green); font-weight: 700; font-family: var(--font-head); }
.carousel__btn {
  display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; place-items: center;
  background: var(--green); color: var(--green-ink); box-shadow: 0 0 20px var(--glow);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.carousel__btn:disabled { opacity: .3; cursor: default; }
.carousel__btn--prev { left: -16px; }
.carousel__btn--next { right: -16px; }
@media (min-width: 1280px) {
  .carousel__btn--prev { left: -24px; }
  .carousel__btn--next { right: -24px; }
}
.carousel__btn .icon { width: 24px; height: 24px; }

/* Tabs */
.tabs__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
.tabs__list [role="tab"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 16px;
  border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.tabs__list [role="tab"]:hover { border-color: var(--green); color: var(--text); }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--green-ink); box-shadow: 0 0 22px var(--glow); }
.tabs__list .icon { width: 18px; height: 18px; }
.tabs__panel {
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0b2213, var(--surface) 60%); border: 1px solid rgba(43, 227, 90, .22);
  animation: fade var(--t-med) var(--ease);
}
.tabs__panel h3 { font-size: 1.5rem; margin-bottom: 12px; }
.tabs__panel > p { color: var(--muted); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(43, 227, 90, .3); background: rgba(43, 227, 90, .06); font-size: .9rem; }

.creds { display: grid; gap: 14px; margin-top: 16px; }
.cred { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(7, 9, 7, .5); border: 1px solid var(--border-strong); }
.cred .icon { width: 32px; height: 32px; color: var(--green); }
.cred b { display: block; font-family: var(--font-head); }
.cred small { color: var(--muted); font-size: .9rem; }

/* ==========================================================================
   Quote form
   ========================================================================== */
.quote {
  padding: var(--space-section) 0;
  background:
    radial-gradient(50% 60% at 0% 30%, rgba(43, 227, 90, .16), transparent 70%),
    linear-gradient(180deg, #06140b, var(--bg));
  border-top: 1px solid rgba(43, 227, 90, .2);
}
.quote__inner { display: grid; gap: 40px; align-items: start; }
.quote__intro p { color: #c3d0c7; }
.contact-list { display: grid; gap: 14px; margin: 28px 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { color: var(--green); }
.contact-list a:hover { color: var(--green); }

.form { padding: clamp(20px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .9rem; padding: 0; }
.req { color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border-strong); font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b5ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #6f7c73; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(43, 227, 90, .25); }
.field.has-error input, .field.has-error .checks { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: .85rem; min-height: 0; }
.field__err:empty { display: none; }

.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; border-radius: var(--radius-sm); }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border-strong); color: var(--muted); font-weight: 600; transition: all var(--t-fast);
}
.check span .icon { width: 18px; height: 18px; }
.check input:checked + span { background: rgba(43, 227, 90, .14); border-color: var(--green); color: var(--text); }
.check input:checked + span .icon { color: var(--green); }
.check input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.field.has-error .check span { border-color: var(--danger); }

.form__error-summary { padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--danger); background: rgba(255, 107, 107, .08); font-size: .9rem; }
.form__error-summary ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.form__error-summary a { text-decoration: underline; }
.form__status { font-weight: 600; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--green); }
.form__status.is-error { color: var(--danger); }
.hp { position: absolute; left: -9999px; }

.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(4, 20, 10, .3); border-top-color: var(--green-ink); animation: spin .8s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #000; border-top: 1px solid var(--border); padding: 64px 0 96px; }
.footer__grid { display: grid; gap: 40px; }
.footer__brand p { color: var(--muted); margin-top: 16px; max-width: 36ch; }
.footer__tag { display: flex; align-items: center; gap: 8px; color: var(--green) !important; font-family: var(--font-head); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.footer__tag .icon { color: var(--green); }
.footer__h { font-family: var(--font-head); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.footer nav ul { display: grid; gap: 4px; }
.footer nav a { display: inline-flex; min-height: 36px; align-items: center; color: var(--muted); transition: color var(--t-fast); }
.footer nav a:hover { color: var(--green); }
.footer .contact-list { margin: 0; color: var(--muted); }
.social { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: 20px; border-radius: 50%; border: 1px solid var(--border-strong); transition: border-color var(--t-fast), color var(--t-fast); }
.social:hover { border-color: var(--green); color: var(--green); }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); }

.call-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: var(--z-fab);
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px;
  background: var(--green); color: var(--green-ink); font-family: var(--font-head); font-weight: 700;
  box-shadow: 0 0 24px var(--glow), var(--shadow);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .hide-sm { display: inline-flex !important; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .photo { aspect-ratio: 4 / 5; }
  .carousel__track { grid-auto-columns: calc(50% - 10px); }
}

@media (min-width: 768px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .split--even { grid-template-columns: 1fr 1.2fr; }
  .creds { grid-template-columns: repeat(3, 1fr); }
  .cred { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .carousel__btn { display: grid; }
}

@media (min-width: 860px) {
  .tabs__list { grid-template-columns: repeat(4, auto); justify-content: center; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; max-height: none; overflow: visible; }
  .nav ul { flex-direction: row; gap: 4px; }
  .nav a:not(.btn) { border: 0; padding: 0 12px; min-height: 44px; font-size: .95rem; }
  .nav__cta { margin-top: 0; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .hero__chip--b { top: 44%; }
  .carousel__track { grid-auto-columns: calc(33.333% - 14px); }
  .quote__inner { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .call-fab { display: none; }
  .footer { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .carousel__track { scroll-behavior: auto; }
}
