/* =========================================================
CANALES DE ATENCIÓN · IMMERSIVE CONTACT EXPERIENCE
Contraloría Distrital de Medellín · Microsoft Power Pages
HTML + CSS + SVG + Vanilla JavaScript
========================================================= */

.cdm-contact {
    --cdm-deep: #001a14;
    --cdm-deep-2: #003126;
    --cdm-green: #07583f;
    --cdm-green-2: #0b6a4c;
    --cdm-lime: #a9cf2f;
    --cdm-lime-bright: #c7f45a;
    --cdm-cream: #f0ece3;
    --cdm-paper: #f7f5ef;
    --cdm-ink: #08261d;
    --cdm-text: #52635c;
    --cdm-blue: #526fd6;
    --cdm-gold: #d2a20d;
    --cdm-red: #9b4839;
    --cdm-line: rgba(0, 63, 47, 0.14);
    --cdm-ease: cubic-bezier(0.2, 0.75, 0.2, 1);
    --cdm-max: 1540px;
    --cdm-gutter: clamp(16px, 4vw, 64px);

    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--cdm-paper);
    color: var(--cdm-ink);
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.cdm-contact,
.cdm-contact *,
.cdm-contact *::before,
.cdm-contact *::after {
    box-sizing: border-box;
}

.cdm-contact a {
    text-decoration: none !important;
}

.cdm-contact button {
    font: inherit;
}

.cdm-contact svg {
    display: block;
    max-width: 100%;
}

.cdm-contact h1,
.cdm-contact h2,
.cdm-contact h3,
.cdm-contact p {
    margin-top: 0;
}

.cdm-contact-shell {
    width: min(calc(100% - (var(--cdm-gutter) * 2)), var(--cdm-max));
    margin-inline: auto;
}

/* =========================================================
ACCESSIBILITY / GLOBAL UI
========================================================= */

.cdm-contact__skip {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    color: var(--cdm-ink) !important;
    font-weight: 800;
}

.cdm-contact__skip:focus {
    transform: none;
}

.cdm-contact__progress {
    position: fixed;
    z-index: 9998;
    inset: 0 0 auto;
    height: 3px;
    pointer-events: none;
}

.cdm-contact__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--cdm-lime);
    box-shadow: 0 0 18px rgba(169, 207, 47, 0.52);
}

.cdm-contact__chapters {
    position: fixed;
    z-index: 9800;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cdm-contact__chapters a {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 9px;
    color: #fff !important;
}

.cdm-contact__chapters span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(0, 24, 19, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 8px;
    font-weight: 800;
    transition: 0.25s ease;
}

.cdm-contact__chapters b {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    color: #fff;
    font-size: 8px;
    font-weight: 750;
    transition: 0.25s ease;
}

.cdm-contact__chapters a:hover b,
.cdm-contact__chapters a[aria-current="true"] b {
    max-width: 160px;
    opacity: 1;
}

.cdm-contact__chapters a[aria-current="true"] span {
    border-color: var(--cdm-lime);
    background: var(--cdm-lime);
    color: var(--cdm-deep);
    transform: scale(1.08);
}

/* =========================================================
HERO
========================================================= */

.cdm-contact-hero {
    position: relative;
    min-height: 780px;
    height: min(780px, 100svh);
    overflow: hidden;
    background: var(--cdm-deep);
    color: #fff;
    isolation: isolate;
}

@supports not (height: 100svh) {
    .cdm-contact-hero {
        height: min(780px, 100vh);
    }
}

.cdm-contact-hero__atmosphere {
    position: absolute;
    inset: 0;
    z-index: -8;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #00130f 0%,
        #004030 48%,
        #00110d 100%
    );
}

.cdm-contact-hero__mesh {
    position: absolute;
    border-radius: 50%;
    filter: blur(86px);
    mix-blend-mode: screen;
    opacity: 0.78;
    will-change: transform;
}

