:root {
    --color-main: #cd493d;
    --color-sub: #3d86cd;
    --color-dark: #1f2937;
    --color-light: #f3f4f6;
    --color-white: #ffffff;
    --shadow-soft: 0 14px 34px -18px rgba(31, 41, 55, 0.45);
    --radius-lg: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at 15% 0%, #f8fafc 0%, #f3f4f6 45%, #f3f4f6 100%);
}

.hero-city-bg {
    background-color: var(--color-dark);
    background-image: url('/assets/img/hero-template.svg');
    background-size: cover;
    background-position: center;
}

.hero-city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(16, 22, 34, 0.88) 10%, rgba(20, 30, 46, 0.78) 48%, rgba(61, 134, 205, 0.2) 100%);
}

.hero-credit-badge {
    position: absolute;
    right: 0.9rem;
    bottom: 0.9rem;
    z-index: 25;
    max-width: min(90vw, 30rem);
    padding: 0.38rem 0.62rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(15, 23, 42, 0.56);
    color: #f9fafb;
    font-size: 0.72rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
    backdrop-filter: blur(2px);
}

.section-pattern {
    background-image: linear-gradient(to bottom, rgba(205, 73, 61, 0.04), rgba(61, 134, 205, 0));
}

.trust-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.85rem;
}

.btn-primary,
.btn-secondary,
.btn-outline-light {
    border-radius: 0.75rem;
    font-weight: 700;
    transition: transform 280ms ease, background-color 280ms ease, color 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
}

.btn-primary {
    background-color: var(--color-main);
    color: var(--color-white);
    box-shadow: 0 12px 22px -12px rgba(205, 73, 61, 0.7);
}

.btn-primary:hover {
    background-color: #b53d32;
    transform: translateY(-1px);
}

.btn-secondary {
    border: 2px solid var(--color-sub);
    color: var(--color-sub);
    background-color: var(--color-white);
}

.btn-secondary:hover {
    background-color: rgba(61, 134, 205, 0.08);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.65);
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.service-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 8px 24px -20px rgba(31, 41, 55, 0.5);
    transition: transform 280ms ease, box-shadow 280ms ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.price-card {
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: 0 8px 20px -16px rgba(31, 41, 55, 0.45);
}

.table-card {
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 20px -16px rgba(31, 41, 55, 0.45);
    padding: 1.2rem;
}

.table-wrap {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.pricing-table thead th {
    text-align: left;
    font-size: 0.81rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #374151;
    padding: 0.9rem;
    border-bottom: 2px solid #e5e7eb;
    background: #f9fafb;
}

.pricing-table tbody td {
    padding: 0.95rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.95rem;
    vertical-align: top;
}

.pricing-table tbody tr:hover {
    background: #f8fafc;
}

.price-card.featured {
    border-color: rgba(205, 73, 61, 0.45);
    box-shadow: 0 18px 30px -20px rgba(205, 73, 61, 0.55);
    transform: translateY(-4px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(61, 134, 205, 0.45);
    outline-offset: 2px;
}

.animate-in-up {
    animation: slideUpFade 700ms ease-out both;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-city-bg {
        background-position: 72% center;
    }

    .hero-credit-badge {
        right: 0.55rem;
        bottom: 0.55rem;
        padding: 0.3rem 0.5rem;
        font-size: 0.66rem;
        max-width: min(92vw, 20rem);
    }

    .price-card.featured {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
