/* =========================================================
   style.css - Combined Stylesheet
   Includes: Homepage, Schedule, About, Contact
   ========================================================= */

/* ---------------------------------------------------------
   1. ROOT VARIABLES & RESET
   --------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --border: #e5e7eb;
  --borderf: #9b9a9a36;
  --text: #0f141b;
  --muted: #33363b; /* Normalized muted color */

  --primary: #130bb6;
  --title: #276295;
  --primary-soft: #e9f4fc;

  --radius: 14px;
  --nav-h: 100px;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.15);

  /* Slogan colors */
  --slogan-blue: #0716ea;
  --slogan-green: #028f00;
  --slogan-bg: #100e1c;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Inter", sans-serif;
  background: var(--bg);
  color: #1f2937;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

main {
  padding: 0;
}

[hidden] {
  display: none !important;
}

/* ---------------------------------------------------------
   2. LAYOUT & UTILITIES
   --------------------------------------------------------- */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  text-align: center;
}

.section {
  padding: 64px 0;
}

.section-lg {
  padding: 96px 0;
}

.section-inner {
  width: min(1100px, 92%);
  margin: auto;
}


/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus { top: 10px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75em;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: 2.5rem; letter-spacing: -0.02em; font-weight: 680; }
h2 { font-size: 2rem; font-weight: 650; }
h3 { font-size: 1.4rem; font-weight: 630; }
h4 { font-size: 1.25rem; font-weight: 630; }


/* ---------------------------------------------------------
   3. HEADER / NAVIGATION
   --------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.lefts-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: -18px;
}

/* Menu Button */
.menu-btn {
  min-width: 48px; min-height: 48px;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .05s ease, background .2s ease;
}
.menu-btn:hover { box-shadow: 0 6px 14px rgba(0,0,0,.12); background: #f9fafb; }
.menu-btn:active { transform: scale(.97); }
.menu-btn:focus-visible { outline: 3px solid rgba(30,136,229,.5); outline-offset: 2px; }

.menu-icon { width: 18px; height: 12px; position: relative; display: block; }
.menu-icon span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--text); border-radius: 999px;
}
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 5px; }
.menu-icon span:nth-child(3) { top: 10px; }

/* Company Logo */
.company {
  display: flex; align-items: center; gap: 7px;
  min-width: 0; text-decoration: none;
}
.site-logo { width: auto; height: 70px; object-fit: contain; }
.site-title { width: auto; height: 100px; padding: 0; object-fit: contain; }

