:root {
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #0b1220;
  --muted: #64748b;
  --line: #dbe4ef;
  --green: #1d4ed8;
  --green-deep: #0b1220;
  --green-soft: #eef5ff;
  --gold: #2563eb;
  --gold-soft: #dbeafe;
  --shadow: 0 24px 70px rgba(20, 34, 66, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, var(--max));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(223, 229, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(23, 32, 27, 0.07);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--green-soft);
  color: var(--green-deep);
}

.site-nav .nav-cta {
  margin-left: 4px;
  background: var(--green);
  color: #fff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  background: var(--green-deep);
  color: #fff;
}

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

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

.hero,
.blog-hero,
.blog-layout,
.page-hero,
.contact-layout,
.section,
.site-footer {
  width: min(100% - 40px, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 56px;
  padding: 86px 0 64px;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 42px;
  align-items: center;
  margin-top: 28px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 60px rgba(23, 32, 27, 0.08);
}

.blog-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 76px);
}

.blog-hero-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.sponsor-line {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep) !important;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.expert-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--green-soft), #fff);
}

.expert-card img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center 30%;
}

.expert-card-body {
  padding: 22px;
}

.expert-card-body span,
.expert-card-body strong {
  display: block;
}

.expert-card-body span {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.expert-card-body strong {
  margin-bottom: 10px;
  color: var(--green-deep);
  font-size: 22px;
  line-height: 1.3;
}

.expert-card-body p {
  margin-bottom: 0;
  color: var(--muted);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 46px;
  align-items: start;
  padding: 34px 0 80px;
}

.post-feed {
  border-top: 1px solid var(--line);
}

.feed-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.feed-topline span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-topline a,
.read-more {
  color: var(--green-deep);
  font-weight: 800;
}

.post-preview {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.post-date {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.post-preview h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 42px);
}

.post-preview p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.blog-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.sidebar-card h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.sidebar-card p {
  color: var(--muted);
}

.sidebar-card .button {
  width: 100%;
  margin-top: 8px;
}

.sidebar-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-links a {
  color: var(--green-deep);
  font-weight: 800;
}

.subscribe-card {
  background: var(--green-deep);
  color: #fff;
}

.subscribe-card h2,
.subscribe-card a {
  color: #fff;
}

.subscribe-card p {
  color: #d9e6de;
}

.subscribe-card a {
  font-weight: 900;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.35;
}

.hero-lead,
.page-hero p,
.contact-intro p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badges span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  color: #fff;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
}

.button.primary:hover {
  background: #1e40af;
}

.button.secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--green-deep);
}

.button.light {
  background: #fff;
  color: var(--green-deep);
}

.hero-panel {
  padding: 26px;
  border: 1px solid rgba(223, 229, 223, 0.85);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(230, 240, 234, 0.82), rgba(255, 255, 255, 0.95)),
    #fff;
  box-shadow: var(--shadow);
}

.panel-topline,
.metric-grid,
.signal-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-topline {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.panel-topline strong {
  color: var(--green);
}

.metric-grid {
  margin: 22px 0;
}

.metric-grid div {
  flex: 1;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.metric-grid span,
.signal-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

.growth-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 12px;
  height: 210px;
  padding: 22px;
  border-radius: 8px;
  background: var(--green-deep);
}

.growth-chart span {
  display: block;
  min-height: 28px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #d7b36b, #6ea586);
}

.signal-list {
  margin-top: 20px;
}

.signal-list p {
  justify-content: flex-start;
  margin-bottom: 10px;
  color: var(--muted);
}

.signal-list p span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.section {
  padding: 70px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.strip-item {
  padding: 28px;
  background: var(--paper);
}

.strip-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-deep);
  font-size: 24px;
}

.strip-item span {
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 20px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.problem-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.problem-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green-deep);
  font-size: 19px;
}

.problem-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.card-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.card p,
.service-item p,
.timeline p,
.check-list,
.contact-note,
.service-item li,
.package-card p {
  color: var(--muted);
}

.diagnosis-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.diagnosis-list {
  display: grid;
  gap: 14px;
}

.diagnosis-list p {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  margin: 0;
  color: var(--muted);
}

