/* ==========================================================================
   Footer — footer.php + inc/footer-customizer.php
   Images, accent colour and overlay arrive as custom properties set inline
   on <footer class="dhm-footer"> from the Customizer.
   ========================================================================== */

.dhm-footer {
    --dhm-footer-accent: #14ddf1;
    --dhm-footer-accent-ink: #04212b;
    --dhm-footer-base: #051419;
    --dhm-footer-text: #e2eaed;
    --dhm-footer-muted: #a9b9be;
    --dhm-footer-line: rgba(255, 255, 255, 0.14);
    --dhm-footer-field: rgba(7, 26, 33, 0.72);
    --dhm-footer-overlay: 0.2;
    --dhm-footer-script: "Yellowtail", "Brush Script MT", cursive;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-color: var(--dhm-footer-base);
    color: var(--dhm-footer-text);
    font-family: "DMSans", sans-serif;
    font-size: 17px;
    line-height: 1.55;
}


/* Neutralise the theme's global p / h2 / a rules inside the footer.
   :where() keeps these at single-class weight so the rules below win. */

.dhm-footer :where(p, h2, ul, li) {
    margin: 0;
}

.dhm-footer :where(p) {
    font-size: inherit;
    line-height: inherit;
}

.dhm-footer :where(a) {
    color: inherit;
    line-height: inherit;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.dhm-footer :where(a):hover {
    color: var(--dhm-footer-accent);
}

.dhm-footer a:focus-visible,
.dhm-footer button:focus-visible {
    outline: 2px solid var(--dhm-footer-accent) !important;
    outline-offset: 3px;
}

.dhm-footer .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.dhm-footer__container {
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
    padding-inline: 40px;
}

.dhm-footer__container--wide {
    max-width: 1760px;
}


/* ---------- Main area ---------- */

.dhm-footer__main {
    position: relative;
    padding-block: 64px 44px;
}

.dhm-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
}

.dhm-footer__title {
    position: relative;
    margin-bottom: 34px;
    padding-bottom: 18px;
    color: #fff;
    font-family: "DMSans", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.dhm-footer__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 3px;
    border-radius: 3px;
    background: var(--dhm-footer-accent);
}


/* ---------- Brand column ---------- */

.dhm-footer__logo {
    display: inline-block;
    max-width: 270px;
}

.dhm-footer__logo-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 110px;
}

.dhm-footer__logo-img--invert {
    filter: brightness(0) invert(1);
}

.dhm-footer__logo-text {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}

.dhm-footer__company {
    margin-top: 22px;
    color: #fff;
    font-weight: 700;
}

.dhm-footer__about {
    max-width: 330px;
    margin-top: 18px;
}

.dhm-footer__rule {
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 30px;
    border-radius: 3px;
    background: var(--dhm-footer-accent);
}

.dhm-footer__script {
    position: relative;
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin-top: 30px;
    padding: 0 0 20px 26px;
    color: var(--dhm-footer-accent);
    font-family: var(--dhm-footer-script);
    font-size: 46px;
    line-height: 1;
    transform: rotate(-8deg);
    transform-origin: left center;
}

.dhm-footer__script-two {
    margin-left: 44px;
}

.dhm-footer__swoosh {
    position: absolute;
    right: -8px;
    bottom: 0;
    width: 118px;
    height: auto;
}

.dhm-footer__social {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin-top: 34px;
}

.dhm-footer__social-list {
    display: flex;
    gap: 22px;
}

.dhm-footer__social-list a {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(3, 13, 18, 0.35);
    color: #fff;
    font-size: 22px;
}

.dhm-footer__social-list a:hover {
    border-color: var(--dhm-footer-accent);
    background: var(--dhm-footer-accent);
    color: var(--dhm-footer-accent-ink);
}

.dhm-footer__follow {
    align-self: stretch;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}


/* ---------- Quick links ---------- */

.dhm-footer__menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dhm-footer__menu>li>a {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-block: 7px;
    color: var(--dhm-footer-text);
}

