:root {
    --primary: #2c3e50;
    --accent: #3498db;
    --bg: #f9f9f9;
    --text: #333;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--text); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header { background: var(--primary); color: #fff; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.logo { font-size: 1.5rem; font-weight: bold; }
nav a { color: #fff; margin-left: 1.5rem; text-decoration: none; }
nav a:hover { color: var(--accent); }
.login-btn { border: 1px solid #fff; padding: 0.5rem 1rem; border-radius: 5px; }

.hero { background: linear-gradient(135deg, #2c3e50, #3498db); color: #fff; text-align: center; padding: 4rem 1rem; }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }

.content { padding: 3rem 5%; }
.bg-light { background: var(--bg); }
h2 { text-align: center; margin-bottom: 2rem; font-size: 2rem; }

.about-grid { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 300px; }
.about-img { flex: 1; min-width: 300px; display: flex; justify-content: center; }
.about-img svg { width: 100%; max-width: 300px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.service-card { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); text-align: center; }
.service-card svg { width: 50px; height: 50px; margin-bottom: 1rem; }

.reviews-container { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 2rem; }
.review { background: #fff; padding: 1.5rem; border-left: 4px solid var(--accent); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.stars { color: #f1c40f; font-size: 1.2rem; margin-bottom: 0.5rem; }
.review span { display: block; margin-top: 1rem; font-weight: bold; color: var(--primary); }

.add-review { max-width: 600px; margin: 0 auto; background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.add-review h3 { margin-bottom: 1rem; text-align: center; }
.add-review input, .add-review textarea { width: 100%; padding: 0.8rem; margin-bottom: 1rem; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
.add-review button { background: var(--accent); color: #fff; border: none; padding: 0.8rem 2rem; border-radius: 4px; cursor: pointer; width: 100%; font-size: 1rem; }
.add-review button:hover { background: #2980b9; }

.contacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.contacts-grid h3 { margin-bottom: 1rem; color: var(--primary); }

footer { background: var(--primary); color: #fff; text-align: center; padding: 2rem; font-size: 0.9rem; }
footer a { color: #ccc; margin: 0 0.5rem; }

@media (max-width: 768px) {
    header { flex-direction: column; gap: 1rem; }
    nav a { margin: 0 0.5rem; font-size: 0.9rem; }
    .hero h1 { font-size: 1.8rem; }
}
