:root {
    --bg: #f5f2ea;
    --surface: #ffffff;
    --surface-muted: #f8f4ec;
    --text: #1f2937;
    --muted: #5b6472;
    --primary: #2f6f4e;
    --primary-dark: #224f3c;
    --accent: #e4b363;
    --border: #e2ddcf;
    --shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fdfaf4 0%, var(--bg) 100%);
    line-height: 1.6;
}

a {
    color: inherit;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

.hero {
    padding: 24px clamp(20px, 4vw, 48px) 48px;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
    margin-bottom: 24px;
}

.brand {
    font-weight: 800;
    font-size: clamp(1.2rem, 4.5vw, 2.05rem);
    margin-right: 15px;
    text-decoration: none;
    color: var(--primary-dark);
}

.brand--wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand__badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(47, 111, 78, 0.08);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
}

.nav__cta {
    text-decoration: none;
    background: rgba(47, 111, 78, 0.08);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    font-size: clamp(0.8rem, 2.6vw, 20px);
    white-space: nowrap;
    flex-shrink: 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
    border-radius: 28px;
    padding: clamp(24px, 4vw, 40px);
}

.eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(228, 179, 99, 0.2);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-card h2 {
    margin: 0 0 14px;
    line-height: 1.2;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--primary-dark);
}

.hero__content p {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 620px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(47, 111, 78, 0.2);
}

.button--secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--border);
}

.hero__highlights {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero__highlights li {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--primary-dark);
}

.hero__media img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero__media .carousel-card {
    aspect-ratio: 4 / 3;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 clamp(20px, 4vw, 48px) 24px;
}

.stats article {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stats strong {
    display: block;
    font-size: 1.6rem;
    color: var(--primary-dark);
}

.stats span {
    color: var(--muted);
    font-size: 0.95rem;
}

.section {
    padding: 40px clamp(20px, 4vw, 48px) 0;
}

.section--intro,
.section--contact {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.section--gallery {
    background: linear-gradient(180deg, rgba(228, 179, 99, 0.16), rgba(47, 111, 78, 0.05));
    border-radius: 32px;
    padding: 40px clamp(20px, 4vw, 48px);
}

.section__copy h2,
.section--features h2,
.section--faq h2 {
    font-size: clamp(1.6rem, 2.3vw, 2.2rem);
    color: var(--primary-dark);
}

.section__copy p,
.section__card ul,
.feature-card p,
.contact-card p,
.faq-list p {
    color: var(--muted);
}

.section__card,
.contact-card,
.feature-card,
.gallery-card,
.faq-list details {
    background: var(--surface);
    border-radius: 22px;
    border: 1px solid var(--border);
    padding: 22px;
    box-shadow: var(--shadow);
}

.gallery-card {
    position: relative;
    border: 1px solid var(--accent);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(17, 24, 39, 0.16);
}

.gallery-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.section__card ul {
    padding-left: 18px;
}

.feature-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gallery-card--carousel {
    display: flex;
    flex-direction: column;
}

.gallery-card--carousel h3 {
    text-align: center;
}

.carousel-card {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.carousel-card__viewport {
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
}

.carousel-card__track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.carousel-card__item {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
}

.carousel-card__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.carousel-card__nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 999px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.carousel-card__nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.carousel-card__prev {
    left: 12px;
}

.carousel-card__next {
    right: 12px;
}

.feature-card h3,
.gallery-card h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.gallery-card h3 {
    padding-top: 15px;
    font-size: 1.3rem;
}

.gallery-card__cta {
    display: flex;
    width: 100%;
    margin-top: 10px;
}

.gallery-card img {
    border-radius: 16px;
    margin-bottom: 10px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.contact__phones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
}

.contact__phones a {
    text-decoration: none;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(47, 111, 78, 0.08);
    padding: 10px 14px;
    border-radius: 999px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-dark);
}

.faq-list details[open] summary {
    margin-bottom: 8px;
}

.footer {
    text-align: center;
    padding: 32px 20px 40px;
    color: var(--muted);
}

@media (max-width: 860px) {

    .hero__grid,
    .section--intro,
    .section--contact {
        grid-template-columns: 1fr;
    }

    .stats,
    .feature-grid,
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {

    .stats,
    .feature-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 16px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .nav {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .brand--wrap {
        justify-content: center;
        margin-right: 0;
    }

    .brand {
        margin-right: 0;
        font-size: 1.5rem;
    }

    .nav__cta {
        white-space: normal;
        font-size: 1rem;
    }
}