/* ===================================================================
   RACCIATTI · LANDING REVENDEDORES — design system replicado del home
   =================================================================== */

:root {
  --green: #3dc43f;
  --green-dark: #1a7a08;
  --green-deep: #0d4a05;
  --black: #080a08;
  --off-black: #111411;
  --surface: #141814;
  --surface-2: #1c221c;
  --border: rgba(61, 196, 63, 0.15);
  --border-bright: rgba(61, 196, 63, 0.4);
  --text: #e8f0e8;
  --text-muted: #fdfffb;
  --text-dim: #ffffff;
  --amber: #d4a017;
  --white: #f0f5f0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* NAV (replica del home, body > nav para no chocar con <nav> internos) */
body > nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5vw;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,10,8,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { height: 36px; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--green) !important;
  color: var(--black) !important;
  padding: 0.45rem 1.2rem;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #5ddd5f !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  width: 32px; height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--text-muted); }
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(8,10,8,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5vw;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}

/* ───── HERO ───── */
.r-hero {
  min-height: 100vh;
  padding: 120px 5vw 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  position: relative;
}
.r-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(61,196,63,0.08), transparent 60%);
  pointer-events: none;
}
.r-hero-content { position: relative; z-index: 2; max-width: 640px; }
.r-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 1rem;
}
.r-eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--green);
}
.r-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.r-h1 em { color: var(--green); font-style: italic; font-weight: 700; }
.r-hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}
.r-bullets {
  list-style: none;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}
.r-bullets li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.r-bullets li::before {
  content: ''; width: 6px; height: 6px; background: var(--green);
  flex-shrink: 0;
}
.r-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--green);
  color: var(--black);
  border: none;
  padding: 1rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover { background: #5ddd5f; transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-bright);
  padding: 1rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-wa {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-wa:hover { background: #2ee273; }

.r-hero-visual {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  height: 520px;
}
.r-hero-tire {
  width: 100%; max-width: 520px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(61,196,63,0.15));
  animation: tireFloat 6s ease-in-out infinite;
}
@keyframes tireFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.r-hero-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.r-badge {
  position: absolute;
  background: var(--off-black);
  border: 1px solid var(--border-bright);
  padding: 0.5rem 0.9rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.r-badge-1 { top: 12%; left: 0; }
.r-badge-2 { top: 28%; right: 0; }
.r-badge-3 { bottom: 28%; left: 4%; }
.r-badge-4 { bottom: 12%; right: 8%; }

/* ───── SECTIONS ───── */
section { padding: 6rem 5vw; position: relative; }
.r-section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
}
.r-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  letter-spacing: -0.005em;
  margin-bottom: 1.2rem;
}
.r-section-title em { color: var(--green); font-style: italic; }
.r-section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.7;
}

/* Beneficios grid */
.r-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.r-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.r-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; max-width: 1200px; margin: 0 auto; }

.r-card {
  background: var(--off-black);
  border: 1px solid var(--border);
  padding: 2rem 1.6rem;
  transition: border-color 0.2s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.r-card:hover { border-color: var(--green); transform: translateY(-3px); }
.r-card-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 1rem;
}
.r-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.7rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.r-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  opacity: 0.85;
  line-height: 1.6;
  font-weight: 300;
}
.r-card-icon {
  width: 36px; height: 36px;
  color: var(--green);
  margin-bottom: 1rem;
  display: block;
  stroke-width: 1.5;
}

/* Marcas dual */
.r-brand-block {
  background: var(--off-black);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.r-brand-block:hover { border-color: var(--green); }
.r-brand-logo { height: 40px; margin-bottom: 1.4rem; }
.r-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.r-brand-tagline {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.r-brand-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.4rem;
}
.r-brand-models {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.r-brand-models li {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  background: rgba(61,196,63,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  text-transform: uppercase;
}

/* Bloque comercial fuerte */
.r-pitch {
  background: linear-gradient(135deg, var(--off-black) 0%, var(--green-deep) 100%);
  border: 1px solid var(--green);
  padding: 4rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.r-pitch h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.1;
}
.r-pitch p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.7;
}
.r-pitch-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: left;
}
.r-pitch-bullets li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.r-pitch-bullets li::before {
  content: '✓'; color: var(--green); font-weight: 700;
}

/* Proceso (4 pasos) */
.r-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.r-step {
  background: var(--off-black);
  border-left: 3px solid var(--green);
  padding: 1.4rem 1.6rem;
  position: relative;
}
.r-step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.r-step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.r-step-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  opacity: 0.85;
  line-height: 1.55;
  font-weight: 300;
}

