/*
Theme Name: PAMC Approachable Authority
Theme URI: https://pinnacle-amc.co.th/
Author: CM Website
Author URI: https://www.cmwebsite.com/
Description: Custom English corporate theme for Pinnacle Asset Management Co., Ltd.
Version: 1.2.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: pamc
*/

:root {
  --navy: #0b1f3a;
  --navy-mid: #0c3152;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-pale: #e8f4f3;
  --white: #ffffff;
  --mist: #f8fafc;
  --slate: #94a3b8;
  --ink: #334155;
  --line: #dce6ec;
  --amber: #f59e0b;
  --heading: Calibri, Candara, "Segoe UI", sans-serif;
  --body: "Trebuchet MS", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: var(--body);
}

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

h1,
h2,
h3,
h4 {
  color: var(--navy);
  font-family: var(--heading);
  line-height: 1.08;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--white);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.admin-bar .site-header {
  top: 32px;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo-link img {
  width: 42px;
  height: 52px;
  object-fit: contain;
}

.primary-nav .menu {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav .menu > li {
  display: flex;
  align-items: center;
  height: 100%;
}

.primary-nav .menu > li > a {
  position: relative;
  color: #b9c7d7;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.primary-nav .menu > li > a::after {
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--teal-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.primary-nav .menu > li > a:hover,
.primary-nav .menu > li.current-menu-item > a,
.primary-nav .menu > li.current_page_item > a {
  color: var(--white);
}

.primary-nav .menu > li > a:hover::after,
.primary-nav .menu > li.current-menu-item > a::after,
.primary-nav .menu > li.current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  background: rgba(11, 31, 58, 0.98);
  border-bottom: 1px solid rgba(20, 184, 166, 0.45);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

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

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  color: var(--white);
  font-family: var(--heading);
  font-size: 18px;
  letter-spacing: 0.13em;
}

.brand-copy small {
  margin-top: 7px;
  color: var(--teal-light);
  font-size: 9px;
  letter-spacing: 0.26em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  height: 100%;
}

.primary-nav > a:not(.header-cta) {
  position: relative;
  color: #b9c7d7;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.primary-nav > a:not(.header-cta)::after {
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--teal-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.primary-nav > a:hover,
.primary-nav > a.active {
  color: var(--white);
}

.primary-nav > a:hover::after,
.primary-nav > a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 20px;
  color: #8fa4ba;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.language-switch span {
  color: var(--teal-light);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 43px;
  padding: 0 18px;
  background: var(--teal);
  color: var(--white);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0b2b49 56%, #0b3755 100%);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 19, 37, 0.14), transparent 60%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, 0.62fr);
  gap: 105px;
  align-items: center;
  min-height: 596px;
  padding-block: 86px 104px;
}

.eyebrow {
  margin-bottom: 19px;
  color: var(--teal-light);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.23em;
  line-height: 1.4;
}

.hero h1 {
  max-width: 740px;
  margin-bottom: 24px;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(55px, 5.4vw, 78px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero h1 span {
  color: var(--teal-light);
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 35px;
  color: #b7c7d8;
  font-size: 18px;
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 51px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  color: var(--white);
}

.button-ghost {
  border-color: rgba(20, 184, 166, 0.8);
  color: var(--teal-light);
}

.button-ghost:hover {
  background: rgba(13, 148, 136, 0.12);
}

.hero-trust-card {
  position: relative;
  padding: 8px 30px 0;
  border-left: 1px solid rgba(20, 184, 166, 0.5);
}

.trust-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--teal-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--teal-light);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.12);
}

.trust-stat {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: center;
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.trust-stat strong {
  color: var(--white);
  font-family: var(--heading);
  font-size: 35px;
  line-height: 1;
}

.trust-stat span {
  color: #aebfd0;
  font-size: 14px;
  line-height: 1.5;
}

.trust-link {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--teal-light);
  font-size: 14px;
  font-weight: 700;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  right: -110px;
  top: -190px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(20, 184, 166, 0.11);
}

.hero-orbit-two {
  right: 30px;
  top: 140px;
  width: 350px;
  height: 350px;
  background: rgba(20, 184, 166, 0.055);
}

.hero-grid {
  position: absolute;
  right: 155px;
  top: 115px;
  width: 280px;
  height: 210px;
  opacity: 0.32;
  background-image: radial-gradient(var(--teal-light) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.credibility-strip {
  position: relative;
  z-index: 3;
  background: var(--teal-pale);
  color: var(--navy);
  border-top: 1px solid rgba(13, 148, 136, 0.45);
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 94px;
  align-items: center;
}

.credibility-grid > div {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 40px;
  padding-inline: 26px;
  border-right: 1px solid rgba(13, 148, 136, 0.18);
}

.credibility-grid > div:first-child {
  padding-left: 0;
}

.credibility-grid > div:last-child {
  border-right: 0;
}

.credibility-grid span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.credibility-grid strong {
  font-size: 15px;
}

.section {
  padding-block: 108px;
}

.section-white {
  background: var(--white);
}

.section-mist {
  background: var(--mist);
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 110px;
  align-items: start;
}

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

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.intro-copy p {
  margin-bottom: 20px;
  color: #526579;
  font-size: 18px;
  line-height: 1.86;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  margin-top: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--teal);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.arrow-link span {
  color: var(--teal);
  transition: transform 0.2s ease;
}

.arrow-link:hover span {
  transform: translateX(4px);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 52px;
}

.section-aside {
  max-width: 390px;
  margin-bottom: 5px;
  color: #66788a;
  font-size: 16px;
  line-height: 1.75;
}

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

.service-card {
  position: relative;
  min-height: 320px;
  padding: 32px 27px 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.08);
}

.service-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 36px;
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 25px;
}

.service-card p {
  color: #687a8b;
  font-size: 15px;
  line-height: 1.7;
}

.service-card > a {
  position: absolute;
  right: 22px;
  bottom: 21px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 50%;
  font-size: 18px;
}

.principle-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.principle-section::before {
  position: absolute;
  left: -190px;
  top: -300px;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(20, 184, 166, 0.13);
  border-radius: 50%;
}

.principle-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 105px;
  align-items: center;
}

