/* ─── RESET & BASE ───────────────────────────────────── */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #eef1f5;
    color: #0b1f2e;
}

/* ─── CONTACT HERO ───────────────────────────────────── */

.contact-hero {
    height: 320px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url("../images/hero-1.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: 0;
    padding: 100px 60px 0 60px; 
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(11, 31, 46, 0.95) 0%,
        rgba(11, 31, 46, 0.80) 40%,
        rgba(11, 31, 46, 0.40) 70%,
        rgba(11, 31, 46, 0.10) 100%
    );
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.contact-hero-content .eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ff5a55;
    font-weight: 900;
    margin: 0 0 14px;
    white-space: nowrap;
}

.contact-hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -1px;
    margin: 0 0 16px;
    color: white;
    white-space: nowrap;
}

.hero-accent {
    color: white;
    border-bottom: 3px solid #e53935;
    padding-bottom: 2px;
}

.contact-hero p {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255,255,255,0.88);
    margin: 0;
    max-width: 520px;
}

/* ─── REMOTE ACCESS STRIP ────────────────────────────── */

.remote-strip {
    background: #0b1f2e;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 28px 60px;
    position: relative;
    overflow: hidden;
}

.remote-strip::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(229,57,53,0.15), transparent 70%);
    pointer-events: none;
}

.remote-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.remote-strip-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.remote-icon {
    width: 48px;
    height: 48px;
    background: rgba(229,57,53,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e57373;
    flex-shrink: 0;
}

.remote-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin: 0 0 4px;
}

.remote-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin: 0;
    max-width: 560px;
    line-height: 1.5;
}

.remote-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: #e53935;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    font-family: Arial, Helvetica, sans-serif;
}

.remote-btn:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229,57,53,0.4);
}

/* ─── REMOTE ACCESS MODAL ────────────────────────────── */

.remote-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11,31,46,0.85);
    z-index: 9000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.remote-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.remote-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%);
    z-index: 9001;
    width: 90%;
    max-width: 500px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.remote-modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%);
}

.remote-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 28px 0;
}

.remote-modal-eyebrow {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e53935;
    margin: 0 0 6px;
}

.remote-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #0b1f2e;
    margin: 0;
}

.remote-modal-close {
    background: rgba(11,31,46,0.08);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b1f2e;
    transition: background 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.remote-modal-close:hover {
    background: #e53935;
    color: white;
}

.remote-modal-body {
    padding: 20px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.remote-logo {
    max-width: 180px;
    margin: 0 auto;
    display: block;
}

.remote-modal-body p {
    font-size: 15px;
    color: rgba(11,31,46,0.65);
    line-height: 1.6;
    margin: 0;
}

#remoteEmbedContainer {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remote-fallback {
    background: #f4f7fb;
    border-radius: 8px;
    padding: 14px 18px;
    border-left: 3px solid #e53935;
}

.remote-fallback p {
    font-size: 13px !important;
    margin: 0 0 6px !important;
}

.remote-fallback a {
    font-size: 13px;
    color: #e53935;
    font-weight: 700;
    word-break: break-all;
}

/* ─── MAIN CONTACT LAYOUT ────────────────────────────── */

.contact-layout {
    max-width: 1300px;
    margin: 56px auto 0;
    margin-bottom: 80px;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ─── SECTION LABELS ─────────────────────────────────── */

.section-eyebrow {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #e53935;
    display: block;
    margin: 0 0 10px;
}

.contact-section-title {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    color: #0b1f2e;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 28px;
}

/* ─── CONTACT FORM ───────────────────────────────────── */

.contact-form-wrap {
    background: white;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(11,31,46,0.10);
    border: 1px solid rgba(11,31,46,0.07);
    position: relative;
    overflow: hidden;
}

.contact-form-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, #e53935, rgba(229,57,53,0.15));
    border-radius: 18px 0 0 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #0b1f2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required {
    color: #e53935;
}

.optional {
    color: rgba(11,31,46,0.4);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid rgba(11,31,46,0.12);
    border-radius: 8px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    color: #0b1f2e;
    background: #fafbfc;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229,57,53,0.10);
    background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(11,31,46,0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: #e53935;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.form-submit:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229,57,53,0.35);
}

/* ─── FORM SUCCESS / ERROR ───────────────────────────── */

.form-success,
.form-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-success {
    background: rgba(46,125,50,0.08);
    color: #2e7d32;
    border: 1px solid rgba(46,125,50,0.2);
}

.form-error {
    background: rgba(229,57,53,0.08);
    color: #c62828;
    border: 1px solid rgba(229,57,53,0.2);
}

/* ─── CONTACT INFO BOX ───────────────────────────────── */

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-box {
    background: white;
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 12px 40px rgba(11,31,46,0.10);
    border: 1px solid rgba(11,31,46,0.07);
    position: relative;
    overflow: hidden;
}

.contact-info-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, #e53935, rgba(229,57,53,0.15));
    border-radius: 18px 0 0 18px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-detail-icon {
    width: 38px;
    height: 38px;
    background: rgba(229,57,53,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e53935;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-label {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(11,31,46,0.4);
    margin: 0 0 4px;
}

.contact-detail-value {
    font-size: 15px;
    color: #0b1f2e;
    line-height: 1.65;
    margin: 0;
}

.contact-detail-value a {
    color: #0b1f2e;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-detail-value a:hover {
    color: #e53935;
}

/* ─── MAP ────────────────────────────────────────────── */

.contact-map {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(11,31,46,0.10);
    border: 1px solid rgba(11,31,46,0.07);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 280px;
}

/* ─── FOOTER ─────────────────────────────────────────── */

.site-footer {
    background: #0b1f2e;
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 36px 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0;
}

.footer-content p {
    margin: 6px 0;
}

/* ─── FORM VALIDATION STYLES ─────────────────────────── */

.form-group.error input,
.form-group.error textarea {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229,57,53,0.10);
}

.field-error {
    font-size: 12px;
    color: #e53935;
    font-weight: 600;
    margin-top: 4px;
}

/* Scroll entrance */
.contact-form-wrap.is-visible,
.contact-info-box.is-visible,
.contact-map.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .remote-strip {
        padding: 24px 32px;
    }

    .remote-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .remote-btn {
        width: 100%;
        justify-content: center;
    }

    .contact-hero {
        padding: 0 32px;
    }

    .contact-hero h1 {
        white-space: normal;
        font-size: 36px;
    }
}

/* ─── REMOTE LAUNCH BUTTON ──────────────────────────── */
.remote-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
    padding: 14px 28px;
    background: #e53935;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.remote-launch-btn:hover {
    background: #c62828;
    transform: translateY(-1px);
}

/* ─── REMOTE MODAL ICON ──────────────────────────────── */
.remote-modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(229,57,53,0.08);
    border: 1.5px solid rgba(229,57,53,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #e53935;
}

/* ─── HONEYPOT ANTI-SPAM FIELD ───────────────────────────
   Hidden from real users — visible only to bots.
   DO NOT remove or make this visible.                    */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}