/* ============================
   BLACK GLOSS STETICAR — STYLES
   ============================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080808;
  --bg-2: #0f0f0f;
  --bg-3: #141414;
  --surface: #181818;
  --surface-2: #1e1e1e;
  --border: rgba(255,255,255,0.08);
  --border-2: rgba(255,255,255,0.12);
  --text: #f0f0f0;
  --text-2: #999;
  --text-3: #666;
  --gold: #c9a84c;
  --gold-light: #e8c96d;
  --gold-dark: #9a7430;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #000;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 48px;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before { transform: translateX(100%); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(201,168,76,0.35); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 16px 36px; font-size: 0.95rem; border-radius: 14px; min-height: 56px; }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; min-height: 44px; }
.btn-full { width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
  min-height: 48px;
}
.btn-ghost:hover { color: var(--text); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  padding: 88px 24px 40px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu ul { list-style: none; margin-bottom: 32px; }

.mobile-menu ul li { border-bottom: 1px solid var(--border); }

.mobile-menu ul a {
  display: block;
  padding: 18px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  transition: color var(--transition);
}
.mobile-menu ul a:hover { color: var(--gold); }

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: blur(2px);
  will-change: transform, opacity;
}

.gloss-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  bottom: -150px; right: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  top: 50%; right: 30%;
  animation: float 6s ease-in-out infinite 2s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

/* Hero layout: two-column on desktop */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 120px 20px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold-light);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-domicilio {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}
.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat > span:not(.stat-label) { font-size: 1.3rem; color: var(--gold-light); font-weight: 700; }
.stat-label { font-size: 0.7rem; color: var(--text-3); margin-top: 4px; letter-spacing: 0.06em; text-transform: uppercase; }

.stat-divider { width: 1px; height: 40px; background: var(--border-2); }

/* Hero car / image */
.hero-car {
  position: relative;
}

.hero-car-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: var(--surface);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
}

.hero-car-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-car-wrap:hover .hero-car-img { transform: scale(1.03); }

.car-silhouette {
  width: 90%;
  padding: 20px;
  filter: drop-shadow(0 0 40px rgba(201,168,76,0.1));
}
.car-silhouette svg { width: 100%; height: auto; }

.car-shine {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
  animation: shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%, 100% { opacity: 0; transform: translateX(-30%); }
  50% { opacity: 1; transform: translateX(30%); }
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold-dark), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ===== SECTIONS ===== */
.section { padding: 88px 0; position: relative; }
.section-dark { background: var(--bg-2); }

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-header p { color: var(--text-2); font-size: 1rem; line-height: 1.7; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-card:hover::before { opacity: 1; }

/* Service image */
.service-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--bg-3);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);


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

.service-body { padding: 24px 22px; }

.service-icon {
  width: 46px; height: 46px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
  transition: var(--transition);
}
.service-card:hover .service-icon { background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.35); }
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }

.service-card p { color: var(--text-2); font-size: 0.875rem; line-height: 1.65; margin-bottom: 16px; }

.service-meta { display: flex; align-items: center; gap: 10px; }

.duration { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.04em; }

.tag-premium {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 2px 8px;
  border-radius: 100px;
}

/* ===== PROCESS ===== */
.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.process-steps::-webkit-scrollbar { display: none; }

.process-step {
  flex: 1;
  min-width: 170px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: all var(--transition);
}
.process-step:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-3px); }

.step-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(201,168,76,0.2);
  margin-bottom: 10px;
  line-height: 1;
}

.step-content h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.step-content p { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; }

.process-connector {
  flex-shrink: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, rgba(201,168,76,0.15), rgba(201,168,76,0.4), rgba(201,168,76,0.15));
  position: relative;
}
.process-connector::after {
  content: '';
  position: absolute;
  right: -4px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid rgba(201,168,76,0.4);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

}
.gallery-grid::-webkit-scrollbar {
  height: 8px;
}
.gallery-grid::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.35);
  border-radius: 999px;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  background: var(--surface);

}
.gallery-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.ba-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 220px;
}

.ba-half {
  position: relative;
  overflow: hidden;
}
.ba-half:first-child { border-right: 1px solid var(--border); }

.ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);


}
.gallery-card:hover .ba-img { transform: scale(1.04); }

