.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(13, 13, 13, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.navbar__logo img {
  width: 132px;
  max-width: 40vw;
  height: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar__links a {
  color: var(--color-text-primary);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.navbar__links a:hover {
  color: var(--color-accent);
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  border: 1px solid transparent;
  background: var(--color-accent);
  color: var(--color-text-on-accent);
  font-size: 0.72rem;
  font-weight: var(--font-semibold);
  text-transform: lowercase;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  min-height: 30px;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #171717;
  background: #ffffff;
  font-size: 0.72rem;
}

.btn-outline:hover {
  border-color: #ffffff;
  color: #171717;
  background: #f0f0f0;
}

/* Botón secundario sobre fondos oscuros (hero / banners) */
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
  font-size: 0.72rem;
  font-weight: var(--font-semibold);
  text-transform: lowercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-ghost-light:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.cta-banner {
  position: relative;
  min-height: 345px;
  display: flex;
  align-items: center;
  background-image: url("../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.cta-banner h2 {
  font-size: clamp(2.25rem, 3.5vw, 3.1rem);
  max-width: 440px;
  line-height: 1.05;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.footer__muted {
  margin-top: var(--space-2);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  max-width: 200px;
}

.footer__link--whatsapp {
  color: var(--color-accent);
}

.footer__link--whatsapp:hover {
  color: var(--color-accent-hover);
}

/* Flotante WhatsApp: refuerzo del embudo en vista móvil */
.wa-fab {
  position: fixed;
  bottom: 1.1rem;
  right: 1.1rem;
  z-index: 1001;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: #25d366;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.wa-fab::before {
  content: "";
  width: 28px;
  height: 28px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

.btn-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  transition: color 0.2s ease;
}

.btn-link:hover {
  color: var(--color-accent);
}

.btn-link .arrow-box {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: var(--color-text-on-accent);
  border-radius: 3px;
  font-size: 0.6rem;
  line-height: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0.1rem 0.72rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--color-text-primary);
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
}

.section-header {
  margin-bottom: var(--space-8);
}

.section-label {
  display: inline-block;
  margin-bottom: var(--space-3);
  font-size: 0.62rem;
  color: var(--color-accent);
}

.section-header h2 {
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  max-width: 640px;
  line-height: 1.06;
}

.section-header--split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-10);
}

.section-header__aside {
  max-width: 360px;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.section-header__aside p {
  font-size: 0.68rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.icon-accent {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 0.45rem;
  line-height: 1;
  background: var(--color-accent);
  color: var(--color-text-on-accent);
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-dark);
  box-shadow: var(--shadow-card-hover);
}

.service-card__image {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.service-card__body {
  padding: 1rem 1rem 0.85rem;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card__title {
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  color: var(--color-accent);
  max-width: 260px;
  line-height: 0.98;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.feature-item__text {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  max-width: 280px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.34);
}

.stat-item {
  text-align: center;
  padding: 0.55rem 0.65rem 0.62rem;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-item:first-child {
  border-left: 0;
}

.stat-item__number {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: var(--font-bold);
}

.stat-item__label {
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.social-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.68rem;
  transition: 0.2s ease;
}

.social-icon:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer {
  background: #0a0a0a;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-10);
}

.footer__logo {
  width: 120px;
}

.footer__heading {
  display: block;
  font-size: 0.66rem;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.footer__heading--spacer {
  opacity: 0;
}

.footer__heading--mt {
  margin-top: var(--space-4);
}

.footer__link {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0.45rem;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__social-row {
  display: flex;
  gap: 0.55rem;
}

.footer__copyright {
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  padding: var(--space-4) 0;
}

@media (max-width: 992px) {
  .navbar__logo img {
    width: 120px;
  }

  .navbar__links {
    gap: var(--space-5);
  }

  .section-header--split {
    flex-direction: column;
    gap: var(--space-5);
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--space-10);
  }
}

@media (max-width: 768px) {
  .navbar__inner {
    gap: var(--space-4);
  }

  .navbar__logo img {
    width: 106px;
  }

  .navbar__links {
    gap: var(--space-4);
  }

  .btn-outline {
    padding-inline: 0.7rem;
  }

  .stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-item:nth-child(3) {
    border-left: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__heading--spacer {
    display: none;
  }

  .wa-fab {
    display: flex;
  }

  .cta-banner {
    min-height: 320px;
  }

  .cta-banner__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