.dhm-footer__menu>li>a::before {
    content: "\f054";
    color: var(--dhm-footer-accent);
    font-family: "Font Awesome 5 Pro";
    font-size: 13px;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.dhm-footer__menu>li>a:hover::before {
    transform: translateX(4px);
}

.dhm-footer__menu>.dhm-footer__menu-item--book {
    margin-block: 8px;
}

.dhm-footer__book {
    display: inline-flex;
    align-items: stretch;
    margin-left: -8px;
    overflow: hidden;
    border: 1.5px solid var(--dhm-footer-accent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--dhm-footer-accent) 7%, transparent);
    box-shadow: 0 0 18px color-mix(in srgb, var(--dhm-footer-accent) 18%, transparent);
}

.dhm-footer__book a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-weight: 600;
    white-space: nowrap;
}

.dhm-footer__book-link {
    color: #fff;
}

.dhm-footer__book-link i,
.dhm-footer__book-cta {
    color: var(--dhm-footer-accent);
}

.dhm-footer__book-cta {
    border-left: 1px solid color-mix(in srgb, var(--dhm-footer-accent) 50%, transparent);
}

.dhm-footer__book-link:hover {
    background: color-mix(in srgb, var(--dhm-footer-accent) 14%, transparent);
    color: #fff;
}

.dhm-footer__book-cta:hover {
    background: var(--dhm-footer-accent);
    color: var(--dhm-footer-accent-ink);
}


/* ---------- Contact info ---------- */

.dhm-footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dhm-footer__contact-list li,
.dhm-footer__hours {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dhm-footer__contact-list li> :last-child,
.dhm-footer__hours> :last-child {
    min-width: 0;
    overflow-wrap: break-word;
}

.dhm-footer__contact-list a {
    color: var(--dhm-footer-text);
}

.dhm-footer__icon {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--dhm-footer-accent) 14%, #07202a);
    color: var(--dhm-footer-accent);
    font-size: 19px;
}

.dhm-footer__stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dhm-footer__hours {
    max-width: 310px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.dhm-footer__hours-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.dhm-footer__hours-time {
    margin-top: 4px;
    font-size: 15px;
}

.dhm-footer__sep {
    margin-inline: 8px;
    opacity: 0.7;
}


/* ---------- Send us a message ---------- */

.dhm-footer__form .dhm-footer__title {
    margin-bottom: 20px;
}

.dhm-footer__form-text {
    margin-bottom: 22px;
    font-size: 16px;
}

.dhm-footer .wpcf7 form {
    margin: 0;
}

.dhm-footer .wpcf7-form-control-wrap {
    display: block;
}

.dhm-footer .dhm-ff {
    display: grid;
    gap: 12px;
}

.dhm-footer .dhm-ff__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.dhm-footer .dhm-ff__field {
    position: relative;
}

.dhm-footer .dhm-ff :where(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid var(--dhm-footer-line);
    border-radius: 6px;
    background: var(--dhm-footer-field);
    box-shadow: none;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.dhm-footer .dhm-ff :where(input[type="text"], input[type="email"], input[type="tel"], select, textarea):focus {
    border-color: var(--dhm-footer-accent);
    outline: none;
    background-color: rgba(7, 26, 33, 0.92);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--dhm-footer-accent) 20%, transparent);
}

.dhm-footer .dhm-ff__field--icon :where(input, select, textarea) {
    padding-left: 48px;
}

.dhm-footer .dhm-ff textarea {
    height: 100px;
    min-height: 100px;
    padding-block: 12px;
    resize: vertical;
}

.dhm-footer .dhm-ff select {
    padding-right: 44px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.dhm-footer .dhm-ff select:has(option[value=""]:checked) {
    color: var(--dhm-footer-muted);
}

.dhm-footer .dhm-ff select option {
    background: #0b222a;
    color: #fff;
}

.dhm-footer .dhm-ff ::placeholder {
    color: var(--dhm-footer-muted);
    opacity: 1;
}

.dhm-footer .dhm-ff input:-webkit-autofill,
.dhm-footer .dhm-ff input:-webkit-autofill:hover,
.dhm-footer .dhm-ff input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px #0b222a inset !important;
    caret-color: #fff;
}


