/* =========================================
   RADIAL — LIGHT GLASS DETAILING THEME
   Корпоративная палитра:
   - RADIAL Blue........#2563EB
   - Deep Navy..........#0F172A
   - Ice Cyan...........#E0F2FE
   - Accent Orange......#F97316
   - Accent Yellow......#FACC15
   ========================================= */

:root {
    /* Цвета */
    --radial-blue: #2563eb;
    --radial-blue-light: #3b82f6;
    --radial-blue-soft: #60a5fa;
    --radial-navy: #0f172a;
    --radial-ice: #e0f2fe;
    --accent-orange: #f97316;
    --accent-yellow: #facc15;

    --bg-body: #ffffff;
    --bg-page: radial-gradient(circle at 0% 0%, #e0f2fe 0%, #ffffff 45%, #ffffff 100%);

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-bg-soft: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(148, 163, 184, 0.45);
    --glass-border-soft: rgba(148, 163, 184, 0.35);

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-soft: #6b7280;

    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 20px 55px rgba(15, 23, 42, 0.18);

    --radius-card: 18px;
    --radius-pill: 999px;

    --fz-main: 16px;
    --fz-small: 14px;
    --fz-big: 20px;

    --transition-fast: 140ms ease-out;
    --transition-normal: 220ms ease-out;
}

/* =========================================
   BASE
   ========================================= */

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

html,
body {
    margin: 0;
    padding: 0;
    font-size: var(--fz-main);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--radial-blue-light);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
    color: var(--radial-blue);
}

a:focus-visible {
    outline: 2px solid var(--radial-blue-soft);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* =========================================
   HEADER — GLASS BAR
   ========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.96),
        rgba(255, 255, 255, 0.9)
    );
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border-soft);
}

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

/* Логотип-надпись RADIAL */

