/* Star Wash — Sucursal (branch) page styles — Santiago & Rancagua */
/* ============ HEADER ============ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: var(--carbon-900);
  border-bottom: 1px solid var(--carbon-600);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__logo {
  height: 52px;
  width: auto;
}

.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--celeste);
  border-radius: var(--radius-md);
  color: var(--celeste);
  text-decoration: none;
  flex-shrink: 0;
  transition: background .15s ease;
}
.header-icon-btn:hover { background: var(--celeste-tint); }

.header-desktop { display: none; }

@media (min-width: 768px) {
  .site-header { padding: 20px 56px; }
  .site-header__logo { height: 64px; }
  .header-icon-btn { display: none; }
  .header-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .header-number {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
  }
  .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    background: var(--celeste);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-cta);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background .15s ease, transform .05s ease;
  }
  .btn-cta:hover { background: var(--celeste-hover); }
  .btn-cta:active { transform: translateY(1px); }
}

/* ============ HERO ============ */
.hero {
  padding: 36px var(--gutter) 60px;
  background: var(--carbon-700);
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1.5px solid #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 20px;
}

.hero__h1 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0 0 18px;
  text-wrap: balance;
}

.hero__lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 auto 26px;
  max-width: 300px;
}

.hero__cta-wrap { max-width: 100%; }

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__sep {
  display: none;
  width: 1px;
  height: 16px;
  background: var(--carbon-500);
  flex-shrink: 0;
}

.hero__hours {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-faint);
  margin: 0;
}

.hero__hours-inline {
  display: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-faint);
}

.hero__hours-below {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-faint);
  margin: 12px 0 0;
}

@media (min-width: 768px) {
  .hero { padding: 80px 56px 96px; }
  .hero__badge { padding: 6px 14px; font-size: 0.75rem; margin-bottom: 24px; }
  .hero__h1 { font-size: 4.6rem; line-height: 0.98; margin: 0 auto 24px; max-width: 820px; }
  .hero__lead { font-size: 1.3rem; max-width: 520px; margin-bottom: 34px; }
  .hero__cta-wrap { max-width: 360px; margin: 0 auto; }
  .hero__meta { gap: 20px; margin-top: 22px; }
  .hero__rating { font-size: 0.95rem; gap: 7px; }
  .hero__sep { display: block; }
  .hero__hours-inline { display: block; }
  .hero__hours-below { display: none; }
}

/* ============ PHONE CTA ============ */
.phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 17px 24px;
  background: var(--celeste);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-cta);
  font-family: var(--font-body);
  transition: background .15s ease, transform .05s ease;
}
.phone-cta:hover { background: var(--celeste-hover); }
.phone-cta:active { transform: translateY(1px); }

.phone-cta__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}
.phone-cta__label {
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.phone-cta__sub {
  font-size: 0.8rem;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

/* ============ WHATSAPP CTA (secundario) ============ */
.wa-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 14px 24px;
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--carbon-500);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: border-color .15s ease, background .15s ease, transform .05s ease;
}
.wa-cta:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.wa-cta:active { transform: translateY(1px); }
.wa-cta svg { color: #25D366; flex-shrink: 0; }

/* ============ SERVICES ============ */
.services {
  padding: 60px var(--gutter) 40px;
  background: var(--carbon-900);
  position: relative;
  margin-top: -28px;
  clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
}

.section-head--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services__grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-card {
  background: var(--carbon-700);
  border: 1px solid var(--carbon-500);
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 8px;
  right: -10px;
  width: 40px;
  height: 2px;
  background: #fff;
  transform: rotate(-45deg);
  pointer-events: none;
}

.svc-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  color: #fff;
}

.svc-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

.svc-card__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (min-width: 768px) {
  .services {
    padding: 108px 56px 76px;
    margin-top: -40px;
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  }
  .section-h2 { font-size: 2.75rem; margin-bottom: 0; }
  .services__head { margin-bottom: 44px; }
  .services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .svc-card {
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
  }
  .svc-card__icon { width: 52px; height: 52px; }
  .svc-card::before { top: 9px; right: -12px; width: 46px; }
  .svc-card__title { font-size: 1.4rem; }
}

/* ============ LOCATION ============ */
.location {
  padding: 40px var(--gutter);
  background: var(--carbon-800);
}

.location__map {
  width: 100%;
  height: 190px;
  display: block;
  margin-bottom: 18px;
  border: 1.5px solid var(--carbon-500);
  overflow: hidden;
  background: var(--carbon-700);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.location__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.location__icon { color: var(--celeste); flex-shrink: 0; margin-top: 2px; }

.location__address {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
}

.location__address-city { color: var(--text-muted); }

.location__hours {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: #fff;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  margin-top: 22px;
  transition: background .15s ease, transform .05s ease;
  width: 100%;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); }
.btn-secondary:active { transform: translateY(1px); }

@media (min-width: 768px) {
  .location { padding: 76px 56px; }
  .location__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
    align-items: center;
  }
  .location__map { height: 340px; margin-bottom: 0; }
  .location__row { gap: 14px; margin-bottom: 20px; }
  .location__address { font-size: 1.15rem; }
  .location__hours { font-size: 1.15rem; }
  .location__hours-note { font-size: 1rem; }
  .location__h2 { margin: 8px 0 28px; font-size: 2.75rem; line-height: 1; }
  .btn-secondary { width: auto; }
}

/* ============ SOCIAL ============ */
.social {
  padding: 40px var(--gutter);
  background: var(--carbon-900);
}

