
:root {
  --bg-main: #f4f4f5;
  --bg-elevated: #ffffff;
  --bg-soft: #e5e7eb;

  --accent: #ff0000;
  --accent-soft: #fee2e2;
  --accent-dark: #ff0000;
  --accent-contrast: #ffffff;

  --accent-sec: #38bdf8;
  --accent-sec-soft: rgba(56,189,248,0.16);

  --text-main: #020617;
  --text-soft: #111827;
  --text-muted: #6b7280;

  --border-soft: #e5e7eb;

  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 40px rgba(15,23,42,0.12);
  --max-width: 1180px;

  /* parallax */
  --px: 0px;
  --py: 0px;
  --scroll-hero: 0px;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617, #000000);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none !important;
}

/* FONDO ANIMADO / PARALLAX */
.bg-orbit {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform 0.15s ease-out;
}

.bg-orbit::before,
.bg-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.7;
  mix-blend-mode: screen;
  animation: float 18s ease-in-out infinite alternate;
}

.bg-orbit::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(244,179,97,0.22), transparent 60%);
  top: -120px;
  left: -80px;
}

.bg-orbit::after {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56,189,248,0.18), transparent 65%);
  bottom: -160px;
  right: -120px;
}

@keyframes float {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(30px,-20px,0); }
}

/* WRAPPERS GENERALES */
main {
  padding: 2.6rem 0 3rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.6rem;
}

/* HEADER */
header {
  background: #111111;
  border-bottom: 1px solid rgba(15,15,15,0.9);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease-out, background 0.2s ease-out, transform 0.2s ease-out;
}

header.header-scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: #111111;
  transform: translateY(-1px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1.5rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-box {
  width: 190px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  color: #ff0000;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.brand-text span:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.35rem;
  font-size: 0.9rem;
}

nav a {
  position: relative;
  padding-bottom: 0.18rem;
  color: #e5e7eb;
  white-space: nowrap;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-sec));
  transition: width 0.18s ease-out;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
  border: 1px solid rgba(248,250,252,0.7);
  box-shadow: none;
}

.pill span:first-child {
  font-size: 1.05rem;
}

.header-cta small {
  color: var(--text-muted);
}

@keyframes pill-pulse {
  0%,100% { transform: translateY(0); box-shadow: 0 12px 26px rgba(0,0,0,0.55); }
  50% { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(0,0,0,0.8); }
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease-out, border-color .16s ease-out, color .16s ease-out, transform .12s ease-out, box-shadow .12s ease-out;
}

.btn-primary {
  border-radius: 999px;
  border: 1px solid rgba(255,0,0,0.4);
  background: #ffffff;
  color: #ff0000;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
}

.btn-primary:hover {
  background: #ff0000;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

.btn-ghost {
  border-radius: 999px;
  border: 1px solid rgba(255,0,0,0.4);
  background: #ffffff;
  color: #ff0000;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
}

.btn-ghost:hover {
  background: #ff0000;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

/* HERO */
.hero {
  padding-top: 2.9rem;
  will-change: transform;
  transform: translate3d(0, var(--scroll-hero), 0);
  transition: transform 0.12s ease-out;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(252,165,165,0.9);
  background: linear-gradient(120deg, #fee2e2, #ffffff);
  font-size: 0.8rem;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.hero-badge span:first-child {
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.3rem, 3.3vw, 2.9rem);
  line-height: 1.08;
  margin-bottom: 0.75rem;
}

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

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-soft);
  max-width: 34rem;
  margin-bottom: 1.3rem;
}

.hero-list {
  list-style: none;
  font-size: 0.87rem;
  color: var(--text-soft);
  margin-bottom: 1.3rem;
}

.hero-list li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.hero-list li::before {
  content: "✔";
  color: #4ade80;
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card {
  background: #ffffff;
  border: 1px solid rgba(255,0,0,0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.87rem;
}

.hero-highlight {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--accent);
  background: #ffffff;
  color: var(--text-main);
}

.hero-highlight strong {
  color: var(--accent);
}

.hero-highlight a {
  color: var(--accent);
  font-weight: 600;
}

.hero-highlight a:hover {
  color: #ff0000;
  text-decoration: underline;
  text-decoration-color: #ff0000;
}

/* SECCIONES GENERALES */
.section {
  padding: 2.6rem 0;
}

.section-title {
  font-size: 1.38rem;
  margin-bottom: 0.35rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

/* GRID TEXTO + LADO DERECHO */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(0,1fr);
  gap: 2.2rem;
}

.about-text p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}

.about-highlight {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent-dark);
  padding: 0.9rem 1rem;
  border-radius: 0 14px 14px 0;
  font-size: 0.84rem;
}

