/* 1. GLOBAL RESET & BASE - SYNCED TO INDEX */
* { box-sizing: border-box; margin: 0; padding: 0; }

.content-wrapper {
    width: 75%; 
    max-width: 1250px;
    /* REFINED: Standardized 25px top-docking to navigation bar */
    margin: 25px auto 60px auto; 
}

/* 2. SAFETY BANNER (PC) */
.safety-banner {
    width: 100%;
    margin-bottom: 30px;
    background: #ffffff;
    border-left: 12px solid #cc0000;
    padding: 25px 40px;
    box-shadow: 15px 15px 0px rgba(0,0,0,0.01);
}

.safety-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.safety-tag {
    align-self: flex-start;
    font-family: 'Segoe UI', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #cc0000;
    border: 1px solid #cc0000;
    padding: 3px 8px;
}

.safety-inner p {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    color: #333;
    line-height: 1.5;
}

/* 3. THE CONTACT CARD (PC) */
.contact-card {
    background: #ffffff;
    padding: 35px 80px;
    border: 1px solid rgba(24, 69, 59, 0.08);
    box-shadow: 40px 40px 0px rgba(24, 69, 59, 0.02);
    text-align: center;
}

.card-header h1 {
    font-family: 'Segoe UI', sans-serif;
    color: #18453B;
    text-transform: uppercase;
    font-size: 2.1rem;
    letter-spacing: 3px;
    margin-bottom: 5px;
    white-space: nowrap; /* Locked to one line on PC */
}

.fine-rule {
    width: 100%; 
    height: 4px;
    background: #18453B;
    margin-top: 15px;
    margin-bottom: 25px;
}

.statement-area {
    max-width: 720px;
    margin: 0 auto 30px auto;
}

.calm-statement {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 1.35rem;
    line-height: 1.5;
    color: #444;
}

/* 4. LOGISTICS & BUTTON */
.details-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 35px;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.label {
    display: block;
    font-family: 'Segoe UI', sans-serif;
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #18453B;
    margin-bottom: 5px;
}

.detail-text {
    font-size: 1.35rem;
    color: #222;
    font-weight: 400;
    line-height: 1.3;
}

.btn-primary-consult {
    background: #18453B;
    color: #ffffff;
    border: none;
    padding: 18px 50px;
    font-family: 'Segoe UI', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary-consult:hover {
    background: #235d50;
}

/* 5. MODAL SYSTEM */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(24, 69, 59, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-container {
    background: white;
    width: 90%;
    max-width: 900px;
    height: 90vh;
    position: relative;
}

#contact-iframe { width: 100%; height: 100%; border: none; }

.close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

/* 6. MOBILE REFACTOR (1024px and Down) */
@media (max-width: 1024px) {
    .content-wrapper {
        width: 90%; 
        margin: 25px auto 30px auto;
        padding: 0;
    }

    .safety-banner {
        padding: 25px;
        border-left-width: 8px;
        box-shadow: none; 
        margin-bottom: 20px;
    }

    .safety-inner p { font-size: 1.05rem; }

    .contact-card {
        padding: 40px 25px;
        box-shadow: none; 
        background-color: rgba(24, 69, 59, 0.04); 
        border: 1px solid rgba(24, 69, 59, 0.1);
        text-align: center;
    }

    .card-header h1 {
        font-size: 1.8rem; 
        letter-spacing: 2px;
        white-space: normal; 
        line-height: 1.2;
        max-width: 240px; 
        margin: 0 auto;
    }

    .fine-rule { 
        width: calc(100% - 20px); 
        margin: 15px auto 25px auto; 
    }

    .calm-statement { font-size: 1.15rem; }

    .details-grid {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding-top: 25px;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .btn-primary-consult {
        width: 100%; 
        text-align: center;
    }

    .modal-container {
        width: 100%;
        height: 100%;
        max-width: none;
    }

    .close-btn {
        top: 10px;
        right: 20px;
        color: #18453B; 
    }
}