/* Field icons (Font Awesome 5 Pro, loaded by icons.css) */

.dhm-footer .dhm-ff__field--icon::before,
.dhm-footer .dhm-ff__field--select::after {
    position: absolute;
    z-index: 1;
    top: 24px;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.dhm-footer .dhm-ff__field--icon::before {
    left: 17px;
    color: #c7d2d6;
    font-size: 16px;
}

.dhm-footer .dhm-ff__field--name::before {
    content: "\f007";
    font-weight: 900;
}

.dhm-footer .dhm-ff__field--email::before {
    content: "\f0e0";
}

.dhm-footer .dhm-ff__field--service::before {
    content: "\f073";
}

.dhm-footer .dhm-ff__field--hear-about::before {
    content: "\f059";
}

.dhm-footer .dhm-ff__field--message::before {
    content: "\f4ad";
    top: 23px;
}

.dhm-footer .dhm-ff__field--select::after {
    content: "\f078";
    right: 16px;
    color: #fff;
    font-size: 13px;
}


/* Phone field (Country & Phone Field for CF7 → intl-tel-input). The plugin sizes
   the dial-code box per code length (iti-sdc-N); the widths below follow that. */

footer.dhm-footer .dhm-ff .intl-tel-input {
    display: block;
    width: 100%;
}

footer.dhm-footer .dhm-ff .intl-tel-input .flag-container {
    padding: 0;
}

footer.dhm-footer .dhm-ff .intl-tel-input.separate-dial-code .selected-flag {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 88px;
    height: 100%;
    padding: 0 28px 0 14px;
    border-right: 1px solid var(--dhm-footer-line);
    border-radius: 6px 0 0 6px;
    background: transparent;
}

footer.dhm-footer .dhm-ff .intl-tel-input .selected-flag .iti-flag {
    position: static;
    flex: 0 0 auto;
    margin: 0;
}

footer.dhm-footer .dhm-ff .intl-tel-input.separate-dial-code .selected-dial-code {
    display: block;
    padding: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

footer.dhm-footer .dhm-ff .intl-tel-input .selected-flag .iti-arrow {
    top: 50%;
    right: 12px;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border: 0;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(45deg);
}

footer.dhm-footer .dhm-ff .intl-tel-input .selected-flag .iti-arrow.up {
    margin-top: -1px;
    transform: rotate(-135deg);
}

footer.dhm-footer .dhm-ff .intl-tel-input.allow-dropdown .flag-container:hover .selected-flag {
    background: rgba(255, 255, 255, 0.04);
}

footer.dhm-footer .dhm-ff .intl-tel-input.separate-dial-code input[type="text"] {
    padding-left: 100px;
}

footer.dhm-footer .dhm-ff .intl-tel-input.separate-dial-code.iti-sdc-3 .selected-flag {
    width: 97px;
}

footer.dhm-footer .dhm-ff .intl-tel-input.separate-dial-code.iti-sdc-3 input[type="text"] {
    padding-left: 109px;
}

footer.dhm-footer .dhm-ff .intl-tel-input.separate-dial-code.iti-sdc-4 .selected-flag {
    width: 106px;
}

footer.dhm-footer .dhm-ff .intl-tel-input.separate-dial-code.iti-sdc-4 input[type="text"] {
    padding-left: 118px;
}

footer.dhm-footer .dhm-ff .intl-tel-input.separate-dial-code.iti-sdc-5 .selected-flag {
    width: 115px;
}

footer.dhm-footer .dhm-ff .intl-tel-input.separate-dial-code.iti-sdc-5 input[type="text"] {
    padding-left: 127px;
}

footer.dhm-footer .dhm-ff .intl-tel-input .country-list {
    z-index: 5;
    width: 320px;
    max-width: calc(100vw - 48px);
    max-height: 240px;
    margin: 6px 0 0;
    border: 1px solid var(--dhm-footer-line);
    border-radius: 8px;
    background: #0a1f27;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    color: var(--dhm-footer-text);
    font-size: 14px;
    white-space: normal;
}

footer.dhm-footer .dhm-ff .intl-tel-input .country-list.dropup {
    margin: 0 0 6px;
}

footer.dhm-footer .dhm-ff .intl-tel-input .country-list .country.highlight {
    background: color-mix(in srgb, var(--dhm-footer-accent) 16%, transparent);
}

footer.dhm-footer .dhm-ff .intl-tel-input .country-list .dial-code {
    color: var(--dhm-footer-muted);
}

footer.dhm-footer .dhm-ff .intl-tel-input .country-list .divider {
    border-color: var(--dhm-footer-line);
}


/* Math captcha (DS CF7 Math Captcha) */

.dhm-footer .dhm-ff .dscf7-captcha-container {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
}

.dhm-footer .dhm-ff .dscf7-captcha-container span.dscf7_lt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.dhm-footer .dhm-ff .dscf7-captcha-container .dscf7_question_text {
    padding: 0;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.dhm-footer .dhm-ff .dscf7-captcha-container .dscf7_svg_wrap {
    margin: 0;
}

.dhm-footer .dhm-ff .dscf7-captcha-container .dscf7_svg_wrap svg {
    height: 44px;
    max-width: 140px;
    padding: 3px 10px;
    border: 2px solid #fff;
    border-radius: 4px;
    background: #fff;
}

.dhm-footer .dhm-ff .dscf7-captcha-container span.dscf7_lt .dscf7_refresh_captcha {
    position: static;
    width: 28px;
    height: 28px;
}

.dhm-footer .dhm-ff .dscf7-captcha-container img.dscf7_captcha_icon {
    opacity: 0.85;
    filter: invert(1);
}

.dhm-footer .dhm-ff .dscf7-captcha-container span.wpcf7-form-control-wrap input {
    height: 46px;
    margin-top: 12px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    background: var(--dhm-footer-field);
    color: #fff;
    font-size: 16px;
}


/* Submit */

.dhm-footer .dhm-ff__submit {
    position: relative;
    margin-top: 4px;
}

.dhm-footer .dhm-ff .wpcf7-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 56px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--dhm-footer-accent);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--dhm-footer-accent) 22%, transparent);
    color: var(--dhm-footer-accent-ink);
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.dhm-footer .dhm-ff .wpcf7-submit i {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.dhm-footer .dhm-ff .wpcf7-submit:hover {
    background: #fff;
    transform: translateY(-1px);
}

.dhm-footer .dhm-ff .wpcf7-submit:hover i {
    transform: translateX(4px);
}

.dhm-footer .dhm-ff .wpcf7-submit:disabled {
    cursor: progress;
    opacity: 0.7;
    transform: none;
}

.dhm-footer .dhm-ff .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 18px;
    margin: -12px 0 0;
    background-color: var(--dhm-footer-accent-ink);
}


