/* ============================================================
   Portal Towing LLC — Theme
   Carbon fiber + metallic steel + signal red
   ============================================================ */

:root {
  --bg:        #0a0b0d;
  --bg-2:      #101216;
  --panel:     #15181d;
  --panel-2:   #1b1f25;
  --line:      #2a2f37;
  --text:      #e7e9ec;
  --muted:     #9aa1ab;
  --steel:     #c8ccd1;
  --steel-dim: #6b7178;
  --red:       #d11f1f;
  --red-bright:#e83b3b;
  --red-deep:  #7c0e0e;
  --shadow:    0 18px 40px rgba(0,0,0,.45);
  --radius:    14px;
  --maxw:      1180px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Black", "Arial Narrow Bold", Impact, var(--font);
}

/* Real 2×2 twill carbon fiber weave — generated PNG tile, self-hosted */
:root {
  --carbon: url('../assets/carbon-fiber.png');
  --carbon-size: 64px 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  /* Carbon fiber base layer — very subtle at body level */
  background-image: linear-gradient(rgba(10,11,13,.82), rgba(10,11,13,.82)), var(--carbon);
  background-size: auto, var(--carbon-size);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }

.sr-only,
.skip-link {
  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; top: 10px; left: 10px;
  width: auto; height: auto; clip: auto;
  background: var(--red); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 1000;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: .98rem; letter-spacing: .6px; text-transform: uppercase;
  padding: 14px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 2px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red-bright), var(--red-deep));
  box-shadow: 0 8px 22px rgba(209,31,31,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(209,31,31,.5); }
.btn--ghost {
  color: var(--steel);
  background: rgba(255,255,255,.03);
  border-color: var(--line);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--steel-dim); color: #fff; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #121418, #0a0b0d);
  border-bottom: 1px solid var(--line);
  font-size: .82rem; color: var(--muted);
  padding: 8px 16px; letter-spacing: .4px;
}
.topbar__pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,204,113,.5); }
  70% { box-shadow: 0 0 0 8px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}
