/* ================= CONTACT HERO ================= */

.contact-hero {
    background: linear-gradient( rgba(20, 83, 45, 0.9), rgba(20, 83, 45, 0.9)), url('../assets/hero.jpg') center/cover no-repeat;
    padding: 40px 20px;
    color: #ffffff;
    text-align: center;
}

.contact-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.contact-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #F2D202;
    margin-bottom: 12px;
    display: inline-block;
}

.contact-hero h1 {
    font-size: 46px;
    margin-bottom: 16px;
}

.contact-hero-sub {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}


/* ================= UNIFIED CONTACT STYLING ================= */

.contact-methods {
    padding: 40px 20px;
    background: #fdfdfc;
    /* Elegant off-white */
}

.unified-contact-grid {
    display: grid;
    /* This automatically makes it 4 per row on desktop, 2 on tablet, 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.dignity-card {
    background: #ffffff;
    padding: 40px 25px;
    border: 1px solid rgba(20, 83, 45, 0.08);
    border-radius: 12px;
    /* Slightly softer corners for dignity */
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* Give the WhatsApp/Phone cards a slight gold accent to show importance */

.highlight-border {
    border-color: rgba(242, 210, 2, 0.3);
}

.method-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(20, 83, 45, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #35823F;
    transition: 0.4s;
}

.dignity-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #35823F;
    margin-bottom: 10px;
}

.dignity-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes the button to the bottom so all buttons align */
}


/* Elegant Link Styling */

.link-elegant {
    text-decoration: none;
    color: #35823F;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 15px;
    border-top: 1px solid rgba(20, 83, 45, 0.05);
    transition: 0.3s;
}


/* Hover States */

.dignity-card:hover {
    transform: translateY(-10px);
    border-color: #F2D202;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.dignity-card:hover .method-icon-wrap {
    background: #35823F;
    color: #F2D202;
}

.dignity-card:hover .link-elegant {
    color: #F2D202;
}


/* Live Pulse remains the same */

.card-status-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #35823F;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-status-tag::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #F2D202;
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.6);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* Responsive Grid adjustment for very small phones */

@media (max-width: 400px) {
    .unified-contact-grid {
        grid-template-columns: 1fr;
    }
}


/* ================= DIGNITY MAP & FORM STYLING ================= */

.dignity-section {
    padding: 40px 0;
}

.alt-bg {
    background-color: #f8f8f6;
}


/* --- MAP: THE CANVAS FRAME --- */

.canvas-frame {
    position: relative;
    padding: 15px;
    background: #fff;
    border: 1px solid rgba(242, 210, 2, 0.2);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
}

.canvas-frame iframe {
    width: 100%;
    height: 480px;
    border: 0;
    filter: grayscale(10%) contrast(1.05);
    display: block;
}

.center-narrative {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}


/* --- FORM GRID & NARRATIVE --- */

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.form-narrative h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #35823F;
    margin: 15px 0 25px;
    line-height: 1.1;
}

.dignity-info-list {
    list-style: none;
    margin-top: 40px;
}

.dignity-info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #35823F;
    font-size: 16px;
}

.dignity-info-list li i {
    color: #F2D202;
    font-size: 20px;
}


/* --- THE FORM CARD: OFFICIAL REGISTER --- */

.dignity-form-card {
    background: #ffffff;
    padding: 60px;
    border-radius: 4px;
    border-left: 5px solid #35823F;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    color: #35823F;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom: 1.5px solid #F2D202;
}


/* --- THE SUBMIT BUTTON --- */

.btn-dignity-submit {
    width: 100%;
    padding: 20px;
    background: #35823F;
    color: #F2D202;
    border: none;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 20px;
}

.btn-dignity-submit:hover {
    background: #0a2114;
    letter-spacing: 5px;
}

.form-note {
    margin-top: 25px;
    text-align: center;
    font-size: 12px;
    color: #888;
    font-weight: 600;
}


/* --- RESPONSIVE --- */

@media (max-width: 900px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .dignity-form-card {
        padding: 40px 25px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}