@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --forest: #154726;
    --leaf: #2e7d46;
    --mint: #eaf5ed;
    --mist: #f6f8f5;
    --ink: #18221c;
    --muted: #617067;
    --gold: #b7935a;
    --white: #ffffff;
    --line: #dce8de;
    --shadow: 0 14px 35px rgba(24, 58, 35, 0.09);
    --shadow-strong: 0 22px 50px rgba(24, 58, 35, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.7 'Inter', Arial, sans-serif; letter-spacing: 0; }
h1, h2, h3, h4 { font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif; }
.brand { font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif; }
.button, .eyebrow, .nav-links a, label, .team-card strong { font-family: 'Inter', Arial, sans-serif; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.navbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; letter-spacing: .02em; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--leaf); }
.language-switcher { display: flex; align-items: center; gap: 6px; }
.language-switcher select { width: auto; min-width: 70px; padding: 7px 9px; border: 1px solid var(--leaf); border-radius: 6px; color: var(--forest); background: var(--white); font: 600 .78rem 'Inter', Arial, sans-serif; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.menu-button { display: none; border: 1px solid var(--line); background: var(--white); color: var(--forest); border-radius: 8px; padding: 8px 11px; font-size: 1.2rem; cursor: pointer; }
.hero { min-height: 650px; display: grid; align-items: center; background: linear-gradient(115deg, #f3f9f2 0%, #fff 58%, #dceddf 100%); overflow: hidden; }
.hero-slideshow { position: relative; height: clamp(220px, 25vw, 475px); overflow: hidden; background: var(--forest); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.office-collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; background: var(--white); }
.office-collage img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; background: #eef3ee; }
.product-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--white); }
.product-collage img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; background: #eef3ee; }
.hero-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); padding: 0 14px; border: 0; outline: 0; background: transparent; color: #707070; font: 700 3.2rem/1 Arial, sans-serif; text-shadow: 0 1px 3px rgba(255,255,255,.8); cursor: pointer; }
.hero-arrow:hover, .hero-arrow:focus-visible { color: #4f4f4f; transform: translateY(-50%) scale(1.12); }
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
.results-gallery { position: relative; max-width: 920px; margin: auto; padding: 0 54px; }
.results-track { overflow: hidden; border-radius: 10px; background: var(--mist); box-shadow: var(--shadow-strong); }
.result-slide { display: none; margin: 0; background: var(--white); }
.result-slide.active { display: block; }
.result-slide img { width: 100%; height: min(620px, 62vw); min-height: 300px; display: block; object-fit: contain; background: #f7f8f5; }
.result-slide figcaption { padding: 13px 18px; color: var(--forest); font-weight: 800; text-align: center; }
.result-pair { grid-template-columns: repeat(2, 1fr); gap: 3px; background: var(--line); }
.result-pair.active { display: grid; }
.result-pair > div { min-width: 0; background: var(--white); }
.result-pair img { width: 100%; height: min(620px, 62vw); min-height: 300px; display: block; object-fit: contain; background: #f7f8f5; }
.result-pair figcaption { padding: 13px 18px; }
.gallery-arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; transform: translateY(-50%); border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--forest); box-shadow: var(--shadow); font-size: 1.5rem; cursor: pointer; }
.gallery-arrow:hover { background: var(--leaf); color: var(--white); }
.gallery-prev { left: 0; }
.gallery-next { right: 0; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 55px; padding: 76px 0; }
.eyebrow { margin: 0 0 14px; color: var(--leaf); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 0; color: var(--forest); font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: 1.02; }
.hero-copy { max-width: 580px; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--leaf); border-radius: 2px; background: var(--leaf); color: var(--white); text-decoration: none; font-weight: 600; letter-spacing: .04em; cursor: pointer; }
.button:hover { background: var(--forest); border-color: var(--forest); }
.button.secondary { background: transparent; color: var(--forest); }
.hero-media { position: relative; min-height: 450px; display: grid; place-items: center; }
.hero-media::before { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: #cce6d1; filter: blur(1px); }
.hero-media img { position: relative; width: min(100%, 530px); max-height: 500px; object-fit: contain; filter: drop-shadow(0 25px 24px rgba(21,71,38,.22)); }
.section { padding: 88px 0; }
.section.tinted { background: var(--mist); }
.section.dark { background: var(--forest); color: var(--white); }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h1, .section-heading h2 { margin: 0 0 12px; color: var(--forest); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; line-height: 1.1; letter-spacing: .01em; }
.dark .section-heading h1, .dark .section-heading h2 { color: var(--white); }
.section-heading p { margin: 0; color: var(--muted); }
.dark .section-heading p { color: #dce9df; }
.page-hero { padding: 72px 0 64px; background: linear-gradient(135deg, var(--mint), #fff 65%); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 760px; margin: 0; color: var(--forest); font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 500; line-height: 1.04; letter-spacing: .01em; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px; box-shadow: var(--shadow); }
.card:hover { box-shadow: var(--shadow-strong); transform: translateY(-3px); }
.card { transition: transform .2s ease, box-shadow .2s ease; }
.card h3, .card h4 { margin-top: 0; color: var(--forest); }
.stat { border-top: 4px solid var(--leaf); }
.stat strong { display: block; color: var(--forest); font: 700 2.4rem/1 'Libre Baskerville', Georgia, 'Times New Roman', serif; }
.stat h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.stat p { margin: 0; color: var(--muted); font-size: .88rem; }
.product-card { padding: 0 20px 22px; overflow: hidden; text-align: center; }
.product-card img { display: block; width: calc(100% + 40px); height: 270px; margin: 0 -20px 18px; object-fit: contain; background: #f5f8f4; }
.product-card h3 { margin-bottom: 6px; }
.product-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.formula-grid { align-items: stretch; }
.formula-card { display: flex; align-items: center; gap: 18px; padding: 16px 22px 16px 16px; }
.formula-card img { width: 105px; height: 145px; flex: 0 0 105px; object-fit: contain; }
.formula-card h3 { margin-bottom: 8px; }
.formula-card p { margin: 0; color: var(--muted); }
.feature-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 28px; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--leaf); font-weight: 900; }
.water-panel { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 30px; padding: 34px; border: 1px solid #c9e2cf; border-radius: 12px; background: linear-gradient(135deg, #eaf7ed, #fff); }
.water-visual { position: relative; min-height: 250px; display: grid; place-items: center; overflow: hidden; text-align: center; border-radius: 10px; background: #f7f8f5; color: var(--forest); }
.water-visual::before, .water-visual::after { display: none; }
.water-visual img { position: relative; z-index: 1; width: 125px; height: 190px; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(20,70,80,.25)); }
.water-label { position: absolute; z-index: 2; bottom: 12px; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,.85); color: var(--forest); font-size: .78rem; font-weight: 800; }
.video-frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #092516; box-shadow: var(--shadow-strong); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; min-height: 58px; padding: 12px 0 12px 52px; border-bottom: 1px dashed var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 10px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--leaf); color: var(--white); font-weight: 800; }
.review-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review-card { padding: 22px; border-top: 4px solid var(--leaf); }
.review-card header { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.review-card h3 { margin: 0; font-size: 1rem; }
.stars { color: #d28a16; letter-spacing: .15em; }
.review-card p { margin-bottom: 0; color: var(--muted); }
.form-panel { max-width: 650px; margin: 46px auto 0; padding: 26px; background: var(--mist); border: 1px solid var(--line); border-radius: 10px; }
.form-grid { display: grid; gap: 14px; }
label { display: grid; gap: 5px; color: var(--forest); font-weight: 800; font-size: .88rem; }
input, textarea, select { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--ink); font: inherit; }
textarea { min-height: 130px; resize: vertical; }
.star-picker { margin: 0; padding: 0; border: 0; }
.star-picker legend { margin-bottom: 5px; color: var(--forest); font-size: .88rem; font-weight: 800; }
.star-options { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 3px; }
.star-options input { position: absolute; opacity: 0; pointer-events: none; }
.star-options label { display: block; color: #cfd9d1; cursor: pointer; font-size: 2rem; line-height: 1; transition: color .15s ease, transform .15s ease; }
.star-options label:hover, .star-options label:hover ~ label, .star-options input:checked ~ label { color: #d28a16; transform: translateY(-2px); }
.form-grid small { color: var(--muted); font-size: .78rem; font-weight: 500; }
.image-preview-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.image-preview-grid:empty { display: none; }
.image-preview-item { width: 84px; height: 84px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.image-preview-item img { width: 100%; height: 100%; display: block; object-fit: cover; }
.review-gallery { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.review-gallery img { width: 70px; height: 70px; border-radius: 7px; object-fit: cover; border: 1px solid var(--line); }
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list strong { display: block; color: var(--forest); }
.contact-list a { color: var(--leaf); text-decoration: none; }
.map-frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; margin-top: 24px; background: #e8eee9; box-shadow: var(--shadow-strong); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.team-heading { max-width: 720px; margin: 70px auto 28px; text-align: center; }
.team-heading h2 { margin: 0; color: var(--forest); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-card img { width: 132px; height: 132px; display: block; margin: 0 auto 18px; object-fit: contain; border: 4px solid #e3f0e6; border-radius: 50%; }
.team-card h3 { margin-bottom: 5px; }
.team-card strong { display: block; margin-bottom: 14px; color: var(--leaf); }
.team-card p { color: var(--muted); font-size: .92rem; }
.team-card span { display: block; text-align: left; font-size: .84rem; }
.footer { padding: 48px 0 22px; background: #080a09; color: #aeb8b0; font-size: .86rem; }
.footer-main { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(280px, 1.5fr) auto; align-items: center; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid #29302b; }
.footer-brand strong { display: block; color: #ffffff; font-size: 1.15rem; letter-spacing: .02em; }
.footer-brand p { max-width: 260px; margin: 10px 0 0; color: #8f9a92; line-height: 1.6; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(90px, auto)); gap: 8px 22px; align-content: center; }
.footer-nav a { color: #d8e2da; text-decoration: none; }
.footer-nav a:hover { color: #b7e36e; }
.footer-contact { display: grid; gap: 7px; line-height: 1.5; }
.footer-contact a { color: #e4f1e6; text-decoration: none; }
.footer-contact a:hover, .footer-row a:hover { color: #b7e36e; }
.footer-contact span { max-width: 480px; color: #8f9a92; }
.footer-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid #b7e36e; border-radius: 6px; color: #b7e36e; text-decoration: none; font-weight: 700; white-space: nowrap; }
.footer-action:hover { background: #b7e36e; color: #080a09; }
.footer-row { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; padding-top: 20px; }
.footer-row a { color: #e4f1e6; text-decoration: none; }
@media (max-width: 760px) { .footer-main { grid-template-columns: 1fr; gap: 22px; } .footer-nav { grid-template-columns: repeat(2, minmax(100px, 1fr)); } .footer-action { justify-self: start; } }
@media (max-width: 800px) {
    .menu-button { display: block; }
    .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 18px 20px; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); }
    .nav-links.open { display: flex; }
    .hero-grid, .grid-2, .water-panel { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .hero-grid { padding: 58px 0; }
    .hero-media { min-height: 300px; }
    .hero-media::before { width: 260px; height: 260px; }
    .hero-slideshow { height: clamp(220px, 48vw, 360px); }
    .results-gallery { padding: 0 38px; }
    .result-slide img { height: min(560px, 112vw); }
    .result-pair img { height: min(560px, 112vw); min-height: 260px; }
    .grid-3, .grid-4, .review-list, .team-grid { grid-template-columns: 1fr; }
    .section { padding: 62px 0; }
    .water-panel { padding: 20px; }
}

.admin-page { min-height: 100vh; background: var(--mist); }
.admin-shell { width: min(1080px, calc(100% - 32px)); margin: auto; padding: 40px 0 70px; }
.admin-login { max-width: 460px; margin: 8vh auto 0; text-align: center; }
.admin-login > img { width: 86px; height: 86px; object-fit: contain; }
.admin-login .form-grid { text-align: left; margin-top: 24px; }
.admin-error { display: none; margin: 0; color: #a52a2a; font-size: .86rem; }
.admin-error.show { display: block; }
.admin-topbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.admin-topbar h1 { margin: 0; color: var(--forest); }
.admin-topbar .eyebrow { margin-bottom: 5px; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.admin-tab { padding: 12px 16px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font: 700 .9rem 'Inter', Arial, sans-serif; cursor: pointer; }
.admin-tab { flex: 0 0 auto; white-space: nowrap; }
.admin-tab.active { border-bottom-color: var(--leaf); color: var(--forest); }
.admin-field { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.admin-category { margin-bottom: 30px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); }
.admin-category > h3 { margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--leaf); color: var(--forest); }
.admin-field label { font-size: .9rem; }
.admin-field small { display: block; margin-top: 6px; color: var(--muted); font-weight: 400; word-break: break-word; }
.admin-image-preview { width: 150px; height: 90px; margin-top: 10px; object-fit: contain; border: 1px solid var(--line); border-radius: 7px; background: var(--mist); }
.admin-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.admin-actions span { color: var(--leaf); font-size: .85rem; font-weight: 700; margin-right: auto; }
.admin-review { margin-bottom: 14px; padding: 18px; }
.admin-review > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.admin-review p { color: var(--muted); }
.admin-empty { padding: 24px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
@media (max-width: 800px) {
    .admin-shell { width: min(100% - 22px, 720px); padding-top: 22px; }
    .admin-topbar { align-items: start; flex-direction: column; }
    .admin-topbar .actions { margin-top: 0; }
}
