/* ================================================================
   LEDESMA'S MOTORS — index.css
   ================================================================ */

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

/* Background layers */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 60%, rgba(254,146,2,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 30% 40%, rgba(254,100,0,0.07) 0%, transparent 60%);
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(254,146,2,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(254,146,2,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 50%),
    linear-gradient(to top, var(--bg) 0%, transparent 40%);
}

/* Car element */
.hero__car-placeholder {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__car-glow {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 40px;
  background: var(--orange);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.25; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 0.4; transform: translateX(-50%) scaleX(1.1); }
}
.hero__car-box {
  border: 1.5px dashed rgba(254,146,2,0.25);
  border-radius: 4px;
  width: 80%;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(254,146,2,0.03);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(254,146,2,0.5);
  text-align: center;
}
.hero__car-box small {
  font-size: 0.7rem;
  opacity: 0.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.hero__car-img {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 46%;
  max-width: 640px;
  height: auto;
  object-fit: contain;
  opacity: 0.93;
  border-radius: 6px;
  filter: brightness(0.88) saturate(1.1);
  outline: 2px solid var(--orange);
  outline-offset: 0px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
  animation: none;
  pointer-events: none;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--border-o);
  background: var(--orange-dim);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s var(--ease) forwards;
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 1.5rem;
}
.hero__title-line {
  font-size: clamp(5rem, 13vw, 11rem);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) forwards;
  display: block;
}
.hero__title-line:nth-child(1) { animation-delay: 0.4s; }
.hero__title-line:nth-child(2) {
  animation-delay: 0.55s;
  letter-spacing: -0.01em;
}
.hero__title-line--accent {
  color: var(--orange);
  -webkit-text-stroke: 1px var(--orange);
}

.hero__sub {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white-40);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s var(--ease) forwards;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.75s var(--ease) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stats strip */
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 2;
  background: rgba(6,2,26,0.7);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 1.5rem clamp(1.5rem, 6vw, 5rem);
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 1s var(--ease) forwards;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.hero__stat-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-40);
}
.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s var(--ease) forwards;
}
.hero__scroll span {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--white-40);
  writing-mode: vertical-rl;
}
.hero__scroll-track {
  width: 2px;
  height: 64px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
}
.hero__scroll-thumb {
  width: 100%;
  height: 30%;
  background: var(--orange);
  border-radius: 1px;
  animation: scrollThumb 2s ease-in-out infinite;
}
@keyframes scrollThumb {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(400%); opacity: 0; }
}

/* ── SERVICES ───────────────────────────────────────────────── */
.services {
  padding: 7rem clamp(1.5rem, 6vw, 5rem);
}
.services__inner { }
.services__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3.5rem;
}
.services__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
}
.services__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.svc-card {
  background: var(--bg-card);
  padding: 2.5rem;
  position: relative;
  transition: background 0.35s var(--ease);
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(254,146,2,0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover { background: #0d0b24; }

.svc-card--featured {
  background: #0d0b22;
}
.svc-card--featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--orange), var(--orange-2));
}

.svc-card__num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 1rem; right: 1.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  user-select: none;
  transition: color 0.35s;
}
.svc-card:hover .svc-card__num { color: rgba(254,146,2,0.08); }

.svc-card__icon {
  width: 40px; height: 40px;
  color: var(--orange);
  margin-bottom: 1.5rem;
}
.svc-card__icon svg { width: 100%; height: 100%; }

.svc-card__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.svc-card__desc {
  font-size: 0.88rem;
  color: var(--white-40);
  line-height: 1.7;
}
.svc-card__tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--border-o);
  background: var(--orange-dim);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
}

/* ── ABOUT TEASER ───────────────────────────────────────────── */
.about-teaser {
  padding: 7rem clamp(1.5rem, 6vw, 5rem);
  background: #04021a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-teaser__media {
  position: relative;
}
.about-teaser__img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1.5px dashed rgba(254,146,2,0.2);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(254,146,2,0.4);
  text-align: center;
}
.about-teaser__img-placeholder small {
  font-size: 0.7rem;
  opacity: 0.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.about-teaser__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  display: block;
  outline: 2px solid var(--orange);
  outline-offset: 6px;
}
.about-teaser__frame {
  display: none;
}
.about-teaser__badge-float {
  position: absolute;
  top: -20px; right: -20px;
  width: 90px; height: 90px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  box-shadow: 0 0 40px rgba(254,146,2,0.4);
}
.about-teaser__badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  line-height: 1;
}
.about-teaser__badge-text {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.7);
  line-height: 1.2;
}
.about-teaser__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.about-teaser__body {
  font-size: 0.92rem;
  color: var(--white-40);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero__car-placeholder,
  .hero__car-img {
    width: 50%;
    right: -4%;
  }
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc-card--featured {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .about-teaser__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-teaser__media { max-width: 480px; }
  .hero__car-placeholder,
  .hero__car-img { display: none; }
}
@media (max-width: 700px) {
  .services__grid { grid-template-columns: 1fr; }
  .svc-card--featured { grid-column: auto; }
  .hero__stats {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .hero__stat-divider { display: none; }
  .hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
}