:root {
    --page-bg: #0a0a0a;
    --text-main: #f3f4f6;
    --surface: rgba(31, 31, 31, 0.6);
    --surface-strong: rgba(20, 20, 20, 0.92);
    --surface-border: rgba(197, 168, 128, 0.1);
    --nav-bg: rgba(10, 10, 10, 0.8);
    --nav-bg-scrolled: rgba(10, 10, 10, 0.95);
    --hero-badge-bg: rgba(17, 17, 17, 0.55);
    --hero-badge-border: rgba(107, 114, 128, 0.9);
    --hero-badge-text: #e5e7eb;
    --tag-bg: rgba(15, 15, 15, 0.7);
    --tag-border: rgba(75, 85, 99, 0.85);
    --tag-text: #d1d5db;
    --service-row-border: rgba(107, 114, 128, 0.45);
    --service-name: #e5e7eb;
    --service-meta: #d1d5db;
    --floating-secondary-bg: rgba(17, 17, 17, 0.95);
    --floating-secondary-color: #f3f4f6;
    --floating-secondary-border: rgba(107, 114, 128, 0.75);
    --map-filter: invert(90%) hue-rotate(180deg) contrast(80%);
}

html {
    scroll-padding-top: 24px;
}

body {
    background-color: var(--page-bg);
    color: var(--text-main);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

section[id],
header[id] {
    scroll-margin-top: 24px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 999;
    background: #c5a880;
    color: #0a0a0a;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
}

.hero-promo-wrap {
    max-width: 780px;
}

.promo-banner-inner {
    border-radius: 1rem;
    border: 1px solid rgba(230, 203, 168, 0.28);
    background: linear-gradient(135deg, rgba(45, 34, 22, 0.96) 0%, rgba(28, 23, 18, 0.96) 54%, rgba(16, 16, 16, 0.96) 100%);
    padding: 1rem 1.1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.promo-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e6cba8;
    margin-bottom: 0.45rem;
    font-weight: 600;
}

.promo-subtitle {
    color: #f4f4f5;
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 0.8rem;
    max-width: 760px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.promo-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem 0.8rem;
    border-radius: 0.9rem;
    border-color: rgba(230, 203, 168, 0.3);
    border: 1px solid rgba(230, 203, 168, 0.3);
    background: rgba(18, 18, 18, 0.68);
    padding: 0.75rem 0.9rem;
}

.promo-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    color: #f3f4f6;
    line-height: 1.25;
}

.promo-label i {
    color: #e6cba8;
}

.promo-value {
    color: #e6cba8;
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
}

.promo-note {
    grid-column: 1 / -1;
    color: #a1a1aa;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

.glass-nav {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
}

.glass-nav.is-scrolled {
    background: var(--nav-bg-scrolled);
}

.glass-card {
    background: var(--surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--surface-border);
    transition: all 0.35s ease;
}

.glass-card:hover {
    border-color: rgba(197, 168, 128, 0.48);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(197, 168, 128, 0.05);
}

.hero-bg {
    background:
        radial-gradient(120% 160% at 0% 10%, rgba(197, 168, 128, 0.24) 0%, rgba(197, 168, 128, 0) 48%),
        radial-gradient(120% 160% at 100% 90%, rgba(163, 135, 96, 0.2) 0%, rgba(163, 135, 96, 0) 52%),
        linear-gradient(120deg, #0a0a0a 6%, #111111 46%, #17120f 100%);
    background-attachment: scroll;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid var(--hero-badge-border);
    padding: 0.52rem 0.9rem;
    font-size: 0.86rem;
    color: var(--hero-badge-text);
    background: var(--hero-badge-bg);
}

.about-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid var(--tag-border);
    background: var(--tag-bg);
    color: var(--tag-text);
    font-size: 0.74rem;
    line-height: 1;
    padding: 0.45rem 0.65rem;
}

.about-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    color: #e6cba8;
    transition: opacity 0.2s ease;
}

.about-link:hover {
    opacity: 0.85;
}

.services-toolbar {
    backdrop-filter: blur(14px);
}

