/* ============================================
   ЮРИЙ — Вскрытие замков 24/7 | Биробиджан
   ============================================
   ДИЗАЙН-СИСТЕМА — меняйте переменные ниже
   ============================================ */

:root {
    /* ---- ЦВЕТА ---- */
    --yellow: #FFE600;
    --yellow-dark: #FFD000;
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --red: #FF1A1A;
    --white: #ffffff;

    /* ---- ТИПОГРАФИКА ---- */
    --font-title: 'Oswald', sans-serif;
    --font-body: 'Roboto Condensed', sans-serif;

    /* ---- РАЗМЕРЫ БЛОКОВ ---- */
    --content-max-width: 600px;
    --section-padding: 40px 20px;

    /* ---- АНИМАЦИИ ---- */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.4;
}

/* ======================
   ФОНОВЫЕ ЭФФЕКТЫ
   ====================== */

.bg-stripes {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background: repeating-linear-gradient(
        -45deg,
        var(--yellow) 0px,
        var(--yellow) 20px,
        var(--black) 20px,
        var(--black) 40px
    );
    animation: stripeMove 8s linear infinite;
    opacity: 0.08;
}

@keyframes stripeMove {
    0% { background-position: 0 0; }
    100% { background-position: 56px 56px; }
}

.bg-grid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255,230,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,230,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ======================
   HAZARD TAPE (ЛЕНТА)
   ====================== */

.hazard-tape {
    height: 24px;
    background: repeating-linear-gradient(
        45deg,
        var(--yellow) 0px,
        var(--yellow) 15px,
        var(--black) 15px,
        var(--black) 30px
    );
    position: relative;
    overflow: hidden;
}

.hazard-tape::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: tapeShine 3s ease-in-out infinite;
}

@keyframes tapeShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ======================
   HEADER (ШАПКА)
   ====================== */

