/*
Theme Name: SmellKillers Landing Page
Theme URI: https://smellkillers.com
Author: SmellKillers
Version: 2.0
*/


/* ==========================================================
   VARIABLES
   ========================================================== */

:root {
    --green: #0a7d38;
    --green-dark: #075f2b;
    --green-light: #eaf7ed;

    --dark: #151515;
    --text: #56615b;
    --muted: #7a837d;

    --line: #dfe8df;
    --soft: #f7fbf8;
    --white: #ffffff;

    --radius: 22px;
}


/* ==========================================================
   RESET / GLOBAL
   ========================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--dark);
    background: #ffffff;

    -webkit-font-smoothing: antialiased;
}

img {
    display: block;

    max-width: 100%;
    height: auto;
}

a {
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.wrap {
    width: min(1320px, 92%);
    margin: 0 auto;
}


/* ==========================================================
   HEADER
   ========================================================== */

header,
.site-header {
    position: relative;
    z-index: 100;

    width: 100%;

    background: #ffffff;

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

header .wrap,
.site-header .wrap,
.header-inner {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 36px;
}


/* Site logo / brand */

.site-brand,
.logo,
.custom-logo-link {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    color: var(--green);

    font-size: 26px;
    line-height: 1;
    font-weight: 800;

    text-decoration: none;
}

.site-brand img,
.logo img,
.custom-logo-link img {
    width: 200px;
    max-width: 200px;
    height: auto;

    object-fit: contain;
}


/* Navigation */

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

    gap: 30px;

    margin-left: auto;
}

.navlinks > a {
    color: var(--dark);

    font-size: 16px;
    line-height: 1;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;
}

.navlinks > a:hover {
    color: var(--green);
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 999px;

    font-size: 16px;
    line-height: 1;
    font-weight: 700;

    text-decoration: none !important;

    white-space: nowrap;
}

.btn.green {
    color: #ffffff !important;
    background: var(--green);

    border: 2px solid var(--green);
}

.btn.green:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);

    transform: translateY(-1px);
}

.btn.outline {
    color: var(--green) !important;
    background: #ffffff;

    border: 2px solid var(--green);

    opacity: 1;
    visibility: visible;
}

.btn.outline:link,
.btn.outline:visited {
    color: var(--green) !important;
}

.btn.outline:hover {
    color: #ffffff !important;
    background: var(--green);
}

.btn.dark {
    color: #ffffff !important;
    background: #111713;

    border: 2px solid #111713;
}

.btn.dark:hover {
    background: #000000;
    border-color: #000000;

    transform: translateY(-1px);
}


/* ==========================================================
   HOMEPAGE HERO
   ========================================================== */

.hero {
    position: relative;

    padding: 72px 0 82px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 77% 44%,
            rgba(211, 255, 219, .68),
            rgba(255,255,255,0) 52%
        );
}

.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(400px, .9fr);

    gap: 68px;

    align-items: center;
}


/* Hero text */

.hero-grid > div:first-child,
.hero-copy {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;

    margin: 0 0 28px;

    padding: 10px 18px;

    color: var(--green);
    background: var(--green-light);

    border-radius: 999px;

    font-size: 14px;
    line-height: 1;
    font-weight: 800;

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

.hero h1 {
    max-width: 760px;

    margin: 0 0 28px;

    color: var(--dark);

    font-size: clamp(48px, 4.8vw, 66px);
    line-height: 1;
    letter-spacing: -0.045em;

    font-weight: 800;
}

.hero h1 span {
    color: var(--green);
}

.lead {
    max-width: 720px;

    margin: 0 0 28px;

    color: var(--text);

    font-size: 20px;
    line-height: 1.55;
}


/* Hero action row */

.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin: 0 0 30px;
}


/* Trust bullets */

.trust {
    display: grid;

    gap: 8px;

    margin: 0;

    color: var(--dark);

    font-size: 17px;
    line-height: 1.35;
}