/* Validation & response */

.dhm-footer .dhm-ff .wpcf7-not-valid {
    border-color: #ff7b7b;
}

.dhm-footer .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #ff9a9a;
    font-size: 13px;
    line-height: 1.3;
}

.dhm-footer .wpcf7 form .wpcf7-response-output {
    margin: 14px 0 0;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--dhm-footer-text);
    font-size: 14px;
    line-height: 1.45;
}


/* ---------- Highlights strip ---------- */

.dhm-footer__features {
    position: relative;
    border-top: 1px solid color-mix(in srgb, var(--dhm-footer-accent) 22%, transparent);
    background: rgba(2, 11, 15, 0.55);
}

.dhm-footer__features-inner {
    display: flex;
    align-items: center;
    padding-block: 34px;
}

.dhm-footer__feature {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 0;
    padding-inline: 24px;
}

.dhm-footer__feature:first-child {
    justify-content: flex-start;
    padding-left: 0;
}

.dhm-footer__feature+.dhm-footer__feature,
.dhm-footer__quote {
    border-left: 1px solid var(--dhm-footer-line);
}

.dhm-footer__feature-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 56px;
    height: 56px;
    color: var(--dhm-footer-accent);
}

.dhm-footer__feature-icon svg,
.dhm-footer__feature-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dhm-footer__feature-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.dhm-footer__feature-text {
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.4;
}

