/* BOSS AI 业务官网
   Brand override: forest / champagne from 微信小程序 prototype */

:root {
  --forest: #063b2f;
  --forest-deep: #042820;
  --forest-soft: #0a4d3c;
  --forest-muted: #2f5c4e;
  --forest-faint: #e8f0ed;
  --champagne: #e2d1a3;
  --champagne-light: #f0e6c8;
  --champagne-deep: #c9b483;
  --ink: #0f1f1a;
  --ink-soft: rgba(15, 31, 26, 0.72);
  --ink-faint: rgba(15, 31, 26, 0.48);
  --paper: #f3efe6;
  --paper-2: #e8efe9;
  --white: #ffffff;
  --line: rgba(6, 59, 47, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Instrument Serif", "Noto Serif SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(226, 209, 163, 0.35), transparent 42%),
    radial-gradient(ellipse at 88% 18%, rgba(6, 59, 47, 0.12), transparent 40%),
    linear-gradient(165deg, var(--paper) 0%, var(--paper-2) 52%, #dfe8e3 100%);
  overflow-x: hidden;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.en {
  font-family: var(--font-en);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Grain atmosphere */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Nav */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-nav.is-scrolled {
  background: rgba(243, 239, 230, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  border-radius: 10px;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--forest);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--forest);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--forest);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 36px) 0 64px;
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 40, 32, 0.88) 0%, rgba(6, 59, 47, 0.55) 42%, rgba(4, 40, 32, 0.35) 100%),
    url("../assets/avatar-portrait-brand.jpg") center 18% / cover no-repeat;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 20%, rgba(226, 209, 163, 0.18), transparent 40%),
    linear-gradient(180deg, transparent 55%, rgba(4, 40, 32, 0.55) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  color: var(--white);
  max-width: 560px;
  padding-bottom: 8px;
  position: relative;
  z-index: 3;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0 0 18px;
}

.hero-logo {
  width: clamp(44px, 6vw, 56px);
  height: clamp(44px, 6vw, 56px);
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 12px;
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-brand-text span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-en);
  font-size: 0.42em;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--champagne);
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.hero-desc {
  margin: 0 0 28px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--champagne);
  color: var(--forest-deep);
}

.btn-primary:hover {
  background: var(--champagne-light);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(226, 209, 163, 0.45);
  color: var(--champagne-light);
}

.btn-ghost:hover {
  border-color: var(--champagne);
  color: var(--white);
}

.btn-dark {
  background: var(--forest);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--forest-soft);
}

.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--forest);
}

.btn-line:hover {
  border-color: var(--forest-muted);
  background: rgba(6, 59, 47, 0.04);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* Phone mock */
.phone-wrap {
  justify-self: end;
  position: relative;
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.35));
  z-index: 1;
}

.phone-shell {
  width: 280px;
  height: 580px;
  border-radius: 36px;
  background: #111;
  padding: 8px;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 24px;
  background: #111;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}

.phone-ui {
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 70% 15%, rgba(226, 209, 163, 0.2), transparent 40%),
    linear-gradient(165deg, #0a4d3c 0%, #063b2f 48%, #042820 100%);
  color: #fff;
}

.phone-status {
  height: 36px;
  padding: 10px 16px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
}

.phone-portrait {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.phone-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.phone-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 40, 32, 0.75) 100%);
}

.phone-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 2;
}

.phone-meta h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.phone-meta p {
  margin: 0 0 12px;
  font-size: 11px;
  opacity: 0.75;
}

.phone-cta-row {
  display: flex;
  gap: 8px;
}

.phone-cta-row span {
  flex: 1;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 500;
}

.phone-cta-row span:first-child {
  background: var(--champagne);
  color: var(--forest-deep);
}

.phone-cta-row span:last-child {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(226, 209, 163, 0.35);
}

.phone-caption {
  position: absolute;
  left: -28px;
  bottom: 72px;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.55);
}

/* Sections common */
.section {
  padding: 96px 0;
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-muted);
  font-family: var(--font-en);
}

.section-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.section-desc {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* Services — one job: three business lines */
.services {
  background:
    linear-gradient(180deg, transparent, rgba(232, 240, 237, 0.65) 20%, rgba(232, 240, 237, 0.65) 80%, transparent);
}

.service-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  padding: 36px 28px 40px;
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  transition: background 0.3s ease;
}

