/*
Theme Name: KIM HENG MONEY
Author: KIM HENG MONEY Web Team
Description: ธีม WordPress สำหรับร้าน คิม เฮง มันนี่ หลอมทองขอนแก่น เน้นความเร็ว การเข้าถึง SEO และ Local Business
Version: 0.4.8
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: hengmoney
*/

:root {
  --red: #9d171d;
  --red-dark: #6f0f14;
  --red-deep: #42090d;
  --gold: #c79a2b;
  --gold-light: #e4c66a;
  --cream: #fff9f2;
  --cream-deep: #f7ecdd;
  --white: #ffffff;
  --ink: #241a17;
  --muted: #6f6762;
  --line: rgba(55, 35, 26, 0.13);
  --shadow: 0 20px 60px rgba(79, 28, 21, 0.12);
  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 32px;
  --container: 1200px;
  --font: "Noto Sans Thai", Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.25rem;
}

::selection {
  background: var(--gold-light);
  color: var(--red-deep);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.site-container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--white);
  color: var(--red-dark);
  font-weight: 700;
}

.trust-bar {
  background: var(--red-deep);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
}

.trust-bar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.trust-bar p {
  margin: 0;
}

.trust-bar p span {
  color: var(--gold-light);
  margin-inline: 7px;
}

.trust-bar__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.trust-bar__links a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 249, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.site-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-branding,
.custom-logo-link {
  display: flex;
  align-items: center;
  min-width: 0;
}

.custom-logo {
  width: auto;
  max-width: 230px;
  max-height: 62px;
}

.brand-mark {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark__seal {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset 0 0 0 4px var(--red), inset 0 0 0 5px rgba(255, 255, 255, 0.5);
  color: var(--gold-light);
  font-size: 1.12rem;
  font-weight: 800;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  max-width: 290px;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.brand-mark__text strong {
  color: var(--red-dark);
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-mark__text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-menu,
.footer-menu,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.primary-menu a {
  position: relative;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.menu-toggle {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--red-dark);
  cursor: pointer;
}

.menu-toggle__bars {
  width: 20px;
  display: grid;
  gap: 4px;
}

.menu-toggle__bars i {
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 10px 28px rgba(111, 15, 20, 0.22);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
  box-shadow: 0 14px 34px rgba(65, 9, 13, 0.28);
  transform: translateY(-2px);
}

.button--small {
  min-height: 44px;
  padding: 9px 19px;
  font-size: 0.9rem;
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.58);
  background: transparent;
  box-shadow: none;
  color: var(--white);
}

.button--outline-light:hover {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: var(--red-deep);
}

.button--gold {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: var(--red-deep);
}

.button--gold:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--red-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0 88px;
  background:
    radial-gradient(circle at 12% 16%, rgba(228, 198, 106, 0.13), transparent 27%),
    linear-gradient(135deg, #4a080c 0%, var(--red-dark) 58%, #310608 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: repeating-linear-gradient(118deg, transparent 0 34px, rgba(255, 255, 255, 0.09) 35px, transparent 36px 72px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow--red {
  color: var(--red);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
}

.hero h1::after {
  content: "";
  width: 82px;
  height: 4px;
  display: block;
  margin-top: 24px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-light), rgba(228, 198, 106, 0));
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.03rem, 1.4vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.79);
  font-size: 0.9rem;
}

.hero__checks li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--gold-light);
  font-weight: 800;
}

.hero__media {
  position: relative;
  margin: 0;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: -13px 18px 30px -18px;
  border: 1px solid rgba(228, 198, 106, 0.48);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.hero__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.36 / 1;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(23, 0, 1, 0.42);
  object-fit: cover;
  object-position: 56% center;
}

.hero__note {
  position: absolute;
  right: -24px;
  bottom: -28px;
  width: min(88%, 390px);
  padding: 18px 22px;
  border: 1px solid rgba(228, 198, 106, 0.5);
  border-radius: var(--radius-sm);
  background: rgba(41, 4, 6, 0.93);
  box-shadow: 0 18px 45px rgba(20, 1, 2, 0.34);
  backdrop-filter: blur(12px);
}

.hero__note span {
  display: block;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 800;
}

