/* Shared styles for the service and About pages */

:root {
    --bg: #ffffff;
    --surface: #f8fafc;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    --success: #15803d;
    --success-hover: #166534;
    --text: #1e293b;
    --muted: #556274;
    --border: #e2e8f0;
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3, .logo, .btn, summary, .service-link strong {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3 { line-height: 1.25; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

img { display: block; max-width: 100%; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}
.logo:hover { color: var(--text); }
.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0 1.4rem;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.btn-small { min-height: 44px; padding: 0 1.1rem; font-size: 0.9375rem; border-radius: 10px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-call { background: var(--success); color: #fff; }
.btn-call:hover { background: var(--success-hover); color: #fff; }
.btn-light { background: #fff; color: var(--accent-hover); }
.btn-light:hover { background: var(--accent-light); color: var(--accent-hover); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Layout */
.page { max-width: 800px; margin: 0 auto; padding: 1.5rem 1.5rem 4rem; }

.breadcrumbs { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.75rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }

/* Hero */
.page-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.lead { font-size: 1.125rem; margin-bottom: 1.5rem; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.badges li {
    background: var(--accent-light);
    color: var(--accent-hover);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Content */
.page section { margin-top: 3rem; scroll-margin-top: 1.5rem; }
.page h2 { font-size: 1.625rem; font-weight: 700; margin-bottom: 1rem; }
.page h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.4rem; }
.page section p { margin-bottom: 1rem; }
.page section p:last-child { margin-bottom: 0; }

.check-list, .cross-list { list-style: none; margin-bottom: 1rem; }
.check-list li, .cross-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.65rem; }
.check-list li::before, .cross-list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.check-list li::before { content: "\2713"; color: var(--success); }
.cross-list li::before { content: "\2715"; color: var(--muted); }

.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; margin-bottom: 1.25rem; min-height: 2rem; }
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; }
.card p { color: var(--muted); font-size: 0.9375rem; }

.note { color: var(--muted); font-size: 0.9375rem; }
.callout {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

/* Price table */
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.price-table th, .price-table td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.price-table th {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}
.price-table th:last-child, .price-table td:last-child { text-align: right; white-space: nowrap; }
.price-table td:last-child { font-weight: 700; }
.price-table tbody tr:nth-child(odd) { background: var(--surface); }

/* Photos */
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.photos.single { max-width: 520px; }
.photos figure { margin: 0; }
.photos img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: var(--surface);
}

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 0.75rem; }
.faq summary {
    position: relative;
    min-height: 44px;
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 1.0625rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--accent);
}
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 1.25rem 1.1rem; color: var(--muted); }

/* Service links */
.service-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.service-link {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-link:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }
.service-link strong { display: block; font-size: 1.0625rem; margin-bottom: 0.25rem; }
.service-link span { display: block; color: var(--muted); font-size: 0.9375rem; }
.service-link em { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.9375rem; font-weight: 700; color: var(--accent); }

/* Call to action */
.cta-band {
    margin-top: 3.5rem;
    background: var(--accent);
    color: #fff;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}
.cta-band h2 { color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.cta-band p { color: var(--accent-light); margin-bottom: 1.25rem; }
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.site-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer a[aria-current="page"] { color: var(--text); font-weight: 600; }

@media (max-width: 640px) {
    .page { padding: 1rem 1.25rem 3rem; }
    .page-hero h1 { font-size: 1.875rem; }
    .lead { font-size: 1.0625rem; }
    .page h2 { font-size: 1.375rem; }
    .logo { font-size: 1rem; }
    .header-phone { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    .cta-band { padding: 1.5rem 1.25rem; }
    .price-table th, .price-table td { padding: 0.65rem 0.75rem; }
}