.cdm-contact-hero__mesh--one {
    width: 56vw;
    height: 56vw;
    left: -21vw;
    top: -27vw;
    background: radial-gradient(
        circle,
        rgba(169, 207, 47, 0.9),
        rgba(11, 106, 76, 0.26) 43%,
        transparent 72%
    );
    animation: cdmContactMeshOne 17s ease-in-out infinite alternate;
}

.cdm-contact-hero__mesh--two {
    width: 52vw;
    height: 52vw;
    right: -20vw;
    top: -12vw;
    background: radial-gradient(
        circle,
        rgba(70, 123, 255, 0.27),
        rgba(26, 172, 151, 0.16) 44%,
        transparent 72%
    );
    animation: cdmContactMeshTwo 21s ease-in-out infinite alternate;
}

.cdm-contact-hero__mesh--three {
    width: 46vw;
    height: 46vw;
    left: 40%;
    bottom: -22vw;
    background: radial-gradient(
        circle,
        rgba(199, 244, 90, 0.34),
        rgba(0, 104, 74, 0.2) 45%,
        transparent 74%
    );
    animation: cdmContactMeshThree 25s ease-in-out infinite alternate;
}

@keyframes cdmContactMeshOne {
    to {
        transform: translate3d(10%, 9%, 0) scale(1.08);
    }
}

@keyframes cdmContactMeshTwo {
    to {
        transform: translate3d(-9%, 8%, 0) scale(0.92);
    }
}

@keyframes cdmContactMeshThree {
    to {
        transform: translate3d(8%, -8%, 0) scale(1.05);
    }
}

.cdm-contact-hero__noise {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.1px),
        radial-gradient(circle at 72% 65%, rgba(169, 207, 47, 0.17) 0 1px, transparent 1.1px);
    background-size: 43px 43px, 71px 71px;
}

.cdm-contact-hero__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 72% 48%,
        transparent 0 23%,
        rgba(0, 18, 13, 0.08) 53%,
        rgba(0, 18, 13, 0.62) 100%
    );
}

.cdm-contact-network {
    position: absolute;
    z-index: -3;
    right: -5vw;
    top: 0;
    width: min(82vw, 1320px);
    height: 100%;
    pointer-events: none;
    will-change: transform;
}

.cdm-contact-network svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.cdm-contact-network__rings ellipse {
    fill: none;
    stroke: rgba(169, 207, 47, 0.17);
    stroke-width: 1.2;
    transform-origin: 1070px 420px;
}

.cdm-contact-network__rings ellipse:nth-child(1) {
    animation: cdmContactOrbit 18s linear infinite;
}

.cdm-contact-network__rings ellipse:nth-child(2) {
    animation: cdmContactOrbitReverse 28s linear infinite;
}

.cdm-contact-network__rings ellipse:nth-child(3) {
    animation: cdmContactOrbit 40s linear infinite;
}

@keyframes cdmContactOrbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cdmContactOrbitReverse {
    to {
        transform: rotate(-360deg);
    }
}

.cdm-contact-network__paths path {
    stroke-width: 1.15;
    stroke-dasharray: 13 17;
    animation: cdmContactDash 12s linear infinite;
}

@keyframes cdmContactDash {
    to {
        stroke-dashoffset: -280;
    }
}

.cdm-contact-network__nodes circle {
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 0 7px rgba(169, 207, 47, 0.72));
    animation: cdmContactPulse 3.2s ease-in-out infinite;
}

@keyframes cdmContactPulse {
    50% {
        transform: scale(1.42);
        opacity: 0.38;
    }
}

.cdm-contact-network__labels text {
    fill: rgba(255, 255, 255, 0.31);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cdm-contact-network__core circle {
    fill: rgba(0, 31, 24, 0.44);
    stroke: rgba(169, 207, 47, 0.3);
    stroke-width: 1.2;
}

.cdm-contact-network__core path {
    fill: none;
    stroke: var(--cdm-lime);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cdm-contact-particles {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.cdm-contact-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--cdm-lime);
    box-shadow: 0 0 13px rgba(169, 207, 47, 0.78);
    opacity: 0.34;
    will-change: transform;
}

.cdm-contact-hero__content {
    position: relative;
    z-index: 3;
    min-height: 780px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 58px;
    padding-bottom: 78px;
}

.cdm-contact-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.075em;
}

