/* ==========================================================================
   GOOD HYGIENE  |  style.css
   Structure:
   1. Design tokens   2. Base & utilities   3. Buttons   4. Header / nav
   5. Hero   6. Trust   7. Products   8. Business   9. Why   10. Sustainability
   11. Partner   12. About   13. Contact   14. Footer   15. Responsive
   ========================================================================== */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
    --navy: #12345A;
    --blue: #087CB8;
    --green: #3F8F45;
    --green-dark: #2F7A3A;
    --pale-green: #EDF5EA;
    --warm-white: #FAF9F5;
    --soft-grey: #F3F5F6;
    --text: #344054;
    --line: #DDE4E8;
    --white: #fff;

    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

    --radius: 6px;
    --shadow-sm: 0 1px 2px rgba(18, 52, 90, .06), 0 4px 14px rgba(18, 52, 90, .06);
    --shadow-md: 0 10px 30px rgba(18, 52, 90, .14);
    --max: 1200px;
}

/* 2. BASE & UTILITIES ---------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--warm-white);
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: var(--blue);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--navy);
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.15;
    margin: 0 0 .6em;
    letter-spacing: -.01em;
}

h1 {
    font-size: clamp(2.4rem, 5.2vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
    font-size: 1.25rem;
    line-height: 1.25;
}

p {
    margin: 0 0 1em;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
}

.center {
    text-align: center;
    margin-top: 3rem;
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-head {
    max-width: 680px;
    margin: 0 0 3rem;
}

.section-head p {
    font-size: 1.125rem;
    margin: 0;
}

.eyebrow {
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* SVG sprite holder: must stay in the layout (not display:none) so symbols render */
.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Shared line-icon style */
.icon {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: var(--green);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Keyboard focus */
a:focus-visible,
label:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible+.hamburger {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 200;
    background: var(--navy);
    color: #fff;
    padding: .75rem 1rem;
}

.skip-link:focus {
    left: 0;
}

/* 3. BUTTONS ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .8rem 1.6rem;
    font: 600 1rem/1.2 var(--font-sans);
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--radius);
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}

.btn-primary {
    background: var(--green);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-dark);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: #fff;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--navy);
}

.btn-light:hover {
    background: var(--pale-green);
    color: var(--navy);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

/* 4. ANNOUNCEMENT, HEADER & NAV ----------------------------------------- */
.announce {
    background: var(--navy);
    color: #fff;
    text-align: center;
    font-size: .9rem;
}

.announce p {
    margin: 0;
    padding: .55rem 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 39px;
    flex: none;
}

.brand-name {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .14em;
    color: var(--navy);
}

.brand:hover .brand-name {
    color: var(--blue);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav li a {
    display: block;
    padding: .4rem 0;
    color: var(--navy);
    font-weight: 500;
    font-size: .98rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.main-nav li a:hover {
    border-bottom-color: var(--green);
}

.btn-nav {
    min-height: 44px;
    padding: .6rem 1.2rem;
    white-space: nowrap;
}

/* CSS-only hamburger: hidden checkbox + label */
.nav-toggle {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.hamburger {
    display: none;
    width: 46px;
    height: 46px;
    padding: 12px 10px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--navy);
    transition: transform .25s, opacity .2s;
}

/* 5. HERO ---------------------------------------------------------------- */
.hero {
    background: linear-gradient(180deg, var(--pale-green) 0%, var(--warm-white) 100%);
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copy h1 {
    margin-bottom: .5em;
}

.lead {
    font-size: 1.2rem;
    max-width: 34em;
    margin-bottom: 2rem;
}

.hero-tagline {
    margin: 2rem 0 0;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--green-dark);
}

.hero-art {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-art svg {
    width: 100%;
    height: auto;
}

/* 6. TRUST --------------------------------------------------------------- */
.trust {
    background: #fff;
    border-block: 1px solid var(--line);
    padding: 2.75rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    align-items: start;
}

.trust-item .icon {
    grid-row: span 2;
    margin-top: .15rem;
}

.trust-item h2 {
    font: 600 1.05rem/1.3 var(--font-sans);
    letter-spacing: 0;
    margin: 0 0 .25rem;
}

.trust-item p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.5;
}

/* 7. PRODUCTS ------------------------------------------------------------ */
.collection {
    background: var(--warm-white);
}

/* Category filter: radios are visually hidden, labels act as chips */
.filters {
    border: 0;
    margin: 0 0 2.25rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.filters input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.filters label {
    cursor: pointer;
    padding: .5rem 1.1rem;
    font-size: .95rem;
    font-weight: 500;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: background-color .2s, color .2s, border-color .2s;
}

.filters label:hover {
    border-color: var(--navy);
}

.filters input:checked+label {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.filters input:focus-visible+label {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

/* Filtering (progressive enhancement: if :has() is unsupported, all products stay visible) */
.collection:has(#f-floor:checked) .product:not([data-cat="floor"]) {
    display: none;
}

.collection:has(#f-bath:checked) .product:not([data-cat="bath"]) {
    display: none;
}

.collection:has(#f-kitchen:checked) .product:not([data-cat="kitchen"]) {
    display: none;
}

.collection:has(#f-glass:checked) .product:not([data-cat="glass"]) {
    display: none;
}

.collection:has(#f-care:checked) .product:not([data-cat="care"]) {
    display: none;
}

.collection:has(#f-auto:checked) .product:not([data-cat="auto"]) {
    display: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 220px;
    padding: 0;
    overflow: hidden;
    background: var(--tint-bg, var(--pale-green));
}

.product-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s;
}

.product:hover .product-img img {
    transform: scale(1.04);
}

.product-img svg {
    height: 100%;
    width: auto;
    color: var(--tint, var(--green));
    transition: transform .35s;
}

.product:hover .product-img svg {
    transform: scale(1.04);
}

.product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.25rem 1.4rem;
}

.chip {
    align-self: flex-start;
    margin: 0 0 .6rem;
    padding: .15rem .6rem;
    font-size: .8rem;
    line-height: 1.5;
    font-weight: 600;
    color: var(--green-dark);
    background: var(--pale-green);
    border-radius: 999px;
}

.product-body h3 {
    margin-bottom: .3rem;
}

.product-head {
    font-weight: 600;
    color: var(--blue);
    font-size: .95rem;
    line-height: 1.4;
    margin-bottom: .6rem;
}

.product-body p {
    font-size: .95rem;
    line-height: 1.55;
}

.product-body ul {
    margin: 0 0 1.1rem;
    font-size: .92rem;
    line-height: 1.45;
}

.product-body li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: .3rem;
}

.product-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}

.text-link {
    margin-top: auto;
    font-weight: 600;
    font-size: .95rem;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 2px solid var(--green);
    align-self: flex-start;
    padding-bottom: 2px;
}

.text-link:hover {
    color: var(--green-dark);
}

.filter-note {
    margin: 2rem 0 0;
    font-size: .9rem;
    color: #5a6676;
}

/* Product tints (liquid colour + image backdrop) */
.t-green {
    --tint: #3F8F45;
    --tint-bg: #EDF5EA;
}

.t-blue {
    --tint: #087CB8;
    --tint-bg: #E8F3F9;
}

.t-sky {
    --tint: #4BA8D8;
    --tint-bg: #EAF4FA;
}

.t-teal {
    --tint: #1E9C8A;
    --tint-bg: #E6F4F1;
}

.t-lemon {
    --tint: #D9B820;
    --tint-bg: #FBF6DF;
}

.t-aqua {
    --tint: #2AA7C7;
    --tint-bg: #E5F4F8;
}

.t-pine {
    --tint: #2F7A3A;
    --tint-bg: #E7F0E5;
}

.t-sage {
    --tint: #7FA66F;
    --tint-bg: #EFF4EB;
}

.t-navy {
    --tint: #12345A;
    --tint-bg: #E8EDF3;
}

.t-clear {
    --tint: #8FB8CC;
    --tint-bg: #F1F6F9;
}

/* 8. BUSINESS SEGMENTS --------------------------------------------------- */
.business {
    background: var(--soft-grey);
}

.segment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 1.25rem;
}

.segment {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--green);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem 1.6rem;
    transition: box-shadow .25s, transform .25s;
}

