/*
 * Contact page.
 *
 * Same red, type and spacing as the rest of the new design, in its own file so
 * a fresh drop of the design team's stylesheet cannot wipe it.
 */

.contact-hero {
    background: linear-gradient(160deg, #fdf2f2 0%, #ffffff 65%);
    padding: 32px 0 44px;
}

.contact-breadcrumb {
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.contact-breadcrumb a { color: #6b7280; text-decoration: none; }
.contact-breadcrumb a:hover { color: var(--menu-red); }
.contact-breadcrumb span { margin: 0 0.35rem; }

.contact-hero h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.contact-hero__lead {
    max-width: 40rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* ----------------------------------------------------------- channel cards */

.contact-channels {
    padding: 0 0 20px;
    margin-top: -28px;
}

.channel-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.4rem 1.35rem;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.channel-card:hover,
.channel-card:focus-visible {
    transform: translateY(-3px);
    border-color: #f3d6d6;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.channel-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    background: #fdf3f3;
    color: var(--menu-red);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.channel-card:hover .channel-card__icon {
    background: var(--menu-red);
    color: #fff;
}

.channel-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8b9099;
}

.channel-card__value {
    margin: 0.25rem 0 0.4rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: #1f2430;
    word-break: break-word;
}

.channel-card__note {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #6b7280;
}

/* ------------------------------------------------------------------ layout */

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

.contact-main h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

/* ------------------------------------------------------------------- chips */

.contact-form__types {
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0;
}

.contact-form__types legend {
    float: none;
    width: auto;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.contact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-chip {
    padding: 0.5rem 1rem;
    border: 1px solid #dfe3e8;
    border-radius: 999px;
    background: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.contact-chip:hover { border-color: #f0c4c4; }

.contact-chip.is-active {
    border-color: var(--menu-red);
    background: var(--menu-red);
    color: #fff;
}

.contact-hint {
    margin: 0.75rem 0 0;
    padding: 0.7rem 0.9rem;
    border-left: 3px solid var(--menu-red);
    background: #fdf3f3;
    border-radius: 0 8px 8px 0;
    font-size: 0.87rem;
    line-height: 1.55;
    color: #4b5563;
}

.contact-hint a { color: var(--menu-red); font-weight: 600; }

/* -------------------------------------------------------------------- form */

.contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.contact-form label span { color: var(--menu-red); }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.68rem 0.85rem;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    font-size: 0.93rem;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--menu-red);
    box-shadow: 0 0 0 3px rgba(208, 50, 47, 0.12);
}

.contact-field { position: relative; }

.contact-field.has-error input,
.contact-field.has-error textarea {
    border-color: #d92d20;
    background: #fffafa;
}

.contact-field.is-valid input,
.contact-field.is-valid textarea {
    border-color: #7cc492;
}

.contact-field__error {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #b42318;
}

.contact-field__count {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.78rem;
    color: #8b9099;
    text-align: right;
}

.contact-field__count.is-low { color: #b45309; }

.contact-submit { border: 0; }

.contact-submit.is-sending {
    opacity: 0.75;
    cursor: progress;
}

.contact-form__note {
    margin: 0.8rem 0 0;
    font-size: 0.82rem;
    color: #6b7280;
}

.contact-alert {
    margin-bottom: 1.25rem;
    padding: 0.9rem 1.15rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.contact-alert--ok { background: #e7f6ec; color: #096c2e; }
.contact-alert--error { background: #fdecea; color: #b42318; }
.contact-alert ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }

/* The country picker needs room inside the styled input. */
.contact-field .iti { width: 100%; }
.contact-field .iti__flag-container + input { padding-left: 3.4rem; }

/* ------------------------------------------------------------------- aside */

.contact-aside {
    padding: 1.75rem;
    background: #fafbfc;
    border: 1px solid #eceef1;
    border-radius: 14px;
}

.contact-address {
    margin: 0 0 1.1rem;
    font-style: normal;
    font-size: 0.94rem;
    line-height: 1.75;
    color: #4b5563;
}

.contact-aside__list {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
}

.contact-aside__list li {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
    font-size: 0.89rem;
    line-height: 1.6;
    color: #4b5563;
}

.contact-aside__list i {
    margin-top: 0.2rem;
    color: var(--menu-red);
    font-size: 0.85rem;
}

.contact-aside__list a { color: #4b5563; }
.contact-aside__list a:hover { color: var(--menu-red); }

/* --------------------------------------------------------------------- map */

.contact-map {
    position: relative;
    aspect-ratio: 4 / 3;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background:
        repeating-linear-gradient(45deg, #eef1f4 0 12px, #e8ecf0 12px 24px);
}

.contact-map__load {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    border: 0;
    background: transparent;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-map__load:hover { background: rgba(255, 255, 255, 0.55); }

/* Waiting to come into view rather than to be clicked, so it reads as a
   placeholder — but it stays clickable, so hover still responds. */
.contact-map__load.is-waiting { opacity: 0.75; }
.contact-map__load i { font-size: 1.6rem; color: var(--menu-red); }
.contact-map__load small { font-weight: 400; font-size: 0.75rem; color: #6b7280; }

.contact-map.is-loaded { background: none; }

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-directions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--menu-red);
    text-decoration: none;
}

.contact-directions:hover { text-decoration: underline; }
.contact-directions i { font-size: 0.72rem; }

@media (max-width: 991.98px) {
    .contact-channels { margin-top: 0; padding-top: 24px; }
    .contact-main { padding-top: 24px; }
}