.diagnosis-list span {
  color: var(--gold);
  font-weight: 800;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 70px;
  padding: 44px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.cta-band h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(26px, 4vw, 40px);
}

.cta-band .eyebrow {
  color: #d8be82;
}

.page-hero {
  padding: 86px 0 46px;
}

.page-hero h1 {
  max-width: 930px;
}

.service-list {
  display: grid;
  gap: 16px;
  padding-top: 20px;
}

.service-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-item span,
.timeline span {
  color: var(--gold);
  font-weight: 800;
}

.service-item h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.service-item ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-item li {
  position: relative;
  padding-left: 22px;
}

.service-item li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.package-section {
  padding-top: 20px;
}

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

.package-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.package-card.featured {
  border-color: rgba(31, 91, 69, 0.45);
  background: linear-gradient(180deg, var(--green-soft), #fff);
}

.package-card span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #80612f;
  font-size: 13px;
  font-weight: 800;
}

.package-card h3 {
  font-size: 23px;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

.lesson-card span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
}

.lesson-card p {
  color: var(--muted);
}

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

.level-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(20, 34, 66, 0.06);
}

.level-card.featured {
  border-color: rgba(37, 99, 235, 0.35);
  background: linear-gradient(180deg, #eef5ff, #fff);
}

.level-card span,
.course-lesson-copy span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.level-card h3 {
  font-size: 28px;
}

.level-card p,
.course-heading p,
.course-lesson-copy p {
  color: var(--muted);
}

.course-directory {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.course-directory strong {
  color: var(--green-deep);
  font-size: 17px;
}

.course-directory a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 7px;
  background: #f8fbff;
  color: #334155;
  font-weight: 800;
}

.course-directory a::after {
  color: var(--green);
  content: "→";
}

.course-directory a:hover {
  background: var(--gold-soft);
  color: var(--green-deep);
}

.course-directory em {
  color: var(--muted);
  font-style: normal;
}

.learning-course {
  padding-top: 30px;
}

.course-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.course-heading div {
  max-width: 760px;
}

.course-lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.course-lesson-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(20, 34, 66, 0.07);
}

.course-lesson-copy {
  min-height: 230px;
  padding: 26px;
}

.course-lesson-copy h3 {
  font-size: 24px;
}

.course-lesson-card a {
  display: block;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #f8fbff;
}

.course-lesson-card img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: left top;
  transition: transform 0.25s ease;
}

.course-lesson-card a:hover img {
  transform: scale(1.025);
}

.course-file-card {
  display: grid !important;
  min-height: 260px;
  place-items: center;
  padding: 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fbff, #eef5ff) !important;
  text-align: center;
}

.course-file-card span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 900;
}

.course-file-card strong {
  display: block;
  color: var(--green-deep);
  font-size: 22px;
}

.course-file-card small {
  color: var(--muted);
  font-size: 14px;
}

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

.timeline article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.timeline h2 {
  margin-top: 34px;
  font-size: 25px;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.about-hero h1 {
  max-width: 920px;
}

.about-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 58px;
  align-items: center;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 86px 0 40px;
}

.about-profile-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.profile-tags span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 800;
}

.profile-photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.profile-photo-card img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 32%;
}

.profile-photo-card div {
  padding: 22px;
}

.profile-photo-card strong,
.profile-photo-card span {
  display: block;
}

.profile-photo-card strong {
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 20px;
}

.profile-photo-card span {
  color: var(--muted);
}

.about-visual {
  padding-top: 20px;
  padding-bottom: 20px;
}

.about-visual img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-section {
  padding-top: 30px;
}

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

.article-card {
  display: block;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 91, 69, 0.45);
  box-shadow: 0 18px 44px rgba(23, 32, 27, 0.08);
}

.article-card span {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #80612f;
  font-size: 13px;
  font-weight: 800;
}

.article-card p {
  color: var(--muted);
}

.article-page {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  padding: 86px 0 96px;
}

.article-page h1 {
  max-width: 860px;
  font-size: clamp(38px, 5vw, 58px);
}

.article-page h2 {
  margin-top: 42px;
  font-size: 30px;
}

.article-page p {
  color: var(--muted);
  font-size: 18px;
}

.article-lead {
  margin-bottom: 42px;
  font-size: 21px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 52px;
  align-items: start;
  padding: 86px 0 80px;
}

