/* Compact urgency banner */
.urgency-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: #6b8ca3;
  color: #fff;
  text-align: center;
  padding: 6px 8px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.5px;
  line-height: 1.2;
  height: 36px;
  box-sizing: border-box; /* Ensure padding is included in height calculation */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Banner button styling */
.banner-button {
  display: inline-block;
  background: #fff;
  color: #6b8ca3;
  padding: 4px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.banner-button:hover {
  background: #f8f8f8;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-button:active {
  transform: translateY(0);
  background: #e8e8e8;
}

/* Body padding to account for banner + topbar height */
body { 
  padding-top: 105px; /* Banner (36px) + Topbar (starts at 36px, ~60px height, ends at ~96px) + spacing = 105px */
}
/* Universal Bottom Bar - Always Visible */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: white;
  border-top: none;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.06);
  padding: 4px 6px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.bottom-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.bottom-bar-btn {
  flex: 1;
  text-align: center;
  padding: 5px 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.bottom-bar-btn-primary {
  background: linear-gradient(135deg, var(--green-800, #006847) 0%, var(--green-900, #004D35) 100%);
  color: white;
}

.bottom-bar-btn-primary:hover {
  background: linear-gradient(135deg, var(--green-900, #004D35) 0%, var(--green-800, #006847) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 104, 71, 0.3);
}

.bottom-bar-btn-secondary {
  background: var(--surface, #ffffff);
  color: var(--green-800, #006847);
  border: none;
}

.bottom-bar-btn-secondary:hover {
  background: var(--green-50, #f0f9f6);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 104, 71, 0.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .bottom-bar {
    padding: 3px 5px;
  }
  
  .bottom-bar-container {
    gap: 3px;
  }
  
  .bottom-bar-btn {
    padding: 4px 6px;
    font-size: 14px;
  }
  
  .bottom-bar-btn span {
    font-size: 13px;
  }
  
  /* Allow text to wrap slightly on very small screens for long text */
  .bottom-bar-btn {
    white-space: normal;
    line-height: 1.2;
    min-height: 32px;
  }
}

/* Desktop: Show as centered bar */
@media (min-width: 769px) {
  .bottom-bar-container {
    max-width: 800px;
  }
  
  .bottom-bar-btn {
    max-width: 250px;
  }
}

/* Ensure body has padding for bottom bar - always applied */
body {
  padding-bottom: 30px;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 28px;
  }
}
/* Website Footer Styles - Conecta Brand Integration */

.website-footer {
  background: #f5f5f5;
  position: relative;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin-top: 80px;
  overflow: hidden;
}


.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 28px 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

/* Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.footer-brand::after {
  content: "";
  position: absolute;
  inset: -80px 40% auto -60px;
  height: 240px;
  background: conic-gradient(from 120deg at 60% 40%, rgba(239, 0, 63, 0.06), rgba(243, 159, 23, 0.12), rgba(99, 169, 104, 0.1), rgba(239, 0, 63, 0.06));
  opacity: 0.35;
  filter: blur(40px);
  z-index: -1;
}


.footer-logo .logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: rgba(232, 245, 240, 0.85);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  width: fit-content;
}

.footer-logo .logo {
  color: var(--aguacate-900);
  font-family: 'Epilogue', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.footer-logo .logo-img {
  height: 52px;
  width: auto;
}

.footer-tagline {
  color: rgba(74, 19, 16, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
  max-width: 400px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  color: var(--aguacate-900);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.social-link img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.footer-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 360px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 104, 71, 0.16);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(0, 104, 71, 0.08), rgba(244, 201, 93, 0.18)),
    rgba(255, 255, 255, 0.82);
  color: var(--aguacate-900);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.footer-hub-card::after {
  content: '->';
  position: absolute;
  top: 18px;
  right: 20px;
  color: #006847;
  font-weight: 900;
}

.footer-hub-card:hover {
  border-color: rgba(0, 104, 71, 0.32);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.footer-hub-kicker {
  color: #006847;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-hub-title {
  color: var(--aguacate-900);
  font-family: 'Epilogue', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.footer-hub-copy {
  max-width: 290px;
  color: rgba(74, 19, 16, 0.78);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.42;
}


/* Navigation Section */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-heading {
  color: var(--aguacate-900);
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.footer-heading a {
  color: inherit;
  text-decoration: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(74, 19, 16, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: block;
}

/* Bottom Bar */
.footer-bottom {
  background: #ffffff;
  padding: 24px 0;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 50px 24px 30px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-brand {
    text-align: center;
    align-items: center;
    padding: 28px;
  }

  .footer-tagline {
    text-align: center;
    max-width: 100%;
  }

  .footer-column {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 40px 20px 30px;
    gap: 50px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-column {
    text-align: center;
    padding: 0;
  }

  .footer-links a:hover {
    transform: none;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 0 20px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-tagline {
    font-size: 1rem;
  }

  .footer-logo .logo {
    font-size: 1.5rem;
  }

  .footer-logo .logo-img {
    height: 44px;
  }

  .footer-brand {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .website-footer {
    margin-top: 60px;
  }

  .footer-container {
    padding: 30px 16px 20px;
  }

  .footer-nav {
    gap: 20px;
  }

  .footer-heading {
    font-size: 1rem;
  }

  .footer-links a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .social-link img {
    width: 23px;
    height: 23px;
  }

  .footer-brand {
    padding: 20px;
  }

  .footer-column {
    padding: 0;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .website-footer * {
    transition: none !important;
    animation: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .website-footer {
    background: var(--surface);
  }

  .footer-logo .logo-link,
  .social-link,
  .footer-links a {
    border: none;
  }

}
.topbar {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  height: 84px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.88);
  z-index: 2000;
  box-sizing: border-box;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: visible;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 18px;
  overflow: visible;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.logo-link,
.nav-center,
.nav-actions,
.nav-right-mobile {
  display: flex;
  align-items: center;
}

.logo-link {
  flex: 0 0 auto;
  gap: 10px;
  padding: 0;
  color: #006847;
  text-decoration: none;
}

.logo-img {
  width: auto;
  height: 54px;
  max-width: 60px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.16));
}

.logo {
  color: #006847;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-center {
  position: absolute;
  left: 50%;
  gap: 16px;
  width: max-content;
  max-width: calc(100% - 500px);
  overflow: visible;
  white-space: nowrap;
  transform: translateX(-50%);
}

.nav-actions {
  flex: 0 0 auto;
  gap: 12px;
  margin-left: auto;
}

.nav-link,
.nav-dropdown-toggle,
.nav-dropdown-link,
.topbar-secondary-button,
.topbar-button-primary,
.translate-icon-mobile,
.mobile-nav-link {
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
}

.nav-link,
.nav-dropdown-toggle,
.nav-dropdown-link,
.mobile-nav-link {
  color: #1f2937;
}

.nav-link {
  font-weight: 600;
  transition: color 0.16s ease;
}

.nav-link:hover {
  color: #006847;
}

.nav-dropdown {
  position: relative;
  margin-bottom: -6px;
  padding-bottom: 6px;
}

.nav-dropdown summary {
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker,
.mobile-nav-accordion > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: all 0.14s ease;
  -webkit-appearance: none;
  appearance: none;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2100;
  display: none;
  flex-direction: column;
  gap: 6px;
  min-width: 240px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown[open] .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-link {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-dropdown-link:hover {
  color: #006847;
  background: #f8fafc;
}

.nav-dropdown-link-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 4px;
  padding: 14px 42px 14px 14px;
  border: 1px solid rgba(0, 104, 71, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(0, 104, 71, 0.08), rgba(244, 201, 93, 0.18)),
    #fff;
  color: #0f3f2f;
  white-space: normal;
}

.nav-dropdown-link-featured::after {
  content: '->';
  position: absolute;
  top: 14px;
  right: 14px;
  color: #006847;
  font-size: 0.8rem;
  font-weight: 900;
  transition: transform 0.18s ease;
}

.nav-dropdown-link-featured:hover {
  border-color: rgba(0, 104, 71, 0.34);
  background:
    linear-gradient(135deg, rgba(0, 104, 71, 0.12), rgba(244, 201, 93, 0.24)),
    #fff;
}

.nav-dropdown-link-featured:hover::after {
  transform: translateX(2px);
}

.nav-dropdown-link-kicker {
  color: #6b7280;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-dropdown-link-title {
  color: #0f3f2f;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.nav-dropdown-link-copy {
  max-width: 190px;
  color: #4b5563;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
}

.topbar-secondary-button,
.topbar-button-primary {
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
}

.topbar-secondary-button {
  background: #6b8ca3;
  box-shadow: 0 10px 22px rgba(107, 140, 163, 0.16);
}

.topbar-button-primary {
  background: #006847;
  box-shadow: 0 12px 24px rgba(0, 104, 71, 0.16);
  white-space: nowrap;
}

.nav-right-mobile {
  display: none;
  gap: 12px;
}

.translate-icon-mobile {
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  color: #6b8ca3;
  font-weight: 700;
  background: rgba(107, 140, 163, 0.12);
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.96);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: #1f2937;
}

.mobile-nav-backdrop,
.mobile-nav-sheet {
  display: none;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 106px 0 0;
  z-index: 1998;
  background: rgba(17, 24, 39, 0.34);
  backdrop-filter: blur(4px);
}

.mobile-nav-sheet {
  position: fixed;
  top: 114px;
  left: 12px;
  right: 12px;
  z-index: 1999;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: auto;
  height: auto;
  max-height: calc(100vh - 128px);
  padding: 22px;
  overflow-y: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-nav-backdrop.open {
  display: block;
}

.mobile-nav-sheet.open {
  display: flex;
}

.mobile-nav-title {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.mobile-nav-featured {
  padding-top: 8px;
  border-top: 0;
}

.mobile-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(0, 104, 71, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 104, 71, 0.1), rgba(244, 201, 93, 0.18)),
    #fff;
  color: #0f3f2f;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.mobile-hub-card::after {
  content: '->';
  position: absolute;
  top: 18px;
  right: 18px;
  color: #006847;
  font-weight: 900;
}

.mobile-hub-eyebrow {
  color: #006847;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-hub-title {
  color: #0f3f2f;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
}

.mobile-hub-copy {
  max-width: 28rem;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.mobile-nav-accordion {
  gap: 0;
}

.mobile-nav-group-title {
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0;
  list-style: none;
  cursor: pointer;
}

.mobile-nav-accordion > summary::after {
  content: '+';
  color: #6b7280;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.16s ease, color 0.16s ease;
}

.mobile-nav-accordion[open] > summary::after {
  content: '\2212';
  color: #006847;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}

.mobile-nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.8);
  font-weight: 600;
}

.mobile-nav-button {
  display: inline-flex;
  justify-content: center;
  margin-top: 10px;
}

.floating-phone-link {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 1800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 104, 71, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #006847;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0.72;
  transition:
    width 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.floating-phone-link:hover,
.floating-phone-link:focus-visible {
  width: 154px;
  border-color: rgba(0, 104, 71, 0.28);
  box-shadow: 0 16px 34px rgba(0, 104, 71, 0.14);
  opacity: 1;
  transform: translateY(-1px);
}

.floating-phone-link svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.floating-phone-text {
  max-width: 0;
  overflow: hidden;
  color: #0f3f2f;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transition:
    max-width 0.2s ease,
    opacity 0.16s ease;
}

.floating-phone-link:hover .floating-phone-text,
.floating-phone-link:focus-visible .floating-phone-text {
  max-width: 96px;
  opacity: 1;
}

@media (min-width: 901px) {
  .topbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
  }

  .nav-center {
    position: static;
    left: auto;
    width: auto;
    max-width: none;
    gap: 6px;
    padding: 6px;
    justify-self: center;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.94);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
    transform: none;
  }

  .nav-link,
  .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
  }

  .nav-link:hover,
  .nav-dropdown-toggle:hover,
  .nav-dropdown[open] .nav-dropdown-toggle {
    background: rgba(255, 255, 255, 0.95);
  }

  .nav-actions {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .topbar {
    padding: 0 16px;
  }

  .nav-center,
  .nav-actions {
    display: none;
  }

  .nav-right-mobile {
    display: flex;
    margin-left: auto;
  }

  .topbar-inner {
    padding: 0 14px;
  }

  .logo-link {
    padding: 0;
  }

  .logo-img {
    height: 46px;
    max-width: 52px;
  }

  .logo {
    font-size: 1.15rem;
  }
}

@media (max-width: 520px) {
  .floating-phone-link {
    left: 14px;
    bottom: 82px;
    width: 42px;
    height: 42px;
  }

  .floating-phone-link:hover,
  .floating-phone-link:focus-visible {
    width: 42px;
  }

  .floating-phone-link:hover .floating-phone-text,
  .floating-phone-link:focus-visible .floating-phone-text {
    max-width: 0;
    opacity: 0;
  }

  .logo-img {
    height: 42px;
    max-width: 48px;
  }

  .logo {
    font-size: 1.05rem;
  }
}
/* Exit Intent Popup Modal */
.exit-intent-overlay {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.7) !important;
  z-index: 10000 !important;
  backdrop-filter: blur(4px) !important;
  animation: fadeIn 0.3s ease;
}

.exit-intent-overlay.show {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

.exit-intent-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideUp 0.4s ease;
  border: 3px solid var(--green-800, #006847);
}

.exit-intent-modal-header {
  padding: 24px 24px 16px;
  text-align: center;
  border-bottom: 2px solid rgba(0, 104, 71, 0.1);
  position: relative;
}

.exit-intent-modal-header img {
  display: block;
  margin: 0 auto 16px;
  object-fit: contain;
}

.exit-intent-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--ink, #1a1a1a);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  line-height: 1;
}

.exit-intent-close:hover {
  background: rgba(0, 104, 71, 0.1);
  color: var(--green-800, #006847);
}

.exit-intent-modal-title {
  font-size: clamp(24px, 2.5vw, 28px);
  color: var(--green-800, #006847);
  margin: 0 0 12px 0;
  font-weight: 800;
}

.exit-intent-modal-subtitle {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--ink, #1a1a1a);
  margin: 0;
  line-height: 1.5;
}

.exit-intent-modal-body {
  padding: 24px;
}

.exit-intent-form-container {
  background: rgba(232, 245, 240, 0.55);
  border: 1px solid rgba(0, 104, 71, 0.1);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 104, 71, 0.1);
}

.exit-intent-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: end;
}

@media (min-width: 640px) {
  .exit-intent-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.exit-intent-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.exit-intent-form-label {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ink, #1a1a1a);
  margin: 0 0 6px 0;
}

.exit-intent-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 104, 71, 0.18);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #FBFEFC;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 0 rgba(0,0,0,0.02);
  color: var(--ink, #1a1a1a);
}

.exit-intent-form-input::placeholder {
  color: rgba(26,26,26,0.45);
}

.exit-intent-form-input:hover {
  border-color: rgba(0, 104, 71, 0.28);
}

.exit-intent-form-input:focus {
  outline: none;
  border-color: #006847;
  box-shadow: 0 0 0 4px rgba(0, 104, 71, 0.12);
}

.exit-intent-form-submit-wrapper {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.exit-intent-form-submit {
  background: linear-gradient(135deg, var(--green-800, #006847) 0%, var(--green-700, #1A7D5A) 100%);
  color: #fff;
  border: 2px solid var(--green-800, #006847);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 104, 71, 0.2);
  width: 100%;
  max-width: 280px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.exit-intent-form-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 104, 71, 0.18);
  color: #fff;
  text-decoration: none;
}

.exit-intent-form-submit:active:not(:disabled) {
  transform: translateY(0);
}
.exit-intent-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.exit-intent-form-message {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

.exit-intent-form-message.success {
  background: rgba(0, 104, 71, 0.1);
  color: var(--green-800, #006847);
  border: 1px solid var(--green-800, #006847);
}

.exit-intent-form-message.error {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid #dc2626;
}

/* Funnel CTA layout — body stacks: primary button, subtitle, secondary link */
.exit-intent-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.exit-intent-secondary-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-800, #006847);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  transition: color 0.2s ease;
}

.exit-intent-secondary-cta:hover {
  color: var(--green-700, #1a7d5a);
  text-decoration: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .exit-intent-modal {
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 85vh;
  }
  
  .exit-intent-modal-header {
    padding: 20px 20px 12px;
  }
  
  .exit-intent-modal-body {
    padding: 20px;
  }
  
  .exit-intent-form-container {
    padding: 20px;
  }
}