.dhm-footer__quote {
    flex: 1.15 1 0;
    min-width: 0;
    padding-inline: 24px;
    text-align: center;
}

.dhm-footer__quote span {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    color: #fff;
    font-family: var(--dhm-footer-script);
    font-size: 32px;
    line-height: 1.15;
    transform: rotate(-4deg);
}

.dhm-footer__quote span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50px;
    height: 3px;
    border-radius: 3px;
    background: var(--dhm-footer-accent);
    transform: translateX(-50%);
}


/* ---------- Bottom bar ---------- */

.dhm-footer__bottom {
    border-top: 1px solid var(--dhm-footer-line);
    background: rgba(2, 10, 14, 0.7);
}

.dhm-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding-block: 26px;
}

.dhm-footer__copyright,
.dhm-footer__legal-list a {
    color: var(--dhm-footer-text);
    font-size: 16px;
}

.dhm-footer__legal-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    row-gap: 6px;
}

.dhm-footer__legal-list li {
    display: flex;
    align-items: center;
}

.dhm-footer__legal-list li+li::before {
    content: "";
    width: 1px;
    height: 16px;
    margin-inline: 20px;
    background: rgba(255, 255, 255, 0.55);
}


/* Set by assets/js/footer.js on the first link of each wrapped line */

.dhm-footer__legal-list li.is-line-start::before {
    display: none;
}

.dhm-footer__signoff {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dhm-footer__wave {
    flex-shrink: 0;
    width: 140px;
    height: auto;
    color: color-mix(in srgb, var(--dhm-footer-accent) 55%, #0b3a4a);
}

.dhm-footer__tagline {
    color: var(--dhm-footer-accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dhm-footer__tagline-dot {
    margin-inline: 14px;
}


/* ==========================================================================
   Responsive
   ========================================================================== */


/* Desktop background (the mobile image is only requested below 992px) */

@media (min-width: 992px) {
    .dhm-footer {
        background-image: linear-gradient(rgba(3, 13, 18, var(--dhm-footer-overlay)), rgba(3, 13, 18, var(--dhm-footer-overlay))), var(--dhm-footer-bg-desktop, none);
        background-position: left bottom;
        background-repeat: no-repeat;
        background-size: cover;
    }
}


/* Desktop: four columns */

@media (min-width: 1200px) {
    .dhm-footer__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 56px;
    }
    /* The desktop design has no service field; it stays on tablet and mobile. */
    /* .dhm-footer .dhm-ff__field--service {
        display: none;
    } */
}


/* Smaller desktops / laptops */

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .dhm-footer {
        font-size: 15px;
    }
    .dhm-footer__grid {
        gap: 32px;
    }
    .dhm-footer__title {
        margin-bottom: 28px;
        font-size: 22px;
    }
    .dhm-footer__script {
        font-size: 38px;
    }
    .dhm-footer__social-list {
        gap: 16px;
    }
    .dhm-footer__social-list a {
        width: 50px;
        height: 50px;
        font-size: 19px;
    }
    .dhm-footer__follow {
        letter-spacing: 0.24em;
    }
    .dhm-footer__menu>li>a {
        gap: 14px;
    }
    .dhm-footer__book a {
        gap: 8px;
        padding: 8px 10px;
    }
    .dhm-footer__icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .dhm-footer__contact-list li,
    .dhm-footer__hours {
        gap: 12px;
    }
    .dhm-footer__feature-title {
        font-size: 16px;
    }
    .dhm-footer__feature-text,
    .dhm-footer__copyright,
    .dhm-footer__legal-list a {
        font-size: 14px;
    }
    .dhm-footer__legal-list li+li::before {
        margin-inline: 12px;
    }
    .dhm-footer__quote span {
        font-size: 26px;
    }
    .dhm-footer__wave {
        width: 110px;
    }
    .dhm-footer__tagline {
        font-size: 12px;
    }
}


/* Tablet & mobile: form becomes a card */

@media (max-width: 1199.98px) {
    .dhm-footer__form {
        padding: 30px;
        border: 1px solid var(--dhm-footer-line);
        border-radius: 16px;
        background: rgba(8, 28, 36, 0.6);
    }
    .dhm-footer__bottom-inner {
        flex-wrap: wrap;
    }
    .dhm-footer__legal {
        flex: 1 0 100%;
        order: -1;
    }
}


/* Tablet landscape: brand, links, contact in a row; form below */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .dhm-footer {
        font-size: 16px;
    }
    .dhm-footer__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 48px 36px;
    }
    .dhm-footer__form {
        grid-column: 1 / -1;
    }
    .dhm-footer__script {
        font-size: 40px;
    }
    .dhm-footer__social-list {
        gap: 14px;
    }
    .dhm-footer__social-list a {
        width: 50px;
        height: 50px;
        font-size: 19px;
    }
    .dhm-footer__follow {
        letter-spacing: 0.22em;
    }
    .dhm-footer__quote {
        display: none;
    }
}


