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

.landing-page {
    --navy: #071f43;
    --navy-light: #12335d;
    --blue: #0868d7;
    --blue-light: #eaf5ff;
    --primary: #0868d7;
    --primary-dark: #045dbf;
    --text: #102744;
    --muted: #56677f;
    --border: #d9e4ef;
    --page: #ffffff;
    --soft: #f3f8fd;

    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--page);
}

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

html {
    scroll-behavior: smooth;
}

.landing-page .container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.landing-page a {
    color: inherit;
}

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

.landing-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 44px;
    padding: 11px 20px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.landing-page .btn:hover {
    transform: translateY(-1px);
}

.landing-page .btn-blue {
    background: var(--blue);
    color: #ffffff;

    box-shadow:
        0 6px 16px rgba(8, 104, 215, 0.18);
}

.landing-page .btn-blue:hover {
    background: #045dbf;
}

.landing-page .btn-orange {
    background: var(--primary);
    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(8, 104, 215, 0.22);
}

.landing-page .btn-orange:hover {
    background: var(--primary-dark);
}

.landing-page .btn-outline {
    color: var(--navy);
    background: #ffffff;
    border-color: var(--navy);
}

.landing-page .btn-large {
    min-height: 54px;
    padding: 14px 26px;
    font-size: 17px;
}


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

.landing-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
}


.nav {
    position: relative;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}


.brand__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}


.brand__text {
    display: flex;
    flex-direction: column;
}


.brand__name {
    color: var(--navy);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}


.brand__name span {
    color: var(--blue);
}


.brand__tagline {
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    white-space: nowrap;
}

.nav-links a {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}


.nav-links a:hover {
    color: var(--blue);
}


.nav-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}


.nav-actions .btn {
    padding-inline: 16px;
    font-size: 13px;
}

.mobile-menu-only {
    display: none;
}

.mobile-nav-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    border: 0;
    border-radius: 6px;

    background: transparent;
    color: var(--navy);

    cursor: pointer;
}

.mobile-nav-toggle:hover {
    background: var(--blue-light);
}

.mobile-nav-toggle:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

.mobile-nav-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    border-radius: 2px;
    background: currentColor;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

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

.hero {
    overflow: hidden;
    background: #ffffff;
}


.hero-grid {
    min-height: 480px;
    display: grid;
    grid-template-columns: 46% 54%;
    align-items: stretch;
}


.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 55px 55px 55px 15px;

    background:
        linear-gradient(
            90deg,
            #f5faff 0%,
            #ffffff 100%
        );
}


.eyebrow {
    margin-bottom: 13px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
}


.hero h1 {
    margin-bottom: 14px;
    color: var(--navy);

    font-size: clamp(
        46px,
        4.5vw,
        64px
    );

    line-height: 0.98;
    letter-spacing: -0.04em;
}


.hero h1 span {
    display: block;
    color: var(--blue);
}


.hero-description {
    max-width: 430px;
    margin-bottom: 22px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.4;
}


.small-note {
    margin: 10px 0 0;
    color: #4c5f75;
    font-size: 13px;
}


.hero-image {
    position: relative;
    min-height: 480px;

    background:
        linear-gradient(
            to right,
            #ffffff 0%,
            rgba(255, 255, 255, 0.85) 8%,
            rgba(255, 255, 255, 0.45) 18%,
            rgba(255, 255, 255, 0.10) 28%,
            rgba(255, 255, 255, 0) 38%
        ),
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 68%,
            rgba(255, 255, 255, 0.18) 82%,
            rgba(255, 255, 255, 0.70) 93%,
            #ffffff 100%
        ),
        url("../images/plumbing-hero.0bc21ab78a5f.png")
        62% center / cover no-repeat;
}

.problem-badge {
    position: absolute;

    left: 28px;
    bottom: 55px;

    display: grid;
    gap: 6px;

    padding: 16px 22px;

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

    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;

    transform: rotate(-4deg);

    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.22);
}

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

.section {
    padding: 50px 0;
}

#how-it-works,
#property-managers {
    scroll-margin-top: 75px;
}

.section-heading {
    margin-bottom: 30px;
    text-align: center;
}


.left-heading {
    text-align: left;
}


.section-heading h2 {
    margin-bottom: 6px;
    color: var(--navy);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.1;
}


.section-heading h2 span {
    color: var(--blue);
}


.section-heading p {
    margin: 0;
    color: var(--text);
    font-size: 16px;
}



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

.how-section {
    position: relative;
    margin-top: -1px;
    padding: 16px 0 4px;
    background: #ffffff;
}

