/* ===================================================================
   ЕКОПЛАСТИК 2016 — Stylesheet
   Palette: fresh natural green + kraft/paper accents
=================================================================== */

:root {
  --green-900: #0f3320;
  --green-800: #14361f;
  --green-700: #1f6b3a;
  --green-600: #2e8b4f;
  --green-500: #3aa766;
  --green-400: #57c285;
  --leaf:      #7bc043;

  --kraft:      #c89b6a;
  --kraft-dark: #a8783f;
  --kraft-soft: #e9d8c2;

  --cream:  #f7f5ef;
  --paper:  #f1f6ef;
  --ink:    #16241c;
  --muted:  #5c6b62;
  --line:   #e4e9e2;
  --white:  #ffffff;

  --shadow-sm: 0 2px 10px rgba(15, 51, 32, .06);
  --shadow:    0 12px 32px rgba(15, 51, 32, .10);
  --shadow-lg: 0 28px 64px rgba(15, 51, 32, .16);

  --radius:    18px;
  --radius-sm: 12px;
  --maxw: 1180px;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Montserrat", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.5px; }
h3 { font-size: 1.2rem; font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-alt { background: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn.sm { padding: 11px 22px; font-size: .9rem; }
.btn.lg { padding: 16px 34px; font-size: 1.05rem; }
.btn.full { width: 100%; }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 10px 22px rgba(31,107,58,.28); }
.btn-primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(31,107,58,.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(22,36,28,.18); }
.btn-ghost:hover { border-color: var(--green-700); color: var(--green-700); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--green-800); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0; transition: padding .3s var(--ease), background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm); padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* MIDIA PACK logo (image) */
.logo { display: inline-flex; align-items: center; }
.brand-img { display: block; height: 56px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand-img { height: 48px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-weight: 600; font-size: .95rem; color: var(--ink); padding: 9px 14px; border-radius: 999px;
  transition: color .2s, background .2s; position: relative;
}
.site-header:not(.scrolled) .nav-link { color: #fff; }
.site-header:not(.scrolled) .logo { background: #fff; border-radius: 12px; padding: 6px 11px; box-shadow: 0 8px 20px rgba(12,32,20,.16); }
.nav-link:hover { background: rgba(31,107,58,.10); color: var(--green-700); }
.site-header:not(.scrolled) .nav-link:hover { background: rgba(255,255,255,.18); color: #fff; }
.nav-link.active { background: rgba(31,107,58,.12); color: var(--green-700); }
.site-header:not(.scrolled) .nav-link.active { background: rgba(255,255,255,.22); color: #fff; }
.nav-cta {
  margin-left: 8px; background: var(--green-700); color: #fff !important; font-family: var(--font-head);
  font-weight: 700; padding: 11px 22px; border-radius: 999px; font-size: .92rem;
  transition: transform .25s var(--ease), box-shadow .25s; box-shadow: 0 8px 18px rgba(31,107,58,.3);
}
.nav-cta:hover { transform: translateY(-2px); }
.site-header:not(.scrolled) .nav-cta { background: #fff; color: var(--green-800) !important; }

/* Language switcher */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 10px;
  background: rgba(31,107,58,.10); border-radius: 999px; padding: 3px; }
.site-header:not(.scrolled) .lang-switch { background: rgba(255,255,255,.16); }
.lang-btn { border: none; background: transparent; cursor: pointer; font-family: var(--font-head);
  font-weight: 700; font-size: .8rem; padding: 6px 11px; border-radius: 999px; color: var(--ink);
  transition: background .2s, color .2s; letter-spacing: .3px; }
.site-header:not(.scrolled) .lang-btn { color: #fff; }
.lang-btn.active { background: var(--green-700); color: #fff !important; }
.site-header:not(.scrolled) .lang-btn.active { background: #fff; color: var(--green-800) !important; }
body.nav-open .lang-switch { background: rgba(31,107,58,.10); }
body.nav-open .lang-btn { color: var(--ink); }
body.nav-open .lang-btn.active { background: var(--green-700); color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 120px; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(1100px 520px at 78% -8%, #3aa766 0%, transparent 55%),
    radial-gradient(900px 600px at 10% 110%, #14361f 0%, transparent 60%),
    linear-gradient(150deg, #1f6b3a 0%, #14361f 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px);
  background-size: 26px 26px; opacity: .6;
}
/* background video */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(150deg, rgba(20,54,31,.74) 0%, rgba(12,32,20,.88) 78%); }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
.hero-copy { max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .85rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 8px 16px; border-radius: 999px; letter-spacing: .3px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(123,192,67,.3); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin: 22px 0 18px; color: #fff; letter-spacing: -1px; }
.hero h1 .hl { color: var(--leaf); }
.hero .lead { font-size: 1.12rem; max-width: 560px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 36px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; }
.hero-badges li { display: flex; flex-direction: column; }
.hero-badges strong { font-family: var(--font-head); font-size: 1.25rem; color: #fff; }
.hero-badges span { font-size: .82rem; color: rgba(255,255,255,.75); }

/* Hero visual */
.hero-visual { display: grid; place-items: center; }
.cup-stack { position: relative; width: 100%; max-width: 360px; }
.cup-hero { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: float 6s var(--ease) infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.float-tag {
  position: absolute; background: rgba(255,255,255,.95); color: var(--green-800); font-weight: 700;
  font-size: .82rem; padding: 9px 15px; border-radius: 999px; box-shadow: var(--shadow);
  font-family: var(--font-head); white-space: nowrap; animation: float 5s var(--ease) infinite;
}
.tag-1 { top: 8%; left: -8%; animation-delay: .4s; }
.tag-2 { top: 46%; right: -12%; animation-delay: 1.2s; }
.tag-3 { bottom: 6%; left: 0; animation-delay: .8s; }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; }

/* ---------- Interior page banner ---------- */
.page-banner { position: relative; padding: 150px 0 78px; color: #fff; overflow: hidden; text-align: center; }
.page-banner .banner-bg { position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 420px at 80% -20%, #3aa766 0%, transparent 55%),
    linear-gradient(150deg, #1f6b3a 0%, #14361f 78%); }
.page-banner .banner-bg::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px); background-size: 26px 26px; opacity: .6; }
.banner-inner { max-width: 760px; margin: 0 auto; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.6px; margin: 16px 0 12px; }
.page-banner p { color: rgba(255,255,255,.86); font-size: 1.08rem; max-width: 600px; margin: 0 auto; }
.crumbs { margin-top: 20px; font-size: .9rem; display: flex; gap: 9px; justify-content: center; align-items: center; color: rgba(255,255,255,.7); }
.crumbs a { color: rgba(255,255,255,.88); font-weight: 600; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .55; }

/* Branding visual panel (services on light pages) */
.brand-panel { background: linear-gradient(150deg, #1f6b3a, #14361f); border-radius: var(--radius);
  padding: 42px; display: grid; place-items: center; box-shadow: var(--shadow);
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px), linear-gradient(150deg, #1f6b3a, #14361f);
  background-size: 24px 24px, 100% 100%; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  padding: 34px 24px; margin-top: -36px; position: relative;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-item { text-align: center; padding: 8px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: none; }
.trust-item .num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--green-700); }
.trust-item .lbl { font-size: .86rem; color: var(--muted); }

/* ---------- Section heads ---------- */
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: 2px; color: var(--green-600);
  background: rgba(46,139,79,.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.kicker.light { color: #d6f0dc; background: rgba(255,255,255,.14); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; max-width: 820px; margin-inline: auto; }
.about-media { position: relative; }
.media-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.about-illustration { width: 100%; height: auto; }
.media-badge { position: absolute; right: -14px; bottom: -18px; background: var(--green-700); color: #fff;
  padding: 16px 22px; border-radius: 16px; box-shadow: var(--shadow); }
.media-badge strong { font-family: var(--font-head); font-size: 1.1rem; display: block; }
.media-badge span { font-size: .82rem; color: rgba(255,255,255,.82); }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.about-copy p strong { color: var(--ink); }
.mission { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 1.18rem;
  color: var(--green-700); border-left: 4px solid var(--leaf); padding: 6px 0 6px 22px; margin: 24px 0; line-height: 1.4; }

/* ---------- Production steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step-no { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--green-400);
  background: rgba(87,194,133,.14); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  text-align: center; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card.feature { background: linear-gradient(160deg, #fff, #fbf6ee); border-color: var(--kraft-soft); }
.product-art { height: 150px; display: grid; place-items: center; border-radius: var(--radius-sm); margin-bottom: 18px; }
.product-art svg { height: 130px; width: auto; filter: drop-shadow(0 12px 16px rgba(15,51,32,.12)); }
.product-art.hot { background: #eef5ef; }
.product-art.cold { background: #eaf6ee; }
.product-art.vending { background: #eef2f6; }
.product-art.branded { background: #f7efe2; }
.product-card h3 { margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.chip { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  color: var(--green-700); background: rgba(46,139,79,.1); padding: 7px 14px; border-radius: 999px; }
.chip-accent { color: var(--kraft-dark); background: rgba(200,155,106,.16); }
.products-note { text-align: center; margin-top: 40px; color: var(--muted); }
.products-note a:not(.btn) { color: var(--green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Services ---------- */
.section-green { background: linear-gradient(150deg, #1f6b3a, #14361f); color: #fff; position: relative; overflow: hidden; }
.section-green::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px); background-size: 26px 26px; }
.services-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; max-width: 760px; margin-inline: auto; }
.services-copy p { color: var(--muted); margin: 16px 0 22px; max-width: 480px; }
.section-green .services-copy h2 { color: #fff; }
.section-green .services-copy p { color: rgba(255,255,255,.86); }
.check-list { display: grid; gap: 12px; margin-bottom: 30px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); }
.section-green .check-list li { color: rgba(255,255,255,.92); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px;
  display: grid; place-items: center; background: var(--leaf); color: var(--green-900); border-radius: 50%; font-weight: 800; font-size: .85rem; }
.services-visual { display: grid; place-items: center; }
.brand-cup svg { width: 100%; max-width: 280px; filter: drop-shadow(0 24px 36px rgba(0,0,0,.35)); animation: float 6.5s var(--ease) infinite; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.why-ico { font-size: 2rem; display: inline-grid; place-items: center; width: 60px; height: 60px;
  background: var(--paper); border-radius: 16px; margin-bottom: 16px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.g-item { aspect-ratio: 1; border-radius: var(--radius-sm); display: grid; place-items: center; padding: 18px;
  transition: transform .35s var(--ease), box-shadow .35s; cursor: pointer; }
.g-item:hover { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow); }
.g-item svg { height: 78%; filter: drop-shadow(0 8px 12px rgba(15,51,32,.14)); }
.g-green { background: #e7f1e6; } .g-kraft { background: #f4ead9; }
.g-leaf { background: #ecf6e4; } .g-dark { background: #dde7df; }

/* ---------- Photos (stock imagery) ---------- */
.photo-block { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-block img { display: block; width: 100%; height: 100%; object-fit: cover; }

.media-card img.about-photo { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; }

.photo-feature { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-feature img { display: block; width: 100%; height: clamp(260px, 42vw, 460px); object-fit: cover; }
.photo-feature figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  background: linear-gradient(transparent, rgba(12,32,20,.82)); }
.photo-feature figcaption span { display: block; font-family: var(--font-body); font-weight: 500; font-size: .92rem; color: rgba(255,255,255,.8); margin-top: 4px; }

.photo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-gallery figure { position: relative; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.photo-gallery figure:hover img { transform: scale(1.06); }
.photo-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  background: linear-gradient(transparent, rgba(12,32,20,.82)); }

/* Real product photos (portrait cup shots) */
.product-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-shots figure { position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #eef1ef; }
.product-shots img { display: block; width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 3 / 4; object-position: center 58%; transition: transform .55s var(--ease); }
.product-shots figure:hover img { transform: scale(1.05); }
.product-shots figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  background: linear-gradient(transparent, rgba(12,32,20,.85)); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-700); color: #fff; padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.85); margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: start; }
.contact-list { display: grid; gap: 18px; margin: 28px 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 28px; color: var(--green-700); }
.ci-ico svg { width: 26px; height: 26px; color: var(--green-700); }
.ci-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list span { display: block; color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--green-700); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-top: 10px; }
.map iframe { width: 100%; height: 230px; border: 0; display: block; filter: saturate(.95); }

.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: #d14; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .98rem; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fbfcfb; color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(58,167,102,.14); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { margin-top: 14px; font-size: .92rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.form-note.ok { color: var(--green-700); }
.form-note.err { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.logo-footer { background: #fff; border-radius: 12px; padding: 8px 14px; }
.logo-footer .brand-img { height: 58px; }
.footer-brand p { margin-top: 16px; max-width: 340px; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,.72); margin-bottom: 10px; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--leaf); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .88rem; color: rgba(255,255,255,.6); }

/* ---------- To-top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-700); color: #fff; display: grid; place-items: center; font-size: 1.2rem; font-weight: 700;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .3s, transform .3s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--green-600); transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   Responsive
=================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .about-grid, .services-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-visual { order: -1; }
  .steps, .product-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .photo-gallery { grid-template-columns: repeat(2,1fr); }
  .product-shots { grid-template-columns: repeat(3,1fr); }
  .trust-inner { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  /* Full-screen slide-in menu */
  .nav { position: fixed; inset: 0; width: 100%; background: #fff; z-index: 105;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 96px 22px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease); }
  .nav.open { transform: translateX(0); }
  .nav-link { color: var(--ink) !important; padding: 16px 14px; border-radius: 12px;
    font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .site-header:not(.scrolled) .nav-link { color: var(--ink) !important; }
  .nav-link:hover, .nav-link.active { background: var(--paper) !important; }
  .nav-cta { margin: 20px 0 0; text-align: center; padding: 16px; font-size: 1.05rem; }

  /* Keep brand + close button above the open panel and readable on white */
  .logo, .nav-toggle { position: relative; z-index: 120; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span { background: var(--ink) !important; }
  body.nav-open .logo { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
  /* backdrop-filter on the scrolled header turns it into a containing block for the
     fixed menu, clipping it. Disable it (and the bg) while the menu is open. */
  body.nav-open .site-header { background: transparent !important; box-shadow: none !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .lang-switch { align-self: center; margin: 18px auto 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero { padding: 140px 0 90px; }
  .field-row { grid-template-columns: 1fr; }
  .steps, .product-grid, .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .photo-gallery { grid-template-columns: 1fr; }
  .product-shots { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .trust-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .hero-badges { gap: 18px; }
  .float-tag { font-size: .74rem; padding: 7px 12px; }
  /* Full-width, tap-friendly buttons on phones */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-inner .btn { width: 100%; }
  .cta-inner { text-align: center; }
  .contact-list a { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