.trust div {
    margin: 0;
}


/* ==========================================================
   HERO IMAGE
   ========================================================== */

.hero-card {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 455px;

    padding: 32px;

    background:
        radial-gradient(
            circle at center,
            #ffffff 0%,
            #f2fbf4 58%,
            rgba(255,255,255,0) 80%
        );

    border: 1px solid #e1ece4;
    border-radius: 30px;

    overflow: hidden;
}

.hero-card img {
    width: 100%;
    max-width: 490px;

    height: auto;
    max-height: 410px;

    object-fit: contain;
}


/* ==========================================================
   GENERAL CONTENT SECTIONS
   ========================================================== */

main > section:not(.hero):not(.sk-blog-hero):not(.sk-blog-listing) {
    padding: 80px 0;
}

.section-head {
    max-width: 850px;

    margin: 0 0 42px;
}

.section-head h2 {
    margin: 0 0 16px;

    color: var(--dark);

    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-head p {
    max-width: 800px;

    margin: 0;

    color: var(--text);

    font-size: 18px;
    line-height: 1.6;
}


/* ==========================================================
   SERVICES
   ========================================================== */

#services {
    background: #ffffff;
}

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.card {
    min-width: 0;

    padding: 32px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow:
        0 10px 35px rgba(15, 55, 30, .055);
}

.card .icon {
    width: 54px;
    height: 54px;

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

    margin: 0 0 22px;

    background: var(--green-light);

    border-radius: 14px;

    font-size: 25px;
}

.card h3 {
    margin: 0 0 14px;

    color: var(--dark);

    font-size: 23px;
    line-height: 1.2;
}

.card p {
    margin: 0;

    color: var(--text);

    font-size: 16px;
    line-height: 1.6;
}


/* ==========================================================
   HOW IT WORKS
   ========================================================== */

.how {
    background: var(--soft);
}