.hero__note strong {
  display: block;
  margin-top: 2px;
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.55;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.trust-strip__grid > div {
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
}

.trust-strip__grid > div:first-child {
  border-left: 1px solid var(--line);
}

.trust-strip strong {
  color: var(--gold);
  font-size: 1.2rem;
}

.trust-strip span {
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.45;
}

.section {
  padding: clamp(76px, 9vw, 132px) 0;
}

.section--warm {
  background: var(--cream);
}

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

.section--ink::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -280px;
  right: -150px;
  border: 1px solid rgba(228, 198, 106, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(228, 198, 106, 0.03), 0 0 0 140px rgba(228, 198, 106, 0.025);
}

.section-heading {
  margin-bottom: 52px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 60px;
}

.section-heading--split > p {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-heading--center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading--center > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

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

.service-card {
  position: relative;
  min-height: 270px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(157, 23, 29, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card--featured {
  background: var(--red);
  color: var(--white);
}

.service-card__number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 60px;
  border: 1px solid rgba(157, 23, 29, 0.22);
  border-radius: 50%;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
}

.service-card--featured .service-card__number {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--gold-light);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

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

.service-card--featured p {
  color: rgba(255, 255, 255, 0.76);
}

.section-disclaimer {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.process {
  background: var(--red-dark);
  color: var(--white);
}

.process__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(60px, 10vw, 130px);
}

.process__intro {
  position: sticky;
  top: 145px;
  align-self: start;
}

.process__intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

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

.text-link--dark {
  color: var(--red-dark);
}

.process-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  padding: 0 0 42px;
}

.process-list li:not(:last-child) {
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.process-list li > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228, 198, 106, 0.62);
  border-radius: 50%;
  color: var(--gold-light);
  font-weight: 800;
}

.process-list h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
}

.value-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

.value-grid article {
  min-height: 320px;
  padding: 42px;
}

.value-grid article:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.value-grid span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 70px;
  border-radius: 50%;
  background: var(--red);
  color: var(--gold-light);
  font-size: 1.35rem;
  font-weight: 800;
}

.value-grid h3 {
  margin-bottom: 10px;
}

.value-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

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

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(50px, 9vw, 120px);
}

.faq-intro p:last-child {
  max-width: 420px;
  color: var(--muted);
}

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

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--red);
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details > div {
  padding: 0 54px 24px 0;
}

.faq-list details p {
  margin: 0;
  color: var(--muted);
}

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

.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(74, 34, 26, 0.07);
}

.post-card__image {
  aspect-ratio: 1.5 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.03);
}

.post-card__body {
  padding: 24px;
}

.post-card__meta {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 700;
}

.post-card h2,
.post-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.post-card h2 a,
.post-card h3 a {
  text-decoration: none;
}

.post-card h2 a:hover,
.post-card h3 a:hover {
  color: var(--red);
}

.post-card__body > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-section {
  background: var(--cream);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  padding: clamp(42px, 6vw, 76px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 5%, rgba(228, 198, 106, 0.14), transparent 28%),
    var(--red-dark);
  box-shadow: 0 30px 80px rgba(72, 11, 14, 0.23);
  color: var(--white);
}