.quote-mark {
  height: 58px;
  margin-bottom: 0;
  color: var(--teal-light);
  font-family: Georgia, serif;
  font-size: 104px;
  line-height: 0.9;
}

blockquote {
  max-width: 740px;
  margin: 0;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(35px, 4vw, 53px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.principle-panel {
  padding: 38px 35px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(20, 184, 166, 0.32);
}

.principle-panel > span {
  color: var(--teal-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.principle-panel h2 {
  margin-block: 18px;
  color: var(--white);
  font-size: 29px;
}

.principle-panel p {
  color: #aebfd0;
  font-size: 16px;
  line-height: 1.78;
}

.principle-panel .arrow-link {
  color: var(--white);
}

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

.news-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(11, 31, 58, 0.08);
}

.news-visual {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 185px;
  padding: 22px;
  overflow: hidden;
  background: var(--navy-mid);
}

.news-visual::before,
.news-visual::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.news-visual::before {
  right: -45px;
  top: -70px;
  width: 245px;
  height: 245px;
  border: 44px solid rgba(20, 184, 166, 0.18);
}

.news-visual::after {
  left: 40px;
  top: 52px;
  width: 78px;
  height: 78px;
  background: rgba(20, 184, 166, 0.15);
  box-shadow: 70px 25px 0 rgba(255, 255, 255, 0.04), 145px -23px 0 rgba(20, 184, 166, 0.12);
}

.news-visual-2 {
  background: linear-gradient(135deg, #16415c, #0d9488);
}

.news-visual-3 {
  background: linear-gradient(135deg, #0b1f3a, #174b62);
}

.news-visual span {
  position: relative;
  z-index: 2;
  padding: 5px 10px;
  background: var(--white);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.news-body {
  padding: 26px 27px 28px;
}

.news-body time {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.news-body h3 {
  min-height: 52px;
  margin-block: 13px 11px;
  font-size: 24px;
}

.news-body p {
  min-height: 68px;
  color: #708193;
  font-size: 15px;
  line-height: 1.65;
}

.news-read {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.news-read b {
  margin-left: 10px;
  color: var(--teal);
}

.contact-band {
  padding-block: 62px;
  background: linear-gradient(105deg, var(--teal), #0a8178);
  color: var(--white);
}

.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-band .eyebrow {
  color: #c9fffa;
  margin-bottom: 12px;
}

.contact-band h2 {
  margin-bottom: 0;
  color: var(--white);
  font-size: 39px;
}

.contact-band-actions {
  display: flex;
  gap: 10px;
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--white);
}

.site-footer {
  background: #07192e;
  color: #91a4b8;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.15fr;
  gap: 80px;
  padding-block: 76px 60px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 24px;
  color: #879bb0;
  font-size: 15px;
}

.site-footer h3 {
  margin-bottom: 21px;
  color: var(--white);
  font-size: 17px;
}

.footer-main > div:not(.footer-brand) > a {
  display: block;
  margin-bottom: 9px;
  color: #8fa3b8;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-main > div > a:hover {
  color: var(--teal-light);
}

.footer-affiliates {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding-block: 32px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-affiliates-intro span {
  display: block;
  color: var(--teal-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.footer-affiliates-intro h3 {
  margin: 7px 0 0;
  font-size: 21px;
}

.footer-affiliate-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.footer-affiliate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 94px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 3px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-affiliate:hover,
.footer-affiliate:focus-visible {
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.35);
  transform: translateY(-2px);
}

.footer-affiliate img {
  width: auto;
  height: auto;
  max-width: 94px;
  max-height: 70px;
  object-fit: contain;
  opacity: 0.76;
  transition: opacity 0.2s ease;
}

.footer-affiliate:hover img,
.footer-affiliate:focus-visible img {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, var(--navy), #0b3755);
  color: var(--white);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 105px 110px;
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(52px, 6vw, 78px);
  letter-spacing: -0.04em;
}

.page-hero-inner > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #bac9d8;
  font-size: 18px;
}

.page-hero-orbit {
  position: absolute;
  right: -140px;
  top: -300px;
  width: 750px;
  height: 750px;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 50%;
}

.page-hero-orbit::before {
  position: absolute;
  left: 170px;
  bottom: 120px;
  width: 270px;
  height: 270px;
  content: "";
  background: rgba(20, 184, 166, 0.07);
  border-radius: 50%;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 45px;
}

.vision-card {
  min-height: 340px;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--line);
}

.vision-card-dark {
  background: var(--navy);
  border-color: var(--navy);
}

.vision-card > span,
.office-card > span,
.email-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.vision-card h2 {
  max-width: 440px;
  margin-block: 55px 20px;
  font-size: 38px;
}

.vision-card-dark h2 {
  color: var(--white);
}

.vision-card p {
  color: #687b8d;
  font-size: 16px;
}

.vision-card-dark p {
  color: #aebfd0;
}

.governance-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 55px;
}

.governance-grid article,
.value-grid article {
  padding-top: 26px;
  border-top: 2px solid var(--teal);
}

.governance-grid span,
.value-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.governance-grid h3,
.value-grid h3 {
  margin-block: 30px 12px;
  font-size: 27px;
}

.governance-grid p,
.value-grid p {
  color: #6c7d8d;
  font-size: 15px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 80px minmax(270px, 0.8fr) minmax(320px, 1fr);
  gap: 38px;
  align-items: start;
  padding: 38px 18px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding 0.2s ease;
}

.service-list article:hover {
  padding-inline: 28px;
  background: var(--mist);
}

.service-list span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.service-list h2 {
  margin-bottom: 0;
  font-size: 33px;
}

.service-list p {
  margin-bottom: 0;
  color: #647789;
  font-size: 15px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 55px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.method-grid li {
  min-height: 260px;
  padding: 30px 27px;
  background: var(--white);
}

.method-grid span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.method-grid h3 {
  margin-block: 60px 13px;
  font-size: 26px;
}

.method-grid p {
  color: #6c7e8f;
  font-size: 15px;
}

.inline-button {
  margin-top: 17px;
}

.value-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.contact-layout {
  display: grid;
  gap: 70px;
}

.contact-layout > div:first-child {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 90px;
}

.contact-note {
  align-self: end;
  padding: 20px 22px;
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  color: #536b7b;
  font-size: 15px;
}

.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.office-card {
  min-height: 340px;
  padding: 42px;
  background: var(--mist);
  border-top: 3px solid var(--teal);
}

.office-card h2 {
  margin-block: 44px 16px;
  font-size: 36px;
}

.office-card address {
  min-height: 100px;
  color: #627487;
  font-size: 16px;
  font-style: normal;
}

.office-card > a {
  color: var(--teal);
  font-size: 19px;
  font-weight: 700;
}

.email-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 36px 42px;
  background: var(--navy);
}

.email-card h2 {
  margin: 10px 0 0;
  color: var(--white);
  font-size: 30px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 105px;
}

.policy-nav {
  position: sticky;
  top: 115px;
  align-self: start;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.policy-nav a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.policy-content article {
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.policy-content article:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.policy-content h2 {
  margin-bottom: 22px;
  font-size: 38px;
}

.policy-content article > p:last-of-type {
  max-width: 770px;
  color: #607385;
  font-size: 16px;
}

.policy-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.policy-contacts a {
  padding: 9px 13px;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

.content-narrow {
  width: min(820px, 100%);
}

.entry-content {
  color: #526579;
  font-size: 16px;
  line-height: 1.9;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.65em;
}

.entry-content a:not(.button):not(.arrow-link) {
  color: var(--teal);
  text-decoration: underline;
}

.entry-hero-image {
  margin: 0 0 42px;
}

.entry-hero-image img {
  width: 100%;
  height: auto;
}

.archive-news-grid {
  align-items: stretch;
}

.pagination {
  margin-top: 45px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination .page-numbers {
  display: grid;
  min-width: 38px;
  min-height: 38px;
  place-items: center;
  padding: 5px 11px;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 12px;
}

.pagination .current {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

body.menu-open {
  overflow: hidden;
}

.reveal-up {
  animation: reveal-up 0.7s ease both;
}

.hero-trust-card.reveal-up {
  animation-delay: 0.12s;
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 1080px) {
  .primary-nav { gap: 18px; }
  .primary-nav > a:not(.header-cta) { font-size: 13px; }
  .language-switch { display: none; }
  .hero-layout { gap: 50px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 260px; }
  .service-number { margin-bottom: 30px; }
  .footer-main { gap: 40px; }
  .footer-affiliates { grid-template-columns: 1fr; gap: 20px; }
  .footer-affiliate-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .admin-bar .site-header { top: 46px; }
  .container { width: min(100% - 36px, 720px); }
  .site-header { height: 70px; }
  .brand img { width: 37px; height: 46px; }
  .brand-copy strong { font-size: 15px; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    padding: 8px 0 8px 20px;
    background: transparent;
    border: 0;
    color: var(--white);
  }
  .menu-toggle span { width: 24px; height: 1px; background: var(--white); }
  .menu-toggle span:nth-child(2) { width: 17px; }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .primary-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding: 8px 18px 22px;
    background: #07192e;
    border-bottom: 2px solid var(--teal);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .primary-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .admin-bar .primary-nav { top: 116px; }
  .primary-nav .menu { display: flex; flex-direction: column; width: 100%; }
  .primary-nav .menu > li { display: block; height: auto; }
  .primary-nav .menu > li > a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
  .primary-nav .menu > li > a::after { display: none; }
  .primary-nav > a:not(.header-cta) { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
  .primary-nav > a:not(.header-cta)::after { display: none; }
  .header-cta { margin-top: 14px; justify-content: space-between; }
  .hero-layout { grid-template-columns: 1fr; min-height: auto; padding-block: 78px 85px; }
  .hero-copy { max-width: 660px; }
  .hero-trust-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; padding: 25px; background: rgba(255,255,255,.04); border: 1px solid rgba(20,184,166,.28); }
  .trust-card-top, .trust-link { grid-column: 1 / -1; }
  .trust-stat { grid-template-columns: 1fr; gap: 9px; }
  .credibility-grid { grid-template-columns: 1fr; padding-block: 16px; }
  .credibility-grid > div, .credibility-grid > div:first-child { min-height: 45px; padding-inline: 0; border-right: 0; border-bottom: 1px solid rgba(13,148,136,.15); }
  .credibility-grid > div:last-child { border-bottom: 0; }
  .section { padding-block: 78px; }
  .split-intro, .principle-layout, .contact-layout > div:first-child, .policy-layout { grid-template-columns: 1fr; gap: 45px; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 24px; }
  .principle-layout { gap: 60px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:last-child { grid-column: 1 / -1; }
  .contact-band-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-contact { grid-column: 2 / -1; }
  .service-list article { grid-template-columns: 50px 1fr; }
  .service-list article p { grid-column: 2; }
  .method-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .governance-grid { gap: 25px; }
  .policy-nav { position: static; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 30px); }
  .brand-copy small { font-size: 7px; }
  .hero-layout { gap: 42px; padding-block: 58px 68px; }
  .hero h1 { font-size: clamp(45px, 14vw, 62px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-trust-card { grid-template-columns: 1fr; padding: 23px; }
  .trust-card-top, .trust-link { grid-column: auto; }
  .trust-stat { grid-template-columns: 76px 1fr; }
  .section { padding-block: 62px; }
  .section-heading h2 { font-size: 38px; }
  .split-intro { gap: 34px; }
  .service-grid, .news-grid, .vision-grid, .office-grid, .governance-grid, .value-grid, .method-grid { grid-template-columns: 1fr; }
  .news-card:last-child { grid-column: auto; }
  .news-body h3, .news-body p { min-height: 0; }
  .principle-panel { padding: 30px 24px; }
  blockquote { font-size: 36px; }
  .contact-band h2 { font-size: 32px; }
  .contact-band-actions { width: 100%; flex-direction: column; }
  .contact-band-actions .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 25px; padding-block: 58px 42px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: auto; }
  .footer-affiliate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-affiliate { min-height: 100px; }
  .footer-affiliate img { max-width: 108px; max-height: 76px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .page-hero-inner { padding-block: 72px 78px; }
  .page-hero h1 { font-size: 47px; }
  .vision-card { min-height: 0; padding: 35px 28px; }
  .vision-card h2 { margin-top: 42px; font-size: 32px; }
  .service-list article { grid-template-columns: 36px 1fr; gap: 20px; padding-inline: 0; }
  .service-list article:hover { padding-inline: 0; }
  .service-list h2 { font-size: 25px; }
  .method-grid { background: transparent; gap: 12px; border: 0; }
  .method-grid li { border: 1px solid var(--line); min-height: 220px; }
  .office-card { min-height: 0; padding: 32px 26px; }
  .office-card address { min-height: 0; margin-bottom: 30px; }
  .email-card { align-items: stretch; flex-direction: column; padding: 30px 24px; }
  .email-card h2 { font-size: 21px; overflow-wrap: anywhere; }
  .policy-content h2 { font-size: 32px; }
}
