/* Homepage: warm editorial layout. Scoped to homepage sections. */
:root {
    --home-ivory: #faf8f2;
    --home-ink: #102d52;
    --home-muted: #5e6b79;
    --home-gold: #9b7636;
    --home-line: #e5e1d7;
}

.home-main-hero.hero {
    min-height: auto;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0 1.8rem;
    background: var(--home-ivory);
    color: var(--home-ink);
}

.home-main-hero::before,
.home-main-hero::after {
    display: none;
}

.home-main-hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    align-items: center;
    gap: 2.2rem clamp(2.5rem, 6vw, 6rem);
}

.home-main-hero .hero-inner {
    max-width: none;
    padding: 0;
    text-align: left;
}

.home-main-hero .hero-eyebrow {
    max-width: 42ch;
    margin: 0 0 1.6rem;
    color: var(--home-gold);
    font-size: 0.67rem;
    font-weight: 750;
    line-height: 1.7;
    letter-spacing: 0.14em;
}

.home-main-hero .hero-title {
    max-width: 13ch;
    margin: 0 0 1.4rem;
    color: var(--home-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.9rem, 5.05vw, 4.55rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.07;
    text-shadow: none;
    text-wrap: balance;
}

.home-main-hero .hero-title .gold {
    color: var(--home-gold);
    font-style: italic;
}

.home-main-hero .hero-address {
    justify-content: flex-start;
    margin: 0 0 1.15rem;
    color: var(--home-muted);
    font-size: 0.76rem;
    font-weight: 500;
}

.home-main-hero .hero-address svg {
    flex-shrink: 0;
    color: var(--home-gold);
}

.home-main-hero .hero-lead {
    max-width: 43ch;
    margin: 0 0 1.8rem;
    color: var(--home-muted);
    font-size: 0.97rem;
    line-height: 1.8;
}

.home-main-hero .hero-cta {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0 0 1.65rem;
}

.home-main-hero .hero-cta .btn {
    min-height: 52px;
    padding: 0.85rem 1.2rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: none;
}

.home-main-hero .hero-btn-primary {
    background: var(--home-ink);
}

.home-main-hero .hero-btn-primary:hover {
    background: #244c79;
}

.home-main-hero .hero-btn-secondary {
    border: 1px solid #c7cccf !important;
    background: transparent !important;
    color: var(--home-ink) !important;
    box-shadow: none;
}

.home-main-hero .hero-btn-secondary:hover {
    border-color: var(--home-ink) !important;
    background: #fff !important;
    color: var(--home-ink) !important;
}

.home-main-hero .hero-trustindex-widget {
    width: fit-content;
    margin: 0;
    justify-content: flex-start;
}

.home-main-hero .gr-hero-badge {
    border: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-main-hero .gr-hero-badge__logo .gr-g--lg {
    width: 30px;
    height: 30px;
}

.home-main-hero .gr-hero-badge__title {
    font-size: 0.72rem;
}

.home-main-hero .gr-hero-badge__verified {
    font-size: 0.63rem;
}

.home-hero-visual {
    position: relative;
    min-width: 0;
    width: 100%;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 0.84;
    max-height: 610px;
    border-radius: 140px 12px 12px 12px;
    background: #dfd2b9;
}

.home-hero-visual picture,
.home-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero-visual img {
    object-fit: cover;
    object-position: center 63%;
}

.home-hero-visual::after {
    content: "";
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(transparent, rgba(20, 22, 20, 0.58));
    pointer-events: none;
}

.home-hero-visual figcaption {
    position: absolute;
    z-index: 1;
    bottom: 1.7rem;
    left: 1.8rem;
    right: 1.8rem;
    color: #fff;
}

.home-hero-visual figcaption span {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.home-hero-visual figcaption strong {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.home-main-hero .hero-badges {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 1.35rem 0 0;
    border-top: 1px solid var(--home-line);
}

.home-main-hero .hero-badge,
.home-main-hero .hero-badge:first-child {
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.35rem 1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.home-main-hero .hero-badge:not(:first-child) {
    border-left: 1px solid var(--home-line);
}

.home-main-hero .hero-badge svg {
    width: 25px;
    height: 25px;
    color: var(--home-gold);
}

.home-main-hero .hero-badge strong {
    color: var(--home-ink);
    font-size: 0.8rem;
    font-weight: 650;
}

.home-main-hero .hero-badge span {
    color: var(--home-muted);
    font-size: 0.67rem;
    font-weight: 400;
}

.home-main-hero .hero-badge-sep {
    display: none;
}

.home-main-hero a:focus-visible {
    outline: 3px solid #2f5faa;
    outline-offset: 5px;
}

/* Water information: readable figures beside the introduction. */
.home-water-section.section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background: #fff;
}

.home-water-section__glow {
    display: none;
}

.home-water-section > .container {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 2.4rem clamp(2rem, 5vw, 4.5rem);
}

.home-water-section .home-section-heading {
    max-width: none;
    margin: 0;
    text-align: left;
}

.home-water-section .home-section-heading .eyebrow {
    color: var(--home-gold);
    font-size: 0.65rem;
    font-weight: 750;
}

.home-water-section .home-section-heading h2 {
    color: var(--home-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.16;
}

.home-water-section .home-section-heading p:not(.eyebrow) {
    margin: 1.1rem 0 0;
    color: var(--home-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.home-water-section .water-facts {
    margin: 0;
    padding: 1.6rem;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background: var(--home-ivory);
    color: var(--home-ink);
    box-shadow: none;
}

.home-water-section .water-facts::after {
    display: none;
}

.home-water-section .water-facts__head {
    display: block;
    margin-bottom: 1.35rem;
}

.home-water-section .water-facts__pill {
    gap: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--home-gold);
    font-size: 0.61rem;
}

.home-water-section .water-facts__head p {
    margin-top: 0.6rem;
    color: var(--home-muted);
    font-size: 0.73rem;
    line-height: 1.7;
}

.home-water-section .water-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1rem;
    margin-bottom: 1.25rem;
}

.home-water-section .water-fact,
.home-water-section .water-fact:first-child {
    min-width: 0;
    padding: 0;
}

.home-water-section .water-fact::before {
    display: none;
}

.home-water-section .water-fact__value {
    flex-wrap: wrap;
    gap: 0.3rem;
    color: var(--home-ink);
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
    line-height: 1.2;
    white-space: normal;
}

.home-water-section .water-fact__value small {
    color: var(--home-gold);
    font-size: 0.57rem;
}

.home-water-section .water-fact__label {
    margin-top: 0.3rem;
    color: var(--home-ink);
    font-size: 0.7rem;
}

.home-water-section .water-fact__note {
    color: var(--home-muted);
    font-size: 0.62rem;
}

.home-water-section .water-facts__link {
    display: inline-flex;
    color: var(--home-ink);
    border-top: 1px solid var(--home-line);
    font-size: 0.68rem;
    line-height: 1.6;
}

.home-water-section .water-facts__link:hover {
    color: var(--home-gold);
}

.home-water-section .home-water-grid {
    grid-column: 1 / -1;
    gap: 1.2rem;
}

.home-water-section .home-water-card {
    min-height: 215px;
    padding: 1.45rem;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.home-water-section .home-water-card:hover {
    transform: translateY(-3px);
    border-color: #bfa879;
    box-shadow: 0 10px 24px rgba(16, 45, 82, 0.05);
}

.home-water-section .home-water-card__icon {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.home-water-section .home-water-card__num {
    color: #e8e4db;
    font-size: 2rem;
}

.home-water-section .home-water-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
}

.home-water-section .home-water-card p {
    color: var(--home-muted);
    font-size: 0.8rem;
}

.home-water-section .home-water-card__link {
    font-size: 0.73rem;
}

.home-water-section a:focus-visible {
    outline: 3px solid #2f5faa;
    outline-offset: 4px;
}

/* Keep the impact section as a compact pause between sections. */
.home-impact-section {
    padding: clamp(2.8rem, 5vw, 4rem) 0;
}

.home-impact-section .home-impact-heading {
    margin-bottom: 2rem;
}

.home-impact-section .home-impact-stats {
    gap: 0;
}

.home-impact-section .home-impact-stats > div {
    padding: 0.3rem 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.home-impact-section .home-impact-stats > div:first-child {
    border: 0;
}

@media (max-width: 1000px) {
    .home-main-hero .container {
        gap: 1.8rem 2rem;
    }

    .home-main-hero .hero-title {
        font-size: clamp(2.6rem, 5.6vw, 3.8rem);
    }

    .home-main-hero .hero-lead {
        font-size: 0.88rem;
    }

    .home-main-hero .hero-cta .btn {
        font-size: 0.74rem;
        padding-inline: 0.85rem;
    }

    .home-hero-visual {
        border-top-left-radius: 95px;
    }
}

@media (max-width: 760px) {
    body:has(.home-main-hero) .floating-cta {
        width: 48px;
        height: 48px;
        min-width: 48px;
        padding: 0;
        bottom: 18px;
        right: 14px;
        justify-content: center;
        border-radius: 50%;
    }

    body:has(.home-main-hero) .floating-cta > span {
        display: none;
    }

    body:has(.home-main-hero) .floating-cta__icon {
        width: 22px;
        height: 22px;
    }

    body:has(.home-main-hero) .chatbot-toggle {
        width: 48px;
        height: 48px;
        bottom: 78px;
        right: 14px;
    }

    body:has(.home-main-hero) .chatbot-toggle-icon {
        width: 38px;
        height: 38px;
    }

    .home-main-hero.hero {
        padding: 2.1rem 0 1.3rem;
    }

    .home-main-hero .container,
    .home-water-section > .container {
        width: calc(100% - 32px);
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .home-main-hero .hero-eyebrow {
        max-width: none;
        margin-bottom: 1.1rem;
        font-size: 0.58rem;
        letter-spacing: 0.1em;
    }

    .home-main-hero .hero-title {
        max-width: 16ch;
        margin-bottom: 1rem;
        font-size: clamp(2.25rem, 9.9vw, 3.6rem);
        line-height: 1.08;
    }

    .home-main-hero .hero-address {
        margin-bottom: 0.85rem;
        font-size: 0.66rem;
    }

    .home-main-hero .hero-lead {
        max-width: 44ch;
        margin-bottom: 1.2rem;
        font-size: 0.85rem;
        line-height: 1.75;
    }

    .home-main-hero .hero-cta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 1.25rem;
        gap: 0.55rem;
    }

    .home-main-hero .hero-cta .btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
        font-size: 0.71rem;
        padding-inline: 0.65rem;
    }

    .home-main-hero .gr-hero-badge {
        padding: 0;
    }

    .home-hero-visual {
        max-height: 370px;
        aspect-ratio: 1.12;
        border-radius: 75px 9px 9px 9px;
    }

    .home-hero-visual img {
        object-position: center 68%;
    }

    .home-hero-visual figcaption {
        bottom: 1.15rem;
        left: 1.2rem;
        right: 1.2rem;
    }

    .home-hero-visual figcaption span {
        font-size: 0.54rem;
    }

    .home-hero-visual figcaption strong {
        font-size: 1.7rem;
    }

    .home-main-hero .hero-badges {
        grid-column: 1;
        padding-top: 1rem;
        gap: 0.8rem;
    }

    .home-main-hero .hero-badge,
    .home-main-hero .hero-badge:first-child {
        align-items: flex-start;
        flex-direction: column;
        padding: 0;
        gap: 0.55rem;
    }

    .home-main-hero .hero-badge:not(:first-child) {
        border: 0;
    }

    .home-main-hero .hero-badge svg {
        width: 21px;
        height: 21px;
    }

    .home-main-hero .hero-badge strong {
        font-size: 0.63rem;
        line-height: 1.4;
    }

    .home-main-hero .hero-badge span {
        margin-top: 0.25rem;
        font-size: 0.57rem;
        line-height: 1.45;
    }

    .home-water-section.section {
        padding: 3.2rem 0;
    }

    .home-water-section .home-section-heading h2 {
        font-size: clamp(1.95rem, 7.9vw, 2.5rem);
    }

    .home-water-section .home-section-heading p:not(.eyebrow) {
        margin-top: 0.8rem;
        font-size: 0.82rem;
    }

    .home-water-section .water-facts {
        padding: 1.15rem;
    }

    .home-water-section .water-facts__head p {
        font-size: 0.69rem;
    }

    .home-water-section .water-facts__grid {
        gap: 1rem;
    }

    .home-water-section .water-fact__value {
        font-size: 1.65rem;
    }

    .home-water-section .home-water-grid {
        grid-column: 1;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.8rem;
    }

    .home-water-section .home-water-card {
        min-height: 0;
        padding: 1.15rem;
    }

    .home-water-section .home-water-card__icon {
        margin-bottom: 0.6rem;
    }

    .home-impact-section .home-impact-stats > div {
        border-left: 0;
        padding: 1rem 0.5rem;
    }

    .home-impact-section .home-impact-stats > div:nth-child(even) {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }

    .home-impact-section .home-impact-stats > div:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 350px) {
    .home-main-hero .hero-cta {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-main-hero *,
    .home-water-section *,
    .home-impact-section * {
        transition: none !important;
    }

    .home-water-section .reveal,
    .home-impact-section .reveal {
        opacity: 1;
        transform: none;
    }
}