.contact-card__content > p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-card__details {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.contact-card__details h3 {
  margin-bottom: 22px;
}

.contact-card__details dl,
.contact-card__details dd {
  margin: 0;
}

.contact-card__details dl > div {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-card__details dt {
  margin-bottom: 3px;
  color: var(--gold-light);
  font-size: 0.73rem;
  font-weight: 800;
}

.contact-card__details dd {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.site-footer {
  padding: 76px 0 24px;
  background: #171110;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 70px;
  padding-bottom: 58px;
}

.footer-kicker {
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.site-footer h2 {
  font-size: 1.8rem;
}

.site-footer h3 {
  margin-bottom: 18px;
  font-size: 1rem;
}

.footer-brand p:last-child {
  max-width: 480px;
}

.footer-menu,
.footer-contact {
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

/* Standard content templates */
.content-shell {
  min-height: 55vh;
  padding: clamp(70px, 8vw, 120px) 0;
  background: var(--white);
}

.content-shell__header {
  max-width: 820px;
  margin-bottom: 42px;
}

.content-shell__header h1 {
  color: var(--red-dark);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.content-shell__meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.entry-content {
  max-width: 780px;
  font-size: 1.04rem;
}

.entry-featured {
  max-width: 1000px;
  margin-bottom: 42px;
}

.entry-featured img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.entry-content > * + * {
  margin-top: 1.35em;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.8em;
  color: var(--red-dark);
}

.entry-content a {
  color: var(--red);
}

.entry-content img {
  border-radius: var(--radius);
}

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

.pagination {
  margin-top: 48px;
}

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

.pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
}

.pagination .current,
.pagination a:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

/* Multi-page system */
.inner-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(66px, 9vw, 118px) 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(228, 198, 106, 0.16), transparent 24%),
    linear-gradient(135deg, var(--red-deep), var(--red-dark));
  color: var(--white);
}

.inner-hero::after {
  content: "เฮง";
  position: absolute;
  right: 6vw;
  bottom: -0.38em;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(12rem, 28vw, 27rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.inner-hero__inner {
  position: relative;
  z-index: 1;
}

.inner-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
}

.inner-hero__lead {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
}

.story-grid,
.prepare-grid,
.assessment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(56px, 10vw, 140px);
  align-items: start;
}

.prose-large {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
}

.prose-large p:last-child {
  margin-bottom: 0;
}

.media-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
}

.media-story figure {
  position: relative;
  margin: 0;
}

.media-story figure::before {
  content: "";
  position: absolute;
  inset: -12px 24px 30px -14px;
  border: 1px solid rgba(157, 23, 29, 0.28);
  border-radius: var(--radius-lg);
}

.media-story img {
  position: relative;
  aspect-ratio: 1.25 / 1;
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: 65% center;
}

.feature-list {
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  color: var(--red-dark);
}

.feature-list span {
  color: var(--muted);
}

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

.pillar-grid article {
  min-height: 290px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.pillar-grid span {
  display: block;
  margin-bottom: 70px;
  color: var(--gold);
  font-weight: 800;
}

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

.page-editor-content {
  margin-top: 64px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.cta-band {
  background:
    radial-gradient(circle at 90% 0%, rgba(228, 198, 106, 0.15), transparent 26%),
    var(--red-dark);
  color: var(--white);
}

.cta-band__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.cta-band h2 {
  margin-bottom: 0;
}

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

.service-panel {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  min-height: 350px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(74, 34, 26, 0.055);
}

.service-panel > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(157, 23, 29, 0.2);
  border-radius: 50%;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
}

.service-panel h3 {
  color: var(--red-dark);
  font-size: 1.4rem;
}

.service-panel p,
.service-panel li {
  color: var(--muted);
}

.service-panel ul {
  padding-left: 1.2em;
  margin-bottom: 0;
}

.notice-box {
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--cream-deep);
}

.notice-box strong {
  color: var(--red-dark);
}

.notice-box p {
  margin: 4px 0 0;
  color: var(--muted);
}

.timeline-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(60px, 10vw, 140px);
}

.timeline-intro {
  position: sticky;
  top: 145px;
  align-self: start;
}

.timeline-intro > p:last-child {
  color: var(--muted);
}

.timeline {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding-bottom: 52px;
}

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 64px;
  bottom: 8px;
  left: 31px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(199, 154, 43, 0.15));
}

.timeline li > span {
  width: 64px;
  height: 64px;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--gold-light);
  font-weight: 800;
}

.timeline h3 {
  margin: 5px 0 8px;
  color: var(--red-dark);
  font-size: 1.4rem;
}

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

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

.checklist-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75);
}

.checklist-grid strong {
  color: var(--red-dark);
}

