/**
 * EZ Contact page
 */

.ez-contact {
    --ez-yellow: #FED03D;
    --ez-yellow-dark: #e8bc2a;
    --ez-ink: #1a1a1a;
    --ez-charcoal: #2a2a2a;
    --ez-body: #3d3d3d;
    --ez-muted: #6b6b6b;
    --ez-line: #e6e3dc;
    --ez-paper: #faf8f4;
    font-family: 'Figtree', sans-serif;
    background: var(--ez-paper);
    color: var(--ez-body);
}

/* ========== Hero ========== */
.ez-contact__hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 400px at 85% -20%, rgba(254, 208, 61, 0.18), transparent 60%),
        linear-gradient(180deg, #232323 0%, #2d2d2d 100%);
    border-bottom: 3px solid rgba(254, 208, 61, 0.5);
    padding: 6rem 0 7rem;
}

.ez-contact__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    pointer-events: none;
}

.ez-contact__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ez-contact__crumbs ol {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}

.ez-contact__crumbs li + li::before {
    content: "/";
    margin-right: 0.4rem;
    color: rgba(255, 255, 255, 0.3);
}

.ez-contact__crumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.ez-contact__crumbs a:hover {
    color: var(--ez-yellow);
}

.ez-contact__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ez-yellow);
}

.ez-contact__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--ez-yellow);
}

.ez-contact .ez-contact__headline {
    margin: 0 0 1rem;
    font-family: 'Figtree', sans-serif;
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
}

.ez-contact__accent {
    background: var(--ez-yellow);
    color: var(--ez-ink);
    padding: 0 0.25em;
    border-radius: 6px;
}

.ez-contact__lede {
    max-width: 58ch;
    margin: 0 0 2rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.ez-contact__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ========== Buttons ========== */
.ez-contact__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ez-contact__btn svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.ez-contact .ez-contact__btn--accent {
    background: var(--ez-yellow);
    color: var(--ez-ink);
}

.ez-contact .ez-contact__btn--accent:hover {
    background: var(--ez-yellow-dark);
    color: var(--ez-ink);
    transform: translateY(-1px);
}

.ez-contact .ez-contact__btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

.ez-contact .ez-contact__btn--ghost:hover {
    border-color: var(--ez-yellow);
    color: var(--ez-yellow);
}

.ez-contact__btn--block {
    width: 100%;
    margin-top: auto;
}

/* ========== Cards ========== */
.ez-contact__body {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: -4rem auto 0;
    padding: 0 1.5rem 5rem;
}

.ez-contact__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ez-contact__card {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    background: #fff;
    border: 1px solid var(--ez-line);
    border-radius: 16px;
    box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.3);
}

.ez-contact__card--quote {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #353535 0%, #262626 100%);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 -12px 32px -10px rgba(255, 255, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 24px 48px -20px rgba(0, 0, 0, 0.55);
}

.ez-contact__card--quote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ez-yellow);
}

.ez-contact__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
    background: var(--ez-yellow);
    color: var(--ez-ink);
    border-radius: 12px;
}

.ez-contact__icon svg {
    width: 24px;
    height: 24px;
}

.ez-contact .ez-contact__card-title {
    margin: 0 0 0.85rem;
    font-family: 'Figtree', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ez-ink);
}

.ez-contact__card--quote .ez-contact__card-title {
    color: #fff;
}

.ez-contact__address {
    margin: 0 0 0.75rem;
    font-style: normal;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--ez-ink);
}

.ez-contact__note {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.ez-contact__phones {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.ez-contact__phones li + li {
    margin-top: 0.85rem;
}

.ez-contact__phone-label {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ez-muted);
}

.ez-contact .ez-contact__phone {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    color: var(--ez-ink);
    text-decoration: none;
}

.ez-contact .ez-contact__phone:hover {
    text-decoration: underline;
    text-decoration-color: var(--ez-yellow);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.ez-contact .ez-contact__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ez-ink);
    text-decoration: none;
}

.ez-contact__link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.ez-contact__link:hover svg {
    transform: translateX(3px);
}

.ez-contact__prices {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.ez-contact__prices li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    font-size: 0.9375rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ez-contact__prices strong {
    color: var(--ez-yellow);
}

/* ========== Map ========== */
.ez-contact__map-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.ez-contact__map {
    min-height: 420px;
    overflow: hidden;
    background: #e9e6df;
    border: 1px solid var(--ez-line);
    border-radius: 16px;
    box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.25);
}

.ez-contact__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.ez-contact__facts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ez-contact__fact {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--ez-line);
    border-radius: 14px;
}

.ez-contact__fact p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.ez-contact .ez-contact__fact-title {
    margin-bottom: 0.25rem;
    font-weight: 800;
    color: var(--ez-ink);
}

.ez-contact__fact-badge {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--ez-yellow);
    background: var(--ez-charcoal);
    border-radius: 12px;
}

.ez-contact__fact-badge svg {
    width: 22px;
    height: 22px;
}

.ez-contact__fact--areas {
    flex-direction: column;
    gap: 0.5rem;
}

.ez-contact__areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ez-contact__areas li {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ez-ink);
    background: #f3f1ec;
    border-radius: 999px;
}

/* ========== Focus ========== */
.ez-contact a:focus-visible {
    outline: 3px solid var(--ez-yellow);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .ez-contact__cards {
        grid-template-columns: 1fr 1fr;
    }

    .ez-contact__card--quote {
        grid-column: 1 / -1;
    }

    .ez-contact__map-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ez-contact__hero {
        padding: 3rem 0 5.5rem;
    }

    .ez-contact__body {
        margin-top: -3rem;
        padding: 0 1rem 3.5rem;
    }

    .ez-contact__cards {
        grid-template-columns: 1fr;
    }

    .ez-contact__hero-actions .ez-contact__btn {
        flex: 1 1 100%;
    }

    .ez-contact__map,
    .ez-contact__map iframe {
        min-height: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ez-contact * {
        transition: none !important;
    }
}
