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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1f1f1f;
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0dede;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 86px;
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 86px;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    text-align: center;
}

.main-nav a {
    text-decoration: none;
    font-weight: 600;
    color: #333333;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: #c92a2a;
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1.02);
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.22) 45%,
        rgba(0, 0, 0, 0.28) 100%
    );
    z-index: 1;
}

.hero-slider-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 80px 0;
    max-width: 1200px;
}

.hero-slider-content-center {
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-logo-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hero-logo-script {
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 110px;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero-logo-sub {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.30);
}

.section-label {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 700;
    color: #c92a2a;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.hero-dot.active {
    background: #ffffff;
}

/* REST */
.section {
    padding: 90px 0;
}

.section-alt {
    background: #f8f8f8;
}

.section-title {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-text {
    max-width: 760px;
    color: #5b5b5b;
    font-size: 17px;
}

.cards-3 {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.content-card {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    transition: 0.2s ease;
}

.content-card:hover {
    transform: translateY(-4px);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffdede 0%, #ffefef 100%);
    margin-bottom: 18px;
}

.content-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.content-card p {
    color: #5f5f5f;
}

.service-grid,
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.service-panel,
.contact-form-box {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.service-item,
.contact-item {
    padding: 22px;
    border-radius: 20px;
    background: #f6f6f6;
}

.service-item h3,
.contact-item h3 {
    margin-bottom: 8px;
    font-size: 19px;
}

.service-item p,
.contact-item p {
    color: #5f5f5f;
}

.service-item-red {
    background: #fff0f0;
}

.service-item + .service-item {
    margin-top: 14px;
}

.contact-list {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.contact-form-box h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-form-box p {
    color: #5b5b5b;
    margin-bottom: 22px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    border-radius: 16px;
    padding: 15px 16px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    outline: none;
    transition: 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #d62828;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-primary {
    background: #d62828;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(214, 40, 40, 0.18);
}

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

.site-footer {
    border-top: 1px solid #ececec;
    padding: 28px 0;
    background: #ffffff;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    color: #666666;
}

.footer-inner strong {
    display: block;
    margin-bottom: 4px;
    color: #1f1f1f;
}

@media (max-width: 1024px) {
    .cards-3,
    .service-grid,
    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        min-height: 620px;
    }

    .hero-slider-content-center {
        min-height: 620px;
    }

    .hero-logo-script {
        font-size: 86px;
    }

    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .site-header {
        min-height: 76px;
        padding: 0 12px;
    }

    .header-inner {
        min-height: 76px;
    }

    .main-nav {
        gap: 18px;
        flex-wrap: wrap;
    }

    .hero-slider {
        min-height: 500px;
    }

    .hero-slider-content-center {
        min-height: 500px;
        padding: 60px 0;
    }

    .hero-logo-script {
        font-size: 54px;
    }

    .hero-logo-sub {
        font-size: 13px;
        letter-spacing: 0.14em;
    }

    .section {
        padding: 70px 0;
    }

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

    .section-text {
        font-size: 16px;
    }
}