.contact-intro {
  position: sticky;
  top: 120px;
}

.contact-note {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note strong {
  margin-bottom: 8px;
  color: var(--green-deep);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row.full,
.form-message,
.form-submit {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfa;
  color: var(--ink);
  font: inherit;
  outline: none;
  padding: 13px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 91, 69, 0.12);
}

.field-error {
  border-color: #b45a4f;
  box-shadow: 0 0 0 4px rgba(180, 90, 79, 0.12);
}

.form-message {
  min-height: 26px;
  margin: 2px 0 0;
  color: #b45a4f;
  font-weight: 700;
}

.form-message.success {
  color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 5px 0 0;
}

.site-footer a {
  color: var(--green-deep);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 28px, var(--max));
    margin-top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero,
  .blog-hero,
  .blog-layout,
  .two-column,
  .split-panel,
  .contact-layout,
  .about-profile {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 58px;
  }

  .blog-sidebar {
    position: static;
  }

  .contact-intro {
    position: static;
  }

  .strip,
  .cards,
  .timeline,
  .problem-grid,
  .package-grid,
  .lesson-grid,
  .level-grid,
  .course-lesson-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .course-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .diagnosis-preview {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .hero,
  .blog-hero,
  .blog-layout,
  .page-hero,
  .about-profile,
  .contact-layout,
  .section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 40px;
  }

  .brand span:last-child {
    max-width: 176px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .metric-grid,
  .site-footer {
    flex-direction: column;
  }

  .metric-grid {
    align-items: stretch;
  }

  .growth-chart {
    height: 170px;
  }

  .blog-hero {
    padding: 28px;
  }

  .expert-card img {
    height: 360px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .cta-band,
  .split-panel,
  .diagnosis-preview {
    padding: 28px;
  }

  .course-lesson-copy {
    min-height: auto;
    padding: 22px;
  }

  .course-lesson-card img {
    height: 360px;
  }

.profile-photo-card img {
    height: 440px;
  }
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.14), transparent 32%),
    linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
}

.admin-shell {
  width: min(100% - 40px, 1100px);
  margin: 0 auto;
  padding: 48px 0;
}

.admin-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.admin-head h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 54px);
}

.admin-head p:not(.eyebrow) {
  color: var(--muted);
}

.admin-message {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff1f2;
  color: #9f1239;
  font-weight: 800;
}

.admin-message.success {
  background: #eff6ff;
  color: var(--green);
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.admin-login {
  max-width: 460px;
}

.admin-form label {
  display: grid;
  gap: 8px;
}

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

.admin-form button {
  align-self: end;
}

.admin-list {
  margin-top: 34px;
}

.admin-list h2 {
  font-size: 30px;
}

.admin-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.admin-section-title h2 {
  margin-bottom: 0;
}

.admin-empty {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
  color: var(--muted);
}

.admin-lead-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.admin-lead-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-lead-table th,
.admin-lead-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-lead-table th {
  background: #f8fbff;
  color: var(--green-deep);
}

.admin-lead-table td {
  color: #334155;
}

.consult-chat {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

.consult-chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 9px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  color: #fff;
  box-shadow: 0 24px 60px rgba(29, 78, 216, 0.32);
  cursor: pointer;
}

.consult-chat-launcher span,
.consult-chat-avatar,
.consult-chat-brand span {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-family: Georgia, serif;
  font-weight: 800;
}

.consult-chat-launcher span {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
}

.consult-chat-launcher strong {
  font-size: 13px;
  letter-spacing: 0.01em;
}

.consult-chat-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  display: none;
  width: min(300px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(219, 228, 239, 0.95);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(7, 17, 31, 0.2);
}

.consult-chat.is-open .consult-chat-panel {
  display: block;
}

.consult-chat.is-open .consult-chat-launcher {
  display: none;
}

.consult-chat.is-expanded .consult-chat-panel {
  width: min(420px, calc(100vw - 28px));
}

.consult-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  color: #fff;
}

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

.consult-chat-brand span {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 16px;
}

