:root {
    --ct-bg: #eef2f7;
    --ct-card: #ffffff;
    --ct-ink: #0f172a;
    --ct-ink-soft: #334155;
    --ct-line: rgba(148, 163, 184, 0.3);
    --ct-gold: #d4a017;
    --ct-gold-soft: rgba(212, 160, 23, 0.15);
    --ct-success-bg: #dcfce7;
    --ct-success-ink: #166534;
    --ct-danger-bg: #fee2e2;
    --ct-danger-ink: #991b1b;
}

main.contact-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 32px 16px 56px;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 20px;
    background:
        radial-gradient(120% 130% at 92% 8%, rgba(212, 160, 23, 0.22) 0%, rgba(212, 160, 23, 0) 48%),
        linear-gradient(150deg, #0f172a 0%, #1e293b 52%, #334155 100%);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.24);
    padding: 26px 24px;
    margin-bottom: 20px;
}

.contact-hero::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.3), rgba(212, 160, 23, 0));
    pointer-events: none;
}

.contact-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #f6d47e;
    background: rgba(15, 23, 42, 0.34);
    border: 1px solid rgba(212, 160, 23, 0.52);
    border-radius: 999px;
    padding: 7px 12px;
    margin-bottom: 12px;
}

.contact-hero h1 {
    margin: 0;
    font-size: clamp(30px, 4.2vw, 40px);
    line-height: 1.12;
    color: #f8fafc;
    letter-spacing: -0.3px;
}

.contact-hero p {
    margin: 12px 0 0;
    max-width: 780px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(241, 245, 249, 0.92);
}

.contact-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.contact-hero__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border-radius: 999px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(15, 23, 42, 0.35);
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.contact-side {
    display: grid;
    gap: 16px;
}

.contact-card {
    background: var(--ct-card);
    border: 1px solid var(--ct-line);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.contact-card--form,
.contact-card--info,
.contact-card--service {
    padding: 22px;
}

.contact-card__head h2,
.contact-card--service h3 {
    margin: 0;
    color: var(--ct-ink);
    font-size: 24px;
    letter-spacing: -0.25px;
}

.contact-card__head p {
    margin: 8px 0 0;
    color: var(--ct-ink-soft);
    font-size: 14px;
    line-height: 1.6;
}

.contact-alert {
    border-radius: 12px;
    padding: 12px 14px;
    margin: 16px 0 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.contact-alert small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.9;
}

.contact-alert--success {
    background: var(--ct-success-bg);
    color: var(--ct-success-ink);
    border: 1px solid rgba(22, 101, 52, 0.2);
}

.contact-alert--error {
    background: var(--ct-danger-bg);
    color: var(--ct-danger-ink);
    border: 1px solid rgba(153, 27, 27, 0.2);
}

.contact-form {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row--full {
    grid-column: 1 / -1;
}

.form-row label {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.form-row label span {
    color: #b91c1c;
    margin-left: 4px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 11px;
    background: #f8fafc;
    color: #0f172a;
    padding: 12px 12px;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    box-sizing: border-box;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #64748b;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: 0;
    border-color: rgba(212, 160, 23, 0.78);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.18);
}

.form-row textarea {
    min-height: 132px;
    resize: vertical;
}

.form-row--submit {
    margin-top: 2px;
}

.contact-submit {
    appearance: none;
    border: 1px solid rgba(212, 160, 23, 0.9);
    border-radius: 12px;
    min-height: 46px;
    padding: 0 16px;
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    color: #f8fafc;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.contact-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
    border-color: rgba(212, 160, 23, 1);
}

.contact-consent {
    margin: 10px 0 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: #64748b;
}

.contact-consent a {
    color: #7c5b16;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(124, 91, 22, 0.5);
}

.contact-form-closed {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--ct-line);
    color: #334155;
    font-weight: 600;
}

.contact-channels {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.contact-channel {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #f8fafc;
    padding: 11px 12px;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.contact-channel:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.09);
    border-color: rgba(212, 160, 23, 0.5);
}

.contact-channel--static {
    cursor: default;
}

.contact-channel__icon {
    width: 30px;
    min-width: 30px;
    height: 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    font-size: 14px;
}

.contact-channel strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
}