.cdm-contact-hero__eyebrow span {
    color: var(--cdm-lime);
}

.cdm-contact-hero__eyebrow i {
    width: 72px;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.cdm-contact-hero h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(66px, 7vw, 124px);
    line-height: 0.84;
    letter-spacing: clamp(-2px, -0.11vw, -0.7px);
    font-weight: 760;
}

.cdm-contact-hero__line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.cdm-contact-hero__line b {
    display: block;
}

.cdm-contact-hero__accent {
    color: var(--cdm-lime);
    font-weight: 340 !important;
    font-style: italic;
}

.cdm-contact-hero__content > p {
    max-width: 620px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.68;
}

.cdm-contact-hero__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
}

.cdm-contact-action {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--cdm-deep) !important;
    background: var(--cdm-lime);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.015em;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.cdm-contact-action--hero {
    min-height: 64px;
    padding-left: 24px;
    padding-right: 14px;
    gap: 25px;
    color: #fff !important;
    border-color: rgba(169, 207, 47, 0.38);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.cdm-contact-action--hero b {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--cdm-deep);
    background: var(--cdm-lime);
}

.cdm-contact-action--outline {
    color: var(--cdm-green) !important;
    border-color: rgba(7, 88, 63, 0.22);
    background: transparent;
}

.cdm-contact-hero__signal {
    display: flex;
    align-items: center;
    gap: 9px;
}

.cdm-contact-hero__signal strong {
    color: var(--cdm-lime);
    font-size: 30px;
    line-height: 1;
}

.cdm-contact-hero__signal span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 8px;
    font-weight: 750;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.cdm-contact-hero__footer {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.cdm-contact-hero__footer span {
    position: relative;
    padding-left: 10px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.055em;
}

.cdm-contact-hero__footer span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--cdm-lime);
}

/* =========================================================
CHAPTER 01 · CHANNELS
========================================================= */

.cdm-contact-chapter {
    position: relative;
    padding: 110px 0;
    background: var(--cdm-cream);
}

.cdm-contact-chapter__header {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: end;
    margin-bottom: 70px;
}

.cdm-contact-chapter__header > span,
.cdm-contact-hours__intro > span,
.cdm-contact-location__header > span,
.cdm-contact-closing__content > span {
    color: var(--cdm-green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.cdm-contact-chapter__header h2,
.cdm-contact-hours__intro h2,
.cdm-contact-location__header h2,
.cdm-contact-closing h2 {
    margin: 14px 0 0;
    font-size: clamp(48px, 5.6vw, 92px);
    line-height: 0.96;
    letter-spacing: -0.035em;
    font-weight: 680;
}

.cdm-contact-chapter__header h2 em,
.cdm-contact-hours__intro h2 em,
.cdm-contact-location__header h2 em,
.cdm-contact-closing h2 em {
    color: var(--cdm-green);
    font-style: normal;
    font-weight: 300;
}

.cdm-contact-chapter__header p {
    max-width: 640px;
    margin: 0;
    color: var(--cdm-text);
    font-size: 15px;
    line-height: 1.72;
}

.cdm-contact-channel-list {
    border-top: 1px solid var(--cdm-line);
}

.cdm-contact-channel {
    --channel-accent: var(--cdm-green);

    position: relative;
    min-height: 220px;
    display: grid;
    grid-template-columns: 82px 76px minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    padding: 34px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--cdm-line);
    isolation: isolate;
    transition:
        padding 0.35s var(--cdm-ease),
        transform 0.35s var(--cdm-ease);
}

.cdm-contact-channel--pbx {
    --channel-accent: var(--cdm-gold);
}

.cdm-contact-channel--mail {
    --channel-accent: var(--cdm-red);
}

.cdm-contact-channel--visit {
    --channel-accent: var(--cdm-blue);
}

.cdm-contact-channel:hover {
    padding-left: 20px;
    padding-right: 20px;
}

.cdm-contact-channel__number {
    color: var(--channel-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.cdm-contact-channel__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--channel-accent) 30%, transparent);
    border-radius: 50%;
    color: var(--channel-accent);
    background: color-mix(in srgb, var(--channel-accent) 8%, transparent);
    transition:
        transform 0.35s var(--cdm-ease),
        background 0.35s ease,
        color 0.35s ease;
}