.consult-chat-brand strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consult-chat-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.consult-chat-actions button {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.consult-chat-body {
  max-height: 210px;
  padding: 12px 12px 6px;
  overflow-y: auto;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.consult-chat-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.consult-chat-avatar {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  color: #fff;
}

.consult-chat-name {
  margin-bottom: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.consult-chat-name span {
  margin-left: 6px;
  font-weight: 500;
}

.consult-chat-bubble {
  margin: 0;
  padding: 9px 10px;
  border-radius: 4px 12px 12px;
  background: #eef5ff;
  color: #263244;
  font-size: 12px;
  line-height: 1.65;
}

.consult-chat-bubble em {
  color: #1d4ed8;
  font-style: normal;
  font-weight: 800;
}

.consult-chat-form {
  display: grid;
  gap: 7px;
  padding: 10px 12px 12px;
  border-top: 1px solid #dbe4ef;
  background: #fff;
}

.consult-chat-form [name="website_url"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consult-input {
  width: 100%;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #f8fbff;
  color: #0b1220;
  font: inherit;
  font-size: 12px;
  outline: none;
  padding: 8px 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.consult-input:focus {
  border-color: #1d4ed8;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.consult-chat-message {
  min-height: 16px;
  margin: 0;
  color: #dc2626;
  font-size: 12px;
}

.consult-chat-message.success {
  color: #0f766e;
}

.consult-chat-submit {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 9px 14px;
  box-shadow: 0 10px 26px rgba(29, 78, 216, 0.2);
}

.consult-chat-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

@media (max-width: 620px) {
  .consult-chat {
    right: 12px;
    bottom: 12px;
  }

  .consult-chat-panel {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: auto;
    width: min(300px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
  }

  .consult-chat.is-expanded .consult-chat-panel {
    width: min(340px, calc(100vw - 24px));
  }

  .consult-chat-body {
    max-height: min(210px, 36vh);
  }

  .consult-chat-launcher {
    padding: 9px 13px 9px 9px;
  }
}

.admin-level {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
}

.admin-course {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.admin-course > strong {
  font-size: 20px;
}

.admin-lesson {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.admin-lesson img {
  width: 72px;
  height: 54px;
  border-radius: 7px;
  object-fit: cover;
}

.admin-file-preview {
  display: grid;
  width: 72px;
  height: 54px;
  place-items: center;
  border-radius: 7px;
  background: #1d4ed8;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.admin-lesson button {
  border: 0;
  border-radius: 7px;
  background: #e2e8f0;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 9px 12px;
}

@media (max-width: 760px) {
  .admin-head {
    flex-direction: column;
  }

  .admin-form,
  .admin-lesson {
    grid-template-columns: 1fr;
  }

  .admin-lesson img {
    width: 100%;
    height: 160px;
  }

  .admin-file-preview {
    width: 100%;
    height: 120px;
  }
}

/* Google digital agency homepage */
.gd-body {
  background: #f6f8fb;
  color: #0b1220;
}

.gd-body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(42, 111, 255, 0.16), transparent 32%),
    radial-gradient(circle at 78% 8%, rgba(67, 208, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #f9fbff 0%, #f3f6fb 52%, #ffffff 100%);
  content: "";
}

.gd-header,
.gd-main,
.gd-footer {
  width: min(100% - 44px, 1200px);
  margin-right: auto;
  margin-left: auto;
}

.gd-header {
  position: sticky;
  top: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(200, 211, 229, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgba(20, 34, 66, 0.12);
  backdrop-filter: blur(20px);
}

.gd-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0b1220;
  font-weight: 800;
}

.gd-logo span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.gd-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gd-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #526071;
  font-size: 14px;
  font-weight: 800;
}

.gd-nav a:hover {
  background: #eef5ff;
  color: #1d4ed8;
}

.gd-nav .gd-nav-cta {
  padding-right: 18px;
  padding-left: 18px;
  background: #0b1220;
  color: #fff;
}

.gd-menu-button {
  display: none;
}

.gd-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 48px;
  align-items: center;
  padding: 96px 0 68px;
}

.gd-hero-photo-bg {
  min-height: 720px;
  margin-top: 28px;
  padding: 72px;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.9) 0%, rgba(7, 17, 31, 0.72) 42%, rgba(7, 17, 31, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.18), rgba(7, 17, 31, 0.44)),
    url("../images/about-hero.jpg") center 34% / cover no-repeat;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.18);
}

.gd-hero-photo-bg .gd-kicker {
  color: #93c5fd;
}

.gd-hero-photo-bg h1,
.gd-hero-photo-bg .gd-hero-copy > p:not(.gd-kicker) {
  color: #fff;
}

.gd-hero-photo-bg .gd-hero-copy > p:not(.gd-kicker) {
  color: #dbeafe;
}

.gd-hero-photo-bg .gd-trust-row span {
  border-color: rgba(219, 234, 254, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #eaf2ff;
  backdrop-filter: blur(10px);
}

.gd-kicker,
.gd-section-heading p,
.gd-cta p {
  margin-bottom: 14px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gd-hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: #07111f;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1.02;
}

.gd-hero-copy > p:not(.gd-kicker) {
  max-width: 760px;
  color: #536274;
  font-size: 20px;
}

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

.gd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gd-button:hover {
  transform: translateY(-2px);
}

.gd-button-primary {
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  color: #fff;
  box-shadow: 0 22px 42px rgba(37, 99, 235, 0.28);
}

.gd-button-secondary {
  border-color: #cbd5e1;
  background: rgba(255, 255, 255, 0.72);
  color: #0f172a;
}

.gd-button-light {
  background: #fff;
  color: #0b1220;
}

.gd-button-ghost {
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.gd-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.gd-trust-row span {
  padding: 8px 12px;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.gd-dashboard {
  padding: 24px;
  border: 1px solid rgba(196, 210, 230, 0.9);
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(237, 246, 255, 0.78)),
    #fff;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.16);
}

.gd-dashboard-glass {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.82), rgba(239, 246, 255, 0.62)),
    rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
}

.gd-dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dbe4ef;
  color: #64748b;
  font-size: 14px;
}

.gd-dashboard-top strong {
  color: #0ea5e9;
}

.gd-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.gd-metrics div {
  padding: 16px;
  border: 1px solid #dbe4ef;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.gd-metrics span {
  display: block;
  color: #64748b;
  font-size: 12px;
}

.gd-metrics strong {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 28px;
}

.gd-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  height: 210px;
  padding: 20px;
  border-radius: 22px;
  background: #08111f;
}

.gd-chart i {
  display: block;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, #60a5fa, #22d3ee);
}

.gd-insight-list {
  margin-top: 18px;
}

.gd-insight-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #526071;
}

