/* The Drain Team Enquiry Hub — scoped contact page styles */

body article.entry:has(.tdt-contact-page) {
    margin-bottom: 0 !important;
}

body article.entry:has(.tdt-contact-page) > .entry-content-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body .entry-content.single-content:has(> .tdt-contact-page),
body .entry-content.single-content:has(> p > .tdt-contact-page) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body .entry-content.single-content > .tdt-contact-page,
body .entry-content.single-content > p > .tdt-contact-page {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
}

.tdt-contact-page,
.tdt-contact-page *,
.tdt-contact-page *::before,
.tdt-contact-page *::after {
    box-sizing: border-box;
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
}

.tdt-contact-page {
    --tdt-red: #ed0000;
    --tdt-red-dark: #b90000;
    --tdt-ink: #211b1a;
    --tdt-ink-deep: #171211;
    --tdt-body: #514846;
    --tdt-muted: #746966;
    --tdt-paper: #f8f4f3;
    --tdt-white: #fff;
    --tdt-line: rgba(33, 27, 26, .13);
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    background: var(--tdt-paper);
    color: var(--tdt-ink);
}

.tdt-contact-page h1,
.tdt-contact-page h2,
.tdt-contact-page h3,
.tdt-contact-page p,
.tdt-contact-page ul,
.tdt-contact-page ol,
.tdt-contact-page dl,
.tdt-contact-page dd,
.tdt-contact-page fieldset,
.tdt-contact-page legend {
    margin-top: 0;
}

.tdt-contact-page h1,
.tdt-contact-page h2,
.tdt-contact-page h3 {
    text-wrap: balance;
}

.tdt-contact-page p {
    text-wrap: pretty;
}

.tdt-contact-page a {
    color: inherit;
}

.tdt-contact-container {
    width: min(100%, 1450px);
    margin: 0 auto;
    padding-right: clamp(20px, 4vw, 58px);
    padding-left: clamp(20px, 4vw, 58px);
}

.tdt-contact-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 13% 10%, rgba(237, 0, 0, .19), transparent 29%),
        radial-gradient(circle at 92% 72%, rgba(237, 0, 0, .1), transparent 34%),
        linear-gradient(120deg, #15100f, #2b2220 68%, #1d1716);
    color: var(--tdt-white);
}

.tdt-contact-hero::before {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 62px 62px;
    content: "";
    pointer-events: none;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.tdt-contact-hero::after {
    position: absolute;
    right: -180px;
    top: 190px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(255,255,255,.022), 0 0 0 160px rgba(255,255,255,.014);
    content: "";
    pointer-events: none;
}

.tdt-contact-breadcrumbs {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 8px;
    align-items: center;
    width: min(100%, 1450px);
    margin: 0 auto;
    padding: 20px clamp(20px, 4vw, 58px);
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    line-height: 1.4;
}

.tdt-contact-breadcrumbs a {
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.tdt-contact-breadcrumbs span[aria-hidden="true"] {
    color: var(--tdt-red);
}

.tdt-contact-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
    gap: clamp(42px, 6vw, 92px);
    align-items: start;
    padding-top: clamp(58px, 7vw, 96px);
    padding-bottom: clamp(72px, 8vw, 116px);
}

.tdt-contact-intro {
    position: sticky;
    top: 36px;
    padding-top: 24px;
}

.tdt-contact-eyebrow,
.tdt-intake-kicker {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: var(--tdt-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.tdt-contact-eyebrow::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.tdt-contact-intro > .tdt-contact-eyebrow {
    color: #fff;
}

.tdt-contact-intro h1 {
    max-width: 720px;
    margin: 17px 0 0;
    color: #fff;
    font-size: clamp(43px, 5.25vw, 75px);
    font-weight: 780;
    letter-spacing: -.058em;
    line-height: .98;
}

.tdt-contact-intro h1 span {
    color: var(--tdt-red);
}

.tdt-contact-lead {
    max-width: 690px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.76;
}

.tdt-contact-promise {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 32px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .055);
    backdrop-filter: blur(8px);
}

.tdt-contact-status-dot {
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    margin-top: 5px;
    border: 2px solid #171211;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, .17);
}

.tdt-contact-promise strong {
    display: block;
    color: #fff;
    font-size: 13px;
}

.tdt-contact-promise p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    line-height: 1.55;
}

.tdt-contact-emergency {
    display: grid;
    gap: 8px;
    margin-top: 17px;
    padding: 20px;
    border-left: 3px solid var(--tdt-red);
    border-radius: 4px 14px 14px 4px;
    background: rgba(237, 0, 0, .1);
}

.tdt-contact-emergency > span {
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.5;
}

.tdt-contact-emergency > a {
    color: #fff !important;
    font-size: 20px;
    font-weight: 780;
    letter-spacing: -.02em;
    text-decoration: none !important;
}

.tdt-contact-emergency small {
    color: rgba(255, 255, 255, .54);
    font-size: 10px;
    line-height: 1.55;
}

.tdt-contact-trust {
    display: grid;
    gap: 10px;
    margin: 25px 0 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, .66);
    font-size: 11px;
    font-weight: 650;
    list-style: none !important;
}

