:root {
  --ink: #211812;
  --muted: #71675d;
  --paper: #fbf7ef;
  --panel: #ffffff;
  --line: #eadfce;
  --teal: #b84718;
  --teal-dark: #6f240f;
  --amber: #d69b10;
  --purple: #b84718;
  --shadow: 0 20px 60px rgba(55, 34, 18, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 227, 222, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.proof-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 180px;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  color: #211812;
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  color: #8a4a12;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.nav {
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

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

.nav a.active {
  color: var(--teal-dark);
  font-weight: 900;
}

.header-action {
  padding: 10px 16px;
  color: #fff;
  background: var(--teal);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.phone-link {
  padding: 9px 0;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  background: #f5ead8;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.language-switch button {
  min-width: 44px;
  min-height: 32px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.active {
  color: #fff;
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.84) 44%, rgba(255,255,255,0.18) 80%),
    linear-gradient(0deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0) 34%);
}

.hero-content {
  position: relative;
  max-width: 780px;
  padding: 9vh 5vw 12vh;
}

.authority-home {
  min-height: calc(100vh - 72px);
}

.authority-home .hero-overlay {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 48%, rgba(255,255,255,0.3) 100%),
    linear-gradient(0deg, rgba(255,255,255,0.84) 0%, rgba(255,255,255,0) 36%);
}

.authority-home .hero-content {
  max-width: 860px;
}

.authority-home h1 {
  max-width: 820px;
  font-size: clamp(44px, 5.2vw, 76px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  font-weight: 900;
}

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

.button.secondary {
  color: var(--teal-dark);
  background: rgba(255,255,255,0.75);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.proof-row div {
  padding: 28px 5vw;
  border-right: 1px solid var(--line);
}

.proof-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 22px;
}

.proof-row span,
.section-heading p:not(.eyebrow),
.split p,
.contact-copy p {
  color: var(--muted);
}

.section,
.band,
.resources,
.contact {
  padding: 88px 5vw;
}

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

.section-heading p:not(.eyebrow),
.split p,
.contact-copy p {
  font-size: 18px;
}

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

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

.service-card b {
  color: var(--amber);
  font-weight: 900;
}

.service-card p,
.qualification-grid p,
.timeline p {
  color: var(--muted);
}

.band {
  color: #fff;
  background: #30180f;
}

.band .section-heading p:not(.eyebrow),
.qualification-grid p {
  color: rgba(255,255,255,0.72);
}

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

.qualification-grid div,
.qualification-grid a {
  padding: 28px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
}

.qualification-grid span,
.timeline span {
  color: var(--amber);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline div {
  padding: 22px 0 20px 26px;
  border-left: 2px solid rgba(184, 71, 24, 0.26);
}

.resources {
  background: #f5ead8;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.resource-list p {
  min-height: 110px;
  margin: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  gap: 56px;
  color: #fff;
  background: var(--teal-dark);
}

.contact-copy p,
.contact .eyebrow {
  color: rgba(255,255,255,0.78);
}

.contact-phone {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.contact-phone a {
  color: #fff;
}

.contact-visual {
  margin: 28px 0 0;
}

.contact-visual img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.18);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2f3832;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  resize: vertical;
}

.contact-form button {
  min-height: 48px;
  color: #fff;
  background: var(--purple);
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px 5vw;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 900;
}

.compact-section {
  padding-top: 36px;
  padding-bottom: 36px;
  background: #fff;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-links a {
  min-height: 118px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-links span,
.category-list span,
.process-steps span,
.deliverables span {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.quick-links strong {
  display: block;
  font-size: 22px;
  line-height: 1.25;
}

.directory-section {
  background: #f5ead8;
}

.directory-grid,
.hot-grid,
.scenario-grid,
.trust-grid,
.industry-grid {
  display: grid;
  gap: 18px;
}

.directory-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.directory-grid a,
.hot-card,
.scenario-grid div,
.trust-grid a,
.industry-grid div {
  min-height: 210px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.directory-grid span,
.hot-card span,
.scenario-grid span,
.trust-grid span,
.industry-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.directory-grid p,
.hot-card p,
.scenario-grid p,
.trust-grid p,
.industry-grid p {
  color: var(--muted);
}

.hot-grid,
.scenario-grid,
.industry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-section {
  background: #fff;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid a {
  min-height: 190px;
  background: var(--paper);
}

.verification-grid article {
  min-height: 210px;
}

.page-hero {
  display: grid;
  align-items: center;
  min-height: 430px;
  padding: 88px 5vw;
  background:
    linear-gradient(90deg, rgba(247,246,241,0.98), rgba(247,246,241,0.82)),
    url("assets/iso-consulting-hero.png") center/cover;
}

.page-hero > div {
  max-width: 860px;
}

.split-hero {
  min-height: 520px;
  padding: 88px 5vw 82px;
}

.page-hero-inner {
  width: 100%;
  max-width: 1180px;
  min-width: 0;
}

.split-hero .page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.page-hero-copy {
  max-width: 720px;
  min-width: 0;
}

.split-hero h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(46px, 4.7vw, 64px);
  line-height: 1.12;
  word-break: normal;
  overflow-wrap: break-word;
}

.split-hero h1 span {
  display: block;
}

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

.split-hero p:not(.eyebrow) {
  max-width: 690px;
  font-size: 18px;
  overflow-wrap: break-word;
}

.hero-summary {
  display: grid;
  gap: 8px;
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(234, 223, 206, 0.85);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(55, 34, 18, 0.12);
  backdrop-filter: blur(16px);
}

.hero-summary span {
  margin-top: 12px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.hero-summary span:first-child {
  margin-top: 0;
}

.hero-summary strong {
  font-size: 20px;
  line-height: 1.25;
}

.hero-summary p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.service-hero {
  background:
    linear-gradient(90deg, rgba(247,246,241,0.97) 0%, rgba(247,246,241,0.9) 48%, rgba(247,246,241,0.58) 100%),
    url("assets/iso-consulting-hero.png") center/cover;
}

.dark-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(48,24,15,0.97) 0%, rgba(48,24,15,0.86) 54%, rgba(48,24,15,0.58) 100%),
    url("assets/iso-consulting-hero.png") center/cover;
}

.dark-hero p:not(.eyebrow) {
  color: rgba(255,255,255,0.76);
}

.dark-hero .hero-summary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.dark-hero .hero-summary p {
  color: rgba(255, 255, 255, 0.74);
}

.brand-hero,
.product-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97), rgba(255,255,255,0.82)),
    url("assets/iso-consulting-hero.png") center/cover;
}