.cdm-contact-channel:hover .cdm-contact-channel__icon {
    transform: rotate(-7deg) scale(1.05);
    color: #fff;
    background: var(--channel-accent);
}

.cdm-contact-channel__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cdm-contact-channel__content {
    position: relative;
    z-index: 2;
}

.cdm-contact-channel__content > span {
    color: color-mix(in srgb, var(--channel-accent) 86%, #000 14%);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.075em;
}

.cdm-contact-channel__content h3 {
    max-width: 720px;
    margin: 7px 0 0;
    font-size: clamp(28px, 3vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    font-weight: 690;
}

.cdm-contact-channel__content p {
    max-width: 650px;
    margin: 12px 0 0;
    color: var(--cdm-text);
    font-size: 14px;
    line-height: 1.62;
}

.cdm-contact-channel__cta {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0 18px;
    border: 1px solid color-mix(in srgb, var(--channel-accent) 28%, transparent);
    border-radius: 999px;
    color: var(--cdm-ink) !important;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 760;
    white-space: nowrap;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease;
}

.cdm-contact-channel__cta:hover {
    color: #fff !important;
    border-color: var(--channel-accent);
    background: var(--channel-accent);
}

.cdm-contact-channel__cta--secondary {
    color: var(--channel-accent) !important;
    background: transparent;
}

.cdm-contact-channel__destinations {
    display: flex;
    gap: 8px;
}

.cdm-contact-channel__glow {
    position: absolute;
    z-index: -1;
    right: -80px;
    top: 50%;
    width: 220px;
    height: 220px;
    transform: translateY(-50%) scale(0.65);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--channel-accent) 18%, transparent),
        transparent 70%
    );
    opacity: 0;
    transition:
        opacity 0.4s ease,
        transform 0.4s var(--cdm-ease);
}

.cdm-contact-channel:hover .cdm-contact-channel__glow {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* =========================================================
CHAPTER 02 · HOURS
========================================================= */

.cdm-contact-hours {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--cdm-deep);
    color: #fff;
}

.cdm-contact-hours__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cdm-contact-hours__backdrop span {
    position: absolute;
    color: rgba(255, 255, 255, 0.025);
    font-size: clamp(170px, 26vw, 430px);
    line-height: 0.8;
    letter-spacing: -0.06em;
    font-weight: 850;
}

.cdm-contact-hours__backdrop span:first-child {
    left: -5vw;
    top: 10%;
}

.cdm-contact-hours__backdrop span:last-child {
    right: -6vw;
    bottom: 2%;
}

.cdm-contact-hours__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: clamp(60px, 8vw, 130px);
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.cdm-contact-hours__intro > span {
    color: var(--cdm-lime);
}

.cdm-contact-hours__intro h2 {
    max-width: 620px;
    color: #fff;
}

.cdm-contact-hours__intro h2 em {
    color: var(--cdm-lime);
}

.cdm-contact-hours__intro p {
    max-width: 480px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.7;
}

