/* HUANYANG — forest green + terracotta on warm cream (e-commerce trade, Linyi) */
:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --ink: #1b4332;
  --ink-muted: #52796f;
  --accent: #2d6a4f;
  --accent-2: #d4a373;
  --accent-light: #d8f3dc;
  --line: rgba(27, 67, 50, 0.12);
  --header-bg: rgba(248, 246, 242, 0.92);
  --footer-bg: #1b4332;
  --footer-ink: #b7e4c7;
  --shadow: 0 14px 44px rgba(27, 67, 50, 0.12);
  --radius: 12px;
  --max: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(45, 106, 79, 0.08), transparent 55%),
    radial-gradient(600px 400px at 0% 100%, rgba(212, 163, 115, 0.1), transparent 50%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, .hyt-display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #40916c;
}

/* Header */
.hyt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.hyt-header__inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.hyt-logo img {
  height: 40px;
  width: auto;
}

.hyt-nav {
  display: flex;
  gap: 0.25rem;
}

.hyt-nav a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.hyt-nav a:hover,
.hyt-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent-2);
}

.hyt-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--ink);
}

.hyt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.hyt-btn:hover {
  transform: translateY(-1px);
}

.hyt-btn--solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.3);
}

.hyt-btn--solid:hover {
  color: #fff;
  background: #40916c;
}

.hyt-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.hyt-btn--outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hyt-btn--warm {
  background: var(--accent-2);
  color: var(--ink);
}

.hyt-btn--warm:hover {
  color: var(--ink);
  background: #e9c46a;
}

/* Hero — fade carousel */
.hyt-hero {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  overflow: hidden;
  color: #fff;
}

.hyt-hero__slides {
  position: absolute;
  inset: 0;
}

.hyt-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hyt-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hyt-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hyt-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(27, 67, 50, 0.82) 0%, rgba(27, 67, 50, 0.45) 55%, rgba(27, 67, 50, 0.25) 100%);
}

.hyt-hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 7rem) 0 5rem;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hyt-hero__panes {
  position: relative;
  min-height: 10rem;
}

.hyt-hero__pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.hyt-hero__pane.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hyt-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hyt-hero h1,
.hyt-hero h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  max-width: 18ch;
}

.hyt-lead {
  margin: 0;
  font-size: 1.05rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.88);
}

.hyt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hyt-hero__prev,
.hyt-hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s;
}

.hyt-hero__prev:hover,
.hyt-hero__next:hover {
  background: rgba(255, 255, 255, 0.32);
}

.hyt-hero__prev { left: 1rem; }
.hyt-hero__next { right: 1rem; }

.hyt-hero__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hyt-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hyt-hero__dot.is-active {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: scale(1.15);
}

/* Sections */
.hyt-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.hyt-container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hyt-section__head {
  margin-bottom: 2rem;
}

.hyt-section__head--center {
  text-align: center;
}

.hyt-section__head--center .hyt-title {
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.hyt-title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Product grid — fixed 4 columns */
.hyt-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.hyt-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hyt-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hyt-card__body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hyt-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
}

.hyt-card__desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Intro */
.hyt-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hyt-intro__visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hyt-intro__text h2 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.hyt-intro__text p {
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
}

/* Reviews */
.hyt-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.hyt-review {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(27, 67, 50, 0.06);
}

.hyt-review__head {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.hyt-review__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hyt-review__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.hyt-review__role {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.hyt-review__stars {
  color: var(--accent-2);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.hyt-review__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Message form split */
.hyt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.hyt-split__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hyt-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hyt-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hyt-field {
  display: block;
  margin-bottom: 1rem;
}

.hyt-field__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--ink-muted);
}

.hyt-field__input,
.hyt-field__textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--bg);
  color: var(--ink);
}

.hyt-field__input:focus,
.hyt-field__textarea:focus {
  outline: 2px solid var(--accent-light);
  border-color: var(--accent);
}

.hyt-form__hint {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* About page */
.hyt-about {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.hyt-about__grid {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hyt-about__grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hyt-about__copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.hyt-about__copy p {
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
}

.hyt-about__wide {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hyt-about__wide img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Contact page */
.hyt-contact-wrap {
  padding-bottom: 3rem;
}

.hyt-contact-banner img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.hyt-contact-split {
  width: min(var(--max), calc(100% - 2rem));
  margin: -2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.hyt-contact-split__media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hyt-contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hyt-contact-card h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
}

.hyt-contact-card dl {
  margin: 0;
}

.hyt-contact-card dl > div {
  margin-bottom: 1rem;
}

.hyt-contact-card dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.hyt-contact-card dd {
  margin: 0;
  font-size: 0.95rem;
}

.hyt-contact-note {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Footer */
.hyt-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 3rem 0 0;
  margin-top: 2rem;
}

.hyt-footer a {
  color: #d8f3dc;
}

.hyt-footer a:hover {
  color: #fff;
}

.hyt-footer__grid {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.hyt-footer__logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.hyt-footer__desc {
  margin: 0.85rem 0 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 32ch;
  color: rgba(183, 228, 199, 0.85);
}

.hyt-footer__social {
  display: flex;
  gap: 0.65rem;
}

.hyt-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #d8f3dc;
  transition: background 0.2s;
}

.hyt-social:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hyt-social img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.hyt-footer__title {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  font-family: inherit;
}

.hyt-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

.hyt-footer__list li {
  margin-bottom: 0.45rem;
}

.hyt-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
  text-align: center;
}

.hyt-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(183, 228, 199, 0.7);
}

/* Responsive */
@media (max-width: 960px) {
  .hyt-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hyt-reviews {
    grid-template-columns: 1fr;
  }

  .hyt-intro,
  .hyt-split,
  .hyt-about__grid,
  .hyt-contact-split {
    grid-template-columns: 1fr;
  }

  .hyt-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hyt-nav-toggle {
    display: block;
  }

  .hyt-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .hyt-nav.is-open {
    display: flex;
  }

  .hyt-header {
    position: relative;
  }

  .hyt-header__inner {
    flex-wrap: wrap;
    position: relative;
  }

  .hyt-header__cta {
    display: none;
  }

  .hyt-grid-4 {
    grid-template-columns: 1fr;
  }

  .hyt-form__row {
    grid-template-columns: 1fr;
  }

  .hyt-hero__prev,
  .hyt-hero__next {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
}
