:root {
    --bg: #f3f8f1;
    --bg-deep: #0f291c;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-border: rgba(255, 255, 255, 0.52);
    --text: #102217;
    --muted: #3f5f4d;
    --primary: #2c6f45;
    --primary-strong: #1d5a36;
    --secondary: #c99b45;
    --glow: rgba(49, 129, 75, 0.26);
    --radius: 18px;
    --shadow: 0 20px 40px rgba(16, 34, 23, 0.14);
    --focus: #1d7f4f;
    --max: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% 0%, #f2f7f1, var(--bg));
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 12px;
    background: #fff;
    color: #111;
    padding: 10px 14px;
    border-radius: 12px;
    z-index: 120;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: fixed;
    inset: 14px 14px auto;
    z-index: 90;
}

.nav-shell {
    width: min(var(--max), calc(100vw - 28px));
    margin: 0 auto;
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(18px);
    background: var(--surface);
    border-radius: 999px;
    min-height: 64px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.brand {
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 600;
}

.nav-links a {
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 999px;
    transition: background-color 220ms ease, color 220ms ease;
}

.lang-toggle {
    border: 1px solid rgba(44, 111, 69, 0.35);
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary-strong);
    min-height: 44px;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
    background: rgba(44, 111, 69, 0.12);
    border-color: rgba(44, 111, 69, 0.6);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(44, 111, 69, 0.12);
    color: var(--primary-strong);
}

.instagram-pill {
    background: linear-gradient(130deg, #266342, #c99b45);
    color: #fff;
}

.hero {
    position: relative;
    min-height: 95vh;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 29, 20, 0.62), rgba(15, 41, 28, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(860px, 92vw);
    text-align: center;
    color: #f6f8f5;
    margin-top: 62px;
}

.kicker {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 700;
    color: #d5e6db;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    line-height: 1.2;
    margin: 0;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-top: 10px;
    text-wrap: balance;
}

.hero-copy {
    max-width: 66ch;
    margin: 18px auto 0;
    line-height: 1.65;
    color: #ecf5ef;
    font-size: 1.06rem;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    border-radius: 12px;
    min-height: 46px;
    padding: 0 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(130deg, var(--primary), var(--primary-strong));
    color: #fff;
    box-shadow: 0 12px 24px rgba(19, 79, 47, 0.34);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #f7fdf8;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.trust-strip {
    width: min(var(--max), 94vw);
    margin: -58px auto 0;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.trust-strip article {
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    padding: 20px;
}

.trust-strip h2 {
    font-size: 1.25rem;
}

.trust-strip p {
    line-height: 1.58;
    color: var(--muted);
    margin-top: 10px;
}

.section {
    margin-top: 78px;
}

.shell {
    width: min(var(--max), 94vw);
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    max-width: 720px;
}

.section-title h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.7rem);
    margin-top: 8px;
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid #dbe9df;
    box-shadow: 0 12px 30px rgba(12, 44, 27, 0.09);
    min-height: 210px;
}

.service-card h3 {
    font-size: 1.5rem;
}

.service-card p {
    margin-top: 12px;
    line-height: 1.66;
    color: var(--muted);
}

.gallery-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-card {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 26px rgba(10, 35, 21, 0.16);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 280ms ease, filter 280ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
    transform: scale(1.04);
    filter: saturate(1.07);
}

.video-row {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.video-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #dbe9df;
    overflow: hidden;
}

.video-card video {
    width: 100%;
    aspect-ratio: 16/10;
    display: block;
}

.video-card h3 {
    font-size: 0.98rem;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: var(--muted);
    padding: 10px 12px 14px;
}

.map-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.map-card,
.contact-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #dbe9df;
    box-shadow: 0 18px 34px rgba(12, 44, 27, 0.12);
    padding: 24px;
}

.map-card p {
    line-height: 1.65;
    color: var(--muted);
}

.map-card a {
    color: var(--primary-strong);
    font-weight: 600;
}

.field-row {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-weight: 600;
}

input,
textarea {
    border: 1px solid #cad8cf;
    border-radius: 10px;
    min-height: 44px;
    padding: 10px 12px;
    font: inherit;
    color: var(--text);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(29, 127, 79, 0.3);
    outline-offset: 1px;
}

.field-error {
    min-height: 14px;
    color: #a32121;
    font-size: 0.88rem;
}

.form-status {
    font-weight: 600;
    min-height: 24px;
    margin-top: 10px;
}

.site-footer {
    margin-top: 48px;
    padding: 26px 16px 100px;
    text-align: center;
    color: #f1f5f2;
    background: linear-gradient(180deg, #163926, #0d2318);
}

.chat-launcher {
    position: fixed;
    right: 22px;
    bottom: 20px;
    z-index: 110;
    min-width: 132px;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(130deg, #2c6f45, #c99b45);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(29, 74, 47, 0.35);
    cursor: pointer;
}

.chat-widget {
    position: fixed;
    right: 20px;
    bottom: 76px;
    z-index: 120;
    width: min(390px, calc(100vw - 24px));
    border-radius: 18px;
    border: 1px solid #d9e7de;
    background: #fff;
    box-shadow: 0 26px 50px rgba(11, 34, 21, 0.22);
    overflow: hidden;
}

.chat-widget header {
    min-height: 58px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: linear-gradient(130deg, #1d5a36, #2c6f45);
    color: #fff;
}

.chat-widget header h2 {
    font-size: 1.1rem;
}

.chat-widget header button {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.chat-messages {
    max-height: 280px;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(180deg, #f9fcf9, #f0f7f1);
}

.bubble {
    max-width: 84%;
    padding: 10px 12px;
    border-radius: 12px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.bubble.bot {
    background: #e6f3ea;
    align-self: flex-start;
}

.bubble.user {
    background: #245f3b;
    color: #fff;
    align-self: flex-end;
}

.chat-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #dbe7df;
}

.chat-input-row button,
.chat-lead-form button {
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    background: #2b6d44;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    padding: 0 14px;
}

.chat-lead-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #dbe7df;
    padding: 12px;
    background: #fdfefd;
}

.chat-lead-form h3 {
    margin: 0 0 4px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.empty-state {
    margin-top: 16px;
    color: var(--muted);
}

@media (max-width: 1060px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-row,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 840px) {
    .nav-links a:not(.instagram-pill) {
        display: none;
    }

    .trust-strip,
    .map-contact,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 84vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
