/**
 * Contact Page Styles (Creative Legend)
 * Aligned with Homepage Brand Architecture: Emerald Green (#084734), Lime Accent (#93B233),
 * Architectural Cards, Floating Badges, and Smooth Elevations.
 */

/* ===== 1. Hero Banner ===== */
.contact-hero {
    background: linear-gradient(135deg, #03140E 0%, #084734 65%, #0d543e 100%);
    color: var(--white);
    padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 8vw, 85px);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 167, 141, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero-content {
    max-width: 780px;
    position: relative;
    z-index: 2;
    text-align: left;
}

.contact-hero .eyebrow {
    color: var(--cl-green-bright);
    font-size: 13.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-hero .eyebrow::before {
    content: "";
    background: var(--cl-green-bright);
    width: 24px;
    height: 2px;
}

.contact-hero h1 {
    font-size: clamp(34px, 4.6vw, 60px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.2px;
    color: var(--white);
    margin-bottom: 22px;
}

.contact-hero h1 em {
    font-style: normal;
    color: var(--cl-green-bright);
}

.contact-hero p.lead {
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.7;
    color: #E6F0EB;
    max-width: 700px;
    opacity: 0.92;
    margin-bottom: 30px;
}

.contact-badges-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

a.contact-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.static-pill {
    background: rgba(8, 71, 52, 0.4);
    border-color: var(--cl-green-mid);
    color: var(--cl-green-bright) !important;
}

/* ===== 2. Main 2-Column Section ===== */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 50px;
    align-items: start;
}

.sec-head-sm {
    margin-bottom: 28px;
}

.sec-head-sm h2 {
    font-size: clamp(26px, 2.8vw, 36px);
    margin-bottom: 12px;
    line-height: 1.25;
}

/* Cards Stack */
.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--cl-green-mid);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(8, 71, 52, 0.08);
}

.contact-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--cl-mint-soft);
    color: var(--cl-green-deep);
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card-body h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--dark);
}

.contact-card-body p {
    font-size: 15px;
    color: var(--mid);
    margin: 0;
    line-height: 1.5;
}

.link-highlight {
    color: var(--cl-green-deep);
    font-weight: 700;
    text-decoration: none;
}

.link-highlight:hover {
    color: var(--cl-green-mid);
    text-decoration: underline;
}

.contact-card-note {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.btn-text-link {
    display: inline-block;
    color: var(--cl-green-deep);
    font-weight: 700;
    font-size: 13.5px;
    margin-top: 4px;
    transition: var(--ease);
}

.btn-text-link:hover {
    color: var(--cl-green-bright);
    transform: translateX(3px);
}

/* WhatsApp Card */
.contact-whatsapp-box {
    background: linear-gradient(145deg, #073827 0%, #0d543e 100%);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    border: 1px solid rgba(57, 167, 141, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.wa-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.wa-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 10px #25D366;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.btn-wa-full {
    background: #25D366;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 24px;
    border-radius: 50px;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

.btn-wa-full:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Right: Form Card */
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 38px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.form-header-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-pill {
    background: var(--cl-mint-soft);
    color: var(--cl-green-deep);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 30px;
}

.confidential-badge {
    font-size: 12px;
    color: var(--mid);
    font-weight: 600;
}

.contact-form-card h3 {
    font-size: 26px;
    margin-bottom: 6px;
}

.form-sub {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 26px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    height: 48px;
    padding: 10px 16px;
    font-size: 14.5px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--lighter);
    color: var(--dark);
    font-family: inherit;
    transition: all 0.25s ease;
}

.form-control:focus {
    border-color: var(--cl-green-mid);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(57, 167, 141, 0.15);
    outline: none;
}

textarea.form-control {
    height: auto;
    padding: 14px 16px;
    resize: vertical;
}

.select-wrapper {
    position: relative;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23084734' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 42px;
    cursor: pointer;
}

.form-guarantee-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--mid);
    margin-bottom: 22px;
    padding: 10px 14px;
    background: var(--lighter);
    border-radius: var(--radius-md);
}

.btn-submit-full {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 15px 30px;
}

/* ===== 3. Location & Directions Section ===== */
.contact-location-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
    align-items: center;
}

.location-card-content h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.location-details-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--dark-2);
}

.location-details-list strong {
    color: var(--cl-green-deep);
}

.location-card-visual {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 260px;
    background: #031811;
    border: 1px solid var(--border);
}

.map-schematic-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #084734 0%, #03140E 100%);
    display: grid;
    place-items: center;
}

.map-pin-pulse {
    position: relative;
    display: grid;
    place-items: center;
}

.pulse-ring {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--cl-green-bright);
    animation: pulseMapRing 2.4s infinite ease-out;
}

@keyframes pulseMapRing {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.pulse-center {
    font-size: 34px;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.map-floating-label {
    position: absolute;
    bottom: 20px;
    background: rgba(4, 25, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(57, 167, 141, 0.4);
    padding: 8px 16px;
    border-radius: 30px;
    text-align: center;
    color: #fff;
}

.map-floating-label strong {
    display: block;
    font-size: 13px;
    color: var(--cl-green-bright);
}

.map-floating-label small {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 1024px) {
    .contact-main-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-location-card { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
    .form-row-2 { grid-template-columns: 1fr; gap: 0; }
    .contact-form-card { padding: 30px 22px; }
    .contact-badges-row { flex-direction: column; align-items: flex-start; }
    .contact-pill { width: 100%; justify-content: center; }
}
