/* ==========================================================================
   GdG Praxisdemo Homepage v1.0.0
   Stable custom front-page template. No Divi page content is rendered here.
   ========================================================================== */

.gdg-homepage,
.gdg-homepage * {
    box-sizing: border-box;
}

.gdg-homepage {
    --gdg-ink: #264653;
    --gdg-ink-deep: #1f3e4a;
    --gdg-muted: #607a84;
    --gdg-paper: #f8f6f1;
    --gdg-paper-deep: #f1eee7;
    --gdg-mint: #d9f0e7;
    --gdg-mint-strong: #bce4d5;
    --gdg-gold: #d5af55;
    --gdg-gold-dark: #a87c27;
    --gdg-line: rgba(38, 70, 83, 0.14);
    --gdg-white: #ffffff;
    overflow: hidden;
    background: var(--gdg-paper);
    color: var(--gdg-ink);
    font-family: inherit;
}

.gdg-home-shell {
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
}

.gdg-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--gdg-ink);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.25;
    text-transform: uppercase;
}

.gdg-home-eyebrow::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gdg-gold);
    content: "";
}

.gdg-home-hero {
    position: relative;
    padding: clamp(58px, 8vw, 118px) 0 clamp(64px, 9vw, 132px);
    background:
        radial-gradient(circle at 15% 15%, rgba(217, 240, 231, 0.95), transparent 32%),
        linear-gradient(135deg, #f9f8f4 0%, #eef4f0 100%);
}

.gdg-home-hero::after {
    position: absolute;
    right: -8vw;
    bottom: -14vw;
    width: min(44vw, 600px);
    height: min(44vw, 600px);
    border: 1px solid rgba(38, 70, 83, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.gdg-home-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(390px, 0.9fr);
    gap: clamp(38px, 7vw, 90px);
    align-items: center;
}

.gdg-home-hero__copy {
    max-width: 650px;
}

.gdg-home-hero__pretitle {
    margin: 20px 0 12px;
    color: var(--gdg-muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.gdg-home-hero h1,
.gdg-home-section h2,
.gdg-home-closing h2 {
    margin: 0;
    color: var(--gdg-ink);
    font-family: inherit;
    font-weight: 500;
    letter-spacing: -0.055em;
}

.gdg-home-hero h1 {
    max-width: 660px;
    font-size: clamp(2.8rem, 5.5vw, 5.45rem);
    line-height: 0.99;
}

.gdg-home-hero__lead {
    max-width: 600px;
    margin: 28px 0 0;
    color: #4f6973;
    font-size: clamp(1.06rem, 1.65vw, 1.2rem);
    line-height: 1.7;
}

.gdg-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.gdg-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none !important;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.gdg-home-button--primary {
    background: var(--gdg-ink);
    color: var(--gdg-white) !important;
}

.gdg-home-button--primary:hover {
    background: var(--gdg-ink-deep);
}

.gdg-home-button--quiet {
    border-color: rgba(38, 70, 83, 0.26);
    background: rgba(255,255,255,0.74);
    color: var(--gdg-ink) !important;
}

.gdg-home-button--quiet:hover {
    border-color: var(--gdg-ink);
    background: var(--gdg-white);
}

.gdg-home-button--light {
    background: var(--gdg-white);
    color: var(--gdg-ink) !important;
}

.gdg-home-button--outline-light {
    border-color: rgba(255,255,255,0.52);
    background: transparent;
    color: var(--gdg-white) !important;
}

.gdg-home-hero__note {
    max-width: 520px;
    margin: 16px 0 0;
    color: #6e858d;
    font-size: 0.79rem;
    line-height: 1.5;
}

.gdg-home-hero__visual {
    position: relative;
}

.gdg-home-hero__image-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 0.88;
    border-radius: 28px;
    background: #d6e5df;
    box-shadow: 0 28px 65px rgba(38, 70, 83, 0.16);
}

.gdg-home-hero__image-frame::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(27, 56, 66, 0.25) 100%);
    content: "";
    pointer-events: none;
}

.gdg-home-hero__image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% center;
}

.gdg-home-hero__visual-note {
    position: absolute;
    left: -42px;
    bottom: 36px;
    display: grid;
    gap: 4px;
    max-width: 260px;
    padding: 17px 18px;
    border: 1px solid rgba(38, 70, 83, 0.10);
    border-radius: 13px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 15px 34px rgba(38, 70, 83, 0.12);
    backdrop-filter: blur(8px);
}

.gdg-home-hero__visual-note strong {
    color: var(--gdg-ink);
    font-size: 0.93rem;
    line-height: 1.3;
}

.gdg-home-hero__visual-note span {
    color: var(--gdg-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.gdg-home-section {
    padding: clamp(68px, 9vw, 130px) 0;
}

.gdg-home-section--paths {
    background: var(--gdg-white);
}

.gdg-home-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
    gap: 28px 80px;
    align-items: end;
    margin-bottom: clamp(32px, 5vw, 58px);
}

.gdg-home-section-head .gdg-home-eyebrow {
    grid-column: 1 / -1;
}

.gdg-home-section-head h2 {
    max-width: 680px;
    font-size: clamp(2.3rem, 4.6vw, 4.65rem);
    line-height: 1.01;
}

.gdg-home-section-head > p {
    max-width: 420px;
    margin: 0 0 4px;
    color: var(--gdg-muted);
    font-size: 1rem;
    line-height: 1.68;
}

.gdg-home-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gdg-home-path-card {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--gdg-line);
    border-radius: 19px;
    background: #fbfbf9;
}