.cdm-contact-hours__timeline {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cdm-contact-hours__day {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 22px;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cdm-contact-hours__day-label {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cdm-contact-hours__day-label span {
    color: var(--cdm-lime);
    font-size: 9px;
    font-weight: 800;
}

.cdm-contact-hours__day-label h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 2.1vw, 34px);
    font-weight: 650;
}

.cdm-contact-hours__period {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
}

.cdm-contact-hours__period small {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.4);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.cdm-contact-hours__period strong {
    color: #fff;
    font-size: 13px;
    font-weight: 720;
    white-space: nowrap;
}

.cdm-contact-hours__period i {
    min-width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.cdm-contact-hours__day > p {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-style: italic;
}

/* =========================================================
CHAPTER 03 · LOCATION
========================================================= */

.cdm-contact-location {
    padding: 110px 0;
    background: #fff;
}

.cdm-contact-location__header {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: end;
    margin-bottom: 68px;
}

.cdm-contact-location__header p {
    max-width: 620px;
    margin: 0;
    color: var(--cdm-text);
    font-size: 15px;
    line-height: 1.72;
}

.cdm-contact-location__stage {
    display: grid;
    grid-template-columns: minmax(360px, 0.75fr) minmax(0, 1.25fr);
    gap: 26px;
    align-items: stretch;
}

.cdm-contact-location__details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 18px;
}

.cdm-contact-location__details article {
    padding: 24px 0;
    border-bottom: 1px solid var(--cdm-line);
}

.cdm-contact-location__details article:first-child {
    border-top: 1px solid var(--cdm-line);
}

.cdm-contact-location__details article > span {
    display: block;
    margin-bottom: 8px;
    color: var(--cdm-green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.075em;
}

.cdm-contact-location__details h3 {
    margin: 0 0 8px;
    font-size: clamp(23px, 2.1vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 680;
}

.cdm-contact-location__details p {
    margin: 0;
    color: var(--cdm-text);
    font-size: 14px;
    line-height: 1.65;
}

.cdm-contact-location__details p + p {
    margin-top: 12px;
}

.cdm-contact-location__details strong {
    color: var(--cdm-ink);
}

.cdm-contact-location__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.cdm-contact-location__map {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: var(--cdm-deep);
}

.cdm-contact-location__map-frame {
    position: absolute;
    inset: 0;
}

.cdm-contact-location__map iframe {
    width: 100%;
    height: 100%;
    min-height: 610px;
    border: 0;
    filter: saturate(0.72) contrast(1.05);
}

.cdm-contact-location__map::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(0, 63, 47, 0.08);
}

.cdm-contact-location__map-caption {
    position: absolute;
    z-index: 3;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 31, 24, 0.7);
    color: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cdm-contact-location__map-caption span,
.cdm-contact-location__map-caption b {
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.06em;
}

.cdm-contact-location__map-caption b {
    margin-left: auto;
    color: var(--cdm-lime);
}

/* =========================================================
CLOSING
========================================================= */

.cdm-contact-closing {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--cdm-deep);
    color: #fff;
}

.cdm-contact-closing__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 13% 22%, rgba(169, 207, 47, 0.2), transparent 28%),
        radial-gradient(circle at 86% 76%, rgba(70, 123, 255, 0.14), transparent 31%),
        linear-gradient(135deg, #00150f, #003225 58%, #00140f);
}

.cdm-contact-closing__content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
}

.cdm-contact-closing__content > span {
    color: var(--cdm-lime);
}

.cdm-contact-closing h2 {
    max-width: 1000px;
    color: #fff;
    font-size: clamp(56px, 6.5vw, 104px);
}

.cdm-contact-closing h2 em {
    color: var(--cdm-lime);
}

.cdm-contact-closing p {
    max-width: 680px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    line-height: 1.7;
}

.cdm-contact-closing__links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.cdm-contact-closing__links a {
    color: #fff !important;
    font-size: 13px;
    font-weight: 720;
    border-bottom: 1px solid rgba(169, 207, 47, 0.7);
    padding-bottom: 4px;
}

.cdm-contact-closing__return {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 38px;
    color: #fff !important;
    font-size: 11px;
    font-weight: 760;
}

.cdm-contact-closing__return i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cdm-lime);
    color: var(--cdm-deep);
    font-style: normal;
}

/* =========================================================
BACK TO TOP
========================================================= */

.cdm-contact-backtop {
    position: fixed;
    z-index: 9997;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--cdm-ink);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    cursor: pointer;
    transition: 0.2s ease;
}

.cdm-contact-backtop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* =========================================================
MOTION / REVEALS
========================================================= */