.tdt-contact-trust li {
    position: relative;
    margin: 0 !important;
    padding: 0 0 0 22px !important;
    list-style: none !important;
}

.tdt-contact-trust li::before {
    position: absolute;
    left: 0;
    color: var(--tdt-red);
    content: "✓";
    font-weight: 900;
}

.tdt-intake-shell {
    position: relative;
    min-width: 0;
    padding: clamp(25px, 3vw, 42px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 27px;
    background: rgba(255, 255, 255, .975);
    box-shadow: 0 36px 90px rgba(0, 0, 0, .34);
    color: var(--tdt-ink);
}

.tdt-intake-shell::before {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 38px;
    height: 5px;
    border-radius: 99px;
    background: var(--tdt-red);
    content: "";
}

.tdt-intake-heading {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: space-between;
    padding-right: 52px;
}

.tdt-intake-heading h2 {
    margin: 8px 0 0;
    color: var(--tdt-ink);
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 780;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.tdt-intake-time {
    flex: 0 0 auto;
    color: var(--tdt-muted);
    font-size: 10px;
    font-weight: 700;
}

.tdt-intake-progress {
    height: 4px;
    margin-top: 28px;
    overflow: hidden;
    border-radius: 99px;
    background: #eee7e5;
}

.tdt-intake-progress span {
    display: block;
    width: 33.333%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--tdt-red-dark), #ff2b2b);
    transition: width .35s ease;
}

.tdt-intake-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 16px 0 30px !important;
    padding: 0 !important;
    color: #948886;
    font-size: 10px;
    font-weight: 750;
    list-style: none !important;
}

.tdt-intake-steps li {
    display: flex;
    gap: 7px;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.tdt-intake-steps li:nth-child(2) {
    justify-content: center;
}

.tdt-intake-steps li:nth-child(3) {
    justify-content: flex-end;
}

.tdt-intake-steps li span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eee7e5;
    color: #766b69;
    font-size: 9px;
}

.tdt-intake-steps li.is-active,
.tdt-intake-steps li.is-complete {
    color: var(--tdt-ink);
}

.tdt-intake-steps li.is-active span {
    background: var(--tdt-red);
    color: #fff;
}

.tdt-intake-steps li.is-complete span {
    background: var(--tdt-ink);
    color: #fff;
}