.steps {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.step {
    min-width: 0;

    padding: 32px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.num {
    width: 46px;
    height: 46px;

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

    margin: 0 0 22px;

    color: #ffffff;
    background: var(--green);

    border-radius: 50%;

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

.step h3 {
    margin: 0 0 14px;

    color: var(--dark);

    font-size: 22px;
    line-height: 1.2;
}

.step p {
    margin: 0;

    color: var(--text);

    font-size: 16px;
    line-height: 1.6;
}


/* ==========================================================
   HOMEPAGE CTA
   ========================================================== */

.cta-section {
    background: #ffffff;
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 44px 48px;

    color: #ffffff;
    background: var(--green);

    border-radius: 26px;
}

.cta h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.cta p {
    margin: 0;

    color: rgba(255,255,255,.88);

    font-size: 17px;
    line-height: 1.5;
}

.cta .actions {
    flex: 0 0 auto;

    margin: 0;
}


/* ==========================================================
   BLOG PAGE
   ========================================================== */

.sk-blog {
    background: #f7faf8;
}

.sk-blog-wrap {
    width: min(1320px, 92%);

    margin: 0 auto;
}


/* Blog hero */

.sk-blog-hero {
    padding: 68px 0 48px;

    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(216,255,223,.65),
            rgba(255,255,255,0) 53%
        );
}

.sk-blog-eyebrow {
    display: inline-flex;

    margin: 0 0 22px;
    padding: 10px 18px;

    color: var(--green);
    background: var(--green-light);

    border-radius: 999px;

    font-size: 13px;
    line-height: 1;
    font-weight: 800;

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

.sk-blog-hero h1 {
    max-width: 900px;

    margin: 0 0 18px;

    color: var(--dark);

    font-size: 52px;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.sk-blog-hero p {
    max-width: 900px;

    margin: 0;

    color: var(--text);

    font-size: 19px;
    line-height: 1.55;
}


/* ==========================================================
   BLOG GRID
   ========================================================== */

.sk-blog-listing {
    padding: 20px 0 90px;
}

.sk-blog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;

    align-items: stretch;
}


/* ==========================================================
   BLOG CARD
   ========================================================== */

.sk-blog-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    margin: 0;
    padding: 14px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 10px 35px rgba(15,55,30,.065);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.sk-blog-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 45px rgba(15,55,30,.10);
}


/* Blog image */

.sk-blog-image {
    display: block;

    width: 100%;

    overflow: hidden;

    background: #edf4ef;

    border-radius: 17px;

    text-decoration: none;
}

.sk-blog-image img {
    display: block;

    width: 100%;
    height: 245px;

    object-fit: cover;
    object-position: center;

    transition: transform .3s ease;
}

.sk-blog-card:hover .sk-blog-image img {
    transform: scale(1.025);
}


/* Blog card content */

.sk-blog-card-body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 22px 10px 10px;
}

.sk-blog-date {
    margin: 0 0 12px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;

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

.sk-blog-title {
    margin: 0 0 16px !important;

    color: var(--dark);

    font-size: 24px !important;
    line-height: 1.17 !important;
    letter-spacing: -0.025em !important;
}

.sk-blog-title a {
    color: var(--dark) !important;

    text-decoration: none !important;
}

.sk-blog-title a:hover {
    color: var(--green) !important;
}

.sk-blog-excerpt {
    margin: 0 0 24px;

    color: var(--text);

    font-size: 16px;
    line-height: 1.58;
}

.sk-blog-excerpt p {
    margin: 0;
}


/* Read article */

.sk-blog-read {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 44px;

    margin-top: auto;
    padding: 0 19px;

    color: #ffffff !important;
    background: var(--green);

    border-radius: 999px;

    font-size: 14px;
    line-height: 1;
    font-weight: 700;

    text-decoration: none !important;
}

.sk-blog-read:hover {
    color: #ffffff !important;
    background: var(--green-dark);
}

.sk-blog-read span {
    font-size: 17px;
}


/* ==========================================================
   BLOG PAGINATION
   ========================================================== */

.sk-blog-pagination {
    margin: 50px 0 0;
}

.sk-blog-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;
}

.sk-blog-pagination .page-numbers {
    min-width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 14px;

    color: var(--dark);
    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 999px;

    font-weight: 600;

    text-decoration: none;
}

.sk-blog-pagination .page-numbers.current,
.sk-blog-pagination .page-numbers:hover {
    color: #ffffff;
    background: var(--green);

    border-color: var(--green);
}


/* ==========================================================
   SINGLE BLOG ARTICLE
   ========================================================== */

.single-post main,
.single-post .site-main {
    width: min(1100px, 92%);

    margin: 0 auto;
    padding: 60px 0 90px;
}

.single-post article {
    max-width: 900px;

    margin: 0 auto;
}

.single-post .entry-title,
.single-post article > h1 {
    margin: 0 0 22px;

    color: var(--dark);

    font-size: 40px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
}

.single-post .post-thumbnail img,
.single-post article > img {
    width: 100%;
    height: auto;

    margin: 25px 0 35px;

    border-radius: 22px;
}

.single-post .entry-content {
    color: var(--dark);
}

.single-post .entry-content p,
.single-post .entry-content li {
    font-size: 18px;
    line-height: 1.7;
}

.single-post .entry-content h2 {
    margin: 42px 0 16px;

    font-size: 30px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
}

.single-post .entry-content h3 {
    margin: 34px 0 14px;

    font-size: 24px !important;
    line-height: 1.25 !important;
}

.single-post .entry-content h4 {
    font-size: 20px !important;
    line-height: 1.3 !important;
}

.single-post .entry-content a {
    color: var(--green);
}


/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer,
footer {
    padding: 48px 0;

    color: #ffffff;
    background: #111713;
}

.foot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 50px;
}

.foot > div:first-child {
    max-width: 700px;
}