.company-title {
  max-width: 980px;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1.12;
  word-break: keep-all;
  overflow-wrap: normal;
}

.page-section {
  padding: 88px 5vw;
}

.muted-section {
  background: #f5ead8;
}

.detail-grid,
.category-list,
.resource-columns,
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-card,
.category-list article,
.category-list a,
.resource-columns article,
.advantage-grid div,
.plain-panel {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(55, 34, 18, 0.08);
}

.detail-card b {
  color: var(--amber);
}

.product-card {
  position: relative;
  display: block;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 71, 24, 0.45);
  box-shadow: 0 22px 58px rgba(55, 34, 18, 0.13);
}

.product-card::after {
  content: "View details";
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.product-card em,
.en-copy {
  display: block;
  color: #748078;
  font-style: normal;
}

.product-card em {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
}

.en-copy {
  display: none;
  margin-top: 8px;
  font-size: 15px;
}

.lang-en .product-card p {
  display: none;
}

.detail-card p,
.category-list p,
.resource-columns p,
.advantage-grid p,
.plain-panel p,
.process-steps p,
.timeline-wide span,
.comparison p,
.deliverables p,
.faq-list p {
  color: var(--muted);
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.deliverables div {
  min-height: 190px;
  padding: 26px;
  background: #fff;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: start;
}

.plain-panel p {
  margin-bottom: 10px;
}

.logo-panel img {
  width: min(100%, 390px);
  height: auto;
  margin-bottom: 24px;
}

.process-steps {
  display: grid;
  gap: 22px;
}

.process-steps article {
  display: grid;
  grid-template-columns: 76px minmax(0, 0.36fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.process-steps h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.comparison,
.timeline-wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comparison div,
.timeline-wide div {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-wide b,
.timeline-wide span {
  display: block;
}

.timeline-wide b {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 20px;
}

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

.faq-list details {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 14px 0 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.product-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 8px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-sidebar h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.product-sidebar a {
  padding: 10px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

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

.product-content {
  display: grid;
  gap: 56px;
}

.product-block {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bullet-grid div {
  min-height: 116px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bullet-grid span {
  color: #2f3832;
  font-weight: 800;
}

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

.step-list div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-list b {
  color: var(--amber);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 56px 5vw;
  color: #fff;
  background: var(--teal-dark);
}

.cta-band h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 40px);
}

.cta-band p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.76);
}

.cta-band .button.primary {
  flex: 0 0 auto;
  background: var(--amber);
  border-color: var(--amber);
}

.portal-site {
  --ink: #17202b;
  --muted: #627084;
  --paper: #f3f5f8;
  --line: #d8dee8;
  --teal: #2f5f8f;
  --teal-dark: #17202b;
  --amber: #c78b22;
  --purple: #2f5f8f;
  --shadow: 0 18px 46px rgba(23, 32, 43, 0.12);
  background: var(--paper);
}

.portal-site .site-header {
  min-height: 78px;
  color: #fff;
  background: #17202b;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.portal-site .brand {
  min-width: 220px;
}

.portal-site .brand img {
  width: 48px;
  height: 48px;
  padding: 4px;
  background: #fff;
  border-radius: 6px;
}

.portal-site .brand strong,
.portal-site .brand small,
.portal-site .nav,
.portal-site .phone-link {
  color: #fff;
}

.portal-site .brand small,
.portal-site .phone-link {
  opacity: 0.78;
}

.portal-site .nav {
  gap: 18px;
  font-size: 14px;
}

.portal-site .nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.portal-site .nav a:hover,
.portal-site .nav a.active {
  color: #fff;
  border-bottom-color: var(--amber);
}

.portal-site .header-action {
  color: #17202b;
  background: #fff;
}

.portal-site .language-switch {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
}

.portal-site .language-switch button {
  color: rgba(255,255,255,0.72);
}

.portal-site .language-switch button.active {
  color: #17202b;
  background: #fff;
}

.portal-site .portal-hero {
  min-height: 680px;
  background:
    linear-gradient(135deg, rgba(23,32,43,0.98) 0%, rgba(23,32,43,0.92) 52%, rgba(47,95,143,0.72) 100%),
    url("assets/iso-consulting-hero.png") center/cover;
}

.portal-site .portal-hero .hero-media,
.portal-site .portal-hero .hero-overlay {
  display: none;
}

.portal-site .portal-hero .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  max-width: none;
  width: 100%;
  padding: 92px 5vw;
  color: #fff;
}

.portal-site .portal-hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 5vw, 70px);
}

.portal-site .portal-hero .hero-text {
  max-width: 660px;
  color: rgba(255,255,255,0.76);
}

.portal-site .portal-finder {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.22);
}

.portal-site .portal-finder a {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 4px 18px;
  min-height: 96px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.portal-site .portal-finder span {
  grid-row: span 2;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.portal-site .portal-finder strong {
  font-size: 22px;
  line-height: 1.2;
}

.portal-site .portal-finder small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.portal-site .proof-row {
  background: #17202b;
  border-color: rgba(255,255,255,0.12);
}

.portal-site .proof-row div {
  border-color: rgba(255,255,255,0.12);
}

.portal-site .proof-row strong {
  color: #fff;
}

.portal-site .proof-row span {
  color: rgba(255,255,255,0.68);
}

.portal-site .trust-section {
  background: #fff;
}

.portal-site .quick-links,
.portal-site .directory-grid,
.portal-site .trust-grid,
.portal-site .industry-grid,
.portal-site .hot-grid,
.portal-site .scenario-grid {
  gap: 12px;
}

.portal-site .directory-grid a,
.portal-site .trust-grid a,
.portal-site .industry-grid div,
.portal-site .hot-card,
.portal-site .scenario-grid div,
.portal-site .quick-links a {
  border-radius: 4px;
  box-shadow: none;
}

.portal-site .directory-section,
.portal-site .muted-section,
.portal-site .resources {
  background: #eef2f6;
}

.portal-site .band,
.portal-site .contact,
.portal-site .cta-band {
  background: #17202b;
}

.portal-site .button.primary,
.portal-site .contact-form button {
  background: #2f5f8f;
  border-color: #2f5f8f;
}

.portal-site .button.secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,0.42);
}

@media (max-width: 1080px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 14px;
  }

  .nav a {
    white-space: nowrap;
  }

  .service-grid,
  .qualification-grid,
  .resource-list,
  .quick-links,
  .directory-grid,
  .hot-grid,
  .scenario-grid,
  .trust-grid,
  .industry-grid,
  .detail-grid,
  .category-list,
  .resource-columns,
  .advantage-grid,
  .deliverables,
  .timeline-wide,
  .bullet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact,
  .two-column,
  .product-layout,
  .split-hero .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .split-hero h1 {
    max-width: 760px;
  }

  .product-sidebar {
    position: static;
  }

  .process-steps article {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .process-steps article p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

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

  .header-action {
    display: none;
  }

  .phone-link {
    order: 2;
    width: 100%;
    margin-left: 0;
    padding: 0;
    font-size: 12px;
  }

  .nav {
    order: 4;
    gap: 16px;
  }

  .language-switch {
    order: 3;
  }

  .hero {
    min-height: calc(100vh - 64px);
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 62%, rgba(255,255,255,0.34) 100%);
  }

  .hero-content {
    padding: 8vh 22px 12vh 18px;
    max-width: 100%;
    overflow: hidden;
  }

  h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.16;
    word-break: break-all;
  }

  .authority-home h1 {
    width: min(300px, calc(100vw - 48px));
    max-width: min(300px, calc(100vw - 48px));
    font-size: 28px;
    line-height: 1.14;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .company-title {
    font-size: 34px;
    line-height: 1.18;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-text {
    font-size: 17px;
    word-break: break-all;
  }

  .button {
    width: 100%;
  }

  .proof-row,
  .service-grid,
  .qualification-grid,
  .resource-list,
  .quick-links,
  .directory-grid,
  .hot-grid,
  .scenario-grid,
  .trust-grid,
  .industry-grid,
  .detail-grid,
  .category-list,
  .resource-columns,
  .advantage-grid,
  .deliverables,
  .comparison,
  .timeline-wide,
  .bullet-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .band,
  .resources,
  .contact,
  .page-section,
  .page-hero {
    padding: 64px 18px;
  }

  .page-hero {
    min-height: 360px;
  }

  .split-hero {
    min-height: auto;
  }

  .split-hero h1 {
    font-size: 34px;
    line-height: 1.18;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .split-hero .page-hero-inner {
    gap: 28px;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .page-hero-copy,
  .split-hero p:not(.eyebrow) {
    max-width: calc(100vw - 36px);
    word-break: break-all;
  }

  .hero-summary {
    width: 100%;
    padding: 22px;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .quick-links a {
    min-height: auto;
  }

  .quick-links strong {
    font-size: 20px;
  }

  .process-steps article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .process-steps article p {
    grid-column: auto;
  }

  .process-steps h2 {
    font-size: 25px;
  }

  .step-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cta-band {
    align-items: stretch;
    flex-direction: column;
    padding: 48px 18px;
  }

  .proof-row div {
    padding: 24px 18px;
  }

  .contact-form {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (max-width: 1080px) {
  .portal-site .site-header {
    align-items: flex-start;
    background: #17202b;
  }

  .portal-site .nav {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 8px;
  }

  .portal-site .portal-hero .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .portal-site .site-header {
    padding: 12px 18px;
  }

  .portal-site .brand {
    min-width: 0;
  }

  .portal-site .brand img {
    width: 40px;
    height: 40px;
  }

  .portal-site .portal-hero {
    min-height: auto;
  }

  .portal-site .portal-hero .hero-content {
    width: 100%;
    padding: 56px 18px 62px;
  }

  .portal-site .portal-hero h1 {
    width: min(310px, calc(100vw - 48px));
    max-width: min(310px, calc(100vw - 48px));
    font-size: 32px;
    line-height: 1.14;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .portal-site .portal-hero .hero-text {
    max-width: 100%;
    font-size: 16px;
    word-break: normal;
  }

  .portal-site .portal-finder {
    width: 100%;
    max-width: calc(100vw - 36px);
    padding: 14px;
  }

  .portal-site .portal-finder a {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 8px;
    padding: 16px;
  }

  .portal-site .portal-finder strong {
    font-size: 20px;
  }
}
