:root {
  --ink: #18231f;
  --ink-soft: #56615c;
  --forest: #173c30;
  --forest-2: #285342;
  --leaf: #55765b;
  --leaf-soft: #dbe5d6;
  --red: #9f2e33;
  --red-bright: #c94940;
  --gold: #d6a96a;
  --gold-soft: #f0d8ac;
  --cream: #f5efe4;
  --paper: #fffdf9;
  --muted: #78827d;
  --line: rgba(24, 35, 31, 0.12);
  --shadow: 0 24px 60px rgba(20, 42, 34, 0.12);
  --radius: 8px;
  --container: 1240px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  color: #fff;
  background: var(--red);
}

.scroll-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-bright), var(--gold));
  transition: width 0.08s linear;
}

.site-header {
  position: fixed;
  z-index: 500;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  color: #fff;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 10px 30px rgba(22, 43, 35, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--container));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.14);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-copy small {
  margin-top: 4px;
  color: currentColor;
  font-size: 0.58rem;
  opacity: 0.72;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.94rem;
}

.nav-links > a:not(.nav-cta) {
  position: relative;
  padding: 9px 0;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-links > a:not(.nav-cta):hover {
  opacity: 1;
}

.nav-links > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--red-bright);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  color: currentColor;
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 130px 0 64px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 27, 22, 0.82) 0%, rgba(14, 34, 27, 0.58) 48%, rgba(18, 35, 29, 0.2) 100%),
    url("../img/hero.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 210px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(8, 23, 18, 0.5));
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.hero-content {
  max-width: 620px;
}

.hero-poster {
  width: auto;
  height: min(calc(100svh - 240px), 820px);
  max-width: 52vw;
  margin: 0;
  justify-self: end;
}

.hero-poster img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero-eyebrow {
  color: #f4d9a9;
}

.hero h1 {
  margin-top: 18px;
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1.06;
}

.hero h1 em {
  display: block;
  color: #f2d49a;
  font-style: normal;
}

.hero-lead {
  max-width: 620px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button svg {
  width: 19px;
  height: 19px;
}

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

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 26px rgba(159, 46, 51, 0.24);
}

.button-primary:hover {
  background: var(--red-bright);
  box-shadow: 0 16px 32px rgba(159, 46, 51, 0.3);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.16);
}

.button-dark {
  color: #fff;
  background: var(--forest);
}

.button-dark:hover {
  background: var(--forest-2);
}

.button-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.hero-side-note {
  position: absolute;
  z-index: 2;
  left: 48px;
  bottom: 110px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  text-align: left;
  writing-mode: vertical-rl;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: 50%;
  width: 26px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.marquee {
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #f7e9cd;
  background: var(--forest);
}

.marquee-track {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
}

.marquee-track span {
  white-space: nowrap;
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 0.95rem;
}

.marquee-track i {
  width: 8px;
  height: 8px;
  margin: 0 24px;
  border-radius: 50%;
  background: var(--gold);
}

.section {
  padding: 112px 0;
}

section[id],
footer[id] {
  scroll-margin-top: 78px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2,
.origin-copy h2,
.quality-intro h2,
.contact-info h2 {
  margin-top: 10px;
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 2.8rem;
  line-height: 1.18;
  font-weight: 700;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1rem;
}

.section-origin {
  background: var(--paper);
}

.origin-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.origin-media {
  position: relative;
  min-width: 0;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.image-frame img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.origin-media:hover .image-frame img {
  transform: scale(1.025);
}

.origin-badge {
  position: absolute;
  right: -18px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  padding: 20px 24px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--forest);
  box-shadow: 0 18px 36px rgba(20, 42, 34, 0.2);
}

.origin-badge strong {
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 1.6rem;
}

.origin-badge span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.origin-copy .section-lead {
  margin-top: 22px;
}

.origin-points {
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.origin-points li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.origin-points li:first-child {
  border-top: 1px solid var(--line);
}

.point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--red);
  background: #f7e8e1;
}

.point-icon svg {
  width: 20px;
  height: 20px;
}

.origin-points strong {
  font-size: 1rem;
}

.origin-points p {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--red);
  font-weight: 700;
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(5px);
}

.stats-band {
  padding: 58px 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(214, 169, 106, 0.16), transparent 26%),
    var(--forest);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  text-align: center;
}

.stat strong {
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 2.7rem;
  line-height: 1.1;
  color: #f3d69a;
}

.stat strong em {
  margin-left: 3px;
  font-size: 1.1rem;
  font-style: normal;
}

.stat > span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.section-quality {
  color: #fff;
  background:
    radial-gradient(circle at 86% 20%, rgba(214, 169, 106, 0.16), transparent 28%),
    linear-gradient(135deg, #142e26, #21493a);
}

.quality-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 86px;
  align-items: start;
}

.quality-intro .eyebrow {
  color: var(--gold);
}

.quality-intro h2 {
  color: #fff;
}

.quality-intro .section-lead {
  max-width: 500px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.68);
}

