/* =========================================================
   米樂家食材 · 端午專案 Landing Page
   Design tokens
   ========================================================= */
:root {
  /* core palette */
  --bamboo-900: #1f3415;
  --bamboo-800: #2d4a1f;
  --bamboo-700: #3f5f2d;
  --bamboo-600: #557d3c;
  --bamboo-500: #6b9550;
  --bamboo-100: #e6ecd9;

  --rice-50:  #fbf8ef;
  --rice-100: #f6f1e1;
  --rice-200: #ece4cc;

  --brown-900: #1f1410;
  --brown-800: #2a1c14;
  --brown-700: #3a2818;
  --brown-600: #5a3f29;
  --brown-300: #b89878;

  --beige-200: #e8d5a4;
  --beige-300: #d9c089;
  --beige-400: #c8a766;

  --red-700:   #8d2a1d;
  --red-600:   #b53727;
  --red-500:   #c84432;
  --red-100:   #f3dcd6;

  --ink:       #221710;
  --ink-soft:  #4a3a2d;
  --ink-mute:  #806d5d;
  --line:      #e3dac4;
  --line-soft: #efe7d3;

  /* type */
  --serif: 'Noto Serif TC', 'Songti TC', serif;
  --sans:  'Noto Sans TC', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  /* radii, shadows */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow-sm: 0 1px 2px rgba(34, 23, 16, 0.06), 0 1px 3px rgba(34, 23, 16, 0.04);
  --shadow-md: 0 4px 14px rgba(34, 23, 16, 0.08), 0 2px 6px rgba(34, 23, 16, 0.04);
  --shadow-lg: 0 18px 40px -16px rgba(34, 23, 16, 0.22), 0 6px 16px rgba(34, 23, 16, 0.06);

  --nav-h: 64px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--rice-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0; }
.d-sm-up { display: none; }

/* =========================================================
   Layout
   ========================================================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .d-sm-up { display: inline; }
  .container { padding: 0 32px; }
}
@media (min-width: 1100px) {
  .container { padding: 0 40px; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.04em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn--sm { height: 42px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; height: 56px; font-size: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--bamboo-700);
  color: var(--rice-50);
  box-shadow: 0 6px 18px -6px rgba(63, 95, 45, 0.55);
}
.btn--primary:hover { background: var(--bamboo-800); }

.btn--dark {
  background: var(--brown-800);
  color: var(--rice-50);
}
.btn--dark:hover { background: var(--brown-700); }

.btn--line {
  background: #06C755;
  color: white;
  box-shadow: 0 6px 18px -6px rgba(6, 199, 85, 0.55);
}
.btn--line:hover { background: #05b04b; }

.btn--ghost {
  background: transparent;
  color: var(--brown-800);
  border-color: var(--brown-800);
}
.btn--ghost:hover { background: var(--brown-800); color: var(--rice-50); }

.btn--outline {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--brown-700); }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 239, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__zh {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--brown-800);
}
.brand__en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin-top: 2px;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--bamboo-700); }
.nav__cta {
  background: var(--bamboo-700);
  color: var(--rice-50) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.nav__cta:hover { background: var(--bamboo-800); }

.nav__burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--brown-800);
  transition: transform .2s ease, opacity .2s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile[hidden] { display: none; }
.nav__mobile {
  display: flex;
  flex-direction: column;
  background: var(--rice-50);
  border-top: 1px solid var(--line-soft);
  padding: 8px 20px 16px;
}
.nav__mobile a {
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--brown-800);
  border-bottom: 1px solid var(--line-soft);
}
.nav__mobile a:last-child {
  border-bottom: none;
  margin-top: 8px;
  background: var(--bamboo-700);
  color: var(--rice-50);
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
}

@media (min-width: 980px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .nav__mobile { display: none !important; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(232, 213, 164, 0.45), transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(63, 95, 45, 0.10), transparent 70%),
    var(--rice-50);
  padding: 32px 0 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__leaves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.18;
}
.hero__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--rice-100);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brown-700);
  margin-bottom: 24px;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-600);
  box-shadow: 0 0 0 4px rgba(181, 55, 39, 0.18);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(40px, 9.5vw, 84px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--brown-900);
  margin-bottom: 22px;
}
.hero__title-accent {
  color: var(--bamboo-700);
  position: relative;
  display: inline-block;
}
.hero__title-accent::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 4px;
  height: 14px;
  background: var(--beige-200);
  z-index: -1;
  border-radius: 2px;
  opacity: 0.75;
}

.hero__sub {
  font-size: clamp(15px, 3.6vw, 18px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.hero__chips li {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  background: var(--bamboo-100);
  color: var(--bamboo-800);
  border-radius: 6px;
  letter-spacing: 0.06em;
}

/* hero visual */
.hero__visual {
  position: relative;
  margin-top: 8px;
}
.hero__photo {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.hero__photo-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}
.hero__photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  border: 1px solid rgba(0,0,0,0.06);
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  bottom: -18px;
  left: -10px;
  background: var(--brown-800);
  color: var(--rice-50);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
}
.hero__badge-num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}
.hero__badge-num span {
  font-size: 14px;
  font-weight: 500;
  margin-left: 2px;
  vertical-align: top;
}
.hero__badge-text {
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--rice-100);
}
.hero__seal {
  position: absolute;
  top: -28px;
  right: -10px;
  width: 110px;
  height: 110px;
  background: var(--rice-50);
  border-radius: 50%;
  padding: 6px;
  box-shadow: var(--shadow-md);
  transform: rotate(8deg);
  animation: sealSpin 30s linear infinite;
}
@keyframes sealSpin { to { transform: rotate(368deg); } }