.service-meta {
    color: var(--service-meta);
    font-size: 0.92rem;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-chip {
    border-radius: 999px;
    border: 1px solid rgba(75, 85, 99, 0.9);
    background: rgba(15, 15, 15, 0.7);
    color: #d1d5db;
    padding: 0.45rem 0.95rem;
    font-size: 0.87rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.category-chip:hover {
    border-color: #c5a880;
    color: #e6cba8;
}

.category-chip:focus-visible,
.procedure-toggle:focus-visible,
.floating-btn:focus-visible {
    outline: 2px solid #c5a880;
    outline-offset: 2px;
}

.category-chip.is-active {
    color: #0a0a0a;
    border-color: #c5a880;
    background: #c5a880;
}

.service-card {
    border-radius: 1rem;
    padding: 1.6rem;
    contain: layout paint;
}

.service-group + .service-group {
    margin-top: 1.4rem;
}

.service-group-title {
    color: #e6cba8;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.72rem;
    margin-bottom: 0.72rem;
    border-bottom: 1px dashed var(--service-row-border);
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-name {
    color: var(--service-name);
    font-size: 0.95rem;
    line-height: 1.4;
}

.service-price {
    color: #c5a880;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.empty-state {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.procedure-card {
    border-radius: 1rem;
    padding: 1.2rem;
    contain: layout paint;
}

.procedure-card.is-open {
    border-color: rgba(197, 168, 128, 0.55);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.33);
}

.procedure-toggle {
    width: 100%;
    background: transparent;
    border: 0;
    color: inherit;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
}

.procedure-toggle-main {
    display: flex;
    gap: 0.9rem;
}

.procedure-heading {
    min-width: 0;
}

.procedure-category {
    color: #e6cba8;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.procedure-name {
    color: #fff;
    font-size: 1.24rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.procedure-short {
    color: #d1d5db;
    font-size: 0.93rem;
    line-height: 1.45;
}

.procedure-chevron {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(107, 114, 128, 0.75);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    transition: transform 0.25s ease, border-color 0.25s ease;
    flex-shrink: 0;
}

.procedure-card.is-open .procedure-chevron {
    transform: rotate(180deg);
    border-color: rgba(197, 168, 128, 0.75);
}

.procedure-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(107, 114, 128, 0.45);
}

.procedure-detail-line {
    color: #e5e7eb;
    font-size: 0.95rem;
    line-height: 1.5;
}

.procedure-detail-line + .procedure-detail-line {
    margin-top: 0.65rem;
}

.procedure-detail-line span {
    color: #e6cba8;
}

.procedure-benefits {
    margin-top: 0.5rem;
    display: grid;
    gap: 0.4rem;
    color: #f3f4f6;
    padding-left: 1.1rem;
    font-size: 0.92rem;
}

.procedure-note {
    margin-top: 0.9rem;
    color: #a1a1aa;
    font-size: 0.84rem;
    line-height: 1.4;
}

.procedure-empty {
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    color: #d1d5db;
}

.floating-actions {
    position: fixed;
    right: 16px;
    bottom: 18px;
    display: none;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 45;
}

.floating-btn {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c5a880;
    background: #c5a880;
    color: #0a0a0a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.floating-btn-secondary {
    background: var(--floating-secondary-bg);
    color: var(--floating-secondary-color);
    border-color: var(--floating-secondary-border);
}

.glow-btn {
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.3);
    transition: all 0.3s ease;
}

.glow-btn:hover {
    box-shadow: 0 0 30px rgba(197, 168, 128, 0.6);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .glass-card:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    .glass-nav,
    .glass-card,
    .services-toolbar {
        backdrop-filter: none;
    }

    .hero-promo-wrap {
        margin-top: 2rem;
    }

    .promo-title {
        font-size: 0.7rem;
        margin-bottom: 0.45rem;
    }

    .promo-subtitle {
        font-size: 0.93rem;
        margin-bottom: 0.65rem;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .promo-card {
        padding: 0.66rem 0.72rem;
    }

    .promo-label {
        font-size: 0.82rem;
    }

    .promo-value {
        font-size: 0.95rem;
    }

    .service-row {
        flex-direction: column;
        gap: 0.35rem;
    }

    .service-price {
        font-size: 0.95rem;
    }

    .procedure-card {
        padding: 1rem;
    }

    .procedure-name {
        font-size: 1.08rem;
    }

    .procedure-short,
    .procedure-detail-line {
        font-size: 0.9rem;
    }

    .floating-actions {
        display: flex;
    }
}