.checklist-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.product-card {
  min-height: 310px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.product-card > span {
  display: block;
  margin-bottom: 66px;
  color: var(--gold);
  font-weight: 800;
}

.product-card h3 {
  font-size: 1.4rem;
}

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

.product-card small {
  color: var(--red);
  font-weight: 700;
}

.product-card--red {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.product-card--red > span,
.product-card--red small {
  color: var(--gold-light);
}

.product-card--red p {
  color: rgba(255, 255, 255, 0.72);
}

.product-card--outline {
  border: 1px dashed rgba(157, 23, 29, 0.4);
  background: transparent;
}

.assessment-table {
  border-top: 1px solid var(--line);
}

.assessment-table > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.assessment-table strong {
  color: var(--red-dark);
}

.assessment-table span {
  color: var(--muted);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(56px, 10vw, 140px);
}

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

.contact-methods > a,
.contact-methods__id {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.contact-methods > a:hover {
  border-color: var(--red);
  transform: translateX(4px);
}

.contact-methods span,
.contact-methods em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.contact-methods strong {
  color: var(--red-dark);
}

.location-card {
  display: grid;
  grid-template-columns: 0.7fr 1fr auto;
  gap: 60px;
  align-items: center;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.location-card h2 {
  margin-bottom: 0;
}

.location-card dl,
.location-card dd {
  margin: 0;
}

.location-card dl {
  display: grid;
  gap: 15px;
}

.location-card dt,
.branch-info dt {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
}

.location-card dd,
.branch-info dd {
  color: var(--muted);
}

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

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

.branch-card {
  min-height: 270px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(74, 34, 26, 0.055);
}

.branch-card > p {
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
}

.branch-card h2,
.branch-card h3 {
  font-size: 1.35rem;
}

.branch-card h2 a,
.branch-card h3 a {
  color: var(--red-dark);
  text-decoration: none;
}

.branch-card address {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
}

.branch-card > a:last-child {
  color: var(--red);
  font-weight: 700;
}

.branch-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 60px;
}

.branch-featured {
  margin: 0 0 36px;
}

.branch-featured img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.branch-info {
  position: sticky;
  top: 145px;
  align-self: start;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--cream-deep);
}

.branch-info h2 {
  font-size: 1.6rem;
}

.branch-info dl,
.branch-info dd {
  margin: 0;
}

.branch-info dl > div {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.branch-info .button {
  width: 100%;
  margin-top: 20px;
}

@media (max-width: 1080px) {
  .site-navigation {
    gap: 16px;
  }

  .primary-menu {
    gap: 15px;
  }

  .primary-menu a {
    font-size: 0.84rem;
  }

  .hero__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
  }

  .hero__note {
    right: -8px;
  }

  .service-card {
    padding: 26px;
  }
}

@media (max-width: 900px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-navigation {
    position: fixed;
    top: 122px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    padding: 34px 24px;
    overflow-y: auto;
    background: var(--cream);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .admin-bar .site-navigation {
    top: 130px;
  }

  .site-navigation.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-menu li {
    border-bottom: 1px solid var(--line);
  }

  .primary-menu a {
    display: block;
    padding: 15px 4px;
    font-size: 1.05rem;
  }

  .header-cta {
    width: 100%;
  }

  .hero__grid,
  .section-heading--split,
  .process__grid,
  .faq-layout,
  .contact-card,
  .story-grid,
  .prepare-grid,
  .assessment-layout,
  .media-story,
  .timeline-layout,
  .contact-page-grid,
  .branch-single-grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 64px;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__media {
    width: min(100%, 720px);
  }

  .section-heading--split {
    gap: 20px;
  }

  .service-grid,
  .post-grid,
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__intro {
    position: static;
  }

  .timeline-intro,
  .branch-info {
    position: static;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .branch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-card {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .location-card > .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

  .value-grid article {
    min-height: auto;
  }

  .value-grid article:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .value-grid span {
    margin-bottom: 36px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-container {
    width: min(calc(100% - 28px), var(--container));
  }

  .trust-bar__inner {
    min-height: 34px;
    justify-content: center;
  }

  .trust-bar__inner > p {
    display: none;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .brand-mark__seal {
    width: 42px;
    height: 42px;
    font-size: 0.96rem;
  }

  .brand-mark__text strong {
    font-size: 0.94rem;
  }

  .brand-mark__text small {
    font-size: 0.55rem;
  }

  .site-navigation {
    top: 106px;
  }

  .admin-bar .site-navigation {
    top: 118px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .hero {
    padding-top: 58px;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__checks {
    display: grid;
  }

  .hero__media::before {
    inset: -8px 10px 20px -9px;
    border-radius: 24px;
  }

  .hero__media img {
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    object-position: 63% center;
  }

  .hero__note {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: -32px auto 0;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip__grid > div {
    min-height: 100px;
    padding: 17px;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip__grid > div:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .trust-strip__grid > div:nth-child(even) {
    border-right: 1px solid var(--line);
  }

  .trust-strip span {
    font-size: 0.78rem;
  }

  .service-grid,
  .post-grid,
  .archive-grid,
  .product-grid,
  .branch-grid,
  .pillar-grid,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 230px;
  }

  .service-card__number {
    margin-bottom: 42px;
  }

  .process-list li {
    grid-template-columns: 45px 1fr;
    gap: 17px;
  }

  .service-panel {
    grid-template-columns: 44px 1fr;
    gap: 17px;
    min-height: auto;
    padding: 26px 22px;
  }

  .service-panel > span {
    width: 42px;
    height: 42px;
  }

  .feature-list li,
  .assessment-table > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-methods > a,
  .contact-methods__id {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .location-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .location-card > .button {
    grid-column: auto;
    width: 100%;
  }

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

  .process-list li > span {
    width: 44px;
    height: 44px;
  }

  .value-grid article {
    padding: 30px;
  }

  .faq-list details > div {
    padding-right: 0;
  }

  .contact-card {
    gap: 36px;
    padding: 32px 22px;
    border-radius: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
