/* =============================================
   SERVICIOS.CSS — Bogdan Detailing
   Layout: Cards de paquetes · Sin imágenes · Sobrio
============================================= */

/* ── ZONAS / FAQ (SEO local) ───────────────── */
.srv-zones,
.srv-faq {
  padding: var(--s16) var(--s8);
  background: var(--gris-1);
  border-top: 1px solid var(--gris-4);
}

.srv-zones__inner,
.srv-faq__inner {
  max-width: 860px;
  margin: 0 auto;
}

.srv-zones h2,
.srv-faq h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: var(--s4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.srv-zones p,
.srv-faq__intro {
  color: var(--gris-texto);
  line-height: 1.65;
  margin-bottom: var(--s6);
}

.srv-zones__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s6);
}

.srv-zones__list li {
  padding: var(--s2) var(--s4);
  background: var(--gris-2);
  border: 1px solid var(--gris-4);
  font-size: var(--text-sm);
  font-weight: 600;
}

.srv-zones a {
  color: var(--rojo);
  font-weight: 700;
}

.srv-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.srv-faq__item {
  border: 1px solid var(--gris-4);
  background: var(--gris-2);
  padding: var(--s4) var(--s5);
}

.srv-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  list-style-position: inside;
}

.srv-faq__item p {
  margin: var(--s4) 0 0;
  color: var(--gris-texto);
  line-height: 1.6;
}

.srv-faq__item a {
  color: var(--rojo);
  font-weight: 600;
}

/* ── PAGE HEADER ───────────────────────────── */
.srv-header {
  position: relative;
  padding: calc(68px + var(--s20)) var(--s8) var(--s16);
  background: var(--gris-1);
  overflow: hidden;
  border-bottom: 1px solid var(--gris-4);
}

.srv-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--rojo) 20%, var(--rojo) 80%, transparent 100%);
}

.srv-header__inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.srv-header__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rojo);
  font-weight: 700;
  margin-bottom: var(--s4);
}

.srv-header__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: var(--s6);
}

.srv-header__title em {
  font-style: normal;
  -webkit-text-stroke: 2px var(--blanco);
  color: transparent;
}

.srv-header__sub {
  font-size: var(--text-base);
  color: var(--gris-texto);
  letter-spacing: 0.04em;
  max-width: 500px;
}

/* Decoración tipográfica de fondo */
.srv-header__bg-word {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(6rem, 18vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 1;
}

/* ── INTRO ─────────────────────────────────── */
.srv-intro {
  background: var(--negro);
  padding: var(--s12) var(--s8);
  border-bottom: 1px solid var(--gris-4);
}

.srv-intro__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.srv-intro__inner p {
  font-size: var(--text-lg);
  color: var(--gris-texto);
  line-height: 1.7;
  margin-bottom: var(--s4);
}

.srv-intro__inner p:first-child {
  color: var(--blanco-off);
}

.srv-intro__note {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm) !important;
  color: var(--gris-texto) !important;
  background: var(--gris-2);
  border: 1px solid var(--gris-4);
  border-radius: 4px;
  padding: var(--s2) var(--s4);
  margin-top: var(--s4) !important;
}

.srv-intro__note i {
  color: var(--rojo);
}

/* ── ANCHOR NAV ────────────────────────────── */
.pkg-anchors {
  position: sticky;
  top: 68px;
  z-index: var(--z-sticky);
  background: var(--gris-1);
  border-bottom: 1px solid var(--gris-4);
  display: flex;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-scrollbar: none;
}

.pkg-anchors::-webkit-scrollbar {
  display: none;
}

.pkg-anchor {
  flex-shrink: 0;
  padding: var(--s3) var(--s6);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gris-texto);
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
  white-space: nowrap;
}

.pkg-anchor:hover,
.pkg-anchor--active {
  color: var(--blanco);
  border-bottom-color: var(--rojo);
}

/* ── PACKAGES SECTION ──────────────────────── */
.pkgs-section {
  background: var(--negro);
  padding: var(--s16) var(--s8);
}