.quality-cert {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.quality-cert span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.process-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-index {
  color: var(--gold);
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 1.3rem;
}

.process-item h3 {
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 1.3rem;
}

.process-item p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

.section-gallery {
  background: #f7f4ec;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(22, 43, 35, 0.09);
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.section-news {
  background: var(--paper);
}

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

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card a {
  display: block;
  height: 100%;
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.news-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.45 / 1;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.news-card:hover .news-media img {
  transform: scale(1.045);
}

.news-media span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 42, 34, 0.82);
  font-size: 0.74rem;
  backdrop-filter: blur(8px);
}

.news-body {
  padding: 22px 22px 24px;
}

.news-body time {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
}

.news-body h3 {
  margin-top: 9px;
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 1.25rem;
  line-height: 1.4;
}

.news-body p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.news-card {
  cursor: pointer;
}

.news-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.news-modal[hidden] {
  display: none;
}

.news-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 17, 0.66);
  backdrop-filter: blur(6px);
  animation: modalFade 0.25s ease;
}

.news-modal-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(82vh, 720px);
  overflow-y: auto;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
  animation: modalSlide 0.28s ease;
}

.news-modal-close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 14px 14px 0 auto;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(24, 35, 31, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.news-modal-close:hover {
  color: #fff;
  background: var(--red);
}

.news-modal-close svg {
  width: 20px;
  height: 20px;
}

.news-modal-content {
  padding: 4px 40px 40px;
}

.news-modal-content h3 {
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 1.7rem;
  line-height: 1.35;
}

.news-full-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
}

.news-full-meta span {
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-weight: 700;
  font-size: 0.72rem;
}

.news-modal-content > p:not(.news-full-meta) {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.9;
}

@keyframes modalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.modal-open {
  overflow: hidden;
}

.section-contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
  align-items: start;
}

.contact-info .section-lead {
  max-width: 510px;
  margin-top: 22px;
}

.contact-lines {
  margin-top: 34px;
}

.contact-lines a,
.contact-lines div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-lines a:first-child {
  border-top: 1px solid var(--line);
}

.contact-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--red);
  background: #f7e8e1;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-lines span:not(.contact-icon) {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact-lines small {
  color: var(--muted);
  font-size: 0.76rem;
}

.contact-lines strong {
  overflow-wrap: anywhere;
  font-size: 0.98rem;
}

.contact-form-wrap {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label > span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  color: var(--ink);
  background: #fbfaf6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 130px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a1a7a3;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--leaf);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(85, 118, 91, 0.1);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 4px;
}

.form-footer p {
  max-width: 310px;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-footer .button {
  flex: 0 0 auto;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #10231d;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 60px;
  padding: 72px 0 58px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.9rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-column h3 {
  margin-bottom: 8px;
  color: #fff;
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 1rem;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.52);
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #f0d49a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
}

.footer-bottom a:hover {
  color: #f0d49a;
}

.floating-actions {
  position: fixed;
  z-index: 400;
  right: 22px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  box-shadow: 0 12px 24px rgba(20, 42, 34, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-actions a:nth-child(2) {
  background: var(--red);
}

.floating-actions a:hover {
  transform: translateY(-3px);
}

.back-to-top {
  position: fixed;
  z-index: 400;
  right: 24px;
  bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(24, 35, 31, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast {
  position: fixed;
  z-index: 1100;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100% - 48px));
  padding: 14px 18px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--forest);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1080px) {
  .hero h1 {
    font-size: 3.9rem;
  }

  .origin-grid,
  .quality-grid,
  .contact-grid {
    gap: 52px;
  }

  .footer-main {
    gap: 34px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-height));
    padding: 16px 20px 24px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 20px 40px rgba(22, 43, 35, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(18px);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links > a:not(.nav-cta) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .site-header:not(.is-scrolled) .nav-toggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }

  .site-header.is-scrolled .nav-toggle {
    color: var(--ink);
    background: rgba(24, 35, 31, 0.07);
  }

  .hero {
    padding-top: 110px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-side-note {
    left: 20px;
    bottom: 100px;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading,
  .origin-grid,
  .quality-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 20px;
  }

  .origin-grid {
    gap: 44px;
  }

  .image-frame img {
    height: 520px;
  }

  .origin-badge {
    right: 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }

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

  .quality-grid {
    gap: 42px;
  }

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

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-poster {
    height: min(64vh, 540px);
    margin: 0 auto;
  }

  .contact-grid {
    gap: 46px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container,
  .nav-shell,
  .hero-shell,
  .hero-content {
    width: min(100% - 32px, var(--container));
  }

  .brand-copy strong {
    font-size: 1.02rem;
  }

  .hero {
    min-height: 760px;
    padding: 100px 0 70px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-side-note {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2,
  .origin-copy h2,
  .quality-intro h2,
  .contact-info h2 {
    font-size: 2.2rem;
  }

  .image-frame img {
    height: 400px;
  }

  .origin-badge {
    right: 12px;
    bottom: 16px;
    min-width: 150px;
    padding: 16px 18px;
  }

  .origin-badge strong {
    font-size: 1.3rem;
  }

  .origin-points li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .point-icon {
    width: 38px;
    height: 38px;
  }

  .stats-grid {
    gap: 20px;
  }

  .stat {
    padding: 8px;
  }

  .stat strong {
    font-size: 2.1rem;
  }

  .gallery-grid {
    gap: 10px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    height: min(58vh, 460px);
  }

  .quality-cert {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .contact-form-wrap {
    padding: 26px 22px;
  }

  .news-modal-content {
    padding: 0 22px 28px;
  }

  .news-modal-content h3 {
    font-size: 1.4rem;
  }

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

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer p {
    max-width: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 54px 0 42px;
  }

  .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .floating-actions {
    right: 14px;
    bottom: 88px;
  }

  .back-to-top {
    right: 15px;
    bottom: 30px;
  }
}
