/* ================================================================
   VIDA WATER — SHARED PAGE COMPONENTS
   ================================================================
   Loaded by EVERY page, including the blog pages, which use
   news.css rather than styles.css. Anything that has to look and
   behave the same on every page type belongs here:
     - the Quick Enquiry footer strip
     - the navy call-to-action panel (.cta-panel / .sector-cta)
   Do not copy these rules back into styles.css or news.css.
   Pairs with assets/js/enquiry.js.
   ================================================================ */

/* ---- Footer quick-enquiry strip ---- */
    /* =============================================
       FOOTER CONTACT STRIP
       ============================================= */
    .footer-contact { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 3.5rem 2rem; }
    .footer-contact-inner { max-width: var(--max-width); margin: 0 auto; }
    .footer-contact h2, .footer-contact h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--color-accent); }
    .footer-contact p { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 1.5rem; font-weight: 400; }
    .footer-form-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
    .footer-form-row input {
      flex: 1; min-width: 180px; background: var(--color-white);
      border: 1.5px solid var(--color-border); color: var(--color-text);
      padding: 0.75rem 1rem; border-radius: var(--radius); font-size: 0.9rem;
      outline: none; transition: border-color var(--transition), box-shadow var(--transition); font-family: var(--font-main);
    }
    .footer-form-row input:focus { border-color: var(--color-accent2); box-shadow: 0 0 0 3px rgba(96,176,224,0.18); }
    .footer-form-row button {
      background: var(--color-accent); color: var(--color-white); font-family: var(--font-main);
      font-weight: 600; font-size: 0.88rem; padding: 0.75rem 1.5rem;
      border: none; border-radius: var(--radius); cursor: pointer;
      transition: background var(--transition); white-space: nowrap;
      box-shadow: 0 4px 14px rgba(35,60,144,0.22);
    }
    .footer-form-row button:hover { background: var(--color-accent2); }

/* ---- Call-to-action panel + white button ---- */
    /* Shared call-to-action panel. .sector-cta is the original name kept for the
       sector pages; .cta-panel is the same thing for every other page. */
    .cta-panel, .sector-cta { background: var(--color-accent); border-radius: calc(var(--radius)*1.5); padding: 2.5rem 2rem; text-align: center; color: var(--color-white); }
    .cta-panel { margin-top: 4rem; }
    .cta-panel p, .sector-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.4rem; font-weight: 400; }
    .cta-panel h2, .cta-panel h3, .sector-cta h2, .sector-cta h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.6rem; }
    .btn-white { background: var(--color-white); color: var(--color-accent); font-family: var(--font-main); font-weight: 700; font-size: 0.95rem; padding: 0.85rem 2rem; border-radius: var(--radius); border: none; cursor: pointer; transition: all var(--transition); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
    .btn-white:hover { background: var(--color-accent2); color: var(--color-white); transform: translateY(-1px); }

/* ---- Footer form privacy note ---- */
.footer-form-note {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin: 0.75rem 0 0;
  font-weight: 300;
}
.footer-form-note a { color: var(--color-accent); text-decoration: underline; }
.footer-form-note a:hover { color: var(--color-accent2); }