.social__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }

.social__handle {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.social__count {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-faint);
}

.social__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.social__item {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--carbon-700);
  border: 1px solid var(--carbon-500);
  overflow: hidden;
  display: block;
}

.social__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(44, 44, 46, 0.55);
  color: #fff;
  pointer-events: none;
}

.social__badge svg { transform: translateX(1px); }

.social__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: rgba(44, 44, 46, 0);
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  font-family: var(--font-body);
  font-size: 0.85rem;
  pointer-events: none;
}

.social__item:hover .social__overlay,
.social__item:focus-visible .social__overlay {
  opacity: 1;
  background: rgba(44, 44, 46, 0.45);
}

@media (min-width: 768px) {
  .social { padding: 76px 56px; }
  .social__head { align-items: center; text-align: center; margin-bottom: 40px; }
  .social__handle { font-size: 2.75rem; }
  .social__count { font-size: 1rem; }
  .social__grid { gap: 16px; max-width: 720px; margin: 0 auto; }
}

/* ============ TESTIMONIALS ============ */
.reviews {
  padding: 52px var(--gutter);
  background: var(--carbon-900);
}
.reviews__head { max-width: 700px; margin: 0 auto 30px; }
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.review {
  background: var(--carbon-700);
  border: 1px solid var(--carbon-500);
  padding: 24px 22px;
}
.review__stars { display: flex; gap: 3px; margin-bottom: 12px; color: var(--celeste); }
.review__quote {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  margin: 0 0 14px;
}
.review__author {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-faint);
}
.reviews__note {
  text-align: center;
  margin: 26px auto 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.reviews__note a { color: var(--celeste); font-weight: 600; text-decoration: none; }
.reviews__note a:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .reviews { padding: 84px 56px; }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ============ CLOSING CTA ============ */
.closing-cta {
  padding: 44px var(--gutter) 40px;
  background: var(--carbon-700);
  border-top: 2px solid var(--carbon-600);
  text-align: center;
}

.closing-cta__h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 0.98;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .closing-cta { padding: 80px 56px; }
  .closing-cta__h2 { font-size: 3.25rem; margin-bottom: 28px; }
  .closing-cta__wrap { max-width: 380px; margin: 0 auto; }
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 32px var(--gutter) 24px;
  background: var(--carbon-900);
  border-top: 1px solid var(--carbon-600);
  text-align: center;
}

.site-footer__logo { height: 60px; width: auto; margin: 0 auto 12px; }

.site-footer__text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-faint);
  margin: 0;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 40px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    text-align: left;
  }
  .site-footer__logo { height: 64px; margin: 0; }
  .site-footer__text { font-size: 0.9rem; text-align: right; }
}

/* ============ STICKY BAR ============ */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--carbon-900) 60%, transparent);
  display: flex;
  justify-content: center;
  transition: opacity .3s ease, transform .3s ease;
}
.sticky-bar.is-hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.sticky-bar .phone-cta {
  max-width: 480px;
  border-radius: var(--radius-pill);
}

@media (min-width: 768px) {
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 767px) {
  body { padding-bottom: 88px; }
}

/* ============ LOCAL INTRO (texto único por sucursal) ============ */
.local-intro {
  padding: 44px var(--gutter);
  background: var(--carbon-800);
}
.local-intro__inner { max-width: 760px; margin: 0 auto; }
.local-intro__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 12px 0 0;
}

/* ============ SERVICE CARDS CON PRECIO (alineadas con el home) ============ */
.svc {
  position: relative;
  background: var(--carbon-700);
  border: 1px solid var(--carbon-500);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.svc--featured { border-color: var(--celeste); }
.svc__flag {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-50%);
  background: var(--celeste);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-right: 20px;
}
.svc__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.svc__ideal {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 14px;
}
.svc__ideal b { color: var(--celeste); font-weight: 700; }
.svc__from {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--celeste);
  margin: 2px 0 14px;
}
.svc__from small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 4px;
}
.svc__from--quote { font-size: 1.35rem; color: #fff; }
.svc__prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--carbon-600);
  border-bottom: 1px solid var(--carbon-600);
}
.svc__price-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  text-align: center;
}
.svc__price-row + .svc__price-row { border-left: 1px solid var(--carbon-600); }
.svc__price-row dt {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: #fff;
}
.svc__price-row dd {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.svc__incl-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--celeste);
  margin: 0 0 8px;
}
.svc__incl {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
}
.svc__incl li {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
  padding-left: 22px;
  margin-bottom: 7px;
}
.svc__incl li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--celeste);
  font-weight: 700;
}
.svc__benefit {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: #fff;
  font-style: italic;
  margin: 6px 0 0;
}
.services__notes {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
}
.services__notes li {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-faint);
  padding-left: 16px;
  margin-bottom: 8px;
}
.services__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--carbon-500);
}

/* ============ FAQ POR SUCURSAL (contenido único) ============ */
.branch-faq {
  padding: 44px var(--gutter);
  background: var(--carbon-900);
}
.branch-faq__inner { max-width: 760px; margin: 0 auto; }
.branch-faq__item {
  border-top: 1px solid var(--carbon-600);
  padding: 16px 0;
}
.branch-faq__item:last-child { border-bottom: 1px solid var(--carbon-600); }
.branch-faq__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
}
.branch-faq__a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

@media (min-width: 768px) {
  /* 3 tarjetas de servicio (antes 4) */
  .services__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .local-intro { padding: 64px 56px; }
  .branch-faq { padding: 64px 56px; }
}