/* BADGES */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid rgba(209,213,219,0.9);
  color: var(--text-soft);
}

/* CARDS / GRIDS */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229,231,235,0.95);
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow-soft);
  transition: background 0.16s ease-out, transform 0.16s ease-out, box-shadow 0.16s ease-out, border-color 0.16s ease-out;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,0,0,0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.card:hover {
  background: linear-gradient(145deg, #ffffff, #fff5f5);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
  border-color: rgba(255,0,0,0.7);
}

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

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229,231,235,0.95);
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
}

.stat-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--accent);
}

/* LISTAS */
.data-list {
  list-style: none;
  font-size: 0.9rem;
}

.data-list li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

/* GALERÍAS */
.gallery-intro {
  max-width: 42rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 1.4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229,231,235,0.95);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease-out;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item p {
  padding: 0.65rem 0.85rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* FLOTA */
.fleet-legend {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.fleet-pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fleet-pill {
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(209,213,219,0.9);
  background: #f9fafb;
}

/* CTA STRIP */
.cta-strip {
  margin-top: 2.4rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff, #fff5f5);
  border: 1px solid rgba(248,113,113,0.5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

/* ENLACES DE TEXTO DESTACADOS */
.text-link {
  color: var(--accent) !important;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.15rem;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-sec));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.text-link:hover::after {
  width: 100%;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 2.4rem 0 1.5rem;
  margin-top: 2.4rem;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.25rem;
}

.footer-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.footer-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  font-size: 0.75rem;
}

/* SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  filter: blur(4px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out,
    filter 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .logo-box {
    width: 140px;
    height: 55px;
  }
  .hero-inner {
    gap: 2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  nav ul {
    display: none;
  }
  .hero-inner,
  .about-grid,
  .fleet-legend {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
  background: #ffffff;
  border: 1px solid rgba(255,0,0,0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.87rem;
}
}

@media (max-width: 780px) {
  .cards-grid-3,
  .cards-grid-2,
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .header-cta {
    display: none;
  }
  .container {
    padding: 0 1.1rem;
  }
}

/* === OVERRIDES TEMA ROJO CORPORATIVO === */
:root {
  --accent: #ff0000;        /* rojo principal */
  --accent-soft: #fee2e2;   /* rojo muy suave para fondos */
  --accent-dark: #ff0000;   /* rojo más oscuro para bordes/sombras */
  --accent-contrast: #0f172a;
  --accent-sec: #ff0000;    /* rojo secundario suave */
  --accent-sec-soft: rgba(248,113,113,0.16);
}

/* Fondo uniforme sin destellos ni cortes raros */
body {
  background-color: var(--bg-main) !important;
  background-image: none !important;
}

/* Desactivar destellos del fondo animado */
.bg-orbit {
  display: none !important;
}

/* === ESTILOS PÁGINAS LEGALES === */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 0.75rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.legal-page h2 {
  font-size: 1.05rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.legal-page p {
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.legal-page ul {
  padding-left: 1.2rem;
  margin-bottom: 0.85rem;
}

.legal-page li {
  margin-bottom: 0.3rem;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(220,38,38,0.55);
}

/* Responsive */
@media (max-width: 768px) {
  
  .footer-hero-inner {
    text-align: center;
  }
}

/* === FOOTER HERO STYLE (Calenda info, dark theme) === */
.footer-hero {
  background: #111111;
  color: #f9fafb;
  padding: 5.5rem 1.5rem 2.5rem; /* más espacio arriba para el logo flotante */
  margin-top: 3rem;
  position: relative;
  overflow: visible;
}

.footer-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-logo-circle {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: #ffffff;
  position: absolute;
  top: -75px; /* mitad del círculo hacia fuera del footer */
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 20;
}

.footer-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-hero-text {
  text-align: center;
  margin-bottom: 1.4rem;
}

.footer-hero-title {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

.footer-hero-subtitle {
  margin: 0.2rem 0 0;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(249,250,251,0.18);
  margin: 2rem auto 2rem;
  max-width: 780px;
}

.footer-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr 1.5fr;
  gap: 1.6rem;
  font-size: 0.9rem;
}

.footer-col p,
.footer-col li {
  color: #e5e7eb;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #f9fafb;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.3rem;
}

.footer-list a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-list a:hover {
  text-decoration: underline;
}

.footer-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.footer-badge {
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.65);
  color: #e5e7eb;
}

.footer-legal {
  border-top: 1px solid rgba(249,250,251,0.18);
  padding-top: 1.2rem;
  margin-top: 2.2rem;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
  color: #9ca3af;
}

.footer-legal a {
  color: #e5e7eb;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-hero {
  background: #111111;
  color: #f9fafb;
  padding: 5.5rem 1.5rem 2.5rem; /* más espacio arriba para el logo flotante */
  margin-top: 3rem;
  position: relative;
  overflow: visible;
}
  .footer-hero-grid {
    grid-template-columns: 1fr;
  }
}

 (max-width: 768px) {
  .group-promo-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Sección promo Grupo Calenda - versión suave */
.group-promo {
  background: #f5f5f7;
  padding: 2.6rem 1.5rem;
}

.group-promo-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.group-promo-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15,23,42,0.08);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.group-promo-logo img {
  width: 80px;
  height: auto;
  display: block;
}

.group-promo-text h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.group-promo-text p {
  margin-bottom: 0.25rem;
}

.group-promo-cta {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.group-promo-cta .btn-primary {
  border-radius: 999px;
  border: 1px solid rgba(255,0,0,0.4);
  background: #ffffff;
  color: #ff0000;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
}

.group-promo-cta small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .group-promo-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .group-promo-cta {
    margin-left: 0;
  }
}

/* Overrides layout for sección Taller / Grupo Calenda */
.group-promo-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.group-promo-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15,23,42,0.08);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.group-promo-media img {
  display: block;
  width: 100%;
  max-width: 540px;
  border-radius: 16px;
  object-fit: cover;
}

.group-promo-main {
  flex: 1;
}

.group-promo-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #ff0000;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.group-promo-title {
  font-size: 1.9rem;
  margin-bottom: 0.65rem;
}