.gd-insight-list span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
}

.gd-section {
  padding: 78px 0;
}

.gd-logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dbe4ef;
  border-radius: 22px;
  background: #dbe4ef;
}

.gd-logo-strip span {
  min-height: 84px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.gd-section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.gd-section-heading h2,
.gd-cta h2 {
  margin-bottom: 16px;
  color: #07111f;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.gd-section-heading span,
.gd-cta span {
  display: block;
  color: #64748b;
  font-size: 18px;
}

.gd-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gd-service-card,
.gd-advantage-grid div,
.gd-case-grid article,
.gd-trust-grid article {
  border: 1px solid #dbe4ef;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.gd-service-card {
  min-height: 260px;
  padding: 28px;
}

.gd-service-card span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.gd-service-card h3,
.gd-trust-grid h3 {
  margin: 28px 0 12px;
  color: #0f172a;
  font-size: 24px;
}

.gd-service-card p,
.gd-advantage-grid span,
.gd-trust-grid p,
.gd-process p,
.gd-disclaimer {
  color: #64748b;
}

.gd-advantage {
  padding: 54px;
  border-radius: 32px;
  background: #0b1220;
}

.gd-advantage .gd-section-heading h2 {
  color: #fff;
}

.gd-advantage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.gd-advantage-grid div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.gd-advantage-grid strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 18px;
}

.gd-advantage-grid span {
  font-size: 14px;
}

.gd-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gd-case-grid article {
  padding: 30px;
}

.gd-case-grid span {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.gd-case-grid strong {
  display: block;
  margin: 18px 0 6px;
  color: #1d4ed8;
  font-size: 56px;
  line-height: 1;
}

.gd-case-grid p {
  color: #0f172a;
  font-weight: 900;
}

.gd-disclaimer {
  margin-top: 18px;
  font-size: 13px;
}

.gd-process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.gd-process div {
  padding: 22px;
  border-top: 2px solid #2563eb;
  background: #fff;
}

.gd-process span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.gd-process strong {
  display: block;
  margin: 18px 0 8px;
  color: #0f172a;
  font-size: 22px;
}

.gd-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gd-trust-grid article {
  padding: 28px;
}

.gd-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin: 72px 0;
  padding: 56px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 10%, rgba(34, 211, 238, 0.28), transparent 32%),
    linear-gradient(135deg, #0b1220, #1d4ed8);
  color: #fff;
}

.gd-cta h2,
.gd-cta span {
  color: #fff;
}

.gd-cta p {
  color: #93c5fd;
}

.gd-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 0 56px;
  border-top: 1px solid #dbe4ef;
}

