:root {
  --black: #111111;
  --black-soft: #1c1c1c;
  --yellow: #F5C400;
  --yellow-dark: #d4a900;
  --white: #ffffff;
  --grey-light: #f5f5f5;
  --grey-mid: #e8e8e8;
  --grey-text: #555555;
  --green-wa: #25D366;
  --green-wa-dark: #1da851;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-strong: 0 4px 24px rgba(0,0,0,0.14);
}

.urgency-bar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

/* =============================================
   NAVEGACIÓN
   ============================================= */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 900;
  font-size: 18px;
  color: var(--black);
  white-space: nowrap;
}
.logo span { color: var(--yellow-dark); }

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--grey-text); transition: color 0.2s; }
.nav-links a:hover { color: var(--black); }

.nav-cta {
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--yellow-dark); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .logo { font-size: 16px; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: #111111;
  color: #ffffff;
  padding: 4rem 1.5rem 3.5rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(245,196,0,0.15);
  color: var(--yellow);
  border: 1px solid rgba(245,196,0,0.3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}
h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: #aaaaaa;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-wa);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-whatsapp:hover { background: var(--green-wa-dark); transform: translateY(-1px); }

.trust-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
  font-weight: 500;
}
.trust-item svg { color: var(--yellow); flex-shrink: 0; }

/* CARD HERO */
.hero-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  color: var(--black);
  box-shadow: var(--shadow-strong);
  text-align: center;
}
.card-header {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.card-sub {
  font-size: 14px;
  color: var(--grey-text);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.card-phone {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #14532d;
  background: #4ade80;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
  letter-spacing: -0.2px;
  margin-bottom: 0.5rem;
  transition: background 0.2s;
  text-decoration: none;
}
.card-phone:hover { background: #86efac; color: #14532d; }
.card-note {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 0.75rem;
}
.card-wa {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-wa-dark);
  transition: color 0.2s;
}
.card-wa:hover { color: var(--green-wa); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 400px; }
}

/* =============================================
   CONTENEDOR GENÉRICO
   ============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   SECCIONES — headings compartidos
   ============================================= */
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.section-sub {
  font-size: 16px;
  color: var(--grey-text);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* =============================================
   SERVICIOS
   ============================================= */
.section-services {
  padding: 4rem 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.service-card {
  display: block;
  background: var(--grey-light);
  border: 1px solid var(--grey-mid);
  border-top: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  color: var(--black);
}
.service-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px);
}
.service-icon { font-size: 28px; margin-bottom: 0.75rem; }
.service-card p { font-size: 14px; color: var(--grey-text); margin-bottom: 1rem; line-height: 1.5; }
.service-link { font-size: 13px; font-weight: 700; color: var(--yellow-dark); }

/* =============================================
   ZONAS
   ============================================= */
.section-zones {
  padding: 4rem 0;
  background: var(--black);
  color: var(--white);
}
.section-zones h2 { color: var(--white); }
.section-zones .section-sub { color: #888; }

.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.zone-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--black-soft);
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: border-color 0.2s, background 0.2s;
  color: var(--white);
}
.zone-card:hover { border-color: var(--yellow); background: #222; }

.zone-primary { border-color: var(--yellow) !important; }
.zone-primary .zone-name { color: var(--yellow); }

.zone-name { font-weight: 700; font-size: 15px; }
.zone-time { font-size: 12px; color: #666; }
.zone-more { opacity: 0.5; cursor: default; }

/* DESPLEGABLE ZONAS */
.zones-dropdown {
  margin-top: 0;
}

.zones-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(245,196,0,0.08);
  border: 1px solid rgba(245,196,0,0.25);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--yellow);
  transition: background 0.2s;
  user-select: none;
}
.zones-dropdown-toggle::-webkit-details-marker { display: none; }
.zones-dropdown-toggle:hover { background: rgba(245,196,0,0.14); }

.zones-arrow { transition: transform 0.25s; flex-shrink: 0; }
details[open] .zones-arrow { transform: rotate(180deg); }

.zones-grid-inner {
  margin-top: 1rem;
  animation: fadeDown 0.2s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   RESEÑAS
   ============================================= */
.section-reviews {
  padding: 4rem 0;
  background: var(--grey-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.review-stars { color: var(--yellow-dark); font-size: 16px; margin-bottom: 0.75rem; letter-spacing: 2px; }
.review-card p { font-size: 15px; color: var(--grey-text); line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.review-author { font-size: 13px; font-weight: 700; color: var(--black); }

/* =============================================
   FAQ
   ============================================= */
.section-faq {
  padding: 4rem 0;
  background: var(--white);
}

.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 760px; }

.faq-item {
  border-bottom: 1px solid var(--grey-mid);
}
.faq-item:first-child { border-top: 1px solid var(--grey-mid); }

.faq-item summary {
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--yellow-dark);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 0 1.1rem;
  font-size: 15px;
  color: var(--grey-text);
  line-height: 1.65;
}
.faq-item p a { color: var(--yellow-dark); font-weight: 600; text-decoration: underline; }

/* =============================================
   CTA FINAL
   ============================================= */
.section-cta {
  padding: 4rem 1.5rem;
  background: var(--yellow);
  text-align: center;
}
.section-cta h2 { color: var(--black); margin-bottom: 0.5rem; }
.section-cta p { color: #333; margin-bottom: 2rem; font-size: 17px; }
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.section-cta .btn-primary {
  background: var(--black);
  color: var(--yellow);
}
.section-cta .btn-primary:hover { background: #222; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #222;
}

.footer-logo { font-size: 18px; font-weight: 900; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 14px; color: #666; line-height: 1.7; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 12px;
  color: #444;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   BOTÓN WHATSAPP FLOTANTE
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--green-wa);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* =============================================
   RESPONSIVE MOBILE
   ============================================= */
@media (max-width: 600px) {
  h1 { font-size: 2.4rem; }
  .hero { padding: 2.5rem 1rem 2rem; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-whatsapp { justify-content: center; }
  .trust-row { gap: 0.75rem; }
  .section-services,
  .section-zones,
  .section-reviews,
  .section-faq { padding: 2.5rem 0; }
  .section-cta { padding: 2.5rem 1rem; }
}

/* HERO CARD PHOTO */
.card-img-wrap {
  margin: 0.75rem -2rem;
  overflow: hidden;
}
.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
}
