/* =================================================
   Power Motors México — Landing v2
   Paleta: negro + amarillo señalético (#eac104)
   ================================================= */

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

:root {
  --black: #0a0a0a;
  --ink: #111111;
  --ink-2: #1f1f1f;
  --paper: #ffffff;
  --paper-2: #f5f5f6;
  --paper-3: #ebebed;
  --yellow: #eac104;
  --yellow-d: #caa604;
  --yellow-l: #ffd726;
  --muted: #6b6b6b;
  --muted-2: #8f8f8f;
  --line: #e6e6e6;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 25px 70px rgba(0,0,0,.2);
  --shadow-yellow: 0 14px 40px rgba(234,193,4,.35);
  --container: 1220px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.08rem; color: #444; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.hl { color: var(--yellow); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--yellow-d);
  padding: 6px 12px;
  background: rgba(234,193,4,.12);
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--yellow); background: rgba(234,193,4,.16); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .04em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  text-transform: uppercase;
  font-family: inherit;
  white-space: nowrap;
}
.btn--primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: var(--shadow-yellow);
}
.btn--primary:hover {
  background: var(--yellow-l);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(234,193,4,.5);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--dark {
  background: var(--black);
  color: #fff;
}
.btn--dark:hover { background: var(--ink-2); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  color: #fff;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 38px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__menu a {
  font-size: .88rem;
  font-weight: 600;
  color: #dcdcdc;
  padding: 8px 0;
  position: relative;
  transition: color .2s;
}
.nav__menu a:hover { color: var(--yellow); }
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width .25s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--yellow);
  color: var(--black) !important;
  padding: 10px 22px !important;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .82rem !important;
}
.nav__cta:hover { background: var(--yellow-l); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
}
.nav__toggle span { display: block; width: 100%; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--black);
  overflow: hidden;
  border-bottom: 4px solid var(--yellow);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 15% 20%, rgba(234,193,4,.22), transparent 60%),
    radial-gradient(ellipse 600px 500px at 85% 90%, rgba(234,193,4,.1), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
  z-index: 0;
}
.hero__grain {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 104px 24px 124px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .32em;
  color: var(--yellow);
  margin-bottom: 22px;
  padding: 8px 14px;
  background: rgba(234,193,4,.1);
  border: 1px solid rgba(234,193,4,.2);
  border-radius: 999px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(234,193,4,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(234,193,4,.6); }
  70% { box-shadow: 0 0 0 10px rgba(234,193,4,0); }
  100% { box-shadow: 0 0 0 0 rgba(234,193,4,0); }
}
.hero__copy h1 { color: #fff; margin-bottom: 22px; }
.hero__lead {
  font-size: 1.1rem;
  color: #d0d0d0;
  max-width: 54ch;
  margin-bottom: 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.cert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: #ccc;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  letter-spacing: .05em;
}
.cert b { color: var(--yellow); font-weight: 900; }

/* Hero motor art */
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}
/* Counter-rotating inner ring */
.hero__art::before {
  content: "";
  position: absolute;
  width: 310px; height: 310px;
  border: 1px solid rgba(234,193,4,.12);
  border-radius: 50%;
  animation: spinReverse 35s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes spinReverse { to { transform: rotate(-360deg); } }
.hero__art-glow {
  position: absolute;
  width: 660px; height: 660px;
  background: radial-gradient(circle, rgba(234,193,4,.42), rgba(234,193,4,0) 65%);
  filter: blur(60px);
  animation: glowPulse 5s ease-in-out infinite;
  z-index: 1;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.1); opacity: 1; }
}
.hero__art-ring {
  position: absolute;
  width: 490px; height: 490px;
  border: 1px solid rgba(234,193,4,.18);
  border-radius: 50%;
  animation: spin 55s linear infinite;
  z-index: 1;
}
.hero__art-ring::before,
.hero__art-ring::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--yellow), 0 0 32px rgba(234,193,4,.5);
}
.hero__art-ring::before { top: -6px; left: 50%; transform: translateX(-50%); }
.hero__art-ring::after  { bottom: -6px; left: 50%; transform: translateX(-50%); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__wireframe {
  position: relative;
  z-index: 2;
  max-width: 310px;
  width: 100%;
  opacity: .93;
  filter:
    drop-shadow(0 0 60px rgba(234,193,4,.65))
    drop-shadow(0 8px 40px rgba(234,193,4,.3));
  animation: wirefloat 7s ease-in-out infinite;
  transform-origin: center;
  pointer-events: none;
}
@keyframes wirefloat {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 50px rgba(234,193,4,.55)) drop-shadow(0 8px 30px rgba(234,193,4,.25));
  }
  50% {
    transform: translateY(-18px);
    filter: drop-shadow(0 0 85px rgba(234,193,4,.82)) drop-shadow(0 8px 50px rgba(234,193,4,.45));
  }
}