.gd-footer strong {
  color: #0f172a;
}

.gd-footer p,
.gd-footer a {
  color: #64748b;
}

.gd-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Troy-style hero template for the agency homepage */
.th-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 0 9vw;
  background: rgba(7, 17, 31, 0.9);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(18px);
}

.th-brand {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.th-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.th-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 900;
}

.th-nav a:hover {
  color: #fff;
}

.th-social {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.th-social a {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.th-social a:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 32px rgba(2, 6, 23, 0.24);
  transform: translateY(-2px);
}

.th-social a.is-disabled {
  cursor: default;
  opacity: 0.46;
  pointer-events: auto;
}

.th-menu {
  display: none;
}

.th-sponsor {
  position: fixed;
  top: 58px;
  right: 0;
  left: 0;
  z-index: 45;
  min-height: 48px;
  padding: 13px 12vw;
  background: linear-gradient(90deg, #1d4ed8, #0ea5e9);
  color: #eff6ff;
  font-size: 15px;
  line-height: 1.45;
}

.th-sponsor a {
  color: #ffffff;
  font-weight: 900;
}

.th-hero {
  position: relative;
  display: grid;
  min-height: 480px;
  place-items: center;
  padding: 120px 22px 48px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.64), rgba(15, 23, 42, 0.22), rgba(7, 17, 31, 0.58)),
    linear-gradient(180deg, rgba(29, 78, 216, 0.06), rgba(7, 17, 31, 0.64)),
    url("../images/about-hero.jpg") 50% 74px / cover no-repeat;
}

.th-hero-content {
  width: min(100%, 1320px);
  padding-top: clamp(86px, 8.6vw, 116px);
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.42);
  transform: translateX(clamp(-82px, -3.6vw, -48px));
}

.th-hero-content p {
  margin: clamp(34px, 4vw, 54px) 0 0;
  color: #93c5fd;
  font-size: clamp(12px, 1.25vw, 16px);
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.th-hero-content h1 {
  max-width: none;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(78px, 7vw, 118px);
  font-weight: 500;
  line-height: 1.08;
}

.th-split-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.th-split-title span {
  display: inline-block;
  width: min(52vw, 760px);
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 18px rgba(0, 0, 0, 0.45));
  text-align: center;
}

.th-split-title span:first-child {
  letter-spacing: 0.08em;
  text-indent: 0.08em;
  transform: none;
}

.th-split-title span:nth-child(2) {
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}

.th-hero-content h2 {
  max-width: 920px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.45;
}

.th-hero-content h2 a {
  color: #60a5fa;
  font-weight: 900;
}

.gd-contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: end;
  padding: 92px 0 48px;
}

.gd-contact-hero h1 {
  max-width: 860px;
  margin-bottom: 22px;
  color: #07111f;
  font-size: clamp(44px, 7vw, 74px);
  line-height: 1.04;
}

.gd-contact-hero p {
  max-width: 760px;
  color: #536274;
  font-size: 20px;
}

.gd-contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.gd-contact-points span {
  padding: 8px 12px;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.gd-contact-note,
.gd-contact-side div {
  border: 1px solid #dbe4ef;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.gd-contact-note {
  padding: 26px;
}

.gd-contact-note strong {
  display: block;
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 22px;
}

.gd-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  padding-bottom: 80px;
}

.gd-contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 30px;
  border: 1px solid #dbe4ef;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.12);
}

.gd-contact-form label {
  color: #0f172a;
}

.gd-contact-form input,
.gd-contact-form select,
.gd-contact-form textarea {
  border-color: #dbe4ef;
  background: #f8fbff;
}

