@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
    --primary-dark: #123626;
    --primary: #1f5c3f;
    --primary-mid: #2c7a54;
    --primary-light: #eaf4ee;
    --accent: #c9722f;
    --accent-dark: #a85b22;
    --ink: #16211c;
    --text: #33403a;
    --text-light: #66756d;
    --white: #ffffff;
    --surface: #f6f8f6;
    --cream: #faf7f0;
    --border: #e2e9e3;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(18,54,38,0.07), 0 1px 2px rgba(18,54,38,0.06);
    --shadow-md: 0 12px 30px rgba(18,54,38,0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'DM Sans', 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

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

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 {
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: -0.01em;
}
em { font-style: italic; color: var(--primary); }

/* ---------- Motion ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.grid > *:nth-child(1).reveal { transition-delay: .04s; }
.grid > *:nth-child(2).reveal { transition-delay: .1s; }
.grid > *:nth-child(3).reveal { transition-delay: .16s; }
.grid > *:nth-child(4).reveal { transition-delay: .22s; }
.grid > *:nth-child(5).reveal { transition-delay: .26s; }
.grid > *:nth-child(6).reveal { transition-delay: .3s; }
.grid > *:nth-child(7).reveal { transition-delay: .34s; }
.grid > *:nth-child(8).reveal { transition-delay: .38s; }
.grid > *:nth-child(n+9).reveal { transition-delay: .4s; }

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

/* ---------- Header ---------- */
.site-header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }

.topbar { background: var(--primary-dark); color: #cfe3d6; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; font-size: 0.83rem; }
.topbar-contacts { display: flex; gap: 22px; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 6px; color: #cfe3d6; }
.topbar-contacts a:hover { color: var(--white); }
.topbar-contacts svg { width: 15px; height: 15px; flex-shrink: 0; }
.topbar-tagline { font-style: italic; color: #9dc2ac; }
@media (max-width: 700px) { .topbar-tagline { display: none; } }
@media (max-width: 560px) { .topbar-contacts a:last-child { display: none; } }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; }
.brand img { height: 64px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-weight: 500; color: var(--text); padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a.active, .site-nav a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.site-nav a.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    border-bottom: none !important;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}
.site-nav a.nav-cta svg { width: 16px; height: 16px; }
.site-nav a.nav-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 4px; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-menu { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

@media (max-width: 900px) {
    .brand img { height: 52px; }
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
        border-top: 1px solid var(--border); box-shadow: var(--shadow-md);
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 14px 20px; border-bottom: 1px solid var(--border); }
    .site-nav a.nav-cta { border-radius: 0; justify-content: center; margin: 10px 20px; padding: 12px 22px; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 60%); padding: 70px 0 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; padding-bottom: 60px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px; }
.hero-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--accent); display: inline-block; }
.typed-cursor { color: var(--primary); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 0 0 20px; }
.hero p { font-size: 1.12rem; max-width: 540px; margin: 0 0 32px; color: var(--text-light); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.hero-visual .stat-chip {
    position: absolute; bottom: -22px; left: -22px;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md);
    padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.hero-visual .stat-chip .num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.hero-visual .stat-chip .label { font-size: .8rem; color: var(--text-light); max-width: 110px; line-height: 1.3; }

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 40px; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual .stat-chip { left: 50%; transform: translateX(-50%); bottom: -18px; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; background: var(--primary); color: var(--white);
    padding: 13px 30px; border-radius: 50px; font-weight: 700; font-family: 'DM Sans', sans-serif;
    border: none; cursor: pointer; transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(31,92,63,0.28); }
.btn-outline {
    display: inline-block; padding: 12px 29px; border-radius: 50px; font-weight: 600;
    border: 1.5px solid var(--primary); color: var(--primary);
    transition: background .15s ease, transform .2s ease;
}
.btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); transform: translateY(-3px); }
.btn-small { padding: 7px 18px; font-size: 0.88rem; border-radius: 50px; }
.btn-danger { background: #b3261e; border-radius: 6px; }
.btn-danger:hover { background: #8f1e18; }
.btn-secondary { background: var(--primary); color: var(--white); border-radius: 6px; }
.btn-secondary:hover { background: var(--primary-dark); color: var(--white); }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--surface); }
.section-title { text-align: center; margin-bottom: 46px; }
.section-title h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.section-title p { color: var(--text-light); max-width: 640px; margin: 0 auto; }
.section-title.align-left { text-align: left; }
.section-title.align-left p { margin: 0; }

.section-number {
    display: flex; align-items: center; gap: 14px; justify-content: center;
    margin-bottom: 14px;
}
.section-number .num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); background: var(--primary); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.section-number .label { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }

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

.card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease, opacity .35s ease;
    position: relative;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: transparent; }
.card.card-hidden { opacity: 0; transform: scale(.93); pointer-events: none; }
.card .card-img { overflow: hidden; position: relative; }
.card .card-img .card-number {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: var(--white); color: var(--primary-dark); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700;
    font-size: .78rem; padding: 4px 10px; border-radius: 50px; box-shadow: var(--shadow);
    transition: transform .3s cubic-bezier(.2,.7,.3,1), background .3s ease, color .3s ease;
}
.card:hover .card-number { transform: scale(1.1); background: var(--primary); color: var(--white); }
.card img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s ease; }
.card:hover img { transform: scale(1.06); }

/* Product photo tile: neutral padded background so mixed product photography
   (bottles, bags, group shots) sits consistently instead of being harshly cropped. */
