* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo h1 {
    font-size: 28px;
    font-weight: 600;
}

.logo p {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

.header-phone {
    text-align: right;
}

.phone-number {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: block;
}

.phone-number:hover {
    color: #ecf0f1;
}

.header-phone p {
    font-size: 13px;
    opacity: 0.9;
}

/* Navigation */
nav {
    background-color: rgba(0,0,0,0.1);
    margin-top: 15px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 15px;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255,255,255,0.2);
}

/* Main Content */
main {
    min-height: 500px;
    padding: 40px 0;
}

.content-wrapper {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

h1 {
    color: #2c3e50;
    font-size: 36px;
    margin-bottom: 20px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

h2 {
    color: #34495e;
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
}

h3 {
    color: #555;
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

ul, ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

/* Info Boxes */
.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.danger-box {
    background: #ffebee;
    border-left: 4px solid #f44336;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.success-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

/* Forms */
.consultation-form {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.consultation-form h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

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

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.btn-large {
    padding: 16px 45px;
    font-size: 18px;
    width: 100%;
}

.btn-success {
    background: #27ae60;
}

.btn-success:hover {
    background: #229954;
}

/* Price Table */
.price-table {
    margin: 30px 0;
}

.price-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.price-item:hover {
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.price-item h3 {
    color: #2c3e50;
    margin-top: 0;
}

.price-value {
    font-size: 32px;
    color: #3498db;
    font-weight: bold;
    margin: 15px 0;
}

/* Reviews */
.review {
    background: #fafafa;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-author {
    font-weight: bold;
    color: #2c3e50;
}

.review-date {
    color: #777;
    font-size: 14px;
}

.review-text {
    line-height: 1.7;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card h3 {
    color: #2c3e50;
    margin-top: 0;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

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

.footer-section h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #bdc3c7;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

table th {
    background: #f5f5f5;
    color: #2c3e50;
    font-weight: 600;
}

table tr:hover {
    background: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }
    
    .header-phone {
        margin-top: 15px;
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .content-wrapper {
        padding: 20px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .phone-number {
        font-size: 20px;
    }
}
