:root {
  --bg: #0a0a0a;
  --bg-elev: #141414;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.15);
  --text: #fafafa;
  --text-dim: #a1a1aa;
  --text-muted: #52525b;
  --accent: #ff4d1f;
  --accent-2: #e63d12;
  --accent-3: #ff6a3d;
  --accent-glow: rgba(255, 77, 31, 0.18);
  --accent-soft: rgba(255, 77, 31, 0.1);
  --carbon: #2c2c2e;
  --danger: #ef4444;
  --display: 'Instrument Serif', serif;
  --body: 'Geist', sans-serif;
  --mono: 'Geist Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 106, 61, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 50%, rgba(44, 44, 46, 0.4), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1;
}

/* ======== NAVIGATION ======== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.85rem 0;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, transparent 100%);
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo:hover { opacity: 0.85; }

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 0.35rem;
  border-radius: 100px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-card-hover);
}

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-cta {
  background: var(--accent);
  color: white;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.mobile-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  transition: all 0.2s ease;
  position: relative;
  z-index: 102;
}

.mobile-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.mobile-toggle .toggle-line {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-toggle .toggle-line:nth-child(1) { transform: translateY(-5px); }
.mobile-toggle .toggle-line:nth-child(2) { transform: translateY(0); }
.mobile-toggle .toggle-line:nth-child(3) { transform: translateY(5px); }

.mobile-toggle.open .toggle-line:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}
.mobile-toggle.open .toggle-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}
.mobile-toggle.open .toggle-line:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* ======== BUTTONS ======== */
.btn {
  padding: 0.95rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 77, 31, 0.4);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-bright);
  backdrop-filter: blur(20px);
}

.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

/* ======== SECTIONS / TYPOGRAPHY ======== */
section {
  padding: 7rem 2rem;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--mono);
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  background: var(--accent-soft);
}

.section-title {
  font-family: var(--body);
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  max-width: 900px;
}

.section-title em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 600px;
}

.section-header { margin-bottom: 4rem; }

/* Hero on inner pages */
.page-hero {
  padding: 10rem 2rem 4rem;
  position: relative;
  z-index: 2;
}