.hero__stat {
  position: absolute;
  z-index: 3;
  background: #fff;
  color: var(--black);
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  min-width: 150px;
  animation: floatStat 5s ease-in-out infinite;
}
.hero__stat b { display: block; font-size: 1.4rem; font-weight: 900; color: var(--black); line-height: 1; }
.hero__stat span { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hero__stat--1 { top: 10%; right: -5%; animation-delay: -2s; }
.hero__stat--2 { bottom: 15%; left: -5%; }
.hero__stat--2 b { color: var(--yellow-d); }
@keyframes floatStat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Marquee */
.hero__marquee {
  position: relative;
  z-index: 1;
  background: var(--yellow);
  color: var(--black);
  overflow: hidden;
  padding: 14px 0;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .85rem;
  text-transform: uppercase;
}
.marquee__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.about { padding: 130px 0; background: var(--paper); position: relative; }
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: center;
}
.about__image { position: relative; }
.about__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.about__badge {
  position: absolute;
  bottom: -24px;
  left: 24px;
  background: #fff;
  padding: 16px 22px 16px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 340px;
}
.about__badge svg {
  width: 36px; height: 36px;
  padding: 8px;
  background: rgba(234,193,4,.15);
  color: var(--yellow-d);
  border-radius: 10px;
  flex-shrink: 0;
}
.about__badge b { display: block; font-size: .95rem; color: var(--ink); }
.about__badge small { font-size: .8rem; color: var(--muted); }

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-size: 2.2rem;
  color: var(--black);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.stat span { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* ---------- Products ---------- */
.products {
  padding: 130px 0;
  background:
    linear-gradient(180deg, rgba(234,193,4,.08), rgba(234,193,4,0) 40%),
    var(--paper-2);
  position: relative;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.section-head--light { color: #fff; }
.section-head--light h2 { color: #fff; }
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* Full-bleed strip of motors running edge-to-edge BEHIND the cards */
.products .container { position: relative; }
.products__strip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 210px;              /* aprox al nivel del tope de las cards */
  height: 260px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.products__strip::before,
.products__strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}
.products__strip::before { left: 0;  background: linear-gradient(90deg, var(--paper-2) 0%, rgba(245,245,246,0) 100%); }
.products__strip::after  { right: 0; background: linear-gradient(270deg, var(--paper-2) 0%, rgba(245,245,246,0) 100%); }
.products__strip img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100vw;
  width: 100vw;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
  opacity: .28;
  filter: grayscale(.2) contrast(1.05);
  mix-blend-mode: multiply;
}

.products__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  padding: 38px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(234,193,4,.4);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  background: rgba(234,193,4,.14);
  color: var(--yellow-d);
  border-radius: 14px;
  margin-bottom: 20px;
  transition: background .3s, color .3s;
}
.card:hover .card__icon { background: var(--yellow); color: var(--black); }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow-d);
  padding: 4px 10px;
  background: rgba(234,193,4,.1);
  border-radius: 999px;
}

/* ---------- Catalog ---------- */
.catalog {
  padding: 130px 0;
  background: var(--paper);
  position: relative;
}
.catalog__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
  align-items: center;
}
.catalog__cover {
  position: relative;
  perspective: 1200px;
}
.catalog__cover img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-8deg) rotateX(2deg);
  transition: transform .5s var(--ease);
  border-top: 3px solid var(--yellow);
}
.catalog__cover:hover img {
  transform: rotateY(0) rotateX(0);
}
.catalog__pdf-badge {
  position: absolute;
  top: 20px;
  right: -12px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-size: .85rem;
  letter-spacing: .12em;
  transform: rotate(6deg);
}

