/* VARIABLES Y RESET */
:root {
  --primary: #3b82f6;      /* Azul moderno */
  --secondary: #10b981;    /* Verde fresco */
  --accent: #8b5cf6;       /* Púrpura vibrante */
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --danger: #ef4444;
  --success: #10b981;
  --warning: #f59e0b;

  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="dark"] {
  --dark: #f8fafc;
  --light: #0f172a;
  --gray: #64748b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  transition: background 0.3s ease;
}

h1, h2, h3, h4 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* BOTONES MODERNOS */
.btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-gradient {
  background: var(--gradient);
  color: white;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-floating {
  background: var(--gradient);
  color: white;
  padding: 16px 24px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* FLOATING CTA */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: white;
  box-shadow: var(--shadow-lg);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  animation: floatIn 0.6s ease-out;
}

@keyframes floatIn {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.floating-cta-text {
  text-align: left;
}

.floating-cta-text strong {
  font-size: 0.95rem;
}

.floating-cta-text small {
  font-size: 0.8rem;
  color: var(--gray);
}

/* HEADER MODERNO */
.header-modern {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 36px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

#theme-toggle:hover {
  background: var(--light);
  color: var(--primary);
}

/* HERO MODERNO */
.hero-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 0;
  min-height: 80vh;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-form {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  max-width: 520px;
}

.input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

#patente {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition);
}

#patente:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

#btn-cotizar-hero {
  padding: 16px 24px;
}

.helper-text {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
}

.helper-text a {
  color: var(--primary);
  text-decoration: underline;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.car-img {
  max-width: 100%;
  animation: floatCar 4s ease-in-out infinite;
}

@keyframes floatCar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* SECCIONES MODERNAS */
.section-modern {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-gradient {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

[data-theme="dark"] .bg-gradient {
  background: linear-gradient(135deg, #0c1a29, #12263a);
}

.light {
  color: white;
}

/* PRODUCTOS GRID */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.producto-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  backdrop-filter: blur(10px);
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.producto-icon {
  width: 70px;
  height: 70px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: var(--transition);
}

.producto-card:hover .producto-icon {
  background: rgba(59, 130, 246, 0
