/* ============================================================
   TRANQUILITY HAVEN HOME CARE
   Main Website Styles
============================================================ */


/* ============================================================
   1. DESIGN TOKENS
============================================================ */

:root {
    --color-green-950: #102c25;
    --color-green-900: #173b31;
    --color-green-800: #205044;
    --color-green-700: #2b6657;
    --color-green-100: #e8f0ec;

    --color-cream: #f8f4eb;
    --color-cream-dark: #efe8db;
    --color-white: #ffffff;

    --color-gold: #b79257;
    --color-gold-light: #d8c29b;

    --color-text: #26332f;
    --color-text-soft: #64706c;
    --color-border: rgba(23, 59, 49, 0.14);

    --shadow-small:
        0 12px 30px rgba(16, 44, 37, 0.08);

    --shadow-medium:
        0 22px 60px rgba(16, 44, 37, 0.12);

    --radius-small: 14px;
    --radius-medium: 24px;
    --radius-large: 36px;

    --container-width: 1180px;

    --font-heading:
        "Playfair Display",
        Georgia,
        serif;

    --font-body:
        "DM Sans",
        Arial,
        sans-serif;
}


/* ============================================================
   2. RESET / GLOBAL
============================================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;

    font-family: var(--font-body);

    color: var(--color-text);

    background:
        var(--color-cream);

    line-height: 1.65;

    -webkit-font-smoothing:
        antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color:
        transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
}

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

::selection {
    background:
        var(--color-green-800);

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


/* ============================================================
   3. ACCESSIBILITY
============================================================ */

.skip-link {
    position: fixed;

    top: 14px;
    left: 14px;

    padding:
        10px 16px;

    background:
        var(--color-white);

    color:
        var(--color-green-950);

    z-index: 9999;

    transform:
        translateY(-150%);

    transition:
        transform 0.2s ease;
}

.skip-link:focus {
    transform:
        translateY(0);
}


/* ============================================================
   4. LAYOUT
============================================================ */

.container {
    width:
        min(
            calc(100% - 40px),
            var(--container-width)
        );

    margin-inline:
        auto;
}

.section {
    padding:
        110px 0;
}


/* ============================================================
   5. TYPOGRAPHY
============================================================ */

.eyebrow {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    margin-bottom:
        20px;

    color:
        var(--color-green-700);

    font-size:
        0.78rem;

    font-weight:
        700;

    letter-spacing:
        0.16em;

    text-transform:
        uppercase;
}

.eyebrow::before {
    content:
        "";

    width:
        34px;

    height:
        1px;

    background:
        var(--color-gold);
}

.eyebrow-light {
    color:
        var(--color-gold-light);
}

h1,
h2,
h3 {
    font-family:
        var(--font-heading);

    color:
        var(--color-green-950);

    line-height:
        1.08;

    font-weight:
        600;
}

h1 {
    max-width:
        760px;

    margin-bottom:
        28px;

    font-size:
        clamp(
            3.5rem,
            7vw,
            6.7rem
        );

    letter-spacing:
        -0.045em;
}

h1 span {
    color:
        var(--color-green-700);

    font-style:
        italic;
}

h2 {
    font-size:
        clamp(
            2.4rem,
            4.8vw,
            4.6rem
        );

    letter-spacing:
        -0.035em;
}

h3 {
    font-size:
        1.55rem;
}

.section-heading {
    max-width:
        760px;

    margin-bottom:
        58px;
}

.section-heading.centered {
    margin-inline:
        auto;

    text-align:
        center;
}

.section-heading.centered .eyebrow {
    justify-content:
        center;
}

.section-heading p {
    max-width:
        630px;

    margin:
        22px auto 0;

    color:
        var(--color-text-soft);

    font-size:
        1.08rem;
}


/* ============================================================
   6. BUTTONS
============================================================ */