.product-tile { background: var(--surface); padding: 22px; height: 230px; }
.product-tile img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.card:hover .product-tile img { transform: scale(1.04); }
.product-tile::after {
    content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.7), transparent);
    transform: skewX(-20deg); transition: left .75s ease; pointer-events: none;
}
.card:hover .product-tile::after { left: 130%; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card-body .meta { color: var(--primary); background: var(--primary-light); display: inline-block; padding: 3px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.card-body p { color: var(--text-light); flex: 1; }

/* Highlights */
.highlights { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.highlight { text-align: center; padding: 12px; }
.icon-wrap {
    width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-light); transition: transform .3s cubic-bezier(.2,.7,.3,1), background .3s ease;
}
.icon-wrap svg { width: 28px; height: 28px; color: var(--primary); }
.highlight:hover .icon-wrap { transform: translateY(-6px) scale(1.05); background: var(--primary); }
.highlight:hover .icon-wrap svg { color: var(--white); }
.highlight h3 { font-size: 1.06rem; }

/* Operations steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; counter-reset: step; }
.step { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); }
.step .step-num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 2.2rem; color: var(--primary-light); -webkit-text-stroke: 1.5px var(--primary); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin: 0 0 8px; }
.step p { color: var(--text-light); margin: 0; font-size: .95rem; }
.step::after {
    content: ""; position: absolute; top: 40px; left: 100%; width: 26px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
    display: none;
}
@media (min-width: 900px) { .steps > .step:not(:last-child)::after { display: block; } }



/* ---------- Inner page banners ---------- */
.page-banner { background: var(--primary-light); padding: 54px 0; text-align: center; }
.page-banner h1 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.page-banner p { color: var(--text-light); margin: 12px auto 0; max-width: 620px; }
.page-banner .section-number { margin-bottom: 16px; }

.prose p { margin: 0 0 18px; }
.prose img { border-radius: var(--radius); margin: 20px 0; box-shadow: var(--shadow-md); }

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.two-col img, .two-col .frame-img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { padding-left: 30px; position: relative; margin-bottom: 14px; color: var(--text); }
.list-check li::before {
    content: "\2713"; position: absolute; left: 0; top: 1px;
    width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: var(--white);
    font-size: .68rem; font-weight: 900; display: flex; align-items: center; justify-content: center;
}

/* ---------- Products / content swipers ---------- */
.products-swiper { padding-bottom: 50px; }
.products-swiper .swiper-slide { height: auto; display: flex; }
.products-swiper .swiper-slide .card { width: 100%; }
.products-swiper .swiper-pagination-bullet { background: var(--text-light); opacity: .35; }
.products-swiper .swiper-pagination-bullet-active { background: var(--primary); opacity: 1; }
.products-swiper .swiper-button-next, .products-swiper .swiper-button-prev { color: var(--primary); }
.products-swiper .swiper-button-next:after, .products-swiper .swiper-button-prev:after { font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-dark); color: #b7ccbe; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding: 56px 20px 40px; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-logo { height: 48px; margin-bottom: 16px; background: var(--white); padding: 4px; border-radius: 6px; }
.footer-col h4 { color: var(--white); margin-top: 0; font-family: 'Bricolage Grotesque', sans-serif; font-size: .95rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #b7ccbe; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { background: #0c2419; padding: 16px 0; text-align: center; font-size: 0.82rem; color: #86a091; }

/* ---------- Floating phone CTA ---------- */
.phone-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    display: flex; align-items: center; gap: 10px;
    background: var(--accent); color: var(--white); padding: 14px 20px; border-radius: 50px;
    box-shadow: 0 10px 26px rgba(201,114,47,0.4); font-weight: 700; font-size: .92rem;
    transition: transform .2s ease, background .2s ease;
}
.phone-fab:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-3px); }
.phone-fab svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .phone-fab span { display: none; } .phone-fab { padding: 14px; } }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-group input[type=text], .form-group input[type=email], .form-group input[type=password],
.form-group input[type=number], .form-group input[type=date], .form-group select, .form-group textarea {
    width: 100%; padding: 10px 13px; border: 1px solid var(--border); border-radius: 8px;
    font-family: inherit; font-size: 1rem; transition: border-color .15s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; }
.form-card { max-width: 480px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; }
.alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f5c2be; }
.alert-success { background: #e6f4ea; color: #1b5e20; border: 1px solid #b7dfc0; }

/* ---------- Admin ---------- */
.admin-body { background: var(--surface); }
.admin-header { background: var(--primary-dark); color: var(--white); padding: 14px 0; }
.admin-header .container { display: flex; justify-content: space-between; align-items: center; }
.admin-header a { color: var(--white); font-weight: 600; }
.admin-header nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.admin-header nav a.active { color: var(--accent); text-decoration: underline; }
.admin-wrap { padding: 30px 0 60px; }
table.admin-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
table.admin-table th, table.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
table.admin-table th { background: var(--primary-light); }
table.admin-table tbody tr:hover { background: var(--surface); }
table.admin-table img.thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; text-align: center; }
.stat-card .num { font-size: 2rem; font-weight: 700; color: var(--primary); font-family: 'Bricolage Grotesque', sans-serif; }
.current-image { margin-bottom: 10px; }
.current-image img { width: 140px; height: 100px; object-fit: cover; border-radius: 6px; }
.actions a { margin-right: 10px; }
