/* --------------------------------
   Typography
-------------------------------- */

.logo {
    display: flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;
    line-height: .95;
}

.logo-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: var(--color-accent);
    color: var(--color-text);

    font-size: 24px;
    font-weight: 900;
}

.logo-light {
    color: white;
}

.eyebrow {
    margin: 0 0 20px;

    color: var(--color-accent);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .15em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .95;
}

h1 {
    font-size: clamp(
        60px,
        8vw,
        115px
    );

    margin-bottom: 35px;
}

h2 {
    font-size: clamp(
        48px,
        6vw,
        86px
    );

    margin-bottom: 35px;
}

h1 span,
h2 em {
    display: block;

    font-style: normal;

    color: var(--color-accent);
}

h3 {
    font-size: 28px;
    font-weight: 500;

    letter-spacing: -.025em;
}

p {
    color: var(--color-muted);
}

.hero p {
    color: rgba(255,255,255,.72);
}


/* --------------------------------
   Buttons
-------------------------------- */

.button {
    display: inline-flex;

    align-items: center;
    gap: 35px;

    padding: 17px 22px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform .4s var(--ease),
        background .3s ease,
        color .3s ease;
}

.button span {
    font-size: 20px;

    transition:
        transform .4s var(--ease);
}

.button:hover {
    transform: translateY(-4px);
}

.button:hover span {
    transform: translateX(5px);
}

.button-primary {
    background: var(--color-accent);
    color: var(--color-dark);
}

.button-primary:hover {
    background: #4aaa82;
}

.button-dark {
    background: var(--color-dark);
    color: white;
}

.button-light {
    background: var(--color-bg-light);
    color: var(--color-text);
}


/* --------------------------------
   Placeholder
-------------------------------- */

.placeholder {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #15231d,
            #294236 50%,
            #0d1713
        );
}

.placeholder::before {
    content: "";

    position: absolute;

    width: 60%;
    height: 60%;

    left: 20%;
    top: 20%;

    border: 1px solid rgba(255,255,255,.4);

    transform: rotate(15deg);
}

.placeholder-label {
    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    z-index: 2;

    color: rgba(220,235,225,.55);

    text-align: center;

    text-transform: uppercase;

    letter-spacing: .15em;
}

.placeholder-label span {
    font-size: 18px;
    font-weight: 800;
}

.placeholder-label small {
    margin-top: 5px;

    font-size: 10px;
}


/* --------------------------------
   Feature Cards
-------------------------------- */

.feature-image {
    aspect-ratio: 1.15 / 1;
}

.feature-content {
    padding-top: 30px;
}

.card-label,
.news-date {
    color: var(--color-accent);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .12em;
}

.text-link {
    display: inline-flex;

    gap: 15px;

    color: var(--color-text);

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    margin-top: 15px;
}

.text-link span {
    transition: transform .3s var(--ease);
}

.text-link:hover span {
    transform: translateX(5px);
}


/* --------------------------------
   Bathroom
-------------------------------- */

.split-image {
    aspect-ratio: 1 / 1.15;
}

.split-content {
    max-width: 600px;
}

.split-content p {
    max-width: 540px;

    margin-bottom: 20px;
}


/* --------------------------------
   Brands
-------------------------------- */

.brands-section {
    background: var(--color-bg-light);
}

.brands-heading {
    text-align: center;

    margin-bottom: 70px;
}

.brand-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.brand-placeholder {
    min-height: 130px;

    display: grid;
    place-items: center;

    color: var(--color-muted);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .1em;

    border-right: 1px solid var(--color-border);
}

.brand-placeholder:last-child {
    border-right: 0;
}


/* --------------------------------
   Service
-------------------------------- */

.service-card {
    position: relative;

    min-height: 300px;

    padding: 35px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border-right: 1px solid var(--color-border);

    text-decoration: none;

    transition:
        background .4s var(--ease),
        color .4s var(--ease);
}

.service-card:last-child {
    border-right: 0;
}

.service-card:hover {
    background: var(--color-dark);
    color: white;
}

.service-card:hover p {
    color: #a8aea9;
}

.service-icon {
    color: var(--color-accent);

    font-size: 12px;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    max-width: 280px;
}

.service-arrow {
    align-self: flex-end;

    font-size: 30px;

    transition: transform .4s var(--ease);
}

.service-card:hover .service-arrow {
    transform: translate(5px, -5px);
}


/* --------------------------------
   News
-------------------------------- */

.news-card {
    background: var(--color-bg-light);
}

.news-image {
    aspect-ratio: 1.35 / 1;
}

.news-content {
    padding: 30px;
}

.news-content h3 {
    margin-top: 18px;

    font-size: 25px;

    line-height: 1.15;
}


/* --------------------------------
   CTA
-------------------------------- */

.cta {
    padding-block: 120px;

    background: var(--color-accent);
    background: rgba(42, 86, 38);
}

.cta .eyebrow {
    color: #000;
}

.cta-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 80px;
}


.cta-inner > div {
    max-width: 700px;
}


.cta h2 {
    margin-bottom: 25px;

    color: var(--color-dark);
}


.cta h2 em {
    color: white;
}


.cta p:not(.eyebrow) {
    max-width: 550px;

    color: rgba(20,25,22,.7);

    font-size: 17px;
}


/* --------------------------------
   Footer
-------------------------------- */

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.footer-column h4 {
    margin-bottom: 18px;

    color: var(--color-accent);

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.footer-column p {
    margin: 0;

    color: #999f9b;

    font-size: 14px;
}

.footer-column a {
    color: #999f9b;

    text-decoration: none;

    font-size: 14px;

    transition: color .3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-brand p {
    max-width: 300px;

    margin-top: 30px;

    color: #999f9b;
}

.footer-column a[href^="mailto:"] {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.footer-column a[href^="tel:"] {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.footer-social h3 {
    margin: 0 0 20px;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 10px;

    color: inherit;
    text-decoration: none;

    transition: opacity 0.2s ease;
}

.footer-social-link svg {
    width: 22px;
    height: 22px;

    fill: currentColor;

    flex-shrink: 0;
}

.footer-social-link:hover {
    opacity: 0.65;
}



.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 1px;

    background: currentColor;

    transition: transform .3s ease;
}

@media (max-width: 900px) {

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;

        inset: 0;

        background: var(--color-dark);

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 25px;

        transform: translateY(-100%);

        transition:
            transform .6s var(--ease);
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav a {
        font-size: 25px;
    }

    .nav-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .nav-dropdown-menu {
        position: static;
        min-width: 0;
        padding: 4px 0 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        text-align: center;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown-menu a {
        padding: 2px 12px;
        font-size: 17px;
        color: var(--color-accent);
    }

    .nav-dropdown-toggle::after {
        display: none;
    }

    .menu-toggle.active span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle.active span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    
}