.button {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    min-height:
        54px;

    padding:
        0 25px;

    border:
        1px solid transparent;

    border-radius:
        999px;

    font-size:
        0.92rem;

    font-weight:
        700;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

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

.button-primary {
    background:
        var(--color-green-900);

    color:
        var(--color-white);

    box-shadow:
        0 12px 24px
        rgba(23, 59, 49, 0.16);
}

.button-primary:hover {
    background:
        var(--color-green-700);

    box-shadow:
        0 16px 30px
        rgba(23, 59, 49, 0.2);
}

.button-secondary {
    border-color:
        var(--color-green-900);

    color:
        var(--color-green-900);

    background:
        transparent;
}

.button-secondary:hover {
    background:
        var(--color-green-900);

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

.text-link {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    margin-top:
        10px;

    color:
        var(--color-green-800);

    font-weight:
        700;
}

.text-link span {
    transition:
        transform 0.2s ease;
}

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


/* ============================================================
   7. HEADER
============================================================ */

.site-header {
    position:
        fixed;

    top:
        0;

    left:
        0;

    width:
        100%;

    z-index:
        1000;

    background:
        rgba(248, 244, 235, 0.84);

    border-bottom:
        1px solid transparent;

    backdrop-filter:
        blur(16px);

    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.site-header.scrolled {
    background:
        rgba(248, 244, 235, 0.95);

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

    box-shadow:
        0 8px 30px
        rgba(16, 44, 37, 0.05);
}

.header-inner {
    min-height:
        88px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        30px;
}

.brand {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        12px;

    min-width:
        max-content;
}

.brand-mark {
    width:
        50px;

    height:
        50px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        50% 50% 50% 14px;

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

    color:
        var(--color-white);

    font-family:
        var(--font-heading);

    font-weight:
        700;

    font-size:
        1rem;
}

.brand-copy {
    display:
        flex;

    flex-direction:
        column;

    line-height:
        1.12;
}

.brand-name {
    font-family:
        var(--font-heading);

    color:
        var(--color-green-950);

    font-size:
        1.12rem;

    font-weight:
        700;
}

.brand-subtitle {
    margin-top:
        4px;

    color:
        var(--color-green-700);

    font-size:
        0.68rem;

    font-weight:
        700;

    letter-spacing:
        0.16em;

    text-transform:
        uppercase;
}

.primary-navigation {
    display:
        flex;

    align-items:
        center;

    gap:
        26px;
}

.primary-navigation > a {
    position:
        relative;

    color:
        var(--color-green-950);

    font-size:
        0.9rem;

    font-weight:
        600;
}

.primary-navigation > a:not(.nav-cta)::after {
    content:
        "";

    position:
        absolute;

    left:
        0;

    bottom:
        -8px;

    width:
        100%;

    height:
        1px;

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

    transform:
        scaleX(0);

    transform-origin:
        left;

    transition:
        transform 0.2s ease;
}

.primary-navigation > a:hover::after {
    transform:
        scaleX(1);
}

.primary-navigation .nav-cta {
    padding:
        12px 20px;

    border-radius:
        999px;

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

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

.mobile-menu-button {
    display:
        none;

    width:
        46px;

    height:
        46px;

    border:
        0;

    background:
        transparent;

    cursor:
        pointer;
}

.mobile-menu-button span {
    display:
        block;

    width:
        24px;

    height:
        2px;

    margin:
        5px auto;

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

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


/* ============================================================
   8. HERO
============================================================ */

.hero {
    position:
        relative;

    min-height:
        790px;

    padding:
        175px 0 105px;

    overflow:
        hidden;
}

.hero-grid {
    display:
        grid;

    grid-template-columns:
        1.05fr 0.95fr;

    align-items:
        center;

    gap:
        75px;
}

.hero-lead {
    max-width:
        620px;

    margin-bottom:
        34px;

    color:
        var(--color-text-soft);

    font-size:
        clamp(
            1.05rem,
            2vw,
            1.25rem
        );
}

.hero-actions {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        14px;
}

.hero-trust {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        22px;

    margin-top:
        34px;
}

.trust-item {
    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    color:
        var(--color-green-800);

    font-size:
        0.86rem;

    font-weight:
        700;
}

.trust-icon {
    width:
        24px;

    height:
        24px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        50%;

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

    font-size:
        0.72rem;
}


/* HERO VISUAL */

.hero-visual {
    position:
        relative;

    min-height:
        560px;

    display:
        grid;

    place-items:
        center;
}

.hero-card-main {
    position:
        relative;

    width:
        min(100%, 440px);

    min-height:
        500px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        flex-end;

    padding:
        46px;

    border-radius:
        160px 160px 38px 38px;

    background:
        linear-gradient(
            160deg,
            var(--color-green-900),
            var(--color-green-700)
        );

    color:
        var(--color-white);

    box-shadow:
        var(--shadow-medium);

    overflow:
        hidden;
}

.hero-card-main::before {
    content:
        "";

    position:
        absolute;

    width:
        250px;

    height:
        250px;

    right:
        -100px;

    top:
        -80px;

    border:
        1px solid
        rgba(255, 255, 255, 0.25);

    border-radius:
        50%;
}

.hero-card-main::after {
    content:
        "";

    position:
        absolute;

    width:
        130px;

    height:
        130px;

    right:
        35px;

    top:
        42px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius:
        50%;
}

.hero-card-symbol {
    position:
        absolute;

    top:
        115px;

    left:
        50%;

    width:
        125px;

    transform:
        translateX(-50%);

    color:
        var(--color-gold-light);
}

.hero-card-main h2 {
    position:
        relative;

    z-index:
        2;

    margin-bottom:
        18px;

    color:
        var(--color-white);

    font-size:
        clamp(
            2rem,
            4vw,
            3.2rem
        );
}

.hero-card-main p {
    position:
        relative;

    z-index:
        2;

    margin-bottom:
        0;

    color:
        rgba(255, 255, 255, 0.78);
}

.small-label {
    position:
        relative;

    z-index:
        2;

    margin-bottom:
        12px;

    color:
        var(--color-gold-light);

    font-size:
        0.72rem;

    font-weight:
        700;

    letter-spacing:
        0.16em;

    text-transform:
        uppercase;
}

.floating-card {
    position:
        absolute;

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    max-width:
        250px;

    padding:
        16px 18px;

    background:
        rgba(255, 255, 255, 0.94);

    border:
        1px solid
        rgba(255, 255, 255, 0.7);

    border-radius:
        18px;

    box-shadow:
        var(--shadow-small);

    backdrop-filter:
        blur(10px);
}

.floating-card strong,
.floating-card span {
    display:
        block;
}

.floating-card strong {
    color:
        var(--color-green-950);

    font-size:
        0.85rem;
}

.floating-card span {
    color:
        var(--color-text-soft);

    font-size:
        0.72rem;

    line-height:
        1.4;
}

.floating-icon {
    width:
        40px;

    height:
        40px;

    flex:
        0 0 40px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        50%;

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

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

.floating-card-one {
    left: -85px;
    top: 120px;
}

.floating-card-two {
    right: -80px;
    bottom: 38px;
}

.floating-card-one,
.floating-card-two {
    z-index: 4;
}

.hero-card-main {
    z-index: 2;
}

@media (max-width: 1180px) {

    .floating-card-one {
        left: -25px;
    }

    .floating-card-two {
        right: -20px;
    }

}

.hero-decoration {
    position:
        absolute;

    border-radius:
        50%;

    pointer-events:
        none;
}

.hero-decoration-one {
    width:
        560px;

    height:
        560px;

    top:
        120px;

    right:
        -270px;

    background:
        rgba(43, 102, 87, 0.08);
}

.hero-decoration-two {
    width:
        240px;

    height:
        240px;

    left:
        -115px;

    bottom:
        0;

    border:
        1px solid
        rgba(183, 146, 87, 0.22);
}


/* ============================================================
   9. VALUES STRIP
============================================================ */

.values-strip {
    background:
        var(--color-green-950);

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

.values-grid {
    display:
        grid;

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

.values-grid > div {
    display:
        flex;

    align-items:
        center;

    gap:
        15px;

    min-height:
        96px;

    padding:
        20px 25px;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.12);
}

.values-grid > div:last-child {
    border-right:
        0;
}

.values-grid span {
    color:
        var(--color-gold-light);

    font-family:
        var(--font-heading);

    font-size:
        1.25rem;
}

.values-grid strong {
    font-size:
        0.88rem;

    letter-spacing:
        0.04em;
}


/* ============================================================
   10. ABOUT
============================================================ */

.about-section {
    background:
        var(--color-white);
}

.about-grid {
    display:
        grid;

    grid-template-columns:
        0.95fr 1.05fr;

    gap:
        100px;
}

.about-grid h2 {
    max-width:
        580px;
}

.about-content {
    padding-top:
        52px;
}

.about-content p {
    max-width:
        610px;

    color:
        var(--color-text-soft);
}

.about-content .large-copy {
    color:
        var(--color-green-950);

    font-family:
        var(--font-heading);

    font-size:
        1.65rem;

    line-height:
        1.45;
}


/* ============================================================
   11. SERVICES
============================================================ */

.services-section {
    background: var(--color-cream);
    padding-top: 82px;
}

.services-grid {
    display:
        grid;

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

    gap:
        18px;
}

.service-card {
    position:
        relative;

    min-height:
        370px;

    padding:
        30px;

    background:
        rgba(255, 255, 255, 0.72);

    border:
        1px solid
        rgba(23, 59, 49, 0.08);

    border-radius:
        var(--radius-medium);

    overflow:
        hidden;

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

.service-card:hover {
    transform:
        translateY(-7px);

    background:
        var(--color-white);

    box-shadow:
        var(--shadow-small);
}

.service-number {
    position:
        absolute;

    top:
        20px;

    right:
        23px;

    color:
        rgba(23, 59, 49, 0.17);

    font-family:
        var(--font-heading);

    font-size:
        2.8rem;
}

.service-icon {
    width:
        58px;

    height:
        58px;

    display:
        grid;

    place-items:
        center;

    margin-bottom:
        75px;

    border-radius:
        18px;

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

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

.service-icon svg {
    width:
        30px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        2.4;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}

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

.service-card p {
    margin-bottom:
        0;

    color:
        var(--color-text-soft);

    font-size:
        0.92rem;
}

.services-note {
    max-width:
        780px;

    margin:
        32px auto 0;

    color:
        var(--color-text-soft);

    font-size:
        0.78rem;

    text-align:
        center;
}


/* ============================================================
   12. WHY US
============================================================ */

.why-section {
    background:
        var(--color-white);
}

.why-grid {
    display:
        grid;

    grid-template-columns:
        1fr 0.85fr;

    gap:
        90px;

    align-items:
        center;
}

.why-content > p {
    max-width:
        650px;

    margin:
        22px 0 42px;

    color:
        var(--color-text-soft);

    font-size:
        1.05rem;
}

.why-points {
    display:
        grid;

    gap:
        5px;
}

.why-point {
    display:
        grid;

    grid-template-columns:
        60px 1fr;

    gap:
        10px;

    padding:
        25px 0;

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

.why-point > span {
    color:
        var(--color-gold);

    font-family:
        var(--font-heading);

    font-size:
        1.25rem;
}

.why-point h3 {
    margin-bottom:
        8px;

    font-size:
        1.35rem;
}

.why-point p {
    max-width:
        530px;

    margin-bottom:
        0;

    color:
        var(--color-text-soft);

    font-size:
        0.92rem;
}

.quote-card {
    min-height:
        500px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        clamp(
            38px,
            6vw,
            72px
        );

    border-radius:
        150px 34px 150px 34px;

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

    color:
        var(--color-white);

    box-shadow:
        var(--shadow-medium);
}

.quote-mark {
    display:
        block;

    margin-bottom:
        20px;

    color:
        var(--color-gold-light);

    font-family:
        Georgia,
        serif;

    font-size:
        5rem;

    line-height:
        0.8;
}

.quote-card blockquote {
    color:
        var(--color-white);

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height:
        1.28;
}

.quote-signature {
    margin-top:
        25px;

    color:
        var(--color-gold-light);

    font-size:
        0.78rem;

    font-weight:
        700;

    letter-spacing:
        0.12em;

    text-transform:
        uppercase;
}


/* ============================================================
   13. PROCESS
============================================================ */

.process-section {
    background:
        var(--color-cream);
}

.process-grid {
    position:
        relative;

    display:
        grid;

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

    gap:
        20px;
}

.process-grid::before {
    content:
        "";

    position:
        absolute;

    top:
        43px;

    left:
        16%;

    right:
        16%;

    height:
        1px;

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

.process-card {
    position:
        relative;

    z-index:
        2;

    padding:
        18px 30px 30px;

    text-align:
        center;
}

.process-number {
    width:
        54px;

    height:
        54px;

    display:
        grid;

    place-items:
        center;

    margin:
        0 auto 28px;

    border:
        1px solid
        var(--color-green-700);

    border-radius:
        50%;

    background:
        var(--color-cream);

    color:
        var(--color-green-700);

    font-family:
        var(--font-heading);
}

.process-card h3 {
    margin-bottom:
        12px;
}

.process-card p {
    margin:
        0 auto;

    max-width:
        280px;

    color:
        var(--color-text-soft);

    font-size:
        0.92rem;
}


/* ============================================================
   14. REQUEST CARE FORM
============================================================ */

.request-section {
    background:
        var(--color-green-950);

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

.request-grid {
    display:
        grid;

    grid-template-columns:
        0.82fr 1.18fr;

    gap:
        80px;

    align-items:
        start;
}

.request-intro {
    position:
        sticky;

    top:
        130px;
}

.request-intro h2 {
    color:
        var(--color-white);
}

.request-intro > p {
    max-width:
        470px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size:
        1.05rem;
}

.privacy-message {
    display:
        flex;

    gap:
        15px;

    margin-top:
        40px;

    padding:
        20px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius:
        18px;

    background:
        rgba(255, 255, 255, 0.05);
}

.privacy-icon {
    width:
        30px;

    height:
        30px;

    flex:
        0 0 30px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        50%;

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

    color:
        var(--color-green-950);

    font-family:
        var(--font-heading);

    font-weight:
        700;
}

.privacy-message p {
    margin:
        0;

    color:
        rgba(255, 255, 255, 0.72);

    font-size:
        0.78rem;
}

.privacy-message strong {
    color:
        var(--color-white);
}

.form-card {
    padding:
        clamp(
            28px,
            5vw,
            50px
        );

    border-radius:
        var(--radius-large);

    background:
        var(--color-white);

    color:
        var(--color-text);

    box-shadow:
        0 28px 70px
        rgba(0, 0, 0, 0.18);
}

.form-row {
    display:
        grid;

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

    gap:
        18px;
}

.form-field {
    margin-bottom:
        20px;
}

.form-field label {
    display:
        block;

    margin-bottom:
        8px;

    color:
        var(--color-green-950);

    font-size: 0.88rem;

    font-weight:
        700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width:
        100%;

    border:
        1px solid
        rgba(23, 59, 49, 0.16);

    border-radius:
        13px;

    background:
        #fcfbf8;

    color:
        var(--color-text);

    outline:
        none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.form-field input,
.form-field select {
    height:
        52px;

    padding:
        0 15px;
}

.form-field textarea {
    min-height:
        145px;

    padding:
        14px 15px;

    resize:
        vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color:
        var(--color-green-700);

    background:
        var(--color-white);

    box-shadow:
        0 0 0 4px
        rgba(43, 102, 87, 0.1);
}

.form-field textarea::placeholder {
    color:
        #969e9b;

    font-size:
        0.82rem;
}

.form-consent {
    display:
        flex;

    gap:
        10px;

    margin:
        5px 0 25px;
}

.form-consent input {
    width:
        17px;

    height:
        17px;

    flex:
        0 0 17px;

    margin-top:
        3px;

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

.form-consent label {
    color:
        var(--color-text-soft);

    font-size: 0.8rem;
    line-height: 1.55;
}

.form-field input,
.form-field select {
    font-size: 0.92rem;
}

.form-field textarea {
    font-size: 0.92rem;
}


.form-submit {
    width:
        100%;

    cursor:
        pointer;
}

.form-submit:disabled {
    opacity:
        0.65;

    cursor:
        not-allowed;

    transform:
        none;
}

.form-status {
    display:
        none;

    margin-top:
        18px;

    padding:
        13px 15px;

    border-radius:
        10px;

    font-size:
        0.82rem;
}

.form-status.visible {
    display:
        block;
}

.form-status.success {
    background:
        #e8f5ec;

    color:
        #1f6337;
}

.form-status.error {
    background:
        #fbeceb;

    color:
        #8a3430;
}


/* ============================================================
   15. CONTACT
============================================================ */

.contact-section {
    background:
        var(--color-white);
}

.contact-card {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        50px;

    padding:
        clamp(
            38px,
            6vw,
            65px
        );

    border-radius:
        var(--radius-large);

    background:
        var(--color-cream);
}

.contact-card h2 {
    max-width:
        670px;

    margin-bottom:
        15px;

    font-size:
        clamp(
            2.2rem,
            4vw,
            3.8rem
        );
}

.contact-card p {
    max-width:
        650px;

    margin-bottom:
        0;

    color:
        var(--color-text-soft);
}

.contact-card .button {
    flex:
        0 0 auto;
}


/* ============================================================
   16. FOOTER
============================================================ */

.site-footer {
    padding:
        75px 0 30px;

    background:
        #0b211c;

    color:
        rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display:
        grid;

    grid-template-columns:
        1.8fr 1fr 1fr 1.2fr;

    gap:
        55px;

    padding-bottom:
        55px;
}

.brand-footer .brand-name {
    color:
        var(--color-white);
}

.brand-footer .brand-subtitle {
    color:
        var(--color-gold-light);
}

.brand-footer .brand-mark {
    background:
        var(--color-gold-light);

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

.footer-brand > p {
    max-width:
        360px;

    margin-top:
        25px;

    font-size:
        0.88rem;
}

.footer-column h3 {
    margin-bottom:
        20px;

    color:
        var(--color-white);

    font-family:
        var(--font-body);

    font-size:
        0.78rem;

    letter-spacing:
        0.1em;

    text-transform:
        uppercase;
}

.footer-column a,
.footer-column p {
    display:
        block;

    margin:
        0 0 10px;

    color:
        rgba(255, 255, 255, 0.62);

    font-size:
        0.84rem;
}

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

.footer-bottom {
    display:
        flex;

    justify-content:
        space-between;

    gap:
        40px;

    padding-top:
        30px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin:
        0;

    font-size:
        0.7rem;
}

.footer-disclaimer {
    max-width:
        650px;

    text-align:
        right;
}


/* ============================================================
   17. SCROLL REVEAL
============================================================ */

.reveal {
    opacity:
        0;

    transform:
        translateY(26px);

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

.reveal.visible {
    opacity:
        1;

    transform:
        translateY(0);
}


/* ============================================================
   18. RESPONSIVE
============================================================ */

@media (max-width: 1050px) {

    .primary-navigation {
        gap:
            16px;
    }

    .primary-navigation > a {
        font-size:
            0.82rem;
    }

    .hero-grid {
        gap:
            45px;
    }

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

    .service-card {
        min-height:
            320px;
    }

    .service-icon {
        margin-bottom:
            55px;
    }

}


@media (max-width: 900px) {

    .section {
        padding:
            85px 0;
    }

    .mobile-menu-button {
        display:
            block;
    }

    .primary-navigation {
        position:
            fixed;

        top:
            88px;

        left:
            0;

        width:
            100%;

        height:
            calc(100vh - 88px);

        display:
            flex;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            0;

        padding:
            35px 25px;

        background:
            var(--color-cream);

        transform:
            translateX(100%);

        transition:
            transform 0.3s ease;
    }

    .primary-navigation.open {
        transform:
            translateX(0);
    }

    .primary-navigation > a {
        padding:
            15px 5px;

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

        font-family:
            var(--font-heading);

        font-size:
            1.55rem;
    }

    .primary-navigation > a::after {
        display:
            none;
    }

    .primary-navigation .nav-cta {
        margin-top:
            24px;

        border:
            0;

        text-align:
            center;

        font-family:
            var(--font-body);

        font-size:
            0.95rem;
    }

    .mobile-menu-button.active span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .mobile-menu-button.active span:nth-child(2) {
        opacity:
            0;
    }

    .mobile-menu-button.active span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    .hero {
        min-height:
            auto;

        padding:
            145px 0 85px;
    }

    .hero-grid,
    .about-grid,
    .why-grid,
    .request-grid {
        grid-template-columns:
            1fr;
    }

    .hero-grid {
        gap:
            65px;
    }

    .hero-content {
        text-align:
            center;
    }

    .hero-content .eyebrow {
        justify-content:
            center;
    }

    .hero-lead {
        margin-inline:
            auto;
    }

    .hero-actions,
    .hero-trust {
        justify-content:
            center;
    }

    .hero-visual {
        min-height:
            500px;
    }

    .floating-card-one {
        left:
            0;
    }

    .floating-card-two {
        right:
            0;
    }

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

    .values-grid > div:nth-child(2) {
        border-right:
            0;
    }

    .values-grid > div:nth-child(-n + 2) {
        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.12);
    }

    .about-grid {
        gap:
            20px;
    }

    .about-content {
        padding-top:
            0;
    }

    .why-grid {
        gap:
            55px;
    }

    .quote-card {
        min-height:
            420px;
    }

    .process-grid::before {
        display:
            none;
    }

    .request-grid {
        gap:
            55px;
    }

    .request-intro {
        position:
            static;
    }

    .contact-card {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

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

}


@media (max-width: 650px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--container-width)
            );
    }

    .section {
        padding:
            70px 0;
    }

    .header-inner {
        min-height:
            78px;
    }

    .primary-navigation {
        top:
            78px;

        height:
            calc(100vh - 78px);
    }

    .brand-mark {
        width:
            44px;

        height:
            44px;
    }

    .brand-name {
        font-size:
            1rem;
    }

    .brand-subtitle {
        font-size:
            0.61rem;
    }

    .hero {
        padding:
            125px 0 70px;
    }

    h1 {
        font-size:
            clamp(
                3rem,
                14vw,
                4.6rem
            );
    }

    .hero-actions {
        flex-direction:
            column;
    }

    .hero-actions .button {
        width:
            100%;
    }

    .hero-trust {
        gap:
            13px;
    }

    .hero-card-main {
        min-height:
            470px;

        padding:
            35px;

        border-radius:
            120px 120px 30px 30px;
    }

    .hero-card-symbol {
        top:
            95px;

        width:
            105px;
    }

    .floating-card {
        max-width:
            205px;

        padding:
            12px;
    }

    .floating-card-one {
        top:
            25px;
    }

    .floating-card-two {
        bottom:
            0;
    }

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

    .values-grid > div {
        min-height:
            74px;

        border-right:
            0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.12);
    }

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

    .service-card {
        min-height:
            auto;
    }

    .service-icon {
        margin-bottom:
            45px;
    }

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

    .process-card {
        padding:
            10px 20px 35px;
    }

    .form-row {
        grid-template-columns:
            1fr;

        gap:
            0;
    }

    .form-card {
        border-radius:
            24px;
    }

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

        gap:
            38px;
    }

    .footer-bottom {
        flex-direction:
            column;

        gap:
            18px;
    }

    .footer-disclaimer {
        text-align:
            left;
    }

}

/* ============================================================
   HERO CAREGIVER PHOTOGRAPH
============================================================ */

.hero-card-main.hero-photo-card {
    position: relative;

    width: min(100%, 450px);
    min-height: 530px;

    padding: 0;

    border-radius: 160px 160px 38px 38px;

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

    overflow: hidden;

    isolation: isolate;

    box-shadow:
        0 28px 65px rgba(16, 44, 37, 0.18);
}


/*
 * Replace the old decorative circle with a subtle
 * photographic gradient.
 */
.hero-card-main.hero-photo-card::before {
    content: "";

    position: absolute;

    inset: 0;

    width: auto;
    height: auto;

    top: 0;
    right: 0;

    border: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            180deg,
            rgba(16, 44, 37, 0.02) 35%,
            rgba(16, 44, 37, 0.10) 68%,
            rgba(16, 44, 37, 0.30) 100%
        );

    z-index: 2;

    pointer-events: none;
}


/*
 * Elegant inner border that ties the photo
 * into the rest of the premium design.
 */
.hero-card-main.hero-photo-card::after {
    content: "";

    position: absolute;

    inset: 13px;

    width: auto;
    height: auto;

    top: 13px;
    right: 13px;

    border:
        1px solid rgba(255, 255, 255, 0.20);

    border-radius:
        150px 150px 30px 30px;

    z-index: 3;

    pointer-events: none;
}


.hero-photo {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
     * Keeps both faces prominent in the crop.
     */
    object-position: center center;

    z-index: 1;

    transition:
        transform 0.8s ease;
}


.hero-photo-card:hover .hero-photo {
    transform:
        scale(1.025);
}


/*
 * With a human photograph, keep the floating
 * information cards away from the subjects' faces.
 */
.floating-card-one {
    left: -80px;
    top: 48px;
}


.floating-card-two {
    right: -80px;
    bottom: 34px;
}


@media (max-width: 1180px) {

    .floating-card-one {
        left: -24px;
    }

    .floating-card-two {
        right: -20px;
    }

}


@media (max-width: 900px) {

    .hero-card-main.hero-photo-card {
        width: min(100%, 500px);
        min-height: 570px;
    }

}


@media (max-width: 650px) {

    .hero-card-main.hero-photo-card {
        min-height: 500px;

        padding: 0;

        border-radius:
            120px 120px 30px 30px;
    }

    .hero-card-main.hero-photo-card::after {
        border-radius:
            112px 112px 24px 24px;
    }

}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior:
            auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

    .reveal {
        opacity:
            1;

        transform:
            none;
    }

}