/* Fix WPForms invisible/transparent labels */
.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel,
.wpforms-container label {
  color: #07123d !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #07123d !important;
}

/* Keep required asterisk red */
.wpforms-container .wpforms-required-label {
  color: #e3342f !important;
  -webkit-text-fill-color: #e3342f !important;
}

/* Input text color */
.wpforms-container input,
.wpforms-container textarea,
.wpforms-container select {
  color: #07123d !important;
  -webkit-text-fill-color: #07123d !important;
}
/* ============================================================
   THREE SIXTY POOL CARE — Additional CSS
   All mobile fixes, animations, and overrides.
   Paste this in Appearance → Customize → Additional CSS
   ============================================================ */

/* ── Nav phone — hide on mobile ── */
@media (max-width: 900px) {
  .nav-phone { display: none !important; }
}
@media (min-width: 901px) {
  .nav-phone { display: flex !important; }
  .nav-call-btn { display: none !important; }
}

/* ── Hamburger styling ── */
@media (max-width: 900px) {
  .nav-hamburger {
    width: 42px !important;
    height: 42px !important;
    background: #0d1a3a !important;
    border-radius: 50% !important;
    display: flex !important;
    gap: 5px !important;
  }
  .nav-hamburger .bar {
    background: #fff !important;
    width: 20px !important;
  }
  .nav-hamburger:hover { background: #1a3fa8 !important; }
}

/* ── Mobile nav menu ── */
@media (max-width: 900px) {
  .nav-links {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #0d1a3a !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.35s ease, padding 0.35s ease !important;
    z-index: 999 !important;
  }
  .nav-links.open {
    max-height: 320px !important;
    padding: 8px 0 12px !important;
  }
  .nav-links li { width: 100% !important; }
  .nav-links a {
    display: block !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    letter-spacing: 0.5px !important;
  }
  .nav-links a:hover,
  .nav-links a.active { color: #f7c948 !important; }
  .nav-links li:last-child a { border-bottom: none !important; }
}

/* ── Circular call button ── */
.nav-call-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1a3fa8;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
@media (max-width: 900px) {
  .nav-call-btn { display: flex !important; }
  .nav-call-btn:hover { background: #0d2775 !important; }
  .nav-call-btn svg { width: 18px; height: 18px; fill: #fff; }
}

/* ── Hero background fix for ACF images on mobile ── */
@media (max-width: 900px) {
  .hero[style*="background-image"] {
    background-image: inherit !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* ── Mobile perfection — 480px ── */
@media (max-width: 480px) {
  nav { padding: 8px 14px !important; min-height: 60px !important; }
  .nav-logo img { height: 42px !important; }
  .hero { min-height: 100svh !important; }
  .hero-content { padding: 28px 18px 40px !important; max-width: 100% !important; }
  .hero-content h1 { font-size: clamp(28px, 9vw, 38px) !important; }
  .hero-content p { font-size: 15px !important; }
  .hero-btns { max-width: 100% !important; gap: 11px !important; }
  .btn-primary, .btn-outline { font-size: 14px !important; padding: 13px 18px !important; }
  section { padding: 44px 14px !important; }
  .section-title { font-size: clamp(22px, 7vw, 30px) !important; }
  .results-grid { grid-template-columns: 1fr 1fr !important; }
  .review-card { width: calc(100vw - 48px) !important; }
  .services-grid { gap: 16px !important; }
  .about { padding: 36px 14px !important; }
  .about-text h2 { font-size: 17px !important; }
  .about-checks { max-width: 100% !important; }
  .area-bar { padding: 18px 14px !important; }
  .area-list { gap: 8px 16px !important; }
  .area-list li { font-size: 13px !important; }
  .quote-inner { padding: 44px 14px !important; gap: 28px !important; }
  .quote-left h2 { font-size: clamp(22px, 7vw, 30px) !important; }
  .quote-form { padding: 26px 16px !important; border-radius: 10px !important; }
  footer { padding: 20px 14px !important; gap: 10px !important; }
  .footer-copy { font-size: 12px !important; }
  .wpforms-container .wpforms-field input,
  .wpforms-container .wpforms-field textarea { font-size: 16px !important; }
}

/* ── Mobile banner ── */
@media (max-width: 900px) {
  .summer-banner-wrap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 16px !important;
    z-index: 20 !important;
  }
  .summer-savings-banner { grid-template-columns: 1fr !important; }
  .ssb-middle, .ssb-right {
    border-left: none !important;
    border-top: 1px solid #eadfbc !important;
    min-height: unset !important;
  }
  .ssb-left { justify-content: center !important; text-align: center !important; min-height: unset !important; }
  .ssb-middle { align-items: center !important; text-align: center !important; }
  .ssb-right { justify-content: center !important; }
}

/* ── Sun spin + offer bounce ── */
@keyframes sun-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.ssb-sun {
  animation: ssb-pulse 3s ease-in-out infinite,
             sun-spin 12s linear infinite;
}
@keyframes offer-bounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.07); }
}
.ssb-amount { display: inline-block; animation: offer-bounce 2s ease-in-out infinite; }

/* ── Hero entrance animations ── */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content h1 { animation: hero-enter 0.75s cubic-bezier(0.22,0.61,0.36,1) 0.1s both; }
.hero-content p  { animation: hero-enter 0.75s cubic-bezier(0.22,0.61,0.36,1) 0.22s both; }
.hero-btns       { animation: hero-enter 0.75s cubic-bezier(0.22,0.61,0.36,1) 0.34s both; }

/* ── Touch tap feedback ── */
@media (hover: none) {
  .review-card:active, .result-card:active, .service-item:active {
    transform: scale(0.97); transition: transform 0.12s ease;
  }
  .btn-primary:active, .btn-outline:active, .btn-form:active, .btn-quote:active {
    transform: scale(0.96); transition: transform 0.1s ease;
  }
}

/* ── WPForms theme match ── */
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
  width: 100% !important; padding: 13px 14px !important;
  border: 1.5px solid #ddd !important; border-radius: 10px !important;
  font-size: 14px !important; color: #333 !important; outline: none !important;
  font-family: 'Segoe UI', Arial, sans-serif !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
  box-shadow: none !important;
}
.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field textarea:focus {
  border-color: #1a3fa8 !important;
  box-shadow: 0 0 0 3px rgba(26,63,168,0.13) !important;
}
.wpforms-container .wpforms-submit-container button[type=submit] {
  width: 100% !important; background: #1a3fa8 !important; color: #fff !important;
  padding: 15px !important; border-radius: 10px !important;
  font-weight: 700 !important; font-size: 15px !important; border: none !important;
  cursor: pointer !important; font-family: 'Segoe UI', Arial, sans-serif !important;
  transition: background 0.25s ease, transform 0.25s ease !important;
}
.wpforms-container .wpforms-submit-container button[type=submit]:hover {
  background: #0d2775 !important; transform: translateY(-2px) !important;
}
.wpforms-container .wpforms-field-label {
  font-size: 13px !important; font-weight: 600 !important;
  color: #444 !important; margin-bottom: 5px !important;
}