/* Acqua Fresca home page comp (2026-10-30). Loaded by index.html only.
 * Bright, high-key hero with a real cooler photo, one primary CTA, trust row,
 * estimate band, tighter section rhythm. One --gutter token (defined in
 * af-convert.css, stepped up here to match the sm:/lg: insets of the header);
 * every horizontal inset below reads it. No padding shorthand on any element
 * that carries a max-width container. */
@media (min-width: 640px) {
  :root { --gutter: 2rem; }
}
@media (min-width: 1024px) {
  :root { --gutter: 2.5rem; }
}
:root {
  --af-sky: #eef7fd;
  --af-cta: #0369a1;
  --af-cta-hover: #075985;
}

/* ---- Hero ---- */
.af-hero {
  background: linear-gradient(180deg, var(--af-sky) 0%, #ffffff 100%);
}
.af-hero__inner {
  max-width: calc(72rem + 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  padding-top: 1.75rem;
  padding-bottom: 1.5rem;
  display: grid;
  gap: 1.5rem;
}
.af-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--af-cta);
}
.af-hero h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--af-ink, #082f49);
  text-wrap: balance;
}
.af-hero__sub {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--af-cta);
}
.af-hero__lede {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #334155;
}
.af-hero__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.af-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.af-btn--primary {
  background: var(--af-cta);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(3, 105, 161, 0.28);
}
.af-btn--primary:hover {
  background: var(--af-cta-hover);
  transform: translateY(-1px);
}
.af-btn--ghost {
  background: #ffffff;
  color: var(--af-ink, #082f49);
  border: 2px solid #bcd7ea;
}
.af-btn--ghost:hover {
  border-color: var(--af-cta);
}
.af-btn:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 3px;
}
.af-hero__points {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e4a66;
}
.af-hero__points li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: #22a6e0;
  vertical-align: middle;
}
.af-hero__media {
  margin: 0;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #eef2f6;
  box-shadow: 0 24px 60px rgba(8, 47, 73, 0.16);
  aspect-ratio: 4 / 3;
}
.af-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* ---- Trust row ---- */
.af-trust {
  max-width: calc(72rem + 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  padding-bottom: 1.75rem;
  display: grid;
  gap: 0.9rem;
}
.af-trust__rating {
  margin: 0;
  font-size: 0.9375rem;
  color: #334155;
}
.af-trust__rating strong {
  font-size: 1.25rem;
  color: var(--af-ink, #082f49);
}
.af-trust__logos {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.af-trust__logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  background: #ffffff;
  border: 1px solid #dbe7f0;
  border-radius: 0.75rem;
}
.af-trust__logos img {
  display: block;
  max-width: 78%;
  max-height: 2rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---- Estimate band (form + reviews) ---- */
.af-est {
  background: #f4f9fd;
  padding: 0;
}
.af-est__inner {
  max-width: calc(72rem + 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: grid;
  gap: 1.75rem;
}
.af-est .af-proof__list {
  margin-top: 1.25rem;
}
.af-est__card {
  background: #ffffff;
  border: 1px solid #d3e4f1;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 16px 40px rgba(8, 47, 73, 0.1);
  scroll-margin-top: 6rem;
}
.af-est__card h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--af-ink, #082f49);
}
.af-est__card p,
.af-est__card label {
  color: #334155;
  text-shadow: none;
  filter: none;
  font-size: 0.875rem;
  line-height: 1.5;
}
.af-est__card label {
  font-weight: 600;
  gap: 0.35rem;
}
.af-est__card input[type="text"],
.af-est__card input[type="email"],
.af-est__card input[type="tel"] {
  height: 2.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border: 1px solid #b6c9d8;
  background: #ffffff;
  border-radius: 0.6rem;
  font-size: 1rem;
}
.af-est__card input:focus {
  border-color: #0ea5e9;
  outline: 3px solid rgba(14, 165, 233, 0.25);
}
.af-est__card button[type="submit"] {
  height: 3.25rem;
  background: var(--af-cta);
  color: #ffffff;
  width: 100%;
}
.af-est__card button[type="submit"]:hover {
  background: var(--af-cta-hover);
}
.af-est__card a {
  color: var(--af-cta);
  font-weight: 700;
}

/* Reviews stack in the left column instead of three cramped slivers. */
.af-est .af-proof__list {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.af-est .af-proof__list li {
  padding: 1rem 1.1rem;
}
.af-est .af-proof__list blockquote p {
  font-size: 0.9375rem;
  line-height: 1.55;
}
.af-est .af-proof__list li:first-child blockquote p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Compare panel photos were 550px tall each. */
#benefits .aspect-\[1\.02\/1\] {
  aspect-ratio: 16 / 10;
}
#benefits .aspect-\[1\.02\/1\] img {
  object-position: 50% 30%;
}

/* ---- Section rhythm: no dead air ---- */
main > section[class*="py-24"] {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
main > section[class*="py-20"],
main > section[class*="py-16"] {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
#how-it-works .min-h-\[34rem\] {
  min-height: 22rem;
}

/* ---- Footer logo: the blue mark vanished on the dark gradient ---- */
footer img[src="/Logo.webp"] {
  background: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  box-sizing: content-box;
}

@media (min-width: 640px) {
  .af-hero__cta {
    flex-direction: row;
  }
  .af-hero h1 {
    font-size: 3rem;
  }
  .af-hero__sub {
    font-size: 1.5rem;
  }
  .af-trust {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.5rem;
  }
  .af-trust__logos {
    grid-template-columns: repeat(6, 1fr);
  }
  .af-est__card {
    padding: 1.75rem;
  }
}
@media (min-width: 1024px) {
  .af-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3.5rem;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }
  .af-hero h1 {
    font-size: 3.5rem;
  }
  .af-hero__media {
    aspect-ratio: 4 / 4.6;
    max-height: 34rem;
    justify-self: end;
    width: 100%;
  }
  .af-est__inner {
    grid-template-columns: 1fr 26rem;
    align-items: start;
    gap: 3rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}
@media (max-width: 639.98px) {
  .af-hero__media {
    aspect-ratio: 1 / 1;
  }
  .af-hero__media img {
    object-position: 50% 50%;
  }
  .af-hero__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }
  #why-switch .min-h-\[23rem\] {
    min-height: 17rem;
  }
  .af-trust__rating span {
    display: block;
  }
}

/* Photo cards: bright photo on top, text on a pale panel below (no dark overlays). */
#services article,
#why-switch article {
  background: #f0f9ff;
  border-color: #bae6fd;
}
#services article > div,
#why-switch article > div {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
}
#services article > div > img,
#why-switch article > div > img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 15rem !important;
  flex: none;
  object-fit: cover;
}
#services article > div > .pointer-events-none,
#why-switch article > div > .pointer-events-none {
  display: none;
}
#services article > div > .relative,
#why-switch article > div > .relative {
  margin-top: 0;
  background: #f0f9ff;
}
#services article h3,
#why-switch article h3 {
  color: var(--brand-title);
}
#services article p,
#why-switch article p {
  color: #334155;
}
#services article p.uppercase {
  color: #0e7490;
}
#services article .gap-3,
#services article a {
  color: #0e7490;
}
#services article .gap-3 .rounded-full {
  background: #0e7490;
}