/* Two field columns inside the wide form card */

@media (min-width: 768px) and (max-width: 1199.98px) {
    .dhm-footer .dhm-ff {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: end;
        gap: 14px 16px;
    }
    .dhm-footer .dhm-ff__row,
    .dhm-footer .dhm-ff__field--message {
        grid-column: 1 / -1;
    }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .dhm-footer .dhm-ff__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}


/* Mobile layout (mobile design) */

@media (max-width: 991.98px) {
    .dhm-footer {
        font-size: 16px;
    }
    .dhm-footer__container {
        padding-inline: 24px;
    }
    .dhm-footer__main {
        padding-block: 0 44px;
    }
    .dhm-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 28px;
    }
    .dhm-footer__brand,
    .dhm-footer__form {
        grid-column: 1 / -1;
    }
    /* Full-bleed hero with the mobile background image */
    .dhm-footer__brand {
        position: relative;
        isolation: isolate;
        display: grid;
        grid-template-areas: "info info" "script social";
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 8px 20px;
        padding-block: 40px 30px;
    }
    .dhm-footer__brand::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 100vw;
        border-bottom: 1px solid color-mix(in srgb, var(--dhm-footer-accent) 30%, transparent);
        background: linear-gradient(90deg, rgba(3, 13, 18, 0.8) 0%, rgba(3, 13, 18, 0.35) 55%, rgba(3, 13, 18, 0) 100%), linear-gradient(rgba(3, 13, 18, var(--dhm-footer-overlay)), rgba(3, 13, 18, var(--dhm-footer-overlay))), var(--dhm-footer-bg-mobile, none) 72% 62% / cover no-repeat var(--dhm-footer-base);
        transform: translateX(-50%);
    }
    .dhm-footer__brand-info {
        grid-area: info;
        max-width: 460px;
    }
    .dhm-footer__logo {
        max-width: 230px;
    }
    .dhm-footer__logo-img {
        max-height: 90px;
    }
    .dhm-footer__company {
        margin-top: 18px;
    }
    .dhm-footer__about {
        max-width: 400px;
        margin-top: 14px;
    }
    .dhm-footer__rule {
        display: none;
    }
    .dhm-footer__script {
        grid-area: script;
        margin-top: 16px;
        font-size: 40px;
    }
    .dhm-footer__social {
        grid-area: social;
        justify-self: end;
        margin-top: 0;
    }
    .dhm-footer__social-list {
        gap: 14px;
    }
    .dhm-footer__social-list a {
        width: 50px;
        height: 50px;
        font-size: 19px;
    }
    .dhm-footer__follow {
        margin-top: 16px;
        padding-top: 0;
        border-top: 0;
        font-size: 12px;
        letter-spacing: 0.24em;
    }
    .dhm-footer__title {
        margin-bottom: 26px;
        font-size: 22px;
    }
    .dhm-footer__menu>li>a {
        gap: 14px;
        padding-block: 5px;
    }
    .dhm-footer__book {
        margin-left: 0;
    }
    .dhm-footer__book a {
        gap: 8px;
        padding: 8px 12px;
    }
    .dhm-footer__icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 17px;
    }
    .dhm-footer__contact-list li,
    .dhm-footer__hours {
        gap: 16px;
    }
    .dhm-footer__hours {
        max-width: none;
    }
    .dhm-footer__features {
        border-top: 0;
        background: transparent;
    }
    .dhm-footer__features-inner {
        align-items: stretch;
        padding-block: 0 34px;
    }
    .dhm-footer__feature,
    .dhm-footer__feature:first-child {
        flex-direction: column;
        justify-content: flex-start;
        gap: 10px;
        padding-inline: 14px;
        text-align: center;
    }
    .dhm-footer__feature-icon {
        width: 48px;
        height: 48px;
    }
    .dhm-footer__feature-title {
        font-size: 16px;
    }
    .dhm-footer__feature-text {
        font-size: 15px;
    }
    .dhm-footer__quote {
        display: none;
    }
    .dhm-footer__bottom {
        background: rgba(2, 10, 14, 0.45);
    }
    .dhm-footer__bottom-inner {
        padding-block: 22px;
    }
    .dhm-footer__copyright,
    .dhm-footer__legal-list a {
        font-size: 14px;
    }
    .dhm-footer__legal-list li+li::before {
        height: 14px;
        margin-inline: 14px;
    }
    .dhm-footer__wave {
        width: 110px;
    }
    .dhm-footer__tagline {
        font-size: 12px;
    }
    .dhm-footer__tagline-dot {
        margin-inline: 10px;
    }
}


