.navbar {
  background-color: var(--white);
  padding: 16px 0;
  display: flex;
  position: fixed;
  inset: 0 0 auto;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.navbar.green {
  background-color: #e6ffec;
}

.navbar-container {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  border-radius: calc(var(--radius-md) / 2);
  height: 40px;
  width: auto;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-menu-link {
  color: var(--grey-600);
  padding: 10px 16px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.navbar-menu-link:hover {
  background-color: var(--grey-050);
  color: var(--verde-demo);
}

.navbar-menu-link.active {
  color: var(--verde-demo);
  font-weight: 600;
  background-color: rgba(25, 148, 68, 0.08);
}

.navbar-button {
  background-color: var(--negro-imadata);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-sm);
  height: 44px;
  margin-left: 8px;
  padding: 0 20px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-button:hover {
  background-color: var(--verde-demo);
  transform: translateY(-1px);
}

.navbar-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
}

.navbar-menu-toggle:hover {
  background-color: var(--grey-050);
}

.navbar-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--grey-800);
  transition: transform var(--transition-fast);
}

@media (max-width: 991px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .navbar-menu.open {
    display: flex;
  }

  .navbar-menu-link {
    width: 100%;
    text-align: left;
  }

  .navbar-button {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .navbar-menu-toggle {
    display: flex;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  background-color: rgba(25, 148, 68, 0.1);
  color: var(--verde-demo);
}

.badge-success {
  background-color: rgba(25, 148, 68, 0.12);
  color: var(--verde-demo);
}

.badge-warning {
  background-color: rgba(248, 179, 75, 0.15);
  color: #b38600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-ui);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--negro-imadata);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(14, 16, 23, 0.2);
}

.btn-primary:hover {
  background-color: var(--grey-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 16, 23, 0.25);
}

.btn-secondary {
  background-color: var(--verde-demo);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--verde-itam);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(25, 148, 68, 0.3);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-icon-right {
  margin-left: auto;
}

.btn-agendar {
  padding: 12px 24px;
  gap: 12px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.btn-agendar .btn-icon {
  width: 20px;
  height: 20px;
  opacity: 0.9;
}

.btn-ver-mas {
  padding: 12px 24px;
  gap: 10px;
  font-size: 15px;
}

.btn-ver-mas .btn-icon {
  width: 18px;
  height: 18px;
}

.btn-enviar {
  padding: 12px 24px;
  gap: 10px;
}

.btn-enviar .btn-icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 767px) {
  .btn {
    padding: 12px 20px;
    font-size: 15px;
    width: 100%;
    max-width: 320px;
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--verde-demo);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gris-secundario);
}

.card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-600);
}

.footer {
  background-color: var(--grey-800);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-brand {
  max-width: 280px;
}

.footer-brand-logo {
  border-radius: var(--radius-md);
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-200);
  margin-bottom: 20px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--grey-600);
  color: var(--white);
  font-size: 18px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--verde-demo);
  transform: translateY(-2px);
}

.footer-nav-title {
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  color: var(--grey-200);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-bottom {
  justify-content: space-between;
  align-items: center;
  display: flex;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--grey-400);
  margin: 0;
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.language-picker {
  display: flex;
  gap: 16px;
}

.language-link {
  color: var(--grey-400);
  font-size: 14px;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.language-link:hover,
.language-link.active {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
}

.whatsapp-float-link {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.whatsapp-float-link img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.whatsapp-float-link:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float-link {
    width: 52px;
    height: 52px;
  }
}

.modal-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(14, 16, 23, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-popup.open {
  opacity: 1;
  visibility: visible;
}

.modal-popup-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 480px;
  width: 90vw;
  max-height: 90vh;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.modal-popup.open .modal-popup-content {
  transform: translateY(0);
}

.modal-popup-content img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-popup-actions {
  padding: 24px;
  text-align: center;
}

.modal-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background-color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--grey-800);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.modal-popup-close:hover {
  background-color: var(--grey-050);
  transform: scale(1.05);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  background-color: var(--grey-050);
  color: var(--grey-800);
}

.pill-green {
  background-color: rgba(25, 148, 68, 0.1);
  color: var(--verde-demo);
}

.pill-primary {
  background-color: rgba(97, 87, 248, 0.1);
  color: var(--primary-600);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey-200), transparent);
  margin: 64px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--grey-600);
  line-height: 1.6;
}

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

.text-left {
  text-align: left;
}

.text-color-black {
  color: var(--gris-secundario);
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .show-mobile-only {
    display: none !important;
  }
}