/* hero strip */
.hero__strip {
  margin-top: 64px;
  background: var(--brown-800);
  color: var(--rice-100);
}
.hero__strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  align-items: center;
}
.strip__item {
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.strip__num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 28px;
  color: var(--beige-200);
  line-height: 1.1;
}
.strip__num small { font-size: 14px; font-weight: 500; }
.strip__lbl {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--rice-200);
  margin-top: 4px;
}
.strip__sep {
  width: 1px;
  height: 28px;
  background: rgba(232, 213, 164, 0.18);
  display: none;
}

@media (min-width: 768px) {
  .hero { padding-top: 56px; }
  .hero__inner { gap: 56px; }
  .hero__strip-inner { grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr; padding: 22px 32px; }
  .strip__sep { display: block; justify-self: center; height: 36px; }
}
@media (min-width: 980px) {
  .hero { padding: 80px 0 0; }
  .hero__inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }
  .hero__photo { max-width: none; transform: none; }
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 72px 0; position: relative; }
.section--cream { background: var(--rice-100); }
.section--white { background: var(--rice-50); }
.section--dark  { background: var(--brown-900); color: var(--rice-100); }

@media (min-width: 980px) { .section { padding: 110px 0; } }

.section__head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section__head--row {
  max-width: none;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 44px;
}
.section__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.section__head-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 900px) {
  .section__head--row {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 48px;
  }
  .section__aside { align-items: flex-end; text-align: right; }
}

.section__kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-600);
  font-weight: 500;
  margin-bottom: 16px;
}
.section__kicker--light { color: var(--beige-200); }

.section__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(28px, 5.4vw, 46px);
  line-height: 1.2;
  color: var(--brown-900);
  letter-spacing: 0.02em;
  text-wrap: pretty;
}
.section__title--light { color: var(--rice-100); }

.section__lead {
  margin-top: 18px;
  font-size: clamp(15px, 2.6vw, 17px);
  line-height: 1.8;
  color: var(--ink-soft);
}
.section__lead--light { color: rgba(246, 241, 225, 0.75); }

/* =========================================================
   Highlights
   ========================================================= */
.highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .highlights {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .hi--wide { grid-column: span 4; }
}

.hi {
  background: var(--rice-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.hi:hover { border-color: var(--bamboo-600); transform: translateY(-2px); }
.hi__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--bamboo-700);
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-bottom: 18px;
}
.hi__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.hi__text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.hi__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bamboo-700);
  border-bottom: 1.5px solid var(--bamboo-700);
  padding-bottom: 2px;
}
.hi--wide {
  background: linear-gradient(135deg, var(--bamboo-100) 0%, var(--rice-100) 100%);
  border-color: var(--bamboo-100);
}
.hi--wide .hi__title { font-size: 26px; }