/* FAQ */
.r-faq-list { max-width: 820px; margin: 0 auto; }
.r-faq {
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}
.r-faq summary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  letter-spacing: 0.01em;
}
.r-faq summary::-webkit-details-marker { display: none; }
.r-faq summary::after {
  content: '+';
  color: var(--green);
  font-size: 1.6rem;
  font-weight: 300;
  transition: transform 0.2s;
}
.r-faq[open] summary::after { transform: rotate(45deg); }
.r-faq-body {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
}

/* Formulario */
.r-form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--off-black);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.r-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.r-form-field { display: flex; flex-direction: column; }
.r-form-field.full { grid-column: 1 / -1; }
.r-form-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.r-form-input,
.r-form-select,
.r-form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.18s;
}
.r-form-input:focus,
.r-form-select:focus,
.r-form-textarea:focus { border-color: var(--green); }
.r-form-textarea { resize: vertical; min-height: 110px; }
.r-form-checks { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.r-form-checks label {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 0.5rem;
  cursor: pointer;
}
.r-form-checks input[type="checkbox"],
.r-form-checks input[type="radio"] {
  accent-color: var(--green);
  width: 16px; height: 16px;
}
.r-form-submit {
  margin-top: 0.6rem;
  width: 100%;
  background: var(--green);
  color: var(--black);
  border: none;
  padding: 1.05rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.r-form-submit:hover { background: #5ddd5f; }
.r-form-msg {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  display: none;
  border: 1px solid;
}
.r-form-msg.success { display: block; border-color: var(--green); color: var(--green); background: rgba(61,196,63,0.06); }
.r-form-msg.error   { display: block; border-color: #cc0033; color: #cc0033; background: rgba(204,0,51,0.06); }

/* Footer (replica del home) */
.r-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 5vw;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.r-footer img { height: 28px; }
.r-footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.r-footer-links { display: flex; gap: 1.5rem; }
.r-footer-links a {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.05em;
  opacity: 0.8;
}
.r-footer-links a:hover { color: var(--green); }
.r-footer-credit {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  opacity: 0.55;
}
.r-footer-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.r-footer-credit a:hover { color: var(--green); }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 22px rgba(37,211,102,0.6); }

/* RESPONSIVE */
@media (max-width: 980px) {
  .r-hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 110px; }
  .r-hero-visual { height: 360px; order: -1; }
  .r-hero-tire { max-width: 360px; }
  .r-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .r-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .r-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body > nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .r-hero { padding: 100px 1.25rem 3rem; }
  .r-hero-visual { height: 260px; }
  .r-hero-tire { max-width: 260px; }
  .r-bullets { grid-template-columns: 1fr; }
  section { padding: 4rem 1.25rem; }
  .r-grid-3, .r-grid-2, .r-grid-4, .r-steps { grid-template-columns: 1fr; }
  .r-pitch { padding: 2.5rem 1.5rem; }
  .r-pitch-bullets { grid-template-columns: 1fr; }
  .r-form-wrap { padding: 2rem 1.4rem; }
  .r-form-grid { grid-template-columns: 1fr; }
  .r-footer { flex-direction: column; align-items: flex-start; }
  .r-badge-1, .r-badge-2, .r-badge-3, .r-badge-4 { display: none; }
  .r-cta-row .btn-primary, .r-cta-row .btn-secondary, .r-cta-row .btn-wa { flex: 1; min-width: 0; justify-content: center; padding: 0.9rem 1rem; font-size: 0.85rem; }
}
