/**
 * Holden Villa — Contact Page
 * Matches reference: dark glass panel, gold accents, two-column layout
 */

body.page-contact {
    --hc-gold:        #f5c518;
    --hc-gold-bright: #ffd54f;
    --hc-font:        'Outfit', 'DM Sans', sans-serif;
    --hc-display:     'Cinzel', 'Fraunces', Georgia, serif;
    --hc-glass:       rgba(15, 23, 42, 0.62);
    --hc-glass-deep:  rgba(8, 12, 28, 0.72);
    color: #c8d0e0;
}

body.page-contact section {
    background: transparent !important;
}

/* ─── Hero ─── */
.hc-page-hero {
    padding: calc(var(--hv-header-h, 84px) + 32px) 0 36px;
    text-align: center;
}

.hc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--hc-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--hc-gold-bright);
    margin-bottom: 20px;
}

.hc-kicker__line {
    display: block;
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hc-gold), transparent);
    opacity: 0.85;
}

.hc-kicker__diamond {
    font-size: 8px;
    color: var(--hc-gold);
    line-height: 1;
}

.hc-hero__title {
    font-family: var(--hc-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hc-hero__sub {
    max-width: 640px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(200, 208, 224, 0.78);
}

/* ─── Main panel ─── */
.hc-contact {
    padding: 0 0 80px;
}

.hc-contact__panel {
    position: relative;
    background:
        radial-gradient(ellipse 340px 280px at 100% 0%, rgba(255, 214, 90, 0.18) 0%, rgba(245, 197, 24, 0.06) 42%, transparent 68%),
        linear-gradient(145deg, rgba(20, 10, 55, 0.78) 0%, rgba(14, 22, 60, 0.74) 100%);
    backdrop-filter: blur(22px) saturate(1.3);
    -webkit-backdrop-filter: blur(22px) saturate(1.3);
    border: 1px solid rgba(245, 197, 24, 0.22);
    border-top-color: rgba(245, 197, 24, 0.38);
    border-right-color: rgba(245, 197, 24, 0.32);
    border-radius: 22px;
    padding: 40px 44px;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 1px 0 0 rgba(245, 197, 24, 0.06);
    overflow: hidden;
}

/* Top-right corner light flare */
.hc-contact__panel::before {
    content: '';
    position: absolute;
    top: -48px;
    right: -48px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        circle at 72% 28%,
        rgba(255, 248, 200, 0.95) 0%,
        rgba(255, 220, 100, 0.72) 12%,
        rgba(245, 197, 24, 0.42) 28%,
        rgba(245, 197, 24, 0.12) 48%,
        transparent 68%
    );
    filter: blur(6px);
    opacity: 0.92;
}

/* Sparkle dust near corner */
.hc-contact__panel::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(255, 240, 170, 0.95) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(255, 220, 100, 0.8) 0.8px, transparent 1.2px),
        radial-gradient(circle, rgba(255, 255, 220, 0.9) 1.2px, transparent 1.8px),
        radial-gradient(circle, rgba(245, 197, 24, 0.65) 0.6px, transparent 1px);
    background-size: 34px 38px, 52px 44px, 68px 58px, 46px 50px;
    background-position: 18px 14px, 52px 28px, 88px 10px, 110px 48px;
    mask-image: radial-gradient(ellipse 85% 85% at 100% 0%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 100% 0%, #000 0%, transparent 72%);
    opacity: 0.75;
}

/* Info column — extra corner glow emphasis */
.hc-contact__info-col {
    position: relative;
    padding-left: 40px;
}

.hc-contact__info-col::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -44px;
    width: 200px;
    height: 200px;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        circle at 100% 0%,
        rgba(255, 236, 150, 0.35) 0%,
        rgba(245, 197, 24, 0.14) 35%,
        transparent 65%
    );
    filter: blur(8px);
}

.hc-contact__info-col > * {
    position: relative;
    z-index: 1;
}

.hc-contact__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
}

.hc-contact__form-col {
    padding-right: 40px;
    border-right: 1px solid rgba(245, 197, 24, 0.14);
    position: relative;
    z-index: 1;
}

/* ─── Form header ─── */
.hc-form-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.hc-form-head__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hc-gold-bright), var(--hc-gold));
    color: #0a1628;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(245, 197, 24, 0.35);
}

.hc-form-head h2 {
    font-family: var(--hc-display);
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hc-gold-bright);
    margin: 0 0 6px;
}

.hc-form-head p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(200, 208, 224, 0.65);
}

/* ─── Form fields ─── */
.hc-form-field {
    position: relative;
    margin-bottom: 14px;
}

.hc-form-field i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(245, 197, 24, 0.75);
    pointer-events: none;
    z-index: 2;
}

.hc-form-field--textarea i {
    top: 18px;
    transform: none;
}

.hc-form-field input,
.hc-form-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 16px 14px 44px;
    font-family: var(--hc-font);
    font-size: 14px;
    color: #fff;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    resize: none;
}

.hc-form-field textarea {
    min-height: 120px;
}

