/* === TYPOGRAPHY === */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #222;
    background: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.2rem;
    margin-top: 2rem;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1.5rem;
    color: #333;
}

/* === HEADER === */
.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo-svg {
    width: 80px;
    height: 80px;
}

.company-info {
    color: #fff;
}

.company-info h1 {
    font-size: 1.8rem;
    margin: 0 0 5px 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.company-tagline {
    font-size: 0.95rem;
    opacity: 0.95;
    margin: 0;
}

/* === CONTACTS SECTION === */
.contacts-section {
    background: #ffffff;
    padding: 50px 0;
    border-top: 3px solid #667eea;
}

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

.contacts-title {
    text-align: center;
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-card h3 {
    font-size: 1.3rem;
    color: #667eea;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card p {
    margin: 8px 0;
    color: #222;
    font-size: 1rem;
}

.contact-card a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    color: #667eea;
}

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

.content-post h1:first-child {
    margin-top: 0;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

.content-post p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    text-align: justify;
}

.content-post strong {
    color: #1a1a1a;
    font-weight: 700;
}

.content-post em {
    font-style: italic;
    color: #444;
}

/* === LISTS === */
.content-post ul,
.content-post ol {
    margin: 1.5rem 0 1.5rem 2rem;
    padding: 0;
    color: #333;
}

.content-post ul {
    list-style: none;
}

.content-post ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-post ul li:before {
    content: "◆";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.content-post ol {
    counter-reset: item;
    list-style: none;
}

.content-post ol li {
    counter-increment: item;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-post ol li:before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
}

/* === TABLES === */
.content-post table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.content-post table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.content-post table th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    color: #fff;
}

.content-post table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

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

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: #fff;
}

/* === LINKS === */
.content-post a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.content-post a:hover {
    color: #764ba2;
}

/* === CONTACT FORM === */
.contact-form-section {
    background: #f8f9fa;
    padding: 50px 20px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.1);
}

.contact-form h2 {
    text-align: center;
    color: #1a1a1a;
    margin-top: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

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

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

.chat-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: transform 0.3s ease;
}

.chat-button:hover {
    transform: scale(1.1);
}

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

/* === FOOTER === */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: #ccc;
    margin: 10px 0;
}

/* === BLOCKQUOTE === */
.content-post blockquote {
    border-left: 4px solid #667eea;
    padding: 20px 30px;
    margin: 2rem 0;
    background: #f8f9fa;
    font-style: italic;
    color: #444;
}

/* === CODE === */
.content-post code {
    background: #f4f4f4;
    padding: 2px 8px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #d63384;
    font-size: 0.9rem;
}

.content-post pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.content-post pre code {
    background: transparent;
    color: #f8f8f2;
    padding: 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .company-info h1 {
        font-size: 1.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .content-post {
        padding: 25px 20px;
        margin: 20px 10px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .content-post table {
        font-size: 0.9rem;
    }
    
    .content-post table th,
    .content-post table td {
        padding: 10px 8px;
    }
    
    .live-chat-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-button {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    
    .company-info h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .company-tagline {
        font-size: 0.85rem;
    }
    
    .logo-svg {
        width: 60px;
        height: 60px;
    }
    
    .contacts-title {
        font-size: 1.8rem;
    }
    
    .content-post p {
        text-align: left;
    }
}

/* === ACCESSIBILITY === */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
