/* ============================================
   PT MACRO AUTO GLOBAL × POLYTRON FOX ELECTRIC
   Design tokens
   ============================================ */
:root {
  --ink: #0e1b3d;
  --ink-soft: #17265c;
  --ink-softer: #263875;
  --paper: #f4f5fa;
  --surface: #ffffff;
  --red: #e2261f;
  --red-deep: #b81d18;
  --volt: #2fe0a4;
  --volt-deep: #17b382;
  --line: #e2e4ee;
  --text: #10162e;
  --text-muted: #5a5f78;
  --text-on-ink: #eef0fa;
  --text-on-ink-muted: #aab1d6;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --shadow-card: 0 18px 40px -22px rgba(14, 27, 61, 0.35);
  --shadow-cta: 0 14px 28px -12px rgba(226, 38, 31, 0.55);

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; color: var(--text-muted); }

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

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

button, input, select, textarea { font-family: inherit; font-size: inherit; }

:focus-visible {
  outline: 3px solid var(--volt-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--red-deep); }

.btn-ghost {
  background: transparent;
  border-color: rgba(238, 240, 250, 0.35);
  color: var(--text-on-ink);
}
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-soft); }

.btn-block { width: 100%; }

/* ============================================
   NAV
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 27, 61, 0.92);
  backdrop-filter: blur(10px);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand span {
  color: var(--text-on-ink-muted);
  font-size: 0.72rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a:not(.btn) {
  color: var(--text-on-ink-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--ink);
    padding: 10px 24px 22px;
  }
  .nav-links.nav-links-open { display: flex; }
  .nav-links a:not(.btn) { padding: 10px 0; width: 100%; }
  .nav-links .btn { margin-top: 10px; }
  .nav-toggle {
    display: inline-flex;
    background: transparent;
    border: 1px solid rgba(238,240,250,0.3);
    color: #fff;
    border-radius: 10px;
    padding: 9px 12px;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--text-on-ink);
  overflow: hidden;
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 60px;
}
.hero-copy { animation: rise 0.7s ease both; }
.hero-copy .eyebrow { color: var(--volt); }
.hero-copy .eyebrow::before { background: var(--volt); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  margin-top: 14px;
  max-width: 15ch;
}
.hero-lead {
  margin-top: 18px;
  color: var(--text-on-ink-muted);
  font-size: 1.08rem;
  max-width: 44ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(238,240,250,0.14);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.35rem;
}
.hero-stats div span {
  color: var(--text-on-ink-muted);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  animation: rise 0.9s ease 0.1s both;
}
.hero-visual svg { width: 100%; height: 100%; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-visual { max-width: 340px; margin: 0 auto; }
}

/* ============================================
   SECTION HEADS
   ============================================ */
.section { padding: 88px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 46px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 12px;
}
.section-head p { margin-top: 14px; font-size: 1.03rem; }
.section-alt { background: var(--surface); }

/* ============================================
   PRICE CARDS
   ============================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.price-card.is-popular { border-color: var(--red); }
.price-tag {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 {
  font-size: 1.5rem;
  color: var(--ink);
}
.price-card .model-note {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.price-rows { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.price-row.is-include { background: #101d42; }
.price-row .label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.price-row.is-include .label { color: var(--text-on-ink-muted); }
.price-row .amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.price-row.is-include .amount { color: #fff; }
.price-card .btn { margin-top: 6px; }

.price-note {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ============================================
   WHY US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  border: 1px solid var(--line);
}
.why-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.why-card .icon svg { width: 22px; height: 22px; }
.why-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.why-card p { font-size: 0.95rem; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--ink);
  color: var(--text-on-ink);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,224,164,0.25), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: 1.6rem; max-width: 20ch; }
.cta-band p { color: var(--text-on-ink-muted); margin-top: 10px; max-width: 46ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #0a1330;
  color: var(--text-on-ink-muted);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(238,240,250,0.1);
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.footer-grid p, .footer-grid a { font-size: 0.92rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  padding-top: 22px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--volt-deep);
  color: #fff;
  padding: 13px 20px 13px 16px;
  border-radius: 999px;
  box-shadow: 0 16px 30px -12px rgba(23, 179, 130, 0.55);
  font-weight: 600;
  font-size: 0.9rem;
}
.wa-float svg { width: 20px; height: 20px; }
.wa-float:hover { background: var(--volt); }

/* ============================================
   FORM PAGE
   ============================================ */
.form-page-hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--text-on-ink);
  padding: 64px 0 80px;
}
.form-page-hero .container { max-width: 720px; text-align: left; }
.form-page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.5rem); margin-top: 14px; }
.form-page-hero p { color: var(--text-on-ink-muted); margin-top: 14px; font-size: 1.03rem; max-width: 56ch; }

.form-wrap {
  max-width: 720px;
  margin: -52px auto 0;
  padding: 0 24px 90px;
}
.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.field .hint { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }
.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--text);
  background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink-softer);
  background: #fff;
  outline: none;
}
.field textarea { resize: vertical; min-height: 84px; }

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.radio-chip {
  position: relative;
}
.radio-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.radio-chip span {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.15s ease;
}
.radio-chip input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.radio-chip input:focus-visible + span {
  outline: 3px solid var(--volt-deep);
  outline-offset: 2px;
}

.form-foot {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #eafaf4; color: var(--volt-deep); }
.form-status.is-error { background: #fdecec; color: var(--red-deep); }

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
}