.topbar__text { color: var(--text); font-weight: 600; }
.topbar__divider { color: var(--steel-dim); }
.topbar__lang { color: var(--red-bright); font-weight: 700; }
.topbar__call { margin-left: 8px; color: #fff; font-weight: 700; }
.topbar__call:hover { color: var(--red-bright); }

/* ---------- Language toggle ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  margin-left: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 13px;
  font-size: .78rem; font-weight: 700; letter-spacing: 1px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--steel-dim); color: var(--text); background: rgba(255,255,255,.1); }
.lang-toggle:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 2px; }
.lang-toggle__globe { display: flex; align-items: center; color: var(--steel-dim); }
.lang-toggle__sep { color: var(--steel-dim); font-weight: 400; }

/* Active language is highlighted red, inactive is dimmed */
.lang-toggle[data-active="en"] .lang-toggle__en,
.lang-toggle[data-active="es"] .lang-toggle__es { color: var(--red-bright); }
.lang-toggle[data-active="en"] .lang-toggle__es,
.lang-toggle[data-active="es"] .lang-toggle__en { color: var(--steel-dim); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,11,13,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow); background: rgba(10,11,13,.95); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 56px; height: auto; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name strong {
  font-family: var(--display); font-size: 1.25rem; letter-spacing: 1px;
  background: linear-gradient(180deg,#fff,#8d9299);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__name em {
  font-style: normal; font-size: .68rem; letter-spacing: 3px;
  color: var(--red-bright); font-weight: 700; margin-top: 2px;
}

/* ---------- Nav ---------- */
.nav__menu {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav__menu a {
  padding: 10px 14px; border-radius: 8px; font-weight: 600;
  font-size: .94rem; color: var(--muted); transition: color .2s, background .2s;
}
.nav__menu a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav__cta {
  color: #fff !important;
  background: linear-gradient(180deg, var(--red-bright), var(--red-deep));
  font-family: var(--display); letter-spacing: .5px; text-transform: uppercase;
}
.nav__cta:hover { box-shadow: 0 6px 18px rgba(209,31,31,.45); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span:not(.sr-only) {
  width: 26px; height: 3px; background: var(--steel); border-radius: 3px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  /* Full-strength carbon fiber weave in the hero */
  background-image: var(--carbon);
  background-size: var(--carbon-size);
  background-color: var(--bg);
}
.hero__overlay {
  position: absolute; inset: 0;
  /* Clean, symmetric: dark vignette + subtle left-side red brand accent */
  background:
    radial-gradient(ellipse 90% 100% at 0% 55%,  rgba(185,12,12,.13), transparent 55%),
    radial-gradient(ellipse 100% 60% at 50% 110%, rgba(185,12,12,.16), transparent 58%),
    linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.10) 40%, rgba(0,0,0,.28) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: 70px 0 80px;
}
.hero__eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: .78rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--steel); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 100px; background: rgba(255,255,255,.03);
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: 1.02; margin: 0 0 18px;
  text-transform: uppercase; letter-spacing: .5px;
  background: linear-gradient(180deg,#fff 35%,#9aa0a6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title span {
  display: block;
  background: linear-gradient(180deg,var(--red-bright),var(--red-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 520px; margin: 0 0 28px; }
.hero__lead strong { color: var(--red-bright); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0;
}
.hero__badges li {
  font-size: .82rem; color: var(--steel); letter-spacing: .5px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 8px;
}
.hero__logo { display: flex; justify-content: center; }
.hero__logo img { filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--alt {
  /* Carbon fiber + subtle panel overlay */
  background-image:
    linear-gradient(180deg, rgba(21,24,29,.94), rgba(16,18,22,.96)),
    var(--carbon);
  background-size: auto, var(--carbon-size);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section__eyebrow {
  margin: 0 0 10px; font-size: .78rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red-bright); font-weight: 700;
}
.section__title {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .5px;
  font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px;
  background: linear-gradient(180deg,#fff,#8d9299);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__sub { color: var(--muted); margin: 0; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background-image:
    linear-gradient(180deg, rgba(21,24,29,.91), rgba(13,15,18,.95)),
    var(--carbon);
  background-size: auto, var(--carbon-size);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: var(--shadow); }
.card__icon {
  width: 60px; height: 60px; display: grid; place-items: center;
  border-radius: 12px; margin-bottom: 18px; color: #fff;
  background: linear-gradient(180deg, var(--red-bright), var(--red-deep));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  position: relative; padding: 28px 24px;
  background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: var(--radius);
}
.feature__num {
  font-family: var(--display); font-size: 2rem; color: transparent;
  -webkit-text-stroke: 1px var(--steel-dim); display: block; margin-bottom: 10px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  list-style: none; padding: 0; margin: 0; counter-reset: step;
}
.step { text-align: center; padding: 30px 24px; position: relative; }
.step__num {
  width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.6rem; color: #fff;
  border-radius: 50%; background: linear-gradient(180deg, var(--red-bright), var(--red-deep));
  box-shadow: 0 10px 26px rgba(209,31,31,.4), inset 0 1px 0 rgba(255,255,255,.3);
}
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Service area ---------- */
.area { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.area__text p { color: var(--muted); margin: 0 0 22px; }
.area__card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.area__card h3 { margin: 0 0 6px; font-family: var(--display); letter-spacing: 1px; text-transform: uppercase; }
.area__hours { color: var(--steel); margin: 0 0 18px; }
.area__hours strong { color: var(--red-bright); }
.area__list { list-style: none; padding: 0; margin: 0; }
.area__list li { padding: 8px 0 8px 26px; position: relative; color: var(--muted); border-top: 1px solid var(--line); }
.area__list li::before { content: "✓"; position: absolute; left: 0; color: var(--red-bright); font-weight: 700; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact__lead { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 26px 0 0; }
.contact__list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.contact__label { color: var(--muted); font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; }
.contact__list a, .contact__list span:last-child { font-weight: 700; color: var(--text); font-size: 1.05rem; }
.contact__list a:hover { color: var(--red-bright); }

.contact__form {
  background-image:
    linear-gradient(180deg, rgba(21,24,29,.92), rgba(13,15,18,.95)),
    var(--carbon);
  background-size: auto, var(--carbon-size);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.contact__form h3 { margin: 0 0 18px; font-family: var(--display); text-transform: uppercase; letter-spacing: 1px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 6px; letter-spacing: .5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 9px;
  background: #0c0e11; border: 1px solid var(--line); color: var(--text);
  font-family: var(--font); font-size: .98rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(209,31,31,.18);
}
.contact__note { margin: 14px 0 0; font-size: .9rem; min-height: 1.2em; color: var(--steel); }
.contact__note.is-error { color: #ff8484; }
.contact__note.is-ok { color: #4fd17a; }

/* ---------- Footer ---------- */
.footer {
  background-image:
    linear-gradient(rgba(8,9,11,.97), rgba(8,9,11,.97)),
    var(--carbon);
  background-size: auto, var(--carbon-size);
  border-top: 1px solid var(--line);
}
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding: 56px 0 36px; }
.footer__brand img { width: 64px; margin-bottom: 14px; }
.footer__brand p { color: var(--muted); margin: 0; }
.footer__brand strong { color: var(--red-bright); }
.footer__col h4 { margin: 0 0 14px; font-family: var(--display); text-transform: uppercase; letter-spacing: 1px; font-size: .95rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { padding: 6px 0; color: var(--muted); }
.footer__col a:hover { color: var(--red-bright); }
.footer__bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid var(--line); padding: 20px 0;
  width: 92%; max-width: var(--maxw); margin: 0 auto;
  color: var(--steel-dim); font-size: .85rem;
}

/* ---------- Floating call ---------- */
.floating-call {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: linear-gradient(180deg, var(--red-bright), var(--red-deep));
  box-shadow: 0 10px 28px rgba(209,31,31,.5);
  animation: pulse-red 2.4s infinite;
}
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(232,59,59,.55), 0 10px 28px rgba(209,31,31,.5); }
  70% { box-shadow: 0 0 0 16px rgba(232,59,59,0), 0 10px 28px rgba(209,31,31,.5); }
  100% { box-shadow: 0 0 0 0 rgba(232,59,59,0), 0 10px 28px rgba(209,31,31,.5); }
}

/* ---------- Gallery ---------- */
.gallery__video-wrap {
  max-width: 860px; margin: 0 auto 40px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(209,31,31,.15);
  aspect-ratio: 16/9;
}
.gallery__video { width: 100%; height: 100%; display: block; background: #000; object-fit: cover; object-position: center; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery__item {
  position: relative; display: block; overflow: hidden;
  border-radius: 10px; border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55));
  opacity: 0; transition: opacity .3s ease;
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  /* Topbar: single line on mobile, hide non-essential items */
  .topbar {
    justify-content: space-between;
    padding: 6px 12px;
    gap: 6px;
  }
  .topbar__text,
  .topbar__divider,
  .topbar__lang { display: none; }
  .topbar__call { margin-left: 0; font-size: .85rem; }
  .lang-toggle { margin-left: 0; }

  /* Nav toggle clearly visible */
  .nav__toggle { display: flex; }
  .header__inner { padding: 10px 0; }
}
@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards, .features { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__logo { order: -1; }
  .hero__logo img { max-width: 240px; }
  .area, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(10,11,13,.98); border-bottom: 1px solid var(--line);
    padding: 0; max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
  }
  .nav__menu.is-open { max-height: 420px; padding: 14px; }
  .nav__cta-wrap { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav__cta { display: block; text-align: center; width: 100%; }
  .nav { position: static; }
  .header__inner { position: relative; }
  .steps { grid-template-columns: 1fr; }
}

/* ─── Reviews ─── */
.rev__summary {
  display: flex; gap: 48px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 44px; margin: 0 auto 52px; max-width: 680px;
}
.rev__score-left { text-align: center; flex-shrink: 0; min-width: 120px; }
.rev__score-num {
  display: block; font-family: var(--display); font-size: 4.2rem; font-weight: 900;
  line-height: 1; color: #fff; letter-spacing: -2px;
}
.rev__score-stars { display: flex; gap: 3px; justify-content: center; color: #f59e0b; margin: 8px 0 6px; }
.rev__score-stars svg { width: 20px; height: 20px; }
.rev__score-label { font-size: .78rem; color: var(--muted); margin: 0; white-space: nowrap; }
.rev__score-bars { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.rev__bar-row { display: flex; align-items: center; gap: 10px; font-size: .8rem; }
.rev__bar-lbl { color: var(--muted); width: 24px; flex-shrink: 0; }
.rev__bar-track { flex: 1; height: 7px; background: var(--panel-2); border-radius: 100px; overflow: hidden; border: 1px solid var(--line); }
.rev__bar-fill { height: 100%; background: #f59e0b; border-radius: 100px; }
.rev__bar-fill--dim { background: var(--steel-dim); }
.rev__bar-pct { color: var(--muted); width: 32px; text-align: right; font-size: .75rem; }

.rev__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 52px;
}
.rev__card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 0;
  transition: border-color .2s, transform .2s;
}
.rev__card:hover { border-color: rgba(245,158,11,.35); transform: translateY(-2px); }
.rev__card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rev__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--av, #2563eb);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff; flex-shrink: 0;
  font-family: var(--display);
}
.rev__meta { flex: 1; overflow: hidden; }
.rev__name { display: block; font-weight: 700; font-size: .95rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rev__date { font-size: .75rem; color: var(--steel-dim); }
.rev__badge {
  margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .4px;
  color: #34d399; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.22);
  padding: 3px 9px; border-radius: 100px; white-space: nowrap; flex-shrink: 0;
}
.rev__stars { display: flex; gap: 2px; color: #f59e0b; margin-bottom: 14px; }
.rev__stars svg { width: 15px; height: 15px; }
.rev__quote {
  margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.68;
  font-style: italic; border-left: 3px solid var(--red); padding-left: 14px; flex: 1;
}

/* Write-a-review form */
.rev__form-wrap {
  background-image: linear-gradient(180deg,rgba(21,24,29,.92),rgba(13,15,18,.95)), var(--carbon);
  background-size: auto, var(--carbon-size);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  max-width: 780px; margin: 0 auto;
}
.rev__form-inner { padding: 40px 44px; }
.rev__form-inner h3 {
  font-family: var(--display); font-size: 1.55rem; text-transform: uppercase;
  letter-spacing: 1px; margin: 0 0 8px; color: #fff;
}
.rev__form-sub { color: var(--muted); margin: 0 0 28px; font-size: .93rem; }
.rev__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 16px; }
.star-picker { display: flex; gap: 4px; padding: 8px 0 2px; }
.sp__star {
  background: none; border: none; cursor: pointer; padding: 2px;
  color: var(--steel-dim); transition: color .15s, transform .12s;
  line-height: 0;
}
.sp__star svg { width: 30px; height: 30px; display: block; }
.sp__star:hover, .sp__star.is-lit { color: #f59e0b; transform: scale(1.18); }
.rev__submit { margin-top: 10px; }
.rev__msg {
  margin-top: 16px; font-size: .9rem; font-weight: 600;
  text-align: center; padding: 12px; border-radius: 8px;
}
.rev__msg--ok  { color: #34d399; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.2); }
.rev__msg--err { color: var(--red-bright); background: rgba(232,59,59,.08); border: 1px solid rgba(232,59,59,.2); }
@media (max-width: 980px) { .rev__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .rev__summary { flex-direction: column; gap: 24px; padding: 24px; }
  .rev__grid { grid-template-columns: 1fr; }
  .rev__form-row { grid-template-columns: 1fr; }
  .rev__form-inner { padding: 24px; }
}
@media (max-width: 520px) {
  .cards, .features { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
