/* ======================================================
   PD GROUP — PREMIUM CONTACT PAGE
   ====================================================== */

body.page-contact-us {
    overflow-x: clip;
}


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

.contact-premium-hero {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    padding:
        95px 0 100px;

    background:
        linear-gradient(
            125deg,
            #071f0f 0%,
            #0d361a 52%,
            #195227 100%
        );
}

.contact-premium-hero::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        radial-gradient(
            circle at 74% 38%,
            rgba(255,255,255,.055),
            transparent 29%
        );
}

.contact-blob {
    position: absolute;

    z-index: -1;

    border-radius: 50%;

    pointer-events: none;
}

.contact-blob-one {
    top: -150px;
    right: 10%;

    width: 390px;
    height: 390px;

    background:
        radial-gradient(
            circle,
            rgba(198,161,91,.18),
            rgba(198,161,91,0) 70%
        );

    animation:
        contactBlobOne 15s ease-in-out infinite;
}

.contact-blob-two {
    left: -130px;
    bottom: -170px;

    width: 380px;
    height: 380px;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.08),
            rgba(255,255,255,0) 72%
        );

    animation:
        contactBlobTwo 17s ease-in-out infinite;
}

.contact-premium-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0,1.25fr)
        minmax(320px,.75fr);

    align-items: center;

    gap: 85px;
}

.contact-premium-intro {
    max-width: 720px;
}

.contact-premium-intro h1 {
    max-width: 730px;

    margin-bottom: 23px;

    color: #fff;

    font-size:
        clamp(3rem,5.5vw,5.4rem);

    line-height: .98;
    letter-spacing: -.055em;
}

.contact-premium-intro > p {
    max-width: 640px;

    margin-bottom: 31px;

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

    font-size: 1.05rem;
    line-height: 1.72;
}

.contact-hero-actions {
    display: flex;

    align-items: center;

    gap: 23px;
}

.contact-hero-phone {
    display: flex;

    flex-direction: column;
}

