/* ====== TYPOGRAPHY & BASE ====== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #0d0d0d;
    font-weight: 700;
    line-height: 1.3;
    margin: 2em 0 1em;
}

h1 { font-size: 2.5em; margin-top: 0; }
h2 { font-size: 2em; }
h3 { font-size: 1.6em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1em; }

p {
    margin: 0 0 1.5em;
    color: #2d2d2d;
}

/* ====== HEADER & LOGO ====== */
.site-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-svg {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.logo-svg svg {
    width: 100%;
    height: 100%;
}

.company-info {
    color: white;
    max-width: 400px;
}

.company-info h1 {
    margin: 0 0 8px;
    font-size: 2em;
    color: white;
}

.company-tagline {
    font-size: 0.95em;
    opacity: 0.95;
    margin: 0;
    line-height: 1.4;
}

/* ====== CONTACT BAR (TOP) ====== */
.contact-bar {
    background: white;
    border-bottom: 2px solid #e5e7eb;
    padding: 15px 0;
}

.contact-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    font-size: 0.95em;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    fill: #3b82f6;
}

.contact-item strong {
    color: #0d0d0d;
}

/* ====== FOOTER CONTACTS (WHITE BG) ====== */
.site-footer {
    background: white;
    padding: 50px 0 30px;
    margin-top: 60px;
    border-top: 3px solid #3b82f6;
}

.footer-contacts {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.footer-contact-block {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.footer-contact-block h3 {
    color: #1e3a8a;
    margin: 0 0 15px;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-block svg {
    width: 24px;
    height: 24px;
    fill: #3b82f6;
}

.footer-contact-block p {
    margin: 8px 0;
    color: #2d2d2d;
    font-size: 0.95em;
    line-height: 1.6;
}

.footer-contact-block a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
}

.footer-contact-block a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 25px 20px 0;
    margin-top: 40px;
    border-top: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 0.9em;
}

/* ====== CONTENT POST (DOORWAYS) ====== */
.content-post {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.content-post h1 {
    color: #0d0d0d;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.content-post h2 {
    color: #1a1a1a;
    margin-top: 2.5em;
    padding-left: 15px;
    border-left: 4px solid #3b82f6;
}

.content-post h3 {
    color: #2d2d2d;
    margin-top: 2em;
}

.content-post p {
    margin-bottom: 1.8em;
    line-height: 1.8;
    text-align: justify;
}

.content-post p:first-of-type {
    font-size: 1.1em;
    color: #1a1a1a;
}

/* ====== LISTS ====== */
.content-post ul,
.content-post ol {
    margin: 1.5em 0 2em 0;
    padding-left: 30px;
    color: #2d2d2d;
}

.content-post li {
    margin-bottom: 0.8em;
    line-height: 1.7;
}

.content-post ul li {
    list-style-type: none;
    position: relative;
    padding-left: 25px;
}

.content-post ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.content-post ol li {
    padding-left: 10px;
}

/* ====== TABLES ====== */
.content-post table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.content-post table th {
    background: #1e3a8a;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #1e3a8a;
}

.content-post table td {
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    color: #2d2d2d;
}

.content-post table tr:nth-child(even) {
    background: #f8f9fa;
}

.content-post table tr:hover {
    background: #f1f5f9;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

.btn:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

.btn-secondary {
    background: white;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.btn-secondary:hover {
    background: #1e3a8a;
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1em;
}

/* ====== LINKS ====== */
.content-post a {
    color: #1e3a8a;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.content-post a:hover {
    color: #3b82f6;
}

a {
    color: #1e3a8a;
    transition: color 0.2s;
}

/* ====== CONTACT FORM ====== */
.contact-form-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-form-wrapper h2 {
    margin-top: 0;
    color: #0d0d0d;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1em;
    color: #1a1a1a;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button[type="submit"]:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

/* ====== LIVE CHAT ====== */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59,130,246,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chat-button:hover {
    background: #1e3a8a;
    transform: scale(1.1);
}

.chat-button svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: #1e3a8a;
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    color: #1a1a1a;
}

.chat-footer button {
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

/* ====== BLOCKQUOTES ====== */
.content-post blockquote {
    margin: 2em 0;
    padding: 20px 25px;
    background: #f1f5f9;
    border-left: 5px solid #3b82f6;
    color: #1a1a1a;
    font-style: italic;
}

/* ====== CODE BLOCKS ====== */
.content-post code {
    background: #1e293b;
    color: #e2e8f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.content-post pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 2em 0;
}

.content-post pre code {
    background: none;
    padding: 0;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .company-info {
        max-width: 100%;
    }
    
    .contact-bar-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 2em; }
    h2 { font-size: 1.6em; }
    h3 { font-size: 1.3em; }
    
    .content-post {
        padding: 25px 20px;
        margin: 20px 15px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
        margin: 20px 15px;
    }
    
    .footer-contacts {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .site-footer {
        padding: 30px 0 20px;
    }
    
    .logo-svg {
        width: 60px;
        height: 60px;
    }
    
    .company-info h1 {
        font-size: 1.5em;
    }
    
    .chat-window {
        width: 90vw;
        right: 5vw;
        height: 400px;
    }
    
    .live-chat-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .content-post table {
        font-size: 0.85em;
    }
    
    .content-post table th,
    .content-post table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .content-post {
        padding: 20px 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    
    .chat-button {
        width: 50px;
        height: 50px;
    }
    
    .chat-button svg {
        width: 24px;
        height: 24px;
    }
}

/* ====== SPACING UTILITIES ====== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
