/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 43, 51, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: #fff;
  flex-shrink: 0;
}
.brand .brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.brand .brand-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--cyan-300);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 1px;
}

.main-nav {
  display: none;
}
@media (min-width: 1080px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .main-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14.5px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
  }
  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  .main-nav .has-dropdown {
    position: relative;
  }
  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--paper-0);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    min-width: 240px;
    display: grid;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
  }
  .dropdown a {
    color: var(--ink-800) !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }
  .dropdown a:hover {
    background: var(--paper-100) !important;
    color: var(--teal-700) !important;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions .btn {
  padding: 10px 18px;
  min-height: 42px;
  font-size: 14px;
}
.header-call-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.header-call-icon svg {
  width: 19px;
  height: 19px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #fff;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
}
@media (min-width: 1080px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--teal-900);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-inner {
  padding: 18px 20px 40px;
}
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.mobile-nav a.mn-link {
  display: block;
  padding: 14px 6px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
}
.mobile-nav .mn-group-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-300);
  padding: 22px 6px 8px;
}
.mobile-nav .mn-sub a {
  padding: 11px 6px 11px 18px;
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 0;
}
.mobile-nav-cta {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
@media (min-width: 1080px) {
  .mobile-nav {
    display: none;
  }
}

@media (max-width: 899.98px) {
  .header-actions .header-call-icon,
  .header-actions .btn-whatsapp {
    display: none;
  }
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumb-bar {
  background: var(--paper-100);
  border-bottom: 1px solid var(--line-200);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  font-size: 13.5px;
  color: var(--text-muted);
}
.breadcrumb-list a {
  color: var(--teal-600);
  font-weight: 500;
}
.breadcrumb-list a:hover {
  text-decoration: underline;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  color: var(--line-300);
}

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  background: radial-gradient(120% 140% at 15% 0%, var(--teal-700) 0%, var(--teal-900) 62%);
  color: #fff;
  padding: 52px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60%;
  height: 160%;
  background: radial-gradient(circle, rgba(79, 209, 197, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 46px);
  max-width: 760px;
}
.page-hero .lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17.5px;
  max-width: 640px;
}
.page-hero .stat-row {
  margin-top: 28px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 0;
  font-size: 14.5px;
}
.footer-top {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 720px) {
  .footer-top {
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 24px;
  }
}
.footer-brand .brand {
  color: #fff;
  margin-bottom: 14px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.62);
  max-width: 320px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover {
  color: #fff;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0 26px;
  text-align: center;
}
.footer-credit p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-decoration: none;
}
.footer-credit a:hover {
  color: var(--cyan-300);
  text-decoration: underline;
}

/* ==========================================================================
   FLOATING WHATSAPP / CALL
   ========================================================================== */
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
@media (max-width: 899.98px) {
  .float-actions {
    display: none;
  }
}
.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: #fff;
  position: relative;
}
.float-btn svg {
  width: 27px;
  height: 27px;
}
.float-btn.whatsapp {
  background: var(--whatsapp-500);
}
.float-btn.whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp-500);
  animation: pulse-ring 2.4s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
  z-index: -1;
}
.float-btn.call {
  background: var(--amber-500);
  color: var(--teal-900);
  width: 50px;
  height: 50px;
}
@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .float-btn.whatsapp::before {
    animation: none;
  }
}

.sticky-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-0);
  border-top: 1px solid var(--line-200);
  box-shadow: 0 -6px 20px rgba(8, 38, 45, 0.1);
}
.sticky-mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  font-weight: 700;
  font-size: 14.5px;
}
.sticky-mobile-cta a svg {
  width: 18px;
  height: 18px;
}
.sticky-mobile-cta .sc-whatsapp {
  background: var(--whatsapp-500);
  color: #fff;
}
.sticky-mobile-cta .sc-call {
  background: var(--amber-500);
  color: var(--teal-900);
}
@media (min-width: 900px) {
  .sticky-mobile-cta {
    display: none;
  }
}
body.has-sticky-cta {
  padding-bottom: 58px;
}
@media (min-width: 900px) {
  body.has-sticky-cta {
    padding-bottom: 0;
  }
}