.contact-hero-phone span {
    color:
        rgba(255,255,255,.53);

    font-size: .72rem;

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

.contact-hero-phone strong {
    margin-top: 2px;

    color: #fff;

    font-size: .94rem;
}


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

.contact-hero-panel {
    padding: 29px;

    background:
        rgba(255,255,255,.97);

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

    border-radius: 20px;

    box-shadow:
        0 32px 85px rgba(0,0,0,.22);
}

.contact-panel-label {
    display: block;

    margin-bottom: 10px;

    color: var(--green);

    font-size: .68rem;
    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}

.contact-hero-panel h2 {
    margin-bottom: 17px;

    font-size: 1.75rem;
}

.contact-hero-panel > a {
    display: grid;

    grid-template-columns:
        42px 1fr auto;

    align-items: center;

    gap: 13px;

    padding:
        16px 0;

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

.contact-panel-icon {
    display: grid;

    place-items: center;

    width: 42px;
    height: 42px;

    background:
        var(--green-soft);

    border-radius: 12px;
}

.contact-panel-icon svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: var(--green);

    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-hero-panel small,
.contact-hero-panel strong {
    display: block;
}

.contact-hero-panel small {
    margin-bottom: 2px;

    color: var(--muted);

    font-size: .69rem;
}

.contact-hero-panel strong {
    color: var(--ink);

    font-size: .86rem;
}

.contact-hero-panel b {
    color: var(--green);

    font-size: 1.1rem;

    transition:
        transform .2s ease;
}

.contact-hero-panel > a:hover b {
    transform:
        translateX(4px);
}


/* ======================================================
   QUICK STRIP
   ====================================================== */

.contact-quick-strip {
    background: #fff;

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

    box-shadow:
        0 10px 30px rgba(13,55,26,.035);
}

.contact-quick-grid {
    display: grid;

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

.contact-quick-grid > a {
    display: flex;

    align-items: center;

    gap: 15px;

    min-height: 92px;

    padding:
        18px 23px;

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

    transition:
        background .2s ease;
}

.contact-quick-grid > a:last-child {
    border-right: 0;
}

.contact-quick-grid > a:hover {
    background:
        var(--green-pale);
}

.contact-quick-icon {
    display: grid;

    place-items: center;

    width: 36px;
    height: 36px;

    flex: 0 0 auto;

    background:
        var(--green-soft);

    border-radius: 50%;

    color:
        var(--green);

    font-size: .72rem;
    font-weight: 800;
}

.contact-quick-grid small,
.contact-quick-grid strong {
    display: block;
}

.contact-quick-grid small {
    margin-bottom: 2px;

    color: var(--muted);

    font-size: .67rem;

    letter-spacing: .05em;

    text-transform: uppercase;
}

.contact-quick-grid strong {
    color: var(--ink);

    font-size: .84rem;
}


/* ======================================================
   MAIN CONTENT
   ====================================================== */

.contact-premium-main {
    position: relative;

    padding:
        100px 0 110px;

    background:
        var(--bg);
}

.contact-section-heading {
    max-width: 650px;

    margin-bottom: 42px;
}

.contact-section-heading h2 {
    margin-bottom: 11px;

    font-size:
        clamp(2.35rem,4vw,3.6rem);
}

.contact-section-heading p {
    color:
        var(--muted);
}

.contact-content-shell {
    position: relative;

    overflow: hidden;

    padding:
        48px;

    background: #fff;

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

    border-radius: 22px;

    box-shadow:
        0 24px 65px rgba(13,55,26,.075);
}

.contact-content-accent {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--green)
        );
}


/* ======================================================
   EXISTING WORDPRESS CONTACT CONTENT
   ====================================================== */

.contact-original-content {
    color:
        var(--text);
}

.contact-original-content > *:first-child {
    margin-top: 0;
}

.contact-original-content h1,
.contact-original-content h2,
.contact-original-content h3 {
    color:
        var(--ink);
}

.contact-original-content h2 {
    margin:
        0 0 20px;

    font-size:
        clamp(1.8rem,3vw,2.65rem);
}

.contact-original-content h3 {
    margin:
        25px 0 8px;

    font-size: 1rem;

    letter-spacing: -.015em;
}

.contact-original-content p,
.contact-original-content li {
    color:
        var(--text);

    line-height: 1.75;
}

.contact-original-content .wp-block-columns {
    gap: 35px;
}


/* Office/location blocks inside old content */
.contact-original-content
.wp-block-column {
    min-width: 0;
}

.contact-original-content
.wp-block-group {
    border-radius: 14px;
}


/* ======================================================
   FORM
   ====================================================== */

.contact-original-content label {
    display: block;

    margin-bottom: 7px;

    color:
        var(--ink);

    font-size: .82rem;
    font-weight: 700;
}

.contact-original-content
input[type="text"],
.contact-original-content
input[type="email"],
.contact-original-content
input[type="tel"],
.contact-original-content
input[type="number"],
.contact-original-content
select,
.contact-original-content
textarea {
    width: 100%;

    min-height: 50px;

    padding:
        12px 14px;

    border:
        1px solid #d7e1da;

    border-radius: 10px;

    background:
        #fbfcfb;

    color:
        var(--ink);

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

.contact-original-content textarea {
    min-height: 155px;

    resize: vertical;
}

.contact-original-content
input:focus,
.contact-original-content
select:focus,
.contact-original-content
textarea:focus {
    outline: none;

    background: #fff;

    border-color:
        var(--green);

    box-shadow:
        0 0 0 4px rgba(25,82,39,.08);
}

.contact-original-content
input[type="submit"],
.contact-original-content
button[type="submit"] {
    min-height: 47px;

    padding:
        0 22px;

    border: 0;

    border-radius: 10px;

    background:
        var(--green);

    color: #fff;

    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(25,82,39,.14);

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

.contact-original-content
input[type="submit"]:hover,
.contact-original-content
button[type="submit"]:hover {
    transform:
        translateY(-2px);

    background:
        var(--green-dark);

    box-shadow:
        0 14px 32px rgba(25,82,39,.2);
}


/* ======================================================
   OFFICE FEATURE
   ====================================================== */

.contact-office-feature {
    position: relative;

    overflow: hidden;

    padding:
        95px 0;

    background:
        linear-gradient(
            135deg,
            #0a2c15,
            #164b25
        );
}

.contact-office-grid {
    display: grid;

    grid-template-columns:
        1fr .8fr;

    align-items: center;

    gap: 90px;
}

.contact-office-copy {
    max-width: 650px;
}

.contact-office-copy h2 {
    margin-bottom: 18px;

    color: #fff;
}

.contact-office-copy > p {
    max-width: 590px;

    color:
        rgba(255,255,255,.69);
}

.contact-office-copy address {
    margin:
        25px 0;

    color: #fff;

    font-size: .96rem;
    font-style: normal;

    line-height: 1.7;
}

.contact-office-actions {
    display: flex;

    gap: 10px;
}


/* Decorative mark */
.contact-office-art {
    position: relative;

    display: grid;

    place-items: center;

    min-height: 300px;
}

.contact-office-mark {
    display: grid;

    place-items: center;

    width: 190px;
    height: 190px;

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

    border-radius: 50%;

    background:
        rgba(255,255,255,.055);

    box-shadow:
        0 0 0 35px rgba(255,255,255,.025);
}

.contact-office-mark span {
    color:
        rgba(255,255,255,.8);

    font-size: 3.8rem;
    font-weight: 780;

    letter-spacing: -.07em;
}

.contact-office-lines span {
    position: absolute;

    display: block;

    border:
        1px solid rgba(198,161,91,.15);

    border-radius: 50%;
}

.contact-office-lines span:nth-child(1) {
    inset: 18%;
}

.contact-office-lines span:nth-child(2) {
    inset: 8%;
}

.contact-office-lines span:nth-child(3) {
    inset: -2%;
}


/* ======================================================
   FINAL CTA
   ====================================================== */

.contact-final-cta {
    position: relative;

    padding:
        68px 0;

    background:
        var(--green);
}

.contact-final-inner {
    display: flex;

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

    gap: 50px;
}

.contact-final-inner h2 {
    margin-bottom: 8px;

    color: #fff;
}

.contact-final-inner p {
    margin: 0;

    color:
        rgba(255,255,255,.68);
}


/* ======================================================
   SCROLL REVEAL
   ====================================================== */

.pd-contact-reveal {
    opacity: 0;

    transform:
        translateY(24px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.pd-contact-reveal.is-visible {
    opacity: 1;

    transform:
        translateY(0);
}


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

@media (max-width: 950px) {

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

        gap: 45px;
    }

    .contact-hero-panel {
        max-width: 620px;
    }

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

    .contact-quick-grid > a:nth-child(2) {
        border-right: 0;
    }

    .contact-quick-grid > a:nth-child(-n+2) {
        border-bottom:
            1px solid var(--line);
    }

    .contact-office-grid {
        grid-template-columns:
            1fr;

        gap: 45px;
    }

    .contact-office-art {
        min-height: 240px;
    }
}


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

@media (max-width: 600px) {

    .contact-premium-hero {
        padding:
            65px 0 70px;
    }

    .contact-premium-intro h1 {
        font-size: 2.8rem;
    }

    .contact-hero-actions {
        align-items: stretch;

        flex-direction: column;
    }

    .contact-hero-panel {
        padding: 23px;
    }

    .contact-quick-grid {
        grid-template-columns:
            1fr;
    }

    .contact-quick-grid > a {
        border-right: 0;
        border-bottom:
            1px solid var(--line);
    }

    .contact-quick-grid > a:last-child {
        border-bottom: 0;
    }

    .contact-premium-main {
        padding:
            70px 0 75px;
    }

    .contact-content-shell {
        padding:
            28px 22px;

        border-radius: 16px;
    }

    .contact-office-feature {
        padding:
            70px 0;
    }

    .contact-office-actions {
        flex-direction:
            column;
    }

    .contact-final-inner {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

    .contact-office-mark {
        width: 150px;
        height: 150px;
    }
}


/* ======================================================
   ANIMATION
   ====================================================== */

@keyframes contactBlobOne {

    0%,
    100% {
        transform:
            translate3d(0,0,0)
            scale(1);
    }

    50% {
        transform:
            translate3d(-25px,20px,0)
            scale(1.08);
    }
}

@keyframes contactBlobTwo {

    0%,
    100% {
        transform:
            translate3d(0,0,0)
            scale(1);
    }

    50% {
        transform:
            translate3d(22px,-18px,0)
            scale(1.07);
    }
}

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

    .contact-blob {
        animation: none !important;
    }

    .pd-contact-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ======================================================
   CONTACT FINAL REBUILD
   ====================================================== */

/* The page now has its own complete contact flow.
   Do not display the global prefooter CTA here. */
body.page-contact-us .pd-prefooter {
    display: none;
}


/* ------------------------------------------------------
   MAIN FORM / OFFICE AREA
   ------------------------------------------------------ */

.contact-rebuilt-main {
    position: relative;

    padding:
        100px 0 110px;

    background:
        #f7faf8;
}

.contact-rebuilt-heading {
    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 60px;

    margin-bottom: 43px;
}

.contact-rebuilt-heading h2 {
    margin-bottom: 0;

    font-size:
        clamp(2.4rem,4vw,3.7rem);
}

.contact-rebuilt-heading > p {
    max-width: 420px;

    margin-bottom: 5px;

    color: var(--muted);

    line-height: 1.7;
}

.contact-rebuilt-grid {
    display: grid;

    grid-template-columns:
        minmax(0,1.35fr)
        minmax(300px,.65fr);

    align-items: start;

    gap: 24px;
}


/* ------------------------------------------------------
   CARD FOUNDATION
   ------------------------------------------------------ */

.contact-form-card,
.contact-primary-office {
    position: relative;

    overflow: hidden;

    padding: 34px;

    background: #fff;

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

    border-radius: 20px;

    box-shadow:
        0 17px 45px rgba(13,55,26,.065);
}

.contact-form-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--green)
        );
}

.contact-card-heading {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 31px;
}

.contact-card-number {
    display: grid;

    place-items: center;

    width: 44px;
    height: 44px;

    flex: 0 0 auto;

    background:
        var(--green-soft);

    border-radius: 50%;

    color:
        var(--green);

    font-size: .73rem;
    font-weight: 800;
}

.contact-card-heading small {
    display: block;

    margin-bottom: 2px;

    color: var(--green);

    font-size: .65rem;
    font-weight: 800;

    letter-spacing: .09em;
}

.contact-card-heading h3 {
    margin: 0;

    font-size: 1.35rem;
}


/* ------------------------------------------------------
   REAL FORM
   ------------------------------------------------------ */

.contact-live-form form {
    margin: 0;
}

.contact-live-form form > *:first-child {
    margin-top: 0;
}

.contact-live-form label {
    display: block;

    margin:
        0 0 7px;

    color: var(--ink);

    font-size: .78rem;
    font-weight: 700;
}

.contact-live-form input[type="text"],
.contact-live-form input[type="email"],
.contact-live-form input[type="tel"],
.contact-live-form input[type="number"],
.contact-live-form input[type="password"],
.contact-live-form select,
.contact-live-form textarea {
    width: 100%;

    min-height: 52px;

    margin-bottom: 18px;

    padding:
        12px 14px;

    background:
        #fbfcfb;

    border:
        1px solid #d9e2db;

    border-radius: 9px;

    color:
        var(--ink);

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

.contact-live-form textarea {
    min-height: 170px;

    resize: vertical;
}

.contact-live-form input:focus,
.contact-live-form select:focus,
.contact-live-form textarea:focus {
    outline: none;

    background: #fff;

    border-color:
        var(--green);

    box-shadow:
        0 0 0 4px rgba(25,82,39,.08);
}

.contact-live-form input[type="submit"],
.contact-live-form button[type="submit"],
.contact-live-form .wp-block-button__link {
    display: inline-flex;

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

    min-height: 48px;

    padding:
        0 23px;

    background:
        var(--green) !important;

    border: 0 !important;
    border-radius: 9px !important;

    color: #fff !important;

    font-size: .85rem;
    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 10px 26px rgba(25,82,39,.14);

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

.contact-live-form input[type="submit"]:hover,
.contact-live-form button[type="submit"]:hover,
.contact-live-form .wp-block-button__link:hover {
    transform:
        translateY(-2px);

    background:
        var(--green-dark) !important;

    box-shadow:
        0 14px 32px rgba(25,82,39,.20);
}


/* ------------------------------------------------------
   PRIMARY OFFICE
   ------------------------------------------------------ */

.contact-primary-office {
    padding: 31px;
}

.contact-primary-address {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding:
        20px 0;

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

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

.contact-office-pin {
    display: grid;

    place-items: center;

    width: 42px;
    height: 42px;

    flex: 0 0 auto;

    background:
        var(--green-soft);

    border-radius: 12px;
}

.contact-office-pin svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke:
        var(--green);

    stroke-width: 1.7;
}

.contact-primary-address address {
    color:
        var(--text);

    font-style: normal;

    line-height: 1.65;
}

.contact-primary-address strong {
    display: block;

    margin-bottom: 4px;

    color: var(--ink);
}

.contact-office-detail {
    padding:
        17px 0;

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

.contact-office-detail small {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: .64rem;
    font-weight: 750;

    letter-spacing: .08em;
}

.contact-office-detail a {
    color:
        var(--ink);

    font-size: .88rem;
    font-weight: 650;
}

.contact-primary-actions {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 24px;
}

.contact-primary-actions .pd-button {
    min-height: 43px;

    padding:
        0 16px;

    font-size: .8rem;
}

.contact-simple-link {
    color:
        var(--green);

    font-size: .81rem;
    font-weight: 750;
}

.contact-tax-box {
    margin-top: 27px;

    padding: 22px;

    background:
        linear-gradient(
            135deg,
            var(--green-deep),
            var(--green)
        );

    border-radius: 13px;
}

.contact-tax-box > span,
.contact-tax-box > strong,
.contact-tax-box > a {
    display: block;
}

.contact-tax-box > span {
    margin-bottom: 7px;

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

    font-size: .63rem;
    font-weight: 800;

    letter-spacing: .1em;
}

.contact-tax-box > strong {
    margin-bottom: 13px;

    color: #fff;

    font-size: 1rem;
}

.contact-tax-box > a {
    color:
        #fff;

    font-size: .79rem;
    font-weight: 750;
}


/* ------------------------------------------------------
   OTHER OFFICES
   ------------------------------------------------------ */

.contact-other-offices {
    padding:
        90px 0 100px;

    background: #fff;
}

.contact-other-heading {
    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 55px;

    margin-bottom: 39px;
}

.contact-other-heading h2 {
    margin-bottom: 0;
}

.contact-other-heading > p {
    max-width: 440px;

    margin-bottom: 4px;

    color: var(--muted);
}

.contact-other-grid {
    display: grid;

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

    gap: 18px;
}

.contact-other-card {
    min-height: 285px;

    padding: 28px;

    background:
        #fff;

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

    border-radius: 17px;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.contact-other-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(25,82,39,.23);

    box-shadow:
        0 20px 45px rgba(13,55,26,.085);
}

.contact-location-number {
    display: block;

    margin-bottom: 32px;

    color:
        rgba(25,82,39,.56);

    font-size: 1.45rem;
    font-weight: 350;
}

.contact-other-card > small {
    display: block;

    margin-bottom: 8px;

    color:
        var(--green);

    font-size: .65rem;
    font-weight: 800;

    letter-spacing: .09em;
}

.contact-other-card h3 {
    margin-bottom: 13px;

    font-size: 1.18rem;
}

.contact-other-card p {
    margin-bottom: 12px;

    color: var(--text);

    font-size: .86rem;

    line-height: 1.65;
}

.contact-other-card
.contact-location-meta {
    color:
        var(--muted);
}

.contact-other-card > a {
    display: inline-block;

    margin-top: 8px;

    color:
        var(--green);

    font-size: .8rem;
    font-weight: 750;
}


/* ------------------------------------------------------
   REMOVE OLD DUPLICATE PRESENTATION
   ------------------------------------------------------ */

.contact-premium-main,
.contact-final-cta {
    display: none !important;
}


/* ------------------------------------------------------
   TABLET
   ------------------------------------------------------ */

@media (max-width: 950px) {

    .contact-rebuilt-heading,
    .contact-other-heading {
        display: block;
    }

    .contact-rebuilt-heading > p,
    .contact-other-heading > p {
        margin-top: 15px;
    }

    .contact-rebuilt-grid {
        grid-template-columns:
            1fr;
    }

    .contact-primary-office {
        max-width: none;
    }

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

    .contact-other-card:last-child {
        grid-column:
            1 / -1;
    }
}


/* ------------------------------------------------------
   MOBILE
   ------------------------------------------------------ */

@media (max-width: 600px) {

    .contact-rebuilt-main {
        padding:
            70px 0 75px;
    }

    .contact-form-card,
    .contact-primary-office {
        padding:
            25px 21px;

        border-radius: 15px;
    }

    .contact-primary-actions {
        align-items: stretch;

        flex-direction: column;
    }

    .contact-primary-actions .pd-button {
        width: 100%;
    }

    .contact-other-offices {
        padding:
            65px 0 70px;
    }

    .contact-other-grid {
        grid-template-columns:
            1fr;
    }

    .contact-other-card,
    .contact-other-card:last-child {
        grid-column: auto;

        min-height: 0;
    }
}


/* PETERDENG CONTACT RHYTHM START */

/* ======================================================
   CONTACT PAGE — CONSISTENT TYPOGRAPHY SCALE
   ====================================================== */

body.page-contact-us {

    --contact-h1:
        clamp(2.7rem, 4.8vw, 4.75rem);

    --contact-h2:
        clamp(2rem, 3.2vw, 3rem);

    --contact-h3:
        clamp(1.15rem, 1.6vw, 1.45rem);

    --contact-body:
        clamp(.88rem, .15vw + .84rem, .98rem);
}


/* H1 */

body.page-contact-us
.contact-premium-intro h1 {
    max-width: 700px;

    font-size:
        var(--contact-h1);

    line-height: 1.01;

    letter-spacing: -.05em;
}


/* H2 */

body.page-contact-us
.contact-rebuilt-heading h2,

body.page-contact-us
.contact-other-heading h2,

body.page-contact-us
.contact-office-copy h2,

body.page-contact-us
.pd-prefooter h2 {
    font-size:
        var(--contact-h2);

    line-height: 1.08;

    letter-spacing: -.04em;
}


/* H3 */

body.page-contact-us
.contact-card-heading h3,

body.page-contact-us
.contact-other-card h3,

body.page-contact-us
.contact-tax-box strong {
    font-size:
        var(--contact-h3);

    line-height: 1.22;

    letter-spacing: -.025em;
}


/* BODY TEXT */

body.page-contact-us
.contact-premium-intro > p,

body.page-contact-us
.contact-rebuilt-heading > p,

body.page-contact-us
.contact-other-heading > p,

body.page-contact-us
.contact-office-copy > p,

body.page-contact-us
.contact-other-card p,

body.page-contact-us
.contact-primary-address,

body.page-contact-us
.contact-live-form {
    font-size:
        var(--contact-body);
}


/* ======================================================
   CONTACT PAGE — TIGHTER SECTION RHYTHM
   ====================================================== */

/* HERO */

body.page-contact-us
.contact-premium-hero {
    padding:
        72px 0 74px;
}


/* QUICK CONTACT */

body.page-contact-us
.contact-quick-grid > a {
    min-height: 76px;

    padding:
        14px 20px;
}


/* FORM AREA */

body.page-contact-us
.contact-rebuilt-main {
    padding:
        68px 0 74px;
}

body.page-contact-us
.contact-rebuilt-heading {
    margin-bottom: 30px;
}

body.page-contact-us
.contact-rebuilt-grid {
    gap: 18px;
}


/* FORM / OFFICE CARDS */

body.page-contact-us
.contact-form-card,

body.page-contact-us
.contact-primary-office {
    padding:
        28px;
}

body.page-contact-us
.contact-card-heading {
    margin-bottom: 24px;
}


/* OTHER OFFICES */

body.page-contact-us
.contact-other-offices {
    padding:
        66px 0 72px;
}

body.page-contact-us
.contact-other-heading {
    margin-bottom: 28px;
}


/*
 * Once the right-side descriptive paragraph is removed,
 * keep this heading area compact.
 */
body.page-contact-us
.contact-other-heading {
    display: block;
}

body.page-contact-us
.contact-other-heading > div {
    max-width: 620px;
}


body.page-contact-us
.contact-other-grid {
    gap: 16px;
}

body.page-contact-us
.contact-other-card {
    min-height: 245px;

    padding:
        25px;
}

body.page-contact-us
.contact-location-number {
    margin-bottom: 24px;
}


/* BURLINGTON FEATURE */

body.page-contact-us
.contact-office-feature {
    padding:
        68px 0;
}

body.page-contact-us
.contact-office-grid {
    gap: 65px;
}

body.page-contact-us
.contact-office-art {
    min-height: 235px;
}


/* GLOBAL FOOTER CTA */

body.page-contact-us
.pd-prefooter {
    padding:
        48px 0;
}


/* FOOTER */

body.page-contact-us
.pd-footer {
    padding-top:
        58px;
}

body.page-contact-us
.pd-footer-grid {
    padding-bottom:
        48px;
}


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

@media (max-width: 950px) {

    body.page-contact-us {

        --contact-h1:
            clamp(2.6rem, 7vw, 4rem);

        --contact-h2:
            clamp(1.9rem, 5vw, 2.7rem);

        --contact-h3:
            clamp(1.1rem, 3vw, 1.35rem);
    }

    body.page-contact-us
    .contact-premium-hero {
        padding:
            62px 0 65px;
    }

    body.page-contact-us
    .contact-rebuilt-main {
        padding:
            58px 0 64px;
    }

    body.page-contact-us
    .contact-other-offices {
        padding:
            58px 0 64px;
    }

    body.page-contact-us
    .contact-office-feature {
        padding:
            58px 0;
    }
}


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

@media (max-width: 600px) {

    body.page-contact-us {

        --contact-h1: 2.55rem;
        --contact-h2: 2rem;
        --contact-h3: 1.15rem;
        --contact-body: .9rem;
    }

    body.page-contact-us
    .contact-premium-hero {
        padding:
            52px 0 55px;
    }

    body.page-contact-us
    .contact-premium-intro h1 {
        margin-bottom:
            17px;
    }

    body.page-contact-us
    .contact-premium-intro > p {
        margin-bottom:
            23px;
    }

    body.page-contact-us
    .contact-quick-grid > a {
        min-height:
            68px;

        padding:
            12px 17px;
    }

    body.page-contact-us
    .contact-rebuilt-main {
        padding:
            48px 0 52px;
    }

    body.page-contact-us
    .contact-rebuilt-heading {
        margin-bottom:
            24px;
    }

    body.page-contact-us
    .contact-form-card,

    body.page-contact-us
    .contact-primary-office {
        padding:
            22px 19px;
    }

    body.page-contact-us
    .contact-other-offices {
        padding:
            48px 0 52px;
    }

    body.page-contact-us
    .contact-other-heading {
        margin-bottom:
            22px;
    }

    body.page-contact-us
    .contact-other-card {
        min-height: 0;

        padding:
            22px;
    }

    body.page-contact-us
    .contact-office-feature {
        padding:
            50px 0;
    }

    body.page-contact-us
    .contact-office-art {
        min-height:
            190px;
    }

    body.page-contact-us
    .pd-prefooter {
        padding:
            40px 0;
    }

    body.page-contact-us
    .pd-footer {
        padding-top:
            48px;
    }
}

/* PETERDENG CONTACT RHYTHM END */

