:root {
  color-scheme: light;
  --ink: #1f1a14;
  --muted: #6e6358;
  --soft: #faf5ee;
  --paper: #fdfaf3;
  --white: #ffffff;
  --line: #e8ddcd;
  --mint: #fdf0e0;
  --leaf: #e8843c;
  --leaf-dark: #8b5a2b;
  --wood: #bd8754;
  --amber: #f0b946;
  --footer: #f5ecde;
  --footer-muted: #6e6358;
  --flame: linear-gradient(95deg, #e63946 0%, #ff6b1a 26%, #ffa726 50%, #c89432 76%, #8b5a2b 100%);
  --shadow: 0 20px 54px rgba(80, 50, 20, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(253, 240, 224, 0.72), transparent 28%),
    linear-gradient(180deg, #fdfaf3 0%, var(--soft) 58%, #ffffff 100%);
  line-height: 1.65;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(253, 250, 243, 0.86);
  border-bottom: 1px solid rgba(232, 221, 205, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(80, 50, 20, 0.08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--flame);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(232, 132, 60, 0.23);
  font-size: 17px;
  font-weight: 840;
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  font-size: 18px;
  line-height: 1.2;
  background: var(--flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 820;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
  color: #3a312a;
  font-size: 15px;
  font-weight: 690;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--leaf);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.lang-toggle {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 8px 6px;
  transition: color 180ms ease;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  color: var(--leaf);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 130px clamp(20px, 6vw, 86px) 62px;
  background: #1a120a;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: saturate(1.04);
}

.hero-overlay {
  background:
    linear-gradient(95deg, rgba(20, 14, 8, 0.62) 0%, rgba(20, 14, 8, 0.36) 32%, rgba(20, 14, 8, 0.08) 64%, rgba(20, 14, 8, 0) 100%),
    linear-gradient(180deg, rgba(20, 14, 8, 0) 0%, rgba(20, 14, 8, 0.34) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.hero .eyebrow {
  color: #ffb077;
}

.hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.28);
}

:lang(en) .hero h1 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.1;
}

.hero .hero-copy {
  color: rgba(255, 255, 255, 0.9);
}

.hero .button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.hero .button.secondary:hover,
.hero .button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
  text-wrap: balance;
}

h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #2a241c;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: #5a4d3f;
  font-size: clamp(17px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 780;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--leaf);
  box-shadow: 0 15px 30px rgba(232, 132, 60, 0.25);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--leaf-dark);
}

.button.secondary {
  color: var(--leaf-dark);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(232, 132, 60, 0.22);
}

.button.light {
  color: var(--leaf-dark);
  background: var(--white);
}