.hc-form-field input::placeholder,
.hc-form-field textarea::placeholder {
    color: rgba(200, 208, 224, 0.42);
}

.hc-form-field input:focus,
.hc-form-field textarea:focus {
    border-color: rgba(245, 197, 24, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.1);
}

.hc-contact__form .g-recaptcha {
    margin: 16px 0 8px;
}

.hc-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    margin-top: 8px;
    font-family: var(--hc-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0a1628;
    background: linear-gradient(90deg, var(--hc-gold-bright), var(--hc-gold));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    box-shadow: 0 6px 24px rgba(245, 197, 24, 0.35);
}

.hc-submit-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 10px 32px rgba(245, 197, 24, 0.5);
    transform: translateY(-1px);
}

/* ─── Info column ─── */
.hc-info-head {
    margin-bottom: 24px;
}

.hc-info-head h3 {
    font-family: var(--hc-display);
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hc-gold-bright);
    margin: 0 0 12px;
}

.hc-info-head__divider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hc-info-head__divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--hc-gold), transparent);
    opacity: 0.5;
}

.hc-info-head__divider i {
    font-size: 7px;
    color: var(--hc-gold);
}

.hc-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.hc-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.hc-info-card:hover {
    border-color: rgba(245, 197, 24, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

.hc-info-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hc-gold-bright), var(--hc-gold));
    color: #0a1628;
    font-size: 14px;
}

.hc-info-card__body {
    min-width: 0;
}

.hc-info-card__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hc-gold-bright);
    margin-bottom: 3px;
}

.hc-info-card__value {
    display: block;
    font-size: 13px;
    line-height: 1.55;
    color: #ffffff;
}

.hc-info-card__value a {
    color: #ffffff !important;
    text-decoration: none;
}

.hc-info-card__value a:hover,
.hc-info-card__value a:focus {
    color: var(--hc-gold-bright, #ffd54f) !important;
}

/* ─── Social ─── */
.hc-social__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hc-gold-bright);
    margin-bottom: 14px;
}

.hc-social__links {
    display: flex;
    gap: 12px;
}

.hc-social__links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hc-social__links a:hover {
    background: linear-gradient(135deg, var(--hc-gold-bright), var(--hc-gold));
    border-color: transparent;
    color: #0a1628;
    transform: translateY(-2px);
}

/* ─── Map section ─── */
.hc-map {
    padding: 0 0 80px;
}

.hc-map__panel {
    position: relative;
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(245, 197, 24, 0.04) 0%, transparent 55%),
        linear-gradient(180deg, rgba(8, 12, 32, 0.9) 0%, rgba(5, 10, 36, 0.94) 100%);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(245, 197, 24, 0.35);
    border-radius: 18px;
    padding: 40px 40px 0;
    overflow: hidden;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hc-map__head {
    text-align: center;
    padding-bottom: 8px;
}

.hc-map__title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.hc-map__title-line {
    display: block;
    width: clamp(48px, 8vw, 96px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hc-gold), transparent);
    opacity: 0.75;
}

.hc-map__title-diamond {
    font-size: 8px;
    color: var(--hc-gold);
    line-height: 1;
    opacity: 0.9;
}

.hc-map__head h2 {
    font-family: var(--hc-display);
    font-size: clamp(20px, 2.8vw, 30px);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hc-gold-bright);
    margin: 0;
    text-shadow: 0 2px 16px rgba(245, 197, 24, 0.2);
}

.hc-map__head p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.hc-map__canvas-wrap {
    margin: 28px -40px 0;
    border-top: 1px solid rgba(245, 197, 24, 0.14);
    overflow: hidden;
    border-radius: 0 0 16px 16px;
}

#googleMap {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* ─── Responsive ─── */
@media (max-width: 991.98px) {
    .hc-contact__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hc-contact__form-col {
        padding-right: 0;
        border-right: none;
        padding-bottom: 36px;
        border-bottom: 1px solid rgba(245, 197, 24, 0.14);
    }

    .hc-contact__info-col {
        padding-left: 0;
    }

    .hc-contact__panel {
        padding: 28px 24px;
    }

    .hc-map__canvas-wrap {
        margin: 28px -24px 0;
    }
}

@media (max-width: 767.98px) {
    .hc-page-hero {
        padding: calc(var(--hv-header-h, 72px) + 24px) 0 24px;
    }

    .hc-kicker__line {
        width: 32px;
    }

    .hc-contact {
        padding-bottom: 48px;
    }

    .hc-map {
        padding-bottom: 48px;
    }

    .hc-contact__panel {
        padding: 22px 18px;
    }

    .hc-map__panel {
        padding: 28px 20px 0;
    }

    .hc-map__canvas-wrap {
        margin: 22px -20px 0;
    }

    .hc-map__title-wrap {
        gap: 10px;
    }

    #googleMap {
        height: 280px;
    }

    .hc-contact__form .g-recaptcha {
        transform-origin: 0 0;
        transform: scale(0.88);
    }
}

@media (max-width: 420px) {
    .hc-contact__form .g-recaptcha {
        transform: scale(0.78);
    }
}