.gdg-home-path-card--accent {
    border-color: #c8e6dc;
    background: var(--gdg-mint);
}

.gdg-home-path-card__number {
    color: var(--gdg-gold-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.gdg-home-path-card__icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 25px 0 22px;
    place-items: center;
    border-radius: 13px;
    background: var(--gdg-white);
    color: var(--gdg-ink);
}

.gdg-home-path-card--accent .gdg-home-path-card__icon {
    background: rgba(255,255,255,0.76);
}

.gdg-home-path-card__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.gdg-home-path-card h3 {
    margin: 0 0 10px;
    color: var(--gdg-ink);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.gdg-home-path-card p {
    margin: 0;
    color: var(--gdg-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.gdg-home-path-card > a {
    display: inline-flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 26px;
    color: var(--gdg-ink) !important;
    font-size: 0.87rem;
    font-weight: 800;
    text-decoration: none !important;
}

.gdg-home-path-card > a span {
    transition: transform 180ms ease;
}

.gdg-home-path-card > a:hover span {
    transform: translateX(4px);
}

.gdg-home-section--relief {
    background: var(--gdg-paper);
}

.gdg-home-relief {
    display: grid;
    grid-template-columns: minmax(310px, 0.79fr) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
}

.gdg-home-relief__flow {
    position: relative;
    display: grid;
    gap: 23px;
    padding: clamp(28px, 4vw, 46px);
    overflow: hidden;
    border-radius: 24px;
    background: var(--gdg-mint);
}

.gdg-home-relief__flow::after {
    position: absolute;
    right: -115px;
    bottom: -130px;
    width: 270px;
    height: 270px;
    border: 36px solid rgba(255,255,255,0.46);
    border-radius: 50%;
    content: "";
}

.gdg-home-relief__flow .gdg-home-eyebrow,
.gdg-home-relief__flow h2,
.gdg-home-relief__flow-list {
    position: relative;
    z-index: 1;
}

.gdg-home-relief__flow h2 {
    max-width: 450px;
    color: var(--gdg-ink);
    font-size: clamp(2.05rem, 3.7vw, 3.5rem);
    line-height: 1.04;
}

.gdg-home-relief__flow-list {
    display: grid;
    gap: 12px;
}

.gdg-home-relief__flow-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(38, 70, 83, 0.11);
    border-radius: 14px;
    background: rgba(255,255,255,0.78);
    box-shadow: 0 9px 21px rgba(38, 70, 83, 0.055);
}

.gdg-home-relief__flow-item > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--gdg-ink);
    color: var(--gdg-white);
    font-size: 0.65rem;
    font-weight: 800;
}

.gdg-home-relief__flow-item strong,
.gdg-home-relief__flow-item p {
    display: block;
    margin: 0;
}

.gdg-home-relief__flow-item strong {
    margin-bottom: 3px;
    color: var(--gdg-ink);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
}

.gdg-home-relief__flow-item p {
    color: var(--gdg-muted);
    font-size: 0.81rem;
    line-height: 1.42;
}

.gdg-home-relief__copy {
    display: grid;
    gap: 22px;
}

.gdg-home-relief__copy h2 {
    max-width: 660px;
    font-size: clamp(2.25rem, 4.2vw, 4.25rem);
    line-height: 1.04;
}

.gdg-home-relief__lead {
    max-width: 630px;
    margin: 0;
    color: var(--gdg-muted);
    font-size: 1rem;
    line-height: 1.68;
}

.gdg-home-benefit-list {
    border-top: 1px solid var(--gdg-line);
}

.gdg-home-benefit-list article {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    padding: 19px 0;
    border-bottom: 1px solid var(--gdg-line);
}

.gdg-home-benefit-list article > span {
    padding-top: 3px;
    color: var(--gdg-gold-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.gdg-home-benefit-list h3 {
    margin: 0 0 5px;
    color: var(--gdg-ink);
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.32;
}

.gdg-home-benefit-list p {
    margin: 0;
    color: var(--gdg-muted);
    font-size: 0.91rem;
    line-height: 1.55;
}

.gdg-home-section--intake {
    background: var(--gdg-white);
}

.gdg-home-intake {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(350px, 0.8fr);
    gap: clamp(40px, 8vw, 118px);
    align-items: center;
}

.gdg-home-intake__copy {
    display: grid;
    gap: 22px;
    align-items: start;
}

.gdg-home-intake__copy h2 {
    font-size: clamp(2.35rem, 4.35vw, 4.4rem);
    line-height: 1.03;
}

.gdg-home-intake__copy > p {
    max-width: 570px;
    margin: 0;
    color: var(--gdg-muted);
    font-size: 1rem;
    line-height: 1.68;
}

.gdg-home-intake__copy ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gdg-home-intake__copy li {
    position: relative;
    padding-left: 25px;
    color: var(--gdg-ink);
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.45;
}

.gdg-home-intake__copy li::before {
    position: absolute;
    left: 0;
    top: 0.39em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gdg-gold);
    content: "";
}

.gdg-home-intake__preview {
    overflow: hidden;
    border: 1px solid var(--gdg-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 56px rgba(38, 70, 83, 0.11);
}

.gdg-home-intake__preview-head {
    display: grid;
    gap: 4px;
    padding: 22px 24px;
    background: var(--gdg-ink);
    color: var(--gdg-white);
}

.gdg-home-intake__preview-head span {
    color: rgba(255,255,255,0.7);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gdg-home-intake__preview-head strong {
    font-size: 1.06rem;
    line-height: 1.3;
}

.gdg-home-intake__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 21px 24px 8px;
}

.gdg-home-intake__steps span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #edf2ef;
    color: #6c858c;
    font-size: 0.75rem;
    font-weight: 800;
}

.gdg-home-intake__steps .is-active {
    background: var(--gdg-gold);
    color: var(--gdg-white);
}

.gdg-home-intake__preview-body {
    display: grid;
    gap: 14px;
    padding: 18px 24px 26px;
}

.gdg-home-intake__preview-body h3 {
    margin: 0 0 4px;
    color: var(--gdg-ink);
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.32;
}

.gdg-home-fake-field {
    min-height: 59px;
    padding: 11px 13px;
    border: 1px solid var(--gdg-line);
    border-radius: 10px;
    background: #fcfdfd;
}

.gdg-home-fake-field small,
.gdg-home-fake-field span {
    display: block;
}

.gdg-home-fake-field small {
    margin-bottom: 4px;
    color: #789098;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gdg-home-fake-field span {
    color: #4d6a74;
    font-size: 0.84rem;
    line-height: 1.42;
}

.gdg-home-intake__fake-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.gdg-home-intake__preview-body > p {
    margin: 3px 0 0;
    color: #7a8f96;
    font-size: 0.76rem;
    line-height: 1.45;
}

.gdg-home-closing {
    padding: clamp(70px, 10vw, 142px) 0;
    background: var(--gdg-ink);
    color: var(--gdg-white);
}

.gdg-home-closing__inner {
    display: grid;
    max-width: 910px;
    gap: 22px;
    text-align: center;
}

.gdg-home-closing .gdg-home-eyebrow {
    justify-content: center;
    color: rgba(255,255,255,0.76);
}

.gdg-home-closing h2 {
    color: var(--gdg-white);
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 1.02;
}

.gdg-home-closing p {
    max-width: 690px;
    margin: 0 auto;
    color: rgba(255,255,255,0.72);
    font-size: 1.03rem;
    line-height: 1.68;
}

.gdg-home-closing .gdg-home-actions {
    justify-content: center;
}

@media (max-width: 980px) {
    .gdg-home-shell {
        width: min(100% - 40px, 760px);
    }

    .gdg-home-hero__grid,
    .gdg-home-relief,
    .gdg-home-intake {
        grid-template-columns: 1fr;
    }

    .gdg-home-hero__copy {
        max-width: 700px;
    }

    .gdg-home-hero__visual {
        max-width: 620px;
        width: min(100%, 620px);
        margin: 12px auto 0;
    }

    .gdg-home-hero__image-frame {
        aspect-ratio: 1.24;
    }

    .gdg-home-hero__visual-note {
        left: 22px;
        bottom: 22px;
    }

    .gdg-home-section-head {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gdg-home-section-head > p {
        max-width: 600px;
    }

    .gdg-home-path-grid {
        grid-template-columns: 1fr;
    }

    .gdg-home-path-card {
        min-height: 0;
    }

    .gdg-home-intake__preview {
        max-width: 620px;
    }
}

@media (max-width: 560px) {
    .gdg-home-shell {
        width: min(100% - 30px, 520px);
    }

    .gdg-home-hero {
        padding-top: 48px;
    }

    .gdg-home-hero h1 {
        font-size: 2.72rem;
    }

    .gdg-home-hero__lead {
        font-size: 1rem;
    }

    .gdg-home-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .gdg-home-button {
        width: 100%;
    }

    .gdg-home-hero__visual-note {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(100% - 30px, 320px);
        margin: -26px auto 0;
    }

    .gdg-home-hero__image-frame {
        aspect-ratio: 0.98;
        border-radius: 20px;
    }

    .gdg-home-section {
        padding: 64px 0;
    }

    .gdg-home-section-head h2,
    .gdg-home-relief__copy h2,
    .gdg-home-intake__copy h2 {
        font-size: 2.45rem;
    }

    .gdg-home-path-card {
        padding: 24px;
        border-radius: 16px;
    }

    .gdg-home-relief__flow {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .gdg-home-relief__flow h2 {
        font-size: 2.22rem;
    }

    .gdg-home-intake__fake-grid {
        grid-template-columns: 1fr;
    }

    .gdg-home-closing h2 {
        font-size: 2.52rem;
    }
}