/* Phones */

@media (max-width: 575.98px) {
    .dhm-footer {
        font-size: 15px;
    }
    .dhm-footer__container {
        padding-inline: 16px;
    }
    .dhm-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }
    .dhm-footer__brand {
        padding-block: 32px 26px;
    }
    .dhm-footer__script {
        font-size: 34px;
    }
    .dhm-footer__form {
        padding: 22px 16px;
    }
    .dhm-footer .dhm-ff__row {
        grid-template-columns: minmax(0, 1fr);
    }
    .dhm-footer .dhm-ff .wpcf7-submit {
        height: 52px;
        font-size: 17px;
    }
    .dhm-footer__feature,
    .dhm-footer__feature:first-child {
        padding-inline: 6px;
    }
    .dhm-footer__feature-icon {
        width: 40px;
        height: 40px;
    }
    .dhm-footer__feature-title {
        font-size: 14px;
    }
    .dhm-footer__feature-text {
        font-size: 13px;
    }
    .dhm-footer__bottom-inner {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
    .dhm-footer__legal {
        flex-basis: auto;
    }
    .dhm-footer__copyright {
        font-size: 13px;
    }
}


/* Small phones: slogan and social icons no longer fit side by side */

@media (max-width: 479.98px) {
    .dhm-footer__brand {
        grid-template-areas: "info" "script" "social";
        grid-template-columns: minmax(0, 1fr);
    }
    .dhm-footer__social {
        margin-top: 10px;
    }
    .dhm-footer__social-list a {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    .dhm-footer__signoff {
        flex-direction: column;
        gap: 6px;
    }
    .dhm-footer__tagline {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dhm-footer *,
    .dhm-footer *::before,
    .dhm-footer *::after {
        transition: none !important;
    }
}