:root {
    --bg: #f6f2ec;
    --paper: #ffffff;
    --ink: #1a1d21;
    --muted: #5a6169;
    --steel: #d2cbc1;
    --ember: #d06028;
    --ember-dark: #b4511e;
    --deep: #1d2a32;
    --shadow: 0 20px 60px rgba(26, 29, 33, 0.12);
    --radius: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Karla", "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(circle at 10% 20%, #fdfbf8 0%, #f5f0ea 35%, #f2ede6 100%);
    color: var(--ink);
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

.section {
    padding: 96px 0;
    scroll-margin-top: 110px;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-family: "Bebas Neue", "Impact", sans-serif;
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--muted);
    max-width: 640px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--deep);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 999;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(246, 242, 236, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(210, 203, 193, 0.6);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.logo-image {
    width: clamp(52px, 6.5vw, 68px);
    height: clamp(52px, 6.5vw, 68px);
    object-fit: contain;
}

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--deep), #243640);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: "Bebas Neue", "Impact", sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
}

.logo-text strong {
    display: block;
    font-size: 1.1rem;
}

.logo-text {
    min-width: 0;
}

.logo-text em {
    font-style: normal;
    color: var(--muted);
    font-size: 0.85rem;
}

.nav-links {
    display: flex;
    gap: 28px;
    font-weight: 600;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 18px;
}

.lang-switcher label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.lang-switcher select {
    border: 1px solid rgba(210, 203, 193, 0.8);
    background: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--ember);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--steel);
    background: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
}

.hero {
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(208, 96, 40, 0.18) 0%, rgba(208, 96, 40, 0) 70%);
    top: -180px;
    right: -120px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    gap: 48px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.hero-copy h1 {
    font-family: "Bebas Neue", "Impact", sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ember);
    margin-bottom: 10px;
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
    background: var(--ember);
    color: #fff;
    box-shadow: 0 12px 20px rgba(208, 96, 40, 0.2);
}

.btn.primary:hover,
.btn.primary:focus {
    background: var(--ember-dark);
    transform: translateY(-1px);
}

.btn.ghost {
    border-color: var(--steel);
    background: #fff;
}

.btn.ghost:hover,
.btn.ghost:focus {
    border-color: var(--ember);
    color: var(--ember);
}

.hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.stat {
    font-weight: 700;
    font-size: 1.3rem;
}

.stat-label {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
}

.hero-card {
    background: var(--paper);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(210, 203, 193, 0.5);
}

.hero-card h2 {
    font-family: "Bebas Neue", "Impact", sans-serif;
    font-size: 2rem;
    margin-bottom: 16px;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-card li {
    padding-left: 22px;
    position: relative;
}

.hero-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ember);
}

.hero-note {
    font-size: 0.95rem;
    color: var(--muted);
}

.gallery {
    background: linear-gradient(160deg, #f2ece6 0%, #f7f3ee 50%, #f2ece6 100%);
}

#home,
#gallery,
#contact,
#contacts {
    scroll-margin-top: 120px;
}

#home {
    scroll-margin-top: 145px;
}

.carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
}

.carousel-window {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    color: #fff;
}

.carousel-slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.carousel-slide figcaption {
    position: absolute;
    left: 24px;
    bottom: 20px;
    background: rgba(29, 42, 50, 0.78);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--deep);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(29, 42, 50, 0.25);
}

.carousel-btn:hover,
.carousel-btn:focus {
    background: #111a20;
}

.carousel-meta {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--muted);
}

.carousel-meta .divider {
    width: 56px;
    height: 2px;
    background: var(--steel);
}

.contact {
    background: var(--paper);
}

.contact-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.contact-card {
    background: #f7f3ee;
    padding: 24px;
    border-radius: 16px;
}

.contact-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.contact-card li {
    padding-left: 20px;
    position: relative;
}

.contact-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ember);
}

.contact-form-card {
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(210, 203, 193, 0.5);
}

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

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #d9d2c9;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid rgba(208, 96, 40, 0.3);
    border-color: var(--ember);
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-weight: 600;
}

.form-alert.success {
    background: #e8f3ec;
    color: #1f5f39;
}

.form-alert.error {
    background: #fbe9e6;
    color: #8b2d1f;
}

.form-gdpr {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.85rem;
}

.contacts {
    background: #f7f3ee;
}

.contacts-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-info {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(210, 203, 193, 0.6);
    box-shadow: 0 14px 40px rgba(26, 29, 33, 0.08);
}

.contact-info h3 {
    font-family: "Bebas Neue", "Impact", sans-serif;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.contact-info address {
    font-style: normal;
    margin-top: 12px;
    color: var(--muted);
}

.contact-info.highlight {
    background: var(--deep);
    color: #fff;
}

.contact-info.highlight a.btn.ghost,
.contact-info.highlight a.btn.ghost:link,
.contact-info.highlight a.btn.ghost:visited,
.contact-info.highlight a.btn.ghost:active {
    border-color: #fff;
    background: #fff;
    color: #1d2a32 !important;
    -webkit-text-fill-color: #1d2a32 !important;
}

.contact-info.highlight a.btn.ghost:hover,
.contact-info.highlight a.btn.ghost:focus {
    border-color: #fff;
    background: #e8edf1;
    color: #101921;
    -webkit-text-fill-color: #101921;
}

.contact-info.highlight a.call-now-btn {
    color: #1d2a32 !important;
    -webkit-text-fill-color: #1d2a32 !important;
    text-decoration: none;
}

.contact-info.highlight a.call-now-btn:hover,
.contact-info.highlight a.call-now-btn:focus,
.contact-info.highlight a.call-now-btn:active,
.contact-info.highlight a.call-now-btn:visited {
    color: #1d2a32 !important;
    -webkit-text-fill-color: #1d2a32 !important;
    text-decoration: none;
}

.note {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

.site-footer {
    padding: 28px 0 40px;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 900px) {
    #home,
    #gallery,
    #contact,
    #contacts {
        scroll-margin-top: 110px;
    }

    #home {
        scroll-margin-top: 132px;
    }

    .lang-switcher {
        margin-left: 0;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        right: 4vw;
        flex-direction: column;
        gap: 16px;
        background: #fff;
        padding: 18px 20px;
        border-radius: 14px;
        border: 1px solid rgba(210, 203, 193, 0.7);
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .logo-text em {
        font-size: 0.72rem;
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

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

    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .carousel-btn.prev {
        left: 12px;
    }

    .carousel-btn.next {
        right: 12px;
    }

    .carousel-window {
        border-radius: 18px;
    }

    .carousel-slide img {
        height: 320px;
    }
}

@media (max-width: 600px) {
    #home,
    #gallery,
    #contact,
    #contacts {
        scroll-margin-top: 105px;
    }

    #home {
        scroll-margin-top: 122px;
    }

    .lang-switcher select {
        padding: 5px 8px;
        font-size: 0.7rem;
    }

    .logo-text em {
        font-size: 0.66rem;
        max-width: 120px;
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        padding-top: 96px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