.topbar-actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  min-height: 44px;
  padding: .55rem .9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.btn:hover { background: #f9fafb; }
.btn:focus-visible { outline: 3px solid rgba(30,136,229,.35); outline-offset: 2px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: rgba(30,136,229,.4);
}
.btn-primary:hover { background: #1976d2; }
.btn-primary:focus-visible { outline: 3px solid rgba(255,255,255,.5); outline-offset: 2px; }

/* Slogan */
.slogan { display: inline-flex; align-items: center; }
.slogan-pill {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  background: #e3e7ed99;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 4px 8px;
  font-weight: 700;
  font-size: .95rem;
  margin-left: 3px; margin-bottom: 12px;
  white-space: nowrap;
}
.slogan-part-blue { color: #18108c; font-weight: 700; }
.slogan-part-green { color: #117d18; font-weight: 700; }
.slogan-part-blue1 { color: #13a7f1; font-weight: 700; }
.slogan-part-green1 { color: #3aed29; font-weight: 700; }

.slogan-mobile-text { display: inline; font-size: .85rem; font-weight: 650; }
.slogan-desktop-text { display: none; font-size: .95rem; font-weight: 650; }

/* Drawer Navigation */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  z-index: 999;
}
.drawer {
  position: fixed; top: 0; left: 0;
  width: min(320px, 86vw); height: 100%;
  background: #fff;
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(-103%);
  transition: transform .25s ease;
  z-index: 1000;
  display: flex; flex-direction: column;
  visibility: hidden;
}
.drawer-header {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
}
.drawer-title { font-size: 1rem; font-weight: 800; }
.drawer-close {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff; cursor: pointer;
}
.drawer-close:focus-visible { outline: 3px solid rgba(30,136,229,.35); outline-offset: 2px; }
.drawer-body { padding: 14px; overflow-y: auto; }
.drawer-nav { display: grid; gap: 8px; }
.drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 44px; padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 650;
  transition: background .2s ease, border-color .2s ease;
}
.drawer-link:hover { background: #f4f9ff; border-color: rgba(30,136,229,.4); }
.drawer-link:focus-visible { outline: 3px solid rgba(30,136,229,.35); outline-offset: 2px; }
.drawer-link.active { background: var(--primary-soft); border-color: rgba(30,136,229,.6); }

.drawer-cta {
  margin-top: 16px; padding: 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.drawer-cta p { margin: 0 0 10px; font-size: .95rem; color: var(--muted); }

/* Drawer Open State */
html.drawer-open, html.drawer-open body { overflow: hidden; }
html.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
html.drawer-open .drawer { transform: translateX(0); visibility: visible; }

/* Mobile Slogan Section */
.slogan-mobile-section {
  display: none; text-align: center;
  background: #24242a;
  font-weight: 700; font-size: .95rem;
}

/* ---------------------------------------------------------
   4. FOOTER
   --------------------------------------------------------- */
.footer {
  position: relative;
  padding: 40px 0 60px;
  background: #fff;
  border-top: 1px solid var(--borderf);
}
.footer__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 0; align-items: center; justify-items: center;
}
.footer__center {
  display: inline-flex; align-items: center;
  gap: 10px; text-align: center; height: auto;
}
.footer__nav {
  display: grid; grid-template-columns: 1 fr;
  gap: 16px; align-items: center; justify-content: center;
}
.footer__brand .brand__mark {
  width: auto; height: 70px; align-items: center; color: #000;
}
.footer__links {
  display: inline-flex; gap: 22px; flex-wrap: wrap;
  color: #0c2a54; font-size: 18px; font-weight: 600; 
}
.footer__note {
  text-align: center; margin-bottom: 18px;
  color: #040510; font-size: 18px; font-weight: 550;
}


/* ---------------------------------------------------------
   5. GOHIGHLEVEL FORM & SKELETON LOADER
   --------------------------------------------------------- */
.ghl-form-wrapper {
  width: 100%; max-width: 720px;
  margin: 2.5rem auto 0; padding: 0;
  background: transparent;
  border-radius: 12px;
  contain: layout;
  min-height: 656px;
  aspect-ratio: 720 / 656;
  position: relative;
}
.ghl-form-wrapper.loading { background: #f5f7fa; }
.ghl-form-wrapper iframe {
  width: 100%; height: 656px;
  border: none; display: block;
  background: transparent;
  will-change: contents;
}

/* Skeleton Loader */
.form-skeleton {
  position: absolute; inset: 0;
  background: #f5f7fa;
  border-radius: 12px;
  padding: 2rem;
  pointer-events: none;
}
.form-skeleton::before, .form-skeleton::after {
  content: ""; position: absolute;
  left: 2rem; right: 2rem; height: 16px;
  background: linear-gradient(90deg, #e0e4e8 0%, #f0f2f5 50%, #e0e4e8 100%);
  background-size: 200% 100%;
  border-radius: 8px;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
.form-skeleton::before { top: 2rem; width: 60%; }
.form-skeleton::after { top: 5rem; width: 100%; height: 48px; }

.form-skeleton .skeleton-field {
  position: absolute;
  left: 2rem; right: 2rem; height: 48px;
  background: linear-gradient(90deg, #e0e4e8 0%, #f0f2f5 50%, #e0e4e8 100%);
  background-size: 200% 100%;
  border-radius: 8px;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
.form-skeleton .skeleton-field:nth-child(1) { top: 9rem; }
.form-skeleton .skeleton-field:nth-child(2) { top: 13rem; }
.form-skeleton .skeleton-field:nth-child(3) { top: 17rem; width: 48%; }
.form-skeleton .skeleton-field:nth-child(4) { top: 17rem; right: 2rem; left: auto; width: 48%; }
.form-skeleton .skeleton-field:nth-child(5) { top: 21rem; height: 120px; }

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}


/* ---------------------------------------------------------
   6. HOMEPAGE SPECIFIC STYLES
   --------------------------------------------------------- */
.home-hero {
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 550px;
  display: flex; align-items: center;
  color: #fff;
}
.home-hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
}
.home-hero .section-inner { position: relative; z-index: 1; }

.home-hero-grid { display: grid; gap: 40px; align-items: center; }

.home-hero-content h1 {
  color: #fff; max-width: 650px;
  font-size: 2.5rem; font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,.608);
}
.hero-text {
  font-size: 1.1rem; max-width: 650px; font-weight: 630;
  margin-top: 10px; color: #e5e7eb; padding-bottom: 40px;
  text-shadow: 0 2px 6px rgba(0,0,0,.781);
}

.home-hero-card {
  background: #fff; color: var(--text);
  padding: 24px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.home-hero-card h2 { font-size: 1.4rem; margin-bottom: 12px; font-weight: 650; }
.home-hero-card p { margin-bottom: 20px; color: var(--muted); }
.home-hero-card .btn { margin-top: 8px; }


/* Homepage Features */
.home-sections { display: flex; flex-direction: column; gap: 0; padding: 0; }
.home-feature {
  border-radius: 18px; overflow: hidden;
}
.feature-inner {
  display: flex; flex-direction: column; justify-content: space-evenly;
}
.feature-content { padding: 0 28px 20px; text-align: center; margin-top: 0; }
.feature-content h2 { margin-bottom: 12px; font-weight: 650; }
.feature-content p { margin-bottom: 20px; color: var(--muted); font-weight: 600; }

.feature-image, .feature-image2 { width: 100%; }
.feature-image img, .feature-image2 img {
  width: 100%; height: auto; display: block; object-fit: cover;
}

/* Feature Colors */
.feature-water-test { background: #e3f2fd; }
.feature-manage-leads { background: #f0fef5ba; }
.feature-questions { background: #e3f2fd; }
.feature-next-steps { background: #f0fef5ba; }

/* Feature Headings */
.feature-questions h2, .feature-water-test h2, .feature-manage-leads h2 {
  font-size: 2rem; margin-bottom: 0; font-weight: 650;
  text-align: center; padding-top: 26px; padding-bottom: 26px;
}
.feature-next-steps h3 {
  font-size: 2rem; margin-bottom: 12px; font-weight: 650;
  text-align: center; padding-top: 26px; padding-bottom: 16px;
}
.feature-next-steps p {
  color: var(--muted); font-weight: 600; text-align: center; margin: 0 auto 5px;
}
.feature-next-steps .feature-image7 img {
  width: 100%; height: 600px; max-width: 400px;
  object-fit: cover; border-radius: 14px;
}

/* Video Section */
.section-video { background: #f0fef5ba; }
.how-it-works { padding-top: 12px; padding-bottom: 12px; }
.video-wrapper {
  margin-top: 40px; max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.video-wrapper video {
  width: 100%; height: auto; border-radius: 16px;
  background: #000; box-shadow: var(--shadow); margin-bottom: 10px;
}

.contact-btn { display: flex; align-items: flex-start; justify-content: flex-start; }

/* ---------------------------------------------------------
   7. SCHEDULE PAGE STYLES
   --------------------------------------------------------- */
.schedule-hero {
  background-image: var(--hero-img);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; min-height: 700px; color: #ffffff;
}
.schedule-hero::before {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6);
}
.schedule-hero-content { position: relative; z-index: 1; max-width: 1000px; }
.schedule-hero h1 { color: #ffffff; text-align: center; }
.schedule-hero-text {
  margin-top: 16px; font-size: 1.1rem; color: #e5e7eb; text-align: center;
}

.schedule-hero-cards {
  margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 24px;
}
.schedule-card {
  background: #ffffff; color: var(--text);
  padding: 32px; border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.schedule-card h2 { font-size: 1.25rem; font-weight: 630; text-align: center; }
.schedule-card ul { padding-left: 18px; margin: 0; }
.schedule-card li { margin-bottom: 10px; line-height: 1.5; }


.section-light { background: #cfe4eaaf; }
.schedule-calendar { padding-top: 80px; padding-bottom: 100px; }
.schedule-calendar h2 { text-align: center; margin-bottom: 10px; }
.schedule-calendar h3 {
  text-align: center; font-weight: 600; color: var(--text);
  font-size: 1.05rem; margin-top: 0; margin-bottom: 0;
}


/* ---------------------------------------------------------
   8. ABOUT PAGE STYLES
   --------------------------------------------------------- */
/* About-specific tokens */
main {
  --about-primary: #1c1088;
  --about-primary-dark: #0a033d;
  --about-text: #0b0e12;
  --about-text-light: #272c34;
  --about-muted: #454a52;
  --about-bg-light: #eafff190;
  --about-border: #e5e7eb;
  --about-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --about-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --about-radius: 8px;
}

.about-hero {
  background: #6b7280; color: #ffffff;
  padding: 80px 24px; margin: 0; position: relative;
}
.about-hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.3); z-index: 0;
}
.about-hero .container { text-align: center; }
.about-hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.about-hero h1 {
  font-size: 2.5rem; font-weight: 700; margin-bottom: 24px;
  color: #ffffff; line-height: 1.2;
}
.about-hero-text {
  font-size: 1.125rem; line-height: 1.6; margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
}

/* About CTA Button */
.about-hero .button {
  background: var(--about-primary); color: #dce5f7;
  font-weight: 600; padding: 12px 32px;
  border-radius: var(--about-radius);
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: none; cursor: pointer;
}
.about-hero .button:hover {
  background: var(--about-primary); transform: translateY(-2px);
  box-shadow: var(--about-shadow-lg);
}
.about-hero-content .button { margin-top: 24px; }

/* About Sections Overrides */
main .section.about-section {
  padding: 80px 24px; background: #e3f2fd;
}
main .section.section-left {
  background: var(--about-bg-light);
}
main .section.about-section .container { text-align: left; }

main .section.about-section h2 {
  font-size: 2rem; font-weight: 640; text-align: center;
  margin-bottom: 32px; color: var(--about-text);
}
main .section.section-left h2 { text-align: left; }

main .section.about-section h3 {
  font-size: 1.25rem; font-weight: 620; margin-bottom: 12px; color: var(--about-muted);
}
main .section.about-section p {
  font-size: 1rem; line-height: 1.6; color: var(--about-text-light); margin-bottom: 16px;
}

/* About Lists */
main .section.about-section ul { list-style: none; padding-left: 0; margin-bottom: 24px; }
main .section.about-section li {
  font-size: 1rem; line-height: 1.6; color: var(--about-text-light);
  margin-bottom: 12px; padding-left: 32px; position: relative;
}
main .section.about-section li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--about-primary); font-weight: 700; font-size: 1.2rem;
}

/* About Cards */
.about-hero-cards {
  display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px;
}
.about-card {
  background: #ffffff; color: var(--about-text);
  padding: 32px; border-radius: var(--about-radius);
  box-shadow: var(--about-shadow);
  border: 1px solid var(--about-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.about-card:hover {
  transform: translateY(-4px); box-shadow: var(--about-shadow-lg);
  border-color: var(--about-primary);
}
.about-card h3 {
  font-size: 1.15rem; font-weight: 610; margin-bottom: 12px; color: var(--about-text);
}
.about-card p {
  font-size: 0.95rem; line-height: 1.6; color: var(--about-text-light); margin: 0;
}

/* About Links */
main.about-main a {
  color: var(--about-primary);
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}
main.about-main a:hover {
  color: var(--about-primary-dark); text-decoration: underline;
}

/* ---------------------------------------------------------
   9. CONTACT PAGE STYLES
   --------------------------------------------------------- */
.section-soft { background: var(--primary-soft); }
.feature-section-inner { position: relative; margin-top: 0; }

/* Contact page specific header centering */
.feature-section-inner h1 { text-align: center; }

.form-subtitle {
  font-size: 1.05rem; text-align: center; font-weight: 600;
  color: var(--text); margin: .25rem 0 0;
}

/* =========================================================
   10. RESPONSIVE / MEDIA QUERIES
   ========================================================= */

/* ---------------------------------------------------------
   Global / Reset
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------
   Layout & Typography
   --------------------------------------------------------- */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section-lg { padding: 72px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.1rem; } /* Averaged from inputs */
}

/* ---------------------------------------------------------
   Header / Navigation
   --------------------------------------------------------- */
@media (max-width: 350px) {
  .topbar, .topbar-inner { height: 70px; }
  .topbar { backdrop-filter: blur(12px); }
  .menu-btn { width: 28px; height: 48px; min-width: 20px; min-height: 20px; }
  .menu-icon { width: 12px; height: 10px; }
  .company { gap: 0; margin: auto; }
  .topbar-actions { gap: 0; }
  .topbar-actions .btn {
    min-height: 30px; min-width: 50px; padding: .3rem .6rem;
    font-size: .7rem; border-radius: 10px; max-width: 65px; max-height: 45px;
  }
  .lefts-cluster { gap: 3px; margin-left: 0; }
  .site-title { height: 50px; }
  .site-logo { height: 40px; }
}

@media (min-width: 350px) and (max-width: 767px) {
  .topbar, .topbar-inner { height: 70px; }
  .topbar { backdrop-filter: blur(12px); }
  .menu-btn { width: 38px; height: 48px; min-width: 20px; min-height: 20px; }
  .menu-icon { width: 16px; }
  .company { gap: 0; margin: auto; }
  .topbar-actions { gap: 0; }
  .lefts-cluster { gap: 6px; margin-left: 0; }
  .site-title { height: 60px; }
  .site-logo { height: 50px; }
}

@media (max-width: 500px) {
  .slogan { display: none; }
  .slogan-mobile-section { display: block; padding: 6px; }
  .slogan-mobile-section .slogan-pill {
    display: inline; background: transparent; color: #fff;
    border: 0; border-radius: 0; padding: 12px;
  }
  .slogan-mobile-section .slogan-part-blue1 { color: #13a7f1; }
  .slogan-mobile-section .slogan-part-green1 { color: #1ffc1b; }
  .topbar-actions .btn { min-height: 30px; padding: .3rem .6rem; font-size: .7rem; border-radius: 10px; max-width: 125px; max-height: 45px; }
}

@media (min-width: 500px) and (max-width: 554px) {
  .topbar-actions .btn { min-height: 30px; padding: .3rem .6rem; font-size: .7rem; border-radius: 10px; max-width: 65px; max-height: 45px; }
}
@media (min-width: 555px) and (max-width: 767px) {
  .topbar-actions .btn { min-height: 30px; padding: .3rem .6rem; font-size: .7rem; border-radius: 10px; max-width: 125px; max-height: 45px; }
}
@media (min-width: 768px) and (max-width: 782px) {
  .topbar-actions .btn { min-height: 30px; padding: .3rem .6rem; font-size: .9rem; border-radius: 10px; max-width: 125px; max-height: 45px; }
}

@media (min-width: 500px) and (max-width: 768px) { 
  .site-logo { height: 65px; }
  .slogan-mobile-text { display: none; }
  .slogan-desktop-text { display: inline; font-size: .75rem; font-weight: 660; }
}

@media (min-width: 768px) {
  .slogan-mobile-text { display: none; }
  .slogan-desktop-text { display: inline; }
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
@media (min-width: 768px) {
  .footer__links { margin-bottom: 30px; }
  .footer__brand .brand__mark { color: #d2ffcd; }
}

@media (max-width: 768px) {
  .footer__brand .brand__mark { height: 35px; color: #d2ffcd; }
  .footer__links { font-size: 14px; gap: 8px; }
  .footer__note { font-size: 14px; }
}

/* ---------------------------------------------------------
   Components (Forms, etc)
   --------------------------------------------------------- */
@media (min-width:480px) and (max-width: 768px) {
  .ghl-form-wrapper { max-width: 100%; margin-top: 2rem; min-height: 720px; aspect-ratio: auto; }
  .ghl-form-wrapper iframe { height: 720px; }
  .feature-next-steps .feature-image7 img {
    height: 460px; max-width: 72%; margin: auto auto 10px; border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .ghl-form-wrapper { min-height: 800px; }
  .ghl-form-wrapper iframe { height: 800px; }
  .feature-next-steps .feature-image7 img {
    height: 400px; max-width: 82%; margin: -70px auto 10px; border-radius: 12px;
  }
}

/* ---------------------------------------------------------
   Homepage
   --------------------------------------------------------- */

@media (min-width: 768px) {
  .home-hero-grid { grid-template-columns: 1.1fr .9fr; }
  .home-hero-card { padding: 32px; }
  .home-hero-card h2 { font-size: 1.6rem; }
  .home-hero-card p { font-weight: 600; }
  .home-feature { padding: 48px 0; }
  .feature-inner {
    max-width: 1100px; margin: 0 auto; display: grid; gap: 38px;  
    grid-template-columns: 1.2fr 1fr; align-items: start;
  }
  .feature-content { text-align: left; padding: 0 20px; }
  .feature-image { display: flex; align-items: stretch; position: relative; justify-self: end; }
  .feature-image img {
    width: auto; height: auto; max-height: 350px; max-width: 400px;
    object-fit: cover; border-radius: 14px; padding-top: 4px;
  }
  .feature-image2 { display: flex; align-items: stretch; position: relative; justify-self: auto; }
  .feature-image2 img {
    width: auto; height: auto; max-height: 400px; max-width: 400px;
    object-fit: cover; border-radius: 14px; padding-top: 4px;
  }
  .feature-image7 { display: flex; align-items: center; position: relative; justify-self: auto; }
  .feature-image7 img {
    width: auto; height: auto; max-height: 550px; max-width: 550px;
    object-fit: cover; border-radius: 14px; padding-top: 40px;
  }
  .feature-next-steps p {
    color: var(--muted); font-weight: 600; text-align: center;
    margin: 0 auto 20px; max-width: min(1100px, 80%); padding-inline: 30px;
  }
}

@media (max-width: 768px) {
  .home-hero-content h1 { font-size: 2rem; }
  .hero-text { padding-bottom: 0; margin-bottom: 0; }
  .feature-image, .feature-image2, .feature-image7 { padding: 12px 0 4px; }
  .feature-image img, .feature-image2 img, .feature-image7 img {
    max-width: 82%; margin: 0 auto 10px; border-radius: 12px;
  }
  .feature-content { padding: 24px 20px 8px; }
  .video-wrapper { margin-top: 32px; }
  .feature-questions p, .feature-water-test p, .feature-manage-leads p { text-align: left; }
  .feature-next-steps p {
    text-align: left; margin: 0 auto 0;
    max-width: min(1100px, 90%); padding-inline: 30px;
  }
  .feature-questions h2, .feature-manage-leads h2 { padding-top: 46px; padding-bottom: 0; }
  .feature-next-steps h3 { margin-bottom: 32px; padding-top: 46px; }
}

/* ---------------------------------------------------------
   Schedule Page
   --------------------------------------------------------- */
@media (min-width: 768px) {
  .schedule-hero-cards { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 32px; }
  .schedule-card { padding: 40px; }
}
@media (max-width: 768px) {
  .schedule-hero { padding: 72px 0; }
  .schedule-calendar { padding-top: 64px; padding-bottom: 80px; }
  .schedule-calendar h3 { font-size: 1rem; }
}

/* ---------------------------------------------------------
   About Page
   --------------------------------------------------------- */
@media (max-width: 768px) {
  .about-hero { padding: 60px 16px; }
  .about-hero h1 { font-size: 2rem; }
  .about-hero-text { font-size: 1rem; }
  main .section.about-section { padding: 60px 16px; }
  main .section.about-section h2 { font-size: 1.8rem; margin-bottom: 24px; }
  main .section.section-left h2 { text-align: center; }
  main .section.about-section h3 { font-size: 1.1rem; text-align: center; }
  main .section.about-section p { font-size: 0.95rem; }
  .about-hero-cards { gap: 16px; margin-top: 24px; }
  .about-card { padding: 20px 12px; max-width: 82%; margin: 0 auto; }
  .about-card h3 { font-size: 1.1rem; }
  .about-card p { font-size: 0.9rem; }
}

@media (min-width: 768px) {
  .about-hero-cards { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .about-card { padding: 40px; }
}

@media (min-width: 1024px) {
  .about-hero-cards { grid-template-columns: repeat(3, 1fr); }
}