.service-item:last-child {
  border-right: none;
}

.service-item:hover {
  background: rgba(6, 59, 47, 0.035);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.service-index {
  font-family: var(--font-en);
  font-size: 48px;
  line-height: 1;
  color: var(--champagne-deep);
  margin: 0;
}

.service-icon {
  width: 40px;
  height: 40px;
  margin: 0;
  color: var(--forest);
  flex-shrink: 0;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-item h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.service-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  flex: 1;
}

.service-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  font-size: 12px;
  color: var(--forest-muted);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
}

/* Method */
.method {
  background: var(--forest-deep);
  color: var(--white);
  overflow: hidden;
}

.method .section-kicker {
  color: var(--champagne);
}

.method .section-title {
  color: var(--white);
}

.method .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.method-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.method-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.method-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(226, 209, 163, 0.18);
}

.method-step:first-child {
  border-top: 1px solid rgba(226, 209, 163, 0.18);
}

.step-num {
  font-family: var(--font-en);
  font-size: 28px;
  color: var(--champagne);
  line-height: 1.2;
}

.method-step h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.method-step p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}

.method-panel {
  position: relative;
  border: 1px solid rgba(226, 209, 163, 0.22);
  border-radius: var(--radius);
  padding: 32px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(226, 209, 163, 0.12), transparent 50%),
    rgba(255, 255, 255, 0.03);
}

.method-panel h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
}

.method-panel > p {
  margin: 0 0 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

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

.capability {
  padding: 16px;
  border-left: 2px solid var(--champagne-deep);
  background: rgba(0, 0, 0, 0.18);
}

.capability strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--champagne-light);
}

.capability span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
}

/* Case */
.case-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.case-visual {
  position: relative;
}

.case-hero-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius);
}

.case-float {
  position: absolute;
  right: -12px;
  bottom: 24px;
  width: min(188px, 46%);
  z-index: 3;
}

.case-phone {
  position: relative;
  border-radius: 22px;
  background: #111;
  padding: 6px;
  box-shadow: 0 18px 36px rgba(6, 59, 47, 0.28);
  border: 1px solid rgba(226, 209, 163, 0.45);
}

.case-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 14px;
  background: #111;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.case-phone-ui {
  position: relative;
  border-radius: 17px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.case-phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 10px 8px;
  background: var(--forest);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.case-phone-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.case-phone-banner {
  margin: 8px 8px 0;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0e6c8 0%, #e2d1a3 100%);
  color: var(--forest-deep);
}

.case-phone-banner p {
  margin: 0 0 4px;
  font-family: var(--font-en);
  font-size: 9px;
  opacity: 0.7;
}

.case-phone-banner strong {
  font-size: 11px;
  line-height: 1.35;
  font-family: var(--font-display);
}

.case-phone-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 8px 0;
  overflow: hidden;
}

.case-phone-tabs span {
  flex-shrink: 0;
  font-size: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--ink-faint);
  background: #f3f4f3;
  border: 1px solid rgba(6, 59, 47, 0.08);
}

.case-phone-tabs span.is-on {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.case-phone-stage {
  margin: 8px 8px 0;
  height: 118px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--forest-deep);
}

.case-phone-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.case-phone-mods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px 8px 0;
}

.case-phone-mods span {
  text-align: center;
  font-size: 8px;
  padding: 6px 2px;
  border-radius: 6px;
  color: var(--forest);
  background: var(--forest-faint);
}

.case-phone-actions {
  margin-top: auto;
  display: flex;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid rgba(6, 59, 47, 0.06);
  background: rgba(255, 255, 255, 0.96);
}

.case-phone-actions span {
  flex: 1;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--forest);
  border: 1px solid rgba(6, 59, 47, 0.12);
}

.case-phone-actions span.is-primary {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.case-float-label {
  margin: 8px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--champagne-light);
  text-shadow: 0 1px 8px rgba(4, 40, 32, 0.55);
}

.case-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.mp-qr-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(240, 230, 200, 0.35), transparent 55%),
    #fff;
}

.mp-qr-frame {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(6, 59, 47, 0.1);
}

.mp-qr-frame > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-qr-avatar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px var(--forest);
}

.mp-qr-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mp-qr-meta strong {
  font-size: 13px;
  color: var(--forest);
  font-weight: 600;
}