.tdt-intake-panel {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.tdt-intake-form.tdt-is-enhanced .tdt-intake-panel[hidden] {
    display: none !important;
}

.tdt-intake-form:not(.tdt-is-enhanced) [data-tdt-next],
.tdt-intake-form:not(.tdt-is-enhanced) [data-tdt-back] {
    display: none !important;
}

.tdt-intake-panel legend {
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--tdt-ink);
    font-size: 19px;
    font-weight: 780;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.tdt-intake-help {
    margin: 7px 0 24px;
    color: var(--tdt-muted);
    font-size: 12px;
    line-height: 1.6;
}

.tdt-field,
.tdt-upload {
    margin-top: 20px;
}

.tdt-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.tdt-field-grid .tdt-field {
    margin-top: 0;
}

.tdt-field-wide {
    grid-column: 1 / -1;
}

.tdt-field label,
.tdt-field-label {
    display: block;
    margin-bottom: 8px;
    color: #302826;
    font-size: 11px;
    font-weight: 760;
    line-height: 1.4;
}

.tdt-field > label > span,
.tdt-field-label > span {
    color: var(--tdt-red);
}

.tdt-field label .tdt-optional {
    margin-left: 5px;
    color: #948886;
    font-size: 9px;
    font-weight: 650;
}

.tdt-field input,
.tdt-field select,
.tdt-field textarea {
    width: 100% !important;
    min-height: 49px;
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #d9d0ce !important;
    border-radius: 10px !important;
    outline: 0;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--tdt-ink) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tdt-field textarea {
    min-height: 104px;
    resize: vertical;
}

.tdt-field input:focus,
.tdt-field select:focus,
.tdt-field textarea:focus {
    border-color: var(--tdt-red) !important;
    box-shadow: 0 0 0 3px rgba(237, 0, 0, .1) !important;
}

.tdt-field input::placeholder,
.tdt-field textarea::placeholder {
    color: #a49a98;
}

.tdt-field small {
    display: block;
    margin-top: 6px;
    color: #8f8582;
    font-size: 9px;
    line-height: 1.5;
}

.tdt-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.tdt-choice-grid-contact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tdt-choice {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.tdt-choice input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
}

.tdt-choice span {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #ddd5d3;
    border-radius: 10px;
    background: #fff;
    color: #5e5452;
    font-size: 10px;
    font-weight: 680;
    line-height: 1.35;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.tdt-choice span::before {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border: 1px solid #bcb2b0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px #fff;
    content: "";
}

.tdt-choice:hover span {
    transform: translateY(-1px);
    border-color: #c4b9b6;
}

.tdt-choice input:checked + span {
    border-color: rgba(237, 0, 0, .55);
    background: rgba(237, 0, 0, .045);
    color: var(--tdt-ink);
}

.tdt-choice input:checked + span::before {
    border-color: var(--tdt-red);
    background: var(--tdt-red);
}

.tdt-choice input:focus-visible + span {
    outline: 3px solid rgba(237, 0, 0, .22);
    outline-offset: 2px;
}

.tdt-live-emergency {
    display: grid;
    gap: 5px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(237, 0, 0, .2);
    border-radius: 11px;
    background: rgba(237, 0, 0, .06);
    color: var(--tdt-body);
    font-size: 10px;
    line-height: 1.55;
}

.tdt-live-emergency[hidden] {
    display: none;
}

.tdt-live-emergency strong {
    color: var(--tdt-red-dark);
    font-size: 11px;
}

.tdt-live-emergency a {
    color: var(--tdt-red-dark) !important;
    font-weight: 800;
}

.tdt-upload {
    padding: 18px;
    border: 1px dashed #cfc3c1;
    border-radius: 13px;
    background: #faf7f6;
}

.tdt-upload label {
    display: flex;
    gap: 7px;
    flex-direction: column;
    margin-bottom: 12px;
    cursor: pointer;
}

.tdt-upload label strong {
    color: var(--tdt-ink);
    font-size: 12px;
}

.tdt-upload label span,
.tdt-upload-feedback {
    color: var(--tdt-muted);
    font-size: 9px;
    line-height: 1.5;
}

.tdt-upload input[type="file"] {
    width: 100%;
    color: var(--tdt-body);
    font-size: 10px;
}

.tdt-upload input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 8px 11px;
    border: 0;
    border-radius: 8px;
    background: var(--tdt-ink);
    color: #fff;
    cursor: pointer;
    font-size: 9px;
    font-weight: 750;
}

.tdt-upload-feedback {
    margin-top: 10px;
}

.tdt-upload-feedback.is-error {
    color: var(--tdt-red-dark);
    font-weight: 700;
}

.tdt-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    margin-top: 20px;
    color: var(--tdt-muted);
    cursor: pointer;
    font-size: 9px;
    line-height: 1.55;
}

.tdt-consent input {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    accent-color: var(--tdt-red);
}

