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

:root {
    --bg: #090C15;
    --bg-card: #101525;
    --bg-card2: #161C2E;
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #9A7A2E;
    --text: #F0EBE0;
    --text-muted: #9A9080;
    --border: rgba(201, 168, 76, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Onest', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* ── Header ── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(9, 12, 21, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-phone {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.header-phone:hover {
    color: var(--gold-light);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(77, 142, 232, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(77, 142, 232, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-ornament {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(600px, 90vw);
    height: min(600px, 90vw);
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.06);
    pointer-events: none;
}

.hero-ornament::before {
    content: '';
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.04);   
}

.hero-content {
    position: relative;
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(77, 142, 232, 0.35);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #E8EDF5 30%, var(--gold-light) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(15px, 2.5vw, 18px);
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 48px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #E8EDF5;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(77, 142, 232, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: rgba(77, 142, 232, 0.4);
    color: var(--gold-light);
    transform: translateY(-1px);
}

/* ── Section ── */
section {
    padding: 90px 24px;
}

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

.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    color: var(--text);
}

/* ── Services ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
    opacity: 0;
    transition: opacity 0.25s;
}

.service-card:hover {
    border-color: rgba(77, 142, 232, 0.35);
    transform: translateY(-3px);
    background: var(--bg-card2);
}

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

.service-icon {
    width: 40px;
    height: 40px;
    background: rgba(77, 142, 232, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 18px;
}

.service-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
}

/* ── Divider ── */
.divider {
    height: 1px;
    background: var(--border);
    margin: 0 24px;
}

/* ── Contacts ── */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
}

.contact-card-title {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.contact-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    display: block;
    transition: color 0.2s;
    line-height: 1.3;
}

a.contact-value:hover {
    color: var(--gold-light);
}

.contact-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.hours-list {
    list-style: none;
    margin-top: 4px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 24px;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-day {
    color: var(--text-muted);
}

.hours-time {
    font-weight: 500;
    color: var(--text);
}

/* ── Messengers ── */
.messengers {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.messenger-viber {
    background: rgba(126, 77, 167, 0.15);
    border-color: rgba(126, 77, 167, 0.3);
    color: #C49FE0;
}

.messenger-viber:hover {
    background: rgba(126, 77, 167, 0.25);
    border-color: rgba(126, 77, 167, 0.55);
    transform: translateY(-1px);
}

.messenger-tg {
    background: rgba(39, 161, 214, 0.12);
    border-color: rgba(39, 161, 214, 0.28);
    color: #80C9EA;
}

.messenger-tg:hover {
    background: rgba(39, 161, 214, 0.22);
    border-color: rgba(39, 161, 214, 0.5);
    transform: translateY(-1px);
}

/* ── Map hint ── */
.map-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 6px;
}

.map-hint-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Footer ── */
footer {
    padding: 32px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    header {
        padding: 16px 20px;
    }

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

    section {
        padding: 64px 16px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-value {
        font-size: 17px;
    }
}

@media (max-width: 400px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}