.mp-qr-meta span {
  font-size: 11px;
  color: var(--ink-faint);
}

.case-chip {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 8px 12px;
  background: rgba(4, 40, 32, 0.82);
  color: var(--champagne);
  font-size: 12px;
  letter-spacing: 0.08em;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.case-copy h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--forest);
}

.case-role {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--ink-faint);
}

.case-copy > p {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-metrics div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--forest);
  line-height: 1.2;
}

.case-metrics div span {
  font-size: 12px;
  color: var(--ink-faint);
}

.case-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.case-domains span {
  font-size: 12px;
  padding: 7px 11px;
  color: var(--forest-muted);
  background: var(--forest-faint);
  border-radius: 4px;
}

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

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 10px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(transparent, rgba(4, 40, 32, 0.78));
}

/* Trust strip */
.trust {
  padding: 0 0 24px;
}

.trust-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.trust-item {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--forest);
}

.trust-item p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Consult — interactive container allowed */
.consult {
  padding-bottom: 120px;
}

.consult-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.consult-aside {
  padding: 42px 36px;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(226, 209, 163, 0.28), transparent 55%),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: #fff;
}

.consult-aside h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.03em;
}

.consult-aside p {
  margin: 0 0 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.consult-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.consult-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.consult-points li svg {
  width: 18px;
  height: 18px;
  color: var(--champagne);
  margin-top: 2px;
}

.consult-form {
  padding: 42px 36px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #fafaf7;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest-muted);
  background: #fff;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-note {
  font-size: 12px;
  color: var(--ink-faint);
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--forest-faint);
  color: var(--forest);
  font-size: 14px;
}

.form-success.is-visible {
  display: block;
}

.consult-contact {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 36px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(232, 240, 237, 0.85), rgba(255, 255, 255, 0.95));
}

.consult-contact-qr {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
}

.consult-contact-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.consult-contact-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--forest);
  font-weight: 600;
}

.consult-contact-copy p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 560px;
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(226, 209, 163, 0.15);
}

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

.footer-brand .brand-sub {
  color: rgba(226, 209, 163, 0.65);
}

.footer-brand p {
  margin: 16px 0 0;
  max-width: 360px;
  font-size: 13px;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-col h5 {
  margin: 0 0 14px;
  color: var(--champagne);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

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

@keyframes phoneIn {
  from { opacity: 0; transform: rotate(-2.5deg) translateY(36px); }
  to { opacity: 1; transform: rotate(-2.5deg) translateY(0); }
}

.hero-copy {
  animation: heroRise 0.9s var(--ease) 0.1s both;
}

.phone-wrap {
  animation: phoneIn 1.1s var(--ease) 0.28s both;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .phone-wrap {
    justify-self: start;
    margin-left: 8px;
  }
}

@media (max-width: 980px) {
  .method-layout,
  .case-layout,
  .consult-shell {
    grid-template-columns: 1fr;
  }

  .service-rail,
  .trust-rail {
    grid-template-columns: 1fr;
  }

  .service-item,
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .service-item:last-child,
  .trust-item:last-child {
    border-bottom: none;
  }

  .phone-wrap {
    justify-self: center;
    transform: none;
    margin-top: 8px;
  }

  .phone-wrap {
    animation-name: heroRise;
  }

  .phone-caption {
    display: none;
  }

  .case-float {
    right: 10px;
    bottom: 10px;
    width: min(168px, 52%);
  }

  .case-phone-ui {
    min-height: 300px;
  }

  .case-cta-row {
    align-items: flex-start;
  }

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

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 64px;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .site-nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(243, 239, 230, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
  }

  .site-nav.is-open .nav-links a {
    padding: 14px 24px;
  }

  .site-nav.is-open .nav-cta {
    display: inline-flex;
    margin: 8px 24px 0;
  }

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

  .hero {
    align-items: center;
    padding-bottom: 40px;
  }

  .hero-brand {
    font-size: 40px;
  }

  .phone-shell {
    width: 240px;
    height: 500px;
  }

  .section {
    padding: 72px 0;
  }

  .case-metrics,
  .form-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .consult-aside,
  .consult-form {
    padding: 28px 22px;
  }

  .consult-contact {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px;
  }

  .case-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .mp-qr-card {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
