/* =====================================================
   AQUASOFT — Global Styles
   Navbar, Footer, Modal, Bottom CTA, Shared components
   ===================================================== */

/* ─── DESIGN TOKENS ─── */
:root {
  --teal: #08A493; --teal-d: #069585; --deep: #0D3B38;
  --muted: #6b7280; --light: #f4fbfa; --border: #e0edeb;
  --orange: #FF6B35; --r: 12px;
  --nav-h: 64px;
}

/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: Inter, "Helvetica Neue", Arial, sans-serif; }

/* ─── NAVBAR ─── */
.aq-nav {
  position: sticky; top: 0; z-index: 9999;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(8,164,147,.07);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
.aq-nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 18px;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 0;
}
.aq-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0; margin-right: 28px;
}
.aq-logo img { height: 36px; width: auto; display: block; }
.aq-logo-text { font-size: 1.15rem; font-weight: 800; color: var(--deep); letter-spacing: -.02em; }
.aq-logo:hover { text-decoration: none; }
.aq-links {
  display: flex; align-items: center; gap: 2px; flex: 1;
  list-style: none; margin: 0; padding: 0;
}
.aq-links a {
  display: block; padding: 6px 12px;
  font-size: .88rem; font-weight: 600; color: #374151;
  text-decoration: none; border-radius: 7px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.aq-links a:hover, .aq-links a.active { color: var(--teal); background: var(--light); text-decoration: none; }
.aq-links .call-link a { color: var(--orange); font-weight: 700; }
.aq-links .call-link a:hover { background: #fff4f0; color: var(--orange); }
.aq-right {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: 12px;
}
.aq-phone {
  font-size: .92rem; font-weight: 800; color: var(--teal);
  text-decoration: none; white-space: nowrap;
  transition: color .15s;
}
.aq-phone:hover { color: var(--teal-d); text-decoration: none; }
.aq-socials { display: flex; align-items: center; gap: 4px; }
.aq-socials a {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.aq-socials a:hover { background: var(--light); }
.aq-socials img { width: 22px; height: 22px; display: block; }
.aq-cart {
  display: flex; align-items: center; gap: 6px;
  background: var(--light); border: 1px solid var(--border);
  color: var(--deep); font-weight: 700; font-size: .85rem;
  padding: 7px 12px; border-radius: 9px;
  text-decoration: none; transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.aq-cart:hover { background: #d9f2f0; border-color: var(--teal); color: var(--teal); text-decoration: none; }
.aq-cart-count {
  background: var(--teal); color: #fff;
  font-size: .72rem; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.aq-cart-count.empty { background: #d1d5db; }
.aq-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 7px; margin-right: 8px;
  transition: background .15s;
}
.aq-toggle:hover { background: var(--light); }
.aq-toggle svg { display: block; color: var(--deep); }
.aq-mobile-menu {
  display: none; position: fixed; inset: 0; top: var(--nav-h);
  background: rgba(0,0,0,.4); z-index: 9998;
}
.aq-mobile-menu.open { display: block; }
.aq-mobile-inner {
  background: #fff; padding: 16px 20px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.aq-mobile-links { list-style: none; margin: 0 0 16px; padding: 0; }
.aq-mobile-links li a {
  display: block; padding: 11px 8px;
  font-size: .97rem; font-weight: 600; color: #374151;
  text-decoration: none; border-bottom: 1px solid #f3f6f5;
  transition: color .15s;
}
.aq-mobile-links li:last-child a { border-bottom: none; }
.aq-mobile-links li a:hover { color: var(--teal); text-decoration: none; }
.aq-mobile-actions {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.aq-mobile-phone {
  font-size: 1rem; font-weight: 800; color: var(--teal);
  text-decoration: none;
}
@media (max-width: 900px) {
  .aq-links, .aq-phone { display: none; }
  .aq-toggle { display: flex; }
  .aq-right { margin-left: auto; }
}
@media (max-width: 500px) {
  .aq-socials { display: none; }
}

/* ─── FLOATING WHATSAPP ─── */
.wa-float-mid {
  position: fixed; bottom: 17%; right: 4%; z-index: 1000;
}

/* ─── CALLBACK BUTTON + WHATSAPP — stay above each other on mobile ─── */
@media (max-width: 768px) {
  .callback-bt {
    bottom: 70px !important;   /* above the bottom CTA bar (~52px) */
  }
  .wa-float-mid {
    bottom: 134px !important;  /* above callback-bt (70px + 50px button + 14px gap) */
  }
}

/* ─── BOTTOM FIXED CTA ─── */
@keyframes cta-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,.7); }
  50% { box-shadow: 0 0 0 6px rgba(255,107,53,0); }
}
@keyframes cta-shimmer {
  0% { transform: translateX(-100%) skewX(-20deg); }
  100% { transform: translateX(300%) skewX(-20deg); }
}
.aq-bottom-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, #0b4843 0%, #0e5e57 50%, #0b4843 100%);
  box-shadow: 0 -3px 20px rgba(8,164,147,.3);
  color: #fff; border: none;
  cursor: pointer; padding: 15px 20px; overflow: hidden;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: .95rem; font-weight: 700; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s;
}
.aq-bottom-cta::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  animation: cta-shimmer 3s ease-in-out infinite;
}
.aq-bottom-cta:hover { background: linear-gradient(90deg, #0e5e57, #0b4843, #0e5e57); color: #fff; }
.aq-bottom-cta-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--orange);
  animation: cta-dot-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* ─── FOOTER ─── */
.aq-footer {
  background: var(--deep);
  color: rgba(255,255,255,.75);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  padding-bottom: 48px;
}
.aq-footer-top {
  max-width: 1200px; margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) { .aq-footer-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .aq-footer-top { grid-template-columns: 1fr; } }
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px; text-decoration: none;
}
.footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer-logo-text { font-size: 1.1rem; font-weight: 800; color: #fff; }
.footer-brand p { font-size: .85rem; line-height: 1.65; margin: 0 0 16px; }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.footer-social-link:hover { background: rgba(255,255,255,.16); }
.footer-social-link img { width: 20px; height: 20px; display: block; }
.footer-col h4 {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.45);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: .88rem; color: rgba(255,255,255,.72);
  text-decoration: none; transition: color .15s;
}
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px;
}
.fci-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: rgba(255,255,255,.7);
}
.fci-body { font-size: .85rem; line-height: 1.55; }
.fci-body a { color: rgba(255,255,255,.85); text-decoration: none; }
.fci-body a:hover { color: #fff; text-decoration: none; }
.fci-label { font-size: .72rem; color: rgba(255,255,255,.4); margin-bottom: 1px; }
.aq-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 1200px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.35);
}
.aq-footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; }
.aq-footer-bottom a:hover { color: rgba(255,255,255,.6); }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── MODAL FORM ─── */
.hm-close {
  position: absolute; top: 14px; right: 16px; z-index: 10;
  background: rgba(255,255,255,.15); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 1.2rem; line-height: 1;
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.hm-close:hover { background: rgba(255,255,255,.28); }
.hm-wrap { display: grid; grid-template-columns: 1fr 1fr; }
.hm-promo {
  background: linear-gradient(155deg, #0D3B38 0%, #096b5f 100%);
  padding: 40px 32px; color: #fff;
  display: flex; flex-direction: column; gap: 18px;
}
.hm-promo-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #7ff5eb; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  padding: 4px 12px; border-radius: 20px; width: fit-content;
}
.hm-promo-title { font-size: 1.45rem; font-weight: 800; line-height: 1.3; margin: 0; color: #fff; }
.hm-promo-sub { font-size: .88rem; color: rgba(255,255,255,.7); margin: 0; line-height: 1.55; }
.hm-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hm-benefits li {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: rgba(255,255,255,.88);
}
.hm-benefits li::before {
  content: "✓"; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(8,164,147,.35); color: #7ff5eb;
  font-size: .8rem; font-weight: 800; flex-shrink: 0;
}
.hm-rating {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.55); margin-top: auto;
}
.hm-stars { color: #FFD166; font-size: 1rem; letter-spacing: 1px; }
.hm-form-panel {
  background: #fff; padding: 40px 32px;
  display: flex; flex-direction: column; gap: 6px;
}
.hm-form-title { font-size: 1.25rem; font-weight: 800; color: #0D3B38; margin: 0 0 4px; }
.hm-form-sub { font-size: .85rem; color: #6b7280; margin: 0 0 20px; }
.hm-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.hm-field label { font-size: .82rem; font-weight: 600; color: #374151; }
.hm-field input {
  padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid #e5e7eb; font-size: .97rem;
  outline: none; transition: border-color .15s, box-shadow .15s;
  font-family: inherit; color: #111;
}
.hm-field input:focus {
  border-color: #08A493;
  box-shadow: 0 0 0 3px rgba(8,164,147,.15);
}
.hm-field input::placeholder { color: #b0b8c1; }
.hm-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, #FF7A45, #FF6B35);
  color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .01em;
  border: none; border-radius: 11px; cursor: pointer; margin-top: 4px;
  box-shadow: 0 6px 20px rgba(255,107,53,.38);
  transition: opacity .15s, transform .1s;
  font-family: inherit;
}
.hm-submit:hover { opacity: .92; transform: translateY(-1px); }
.hm-submit:active { transform: translateY(0); }
.hm-policy { font-size: .74rem; color: #9ca3af; text-align: center; margin: 10px 0 0; line-height: 1.5; }
.hm-policy a { color: #08A493; text-decoration: none; }
.hm-policy a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .hm-wrap { grid-template-columns: 1fr; }
  .hm-promo { padding: 28px 22px; gap: 12px; }
  .hm-promo-title { font-size: 1.2rem; }
  .hm-form-panel { padding: 26px 22px; }
  .hm-rating { display: none; }
}

/* ─── SHARED: HERO TRUST ROW (contact, delivery, service pages) ─── */
.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}
.hero-trust-item .chk {
  width: 16px; height: 16px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .6rem;
  color: #fff;
  font-weight: 900;
}