.how-section .section-heading {
    margin-bottom: 16px;
}

.how-section .section-heading h2 {
    margin-bottom: 4px;
}

.how-section .section-heading p {
    font-size: 14px;
}

.steps-row {
    display: grid;
    grid-template-columns:
        1fr 1fr 1fr minmax(220px, 0.9fr);
    gap: 18px;
    align-items: start;
}

.step {
    position: relative;
    min-height: 115px;
    padding-left: 48px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;

    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: #e9f4ff;
    color: var(--blue);

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

.step-icon {
    margin-bottom: 5px;
    color: var(--navy);
    line-height: 1;
}

.step-icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

.step h3 {
    margin-bottom: 4px;
    color: var(--navy);
    font-size: 15px;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.steps-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 105px;
    gap: 7px;
}

.steps-cta .btn {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 13px;
}

.steps-cta small {
    color: var(--muted);
    font-size: 11px;
}


/* =====================================
   PROBLEMS
===================================== */

.problems-section {
    padding: 6px 0 16px;
    background: #edf8ff;
}


.problems-section .section-heading {
    margin-bottom: 12px;
}

.problems-section .section-heading h2 {
    margin-bottom: 3px;
}

.problems-section .section-heading p {
    font-size: 13px;
}

.problem-row {
    display: grid;
    grid-template-columns:
        repeat(6, minmax(90px, 1fr))
        minmax(220px, 1.4fr);

    gap: 10px;
    align-items: center;
}

.problem-card {
    min-height: 84px;

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

    gap: 5px;
    padding: 8px;

    border: 1px solid #e3edf7;
    border-radius: 8px;
    background: #ffffff;

    color: var(--navy);
    text-align: center;
}

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

    color: var(--navy);
    line-height: 1;
}

.problem-icon svg {
    width: 30px;
    height: 30px;
    display: block;
}

.problem-card strong {
    font-size: 11px;
    line-height: 1.2;
}

.problems-cta {
    justify-self: center;
}

.problems-cta.btn {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 13px;
}

/* =====================================
   PROPERTY MANAGERS
===================================== */

.property-section {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 320px;
}

.property-image {
    min-height: 320px;

    background:
        url("../images/property-managers.1b092fcc7a6b.png")
        center / cover no-repeat;
}

.property-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 38px 55px;

    background: #fff8ea;
}

.property-copy h2 {
    max-width: 620px;
    margin-bottom: 12px;

    color: var(--navy);

    font-size: clamp(
        28px,
        3vw,
        38px
    );

    line-height: 1.05;
}

.property-copy p {
    max-width: 650px;
    margin-bottom: 12px;

    color: var(--text);

    font-size: 14px;
    line-height: 1.45;
}

.property-copy .btn {
    margin-top: 4px;
}

/* =====================================
   BENEFITS
===================================== */

.benefits-section {
    padding: 20px 0 24px;
    background: #ffffff;
}


.benefits-heading {
    margin-bottom: 20px;
}


.benefits-heading h2 {
    margin-bottom: 4px;
    font-size: 28px;
}


.benefits-heading p {
    font-size: 13px;
}


.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}


.benefit {
    text-align: center;
}


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

    margin-bottom: 8px;

    color: var(--navy);
}


.benefit-icon svg {
    width: 38px;
    height: 38px;
    display: block;
}


.benefit h3 {
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 16px;
    line-height: 1.2;
}

.benefit p {
    max-width: 240px;
    margin: 0 auto;
    color: var(--text);
    font-size: 13px;
    line-height: 1.4;
}

/* =====================================
   BARBADOS
===================================== */

.barbados-section {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            to right,
            #dff3ff 0%,
            rgba(223, 243, 255, 0.98) 27%,
            rgba(223, 243, 255, 0.82) 38%,
            rgba(223, 243, 255, 0.30) 52%,
            rgba(223, 243, 255, 0) 65%
        ),
        url("../images/barbados-coastline.1d55d96b4d60.png")
        center right / cover no-repeat;
}


.barbados-content {
    min-height: 245px;

    display: flex;
    align-items: center;
}


.barbados-copy {
    max-width: 500px;
    padding: 30px 0;
}


.barbados-copy h2 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 32px;
    line-height: 1.1;
}

.barbados-copy p {
    max-width: 500px;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.45;
}

.barbados-copy .btn {
    margin-top: 8px;
    min-height: 50px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 700;
}

/* =====================================
   FAQ
===================================== */

.faq-section {
    padding: 24px 0 28px;
    background: #ffffff;
}