.header-logo-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-logo-text {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(120deg, var(--radial-blue), var(--radial-blue-soft), #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header-logo-sub {
    font-size: var(--fz-small);
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Навигация */

.header-nav {
    display: none;
    position: absolute;
    right: 16px;
    top: 54px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border-soft);
    backdrop-filter: blur(18px);
    flex-direction: column;
    gap: 6px;
    min-width: 190px;
}

.header-nav.header-nav--open {
    display: flex;
}

.header-link {
    font-size: var(--fz-small);
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.header-link:hover {
    background: #eff6ff;
    color: var(--radial-blue);
    transform: translateY(-1px);
}

.header-link--active {
    background: #e0edff;
    color: var(--radial-blue);
    font-weight: 600;
}

/* Бургер */

.burger {
    width: 34px;
    height: 28px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--glass-border-soft);
    background: linear-gradient(135deg, #f1f5f9, #e0f2fe);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.burger span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #1f2933;
}

.burger:hover {
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
    background: linear-gradient(135deg, #e2e8f0, #dbeafe);
}

/* Телефон в шапке (Desktop) */

.header-phone {
    display: none;
}

.header-phone-link {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: var(--fz-small);
    color: var(--radial-blue);
}

.header-phone-label {
    margin-top: 2px;
    font-size: 11px;
    color: var(--text-soft);
}

/* =========================================
   MAIN LAYOUT
   ========================================= */

.site-main {
    padding: 16px 0 32px;
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero {
    padding: 18px 0 22px;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-left,
.hero-right {
    width: 100%;
}

.hero-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-highlight {
    color: var(--radial-blue);
}

.hero-subtitle {
    margin-top: 6px;
    font-size: var(--fz-small);
    color: var(--text-muted);
}

/* Бейджи */

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.badge {
    font-size: 12px;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    background: rgba(224, 242, 254, 0.9);
    border: 1px solid rgba(191, 219, 254, 1);
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: radial-gradient(circle at center, #22c55e 0, #16a34a 50%, #15803d 100%);
}

/* CTA */

.hero-cta {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-size 260ms ease-out, background var(--transition-normal), border var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

/* Градиент с «движением» на hover */
.btn-primary {
    background-image: linear-gradient(120deg, var(--radial-blue), var(--radial-blue-soft), #38bdf8);
    background-size: 200% 100%;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.45);
    background-position: 100% 0;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(191, 219, 254, 1);
    color: var(--radial-blue);
}

.btn-outline:hover {
    background: #eff6ff;
}

/* Инфо под CTA */

.hero-info {
    margin-top: 10px;
    font-size: var(--fz-small);
    color: var(--text-soft);
}

/* Правая glass-карточка */

.hero-card {
    margin-top: 4px;
    padding: 14px 15px 13px;
    border-radius: var(--radius-card);
    background:
        radial-gradient(circle at top, rgba(191, 219, 254, 0.9) 0, rgba(255, 255, 255, 0.9) 52%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
    font-size: 14px;
    color: var(--text-main);
}

.hero-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

/* =========================================
   COMMON SECTIONS
   ========================================= */

.section {
    padding: 16px 0;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: var(--fz-small);
    color: var(--text-soft);
    margin-bottom: 12px;
}

/* =========================================
   SERVICES GRID (glass cards)
   ========================================= */

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.service-card {
    position: relative;
    overflow: hidden;
    background: var(--glass-bg-soft);
    border-radius: var(--radius-card);
    padding: 14px 14px 12px;
    border: 1px solid var(--glass-border-soft);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(191, 219, 254, 0.75) 0, transparent 55%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(37, 99, 235, 0.18);
}

.service-card:hover::before {
    opacity: 1;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
}

.service-text {
    font-size: 14px;
    color: var(--text-muted);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.service-tag {
    font-size: 12px;
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.service-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 8px;
}

.service-price-from {
    font-size: 13px;
    color: var(--text-soft);
}

/* =========================================
   MAP CARD (glass)
   ========================================= */

.map-card {
    background: var(--glass-bg);
    border-radius: var(--radius-card);
    padding: 14px;
    border: 1px solid var(--glass-border-soft);
    box-shadow: var(--shadow-card);
}

.map-address {
    font-size: 15px;
}

.map-coords {
    font-size: var(--fz-small);
    color: var(--text-soft);
}

.map-iframe {
    margin-top: 10px;
    border-radius: 14px;
    border: none;
    width: 100%;
    min-height: 230px;
}

/* =========================================
   FAQ (glass accordions look)
   ========================================= */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.faq-item {
    background: var(--glass-bg-soft);
    border-radius: var(--radius-card);
    padding: 11px 13px 10px;
    border: 1px solid var(--glass-border-soft);
    box-shadow: var(--shadow-card);
}

.faq-q {
    font-size: 15px;
    font-weight: 600;
}

.faq-a {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* =========================================
   SERVICE PAGE TEXT
   ========================================= */

.page-header {
    margin-bottom: 10px;
}

.page-title {
    font-size: 22px;
    font-weight: 800;
}

.breadcrumbs {
    font-size: 12px;
    color: var(--text-soft);
    margin-bottom: 4px;
}

.breadcrumbs a {
    color: var(--radial-blue);
}

.page-text {
    font-size: 15px;
}

.page-text p {
    margin: 0 0 8px;
}

.page-text ul {
    margin: 0 0 8px 18px;
    padding: 0;
}

/* =========================================
   PRICE BLOCK (glass)
   ========================================= */

.price-block {
    margin-top: 14px;
    background: var(--glass-bg-soft);
    border-radius: var(--radius-card);
    padding: 13px 14px 12px;
    border: 1px solid var(--glass-border-soft);
    box-shadow: var(--shadow-card);
}

.price-title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 16px;
}

.price-note {
    font-size: var(--fz-small);
    color: var(--text-soft);
    margin-bottom: 8px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.6);
    font-size: 15px;
}

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

/* =========================================
   CONTACTS (glass)
   ========================================= */

.contacts-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacts-card {
    background: var(--glass-bg-soft);
    border-radius: var(--radius-card);
    padding: 14px 14px 12px;
    border: 1px solid var(--glass-border-soft);
    box-shadow: var(--shadow-card);
}

.contacts-title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 16px;
}

.contacts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
}

.contacts-list li + li {
    margin-top: 4px;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    margin-top: 22px;
    background: linear-gradient(to top, #e5ecff, #f8fafc);
    color: var(--text-soft);
    padding: 18px 0 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.footer-phones {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.footer-phones li + li {
    margin-top: 3px;
}

.footer-phones a {
    color: var(--radial-blue);
}

.footer-phone-label {
    font-size: 12px;
    color: var(--text-soft);
    margin-left: 4px;
}

.footer-wifi {
    font-size: 13px;
    color: var(--text-soft);
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    margin-top: 12px;
    padding-top: 8px;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.footer-dev a {
    color: var(--accent-orange);
}

/* =========================================
   RESPONSIVE ≥ 768px
   ========================================= */

@media (min-width: 768px) {
    .header-inner {
        gap: 18px;
    }

    .burger {
        display: none;
    }

    .header-nav {
        position: static;
        display: flex !important;
        background: transparent;
        box-shadow: none;
        border: none;
        flex-direction: row;
        gap: 14px;
        padding: 0;
        min-width: auto;
        backdrop-filter: none;
    }

    .header-phone {
        display: block;
    }

    .site-main {
        padding: 22px 0 40px;
    }

    .hero-inner {
        flex-direction: row;
        align-items: stretch;
        gap: 26px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-card {
        height: 100%;
    }

    .hero-cta {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contacts-grid {
        flex-direction: row;
    }

    .footer-inner {
        flex-direction: row;
    }

    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
