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

html { font-size: 16px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #0d0d0f;
    color: #e0e0e2;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: #d4a94e; text-decoration: none; }
a:hover { color: #e5bf5c; }

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1rem;
}

.muted { color: #9a9aa0; }

/* ---------- Header ---------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid #26262c;
}

.wordmark {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #d4a94e;
    text-transform: uppercase;
}

.header-phone {
    font-size: 1rem;
    color: #d4a94e;
    font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
    text-align: center;
    padding: 3rem 1rem 2.5rem;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #d4a94e;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hero-desc {
    font-size: 1.05rem;
    color: #9a9aa0;
    margin-bottom: 1.5rem;
}

.btn-hero {
    display: inline-block;
    background: #d4a94e;
    color: #0d0d0f;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.85rem 2.2rem;
    border-radius: 8px;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
}

.btn-hero:hover {
    background: #e5bf5c;
    transform: scale(1.03);
}

.hero-hours {
    font-size: 0.9rem;
    margin-top: 1rem;
}

.hero-messengers {
    margin-top: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.btn-msg {
    display: inline-block;
    padding: 0.5rem 1.3rem;
    border: 1px solid #d4a94e;
    border-radius: 8px;
    color: #d4a94e;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.btn-msg:hover {
    background: #d4a94e;
    color: #0d0d0f;
}

/* ---------- Section Title ---------- */
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ---------- Services Grid ---------- */
.services {
    padding: 2rem 0;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.card-service {
    background: #16161a;
    border: 1px solid #26262c;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.card-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(212,169,78,0.15);
}

.icon-service {
    color: #d4a94e;
    width: 40px;
    height: 40px;
}

.service-name {
    font-size: 1rem;
    font-weight: 600;
    color: #e0e0e2;
}

/* ---------- Reasons ---------- */
.reasons {
    padding: 2rem 0;
}

.grid-reasons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.reason-item {
    background: #16161a;
    border: 1px solid #26262c;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.reason-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.reason-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #d4a94e;
    margin-bottom: 0.4rem;
}

.reason-item p {
    font-size: 0.95rem;
    color: #9a9aa0;
}

/* ---------- Gallery (Наш сервіс зсередини) ---------- */
.gallery {
    padding: 2rem 0;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.grid-gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #26262c;
    display: block;
}

/* ---------- Steps (Як ми працюємо) ---------- */
.steps {
    padding: 2rem 0;
}

.grid-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.step-item {
    background: #16161a;
    border: 1px solid #26262c;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.step-num {
    width: 2.4rem;
    height: 2.4rem;
    line-height: 2.4rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: #d4a94e;
    color: #0d0d0f;
    font-size: 1.2rem;
    font-weight: 800;
}

.step-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e0e0e2;
    margin-bottom: 0.4rem;
}

.step-item p {
    font-size: 0.9rem;
    color: #9a9aa0;
}

/* ---------- Contacts ---------- */
.contacts {
    padding: 2rem 0 1.5rem;
}

.card-contacts {
    background: #16161a;
    border: 1px solid #26262c;
    border-radius: 12px;
    padding: 1.5rem;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    padding: 0.7rem 0;
    border-bottom: 1px solid #26262c;
}

.contact-row:last-child { border-bottom: none; }

.contact-label {
    width: 120px;
    font-weight: 600;
    color: #9a9aa0;
    font-size: 0.95rem;
}

.contact-row a, .contact-row span {
    flex: 1;
    color: #e0e0e2;
    font-size: 0.95rem;
}

.contact-phone {
    font-size: 1.2rem !important;
    font-weight: 700;
    color: #d4a94e !important;
}

/* ---------- Footer ---------- */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid #26262c;
    font-size: 0.85rem;
}

.footer-admin {
    font-size: 0.75rem;
}

/* ---------- Responsive ---------- */
/* 9-та картка послуг на вузькому екрані (2 колонки) лягає сама — тягнемо на весь ряд */
.grid-services .card-service:last-child { grid-column: span 2; }

@media (min-width: 600px) {
    .hero-title { font-size: 2.8rem; }
    .btn-hero { font-size: 1.2rem; padding: 1rem 2.5rem; }
    .grid-services { grid-template-columns: repeat(3, 1fr); }
    .grid-services .card-service:last-child { grid-column: auto; }
    .grid-reasons { grid-template-columns: repeat(3, 1fr); }
    .grid-gallery { grid-template-columns: repeat(3, 1fr); }
    .grid-gallery img { height: 240px; }
    .grid-steps { grid-template-columns: repeat(4, 1fr); }
    .contact-label { width: 150px; }
}

@media (min-width: 768px) {
    .container { padding: 0 2rem; }
}