.pkgs-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}

/* ── PACKAGE CARD ──────────────────────────── */
.pkg-card {
  position: relative;
  background: var(--gris-1);
  border: 1px solid transparent;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-margin-top: 140px;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.pkg-card:hover {
  border-color: var(--rojo);
  box-shadow: 0 8px 40px rgba(204, 0, 0, 0.15);
}

/* Card destacada */
.pkg-card--featured {
  border-color: transparent;
  background: var(--gris-2);
}

.pkg-card--featured:hover {
  border-color: var(--rojo);
  box-shadow: 0 8px 48px rgba(204, 0, 0, 0.2);
}

/* Card nueva */
.pkg-card--new {
  border-color: transparent;
}

.pkg-card--new:hover {
  border-color: rgba(220, 180, 60, 0.9);
  box-shadow: 0 8px 40px rgba(180, 140, 0, 0.12);
}

/* Badge */
.pkg-card__badge {
  position: absolute;
  top: var(--s5);
  right: var(--s5);
  background: var(--rojo);
  color: var(--blanco);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px var(--s3);
  border-radius: 2px;
}

.pkg-card__badge--gold {
  background: transparent;
  border: 1px solid rgba(180, 140, 0, 0.7);
  color: rgba(220, 180, 60, 0.9);
}

/* Head */
.pkg-card__head {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s8) var(--s8) var(--s6);
  border-bottom: 1px solid var(--gris-3);
}

.pkg-card__num {
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1;
  color: var(--gris-4);
  letter-spacing: -0.04em;
  flex-shrink: 0;
  padding-top: 2px;
}

.pkg-card--featured .pkg-card__num {
  color: rgba(204, 0, 0, 0.25);
}

.pkg-card__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--s1);
}

.pkg-card__title small {
  display: block;
  font-size: 0.55em;
  color: var(--gris-texto);
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 700;
  margin-top: 2px;
}

.pkg-card__tagline {
  font-size: var(--text-sm);
  color: var(--rojo);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Body */
.pkg-card__body {
  flex: 1;
  padding: var(--s6) var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}

/* Zone (ext / int / ppf) */
.pkg-card__zone h3 {
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gris-texto);
  margin-bottom: var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.pkg-card__zone h3 i {
  color: var(--gris-5);
  font-size: 0.9em;
}

.pkg-card__zone ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.pkg-card__zone ul li {
  font-size: var(--text-base);
  color: var(--gris-texto);
  padding-left: var(--s5);
  position: relative;
  line-height: 1.5;
}

.pkg-card__zone ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: var(--gris-5);
}

.pkg-card__zone ul li strong {
  color: var(--blanco);
  font-weight: 700;
}

/* PPF zone — highlight */
.pkg-card__zone--ppf {
  background: var(--gris-2);
  border: 1px solid rgba(180, 140, 0, 0.25);
  border-radius: 3px;
  padding: var(--s4) var(--s5);
  margin: 0 calc(-1 * var(--s8));
}

/* Actually, keep it padded naturally */
.pkg-card__body .pkg-card__zone--ppf {
  margin: 0;
}

.pkg-card__zone--ppf h3 {
  color: rgba(220, 180, 60, 0.8);
}

.pkg-card__zone--ppf h3 i {
  color: rgba(220, 180, 60, 0.6);
}

.pkg-card__zone--ppf ul li::before {
  background: rgba(180, 140, 0, 0.5);
}