.segment:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.segment .icon {
    margin-bottom: 1rem;
}

.segment h3 {
    font-size: 1.05rem;
    margin-bottom: .5rem;
}

.segment p {
    font-size: .94rem;
    line-height: 1.55;
    margin: 0;
}

/* 9. WHY CHOOSE ---------------------------------------------------------- */
.why {
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.why-art {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.why-art svg {
    width: 100%;
    height: auto;
}

.check-list {
    margin: 1.5rem 0 2rem;
}

.check-list li {
    position: relative;
    padding: .7rem 0 .7rem 2.1rem;
    border-bottom: 1px solid var(--line);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: .15rem;
    top: 1.1rem;
    width: 12px;
    height: 7px;
    border-left: 2.5px solid var(--green);
    border-bottom: 2.5px solid var(--green);
    transform: rotate(-45deg);
}

/* 10. SUSTAINABILITY ----------------------------------------------------- */
.sustain {
    background: var(--green-dark);
    color: #E9F3E6;
    padding: clamp(4rem, 8vw, 7rem) 0;
    overflow: hidden;
}

.sustain h2 {
    color: #fff;
}

.sustain-inner {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 3rem;
    align-items: center;
}

.sustain-copy>p {
    font-size: 1.15rem;
    max-width: 36em;
}

.leaf-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.leaf-list li {
    padding-left: 1.2rem;
    border-left: 3px solid #9BCB8E;
    font-size: .98rem;
    line-height: 1.55;
}

.leaf-list strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: .2rem;
}

.sustain-art svg {
    width: 100%;
    max-width: 380px;
    margin-inline: auto;
}

/* 11. PARTNER ------------------------------------------------------------ */
.partner {
    background: var(--warm-white);
}

.partner-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    background: var(--navy);
    color: #D5DFEA;
    border-radius: var(--radius);
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: var(--shadow-md);
}