.page-hero-container {
  max-width: 1440px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb-sep { color: var(--border-bright); }

/* ======== HOME HERO ======== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  z-index: 2;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.55) saturate(1.1) contrast(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(1.08); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 10, 0.4) 0%,
      rgba(10, 10, 10, 0.55) 40%,
      rgba(10, 10, 10, 0.85) 80%,
      var(--bg) 100%),
    radial-gradient(ellipse 80% 60% at 30% 50%, rgba(255, 77, 31, 0.12), transparent 70%);
}

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--text);
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
}

.hero-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
  font-family: var(--body);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
  max-width: 1100px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.hero h1 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(250, 250, 250, 0.85);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.5;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border-bright);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  overflow: hidden;
  max-width: 880px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.stat {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  padding: 1.75rem 1.5rem;
}

.stat-num {
  font-family: var(--body);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, var(--text), var(--text-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-num.accent {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-family: var(--mono);
}

/* ======== HOME SECTION CARDS ======== */
.section-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.section-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.section-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.section-card:hover::before { opacity: 1; }

.section-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.section-card h3 {
  font-family: var(--body);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.section-card-link {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.section-card:hover .section-card-link { gap: 0.7rem; }

/* ======== NOSOTROS ======== */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.nosotros-text p {
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.nosotros-text p:first-child {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
}

.features-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.feature {
  padding: 2rem 2.25rem;
  background: var(--bg-elev);
  transition: all 0.3s ease;
}

.feature:hover { background: var(--bg-card-hover); }

.feature-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.feature-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature h3 {
  font-family: var(--body);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.feature p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ======== PROCESO ======== */
.proceso-section {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.proceso-card {
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.proceso-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.proceso-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.proceso-card:hover::before { opacity: 1; }

.proceso-num {
  font-family: var(--display);
  font-size: 3.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.proceso-card h3 {
  font-family: var(--body);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.proceso-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ======== CATÁLOGO ======== */
.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.catalog-search {
  position: relative;
  flex: 1;
  max-width: 400px;
  min-width: 240px;
}

.catalog-search input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.95rem;
  backdrop-filter: blur(20px);
  transition: border 0.2s;
}

.catalog-search input:focus {
  outline: none;
  border-color: var(--accent);
}

.catalog-search svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  position: sticky;
  top: 100px;
}

.filter-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.filter-panel-header h3 {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.clear-filters {
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
}

.filter-group { margin-bottom: 1.5rem; }
.filter-group:last-child { margin-bottom: 0; }

.filter-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.filter-input, .filter-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.875rem;
  transition: border 0.2s;
}

.filter-input:focus, .filter-select:focus {
  outline: none;
  border-color: var(--accent);
}

.filter-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  padding: 0.45rem 0.85rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 100px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--body);
}

.chip:hover { border-color: var(--border-bright); }

.chip.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  font-weight: 600;
}

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.results-count {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.results-count strong {
  color: var(--accent);
  font-weight: 600;
}

.sort-select {
  padding: 0.55rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.85rem;
  cursor: pointer;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.car-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.car-image {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover .car-image img { transform: scale(1.05); }

.car-image-placeholder {
  color: var(--text-muted);
  font-size: 3rem;
  opacity: 0.2;
}

.car-badge {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--mono);
  backdrop-filter: blur(20px);
}

.car-badge.new {
  background: var(--accent);
  color: white;
}

.car-badge.used {
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  border: 1px solid var(--border-bright);
}

.car-photo-count {
  position: absolute;
  bottom: 0.875rem;
  right: 0.875rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--mono);
  background: rgba(0, 0, 0, 0.7);
  color: var(--text);
  border: 1px solid var(--border-bright);
  backdrop-filter: blur(20px);
}

.car-info { padding: 1.25rem; }

.car-title {
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  letter-spacing: -0.02em;
}

.car-version {
  color: var(--text-dim);
  font-size: 0.825rem;
  margin-bottom: 1rem;
  font-family: var(--mono);
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0.875rem 0;
  border-top: 1px solid var(--border);
  margin-bottom: 1rem;
}

.car-spec {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
}

.car-spec strong {
  color: var(--text);
  font-weight: 500;
}

.car-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.car-price-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.car-price {
  font-family: var(--body);
  font-size: 1.35rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.car-actions {
  display: flex;
  gap: 0.4rem;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.icon-btn.delete:hover {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 5rem 2rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 16px;
}

.empty-state h3 {
  font-family: var(--body);
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* ======== FINANCIACIÓN ======== */
.finanzas-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.finanzas-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.finanza-item {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.finanza-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.finanza-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.finanza-item h4 {
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.finanza-item p {
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.5;
}

.calc-card {
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.calc-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  pointer-events: none;
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.calc-card h3 {
  font-family: var(--body);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.calc-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  padding: 0.25rem 0.65rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 100px;
}

.calc-card > p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.calc-field {
  margin-bottom: 1.1rem;
  position: relative;
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.calc-field input, .calc-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  transition: border 0.2s;
}

.calc-field input:focus, .calc-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.calc-result {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--accent);
  position: relative;
}

.calc-result-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.calc-result-value {
  font-family: var(--body);
  font-size: 2.25rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.calc-result-detail {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ======== TOMA ======== */
.toma-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.toma-list {
  list-style: none;
  margin-top: 2rem;
}

.toma-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.toma-list li::before {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ======== FORM CARD ======== */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  backdrop-filter: blur(20px);
}

.form-card h3 {
  font-family: var(--body);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.form-card > p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-field { margin-bottom: 1rem; }

.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.95rem;
  transition: border 0.2s;
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--accent);
}

/* ======== CONTACTO ======== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-card .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.contact-card .value {
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.whatsapp-btn {
  background: #25d366;
  color: white;
  padding: 1rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.map-placeholder {
  width: 100%;
  height: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.85rem;
  margin-top: 1.5rem;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ======== WHATSAPP FLOAT ======== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover { transform: scale(1.1); }

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.4;
  z-index: -1;
  animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ======== FOOTER ======== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.5;
}

.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ======== MODAL ======== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--bg-elev);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: 2.25rem;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--danger);
  border-color: var(--danger);
}

.modal h2 {
  font-family: var(--body);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.modal > p {
  color: var(--text-dim);
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
}

/* ======== TOAST ======== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-elev);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  font-size: 0.9rem;
  z-index: 300;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  font-weight: 500;
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ======== REVEAL ANIMATIONS ======== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======== FILTROS COLORES ======== */
.color-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}

.color-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.filter-panel-header h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-panel-header h3 svg {
  color: var(--accent);
}

/* ======== BOTÓN TOGGLE FILTROS (solo mobile) ======== */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  color: var(--text);
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--body);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-toggle-btn:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.filter-toggle-btn svg {
  color: var(--accent);
}

.filter-count {
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--mono);
}

/* Botón de cerrar dentro del panel mobile */
.filter-close-mobile {
  display: none;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.filter-close-mobile:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* Botón Aplicar al final del panel mobile */
.filter-apply-btn {
  display: none;
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--body);
  margin-top: 1.5rem;
  transition: all 0.2s ease;
}

.filter-apply-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ======== SELECT DROPDOWN — Fix legibilidad de las opciones ======== */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem !important;
  cursor: pointer;
}

select:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* Las opciones dentro del select */
select option {
  background: #1a1a1a;
  color: var(--text);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: var(--body);
  border: none;
}

select option:hover,
select option:focus,
select option:checked,
select option:active {
  background: var(--accent) !important;
  color: white !important;
}

/* ======== CALCULATOR INFO BANNER ======== */
.calc-info-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.4;
}

.calc-info-banner svg {
  flex-shrink: 0;
  color: var(--accent);
}

.calc-info-banner strong {
  color: var(--accent);
  font-weight: 600;
}

/* ======== CALCULATOR WARNING ======== */
.calc-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid var(--danger);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.4;
}

.calc-warning svg {
  flex-shrink: 0;
  color: var(--danger);
  margin-top: 1px;
}

.calc-warning strong {
  color: var(--danger);
  font-weight: 600;
}


@media (max-width: 1100px) {
  .catalog-layout { grid-template-columns: 240px 1fr; gap: 1.5rem; }
  .filter-panel { position: static; padding: 1.25rem; }
  .calc-card { position: static; }
  .proceso-grid { grid-template-columns: repeat(2, 1fr); }
}

/* En pantallas chicas (900px) el panel se transforma en drawer modal */
@media (max-width: 900px) {
  /* Layout vuelve a 1 columna (las cards de autos a full width) */
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  /* Mostrar el botón toggle de filtros */
  .filter-toggle-btn {
    display: inline-flex;
  }

  /* Botón cerrar y aplicar en mobile */
  .filter-close-mobile {
    display: flex;
  }

  .filter-apply-btn {
    display: block;
  }

  /* OCULTAR PANEL POR DEFECTO en mobile */
  .filter-panel {
    display: none;
  }

  /* Cuando está abierto, transformar en modal lateral */
  .filter-panel.mobile-open {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;
    width: 90%;
    max-width: 380px;
    z-index: 98;
    overflow-y: auto;
    border-radius: 0 16px 0 0;
    border: none;
    border-right: 1px solid var(--border-bright);
    border-top: 1px solid var(--border-bright);
    background: var(--bg-elev);
    padding: 1.5rem;
    padding-bottom: 6rem;
    animation: filterSlideIn 0.3s ease-out;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
  }

  @keyframes filterSlideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }

  /* Backdrop oscuro detrás del filter panel */
  .filter-backdrop {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 97;
    animation: fadeIn 0.3s ease;
  }

  .filter-backdrop.active {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Body lock cuando filtros abiertos */
  body.filters-open {
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .nav-cta { display: none; }

  /* MENÚ MÓVIL DROPDOWN SIMPLE */
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background: var(--bg-elev);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 0.5rem;
    border-radius: 14px;
    border: 1px solid var(--border-bright);
    z-index: 99;
    gap: 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    animation: dropdownSlide 0.2s ease-out;
  }

  @keyframes dropdownSlide {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links.mobile-open li {
    width: 100%;
    list-style: none;
  }

  .nav-links.mobile-open a {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
    transition: background 0.15s ease;
  }

  .nav-links.mobile-open a:hover,
  .nav-links.mobile-open a:focus {
    background: var(--bg-card-hover);
    color: var(--accent);
  }

  .nav-links.mobile-open a.active {
    background: var(--accent-soft);
    color: var(--accent);
  }

  /* Bloquear scroll del body cuando el menú está abierto */
  body.menu-open {
    overflow: hidden;
  }
  .nosotros-grid, .finanzas-grid, .toma-content, .contacto-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .finanzas-options { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section, .page-hero { padding: 4rem 1.25rem; }
  .hero { padding: 6rem 1.25rem 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .section-cards { grid-template-columns: 1fr; }
}

/* ======== MOBILE OPTIMIZATIONS ======== */
@media (max-width: 700px) {
  /* NAVBAR */
  .nav-container {
    padding: 0 1rem;
  }
  .logo-img {
    height: 40px;
    padding: 4px 8px;
  }
  .mobile-toggle {
    width: 42px;
    height: 42px;
  }

  /* HERO */
  .hero {
    padding: 5.5rem 1rem 2rem;
    min-height: 90vh;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 11vw, 4rem);
    line-height: 0.95;
    margin-bottom: 1.25rem;
  }
  .hero-pill {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1.25rem;
  }
  .hero-sub {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
    margin-bottom: 3rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.25rem;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    border-radius: 14px;
  }
  .stat {
    padding: 1.25rem 1rem;
  }
  .stat-num {
    font-size: 1.75rem;
  }
  .stat-label {
    font-size: 0.65rem;
    margin-top: 0.4rem;
  }
  .scroll-indicator {
    bottom: 1rem;
    font-size: 0.6rem;
  }
  .scroll-indicator-line {
    height: 24px;
  }

  /* SECCIONES */
  section, .page-hero {
    padding: 3rem 1rem;
  }
  .page-hero {
    padding: 5rem 1rem 1rem;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    line-height: 1;
    margin-bottom: 1rem;
  }
  .section-desc {
    font-size: 0.95rem;
  }
  .section-label {
    font-size: 0.65rem;
    padding: 0.3rem 0.65rem;
    margin-bottom: 1rem;
  }
  .breadcrumb {
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
  }

  /* BOTONES */
  .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
  }

  /* SECTION CARDS (home) */
  .section-cards {
    gap: 1rem;
    margin-top: 2.5rem;
  }
  .section-card {
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
  }
  .section-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
  }
  .section-card h3 {
    font-size: 1.2rem;
  }
  .section-card p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  /* NOSOTROS */
  .nosotros-grid {
    gap: 1.5rem;
  }
  .nosotros-text p:first-child {
    font-size: 1.1rem;
  }
  .nosotros-text p {
    font-size: 0.95rem;
  }
  .features-stack {
    border-radius: 14px;
  }
  .feature {
    padding: 1.5rem 1.25rem;
  }
  .feature h3 {
    font-size: 1.15rem;
  }
  .feature p {
    font-size: 0.875rem;
  }

  /* PROCESO */
  .proceso-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 2.5rem;
  }
  .proceso-card {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
  }
  .proceso-num {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  .proceso-card h3 {
    font-size: 1.1rem;
  }
  .proceso-card p {
    font-size: 0.85rem;
  }

  /* CATÁLOGO */
  .catalog-controls {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
  }
  .catalog-search {
    flex: 1;
    max-width: none;
    width: auto;
    min-width: 0;
  }
  .catalog-search input {
    padding: 0.75rem 0.85rem 0.75rem 2.5rem;
    font-size: 0.9rem;
  }
  .filter-toggle-btn {
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
    flex-shrink: 0;
  }
  .filter-toggle-btn span:not(.filter-count) {
    display: none;
  }
  .catalog-layout {
    gap: 1.25rem;
  }
  .filter-panel {
    padding: 1.25rem;
    border-radius: 14px;
  }
  .filter-group {
    margin-bottom: 1.25rem;
  }
  .results-bar {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .results-count {
    font-size: 0.75rem;
  }
  .sort-select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
  }
  .car-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .car-card {
    border-radius: 14px;
  }
  .car-info {
    padding: 1rem;
  }
  .car-title {
    font-size: 1.05rem;
  }
  .car-price {
    font-size: 1.25rem;
  }

  /* FINANZAS */
  .finanzas-grid {
    gap: 1.5rem;
  }
  .finanzas-options {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .finanza-item {
    padding: 1.25rem;
    border-radius: 12px;
  }
  .finanza-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.75rem;
  }
  .finanza-item h4 {
    font-size: 1rem;
  }
  .finanza-item p {
    font-size: 0.85rem;
  }

  /* CALCULADORA */
  .calc-card {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }
  .calc-card h3 {
    font-size: 1.25rem;
  }
  .calc-card > p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }
  .calc-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.55rem;
  }
  .calc-field {
    margin-bottom: 0.9rem;
  }
  .calc-field input, .calc-field select {
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
  }
  .calc-result {
    padding: 1.25rem;
  }
  .calc-result-value {
    font-size: 1.85rem;
  }

  /* TOMA */
  .toma-content {
    gap: 1.5rem;
  }
  .toma-list li {
    padding: 0.85rem 0;
    font-size: 0.9rem;
    gap: 0.75rem;
  }
  .toma-list li::before {
    width: 22px;
    height: 22px;
  }

  /* FORMS */
  .form-card {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }
  .form-card h3 {
    font-size: 1.25rem;
  }
  .form-card > p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-field input, .form-field textarea, .form-field select {
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
  }
  .form-field label {
    font-size: 0.65rem;
  }

  /* CONTACTO */
  .contacto-grid {
    gap: 1.5rem;
  }
  .contact-cards {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .contact-card {
    padding: 1.1rem;
    border-radius: 12px;
  }
  .contact-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.75rem;
  }
  .contact-icon svg {
    width: 18px;
    height: 18px;
  }
  .contact-card .label {
    font-size: 0.6rem;
    margin-bottom: 0.25rem;
  }
  .contact-card .value {
    font-size: 0.875rem;
  }
  .whatsapp-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    font-size: 0.85rem;
  }
  .map-placeholder {
    height: 160px;
    font-size: 0.8rem;
  }

  /* WHATSAPP FLOAT */
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  /* FOOTER */
  footer {
    padding: 3rem 1rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand .footer-logo {
    height: 50px;
    margin-bottom: 0.85rem;
  }
  .footer-brand p {
    font-size: 0.85rem;
    max-width: 100%;
  }
  .footer-col h5 {
    font-size: 0.65rem;
    margin-bottom: 0.85rem;
  }
  .footer-col a {
    font-size: 0.85rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    padding-top: 1.5rem;
  }

  /* MODAL */
  .modal {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
    max-height: 95vh;
  }
  .modal h2 {
    font-size: 1.25rem;
  }
  .modal > p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

  /* TOAST */
  .toast {
    bottom: 5rem;
    font-size: 0.8rem;
    padding: 0.75rem 1.25rem;
    max-width: calc(100vw - 2rem);
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }
  .section-title {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }
}