/* Footer */
.pkg-card__footer {
  padding: var(--s6) var(--s8) var(--s8);
  border-top: 1px solid var(--gris-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}

/* Price single */
.pkg-card__price {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pkg-card__price-from {
  font-size: var(--text-xs);
  color: var(--gris-texto);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.pkg-card__price strong {
  font-size: clamp(1.2rem, 2vw, 1.563rem);
  font-weight: 900;
  color: var(--blanco);
  letter-spacing: -0.02em;
}

/* Price dual */
.pkg-card__price--dual {
  display: flex;
  align-items: center;
  gap: var(--s4);
  flex-wrap: wrap;
}

.pkg-card__price--dual>div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pkg-card__price-label {
  font-size: var(--text-xs);
  color: var(--gris-texto);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pkg-card__price--dual strong {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 900;
  color: var(--blanco);
  letter-spacing: -0.01em;
}

.pkg-card__price-sep {
  width: 1px;
  height: 36px;
  background: var(--gris-4);
  flex-shrink: 0;
}

/* ── INFO ADICIONAL ────────────────────────── */
.srv-info {
  background: var(--gris-1);
  border-top: 1px solid var(--gris-4);
  border-bottom: 1px solid var(--gris-4);
  padding: var(--s16) var(--s8);
}

.srv-info__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.srv-info__inner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: var(--s10);
}

.srv-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
}

.srv-info__item {
  background: var(--gris-2);
  border: 1px solid var(--gris-4);
  border-radius: 4px;
  padding: var(--s8) var(--s6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  text-align: center;
  transition: border-color 0.2s;
}

.srv-info__item:hover {
  border-color: var(--gris-5);
}

.srv-info__item i {
  font-size: 1.6rem;
  color: var(--rojo);
}

.srv-info__item p {
  font-size: var(--text-sm);
  color: var(--gris-texto);
  line-height: 1.6;
}

/* ── CTA BANNER OVERRIDES ─────────────────── */
.cta-banner--servicios .cta-banner__bg-num {
  position: absolute;
  bottom: -15%;
  right: -2%;
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(204, 0, 0, 0.1);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.cta-banner__eyebrow {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rojo);
  font-weight: 700;
  margin-bottom: var(--s4);
}

.cta-banner__inner h2 {
  margin-bottom: var(--s8);
}

.cta-banner__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s6);
  margin-bottom: var(--s10);
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.trust-item span {
  display: block;
  font-size: var(--text-xs);
  color: var(--gris-texto);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: var(--s1);
}

.trust-sep {
  width: 1px;
  height: 40px;
  background: var(--gris-4);
  flex-shrink: 0;
}

.cta-banner__actions {
  display: flex;
  gap: var(--s4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .pkgs-grid {
    grid-template-columns: 1fr;
  }

  .srv-info__grid {
    grid-template-columns: 1fr;
  }

  .pkg-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s5);
  }

  .pkg-card__footer .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── QUALITY SEAL / GUARANTEES ────────────────── */
.srv-guarantees {
  padding: var(--s20) var(--s8);
  background: var(--gris-1);
  border-top: 1px solid var(--gris-4);
  border-bottom: 1px solid var(--gris-4);
}

.srv-guarantees__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.text-red {
  color: var(--rojo);
  -webkit-text-stroke: 0;
}

.srv-guarantees__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s6);
}

.srv-guarantee-card {
  background: var(--gris-2);
  padding: var(--s8) var(--s6);
  border: 1px solid var(--gris-4);
  border-radius: 4px;
  text-align: center;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.srv-guarantee-card:hover {
  border-color: var(--rojo);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--rojo-glow);
}

.srv-guarantee-card__icon {
  font-size: 2rem;
  color: var(--rojo);
  margin-bottom: var(--s5);
  display: block;
}

.srv-guarantee-card h3 {
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blanco);
  margin-bottom: var(--s3);
}

.srv-guarantee-card p {
  font-size: var(--text-sm);
  color: var(--gris-texto);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .srv-guarantees__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .srv-guarantees__grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {
  .pkg-anchors {
    justify-content: flex-start;
  }

  .pkgs-section {
    padding: var(--s10) var(--s4);
  }

  .pkg-card__head {
    padding: var(--s6) var(--s5) var(--s4);
  }

  .pkg-card__body {
    padding: var(--s5) var(--s5);
  }

  .pkg-card__footer {
    padding: var(--s5) var(--s5) var(--s6);
  }

  .pkg-card__price--dual {
    gap: var(--s3);
  }

  .srv-header__title {
    font-size: clamp(2.4rem, 9vw, 3rem);
  }
}