.gd-contact-side {
  display: grid;
  gap: 14px;
}

.gd-contact-side div {
  padding: 24px;
}

.gd-contact-side span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.gd-contact-side strong {
  display: block;
  margin: 18px 0 8px;
  color: #0f172a;
  font-size: 21px;
}

.gd-contact-side p,
.gd-contact-note p {
  color: #64748b;
}

@media (max-width: 980px) {
  .th-header {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .th-menu {
    display: block;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
  }

  .th-menu span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
  }

  .th-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(13, 13, 15, 0.94);
  }

  .th-nav.open {
    display: flex;
  }

  .th-nav a {
    padding: 12px 14px;
  }

  .th-social {
    display: none;
  }

  .th-sponsor {
    padding: 12px 18px;
    font-size: 13px;
  }

  .th-hero {
    min-height: 510px;
    padding: 140px 22px 42px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.18) 0%, rgba(7, 17, 31, 0.22) 34%, rgba(7, 17, 31, 0.84) 78%),
      url("../images/about-hero.jpg") 50% 88px / cover no-repeat;
  }

  .th-hero-content {
    width: min(100%, 980px);
    padding-top: 128px;
    transform: translateX(clamp(-46px, -3vw, -24px));
  }

  .th-hero-content h2 {
    max-width: 760px;
  }

  .th-split-title {
    gap: clamp(12px, 2vw, 22px);
  }

  .gd-header {
    top: 10px;
  }

  .gd-menu-button {
    display: block;
    width: 42px;
    height: 42px;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    background: #fff;
  }

  .gd-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: #0b1220;
  }

  .gd-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid #dbe4ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(20, 34, 66, 0.12);
  }

  .gd-nav.open {
    display: flex;
  }

  .gd-hero,
  .gd-contact-hero,
  .gd-contact-layout,
  .gd-service-grid,
  .gd-advantage-grid,
  .gd-case-grid,
  .gd-process,
  .gd-trust-grid {
    grid-template-columns: 1fr;
  }

  .gd-logo-strip {
    grid-template-columns: 1fr 1fr;
  }

  .gd-cta,
  .gd-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .th-header {
    min-height: 56px;
  }

  .th-brand {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .th-sponsor {
    top: 56px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .th-hero {
    min-height: 520px;
    padding: 128px 16px 34px;
    place-items: end center;
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.08) 0%, rgba(7, 17, 31, 0.18) 34%, rgba(7, 17, 31, 0.9) 74%),
      url("../images/about-hero.jpg") 50% 116px / auto 58% no-repeat,
      #07111f;
  }

  .th-hero-content {
    width: 100%;
    padding-top: 232px;
    text-align: center;
    transform: translateX(-10px);
  }

  .th-hero-content p {
    margin-top: 18px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .th-hero-content h1 {
    margin-bottom: 14px;
    font-size: clamp(36px, 10vw, 52px);
  }

  .th-split-title {
    flex-direction: column;
    gap: 8px;
    white-space: nowrap;
  }

  .th-split-title span {
    width: auto;
  }

  .th-split-title span:first-child {
    letter-spacing: 0.06em;
    text-indent: 0.06em;
    transform: none;
  }

  .th-split-title span:nth-child(2) {
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }

  .th-hero-content h2 {
    font-size: 20px;
    line-height: 1.45;
  }

  .gd-header,
  .gd-main,
  .gd-footer {
    width: min(100% - 28px, 1200px);
  }

  .gd-logo strong {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gd-hero {
    padding-top: 62px;
  }

  .gd-contact-hero {
    padding-top: 62px;
  }

  .gd-hero h1 {
    font-size: 43px;
  }

  .gd-hero-photo-bg {
    min-height: auto;
    padding: 28px;
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.88) 0%, rgba(7, 17, 31, 0.72) 54%, rgba(7, 17, 31, 0.42) 100%),
      url("../images/about-hero.jpg") center top / cover no-repeat;
  }

  .gd-contact-hero h1 {
    font-size: 40px;
  }

  .gd-metrics,
  .gd-logo-strip {
    grid-template-columns: 1fr;
  }

  .gd-advantage,
  .gd-cta {
    padding: 28px;
  }

  .gd-contact-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}