.group-promo-intro {
  font-weight: 600;
  margin-bottom: 0.45rem;
}

@media (max-width: 900px) {
  .group-promo-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 1.2rem;
  }

  .group-promo-media img {
    max-width: 100%;
  }
}

/* Cinta "Taller certificado" bajo la imagen del taller */
.group-promo-media-inner {
  position: relative;
  display: inline-block;
}

.group-promo-media-inner img {
  display: block;
  width: 100%;
  max-width: 540px;
  border-radius: 16px;
  object-fit: cover;
}

.group-promo-ribbon {
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  padding: 0.85rem 2.8rem;
  background: #ff0000;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: .08em;
  clip-path: polygon(0 0, 100% 0, 93% 100%, 0% 100%);
}

/* Logo circular de Grupo Calenda Automoción en la parte de texto */
.group-promo-main .group-promo-logo {
  margin-bottom: 0.6rem;
}

.group-promo-main .group-promo-logo img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: block;
}

/* Ajustes responsive */
@media (max-width: 900px) {
  .group-promo-media-inner img {
    max-width: 100%;
  }

  .group-promo-ribbon {
    padding-inline: 1.8rem;
    font-size: 0.86rem;
  }
}

/* Ajustes CTA Taller */
.group-promo-cta {
  margin-top: 1.2rem;
}

.group-promo-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Botón secundario teléfono taller */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,0,0,0.4);
  background: #ffffff;
  color: #ff0000;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .16s ease-out, color .16s ease-out, box-shadow .16s ease-out, transform .12s ease-out;
}