.tdt-consent a {
    color: var(--tdt-red-dark) !important;
    font-weight: 750;
}

.tdt-contact-button {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-height: 51px;
    margin: 0 !important;
    padding: 13px 19px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    cursor: pointer;
    font-size: 11px !important;
    font-weight: 780 !important;
    line-height: 1.3 !important;
    text-align: center;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tdt-contact-button:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
}

.tdt-contact-button-primary {
    background: linear-gradient(135deg, #ff2424, var(--tdt-red-dark)) !important;
    box-shadow: 0 13px 30px rgba(237, 0, 0, .23);
    color: #fff !important;
}

.tdt-contact-button-quiet {
    border-color: #d8cfcd !important;
    background: #fff !important;
    color: var(--tdt-ink) !important;
}

.tdt-contact-button:focus-visible,
.tdt-contact-page a:focus-visible {
    outline: 3px solid rgba(237, 0, 0, .35);
    outline-offset: 3px;
}

.tdt-contact-button[disabled] {
    transform: none;
    opacity: .62;
    cursor: wait;
}

.tdt-step-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: 27px;
    padding-top: 22px;
    border-top: 1px solid #eee7e5;
}

.tdt-form-footnote {
    margin: 13px 0 0;
    color: #8f8582;
    font-size: 8px;
    line-height: 1.5;
    text-align: right;
}

.tdt-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.tdt-form-errors {
    margin: 0 0 22px;
    padding: 14px 17px;
    border: 1px solid rgba(185, 0, 0, .24);
    border-radius: 11px;
    background: rgba(237, 0, 0, .055);
    color: #691111;
    font-size: 10px;
    line-height: 1.55;
}

.tdt-form-errors ul {
    margin: 7px 0 0 !important;
    padding-left: 17px !important;
}

.tdt-intake-success {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 540px;
    outline: 0;
}

.tdt-success-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 27px;
    border-radius: 17px;
    background: rgba(46, 150, 84, .11);
    color: #17723a;
    font-size: 26px;
    font-weight: 800;
}

.tdt-intake-success h2 {
    margin: 11px 0 0;
    color: var(--tdt-ink);
    font-size: clamp(31px, 4vw, 48px);
    font-weight: 780;
    letter-spacing: -.05em;
    line-height: 1.07;
}

.tdt-intake-success h2 span {
    display: block;
    margin-top: 7px;
    color: var(--tdt-red);
}

.tdt-intake-success > p {
    max-width: 540px;
    margin: 19px 0 0;
    color: var(--tdt-body);
    font-size: 13px;
    line-height: 1.75;
}

.tdt-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.tdt-intake-success .tdt-success-note {
    margin-top: 23px;
    padding-top: 18px;
    border-top: 1px solid #eee7e5;
    font-size: 10px;
}

.tdt-contact-support {
    padding: clamp(76px, 8vw, 116px) 0;
    background: var(--tdt-paper);
}

.tdt-contact-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, .65fr);
    gap: clamp(34px, 7vw, 100px);
    align-items: end;
    margin-bottom: 40px;
}

.tdt-contact-section-heading h2,
.tdt-location-copy h2 {
    margin: 10px 0 0;
    color: var(--tdt-ink);
    font-size: clamp(35px, 4.6vw, 62px);
    font-weight: 780;
    letter-spacing: -.052em;
    line-height: 1.03;
}

.tdt-contact-section-heading > p {
    margin: 0;
    color: var(--tdt-muted);
    font-size: 14px;
    line-height: 1.78;
}

.tdt-contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tdt-contact-detail-grid article {
    min-height: 245px;
    padding: 29px;
    border: 1px solid var(--tdt-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 42px rgba(33, 27, 26, .055);
}

.tdt-contact-detail-grid article > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(237, 0, 0, .075);
    color: var(--tdt-red);
    font-size: 10px;
    font-weight: 850;
}

.tdt-contact-detail-grid h3 {
    margin: 45px 0 0;
    color: var(--tdt-ink);
    font-size: 20px;
    font-weight: 760;
    letter-spacing: -.03em;
}

