/* ═══════════════════════════════════════════════════════
   CONTACT PAGE CSS — contact.css
   Register in functions.php as 'contact' => 'assets/css/contact.css'
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.contact-hero {
    position: relative;
    height: 52vh;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.contact-hero__bg {
    position: absolute;
    inset: 0;
}

.contact-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(28, 40, 51, 0.95) 0%,
        rgba(28, 40, 51, 0.55) 50%,
        rgba(28, 40, 51, 0.15) 100%
    );
}

.contact-hero__content {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
    color: white;
}

.contact-hero__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.contact-hero__desc {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 480px;
}

/* ══════════════════════════════════════════════════════
   MAIN GRID — Form + Info
══════════════════════════════════════════════════════ */
.contact-main {
    padding: 80px 0 100px;
    background: var(--light-bg);
}

.contact-main__grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
}

/* ══════════════════════════════════════════════════════
   FORM COLUMN
══════════════════════════════════════════════════════ */
.contact-form-wrap {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.contact-form-wrap__header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 36px 40px;
}

.contact-form-wrap__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
}

.contact-form-wrap__sub {
    font-size: 14px;
    color: rgba(255,255,255,0.80);
    margin: 0;
}

.contact-form {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Two-column row */
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Group */
.contact-form__group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact-form__label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--charcoal);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.contact-form__required {
    color: var(--primary);
}

/* Input wrap with icon */
.contact-form__input-wrap {
    position: relative;
}

.contact-form__input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-light);
    pointer-events: none;
    z-index: 1;
}

.contact-form__input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--charcoal);
    background: white;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    appearance: none;
}

.contact-form__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 187, 111, 0.12);
}

.contact-form__input::placeholder {
    color: #bbb;
}

/* Textarea — no left icon */
.contact-form__textarea {
    padding: 14px 16px;
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

/* Select */
.contact-form__input-wrap--select {
    position: relative;
}

.contact-form__select {
    cursor: pointer;
    padding-right: 36px;
}

.contact-form__select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
}

/* Submit button */
.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    width: 100%;
    margin-top: 4px;
}

.contact-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(46,187,111,0.35);
}

.contact-form__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form messages */
.contact-form__message {
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    display: none;
    padding: 12px 16px;
}

.contact-form__message--success {
    background: rgba(46,187,111,0.10);
    color: var(--primary-dark);
    border: 1px solid rgba(46,187,111,0.25);
    display: block;
}

.contact-form__message--error {
    background: rgba(220,53,69,0.08);
    color: #c0392b;
    border: 1px solid rgba(220,53,69,0.20);
    display: block;
}

/* ══════════════════════════════════════════════════════
   INFO COLUMN
══════════════════════════════════════════════════════ */
.contact-info-col {
    position: sticky;
    top: 110px;
}

.contact-info-card {
    background: var(--charcoal);
    border-radius: 24px;
    padding: 36px;
    overflow: hidden;
    position: relative;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.contact-info-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: white;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: center;

.contact-info-item__icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(46,187,111,0.15);
    border: 1px solid rgba(46,187,111,0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-top: 1px;
}

.contact-info-item__label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-info-item__value {
    font-size: 13.5px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0;
}

.contact-info-item__value a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-item__value a:hover {
    color: var(--primary);
}

/* WhatsApp button */
.contact-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: #25D366;
    color: white;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
    color: white;
}

/* ══════════════════════════════════════════════════════
   MAP
══════════════════════════════════════════════════════ */
.contact-map-section {
    background: white;
}

.contact-map-header {
    padding: 72px 0 40px;
    background: white;
}

.contact-map-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--charcoal);
    margin-top: 8px;
    letter-spacing: -0.3px;
}

.contact-map-wrap {
    width: 100%;
    line-height: 0;
    border-top: 1px solid var(--border);
}

.contact-map-wrap iframe {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
    filter: grayscale(15%);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .contact-main__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-info-col {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero { height: 55vh; }
    .contact-main { padding: 56px 0 72px; }

    .contact-form-wrap__header { padding: 28px; }
    .contact-form              { padding: 28px; gap: 16px; }

    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-map-wrap iframe { height: 360px; }
}

@media (max-width: 480px) {
    .contact-hero__title    { font-size: 32px; }
    .contact-info-card      { padding: 24px; }
    .contact-map-wrap iframe { height: 280px; }
}