.contact-channel em {
    display: block;
    margin-top: 2px;
    color: #334155;
    font-style: normal;
    line-height: 1.55;
    font-size: 13px;
}

.contact-card--service h3 {
    font-size: 21px;
}

.contact-service-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 11px;
}

.contact-service-list li {
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: #f8fafc;
    border-radius: 12px;
    padding: 11px 12px;
}

.contact-service-list strong {
    display: block;
    font-size: 13.5px;
    color: #0f172a;
}

.contact-service-list p {
    margin: 4px 0 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: #475569;
}

.contact-map-wrap {
    margin-top: 18px;
    border: 1px solid var(--ct-line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.contact-map-wrap h2 {
    margin: 0;
    padding: 14px 16px;
    font-size: 18px;
    color: #0f172a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: #f8fafc;
}

.contact-map {
    width: 100%;
    min-height: 360px;
    line-height: 0;
}

.contact-map iframe {
    width: 100% !important;
    min-height: 360px !important;
    border: 0;
    display: block;
}

@media (max-width: 1040px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-card--form,
    .contact-card--info,
    .contact-card--service {
        padding: 20px;
    }
}

@media (max-width: 760px) {
    main.contact-page {
        padding: 24px 12px 44px;
    }

    .contact-hero {
        border-radius: 16px;
        padding: 20px 16px;
        margin-bottom: 14px;
    }

    .contact-hero h1 {
        font-size: clamp(26px, 8vw, 34px);
    }

    .contact-hero p {
        font-size: 14px;
    }

    .contact-hero__badges {
        gap: 8px;
    }

    .contact-hero__badges span {
        min-height: 29px;
        padding: 0 10px;
        font-size: 11.5px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-card__head h2,
    .contact-card--service h3 {
        font-size: 20px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 300px !important;
    }
}

@media (max-width: 430px) {
    .contact-card--form,
    .contact-card--info,
    .contact-card--service {
        padding: 16px;
        border-radius: 14px;
    }

    .contact-channel {
        padding: 10px;
    }

    .contact-channel__icon {
        width: 28px;
        min-width: 28px;
        height: 28px;
    }

    .contact-map-wrap {
        border-radius: 14px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 260px !important;
    }
}

/* Contact page - advanced interactions */
.contact-form select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 11px;
    background: #f8fafc;
    color: #0f172a;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    box-sizing: border-box;
}

.contact-form select:focus {
    outline: 0;
    border-color: rgba(212, 160, 23, 0.78);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.18);
}

.contact-captcha-wrap {
    border: 1px dashed rgba(148, 163, 184, 0.5);
    border-radius: 12px;
    background: #f8fafc;
    padding: 10px 12px;
}

.contact-captcha-note {
    margin: 0;
    border: 1px dashed rgba(148, 163, 184, 0.55);
    background: #f8fafc;
    color: #475569;
    border-radius: 11px;
    padding: 10px 12px;
    font-size: 12.5px;
    line-height: 1.5;
}

.contact-wa-offer {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(22, 163, 74, 0.35);
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .15px;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.24);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.contact-wa-offer:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 14px 30px rgba(22, 163, 74, 0.28);
}

.contact-card--hours h3 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
}

.contact-hours-badge {
    margin-top: 12px;
    border: 1px solid rgba(212, 160, 23, 0.38);
    border-radius: 11px;
    background: rgba(212, 160, 23, 0.12);
    color: #7c5b16;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    padding: 9px 11px;
}

.contact-hours-badge strong {
    color: #5b430f;
}

.contact-hours-list {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.contact-hours-row {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 11px;
    background: #f8fafc;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.contact-hours-row strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
}

.contact-hours-row span {
    color: #334155;
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .contact-hours-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-hours-row span {
        white-space: normal;
        text-align: left;
    }
}