.cdm-contact.cdm-contact--motion [data-cdm-reveal] {
    opacity: 0;
    transform: translateY(34px);
    filter: blur(5px);
    transition:
        opacity 0.75s var(--cdm-ease),
        transform 0.75s var(--cdm-ease),
        filter 0.75s var(--cdm-ease);
}

.cdm-contact.cdm-contact--motion [data-cdm-reveal].is-visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

[data-cdm-hero-line],
[data-cdm-hero-reveal] {
    opacity: 1;
    transform: none;
}

/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    .cdm-contact-channel {
        grid-template-columns: 60px 60px minmax(0, 1fr) auto;
        gap: 20px;
    }

    .cdm-contact-location__stage {
        grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
    }
}

@media (max-width: 992px) {
    .cdm-contact__chapters {
        display: none;
    }

    .cdm-contact-network {
        right: -35vw;
        width: 125vw;
        opacity: 0.56;
    }

    .cdm-contact-chapter__header,
    .cdm-contact-location__header,
    .cdm-contact-hours__layout,
    .cdm-contact-location__stage {
        grid-template-columns: 1fr;
    }

    .cdm-contact-chapter__header,
    .cdm-contact-location__header {
        gap: 26px;
    }

    .cdm-contact-channel {
        grid-template-columns: 50px 58px minmax(0, 1fr);
    }

    .cdm-contact-channel__cta,
    .cdm-contact-channel__destinations {
        grid-column: 3;
        justify-self: start;
    }

    .cdm-contact-hours {
        min-height: auto;
    }

    .cdm-contact-hours__layout {
        gap: 46px;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .cdm-contact-location__details {
        padding-right: 0;
    }

    .cdm-contact-location__map {
        min-height: 520px;
    }

    .cdm-contact-location__map iframe {
        min-height: 520px;
    }
}

@media (max-width: 768px) {
    .cdm-contact-hero {
        min-height: 760px;
        height: auto;
    }

    .cdm-contact-hero__content {
        min-height: 760px;
        height: auto;
        padding-top: 60px;
        padding-bottom: 84px;
    }

    .cdm-contact-hero h1 {
        font-size: clamp(50px, 11.8vw, 68px);
        line-height: 0.88;
        letter-spacing: -0.025em;
    }

    .cdm-contact-network {
        right: -72vw;
        top: 20%;
        width: 180vw;
        opacity: 0.38;
    }

    .cdm-contact-hero__eyebrow {
        display: block;
    }

    .cdm-contact-hero__eyebrow i,
    .cdm-contact-hero__eyebrow b {
        display: none;
    }

    .cdm-contact-hero__actions {
        display: block;
    }

    .cdm-contact-hero__signal {
        margin-top: 18px;
    }

    .cdm-contact-chapter,
    .cdm-contact-location {
        padding: 76px 0;
    }

    .cdm-contact-chapter__header h2,
    .cdm-contact-hours__intro h2,
    .cdm-contact-location__header h2,
    .cdm-contact-closing h2 {
        font-size: 50px;
        line-height: 1;
        letter-spacing: -0.025em;
    }

    .cdm-contact-channel {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 14px;
        padding: 28px 0;
    }

    .cdm-contact-channel__icon {
        grid-column: 1;
        grid-row: 2;
        width: 44px;
        height: 44px;
    }

    .cdm-contact-channel__content {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .cdm-contact-channel__cta,
    .cdm-contact-channel__destinations {
        grid-column: 2;
    }

    .cdm-contact-channel__number {
        align-self: end;
    }

    .cdm-contact-channel__content h3 {
        font-size: 31px;
    }

    .cdm-contact-hours__day {
        grid-template-columns: 1fr 1fr;
    }

    .cdm-contact-hours__day-label {
        grid-column: 1 / -1;
    }

    .cdm-contact-location__map {
        min-height: 440px;
    }

    .cdm-contact-location__map iframe {
        min-height: 440px;
    }

    .cdm-contact-closing {
        min-height: 620px;
    }
}

@media (max-width: 576px) {
    .cdm-contact {
        --cdm-gutter: 15px;
    }

    .cdm-contact-hero {
        min-height: 720px;
    }

    .cdm-contact-hero__content {
        min-height: 720px;
        padding-top: 50px;
        padding-bottom: 76px;
    }

    .cdm-contact-hero h1 {
        font-size: clamp(44px, 11vw, 56px);
    }

    .cdm-contact-hero__content > p {
        max-width: 94%;
    }

    .cdm-contact-network {
        right: -86vw;
        width: 205vw;
        opacity: 0.3;
    }

    .cdm-contact-action--hero {
        width: 100%;
        justify-content: space-between;
    }

    .cdm-contact-channel__destinations {
        flex-direction: column;
        width: 100%;
    }

    .cdm-contact-channel__cta {
        width: 100%;
        justify-content: space-between;
    }

    .cdm-contact-hours__day {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cdm-contact-hours__period {
        grid-template-columns: auto minmax(25px, 1fr) auto;
    }

    .cdm-contact-location__map {
        min-height: 360px;
    }

    .cdm-contact-location__map iframe {
        min-height: 360px;
    }

    .cdm-contact-location__map-caption b {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 414px) {
    .cdm-contact {
        --cdm-gutter: 14px;
    }

    .cdm-contact-hero {
        min-height: 700px;
    }

    .cdm-contact-hero__content {
        min-height: 700px;
    }

    .cdm-contact-hero h1 {
        font-size: clamp(40px, 10.8vw, 47px);
        line-height: 0.92;
        letter-spacing: -0.016em;
    }

    .cdm-contact-chapter__header h2,
    .cdm-contact-hours__intro h2,
    .cdm-contact-location__header h2,
    .cdm-contact-closing h2 {
        font-size: 43px;
    }

    .cdm-contact-channel {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .cdm-contact-channel__icon {
        width: 38px;
        height: 38px;
    }

    .cdm-contact-channel__icon svg {
        width: 20px;
        height: 20px;
    }

    .cdm-contact-channel__content h3 {
        font-size: 28px;
        line-height: 1.08;
    }

    .cdm-contact-location__actions {
        flex-direction: column;
    }

    .cdm-contact-location__actions .cdm-contact-action {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .cdm-contact-hero h1 {
        font-size: 42px;
    }

    .cdm-contact-chapter__header h2,
    .cdm-contact-hours__intro h2,
    .cdm-contact-location__header h2,
    .cdm-contact-closing h2 {
        font-size: 40px;
    }
}

@media (max-width: 360px) {
    .cdm-contact {
        --cdm-gutter: 13px;
    }

    .cdm-contact-hero {
        min-height: 680px;
    }

    .cdm-contact-hero__content {
        min-height: 680px;
    }

    .cdm-contact-hero h1 {
        font-size: 39px;
    }

    .cdm-contact-channel__content h3 {
        font-size: 26px;
    }
}

@media (max-width: 320px) {
    .cdm-contact {
        --cdm-gutter: 12px;
    }

    .cdm-contact-hero {
        min-height: 660px;
    }

    .cdm-contact-hero__content {
        min-height: 660px;
        padding-top: 42px;
        padding-bottom: 66px;
    }

    .cdm-contact-hero h1 {
        font-size: 36px;
        line-height: 0.95;
    }

    .cdm-contact-chapter__header h2,
    .cdm-contact-hours__intro h2,
    .cdm-contact-location__header h2,
    .cdm-contact-closing h2 {
        font-size: 37px;
    }

    .cdm-contact-channel {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 10px;
    }

    .cdm-contact-channel__content h3 {
        font-size: 24px;
    }

    .cdm-contact-hours__period strong {
        font-size: 12px;
    }
}

/* =========================================================
ACCESSIBILITY
========================================================= */

.cdm-contact :focus-visible {
    outline: 3px solid var(--cdm-lime);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .cdm-contact *,
    .cdm-contact *::before,
    .cdm-contact *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .cdm-contact.cdm-contact--motion [data-cdm-reveal],
    [data-cdm-hero-line],
    [data-cdm-hero-reveal] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}
