/* =============================================
   UIVAC — Unión Independiente de Vendedores de Autos
   styles.css  |  uivac.com
   ============================================= */

/* --- Reset & Variables --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red:        #C0152A;
  --red-dark:   #8C0E1E;
  --red-light:  #E63B50;
  --red-pale:   #FDF0F1;
  --red-mid:    #D4243A;
  --charcoal:   #1A1A2E;
  --gray-dark:  #3D3D4E;
  --gray-mid:   #6B6B7E;
  --gray-light: #F4F4F7;
  --border:     #E2E2EA;
  --white:      #FFFFFF;
  --gold:       #D4860A;
  --text-body:  #3D3D4E;
  --text-muted: #7A7A8C;
}


body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

/* --- NAVBAR --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo placeholder */
.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--gray-mid);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--gray-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--red); }

.nav-links .nav-acceso {
  color: var(--red);
  font-weight: 600;
}

.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(192,21,42,0.3);
}

/* --- HERO (modo claro) --- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--gray-light) 0%, #EAEAF2 50%, #F0E8E9 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 5% 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 55%; height: 120%;
  background: radial-gradient(ellipse, rgba(192,21,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-accent-line {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-light) 100%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192,21,42,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,21,42,0.1);
  border: 1px solid rgba(192,21,42,0.25);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 54px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-sub {
  font-size: 16px;
  color: var(--gray-mid);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(192,21,42,0.25);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,21,42,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-pale);
}

/* Hero right panel */
.hero-panel {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.10);
  border: 1px solid var(--border);
}

.hero-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--red-pale);
  position: relative;
}

.hero-panel-title::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 48px; height: 2px;
  background: var(--red);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.stat-item {
  text-align: center;
  padding: 18px 12px;
  background: var(--gray-light);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
}

.stat-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.4;
}

.trust-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trust-chip {
  font-size: 11px;
  color: var(--red-dark);
  background: var(--red-pale);
  border: 1px solid rgba(192,21,42,0.15);
  padding: 5px 10px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  font-weight: 500;
}

/* --- SECTIONS --- */
.section { padding: 88px 5%; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  font-weight: 300;
}

/* --- SERVICIOS --- */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.service-card {
  padding: 30px 28px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  transition: all 0.25s;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}

.service-card:hover {
  border-color: rgba(192,21,42,0.25);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(192,21,42,0.10);
}

.service-card:hover::after { transform: scaleX(1); }

.svc-icon {
  width: 52px; height: 52px;
  background: var(--red-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
  border: 1px solid rgba(192,21,42,0.1);
}

.svc-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.svc-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- VEHÍCULOS --- */
.vehiculos-section {
  background: var(--gray-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.vehiculos-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.vehiculos-header .section-label {
  justify-content: center;
}

.vehiculos-header .section-label::before { display: none; }

.text-red { color: var(--red); font-style: normal; }

.veh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.veh-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.28s;
  display: flex;
  flex-direction: column;
}

.veh-card:hover {
  border-color: rgba(192,21,42,0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(192,21,42,0.10);
}

.veh-illustration {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  padding: 12px 20px 0;
  height: 136px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.veh-illustration svg { width: 100%; height: auto; }

.veh-content {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.veh-icon-badge {
  font-size: 26px;
  margin-bottom: 10px;
  display: block;
}

.veh-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.veh-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.veh-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.veh-list li {
  font-size: 13px;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.veh-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
}

.veh-requisitos {
  background: var(--charcoal);
  border-radius: 18px;
  padding: 44px 48px;
  color: var(--white);
}

.veh-req-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.veh-req-icon {
  font-size: 38px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 4px;
}

.veh-req-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.veh-req-header p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}

.veh-req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.veh-req-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.req-num {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--red-light);
  flex-shrink: 0;
  line-height: 1.2;
}

.veh-req-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.veh-req-note {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

/* --- WHY SECTION --- */
.why-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-check {
  width: 30px; height: 30px;
  min-width: 30px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.why-check svg {
  width: 14px; height: 14px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2.5;
}

.why-item-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 3px;
}

.why-item-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.why-visual {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2a2a42 100%);
  border-radius: 16px;
  padding: 40px 36px;
  color: var(--white);
}

.why-visual h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 28px;
  font-weight: 600;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.process-steps { display: flex; flex-direction: column; }

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.step:last-child { border-bottom: none; }

.step-num {
  width: 34px; height: 34px;
  min-width: 34px;
  background: rgba(192,21,42,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--red-light);
}

.step-text strong {
  display: block;
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 2px;
}

.step-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* --- ADUANAS --- */
.aduanas-section {
  background: var(--red);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.aduanas-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.aduanas-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.aduanas-section .section-label { color: rgba(255,255,255,0.8); justify-content: center; }
.aduanas-section .section-label::before { background: rgba(255,255,255,0.6); }
.aduanas-section h2 { color: var(--white); }
.aduanas-section .section-sub {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  margin-top: 8px;
  font-weight: 300;
}

.aduanas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 40px auto 0;
}

.aduana-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 28px 26px;
  text-align: left;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.aduana-card:hover { background: rgba(255,255,255,0.18); }

.aduana-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.aduana-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.aduana-name {
  font-size: 15px;
  color: var(--white);
  font-weight: 600;
  margin-top: 12px;
}

.aduana-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 5px;
  line-height: 1.55;
}

/* --- CTA --- */
.cta-section {
  background: var(--gray-light);
  padding: 88px 5%;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-section h2 { color: var(--charcoal); }

.cta-section p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- CONTACT STRIP --- */
.contact-strip {
  background: var(--charcoal);
  padding: 24px 5%;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

.contact-icon { font-size: 15px; }

.contact-item a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover { color: var(--white); }

/* --- FOOTER --- */
footer {
  background: #0a0aa1;
  padding: 52px 5% 24px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 36px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  max-width: 300px;
  line-height: 1.7;
  font-weight: 300;
  margin-top: 14px;
}

.footer-links h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.footer-bottom a {
  color: var(--white);
  text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 960px) {
  .hero-content,
  .services-grid,
  .veh-grid,
  .why-grid,
  .aduanas-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .nav-links, .nav-cta { display: none; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; }
  .veh-requisitos { padding: 28px 24px; }
  .veh-req-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .veh-req-grid { grid-template-columns: 1fr; }
  .veh-req-header { flex-direction: column; }
}