.faq-section .section-heading {
    margin-bottom: 18px;
}

.faq-section .section-heading h2 {
    margin-bottom: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}


.faq-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
}


.faq-card h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.25;
}


.faq-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}



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

.landing-footer {
    padding: 18px 0;
    background: var(--navy);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        auto
        1fr
        auto;

    align-items: center;
    gap: 28px;
}


.footer-brand {
    display: flex;
    align-items: center;
}


.brand-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-footer .brand__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-footer .brand__name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
}


.brand-footer .brand__name span {
    color: #4da3ff;
}

.brand-footer .brand__tagline {
    margin-top: 3px;
    color: #dbe7f5;
    font-size: 10px;
}

.footer-links a {
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a:hover {
    text-decoration: underline;
}


.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}


.copyright,
.built {
    margin: 0;
    color: #d4deeb;
    font-size: 11px;
}

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-meta {
        align-items: center;
    }
}


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

@media (max-width: 1000px) {

    .landing-page .mobile-nav-toggle {
        display: block;
        flex-shrink: 0;
    }

    .landing-page .nav-actions {
        display: none;
    }

    .landing-page .mobile-menu-only {
        display: block;
    }

    .landing-page .mobile-menu-cta {
        margin-top: 10px;
        padding: 12px 14px;

        border: 0;
        border-radius: 8px;

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

        text-align: center;
    }

    .landing-page .nav-links {
        display: none;

        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;

        z-index: 110;

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

        gap: 0;

        padding: 10px 20px 16px;

        border: 1px solid var(--border);
        border-top: 0;
        border-radius: 0 0 10px 10px;

        background: #ffffff;

        box-shadow:
            0 12px 24px rgba(7, 31, 67, 0.12);

        white-space: normal;
    }

    .landing-page .nav-links.is-open {
        display: flex;
    }

    .landing-page .nav-links a {
        display: block;

        width: 100%;
        padding: 12px 4px;

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

    .landing-page .nav-links a:last-child {
        border-bottom: 0;
    }

    .landing-page .mobile-nav-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .landing-page .mobile-nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .landing-page .mobile-nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

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

    .hero-copy {
        padding: 55px 0;
    }

    .hero-image {
        min-height: 330px;
    }

    .steps-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-cta {
        grid-column: 1 / -1;
    }

    .problem-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .problems-cta {
        grid-column: 1 / -1;
    }

    .property-section {
        grid-template-columns: 1fr;
    }

    .property-image {
        min-height: 360px;
    }

    .benefit-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .barbados-content {
        grid-template-columns: 1fr;
        padding-top: 45px;
    }
}


@media (max-width: 650px) {

    .landing-page .container {
        width: min(100% - 28px, 1160px);
    }

    .landing-page .nav {
        min-height: 66px;
        gap: 12px;
    }

    .landing-page .brand__logo {
        width: 38px;
        height: 38px;
    }

    .landing-page .brand__tagline {
        display: none;
    }

    .landing-page .brand__name {
        font-size: 19px;
    }

    .landing-page .hero-grid {
        width: 100%;
        max-width: none;
    }

    .landing-page .hero-copy {
        padding: 46px 20px 38px;
    }

    .landing-page .hero-image {
        min-height: 330px;
    }

    .landing-page .hero h1 {
        font-size: 42px;
        line-height: 1;
    }

    .landing-page .hero-description {
        font-size: 17px;
    }

    .landing-page .steps-row,
    .landing-page .problem-row,
    .landing-page .benefit-grid,
    .landing-page .faq-grid {
        grid-template-columns: 1fr;
    }

    .landing-page .step {
        min-height: auto;
    }

    .landing-page .property-copy {
        padding: 45px 25px;
    }

    .landing-page .barbados-section {
        background:
            linear-gradient(
                rgba(223, 243, 255, 0.92),
                rgba(223, 243, 255, 0.92)
            ),
            url("../images/barbados-coastline.1d55d96b4d60.png")
            center / cover no-repeat;
    }

    .landing-page .barbados-content {
        min-height: auto;
        padding-top: 0;
    }

    .landing-page .barbados-copy {
        max-width: none;
        padding: 38px 0;
    }

    .landing-page .barbados-copy p {
        max-width: none;
    }

    .landing-page .footer-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }

    .landing-page .footer-brand {
        display: flex;
        justify-content: center;
    }

    .landing-page .footer-links {
        margin: 15px 0;
    }
}

@media (max-width: 390px) {
    .landing-page .hero h1 {
        font-size: 38px;
    }
}