/* MEXX CARS - Index/Home Page Specific Styles */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 2.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 0.9rem;
}

.hero-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.3);
}

.hero-title-lines {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.hero-h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.6rem;
}

.hero-h1 span {
  background: linear-gradient(90deg, var(--accent), #ffffff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subline {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 1.4rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.hero-badge {
  font-size: 0.75rem;
  padding: 0.18rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-right {
  position: relative;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(17,229,254,0.32) 0, #05060a 45%, #000 100%);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card img {
  border-radius: 16px;
  margin-bottom: 1.2rem;
  object-fit: cover;
  width: 100%;
  max-height: 220px;
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.hero-card-text {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.hero-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.hero-card-tag {
  padding: 0.16rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Services List */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.service-item {
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: var(--muted);
}

.service-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.contact-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-meta h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contact-meta p {
  margin-bottom: 0.4rem;
}

.contact-meta strong {
  color: var(--text);
}

.opening-hours {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.opening-hours p {
  margin-bottom: 0.15rem;
}

@media (max-width: 900px) {
  .hero,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 2rem;
  }
  .hero-right {
    order: -1;
  }
}

@media (max-width: 600px) {
  .hero-card {
    padding: 1.1rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
}