.header {
    background: var(--black);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--yellow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 900;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-logo span {
    color: var(--white);
}

.header-badge {
    background: var(--yellow);
    color: var(--black);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 13px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ======================
   HERO (ГЛАВНЫЙ ЭКРАН)
   ====================== */

.hero {
    background: linear-gradient(180deg, var(--black-light) 0%, var(--black) 100%);
    padding: var(--section-padding);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,230,0,0.1) 0%, transparent 60%);
    animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(10%, 10%); }
    66% { transform: translate(-10%, 5%); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.hero-top-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-top-label span {
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-top-label .dot {
    width: 6px; height: 6px;
    background: var(--yellow);
    border-radius: 50%;
    animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 0 40px rgba(255,230,0,0.3);
    animation: titleSlide 1s ease-out;
}

@keyframes titleSlide {
    0% { transform: translateY(-30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.hero h1 .accent {
    display: block;
    color: var(--yellow);
    font-size: 52px;
    text-shadow: 0 0 60px rgba(255,230,0,0.5);
}

.hero-subtitle {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-price-box {
    background: var(--yellow);
    color: var(--black);
    display: inline-block;
    padding: 16px 40px;
    border-radius: 8px;
    margin-bottom: 16px;
    animation: priceBounce 1s ease-out 0.5s both;
    box-shadow: 0 0 40px rgba(255,230,0,0.4);
}

@keyframes priceBounce {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.hero-price-box .label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-price-box .price {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.hero-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.rating-stars {
    color: var(--yellow);
    font-size: 20px;
}

.rating-score {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 900;
    color: var(--yellow);
}

.rating-count {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-location i {
    color: var(--yellow);
}

@keyframes fadeInUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ======================
   КНОПКИ
   ====================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    border-radius: 6px;
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-yellow {
    background: var(--yellow);
    color: var(--black);
    box-shadow: 0 4px 20px rgba(255,230,0,0.4);
}

.btn-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,230,0,0.6);
}

.btn-red {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255,26,26,0.4);
}

.btn-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,26,26,0.6);
}

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

.btn-outline:hover {
    background: var(--yellow);
    color: var(--black);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 1s ease-out 1.1s both;
}

/* ======================
   ЗАГОЛОВКИ СЕКЦИЙ
   ====================== */

section {
    position: relative;
}

.section-title {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--yellow);
    margin: 8px auto 0;
    border-radius: 2px;
}

/* ======================
   УСЛУГИ
   ====================== */

.services {
    padding: var(--section-padding);
    background: var(--black);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.service-card {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
    background: var(--black-light);
    border: 2px solid transparent;
    padding: 24px 16px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .service-card {
        flex: 0 0 calc(33.333% - 8px);
        max-width: calc(33.333% - 8px);
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    border-color: var(--yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,230,0,0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px; height: 56px;
    background: var(--yellow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--black);
    font-size: 24px;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

.service-card h3 {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.service-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ======================
   ПОДРОБНОСТИ
   ====================== */

.details {
    padding: var(--section-padding);
    background: var(--black-light);
}

.details-card {
    background: var(--black);
    border: 2px solid rgba(255,230,0,0.2);
    border-radius: 8px;
    padding: 24px;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,230,0,0.1);
    transition: all var(--transition-fast);
}

.detail-row:hover {
    background: rgba(255,230,0,0.03);
    margin: 0 -12px;
    padding: 14px 12px;
    border-radius: 4px;
}

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

.detail-label {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    flex: 1;
}

.detail-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-align: right;
    flex: 1;
}

.detail-value .tag {
    display: inline-block;
    background: rgba(255,230,0,0.15);
    color: var(--yellow);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin: 2px;
    border: 1px solid rgba(255,230,0,0.3);
}

/* ======================
   ПРАЙС-ЛИСТ
   ====================== */

.prices {
    padding: var(--section-padding);
    background: var(--black);
}

.price-list {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--black-light);
    border-left: 4px solid var(--yellow);
    margin-bottom: 10px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.price-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: rgba(255,230,0,0.05);
    transition: width 0.4s ease;
}

.price-item:hover {
    transform: translateX(8px);
    border-left-width: 8px;
}

.price-item:hover::after {
    width: 100%;
}

.price-name {
    font-size: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.price-value {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 900;
    color: var(--yellow);
    position: relative;
    z-index: 1;
}

/* ======================
   ОПИСАНИЕ
   ====================== */

.description {
    padding: var(--section-padding);
    background: var(--yellow);
    color: var(--black);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.description::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, transparent 60%);
    animation: descGlow 8s ease-in-out infinite;
}

@keyframes descGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.description-content {
    position: relative;
    z-index: 1;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.description h2 {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.description p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
    font-weight: 500;
}

.description .highlight {
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 4px;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.feature-tag {
    background: var(--black);
    color: var(--yellow);
    padding: 10px 18px;
    border-radius: 4px;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.feature-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ======================
   КОНТАКТНЫЙ БАННЕР
   ====================== */

.contact-banner {
    background: var(--yellow);
    padding: var(--section-padding);
    text-align: center;
    position: relative;
}

.contact-banner h2 {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 900;
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.contact-banner .subtitle {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.phone-number-big {
    font-family: var(--font-title);
    font-size: 42px;
    font-weight: 900;
    color: var(--red);
    text-decoration: none;
    display: inline-block;
    margin: 8px 0 16px;
    text-shadow: 0 2px 10px rgba(255,26,26,0.3);
    transition: all var(--transition-fast);
    animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.phone-number-big:hover {
    transform: scale(1.05);
}

.contact-banner .sub-text {
    font-size: 13px;
    color: var(--black);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.8;
    opacity: 0.8;
}

.badge-24-7 {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 6px;
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 20px;
    margin-top: 16px;
    box-shadow: 0 4px 15px rgba(255,26,26,0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

/* ======================
   ПОДВАЛ
   ====================== */

.footer {
    background: var(--black);
    padding: var(--section-padding);
    text-align: center;
    border-top: 3px solid var(--yellow);
}

.footer h3 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--yellow);
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 24px;
}

.footer-info {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    margin-top: 20px;
}

/* ======================
   ПЛАВАЮЩАЯ КНОПКА
   ====================== */

.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    z-index: 1000;
    border-top: 3px solid var(--yellow);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.floating-cta .btn {
    flex: 1;
    padding: 14px 16px;
    font-size: 16px;
}

@media (min-width: 768px) {
    .floating-cta { display: none; }
    body { padding-bottom: 0; }
}

/* ======================
   АНИМАЦИЯ ПОЯВЛЕНИЯ
   ====================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ======================
   АДАПТИВНОСТЬ
   ====================== */

@media (min-width: 768px) {
    .hero h1 { font-size: 56px; }
    .hero h1 .accent { font-size: 72px; }
    .section-title { font-size: 36px; }
}

@media (max-width: 767px) {
    body { padding-bottom: 80px; }
    .hero h1 { font-size: 36px; }
    .hero h1 .accent { font-size: 44px; }
    .phone-number-big { font-size: 32px; }
}

@media (max-width: 480px) {
    .price-item-key {
        flex-wrap: nowrap !important;
        gap: 8px;
    }
    .price-item-key .price-name {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1 1 auto;
        min-width: 0;
    }
    .price-item-key .price-value {
        font-size: 18px;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 360px) {
    .price-item-key .price-name { font-size: 12px; }
    .price-item-key .price-value { font-size: 16px; }
}

/* ======================
   СКРОЛЛБАР
   ====================== */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--yellow-dark);
}

/* ======================
   ПОЧЕМУ ВЫБИРАЮТ МЕНЯ
   ====================== */

.features {
    padding: var(--section-padding);
    background: var(--black-light);
}

.features-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.features-card {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
    background: var(--black);
    border: 1px solid rgba(255,230,0,0.2);
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    transition: all var(--transition-fast);
}

@media (min-width: 768px) {
    .features-card {
        flex: 0 0 calc(33.333% - 11px);
        max-width: calc(33.333% - 11px);
    }
}

.features-card:hover {
    border-color: var(--yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,230,0,0.1);
}

.features-card-icon {
    width: 56px; height: 56px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--black);
    font-size: 24px;
    transition: transform var(--transition-fast);
}

.features-card:hover .features-card-icon {
    transform: scale(1.15);
}

.features-card h4 {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.features-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}


/* ======================
   ОТЗЫВЫ
   ====================== */

.reviews {
    padding: var(--section-padding);
    background: var(--black);
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 620px;
    margin: 0 auto 24px;
}

.review-card {
    flex: 0 0 100%;
    background: var(--black-light);
    border: 1px solid rgba(255,230,0,0.15);
    border-radius: 8px;
    padding: 20px;
    transition: all var(--transition-fast);
}

.review-card:hover {
    border-color: var(--yellow);
    transform: translateX(5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.review-avatar {
    width: 40px; height: 40px;
    background: var(--yellow);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    font-family: var(--font-title);
    flex-shrink: 0;
}

.review-meta {
    flex: 1;
}

.review-name {
    font-weight: 700;
    font-size: 15px;
}

.review-date {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.review-stars {
    color: var(--yellow);
    font-size: 13px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.review-service {
    font-size: 12px;
    color: var(--yellow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.review-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
}

.reviews-more {
    text-align: center;
}

.reviews-more .btn {
    display: inline-flex;
    width: auto;
    padding: 14px 28px;
    font-size: 15px;
}

@media (max-width: 480px) {
    .review-text,
    .review-service {
        padding-left: 0;
    }

    .review-header {
        flex-wrap: wrap;
    }
}