/* =========================================================
   Cards (items)
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bamboo-600);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
}
.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--rice-50);
  color: var(--brown-800);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.card__tag--red {
  background: var(--red-600);
  color: white;
}
.card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--brown-900);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bamboo-600);
}
.card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.card__meta {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.card__cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--bamboo-700);
  letter-spacing: 0.06em;
  transition: color .15s;
}
.card__cta:hover { color: var(--red-600); }

.card--feature {
  background: linear-gradient(160deg, var(--brown-800) 0%, var(--brown-900) 100%);
  color: var(--rice-100);
  border-color: var(--brown-800);
}
.card--feature .card__title { color: var(--rice-50); }
.card--feature .card__list li { color: rgba(246, 241, 225, 0.78); }
.card--feature .card__list li::before { background: var(--beige-300); }
.card--feature .card__foot { border-top-color: rgba(232, 213, 164, 0.2); }
.card--feature .card__meta { color: var(--beige-300); }
.card--feature .card__cta { color: var(--beige-200); }
.card--feature .card__cta:hover { color: white; }

/* =========================================================
   Placeholders (imagery slots)
   ========================================================= */
.ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4d6b3e 0%, #2d4a1f 100%);
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,0.92);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}
.ph__stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.06) 0px,
    rgba(255,255,255,0.06) 1px,
    transparent 1px,
    transparent 14px
  );
}
.ph__label {
  position: relative;
  z-index: 1;
}
.ph__label-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  margin-bottom: 10px;
  font-weight: 500;
}
.ph__label-text {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.ph__label-meta {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  margin-top: 8px;
  opacity: 0.6;
}
.ph--hero {
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, #4d6b3e 0%, #2d4a1f 60%, #1f3415 100%);
  padding: 28px;
}
.ph--hero .ph__label-text { font-size: 17px; }

.ph--card { padding: 14px; }
.ph--card .ph__label-kicker {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.5);
}
.ph--brown   { background: linear-gradient(135deg, #5a3f29 0%, #2a1c14 100%); }
.ph--red     { background: linear-gradient(135deg, #b53727 0%, #6d1f15 100%); }
.ph--cream   { background: linear-gradient(135deg, #d9c089 0%, #8c7341 100%); color: #2a1c14; }
.ph--cream .ph__label-kicker { border-color: rgba(42, 28, 20, 0.4); }
.ph--green   { background: linear-gradient(135deg, #6b9550 0%, #3f5f2d 100%); }
.ph--feature { background: linear-gradient(135deg, #b53727 0%, #2d4a1f 100%); }

/* =========================================================
   Trust (dark)
   ========================================================= */
.section--dark {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(181, 55, 39, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(63, 95, 45, 0.22), transparent 70%),
    var(--brown-900);
}
.trust__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.trust__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .trust__pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.pillar {
  position: relative;
  background: rgba(246, 241, 225, 0.04);
  border: 1px solid rgba(232, 213, 164, 0.14);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-align: center;
}
.pillar__char {
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(160deg, var(--beige-200), var(--beige-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.pillar__zh {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--rice-50);
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}
.pillar__en {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--beige-300);
  margin-bottom: 16px;
}
.pillar__text {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(246, 241, 225, 0.75);
}

.trust__catalog {
  border-top: 1px solid rgba(232, 213, 164, 0.18);
  padding-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .trust__catalog { grid-template-columns: 180px 1fr; gap: 32px; align-items: start; }
}
.catalog__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--beige-200);
}
.catalog__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.catalog__list li {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid rgba(232, 213, 164, 0.25);
  color: var(--rice-100);
  border-radius: 999px;
  letter-spacing: 0.1em;
}

/* =========================================================
   Process
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
  counter-reset: stepc;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  background: var(--rice-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step__num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--bamboo-700);
}
.step__num-digit {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}
.step__num-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 500;
}
.step__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--brown-900);
  letter-spacing: 0.04em;
}
.step__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.step__icon {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  color: var(--bamboo-600);
  opacity: 0.6;
}

.process__note {
  margin-top: 36px;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red-600);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 700px) {
  .process__note { flex-direction: row; align-items: center; gap: 20px; }
}
.process__note-tag {
  display: inline-block;
  background: var(--red-100);
  color: var(--red-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  border-radius: 4px;
  flex-shrink: 0;
  align-self: flex-start;
}
.process__note p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.process__note strong { color: var(--red-700); font-weight: 700; }

/* =========================================================
   Contact
   ========================================================= */
.section--contact {
  background:
    linear-gradient(180deg, var(--rice-50) 0%, var(--rice-100) 100%);
}
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 980px) {
  .contact { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.contact__left .section__title { text-align: left; }
.contact__info {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 560px) { .contact__info { grid-template-columns: 1fr 1fr; } }

.info {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.info__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--bamboo-700);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}
.info__value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--brown-900);
}
.info__link {
  color: var(--red-600);
  font-weight: 700;
  border-bottom: 1.5px solid var(--red-600);
}

.contact__form {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
}
@media (min-width: 768px) { .contact__form { padding: 36px 36px 32px; } }

.form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.form__head h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--brown-900);
  letter-spacing: 0.05em;
}
.form__badge {
  background: var(--bamboo-100);
  color: var(--bamboo-800);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 5px 10px;
  border-radius: 4px;
}

.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brown-700);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.field label span { color: var(--red-600); }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--rice-50);
  font-size: 15px;
  transition: border-color .15s, background .15s, box-shadow .15s;
  font-family: inherit;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #b8a895;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bamboo-700);
  background: white;
  box-shadow: 0 0 0 3px rgba(63, 95, 45, 0.12);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red-600);
}

.form__actions { margin-top: 22px; }
.form__fineprint {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 12px;
}

.form__success {
  position: absolute;
  inset: 0;
  background: white;
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  gap: 12px;
}
.form__success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bamboo-700);
  color: white;
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.form__success h4 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--brown-900);
  letter-spacing: 0.05em;
}
.form__success p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 320px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--brown-900);
  color: var(--rice-100);
  padding-top: 56px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.2fr 2fr; gap: 56px; }
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__logo {
  width: 80px;
  height: 80px;
  background: var(--rice-50);
  padding: 8px;
  border-radius: 12px;
}
.footer__tag {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--beige-200);
  letter-spacing: 0.08em;
  line-height: 1.65;
}
.footer__tag--small {
  font-size: 13px;
  color: rgba(246, 241, 225, 0.6);
  letter-spacing: 0.04em;
  font-family: var(--sans);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 560px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
.footer__col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--beige-300);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col li {
  font-size: 13.5px;
  color: rgba(246, 241, 225, 0.78);
  line-height: 1.6;
}
.footer__bottom {
  border-top: 1px solid rgba(232, 213, 164, 0.14);
  padding: 18px 0;
}
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(246, 241, 225, 0.5);
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; }
}
.footer__bottom-meta { font-family: var(--mono); font-size: 11px; }

/* =========================================================
   Mobile sticky CTA
   ========================================================= */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(34, 23, 16, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}
.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: white;
  flex: 0 0 auto;
}
.sticky-cta__btn--line { background: #06C755; }
.sticky-cta__btn--call { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); }
.sticky-cta__btn--primary {
  background: var(--bamboo-600);
  flex: 1;
  padding: 12px 14px;
}

@media (min-width: 768px) {
  .sticky-cta {
    left: auto;
    right: 20px;
    bottom: 20px;
    background: rgba(34, 23, 16, 0.95);
  }
  .sticky-cta__btn--primary { padding: 12px 18px; flex: 0 0 auto; }
}
@media (min-width: 980px) {
  .sticky-cta { display: none; }
}

/* Page body padding-bottom so sticky CTA doesn't cover footer */
body { padding-bottom: 80px; }
@media (min-width: 980px) { body { padding-bottom: 0; } }