.tdt-contact-detail-grid p {
    margin: 12px 0 0;
    color: var(--tdt-muted);
    font-size: 12px;
    line-height: 1.7;
}

.tdt-contact-location {
    padding: clamp(76px, 8vw, 116px) 0;
    background: #fff;
}

.tdt-location-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr);
    gap: clamp(45px, 7vw, 100px);
    align-items: stretch;
}

.tdt-location-copy > p {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--tdt-body);
    font-size: 14px;
    line-height: 1.76;
}

.tdt-location-copy dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 31px 0 0;
    overflow: hidden;
    border: 1px solid var(--tdt-line);
    border-radius: 15px;
    background: var(--tdt-line);
}

.tdt-location-copy dl > div {
    min-width: 0;
    padding: 17px;
    background: var(--tdt-paper);
}

.tdt-location-copy dt {
    margin-bottom: 6px;
    color: var(--tdt-red);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tdt-location-copy dd {
    margin: 0;
    color: var(--tdt-ink);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.tdt-location-copy dd a {
    color: var(--tdt-ink) !important;
    text-decoration: none !important;
}

.tdt-location-map {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 23px;
    background: #e8e3e1;
    box-shadow: 0 23px 60px rgba(33, 27, 26, .15);
}

.tdt-location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    filter: saturate(.62) contrast(1.05);
}

.tdt-location-map > a {
    position: absolute;
    right: 17px;
    bottom: 17px;
    padding: 11px 14px;
    border-radius: 9px;
    background: rgba(24, 18, 17, .91);
    box-shadow: 0 10px 25px rgba(0,0,0,.22);
    color: #fff !important;
    font-size: 9px;
    font-weight: 750;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
}

@media (max-width: 1120px) {
    .tdt-contact-hero-grid,
    .tdt-location-grid {
        grid-template-columns: 1fr;
    }

    .tdt-contact-intro {
        position: relative;
        top: auto;
        max-width: 840px;
        margin: 0 auto;
        padding-top: 0;
        text-align: center;
    }

    .tdt-contact-lead {
        margin-right: auto;
        margin-left: auto;
    }

    .tdt-contact-promise,
    .tdt-contact-emergency,
    .tdt-contact-trust {
        max-width: 690px;
        margin-right: auto !important;
        margin-left: auto !important;
        text-align: left;
    }

    .tdt-intake-shell {
        width: min(100%, 820px);
        margin: 0 auto;
    }

    .tdt-location-copy {
        max-width: 820px;
    }
}

@media (max-width: 760px) {
    .tdt-contact-section-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

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

    .tdt-contact-detail-grid article {
        min-height: 210px;
    }

    .tdt-contact-detail-grid h3 {
        margin-top: 30px;
    }
}

@media (max-width: 620px) {
    .tdt-contact-breadcrumbs {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .tdt-contact-hero-grid {
        padding-top: 45px;
        padding-bottom: 74px;
    }

    .tdt-contact-intro h1 {
        font-size: clamp(36px, 11vw, 50px);
        letter-spacing: -.047em;
    }

    .tdt-contact-lead {
        font-size: 14px;
        line-height: 1.68;
    }

    .tdt-intake-shell {
        padding: 24px 19px;
        border-radius: 20px;
    }

    .tdt-intake-shell::before {
        top: 18px;
        right: 18px;
        width: 27px;
    }

    .tdt-intake-heading {
        display: block;
        padding-right: 34px;
    }

    .tdt-intake-time {
        display: block;
        margin-top: 7px;
    }

    .tdt-intake-steps {
        font-size: 8px;
    }

    .tdt-field-grid,
    .tdt-choice-grid,
    .tdt-choice-grid-contact,
    .tdt-location-copy dl {
        grid-template-columns: 1fr;
    }

    .tdt-step-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .tdt-step-actions > span:empty {
        display: none;
    }

    .tdt-contact-button {
        width: 100%;
    }

    .tdt-form-footnote {
        text-align: left;
    }

    .tdt-success-actions {
        width: 100%;
    }

    .tdt-location-map,
    .tdt-location-map iframe {
        min-height: 390px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tdt-contact-page *,
    .tdt-contact-page *::before,
    .tdt-contact-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