.section {
  padding: clamp(76px, 9vw, 128px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.lead-block {
  color: #5a4d3f;
  font-size: 17px;
}

.lead-block p {
  margin: 0 0 18px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.values-grid article,
.service-card,
.team-story {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(80, 50, 20, 0.06);
}

.values-grid article {
  min-height: 222px;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.values-grid article:hover,
.service-card:hover,
.product-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-icon {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--wood);
  font-size: 14px;
  font-weight: 840;
}

.values-grid p,
.service-card p,
.team-copy p,
.product-row p {
  margin: 0;
  color: var(--muted);
}

.services-section,
.contact-section {
  background: var(--white);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  min-height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card a {
  margin-top: auto;
  color: var(--leaf-dark);
  font-weight: 780;
}

.products-section {
  background: linear-gradient(180deg, var(--soft), #ffffff);
}

.product-list {
  display: grid;
  gap: 18px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 30px;
  border: 1px solid rgba(195, 139, 87, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96), rgba(253, 240, 224, 0.62)),
    var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-kicker {
  margin-bottom: 8px !important;
  color: var(--wood) !important;
  font-size: 13px;
  font-weight: 820;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 20px;
  margin-top: 22px;
}

.product-detail div {
  padding: 16px;
  border: 1px solid rgba(232, 132, 60, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.product-detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(232, 132, 60, 0.24);
  border-radius: 8px;
  color: var(--leaf-dark);
  background: var(--white);
  font-weight: 780;
}

.team-story {
  padding: clamp(30px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(253, 240, 224, 0.58)),
    var(--white);
}

.team-story h2 {
  max-width: 760px;
}

.team-copy {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin-top: 28px;
  font-size: 17px;
}

.contact-section {
  background: #faf5ee;
}

.contact-head {
  text-align: center;
  margin-bottom: 48px;
}

.contact-head p:last-child {
  margin: 18px auto 0;
  max-width: 640px;
  color: var(--footer-muted);
  font-size: 17px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(420px, 1.08fr);
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 26px;
}

.contact-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.contact-item small {
  display: block;
  color: var(--muted);
  font-weight: 760;
}

.contact-item a,
.contact-item strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 680;
}

.contact-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(80, 50, 20, 0.08);
}

.contact-icon::before,
.contact-icon::after {
  position: absolute;
  content: "";
}

.contact-icon.mail::before {
  width: 18px;
  height: 13px;
  border: 1.8px solid var(--leaf);
  border-radius: 3px;
}

.contact-icon.mail::after {
  width: 13px;
  height: 8px;
  border-left: 1.8px solid var(--leaf);
  border-bottom: 1.8px solid var(--leaf);
  transform: translateY(-2px) rotate(-45deg);
}

.contact-icon.pin::before {
  width: 15px;
  height: 15px;
  border: 1.8px solid var(--leaf);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.contact-icon.pin::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--leaf);
}

.contact-icon.chat::before {
  width: 18px;
  height: 15px;
  border: 1.8px solid var(--leaf);
  border-radius: 9px;
}

.contact-icon.chat::after {
  left: 17px;
  bottom: 16px;
  width: 7px;
  height: 7px;
  border-left: 1.8px solid var(--leaf);
  border-bottom: 1.8px solid var(--leaf);
  transform: rotate(-25deg);
}

.quick-card {
  margin-top: 8px;
  padding: 28px;
  border-radius: 18px;
  color: var(--white);
  background: var(--flame);
  box-shadow: var(--shadow);
}

.quick-card p {
  margin: 0 0 18px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2a241c;
  font-size: 14px;
  font-weight: 760;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fdfaf3;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(232, 132, 60, 0.12);
}

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.form-status.is-pending {
  color: var(--muted);
  background: rgba(80, 50, 20, 0.06);
  border-color: rgba(80, 50, 20, 0.12);
}

.form-status.is-success {
  color: #1f6f3e;
  background: rgba(46, 160, 90, 0.12);
  border-color: rgba(46, 160, 90, 0.28);
}

.form-status.is-error {
  color: #a4341e;
  background: rgba(220, 86, 64, 0.1);
  border-color: rgba(220, 86, 64, 0.3);
}

.site-footer {
  padding: 48px clamp(20px, 5vw, 64px) 28px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(232, 132, 60, 0.1), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--footer) 100%);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 0.62fr));
  gap: clamp(28px, 6vw, 74px);
  width: min(1140px, 100%);
  margin: 0 auto;
}

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo strong {
  font-size: 23px;
  background: var(--flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 840;
}

.footer-logo span {
  color: var(--footer-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-brand h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  color: var(--footer-muted);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-column h3 {
  margin-bottom: 4px;
  color: var(--leaf-dark);
  font-size: 14px;
}

.footer-column a {
  color: var(--footer-muted);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--leaf-dark);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(1140px, 100%);
  margin: 42px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(232, 132, 60, 0.14);
  color: var(--footer-muted);
  font-size: 14px;
}

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

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

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

  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 66px;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(20, 14, 8, 0.5) 0%, rgba(20, 14, 8, 0.6) 55%, rgba(20, 14, 8, 0.78) 100%);
  }

  h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .values-grid,
  .service-grid,
  .product-detail,
  .form-row,
  .footer-main {
    grid-template-columns: 1fr;
  }

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

  .product-link {
    width: fit-content;
  }

  .contact-head {
    text-align: left;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