.catalog__bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 12px;
}
.catalog__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: #333;
}
.catalog__bullets svg {
  width: 22px; height: 22px;
  padding: 5px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
}
.catalog__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Benefits (dark) ---------- */
.benefits {
  padding: 140px 0;
  background: #0a0a0a;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.benefits__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 500px at 10% 20%, rgba(234,193,4,.15), transparent 60%),
    radial-gradient(circle 400px at 90% 80%, rgba(234,193,4,.1), transparent 60%);
  pointer-events: none;
}
.benefits .container { position: relative; z-index: 1; }

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.benefit {
  padding: 52px 40px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition: border-color .3s, transform .3s var(--ease), background .3s;
  position: relative;
  overflow: hidden;
}
.benefit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(234,193,4,0), rgba(234,193,4,.1));
  opacity: 0;
  transition: opacity .4s;
}
.benefit:hover {
  border-color: var(--yellow);
  transform: translateY(-6px);
  background: rgba(255,255,255,.05);
}
.benefit:hover::before { opacity: 1; }
.benefit > * { position: relative; z-index: 1; }
.benefit__num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -.04em;
}
.benefit h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.benefit p { color: #bcbcbc; font-size: .95rem; margin: 0; }

/* ---------- Contact ---------- */
.contact { padding: 130px 0; background: var(--paper); position: relative; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: start;
}
.contact__info h2 { margin-bottom: 16px; }
.contact__info .lead { color: var(--muted); margin-bottom: 36px; max-width: 44ch; }

.contact__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; }
.contact__list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: rgba(234,193,4,.14);
  color: var(--yellow-d);
  border-radius: 12px;
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__item small {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
  font-weight: 700;
}
.contact__item a,
.contact__item span { font-weight: 700; color: var(--ink); font-size: .98rem; line-height: 1.4; }
.contact__item a:hover { color: var(--yellow-d); }

.contact__hours {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--paper-2);
  border-radius: 10px;
  font-size: .88rem;
  color: var(--ink);
  font-weight: 600;
  border: 1px solid var(--line);
}
.contact__hours svg { width: 18px; height: 18px; color: var(--yellow-d); }