.foot strong {
    display: inline-block;

    margin: 0 0 10px;

    color: #ffffff;

    font-size: 19px;
    line-height: 1.3;
}

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

    font-size: 15px;
    line-height: 1.6;
}

.foot a {
    color: #ffffff;

    text-decoration: none;
}

.foot a:hover {
    text-decoration: underline;
}


/* ==========================================================
   REMOVE OLD FLOATING WHATSAPP
   ========================================================== */

a.float,
.float {
    display: none !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1050px) {

    .wrap,
    .sk-blog-wrap {
        width: min(94%, 1180px);
    }

    .navlinks {
        gap: 18px;
    }

    .hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(350px, 420px);

        gap: 40px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero-card {
        min-height: 390px;

        padding: 22px;
    }

    .cards,
    .steps {
        gap: 18px;
    }

    .sk-blog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 780px) {

    header .wrap,
    .site-header .wrap,
    .header-inner {
        min-height: 72px;

        padding: 10px 0;

        gap: 16px;
    }

    .site-brand img,
    .logo img,
    .custom-logo-link img {
        width: 155px;
        max-width: 155px;
    }

    .navlinks {
        gap: 12px;
    }

    .navlinks > a {
        font-size: 14px;
    }


    /* Hero */

    .hero {
        padding: 48px 0 58px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .lead {
        font-size: 18px;
    }

    .hero-card {
        min-height: 320px;

        padding: 20px;
    }

    .hero-card img {
        max-width: 420px;
        max-height: 350px;
    }


    /* Sections */

    main > section:not(.hero):not(.sk-blog-hero):not(.sk-blog-listing) {
        padding: 58px 0;
    }

    .section-head {
        margin-bottom: 30px;
    }

    .section-head h2 {
        font-size: 32px;
    }

    .cards,
    .steps {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .cta {
        flex-direction: column;
        align-items: flex-start;

        padding: 32px;
    }

    .cta h2 {
        font-size: 29px;
    }


    /* Blog */

    .sk-blog-hero {
        padding: 48px 0 38px;
    }

    .sk-blog-hero h1 {
        font-size: 40px;
    }

    .sk-blog-hero p {
        font-size: 17px;
    }

    .sk-blog-grid {
        grid-template-columns: 1fr;
    }

    .sk-blog-image img {
        height: 230px;
    }


    /* Single blog */

    .single-post .entry-title,
    .single-post article > h1 {
        font-size: 32px !important;
    }

    .single-post .entry-content h2 {
        font-size: 26px !important;
    }

    .single-post .entry-content h3 {
        font-size: 22px !important;
    }


    /* Footer */

    .foot {
        flex-direction: column;

        gap: 26px;
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 560px) {

    header .wrap,
    .site-header .wrap,
    .header-inner {
        flex-wrap: wrap;
    }

    .navlinks {
        width: 100%;

        justify-content: space-between;

        gap: 8px;
    }

    .navlinks > a {
        font-size: 13px;
    }

    .navlinks .btn {
        min-height: 42px;

        padding: 0 15px;

        font-size: 13px;
    }


    /* Hero */

    .hero {
        padding: 40px 0 50px;
    }

    .eyebrow {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 37px;

        line-height: 1.04;
    }

    .actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;
    }

    .actions .btn {
        width: 100%;
    }


    /* Service cards */

    .card,
    .step {
        padding: 25px;
    }


    /* Blog */

    .sk-blog-hero h1 {
        font-size: 35px;
    }

    .sk-blog-listing {
        padding-bottom: 60px;
    }

    .sk-blog-card {
        padding: 12px;

        border-radius: 19px;
    }

    .sk-blog-image {
        border-radius: 14px;
    }

    .sk-blog-image img {
        height: 215px;
    }

    .sk-blog-card-body {
        padding: 20px 7px 8px;
    }

    .sk-blog-title {
        font-size: 22px !important;
    }


    /* CTA */

    .cta {
        padding: 27px 23px;
    }
}

/* Remove the homepage logo card frame and background. */
.hero-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