.partner-copy h2 {
    color: #fff;
}

.partner-copy>p {
    font-size: 1.12rem;
}

.how-note {
    margin: 1.5rem 0 0;
    font-size: .92rem;
    line-height: 1.55;
    color: #B8C7D8;
}

.how-note a {
    color: #fff;
}

.partner-list {
    display: grid;
    gap: .75rem;
}

.partner-list li {
    padding: .85rem 1.1rem;
    background: rgba(255, 255, 255, .07);
    border-left: 3px solid var(--green);
    border-radius: 3px;
    color: #fff;
    font-weight: 500;
}

/* 12. ABOUT -------------------------------------------------------------- */
.about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.about-head h2 {
    margin: 0;
}

.about-copy p {
    font-size: 1.125rem;
    max-width: 36em;
}

/* 13. CONTACT ------------------------------------------------------------ */
.contact {
    background: var(--pale-green);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-card,
.contact-actions {
    background: #fff;
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-sm);
}

.contact-card {
    font-style: normal;
    border-top: 4px solid var(--blue);
}

.contact-card .person {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}

.contact-card .role {
    color: var(--green-dark);
    font-weight: 600;
    margin: .2rem 0 1.5rem;
}

.contact-card dl {
    margin: 0;
}

.contact-card dt {
    font-size: .85rem;
    font-weight: 600;
    color: #5a6676;
    margin-top: 1rem;
}

.contact-card dd {
    margin: .1rem 0 0;
    color: var(--navy);
    font-weight: 500;
}

.contact-card dd a {
    font-size: 1.15rem;
    font-weight: 600;
}

.contact-actions {
    border-top: 4px solid var(--green);
}

.contact-actions .btn-row {
    margin-top: 1.5rem;
}

/* 14. FOOTER ------------------------------------------------------------- */
.site-footer {
    background: var(--navy);
    color: #C3D0DE;
    font-size: .96rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    padding: 4rem 0 3rem;
}

.site-footer h2 {
    font: 600 .95rem/1.3 var(--font-sans);
    letter-spacing: .04em;
    color: #fff;
    margin-bottom: 1rem;
}

.site-footer a {
    color: #C3D0DE;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer li {
    margin-bottom: .55rem;
}

.site-footer address {
    font-style: normal;
    line-height: 1.8;
}

.site-footer a:focus-visible {
    outline-color: #fff;
}

.brand-light .brand-name {
    color: #fff;
}

.brand-light:hover .brand-name {
    color: #fff;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: #fff;
    margin: 1rem 0;
}

.footer-cta {
    display: inline-block;
    font-weight: 600;
    color: #fff !important;
    border-bottom: 2px solid var(--green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 1.25rem 0;
    font-size: .88rem;
}

.footer-bottom p {
    margin: 0;
}

/* 15. RESPONSIVE --------------------------------------------------------- */

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

/* Laptops / small desktops: collapse nav into hamburger */
@media (max-width: 1040px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        background: #fff;
        padding: 1rem 1.25rem 1.5rem;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li a {
        padding: .85rem 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.05rem;
    }

    .nav-toggle:checked~.main-nav {
        display: flex;
    }

    .nav-toggle:checked+.hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle:checked+.hamburger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked+.hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header-inner {
        position: relative;
    }

    .btn-nav {
        width: 100%;
    }
}

/* Tablets */
@media (max-width: 900px) {

    .hero-grid,
    .why-grid,
    .sustain-inner,
    .partner-panel,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sustain-art {
        display: none;
    }

    .hero-art {
        order: -1;
    }

    .section-head {
        margin-bottom: 2rem;
    }
}

/* Phones: two product columns */
@media (max-width: 720px) {
    body {
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

 

    .product-body {
        padding: 1rem 1rem 1.2rem;
    }

    .product-body h3 {
        font-size: 1.08rem;
    }

    .product-body p,
    .product-body ul {
        font-size: .88rem;
    }

    .segment-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .leaf-list {
        grid-template-columns: 1fr;
    }

    .btn-row .btn {
        flex: 1 1 100%;
    }

    .brand-name {
        font-size: 1rem;
        letter-spacing: .1em;
    }
}

/* Very narrow phones: single column */
@media (max-width: 480px) {

    .product-grid,
    .segment-grid,
    .trust-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

   

    .announce {
        font-size: .82rem;
    }
}