/* Placeholders — used only when no image is found */
.ba-placeholder {
  width: 100%; height: 100%;
  display: none;
}
.ba-placeholder-before {
  background: linear-gradient(135deg, #1c1408 0%, #2a1e0a 100%);
  position: relative;
}
.ba-placeholder-before::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255,255,255,0.025) 8px, rgba(255,255,255,0.025) 9px);
}
.ba-placeholder-after {
  background: linear-gradient(135deg, #0a0800 0%, #050400 100%);
  position: relative; overflow: hidden;
}
.ba-placeholder-after::before {
  content: '';
  position: absolute;
  top: -20%; left: -20%;
  width: 60%; height: 160%;
  background: linear-gradient(105deg, transparent 40%, rgba(201,168,76,0.3) 50%, transparent 60%);
  animation: glossSlide 3s ease-in-out infinite;
}
@keyframes glossSlide {
  0% { transform: translateX(-100%) skewX(-10deg); opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateX(300%) skewX(-10deg); opacity: 0; }
}

.ba-label {
  position: absolute;
  bottom: 8px; left: 8px;
  font-size: 0.62rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.6);
  padding: 3px 8px;
  border-radius: 5px;
  backdrop-filter: blur(4px);
}
.after-label { color: var(--gold-light); }

.gallery-caption {
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--text-2);
  border-top: 1px solid var(--border);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px; right: 20px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(201,168,76,0.07);
  font-family: Georgia, serif;
  font-weight: 700;
  pointer-events: none;
}
.testimonial-card:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }

.stars { color: var(--gold); font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-2); font-size: 0.88rem; line-height: 1.7; margin-bottom: 22px; position: relative; z-index: 1; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar-wrap { position: relative; flex-shrink: 0; }

.author-photo {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-2);
}

.author-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.testimonial-author strong { display: block; font-size: 0.88rem; color: var(--text); margin-bottom: 2px; }
.testimonial-author span { font-size: 0.76rem; color: var(--text-3); }

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-info .section-tag { display: inline-block; margin-bottom: 12px; }

.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.contact-info > p { color: var(--text-2); font-size: 0.98rem; line-height: 1.7; margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }

.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.82rem; color: var(--text); margin-bottom: 2px; letter-spacing: 0.02em; }
.contact-item span { font-size: 0.9rem; color: var(--text-2); }

/* Taller image */
.taller-img-wrap {
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.taller-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);


}
.taller-img-wrap:hover .taller-img { transform: scale(1.03); }

/* ===== FORM ===== */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-success {
  display: none;
  text-align: center;
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}

.footer-inner { display: flex; gap: 64px; padding-bottom: 44px; }

.footer-brand { flex: 1; }
.footer-brand p { color: var(--text-3); font-size: 0.88rem; line-height: 1.65; margin-top: 14px; max-width: 220px; }

.footer-links { display: flex; gap: 64px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.footer-col a { color: var(--text-3); text-decoration: none; font-size: 0.88rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  justify-content: center;
}
.footer-bottom span { font-size: 0.78rem; color: var(--text-3); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.45s; }

/* ============================================================
   TABLET — 768px a 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 110px 20px 60px;
    gap: 40px;
  }

  .hero-car {
    max-width: 560px;
    margin: 0 auto;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 1fr);
    gap: 18px;
    overflow-x: auto;

    padding-bottom: 14px;
  }
  .gallery-card { min-width: 320px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }

  .process-steps { gap: 0; }
}

/* ============================================================
   MÓVIL — hasta 768px
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav-links,
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero — mobile first */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 96px 20px 56px;
    text-align: center;
  }

  .hero-badge { margin: 0 auto 20px; }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { justify-content: center; }

  .hero-stats { justify-content: center; }
  .stat { padding: 0 18px; }
  .stat-num { font-size: 1.7rem; }

  /* Car image shows on mobile, stacked below text */
  .hero-car { max-width: 100%; width: 100%; }
  .hero-car-wrap { aspect-ratio: 16/9; }
  .hero-car-wrap .car-silhouette { width: 100%; }

  .br-desktop { display: none; }

  /* Sections */
  .section { padding: 64px 0; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }

  .service-img-wrap { height: 200px; }

  /* Process — vertical stack */
  .process-steps { flex-direction: column; align-items: stretch; gap: 0; }

  .process-connector {
    width: 2px;
    height: 28px;
    background: linear-gradient(to bottom, rgba(201,168,76,0.15), rgba(201,168,76,0.4), rgba(201,168,76,0.15));
    margin: 0 auto;
    flex-shrink: 0;
  }
  .process-connector::after {
    right: 50%;
    top: auto;
    bottom: -4px;
    transform: translateX(50%);
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 5px solid rgba(201,168,76,0.4);
    border-bottom: none;
  }

  .process-step { min-width: 0; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }
  .ba-card { height: 200px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-form { padding: 24px 20px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-links { gap: 36px; }
}

/* ============================================================
   PEQUEÑO MÓVIL — hasta 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .stat-divider { display: none; }
  .stat { padding: 0; flex-direction: row; align-items: baseline; gap: 6px; }
  .stat-label { margin-top: 0; }

  .btn-lg { padding: 14px 28px; font-size: 0.9rem; }

  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn-ghost { justify-content: center; }

  .gallery-grid { grid-template-columns: 1fr; }
  .ba-card { height: 180px; }

  .contact-form { padding: 20px 16px; }

  .footer-links { flex-direction: column; gap: 28px; }
}