.btn-secondary:hover {
  background: #ff0000;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

/* Responsive: apilar botones en móvil */
@media (max-width: 600px) {
  .group-promo-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .group-promo-buttons .btn,
  .group-promo-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Sección reseñas de clientes */
.reviews-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: transparent;
}

.reviews-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.reviews-content {
  max-width: 560px;
}

.reviews-header {
  margin-bottom: 1.8rem;
}

.reviews-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.reviews-title {
  font-size: clamp(1.9rem, 2.2vw, 2.3rem);
  line-height: 1.1;
  margin-bottom: 0.55rem;
}

.reviews-subtitle {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.reviews-slider {
  margin-top: 0.4rem;
  margin-bottom: 1.4rem;
}

.review-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15,23,42,0.18);
  padding: 1.6rem 1.8rem 1.7rem;
  font-size: 0.9rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
}

.review-name {
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 0.05rem;
}

.review-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.review-stars {
  color: #f97316;
  margin: 0.55rem 0 0.3rem;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-strong);
}

.reviews-cta {
  margin-top: 0.3rem;
}

.reviews-cta .btn-secondary {
  border-color: rgba(248,113,113,0.55);
}

/* Columna visual reseñas */
.reviews-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-visual-card {
  width: 100%;
  max-width: 520px;
  border-radius: 26px;
  background: #111827;
  box-shadow: 0 34px 70px rgba(15,23,42,0.55);
  padding: 1.2rem 1.6rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-visual-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
  .reviews-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .reviews-visual-card {
    max-width: 460px;
  }
}

@media (max-width: 640px) {
  .reviews-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: transparent;
}

  .review-card {
    padding: 1.45rem 1.25rem 1.4rem;
  }

  .reviews-visual-card {
    padding: 1rem 1.1rem 1.3rem;
    border-radius: 20px;
  }
}

/* CTA reseñas */
.reviews-cta {
  margin-top: 0.5rem;
}

.reviews-cta .btn-secondary {
  border-color: rgba(255,0,0,0.4);
}

/* Responsive */
@media (max-width: 960px) {
  
}

@media (max-width: 640px) {
  
}

/* Slider de reseñas (una reseña visible cada vez) */
.reviews-slider {
  max-width: 520px;
}

/* Ocultaremos / mostraremos via JS si se añaden más tarjetas en el futuro */

/* Override reseñas layout v2 (más parecido al ejemplo) */
.reviews-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: transparent;
}

.reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.reviews-header {
  margin-bottom: 2rem;
}

.reviews-title {
  font-size: clamp(2.1rem, 2.6vw, 2.6rem);
  letter-spacing: 0.02em;
}

.reviews-subtitle {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.reviews-slider {
  max-width: 640px;
}

.review-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 40px rgba(15,23,42,0.14);
  padding: 1.5rem 1.8rem;
  font-size: 0.95rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.2rem;
  background: transparent;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.05rem;
}

.review-name {
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 0.05rem;
}

.review-meta {
  font-size: 0.85rem;
  color: #6b7280;
}

.review-stars {
  margin: 0.6rem 0 0.35rem;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #f97316;
}

.review-text {
  font-size: 0.96rem;
  color: #111827;
}

.reviews-cta {
  margin-top: 1.4rem;
}

.reviews-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-visual-card {
  width: 100%;
  max-width: 560px;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 34px 60px rgba(15,23,42,0.35);
  padding: 0.9rem;
}

.reviews-visual-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
  object-fit: cover;
}

/* Responsive overrides */
@media (max-width: 1024px) {
  .reviews-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .reviews-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: transparent;
}

  .review-card {
    padding: 1.35rem 1.35rem;
  }

  .reviews-visual-card {
    max-width: 420px;
    padding: 0.7rem;
  }
}



/* Controles manuales del carrusel de reseñas */
.reviews-controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.reviews-nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: #ffffff;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.reviews-nav:hover {
  background: #ff0000;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

.reviews-nav:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.16);
}

@media (max-width: 640px) {
  .reviews-controls {
    justify-content: flex-start;
  }
}



/* Servicios - grid extra (por qué elegir) */
.services-extra-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.check-list li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.check-list span {
  color: #16a34a;
  font-weight: 700;
  margin-top: 0.12rem;
}

/* Servicios - FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229,231,235,0.95);
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.faq-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

/* Responsive ajustes para Servicios extra y FAQ */
@media (max-width: 1024px) {
  .services-extra-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mapa en tarjetas de delegaciones */
.map-wrapper {
  margin-top: 1.2rem;
  border-radius: 18px;
  overflow: hidden;
  height: 260px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

