:root {
  --ink: #13201f;
  --muted: #5d6b68;
  --paper: #f7f4ee;
  --panel: #fffdfa;
  --line: #ded7ca;
  --teal: #0d5b59;
  --teal-dark: #073d3c;
  --red: #a93b32;
  --gold: #c9953f;
  --shadow: 0 20px 60px rgba(16, 32, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 253, 250, 0.92);
  border-bottom: 1px solid rgba(222, 215, 202, 0.85);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-size: 22px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: clamp(12px, 2.6vw, 30px);
  color: var(--muted);
  font-size: 15px;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 88px) clamp(90px, 10vw, 132px);
  background: var(--teal-dark);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 27, 26, 0.92) 0%, rgba(9, 48, 47, 0.78) 39%, rgba(9, 48, 47, 0.28) 67%, rgba(7, 27, 26, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 27, 26, 0.62) 0%, rgba(7, 27, 26, 0) 36%);
}

.hero-content {
  position: relative;
  max-width: 680px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 22px 0 0;
  color: #fff1dd;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

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

.button,
.form-actions button,
.form-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--red);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  transform: translateY(-42px);
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto -10px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--line);
}

.trust-strip div {
  min-height: 116px;
  padding: 24px;
  background: var(--panel);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--teal);
  font-size: 20px;
}

.trust-strip span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.intro-text {
  color: var(--muted);
  font-size: 18px;
}

.intro-text p:first-child {
  margin-top: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card-number {
  color: var(--red);
  font-weight: 800;
}

.service-card h3 {
  margin: 42px 0 10px;
  font-size: 22px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.lecture-band {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1160px) / 2));
  background: #eaf0ec;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.timeline article {
  padding: 28px;
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.timeline time {
  color: var(--red);
  font-weight: 800;
}

.timeline h3 {
  margin: 16px 0 8px;
  font-size: 22px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 190px;
  padding: 74px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--gold);
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  font-size: 20px;
}

.steps span {
  margin-top: 8px;
  color: var(--muted);
}

.intake-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(340px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.intake-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(16, 32, 31, 0.07);
}

label {
  display: grid;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 700;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid #cfc8bd;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(13, 91, 89, 0.16);
  border-color: var(--teal);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-actions button {
  color: #fff;
  background: var(--teal);
}

.form-actions button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-actions a {
  color: var(--teal);
  border-color: var(--line);
  background: #fff;
}

.form-status {
  display: none;
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 700;
}

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

.form-status.is-success {
  color: #0f5132;
  background: #e6f4ec;
  border: 1px solid #badbcc;
}

.form-status.is-error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f1aeb5;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--teal-dark);
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 34px;
  padding: clamp(34px, 5vw, 56px) clamp(20px, 6vw, 88px);
  color: #fff;
  background: var(--teal-dark);
}

.contact h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
}

.contact p {
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-actions {
  display: grid;
  gap: 10px;
  min-width: 240px;
}

.phone-link {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

.contact-actions span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  text-align: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(20px, 6vw, 88px);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .trust-strip,
  .service-grid,
  .timeline,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .intake-section,
  .contact {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 27, 26, 0.96) 0%, rgba(9, 48, 47, 0.8) 58%, rgba(9, 48, 47, 0.24) 100%),
      linear-gradient(90deg, rgba(7, 27, 26, 0.78), rgba(7, 27, 26, 0.2));
  }

  .trust-strip,
  .service-grid,
  .timeline,
  .steps,
  .intake-form {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    transform: translateY(-26px);
    margin-bottom: -6px;
  }

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

  .brand small {
    white-space: normal;
  }

  .footer {
    flex-direction: column;
  }
}