/* Form */
.contact__form {
  background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 18px;
}
.contact__form h3 { margin-bottom: 2px; font-size: 1.4rem; }
.form__sub { color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact__form label {
  display: grid;
  gap: 6px;
}
.contact__form label > span {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .04em;
}
.contact__form input,
.contact__form textarea {
  font: inherit;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  font-size: .95rem;
  font-weight: 400;
  color: var(--ink);
  width: 100%;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(234,193,4,.2);
}
.contact__form input.error {
  border-color: #e53935;
  background: #fff4f4;
}
.contact__form textarea { resize: vertical; min-height: 100px; }

/* Honeypot - hidden from humans */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Captcha */
.form__captcha {
  background: rgba(234,193,4,.08);
  border: 1.5px dashed rgba(234,193,4,.4);
  padding: 14px 16px;
  border-radius: 10px;
}
.form__captcha > span {
  display: block;
  margin-bottom: 8px;
}
.form__captcha > span b { color: var(--yellow-d); font-size: 1rem; }
.form__captcha-row { display: flex; gap: 10px; align-items: stretch; }
.form__captcha-row input {
  flex: 1;
  max-width: 140px;
}
#captchaReload {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  width: 48px;
  cursor: pointer;
  color: var(--muted);
  transition: color .2s, border-color .2s, transform .3s;
  display: grid;
  place-items: center;
}
#captchaReload:hover { color: var(--yellow-d); border-color: var(--yellow); transform: rotate(180deg); }
.form__hint { color: var(--muted); font-size: .78rem; margin-top: 6px; display: block; }
.form__hint.error { color: #e53935; font-weight: 600; }

.form__submit { justify-self: start; padding: 15px 36px; margin-top: 4px; }
.contact__note { color: var(--muted); font-size: .78rem; margin: 4px 0 0; }

.form__status {
  font-size: .88rem;
  font-weight: 600;
  padding: 10px 0 0;
  min-height: 1.4em;
}
.form__status--ok { color: #2e7d32; }
.form__status--error { color: #c62828; }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: #bcbcbc;
  padding: 70px 0 0;
  border-top: 4px solid var(--yellow);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer__logo { height: 42px; width: auto; margin-bottom: 18px; }
.footer__desc { color: #aaa; font-size: .92rem; line-height: 1.6; margin-bottom: 18px; max-width: 360px; }
.footer__certs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__certs span {
  padding: 6px 12px;
  background: rgba(234,193,4,.1);
  border: 1px solid rgba(234,193,4,.3);
  color: var(--yellow);
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.footer__col h4 { color: #fff; margin-bottom: 18px; font-size: .82rem; letter-spacing: .18em; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col li,
.footer__col a { font-size: .9rem; color: #aaa; transition: color .2s; }
.footer__col a:hover { color: var(--yellow); }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  background: #050505;
}
.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__bar p { margin: 0; font-size: .82rem; color: #888; }

/* ---------- Floating UI ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.5);
  z-index: 40;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 20px 40px rgba(37,211,102,.7); }
.wa-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,.4);
  animation: waPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .5; }
  100% { transform: scale(1.4); opacity: 0;  }
}

.to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px; height: 44px;
  background: var(--black);
  color: #fff;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 40;
}
.to-top.show { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--yellow); color: var(--black); }

/* ---------- Catalog note ---------- */
.catalog__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .8rem;
  margin-top: 14px;
}
.catalog__note svg { color: var(--yellow-d); flex-shrink: 0; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.modal[hidden] { display: none; }
.modal.open { opacity: 1; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 94vh;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  overflow: hidden;
  transform: scale(.95) translateY(20px);
  transition: transform .3s var(--ease);
  border-top: 4px solid var(--yellow);
  display: flex;
  flex-direction: column;
}
.modal.open .modal__dialog { transform: scale(1) translateY(0); }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  z-index: 3;
  transition: background .2s, transform .2s, color .2s;
}
.modal__close:hover { background: var(--yellow); color: var(--black); transform: rotate(90deg); }

.modal__grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.modal__side {
  position: relative;
  background: var(--black);
  overflow: hidden;
  min-height: 100%;
}
.modal__side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}
.modal__side-overlay {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(10,10,10,.2) 0%, rgba(10,10,10,.95) 100%);
  color: #fff;
}
.modal__badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--yellow);
  color: var(--black);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.modal__side-overlay h4 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: none;
  letter-spacing: -.01em;
}
.modal__side-overlay p { color: #ccc; font-size: .88rem; margin: 0; line-height: 1.5; }

.modal__body {
  padding: 28px 32px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}
.modal__body .eyebrow { margin-bottom: 8px; }
.modal__body h3 { font-size: 1.35rem; margin-bottom: 6px; letter-spacing: -.01em; }
.modal__lead { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }

.modal__form { display: grid; gap: 12px; }
.modal__form label {
  display: grid;
  gap: 6px;
}
.modal__form label > span {
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .04em;
}
.modal__form input[type="text"],
.modal__form input[type="email"],
.modal__form input[type="tel"],
.modal__form input[type="number"] {
  font: inherit;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  font-size: .93rem;
  color: var(--ink);
  width: 100%;
}
.modal__form .form__captcha { padding: 10px 12px; }
.modal__form .form__captcha > span { margin-bottom: 6px; font-size: .82rem; }
.modal__form .form__hint { font-size: .72rem; margin-top: 4px; }
.modal__form input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(234,193,4,.2);
}
.modal__form input.error { border-color: #e53935; background: #fff4f4; }

.form__check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem !important;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 4px;
  cursor: pointer;
}
.form__check input { margin-top: 3px; accent-color: var(--yellow); flex-shrink: 0; }
.form__check span { font-weight: 400 !important; letter-spacing: 0 !important; color: var(--muted) !important; }

.modal__form .form__submit { justify-self: stretch; width: 100%; padding: 13px 24px; margin-top: 2px; }
.modal__note { color: var(--muted); font-size: .72rem; margin: 4px 0 0; text-align: center; line-height: 1.4; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .products__strip { top: auto; bottom: 40px; height: 320px; }
  .hero__art-ring { width: 390px; height: 390px; }
  .hero__wireframe { max-width: 260px; }
  .hero__stat--1 { right: 0; }
  .hero__stat--2 { left: 0; }

  .modal__grid { grid-template-columns: 1fr; }
  .modal__side { min-height: 140px; max-height: 180px; }
  .modal__side-overlay { padding: 20px; }
  .modal__side-overlay h4 { font-size: 1.15rem; }
  .modal__body { padding: 26px 28px; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; padding: 80px 24px 100px; gap: 40px; }
  .hero__art { order: -1; min-height: 340px; }
  .hero__art-glow { width: 420px; height: 420px; }
  .hero__art-ring { width: 320px; height: 320px; }
  .hero__wireframe { max-width: 210px; }
  .about__grid,
  .contact__grid,
  .catalog__grid { grid-template-columns: 1fr; gap: 50px; }
  .catalog__cover { max-width: 400px; margin: 0 auto; }
  .catalog__cover img { transform: none; }
  .benefits__grid { grid-template-columns: 1fr; gap: 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__grid .footer__col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 66px 0 auto 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 22px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-110%);
    transition: transform .3s var(--ease);
  }
  .menu-open .nav__menu { transform: translateY(0); }
  .nav__menu a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .95rem; }
  .nav__cta { text-align: center; margin-top: 12px; }

  .products__grid { grid-template-columns: 1fr; }
  .products__strip { top: auto; bottom: 20px; height: 420px; }
  .products__strip img { opacity: .2; }
  .modal__body { padding: 22px 20px; }
  .modal__dialog { border-radius: 16px; }
  .about__stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat b { font-size: 1.7rem; }
  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
  .footer__bar-inner { flex-direction: column; text-align: center; gap: 6px; }
  h1 { font-size: 2.2rem; }
  .hero__stat { min-width: 130px; padding: 11px 16px; }
  .hero__stat b { font-size: 1.2rem; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .to-top { width: 40px; height: 40px; bottom: 16px; left: 16px; }
}

/* ---------- Motion reduction ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
