/* =========================================================
NakaJP Quote Review LP — PDF Storytelling Style V6
- Mobile-first
- Soft speech bubbles + avatar overlap + visual icons
- Desktop giữ cảm giác từng page/slide giống PDF, không gom 1 cột
- Không hiển thị note tiếng Nhật public
========================================================= */

:root {
  --njp-font:"Be Vietnam Pro",sans-serif;
  --njp-serif:"Be Vietnam Pro",sans-serif;
  --bg: #f5ecdd;
  --bg-2: #c9b89b;
  --bg-soft: #fffaf2;
  --panel: #fffefb;
  --panel-warm: #fff7e8;
  --ink: #241f1a;
  --muted: #675e54;
  --brand: #704d35;
  --brand-dark: #3f2b20;
  --accent: #d94835;
  --accent-2: #f08a52;
  --accent-dark: #b93628;
  --cream: #fff1c9;
  --line: rgba(112, 77, 53, .16);
  --line-strong: rgba(112, 77, 53, .26);
  --shadow-soft: 0 18px 48px rgba(63, 43, 32, .10);
  --shadow-card: 0 24px 70px rgba(63, 43, 32, .13);
  --shadow-avatar: drop-shadow(0 18px 26px rgba(44, 30, 19, .18));
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1120px;
  --header-h: 66px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family:var(--njp-font);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(255,255,255,.72), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(217,72,53,.08), transparent 25%),
    linear-gradient(180deg, #f7efe2 0%, #efe1cc 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .35;
  background-image:
    radial-gradient(rgba(112, 77, 53, .16) 1px, transparent 1px);
  background-size: 18px 18px;
}

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

a { color: inherit; }

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

.slide {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
}

.slide:nth-of-type(even) {
  background: rgba(255, 250, 242, .70);
}

.section-soft::before,
.section-soft::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  z-index: 0;
}

.section-soft::before {
  width: 260px;
  height: 260px;
  top: -96px;
  right: -74px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .82), rgba(233, 211, 181, .24));
}

.section-soft::after {
  width: 170px;
  height: 170px;
  left: -64px;
  bottom: -72px;
  background: radial-gradient(circle, rgba(217, 72, 53, .09), rgba(255, 255, 255, 0));
}

.section-soft > .container,
.slide > .container {
  position: relative;
  z-index: 1;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: -.035em;
}

h1, h2 {
  font-family:var(--njp-serif);
}

h1 {
  font-size: clamp(34px, 9vw, 68px);
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 18px 36px rgba(0,0,0,.18);
}

h1 span { color: #ffe9df; }

h2 {
  font-size: clamp(28px, 7vw, 52px);
  color: var(--brand-dark);
  text-wrap: balance;
}

h3 {
  font-size: 21px;
  color: var(--brand-dark);
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

ul, ol { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(63,43,32,.06);
}

.eyebrow::before {
  content: "✦";
  color: var(--accent);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(16px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 250, 242, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(112, 77, 53, .12);
}

.header-logo img {
  height: 38px;
  width: auto;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(63,43,32,.08);
}

.header-phone::before { content: "☎"; color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  position: relative;
  isolation: isolate;
}

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

.btn-with-icon::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  font-weight: 900;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 16px 34px rgba(217, 72, 53, .30);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.25);
  z-index: -1;
}

.btn-ghost {
  background: rgba(255,255,255,.92);
  color: var(--brand-dark);
  box-shadow: 0 12px 26px rgba(63,43,32,.10);
}

/* Shared soft speech */
.speech,
.story-copy,
.fit-panel,
.lead-form,
.form-disclaimer,
.scope-visual img,
.faq-list details {
  box-shadow: var(--shadow-soft);
}

.speech {
  position: relative;
  border: 1px solid rgba(112, 77, 53, .14);
  border-radius: 32px 32px 32px 16px;
  padding: 24px;
  background: linear-gradient(180deg, #fffefb 0%, #fff9f0 100%);
  overflow: visible;
}

.speech::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: -10px;
  bottom: 24px;
  background: #fff9f0;
  border-left: 1px solid rgba(112,77,53,.14);
  border-bottom: 1px solid rgba(112,77,53,.14);
  transform: rotate(45deg);
  border-bottom-left-radius: 7px;
}

.speech span:not(.bubble-icon) {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.speech h2 + p,
.speech p + p,
.story-copy p + .ask-line { margin-top: 16px; }

.speech p,
.speech h2 { position: relative; z-index: 1; }

.speech-customer {
  border-radius: 34px 34px 12px 34px;
  background: linear-gradient(180deg, #fff 0%, #fffaf4 100%);
}

.speech-customer::after {
  left: auto;
  right: -10px;
  border-left: 0;
  border-right: 1px solid rgba(112,77,53,.14);
  border-bottom: 1px solid rgba(112,77,53,.14);
  background: #fffaf4;
}

.speech-naka {
  background: linear-gradient(180deg, #fffdf7 0%, #fff4df 100%);
  border-color: rgba(217, 72, 53, .18);
}

.speech-naka::before {
  content: "“";
  position: absolute;
  top: -18px;
  right: 22px;
  color: rgba(217, 72, 53, .10);
  font-family:var(--njp-serif);
  font-size: 104px;
  line-height: 1;
}

.speech-naka span:not(.bubble-icon),
.speech-naka strong,
.speech-naka p,
.speech-naka h2 { color: var(--brand-dark); }

.speech-white {
  background: linear-gradient(180deg, #fff 0%, #fffaf2 100%);
}

.bubble-icon {
  display: inline-flex;
  margin-right: 4px;
}

/* Avatar / character */
.person-photo {
  width: 150px;
  filter: var(--shadow-avatar);
  object-fit: contain;
}

.story-character,
.director-intro,
.person-block,
.closing-response {
  position: relative;
}

.story-character::before,
.director-intro::before,
.person-block::before,
.closing-response::before {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 45% 55% 52% 48% / 50% 42% 58% 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.84), transparent 32%),
    linear-gradient(135deg, rgba(255, 236, 205, .95), rgba(222, 194, 151, .68));
  box-shadow: inset 0 0 0 1px rgba(112,77,53,.08), 0 18px 42px rgba(63,43,32,.10);
}

.story-character::before {
  width: 196px;
  height: 196px;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%) rotate(-4deg);
}

/* Hero */
.slide-hero {
  min-height: 720px;
  padding-top: calc(var(--header-h) + 60px);
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--brand-dark);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(38, 25, 18, .72), rgba(38, 25, 18, .26)),
    url("../replace-quote-documents.webp") center/cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 84% 28%, rgba(255, 223, 184, .24), transparent 28%),
    linear-gradient(180deg, rgba(30,20,16,.10), rgba(30,20,16,.48));
}

.hero-layout {
  display: grid;
  gap: 34px;
  align-items: end;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-copy .eyebrow {
  background: rgba(255, 249, 237, .94);
  color: var(--brand-dark);
  border: 0;
}

.hero-sub {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(255,255,255,.88);
  font-size: clamp(17px, 3.8vw, 21px);
}

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

.micro-note {
  margin-top: 14px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}

.director-intro {
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0;
  width:min(250px,100%);
  margin-inline:auto;
  padding:18px 18px 0;
  border-radius:30px;
  background:rgba(255,250,242,.90);
  border:1px solid rgba(255,255,255,.42);
  box-shadow:0 20px 54px rgba(30,20,16,.18);
  overflow:hidden;
}

.director-intro::before {
  display:none;
}

.director-intro img {
  display:block;
  width:100%;
  max-width:210px;
  height:250px;
  margin-bottom:-22px;
  position:relative;
  z-index:2;
  object-fit:contain;
  object-position:center bottom;
}

.director-intro .speech {
  max-width: 310px;
  padding: 18px;
  z-index: 3;
  border-radius: 28px 28px 28px 12px;
}

.director-intro .speech::after { left: 34px; top: -9px; bottom: auto; }

/* Dialogue */
.two-person-layout {
  display: grid;
  gap: 46px;
}

.person-block {
  display: grid;
  gap: 0;
  align-items: end;
  justify-items: center;
  isolation: isolate;
}

.person-block::before {
  width: 170px;
  height: 170px;
  bottom: 82px;
  left: 50%;
  transform: translateX(-50%) rotate(8deg);
}

.person-block .person-photo {
  width: 150px;
  margin-bottom: -18px;
  z-index: 2;
}

.person-block .speech {
  z-index: 3;
  max-width: 700px;
}

.customer-side .speech::after { right: 42px; top: -9px; bottom: auto; }
.naka-side .speech::after { left: 42px; top: -9px; bottom: auto; }

/* Reason slides */
.reason-slide {
  min-height: 560px;
  display: flex;
  align-items: center;
}

.reason-slide:nth-of-type(even) {
  background: rgba(255, 250, 242, .82);
}

.story-layout {
  display: grid;
  gap: 0;
  align-items: end;
  justify-items: center;
}

.story-character {
  z-index: 2;
  display: grid;
  justify-items: center;
  align-items: end;
}

.story-character .person-photo {
  width: min(210px, 58vw);
  position: relative;
  z-index: 2;
}

.reason-number {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 102px;
  justify-content: center;
  margin-top: -18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(217, 72, 53, .26);
}

.reason-number span {
  font-size: 20px;
  line-height: 1;
}

.reason-number b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  font-size: 17px;
  font-style: normal;
}

.story-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 28px 24px;
  border: 1px solid rgba(112, 77, 53, .15);
  border-radius: 34px 34px 34px 14px;
  background: linear-gradient(180deg, #fffefb 0%, #fff7ea 100%);
}

.story-copy::before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  left: 40px;
  top: -11px;
  transform: rotate(45deg);
  border-top: 1px solid rgba(112, 77, 53, .15);
  border-left: 1px solid rgba(112, 77, 53, .15);
  background: #fffefb;
  border-top-left-radius: 8px;
}

.story-layout-reverse .story-copy {
  border-radius: 34px 34px 14px 34px;
}

.story-layout-reverse .story-copy::before {
  left: auto;
  right: 40px;
}

.story-copy p {
  margin-top: 16px;
  font-size: 17px;
}

.story-copy h2 {
  max-width: 760px;
}

.ask-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 242, 213, .92);
  color: var(--brand-dark);
  font-weight: 900;
  border: 1px solid rgba(217,72,53,.14);
}

/* Transition */
.slide-transition {
  background: var(--bg-2);
}

.transition-layout {
  display: grid;
  gap: 28px;
}

.transition-main {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.transition-main::after {
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%) rotate(45deg);
}

.transition-main h2,
.transition-main p {
  margin-inline: auto;
}

.transition-bottom {
  display: grid;
  gap: 0;
  justify-items: center;
}

.transition-bottom .person-photo {
  width: 150px;
  margin-bottom: -18px;
  z-index: 2;
}

.transition-bottom .speech {
  z-index: 3;
  max-width: 840px;
}

.transition-cta {
  width: fit-content;
  justify-self: center;
}

/* Service */
.slide-service {
  background: linear-gradient(180deg, #d1c2a6 0%, #efe1cc 100%);
}

.service-layout {
  display: grid;
  gap: 0;
  align-items: end;
  justify-items: center;
}

.service-message {
  width: 100%;
  max-width: 850px;
  z-index: 3;
  margin-top: -16px;
}

.service-message .safe-note,
.form-disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 242, 213, .92);
  color: var(--brand-dark);
  border: 1px solid rgba(217,72,53,.16);
  font-size: 14px;
  font-weight: 700;
}

.service-message .btn {
  margin-top: 20px;
}

/* Scope */
.scope-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.scope-copy {
  position: relative;
  z-index: 2;
}

.scope-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.scope-list li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border: 1px solid rgba(112,77,53,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.80);
  color: var(--brand-dark);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(63,43,32,.06);
}

.scope-list li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 13px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
}

.scope-visual {
  position: relative;
}

.scope-visual::before {
  content: "📄";
  position: absolute;
  z-index: 2;
  top: -18px;
  left: 22px;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #fff7df;
  box-shadow: 0 14px 26px rgba(63,43,32,.12);
  font-size: 26px;
}

.scope-visual img {
  border-radius: 34px;
  border: 8px solid rgba(255,255,255,.66);
}

/* Closing */
.slide-closing {
  background: var(--bg-2);
}

.closing-layout {
  display: grid;
  gap: 26px;
}

.closing-response {
  display: grid;
  gap: 0;
  justify-items: center;
}

.closing-response::before {
  width: 175px;
  height: 175px;
  top: -2px;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
}

.closing-response .person-photo {
  width: 150px;
  margin-bottom: -16px;
  z-index: 2;
}

.closing-response .speech {
  z-index: 3;
}

.closing-cta {
  width: fit-content;
  justify-self: center;
}

/* Fit / Process / FAQ */
.slide-fit,
.slide-process,
.slide-faq {
  background: var(--bg-soft);
}

.fit-layout,
.process-layout,
.faq-layout {
  display: grid;
  gap: 28px;
}

.fit-columns {
  display: grid;
  gap: 18px;
}

.fit-panel {
  padding: 24px;
  border: 1px solid rgba(112,77,53,.13);
  border-radius: 30px;
  background: rgba(255,255,255,.84);
}

.fit-panel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.fit-good h3::before { content: "✅"; }
.fit-not h3::before { content: "⚠️"; }

.fit-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.fit-panel li {
  color: var(--muted);
}

.fit-good { border-color: rgba(64, 134, 91, .24); }
.fit-not { border-color: rgba(217, 72, 53, .22); }

.process-copy p {
  max-width: 740px;
  margin-top: 14px;
}

.process-list {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
  position: relative;
}

.process-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(112,77,53,.12);
  box-shadow: 0 12px 28px rgba(63,43,32,.06);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 19px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(217,72,53,.22);
}

.process-list p {
  color: var(--brand-dark);
  font-weight: 800;
  padding-top: 4px;
}

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

.faq-list details {
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(112,77,53,.12);
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 18px 54px 18px 18px;
  font-weight: 900;
  color: var(--brand-dark);
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--cream);
  color: var(--accent);
  font-size: 20px;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  padding: 0 18px 18px;
}

/* Form */
.slide-form {
  background:
    radial-gradient(circle at 90% 20%, rgba(217, 72, 53, .10), transparent 28%),
    linear-gradient(180deg, #f8efe3 0%, #efe1cc 100%);
  padding-bottom: 96px;
}

.form-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.form-copy h2,
.form-copy p {
  max-width: 650px;
}

.form-copy p {
  margin-top: 14px;
}

.lead-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 32px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(112,77,53,.14);
  position: relative;
}

.lead-form::before {
  content: "✎";
  position: absolute;
  top: -20px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 28px rgba(217,72,53,.24);
}

.lead-form label {
  margin-top: 8px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}

.lead-form label span {
  display: inline-flex;
  margin-right: 6px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  min-height: 52px;
  width: 100%;
  border: 1px solid rgba(112,77,53,.18);
  border-radius: 17px;
  padding: 13px 14px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(217,72,53,.65);
  box-shadow: 0 0 0 4px rgba(217,72,53,.12);
}

.form-submit {
  margin-top: 10px;
  width: 100%;
}

.form-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
}

.form-status.is-success,
.form-status.is-error,
.form-status.is-pending { display: block; }

.form-status.is-success {
  background: rgba(64,134,91,.12);
  color: #24633c;
}

.form-status.is-error {
  background: rgba(217,72,53,.12);
  color: #9e2f24;
}

.form-status.is-pending {
  background: rgba(112,77,53,.10);
  color: var(--brand-dark);
}

.privacy-note {
  font-size: 12px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 44px 0 88px;
  background: var(--brand-dark);
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-logo {
  width: 170px;
  margin-bottom: 12px;
}

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

.site-footer h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* Mobile sticky */
.mobile-sticky-cta {
  position: fixed;
  inset: auto 12px 12px 12px;
  z-index: 60;
  display: none;
  gap: 10px;
}
.mobile-sticky-cta.is-visible {display:flex;}

.mobile-sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(217,72,53,.32);
}

.mobile-sticky-cta a::before {
  content: "🔍";
  margin-right: 8px;
}

/* Desktop */
@media (min-width: 760px) {
  .slide {
    padding: 92px 0;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }

  .two-person-layout {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .person-block {
    min-height: 420px;
  }

  .person-block .person-photo {
    width: 190px;
  }

  .person-block .speech {
    margin-top: -12px;
  }

  .naka-side {
    padding-top: 70px;
  }

  .story-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .story-layout-reverse {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .story-layout-reverse .story-character {
    grid-column: 2;
    grid-row: 1;
  }

  .story-layout-reverse .story-copy {
    grid-column: 1;
    grid-row: 1;
    margin-right: -34px;
  }

  .story-layout:not(.story-layout-reverse) .story-copy {
    margin-left: -34px;
  }

  .story-character .person-photo {
    width: 230px;
  }

  .story-copy {
    padding: 40px 44px;
  }

  .transition-bottom {
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: end;
    max-width: 950px;
    margin-inline: auto;
  }

  .transition-bottom .speech {
    margin-left: -24px;
  }

  .service-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .service-message {
    margin-left: -34px;
    margin-top: 0;
  }

  .scope-layout {
    grid-template-columns: minmax(0, 1fr) 430px;
  }

  .closing-response {
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: end;
  }

  .closing-response::before {
    left: 90px;
    top: auto;
    bottom: 18px;
  }

  .closing-response .speech {
    margin-left: -24px;
  }

  .fit-layout,
  .process-layout,
  .faq-layout,
  .form-layout,
  .footer-grid {
    grid-template-columns: .85fr 1.15fr;
  }

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

  .mobile-sticky-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 52px;
  }
}

@media (min-width: 1020px) {
  .slide-hero {
    min-height: 780px;
  }

  .reason-slide {
    min-height: 640px;
  }

  .person-photo {
    width: 185px;
  }

  .director-intro img {
    width: 250px;
  }
}

/* Mobile refinements */
@media (max-width: 759px) {
  .site-header {
    padding-inline: 14px;
  }

  .header-logo img {
    height: 31px;
  }

  .header-phone {
    padding: 8px 10px;
    font-size: 12px;
  }

  .slide-hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .btn-ghost {
    min-height: 48px;
  }

  .story-copy,
  .speech,
  .lead-form,
  .fit-panel {
    padding: 21px;
  }

  .story-copy h2,
  .speech h2 {
    font-size: clamp(27px, 8vw, 38px);
  }

  .story-character .person-photo {
    width: 160px;
  }

  .story-copy {
    margin-top: -6px;
  }

  .story-copy::before {
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }

  .story-layout-reverse .story-copy::before {
    right: auto;
    left: 50%;
  }

  .person-block::before,
  .story-character::before,
  .director-intro::before,
  .closing-response::before {
    opacity: .86;
  }

  .transition-main {
    text-align: left;
  }

  .transition-main::after {
    left: 42px;
    transform: rotate(45deg);
  }

  .form-layout {
    gap: 22px;
  }

  .scope-list li {
    padding-right: 14px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}


/* =========================================================
V4 visual + navigation/contact updates
- Soft demo avatars
- Dot navigation
- Hotline/Zalo widgets
- Expanded footer
========================================================= */

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-zalo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #e9fff2;
  color: #087a3a;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(28, 108, 60, .08);
}

.header-zalo::before {
  content: "Z";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #087a3a;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.dot-nav {
  position: fixed;
  right: max(14px, calc((100vw - var(--container)) / 2 - 54px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: none;
  flex-direction: column;
  gap: 11px;
  padding: 10px 8px;
  border-radius: 999px;
  background: rgba(255, 250, 242, .82);
  border: 1px solid rgba(112, 77, 53, .12);
  box-shadow: 0 16px 38px rgba(63,43,32,.10);
  backdrop-filter: blur(14px);
}

.dot-nav a {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(112, 77, 53, .24);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.dot-nav a::before {
  content: attr(data-dot);
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0;
  font-weight: 900;
}

.dot-nav a span {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, right .18s ease;
}

.dot-nav a:hover,
.dot-nav a.is-active {
  transform: scale(1.18);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(217,72,53,.25);
}

.dot-nav a:hover span,
.dot-nav a.is-active span {
  opacity: 1;
  right: 24px;
}

.person-photo,
.replace-photo-director,
.replace-photo-customer {
  filter: var(--shadow-avatar);
}

.story-character::before,
.director-intro::before,
.closing-response::before,
.person-block::before {
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.96), rgba(255,239,214,.82) 42%, rgba(231,198,162,.52) 70%);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 18px 45px rgba(63,43,32,.10);
}

.speech,
.story-copy {
  backdrop-filter: blur(4px);
}

.bubble-icon,
.reason-icon,
.scope-list li::before {
  filter: drop-shadow(0 4px 8px rgba(63,43,32,.12));
}

.floating-contact {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 62;
  display: grid;
  gap: 10px;
}

.floating-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 13px 9px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(63,43,32,.18);
}

.floating-contact-item span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}

.floating-contact-item.is-phone {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.floating-contact-item.is-zalo {
  background: linear-gradient(135deg, #087a3a, #20b060);
}

.site-footer {
  padding: 54px 0 112px;
  background:
    radial-gradient(circle at 12% 0%, rgba(240,138,82,.16), transparent 28%),
    linear-gradient(180deg, #3f2b20 0%, #241912 100%);
}

.footer-grid-v4 {
  grid-template-columns: 1fr;
}

.footer-brand {
  max-width: 460px;
}

.footer-lead {
  font-weight: 800;
  color: #fff !important;
  margin-bottom: 10px;
}

.footer-note {
  font-size: 13px;
  line-height: 1.7;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.82);
}

.footer-list li {
  position: relative;
  padding-left: 18px;
}

.footer-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 900;
}

.footer-hotline a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff !important;
  font-weight: 900;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  color: rgba(255,255,255,.58);
  font-size: 12px;
}

.mobile-sticky-cta a::before {
  content: "🔎";
}

@media (min-width: 1020px) {
  .dot-nav { display: flex; }
  .footer-grid-v4 {
    grid-template-columns: 1.2fr .9fr .9fr;
    align-items: start;
  }
  .floating-contact {
    bottom: 24px;
  }
}

@media (max-width: 759px) {
  .header-contact {
    gap: 6px;
  }

  .header-zalo {
    padding: 8px 10px;
    font-size: 12px;
  }

  .header-zalo::before {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .header-phone {
    font-size: 12px;
  }

  .floating-contact {
    right: 12px;
    bottom: 78px;
    gap: 8px;
  }

  .floating-contact-item {
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    justify-content: center;
  }

  .floating-contact-item strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .floating-contact-item span {
    width: 34px;
    height: 34px;
  }

  .site-footer {
    padding-bottom: 148px;
  }
}


.closing-customer {
  display: grid;
  gap: 0;
  justify-items: end;
  align-items: end;
}

.closing-customer .person-photo {
  width: 132px;
  margin-right: 26px;
  margin-bottom: -12px;
  position: relative;
  z-index: 2;
}

.closing-customer .speech {
  width: min(100%, 820px);
}

@media (min-width: 760px) {
  .closing-customer {
    grid-template-columns: minmax(0, 1fr) 160px;
  }
  .closing-customer .person-photo {
    grid-column: 2;
    grid-row: 1;
    margin: 0 20px -8px 0;
  }
  .closing-customer .speech {
    grid-column: 1 / 3;
    grid-row: 1;
    padding-right: 180px;
  }
}



/* =========================================================
V5 polish
- Dotnav moved to left with progress rail + glow effect
- Official Zalo OA widget supported
- Softer avatar blending / less rigid visual
========================================================= */

@media (min-width: 1020px) {
  .dot-nav {
    left: max(14px, calc((100vw - var(--container)) / 2 - 70px));
    right: auto;
    gap: 13px;
    padding: 14px 10px;
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,248,238,.72));
    border: 1px solid rgba(112, 77, 53, .14);
    box-shadow:
      0 18px 46px rgba(63,43,32,.12),
      inset 0 1px 0 rgba(255,255,255,.76);
    backdrop-filter: blur(16px);
  }

  .dot-nav::before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(214,91,53,.38), rgba(112,77,53,.12));
    z-index: -1;
  }

  .dot-nav a {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.82);
    background: radial-gradient(circle at 35% 35%, #fff 0 18%, #dec7ad 19% 100%);
    box-shadow:
      0 6px 14px rgba(63,43,32,.13),
      0 0 0 4px rgba(255,255,255,.42);
  }

  .dot-nav a::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(217,72,53,.20), transparent 64%);
    opacity: 0;
    transform: scale(.65);
    transition: opacity .22s ease, transform .22s ease;
    z-index: -1;
  }

  .dot-nav a span {
    left: 28px;
    right: auto;
    padding: 7px 11px;
    background: rgba(63,43,32,.94);
    box-shadow: 0 10px 20px rgba(63,43,32,.16);
    transform: translate(-6px, -50%);
  }

  .dot-nav a span::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: rgba(63,43,32,.94);
    transform: translateY(-50%) rotate(45deg);
    border-radius: 2px;
  }

  .dot-nav a:hover,
  .dot-nav a.is-active {
    transform: scale(1.26);
    background: radial-gradient(circle at 35% 35%, #fff 0 16%, var(--accent-2) 17% 45%, var(--accent) 46% 100%);
    box-shadow:
      0 10px 22px rgba(217,72,53,.26),
      0 0 0 6px rgba(217,72,53,.10);
  }

  .dot-nav a:hover::after,
  .dot-nav a.is-active::after {
    opacity: 1;
    transform: scale(1);
  }

  .dot-nav a:hover span,
  .dot-nav a.is-active span {
    left: 34px;
    right: auto;
    opacity: 1;
    transform: translate(0, -50%);
  }
}

.person-photo,
.replace-photo-director,
.replace-photo-customer {
  filter:
    drop-shadow(0 18px 24px rgba(63,43,32,.15))
    drop-shadow(0 4px 8px rgba(63,43,32,.10));
  transform-origin: 50% 90%;
}

.soft-character-card:hover .person-photo,
.story-character:hover .person-photo,
.director-intro:hover .replace-photo-director,
.closing-response:hover .person-photo {
  transform: translateY(-4px) rotate(-1.2deg);
  transition: transform .28s ease;
}

.story-character::before,
.director-intro::before,
.closing-response::before,
.person-block::before {
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.98), rgba(255,242,220,.88) 42%, rgba(231,198,162,.62) 70%),
    linear-gradient(135deg, rgba(255,255,255,.8), rgba(244,226,202,.56));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    0 20px 52px rgba(63,43,32,.12);
}

.header-zalo,
.floating-contact-item.is-zalo {
  background: linear-gradient(135deg, #0078ff, #00b7ff);
  color: #fff;
}

.header-zalo::before,
.floating-contact-item.is-zalo span {
  background: rgba(255,255,255,.22);
  color: #fff;
}

.zalo-chat-widget {
  z-index: 70 !important;
}

@media (max-width: 759px) {
  .zalo-chat-widget {
    transform: scale(.92);
    transform-origin: right bottom;
  }
}

.zalo-chat-widget.is-pulsing {
  animation: zaloWidgetPulse 1.2s ease 1;
}

@keyframes zaloWidgetPulse {
  0% { filter: drop-shadow(0 0 0 rgba(0,120,255,0)); transform: scale(1); }
  35% { filter: drop-shadow(0 0 18px rgba(0,120,255,.45)); transform: scale(1.04); }
  100% { filter: drop-shadow(0 0 0 rgba(0,120,255,0)); transform: scale(1); }
}


/* =========================================================
V6 Upgrade
- Photo-style cutout character using real demo photos
- Story progress rail replaces classic dotnav
- Premium active/hover effects
========================================================= */

:root {
  --rail-bg: rgba(255, 250, 242, .86);
  --rail-active: #d94835;
  --rail-ink: #4a3326;
  --photo-ring: rgba(255, 255, 255, .78);
}

/* Photo cutout characters */
.photo-character {
  --reaction-bg: linear-gradient(135deg, #fffaf2, #fff1d4);
  isolation: isolate;
}

.photo-character::before {
  opacity: .96;
  transform: rotate(-4deg);
  filter: saturate(1.04);
}

.photo-character::after {
  content: attr(data-reaction);
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) rotate(-2deg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 170px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--reaction-bg);
  border: 1px solid rgba(112,77,53,.13);
  box-shadow: 0 12px 26px rgba(63,43,32,.10);
  color: #6d442f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
}



.photo-character[data-reaction="Băn khoăn"]::after {
  content: "Băn khoăn?";
}

.photo-character[data-reaction="Suy nghĩ"]::after {
  content: "Đang cân nhắc";
}

.photo-character[data-reaction="Muốn thử"]::after {
  content: "Muốn đăng ký";
}

.photo-cutout,
.person-photo.photo-cutout {
  width: clamp(178px, 18vw, 270px);
  max-height: 410px;
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 28px 32px rgba(39, 26, 17, .20))
    drop-shadow(0 8px 10px rgba(39, 26, 17, .10));
  transform-origin: 50% 92%;
  transition: transform .32s ease, filter .32s ease;
}

.director-intro .photo-cutout {
  width: clamp(190px, 20vw, 280px);
}

.customer-side .photo-cutout,
.closing-customer .photo-cutout,
.transition-bottom .photo-cutout {
  width: clamp(170px, 17vw, 245px);
}

.story-character .photo-cutout {
  width: clamp(190px, 19vw, 280px);
}

.photo-character:hover .photo-cutout {
  transform: translateY(-6px) scale(1.015);
  filter:
    drop-shadow(0 34px 38px rgba(39, 26, 17, .24))
    drop-shadow(0 10px 14px rgba(39, 26, 17, .12));
}

.story-character,
.director-intro,
.person-block,
.closing-response,
.closing-customer,
.transition-bottom {
  min-height: 245px;
}

.story-character::before,
.director-intro::before,
.person-block::before,
.closing-response::before,
.closing-customer::before,
.transition-bottom::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(190px, 22vw, 310px);
  height: clamp(190px, 22vw, 310px);
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) rotate(-7deg);
  border-radius: 46% 54% 42% 58% / 56% 42% 58% 44%;
  background:
    radial-gradient(circle at 32% 25%, rgba(255,255,255,.96), transparent 30%),
    radial-gradient(circle at 72% 22%, rgba(255,228,174,.45), transparent 34%),
    linear-gradient(135deg, rgba(255,239,211,.94), rgba(211,180,136,.66));
  box-shadow:
    inset 0 0 0 1px rgba(112,77,53,.10),
    0 28px 66px rgba(63,43,32,.13);
}

.story-character::after,
.director-intro::after,
.closing-response::after {
  left: 50%;
  bottom: 4px;
}

.naka-side.photo-character::after {
  bottom: 8px;
}

.transition-bottom.photo-character::after,
.closing-customer.photo-character::after {
  bottom: -4px;
}

.story-copy,
.speech,
.speech-white,
.service-message,
.form-disclaimer,
.lead-form {
  box-shadow:
    0 22px 54px rgba(63, 43, 32, .105),
    0 1px 0 rgba(255, 255, 255, .88) inset;
}

/* Give bubbles a premium glass feel around photo characters */
.speech {
  border-color: rgba(112,77,53,.13);
  backdrop-filter: blur(8px);
}

.speech-customer {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,250,242,.94));
}

.speech-naka {
  background:
    linear-gradient(180deg, rgba(255,247,232,.98), rgba(255,255,255,.96));
}

/* V6 replacement placeholders */
.replace-photo-director.photo-cutout,
.replace-photo-customer.photo-cutout {
  filter:
    drop-shadow(0 28px 32px rgba(39, 26, 17, .20))
    drop-shadow(0 8px 10px rgba(39, 26, 17, .10));
}


/* Real-photo frame instead of broken transparent cutout */
.photo-character::before,
.story-character::before,
.director-intro::before,
.person-block::before,
.closing-response::before {
  border-radius: 34% 66% 44% 56% / 42% 38% 62% 58%;
  opacity: .92;
}

.photo-character::after {
  bottom: -2px;
  z-index: 8;
}

.photo-cutout,
.person-photo.photo-cutout {
  width: clamp(166px, 18vw, 245px);
  height: clamp(230px, 25vw, 260px);
  max-height: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 30px 30px 24px 24px;
  background: #fffaf2;
  border: 6px solid rgba(255,255,255,.76);
  box-shadow:
    0 22px 46px rgba(63,43,32,.16),
    0 2px 0 rgba(255,255,255,.9) inset;
  filter: saturate(1.02) contrast(1.02);
  clip-path: none;
}

.director-intro .photo-cutout,
.hero-character .photo-cutout {
  width: clamp(176px, 19vw, 260px);
  height: clamp(250px, 26vw, 350px);
  object-position: center top;
}

.story-character:hover .photo-cutout,
.person-block:hover .photo-cutout,
.director-intro:hover .photo-cutout,
.closing-response:hover .photo-cutout {
  transform: translateY(-3px) rotate(.5deg);
  filter: saturate(1.04) contrast(1.03);
}

/* Header: keep only hotline, no Zalo pill beside it */
.header-contact {
  gap: 0;
}

/* Floating contact: hotline only, separated from official Zalo OA widget */
.floating-contact {
  left: 18px;
  right: auto;
  bottom: 24px;
  z-index: 68;
}

.floating-contact-item.is-zalo,
.header-zalo {
  display: none !important;
}

.floating-contact-item.is-phone {
  min-height: 50px;
  padding: 10px 14px 10px 11px;
}

/* Official Zalo OA widget position. It should not overlap hotline. */
.zalo-chat-widget {
  right: 18px !important;
  bottom: 24px !important;
  z-index: 70 !important;
}

@media (max-width: 759px) {
  .floating-contact {
    left: 12px;
    bottom: 82px;
    z-index: 68;
  }

  .floating-contact-item {
    min-height: 44px;
    padding: 8px 11px 8px 8px;
    font-size: 12px;
  }

  .floating-contact-item span {
    width: 28px;
    height: 28px;
  }

  .zalo-chat-widget {
    right: 10px !important;
    bottom: 82px !important;
    transform: scale(.88);
    transform-origin: right bottom;
  }
}

/* =========================================================
SECTION 7-8 Chat Story Replacement
- Chỉ áp dụng cho #problem và #service
- Không ảnh hưởng JS tracking / form / UTM
========================================================= */

.chat-story-section {
  display: grid;
  gap: 24px;
}

.chat-section-title {
  width: min(100%, 900px);
  margin-inline: auto;
  text-align: center;
}

.chat-section-title h2 {
  max-width: 880px;
  margin-inline: auto;
}

.chat-exchange {
  display: grid;
  gap: 18px;
  width: 100%;
}

.chat-bubble-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  width: min(100%, 980px);
}

.chat-bubble-row.customer-row {
  justify-self: start;
}

.chat-bubble-row.naka-row {
  grid-template-columns: minmax(0, 1fr) 96px;
  justify-self: end;
}

.chat-bubble-row.naka-row .chat-speaker-avatar {
  grid-column: 2;
  grid-row: 1;
}

.chat-bubble-row.naka-row .chat-bubble {
  grid-column: 1;
  grid-row: 1;
}

.chat-speaker-avatar {
  position: relative;
  min-height: 112px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}

.chat-speaker-avatar::before {
  width: 94px !important;
  height: 94px !important;
  left: 50% !important;
  bottom: 4px !important;
  transform: translateX(-50%) rotate(-6deg) !important;
}

.chat-speaker-avatar::after {
  bottom: -8px;
  font-size: 11px;
  max-width: 128px;
}

.chat-speaker-avatar .person-photo,
.chat-speaker-avatar .person-photo.photo-cutout {
  width: 82px !important;
  height: 106px !important;
  border-width: 4px;
  border-radius: 22px;
}

.chat-bubble {
  padding: 24px 26px;
}

.chat-bubble p {
  margin: 0;
}

.chat-bubble p + p {
  margin-top: 12px;
}

.chat-story-section .transition-cta,
.chat-story-section .service-cta {
  width: fit-content;
  justify-self: center;
}

.chat-story-section-8.service-layout {
  grid-template-columns: 1fr;
  align-items: stretch;
  justify-items: stretch;
}

@media (min-width: 760px) {
  .chat-bubble-row.customer-row .chat-bubble {
    border-radius: 34px 34px 34px 12px;
  }

  .chat-bubble-row.customer-row .chat-bubble::after {
    left: -10px;
    right: auto;
    border-left: 1px solid rgba(112,77,53,.14);
    border-right: 0;
    background: #fffaf4;
  }

  .chat-bubble-row.naka-row .chat-bubble {
    border-radius: 34px 34px 12px 34px;
  }

  .chat-bubble-row.naka-row .chat-bubble::after {
    left: auto;
    right: -10px;
    border-left: 0;
    border-right: 1px solid rgba(112,77,53,.14);
  }
}

@media (max-width: 759px) {
  .chat-story-section {
    gap: 20px;
  }

  .chat-section-title {
    text-align: left;
  }

  .chat-section-title h2 {
    font-size: clamp(26px, 7.6vw, 36px);
  }

  .chat-exchange {
    gap: 14px;
  }

  .chat-bubble-row,
  .chat-bubble-row.naka-row {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    justify-self: stretch;
    width: 100%;
    align-items: start;
  }

  .chat-bubble-row.naka-row .chat-speaker-avatar {
    grid-column: 1;
    grid-row: 1;
  }

  .chat-bubble-row.naka-row .chat-bubble {
    grid-column: 2;
    grid-row: 1;
  }

  .chat-speaker-avatar {
    min-height: 52px;
    padding-top: 4px;
    align-items: flex-start;
  }

  .chat-speaker-avatar::before,
  .chat-speaker-avatar::after {
    display: none;
  }

  .chat-speaker-avatar .person-photo,
  .chat-speaker-avatar .person-photo.photo-cutout {
    width: 44px !important;
    height: 44px !important;
    border-width: 2px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center top;
  }

  .chat-bubble {
    padding: 18px;
    border-radius: 22px;
  }

  .chat-bubble::after {
    display: none;
  }

  .chat-bubble p + p {
    margin-top: 10px;
  }

  .chat-story-section .transition-cta,
  .chat-story-section .service-cta {
    width: 100%;
  }
}


/* =========================================================
SECTION 7-8 Update — shorter Q&A + solution intro
- Giữ data-cta / data-cta-location trong HTML
- Không ảnh hưởng form / UTM / submit JS
========================================================= */

/* Section 7: tighten story Q&A */
.chat-story-section-7 .chat-section-title {
  width: min(100%, 860px);
}

.chat-story-section-7 .chat-exchange {
  gap: 16px;
}

.chat-story-section-7 .chat-bubble-row {
  width: min(100%, 900px);
}

.chat-story-section-7 .chat-bubble {
  padding: 22px 24px;
}

.chat-story-section-7 .chat-bubble p {
  font-size: 16px;
  line-height: 1.66;
}

.chat-story-section-7 .chat-speaker-avatar {
  min-height: 104px;
}

.chat-story-section-7 .chat-speaker-avatar .person-photo,
.chat-story-section-7 .chat-speaker-avatar .person-photo.photo-cutout {
  width: 78px !important;
  height: 102px !important;
}

.photo-character[data-reaction="Bối rối"]::after {
  content: "Bối rối";
}

.photo-character[data-reaction="NakaJP tư vấn"]::after {
  content: "NakaJP tư vấn";
  --reaction-bg: linear-gradient(135deg, #fff, #ffe9cf);
}

/* Section 8: solution introduction, no customer bubble */
.slide-service {
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.64), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(217,72,53,.10), transparent 26%),
    linear-gradient(180deg, #d1c2a6 0%, #efe1cc 100%);
}

.service-solution-layout {
  display: grid;
  gap: 30px;
  align-items: center;
}

.service-solution-copy {
  position: relative;
  z-index: 2;
}

.service-solution-copy h2 {
  max-width: 720px;
}

.service-subheadline {
  margin-top: 16px;
  color: var(--brand-dark);
  font-size: clamp(18px, 3.6vw, 22px);
  font-weight: 900;
  line-height: 1.45;
}

.service-body {
  max-width: 680px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

.service-solution-copy .service-cta {
  width: fit-content;
  margin-top: 24px;
}

.service-transition-link {
  display: flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: none;
}

.service-transition-link::after {
  content: "↓";
  margin-left: 8px;
  color: var(--accent);
}

.service-solution-visual {
  position: relative;
  isolation: isolate;
  border-radius: 34px;
}

.service-solution-visual::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,244,221,.28));
  border: 1px solid rgba(112,77,53,.12);
  box-shadow: 0 24px 70px rgba(63,43,32,.13);
}

.service-solution-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 8px solid rgba(255,255,255,.66);
  border-radius: 34px;
  box-shadow: var(--shadow-card);
}

.review-overlay {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 240px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 254, 251, .94);
  border: 1px solid rgba(112,77,53,.14);
  box-shadow: 0 14px 30px rgba(63,43,32,.14);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.review-overlay::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
}

.review-overlay-1 {
  top: 22px;
  left: 22px;
}

.review-overlay-2 {
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

.review-overlay-3 {
  left: 28px;
  bottom: 24px;
}

@media (min-width: 760px) {
  .service-solution-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 46%);
    gap: 44px;
  }

  .service-solution-copy {
    padding-right: 4px;
  }
}

@media (max-width: 759px) {
  .chat-story-section-7 {
    gap: 18px;
  }

  .chat-story-section-7 .chat-exchange {
    gap: 14px;
  }

  .chat-story-section-7 .chat-bubble-row,
  .chat-story-section-7 .chat-bubble-row.naka-row {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
  }

  .chat-story-section-7 .chat-speaker-avatar {
    min-height: 52px;
  }

  .chat-story-section-7 .chat-speaker-avatar .person-photo,
  .chat-story-section-7 .chat-speaker-avatar .person-photo.photo-cutout {
    width: 44px !important;
    height: 44px !important;
  }

  .chat-story-section-7 .chat-bubble {
    padding: 17px;
  }

  .chat-story-section-7 .chat-bubble p {
    font-size: 15px;
    line-height: 1.62;
  }

  .service-solution-layout {
    gap: 24px;
  }

  .service-solution-copy .service-cta,
  .service-transition-link {
    width: 100%;
    justify-content: center;
  }

  .service-solution-visual {
    max-height: 420px;
  }

  .service-solution-visual::before {
    inset: -8px;
    border-radius: 30px;
  }

  .service-solution-visual img {
    aspect-ratio: 16 / 10;
    max-height: 330px;
    border-width: 5px;
    border-radius: 24px;
  }

  .review-overlay {
    max-width: 210px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .review-overlay::before {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .review-overlay-1 {
    top: 12px;
    left: 12px;
  }

  .review-overlay-2 {
    top: auto;
    right: 12px;
    bottom: 52px;
    transform: none;
  }

  .review-overlay-3 {
    left: 12px;
    bottom: 12px;
  }
}


/* =========================================================
SECTION 7–8 Layout Optimization v2
Goal:
- Avatar bám sát bubble, không trôi xa / không che text
- Section 7 giữ story hỏi đáp 2 bubble
- Section 8 giữ solution layout, visual gọn và dẫn xuống Section 9
- Không ảnh hưởng form / UTM / JS submit / tracking hooks
========================================================= */

/* Section 7: PDF-inspired dialogue frame */
.chat-story-section-7 {
  gap: 26px;
}

.chat-story-section-7 .chat-section-title {
  width: min(100%, 900px);
  text-align: center;
}

.chat-story-section-7 .chat-exchange {
  width: min(100%, 1000px);
  margin-inline: auto;
  gap: 22px;
}

/* Desktop/tablet: avatar is a small speaker card attached to bubble edge */
.chat-story-section-7 .chat-bubble-row,
.chat-story-section-7 .chat-bubble-row.naka-row {
  position: relative;
  width: min(100%, 920px);
  gap: 0;
  align-items: center;
}

.chat-story-section-7 .chat-bubble-row.customer-row {
  grid-template-columns: 108px minmax(0, 1fr);
  justify-self: start;
}

.chat-story-section-7 .chat-bubble-row.naka-row {
  grid-template-columns: minmax(0, 1fr) 108px;
  justify-self: end;
}

.chat-story-section-7 .chat-speaker-avatar {
  position: relative;
  z-index: 4;
  min-height: 132px;
  width: 108px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.chat-story-section-7 .customer-row .chat-speaker-avatar {
  transform: translateX(16px);
}

.chat-story-section-7 .naka-row .chat-speaker-avatar {
  transform: translateX(-16px);
}

.chat-story-section-7 .chat-speaker-avatar::before {
  display: block;
  content: "";
  position: absolute;
  z-index: -1;
  width: 104px !important;
  height: 104px !important;
  left: 50% !important;
  bottom: 10px !important;
  transform: translateX(-50%) rotate(-5deg) !important;
  border-radius: 38% 62% 48% 52% / 45% 40% 60% 55%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,.96), transparent 34%),
    linear-gradient(135deg, rgba(255,242,218,.96), rgba(215,184,141,.72));
  box-shadow:
    inset 0 0 0 1px rgba(112,77,53,.10),
    0 18px 38px rgba(63,43,32,.14);
}

.chat-story-section-7 .chat-speaker-avatar::after {
  content: attr(data-reaction);
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  display: inline-flex;
  justify-content: center;
  width: max-content;
  max-width: 126px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,254,251,.96);
  border: 1px solid rgba(112,77,53,.14);
  box-shadow: 0 10px 20px rgba(63,43,32,.12);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.chat-story-section-7 .chat-speaker-avatar[data-reaction="NakaJP tư vấn"]::after {
  background: linear-gradient(135deg, #fff, #ffe9cf);
  color: var(--accent-dark);
}

.chat-story-section-7 .chat-speaker-avatar .person-photo,
.chat-story-section-7 .chat-speaker-avatar .person-photo.photo-cutout {
  width: 84px !important;
  height: 112px !important;
  max-height: none;
  border-width: 4px;
  border-radius: 24px 24px 20px 20px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 14px 26px rgba(63,43,32,.16);
  filter: saturate(1.02) contrast(1.02);
}

.chat-story-section-7 .chat-bubble {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 812px;
  margin: 0;
  padding: 24px 30px;
  overflow: visible;
  border: 1px solid rgba(112,77,53,.15);
  box-shadow:
    0 18px 46px rgba(63,43,32,.105),
    0 1px 0 rgba(255,255,255,.92) inset;
}

.chat-story-section-7 .customer-row .chat-bubble {
  padding-left: 34px;
  border-radius: 34px 34px 34px 18px;
}

.chat-story-section-7 .naka-row .chat-bubble {
  padding-right: 34px;
  border-radius: 34px 34px 18px 34px;
  justify-self: end;
}

.chat-story-section-7 .chat-bubble::after {
  display: none;
}

.chat-story-section-7 .chat-bubble span:not(.bubble-icon) {
  margin-bottom: 10px;
}

.chat-story-section-7 .chat-bubble p {
  max-width: 100%;
  margin: 0;
  font-size: 16px;
  line-height: 1.68;
}

.chat-story-section-7 .chat-bubble p + p {
  margin-top: 10px;
}

.chat-story-section-7 .transition-cta {
  margin-top: 0;
  justify-self: center;
}

/* Section 8: professional solution card + compact technical visual */
.slide-service {
  padding-block: 78px;
}

.service-solution-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 46%);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.service-solution-copy {
  min-width: 0;
}

.service-solution-copy h2 {
  max-width: 760px;
}

.service-subheadline {
  max-width: 650px;
  margin-top: 16px;
  color: var(--brand-dark);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 900;
  line-height: 1.44;
}

.service-body {
  max-width: 680px;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.72;
}

.service-solution-copy .service-cta {
  min-height: 56px;
  margin-top: 24px;
}

.service-transition-link {
  align-items: center;
  margin-top: 14px;
}

.service-solution-visual {
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.service-solution-visual::before {
  inset: -14px;
}

.service-solution-visual img {
  aspect-ratio: 4 / 3;
  max-height: 430px;
  object-fit: cover;
  object-position: center;
}

.review-overlay {
  backdrop-filter: blur(8px);
}

.review-overlay-1 {
  top: 20px;
  left: 20px;
}

.review-overlay-2 {
  top: 50%;
  right: 16px;
}

.review-overlay-3 {
  left: 22px;
  bottom: 22px;
}

/* Tablet and mobile: keep reading order and prevent avatar/text collision */
@media (max-width: 900px) {
  .service-solution-layout {
    grid-template-columns: 1fr;
  }

  .service-solution-visual {
    max-width: 640px;
    justify-self: center;
  }
}

@media (max-width: 759px) {
  .slide-transition,
  .slide-service {
    padding-block: 54px;
  }

  .chat-story-section-7 {
    gap: 18px;
  }

  .chat-story-section-7 .chat-section-title {
    text-align: left;
  }

  .chat-story-section-7 .chat-exchange {
    gap: 14px;
  }

  .chat-story-section-7 .chat-bubble-row,
  .chat-story-section-7 .chat-bubble-row.customer-row,
  .chat-story-section-7 .chat-bubble-row.naka-row {
    grid-template-columns: 48px minmax(0, 1fr);
    width: 100%;
    justify-self: stretch;
    align-items: start;
    gap: 10px;
  }

  .chat-story-section-7 .chat-bubble-row.naka-row .chat-speaker-avatar {
    grid-column: 1;
    grid-row: 1;
  }

  .chat-story-section-7 .chat-bubble-row.naka-row .chat-bubble {
    grid-column: 2;
    grid-row: 1;
  }

  .chat-story-section-7 .customer-row .chat-speaker-avatar,
  .chat-story-section-7 .naka-row .chat-speaker-avatar {
    transform: none;
  }

  .chat-story-section-7 .chat-speaker-avatar {
    width: 48px;
    min-height: 48px;
    align-items: flex-start;
    padding-top: 3px;
  }

  .chat-story-section-7 .chat-speaker-avatar::before,
  .chat-story-section-7 .chat-speaker-avatar::after {
    display: none;
  }

  .chat-story-section-7 .chat-speaker-avatar .person-photo,
  .chat-story-section-7 .chat-speaker-avatar .person-photo.photo-cutout {
    width: 44px !important;
    height: 44px !important;
    border-width: 2px;
    border-radius: 999px;
    object-position: center top;
  }

  .chat-story-section-7 .chat-bubble,
  .chat-story-section-7 .customer-row .chat-bubble,
  .chat-story-section-7 .naka-row .chat-bubble {
    max-width: none;
    padding: 17px;
    border-radius: 22px;
  }

  .chat-story-section-7 .chat-bubble span:not(.bubble-icon) {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .chat-story-section-7 .chat-bubble p {
    font-size: 15px;
    line-height: 1.62;
  }

  .chat-story-section-7 .transition-cta {
    width: 100%;
  }

  .service-solution-layout {
    gap: 24px;
  }

  .service-body {
    font-size: 16px;
    line-height: 1.68;
  }

  .service-solution-copy .service-cta,
  .service-transition-link {
    width: 100%;
    justify-content: center;
  }

  .service-solution-visual {
    max-width: 100%;
  }

  .service-solution-visual::before {
    inset: -8px;
    border-radius: 30px;
  }

  .service-solution-visual img {
    aspect-ratio: 16 / 10;
    max-height: 300px;
    border-width: 5px;
    border-radius: 24px;
  }

  .review-overlay {
    max-width: min(220px, calc(100% - 24px));
    padding: 8px 10px;
    font-size: 12px;
  }

  .review-overlay-1 {
    top: 12px;
    left: 12px;
  }

  .review-overlay-2 {
    top: auto;
    right: 12px;
    bottom: 50px;
    transform: none;
  }

  .review-overlay-3 {
    left: 12px;
    bottom: 12px;
  }
}

@media (max-width: 420px) {
  .chat-story-section-7 .chat-bubble-row,
  .chat-story-section-7 .chat-bubble-row.customer-row,
  .chat-story-section-7 .chat-bubble-row.naka-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
  }

  .chat-story-section-7 .chat-speaker-avatar {
    width: 42px;
  }

  .chat-story-section-7 .chat-speaker-avatar .person-photo,
  .chat-story-section-7 .chat-speaker-avatar .person-photo.photo-cutout {
    width: 38px !important;
    height: 38px !important;
  }

  .review-overlay-2 {
    bottom: 46px;
  }
}


/* =========================================================
NakaJP LP Layout Optimization V2
- Giảm visual repetition từ demo PDF khi chuyển sang landing page
- Reason sections chuyển từ avatar+bubble sang visual cards
- Section 7 avatar gắn sát bubble, không che text
- Không thay đổi form submit / UTM / GTM hooks
========================================================= */

:root {
  --h1-max: 52px;
  --h2-max: 40px;
}

h1 {
  font-size: clamp(30px, 5.8vw, var(--h1-max));
  line-height: 1.18;
  letter-spacing: -.032em;
}

h2 {
  font-size: clamp(24px, 4.6vw, var(--h2-max));
  line-height: 1.22;
  letter-spacing: -.028em;
}

.hero-copy {
  max-width: 760px;
}

.hero-sub {
  max-width: 640px;
  font-size: clamp(16px, 2.4vw, 19px);
}

.speech h2 {
  font-size: clamp(23px, 4vw, 38px);
}

.speech p {
  font-size: 16px;
}

/* Mobile story rail is useful on desktop but heavy on mobile */
@media (max-width: 760px) {
.slide {
    padding: 56px 0;
  }

  h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  h2 {
    font-size: clamp(23px, 7vw, 32px);
  }

  .hero-sub,
  .speech p {
    font-size: 15.5px;
  }
}

/* Reason visual refresh */
.reason-visual-section {
  min-height: auto;
  padding: 82px 0;
}

.reason-explain-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .78fr);
  gap: 30px;
  align-items: center;
}

.reason-explain-layout-reverse {
  grid-template-columns: minmax(360px, .78fr) minmax(0, .92fr);
}

.reason-explain-layout-reverse .reason-copy {
  grid-column: 2;
  grid-row: 1;
}

.reason-explain-layout-reverse .reason-visual-panel {
  grid-column: 1;
  grid-row: 1;
}

.reason-copy-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(112, 77, 53, .14);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 254, 251, .96), rgba(255, 247, 234, .94));
  box-shadow: var(--shadow-soft);
}

.reason-copy-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.72);
  pointer-events: none;
}

.reason-copy-card > * {
  position: relative;
  z-index: 1;
}

.reason-copy-card p {
  margin-top: 16px;
  font-size: 16.5px;
}

.reason-visual-panel {
  position: relative;
  min-height: 330px;
  padding: 70px 24px 24px;
  border-radius: 34px;
  border: 1px solid rgba(112,77,53,.14);
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.78), transparent 32%),
    linear-gradient(145deg, rgba(255,247,232,.94), rgba(222,194,151,.52));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.reason-visual-panel::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(217,72,53,.08);
}

.reason-number-floating {
  position: absolute;
  top: 22px;
  left: 24px;
  margin: 0;
  z-index: 3;
}

.scope-compare-panel {
  display: grid;
  gap: 14px;
}

.quote-compare-card {
  position: relative;
  z-index: 2;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(112,77,53,.13);
  box-shadow: 0 14px 30px rgba(63,43,32,.08);
}

.quote-compare-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 18px;
}

.quote-compare-card ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 700;
}

.quote-compare-good {
  transform: rotate(-1.3deg);
}

.quote-compare-risk {
  transform: rotate(1.2deg);
  border-color: rgba(217,72,53,.24);
}

.material-ladder-panel {
  display: grid;
  gap: 13px;
  align-content: center;
}

.material-step {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 16px 18px 16px 70px;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 26px rgba(63,43,32,.08);
}

.material-step small {
  position: absolute;
  left: 18px;
  top: 50%;
  translate: 0 -50%;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--brand);
  font-weight: 900;
}

.material-step strong {
  color: var(--brand-dark);
  font-size: 18px;
}

.material-step span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.process-timeline-panel {
  display: grid;
  align-content: center;
}

.mini-timeline {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-timeline li {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 14px 16px 14px 58px;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  color: var(--brand-dark);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(63,43,32,.08);
}

.mini-timeline li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 16px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 13px;
}

.mini-timeline {
  counter-reset: item;
}

.red-flag-panel {
  display: grid;
  gap: 14px;
  align-content: center;
}

.red-flag-note {
  position: relative;
  z-index: 2;
  padding: 16px 18px 16px 52px;
  border-radius: 20px;
  background: rgba(255,255,255,.90);
  color: var(--brand-dark);
  font-weight: 900;
  border: 1px solid rgba(217,72,53,.18);
  box-shadow: 0 12px 26px rgba(63,43,32,.08);
}

.red-flag-note::before {
  content: "!";
  position: absolute;
  left: 17px;
  top: 50%;
  translate: 0 -50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

/* Section 7 stress moment */
.stress-moment-section {
  background:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.55), transparent 28%),
    linear-gradient(180deg, #c9b89b 0%, #d9cab0 100%);
}

.stress-moment-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.stress-moment-layout .chat-section-title {
  grid-column: 1 / -1;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.quote-stack-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.mini-quote-doc {
  position: absolute;
  width: min(310px, 88%);
  min-height: 168px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(112,77,53,.13);
  box-shadow: 0 22px 56px rgba(63,43,32,.16);
}

.mini-quote-doc::before,
.mini-quote-doc::after {
  content: "";
  height: 8px;
  border-radius: 999px;
  background: rgba(112,77,53,.14);
}

.mini-quote-doc strong {
  color: var(--brand-dark);
  font-size: 20px;
}

.mini-quote-doc span {
  color: var(--muted);
  font-weight: 800;
}

.mini-quote-doc em {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--cream);
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
  font-size: 24px;
}

.mini-quote-a {
  transform: translate(-18px, -56px) rotate(-8deg);
}

.mini-quote-b {
  transform: translate(20px, 18px) rotate(4deg);
}

.mini-quote-c {
  transform: translate(-8px, 92px) rotate(-2deg);
}

.compact-dialogue {
  display: grid;
  gap: 18px;
}

.compact-dialogue .chat-bubble-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: end;
  gap: 12px;
}

.compact-dialogue .naka-row {
  grid-template-columns: minmax(0, 1fr) 120px;
}

.compact-dialogue .naka-row .chat-speaker-avatar {
  grid-column: 2;
  grid-row: 1;
}

.compact-dialogue .naka-row .chat-bubble {
  grid-column: 1;
  grid-row: 1;
}

.compact-dialogue .chat-speaker-avatar {
  align-self: end;
  display: grid;
  justify-items: center;
  z-index: 3;
}

.compact-dialogue .chat-speaker-avatar .person-photo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 30px rgba(63,43,32,.16);
}

.compact-dialogue .chat-speaker-avatar::after {
  content: attr(data-reaction);
  margin-top: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.compact-dialogue .chat-bubble {
  max-width: none;
  padding: 22px;
  border-radius: 26px;
}

.compact-dialogue .chat-bubble::after {
  display: none;
}

.compact-dialogue .chat-bubble p + p {
  margin-top: 10px;
}

.stress-moment-layout .transition-cta {
  grid-column: 2;
  justify-self: start;
  margin-top: 2px;
}

/* Service and scope */
.service-solution-layout {
  grid-template-columns: minmax(0, .9fr) minmax(340px, .78fr);
  gap: 34px;
}

.service-solution-copy h2 {
  font-size: clamp(25px, 4vw, 42px);
}

.service-body,
.service-subheadline {
  max-width: 680px;
}

.scope-method-layout {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
}

.scope-copy > p {
  margin-top: 14px;
}

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

.scope-method-card {
  min-height: 210px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(112,77,53,.13);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
}

.scope-method-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
}

.scope-method-card h3 {
  margin-bottom: 8px;
}

.scope-method-card p {
  font-size: 15px;
}

@media (max-width: 920px) {
  .reason-explain-layout,
  .reason-explain-layout-reverse,
  .service-solution-layout,
  .scope-method-layout {
    grid-template-columns: 1fr;
  }

  .reason-explain-layout-reverse .reason-copy,
  .reason-explain-layout-reverse .reason-visual-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .reason-visual-panel {
    min-height: auto;
  }

  .stress-moment-layout {
    grid-template-columns: 1fr;
  }

  .quote-stack-visual {
    order: 3;
    min-height: 250px;
  }

  .stress-moment-layout .chat-exchange {
    order: 2;
  }

  .stress-moment-layout .transition-cta {
    order: 4;
    grid-column: auto;
    justify-self: stretch;
  }

  .stress-moment-layout .transition-cta.btn {
    width: 100%;
  }

  .mini-quote-doc {
    width: min(260px, 80%);
    min-height: 132px;
    padding: 18px;
  }

  .mini-quote-a {
    transform: translate(-18px, -34px) rotate(-7deg);
  }

  .mini-quote-b {
    transform: translate(20px, 28px) rotate(4deg);
  }

  .mini-quote-c {
    display: none;
  }
}

@media (max-width: 640px) {
  .reason-visual-section {
    padding: 58px 0;
  }

  .reason-copy-card {
    padding: 22px;
    border-radius: 26px;
  }

  .reason-copy-card p {
    font-size: 15.5px;
  }

  .reason-visual-panel {
    padding: 64px 18px 18px;
    border-radius: 28px;
  }

  .quote-compare-card,
  .material-step,
  .mini-timeline li,
  .red-flag-note {
    border-radius: 18px;
  }

  .compact-dialogue .chat-bubble-row,
  .compact-dialogue .naka-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 9px;
  }

  .compact-dialogue .naka-row .chat-speaker-avatar {
    grid-column: 1;
  }

  .compact-dialogue .naka-row .chat-bubble {
    grid-column: 2;
  }

  .compact-dialogue .chat-speaker-avatar .person-photo {
    width: 44px;
    height: 44px;
    padding: 3px;
  }

  .compact-dialogue .chat-speaker-avatar::after {
    display: none;
  }

  .compact-dialogue .chat-bubble {
    padding: 18px;
    border-radius: 22px;
  }

  .compact-dialogue .chat-bubble span:not(.bubble-icon) {
    margin-bottom: 8px;
  }

  .quote-stack-visual {
    min-height: 210px;
    margin-top: -8px;
  }

  .mini-quote-doc {
    width: min(236px, 86%);
    min-height: 118px;
  }

  .mini-quote-doc strong {
    font-size: 17px;
  }

  .mini-quote-doc span {
    font-size: 13px;
  }

  .service-solution-visual {
    max-height: 360px;
    overflow: hidden;
  }

  .scope-method-grid {
    grid-template-columns: 1fr;
  }

  .scope-method-card {
    min-height: auto;
  }
}


/* =========================================================
NakaJP Quote Review LP — Change Spec V3
- Scope checklist 6 items
- Reason section visual variation
- Service / closing / form refinements
- Keeps tracking/form hooks intact
========================================================= */

:root {
  --h1-max: 52px;
  --h2-max: 40px;
  --h3-max: 24px;
}

h1 {
  font-size: clamp(30px, 5.5vw, var(--h1-max));
  line-height: 1.16;
}

h2 {
  font-size: clamp(26px, 4.2vw, var(--h2-max));
  line-height: 1.18;
}

h3 {
  font-size: clamp(18px, 2.2vw, var(--h3-max));
  line-height: 1.28;
}

#service-title {
  text-transform: none;
  letter-spacing: -0.03em;
}

.section-lead,
.service-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 2.3vw, 19px);
  line-height: 1.72;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid rgba(217, 72, 53, .38);
}

.text-link::after {
  content: "→";
  color: var(--accent);
}

.reason-question {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(217,72,53,.18);
  border-radius: 18px;
  background: rgba(255, 242, 213, .92);
  color: var(--brand-dark);
  font-weight: 900;
  line-height: 1.5;
}

.reason-question::before {
  content: "💬";
  margin-right: 8px;
}

.reason-question.danger {
  background: rgba(255, 238, 234, .94);
  border-color: rgba(217,72,53,.28);
}

.reason-visual-section .reason-visual-panel {
  min-height: 360px;
  align-self: stretch;
}

/* Reason 01 — Quote Comparison A/B */
.reason-01 .quote-compare-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: center;
  padding: 34px 26px 26px;
  background:
    radial-gradient(circle at 15% 18%, rgba(255,255,255,.82), transparent 36%),
    linear-gradient(135deg, rgba(255,250,242,.92), rgba(239,225,204,.76));
}

.quote-sheet {
  position: relative;
  min-height: 250px;
  padding: 22px 18px;
  border: 1px solid rgba(112,77,53,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 20px 44px rgba(63,43,32,.10);
}

.quote-sheet-b {
  transform: translateY(28px);
  background: rgba(255,250,244,.94);
}

.quote-sheet-label {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.quote-sheet-status {
  margin-top: 14px;
  color: var(--brand-dark);
  font-weight: 900;
}

.quote-sheet-status.included::before {
  content: "✓ ";
  color: #40865b;
}

.quote-sheet-status.unclear::before {
  content: "? ";
  color: var(--accent);
}

.quote-sheet ul {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding-left: 18px;
}

.quote-sheet li {
  color: var(--muted);
  font-weight: 700;
}

/* Reason 02 — Material Ladder */
.reason-02 .material-ladder-visual {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 34px 26px 26px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.40), transparent),
    linear-gradient(135deg, #fff7e8, #e8d5b6);
}

.material-tier {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px 18px 16px 76px;
  border: 1px solid rgba(112,77,53,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 30px rgba(63,43,32,.08);
}

.material-tier:nth-of-type(3) { margin-left: 28px; }
.material-tier:nth-of-type(4) { margin-left: 58px; }

.tier-number {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.material-tier h3 {
  margin: 0;
  color: var(--brand-dark);
}

.material-tier p {
  font-size: 14px;
}

/* Reason 03 — Construction Timeline */
.reason-03 .construction-timeline-visual {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 38px 28px 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(217,72,53,.10), transparent 35%),
    linear-gradient(135deg, #fffefb, #ead8bc);
}

.construction-timeline-visual::before {
  content: "";
  position: absolute;
  top: 72px;
  bottom: 48px;
  left: 48px;
  width: 2px;
  background: rgba(217,72,53,.22);
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(112,77,53,.12);
  box-shadow: 0 12px 24px rgba(63,43,32,.07);
}

.timeline-step span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.timeline-step h3 {
  margin: 0;
  font-size: 17px;
}

/* Reason 04 — Red Flag Quote Scan */
.reason-04 .red-flag-quote-visual {
  display: grid;
  place-items: center;
  padding: 38px 28px 28px;
  background:
    radial-gradient(circle at 20% 12%, rgba(255,255,255,.70), transparent 30%),
    linear-gradient(135deg, #fff7e8, #e7cdb0);
}

.quote-document-scan {
  position: relative;
  width: min(100%, 430px);
  min-height: 300px;
  padding: 38px 26px;
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(112,77,53,.14);
  box-shadow: 0 24px 58px rgba(63,43,32,.14);
  transform: rotate(-2deg);
}

.scan-row {
  height: 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(112,77,53,.13);
}

.scan-row.short { width: 62%; }
.scan-row.muted { opacity: .55; }

.red-flag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff0e9;
  border: 1px solid rgba(217,72,53,.26);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(63,43,32,.10);
  transform: rotate(2deg);
}

.red-flag::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
}

.flag-01 { top: 26px; right: -18px; }
.flag-02 { top: 116px; left: -18px; }
.flag-03 { right: -22px; bottom: 92px; }
.flag-04 { left: 32px; bottom: 28px; }

/* Service section */
.service-solution-copy p:not(.eyebrow) + p {
  margin-top: 14px;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 22px;
}

.service-solution-visual {
  min-height: 420px;
}

.service-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(63,43,32,.12);
  border: 1px solid rgba(112,77,53,.12);
}

.service-tag::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
}

.tag-01 { top: 34px; left: 24px; }
.tag-02 { right: 24px; top: 46%; }
.tag-03 { left: 32px; bottom: 34px; }

/* Scope checklist */
.checklist-scope-section {
  background: var(--bg-soft);
}

.scope-checklist-layout {
  display: grid;
  gap: 28px;
}

.scope-header {
  max-width: 840px;
}

.scope-header .section-lead {
  margin-top: 14px;
}

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

.scope-check-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(112,77,53,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 14px 30px rgba(63,43,32,.07);
}

.scope-check-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 900;
}

.scope-check-item h3 {
  margin: 0 0 6px;
  color: var(--brand-dark);
  font-size: 19px;
}

.scope-check-item p {
  font-size: 15px;
}

.scope-check-item-featured {
  background: linear-gradient(135deg, #fff6dc, #fffdf7);
  border-color: rgba(217,72,53,.22);
}

.scope-check-item-featured .scope-check-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.scope-result-note {
  max-width: 900px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,242,213,.84);
  border: 1px solid rgba(217,72,53,.16);
}

.scope-result-note p {
  color: var(--brand-dark);
  font-weight: 800;
}

/* Closing — next steps */
.next-step-section {
  background: linear-gradient(180deg, #d1c2a6 0%, #efe1cc 100%);
}

.next-step-layout {
  display: grid;
  gap: 26px;
  justify-items: center;
}

.next-step-header {
  max-width: 900px;
  text-align: center;
}

.next-step-header .section-lead {
  margin: 16px auto 0;
}

.next-step-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.next-step-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(112,77,53,.13);
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 36px rgba(63,43,32,.09);
}

.next-step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 900;
}

.next-step-card h3 {
  margin-bottom: 10px;
}

/* Fit refinement */
.fit-not h3::before { content: "⛔"; }

/* Form fields */
.lead-form textarea {
  min-height: 112px;
  resize: vertical;
}

/* Mobile sticky CTA */
.mobile-sticky-cta a {
  font-size: 14px;
}

@media (max-width: 860px) {
  .reason-visual-section .reason-visual-panel {
    min-height: auto;
  }

  .reason-01 .quote-compare-visual {
    grid-template-columns: 1fr;
  }

  .quote-sheet-b {
    transform: none;
  }

  .material-tier,
  .material-tier:nth-of-type(3),
  .material-tier:nth-of-type(4) {
    margin-left: 0;
  }

  .scope-checklist-grid,
  .next-step-cards {
    grid-template-columns: 1fr;
  }

  .next-step-header {
    text-align: left;
  }

  .next-step-header .section-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .next-step-layout {
    justify-items: stretch;
  }

  .next-step-layout .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(30px, 8vw, 38px);
  }

  h2 {
    font-size: clamp(25px, 7vw, 31px);
  }

  .chat-quote,
  .large-quote {
    font-size: clamp(24px, 7vw, 30px);
  }

  .reason-visual-panel {
    padding: 26px 18px 20px;
  }

  .quote-sheet {
    min-height: auto;
    padding: 18px 16px;
  }

  .construction-timeline-visual::before {
    left: 40px;
  }

  .quote-document-scan {
    min-height: 260px;
    transform: none;
  }

  .red-flag {
    position: static;
    width: fit-content;
    margin: 8px 0 0;
    transform: none;
  }

  .service-solution-visual {
    min-height: 300px;
  }

  .service-tag {
    font-size: 12px;
    padding: 8px 10px;
  }

  .tag-01 { top: 16px; left: 12px; }
  .tag-02 { right: 12px; top: 46%; }
  .tag-03 { left: 12px; bottom: 16px; }

  .scope-check-item {
    grid-template-columns: 36px 1fr;
    padding: 16px;
  }

  .scope-check-icon {
    width: 32px;
    height: 32px;
  }
}


/* =========================================================
Service Section Refinement — PDF-style announcement
- Reduce long copy
- Keep CTA/data attributes
- Use avatar + large speech-card rhythm inspired by PDF page 8
========================================================= */

.service-announcement-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.82), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(217,72,53,.08), transparent 24%),
    linear-gradient(180deg, #fbf5ea 0%, #f3e5cf 100%);
  overflow: visible;
}

.service-announcement-layout {
  display: grid;
  place-items: center;
  padding-top: 44px;
}

.service-announcement-card {
  position: relative;
  width: min(100%, 980px);
  margin-inline: auto;
  padding: 82px 64px 48px;
  border: 1px solid rgba(112,77,53,.14);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,250,242,.96) 100%);
  box-shadow: 0 30px 90px rgba(63,43,32,.13);
  text-align: center;
  overflow: visible;
}

.service-announcement-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 0;
  border: 1px solid rgba(112,77,53,.08);
  border-radius: 28px;
  pointer-events: none;
}

.service-announcement-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.service-director-badge {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: -64px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  pointer-events: none;
}

.service-director-badge::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 126px;
  height: 126px;
  top: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 20%, rgba(255,255,255,.95), rgba(255,239,215,.72));
  box-shadow: 0 18px 38px rgba(63,43,32,.14);
}

.service-director-badge img {
  width: 118px;
  height: 132px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 22px rgba(44,30,19,.18));
}

.service-director-badge span,
.reaction-label {
  display: inline-flex;
  margin-top: -4px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff2c5;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(63,43,32,.10);
  border: 1px solid rgba(112,77,53,.10);
}

.service-announcement-card .eyebrow {
  margin-bottom: 14px;
  margin-top: 15px;
}

.service-announcement-card h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.15;
  text-align: center;
}

.service-announcement-line {
  max-width: 740px;
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: -.02em;
}

.service-announcement-support {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.72;
}

.service-mini-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.service-mini-checks span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,244,223,.92);
  color: var(--brand-dark);
  border: 1px solid rgba(217,72,53,.16);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(63,43,32,.07);
}

.service-mini-checks span::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.service-announcement-actions {
  justify-content: center;
  margin-top: 26px;
}

.service-customer-reaction {
  position: absolute;
  z-index: 3;
  right: -34px;
  bottom: 40px;
  display: grid;
  justify-items: center;
  gap: 0;
}

.service-customer-reaction::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 104px;
  height: 104px;
  top: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 34px rgba(63,43,32,.12);
  border: 8px solid rgba(255,255,255,.58);
}

.service-customer-reaction img {
  width: 96px;
  height: 118px;
  object-fit: cover;
  object-position: center top;
  border-radius: 999px;
  filter: drop-shadow(0 12px 18px rgba(44,30,19,.15));
}

.reaction-mark {
  position: absolute;
  top: 2px;
  right: 8px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 20px rgba(217,72,53,.25);
}

@media (max-width: 920px) {
  .service-announcement-layout {
    padding-top: 50px;
  }

  .service-announcement-card {
    width: min(100%, 760px);
    padding: 82px 32px 38px;
  }

  .service-customer-reaction {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 22px;
  }

  .service-customer-reaction img {
    width: 76px;
    height: 88px;
  }

  .service-customer-reaction::before {
    width: 84px;
    height: 84px;
  }

  .reaction-mark {
    right: calc(50% - 42px);
  }
}

@media (max-width: 640px) {
  .service-announcement-section {
    overflow: hidden;
  }

  .service-announcement-layout {
    padding-top: 40px;
  }

  .service-announcement-card {
    padding: 70px 18px 26px;
    border-radius: 30px;
  }

  .service-announcement-card::before {
    inset: 8px;
    border-radius: 24px;
  }

  .service-director-badge {
    top: -50px;
  }

  .service-director-badge img {
    width: 92px;
    height: 104px;
  }

  .service-director-badge::before {
    width: 98px;
    height: 98px;
    top: 12px;
  }

  .service-director-badge span,
  .reaction-label {
    font-size: 11px;
    padding: 6px 9px;
  }

  .service-announcement-card h2 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .service-announcement-line {
    margin-top: 16px;
    font-size: clamp(20px, 6vw, 25px);
  }

  .service-announcement-support {
    font-size: 15px;
    line-height: 1.65;
  }

  .service-mini-checks {
    gap: 8px;
  }

  .service-mini-checks span {
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
  }

  .service-announcement-actions {
    width: 100%;
  }

  .service-announcement-actions .btn,
  .service-announcement-actions .text-link {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================================
Reason Sections — Dual Avatar Story Layer
- Add 1 customer avatar + 1 NakaJP advisor avatar per reason
- Keep existing reason visuals and titles
- Inspired by PDF pages 3–6: customer listens/thinks, advisor explains with 1–4 finger cues
========================================================= */

.reason-copy-card {
  overflow: visible;
  padding-top: 42px;
}

.reason-visual-panel {
  overflow: visible;
}

.reason-person-badge {
  position: absolute;
  z-index: 8;
  display: grid;
  justify-items: center;
  width: 104px;
  pointer-events: none;
}

.reason-person-badge img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  border: 7px solid rgba(255,255,255,.86);
  background: #fff;
  box-shadow: 0 18px 38px rgba(63,43,32,.16);
}

.reason-person-badge::before {
  content: attr(data-expression);
  position: absolute;
  z-index: 2;
  top: -7px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(217,72,53,.28);
}

.reason-person-badge span {
  display: inline-flex;
  width: max-content;
  max-width: 130px;
  margin-top: -8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 247, 222, .96);
  border: 1px solid rgba(112,77,53,.12);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  box-shadow: 0 10px 22px rgba(63,43,32,.10);
}

.reason-advisor-badge {
  top: -44px;
  right: 24px;
}

.reason-advisor-badge img {
  border-radius: 28px;
}

.reason-customer-badge {
  left: -18px;
  bottom: -26px;
}

.reason-customer-badge img {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  filter: saturate(.98);
}

.reason-customer-badge::before {
  background: linear-gradient(135deg, #fff7df, #f7d89f);
  color: var(--brand-dark);
}

.reason-explain-layout-reverse .reason-advisor-badge {
  left: 24px;
  right: auto;
}

.reason-explain-layout-reverse .reason-customer-badge {
  left: auto;
  right: -18px;
}

/* Make room for customer avatar on visuals with bottom content */
.reason-01 .quote-compare-visual,
.reason-02 .material-ladder-visual,
.reason-03 .construction-timeline-visual,
.reason-04 .red-flag-quote-visual {
  padding-bottom: 44px;
}

.reason-04 .reason-customer-badge {
  bottom: -32px;
}

/* Reduce collision with red-flag labels */
.reason-04 .flag-04 {
  bottom: 72px;
}

@media (max-width: 1024px) {
  .reason-person-badge {
    width: 92px;
  }

  .reason-person-badge img {
    width: 62px;
    height: 62px;
    border-width: 6px;
  }

  .reason-person-badge span {
    max-width: 116px;
    font-size: 10.5px;
  }

  .reason-advisor-badge {
    top: -38px;
    right: 18px;
  }

  .reason-customer-badge {
    left: -10px;
  }

  .reason-explain-layout-reverse .reason-customer-badge {
    right: -10px;
  }
}

@media (max-width: 860px) {
  .reason-copy-card {
    padding-top: 74px;
  }

  .reason-advisor-badge {
    top: 16px;
    right: 18px;
  }

  .reason-explain-layout-reverse .reason-advisor-badge {
    left: auto;
    right: 18px;
  }

  .reason-customer-badge,
  .reason-explain-layout-reverse .reason-customer-badge {
    left: 18px;
    right: auto;
    top: -32px;
    bottom: auto;
  }

  .reason-visual-panel {
    margin-top: 34px;
  }

  .reason-person-badge img {
    width: 58px;
    height: 58px;
  }

  .reason-person-badge span {
    margin-top: -6px;
  }

  .reason-01 .quote-compare-visual,
  .reason-02 .material-ladder-visual,
  .reason-03 .construction-timeline-visual,
  .reason-04 .red-flag-quote-visual {
    padding-top: 58px;
    padding-bottom: 26px;
  }
}

@media (max-width: 640px) {
  .reason-copy-card {
    padding: 76px 20px 22px;
  }

  .reason-advisor-badge {
    top: 14px;
    right: 14px;
  }

  .reason-customer-badge,
  .reason-explain-layout-reverse .reason-customer-badge {
    top: -28px;
    left: 14px;
  }

  .reason-person-badge {
    width: 82px;
  }

  .reason-person-badge img {
    width: 52px;
    height: 52px;
    border-width: 5px;
    border-radius: 18px;
  }

  .reason-person-badge::before {
    width: 25px;
    height: 25px;
    right: 9px;
    font-size: 13px;
  }

  .reason-person-badge span {
    max-width: 104px;
    padding: 5px 8px;
    font-size: 9.8px;
  }

  .reason-number-floating {
    top: 18px;
    left: 18px;
  }

  .reason-01 .quote-compare-visual,
  .reason-02 .material-ladder-visual,
  .reason-03 .construction-timeline-visual,
  .reason-04 .red-flag-quote-visual {
    padding-top: 62px;
  }
}


/* =========================================================
Scope Section V2 — What NakaJP does / What client gets
- Replaces dense 6-card checklist with 2 clear outcome cards
========================================================= */

.scope-outcome-section {
  background: linear-gradient(180deg, rgba(255,250,242,.94), rgba(247,239,226,.98));
}

.scope-outcome-layout {
  display: grid;
  gap: 24px;
}

.scope-outcome-header {
  max-width: 860px;
}

.scope-outcome-header h2 {
  max-width: 760px;
}

.scope-outcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 18px;
  align-items: stretch;
}

.scope-outcome-card {
  position: relative;
  padding: 26px 26px 24px;
  border-radius: 30px;
  border: 1px solid rgba(112,77,53,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,248,236,.88));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.scope-outcome-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.70);
  pointer-events: none;
}

.scope-do-card {
  background:
    radial-gradient(circle at 12% 10%, rgba(217,72,53,.09), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,248,236,.90));
}

.scope-result-card {
  background:
    radial-gradient(circle at 84% 12%, rgba(240,138,82,.15), transparent 30%),
    linear-gradient(180deg, #fffaf1 0%, #fff2dc 100%);
  border-color: rgba(217,72,53,.18);
}

.scope-card-head,
.scope-action-list,
.scope-result-highlight {
  position: relative;
  z-index: 1;
}

.scope-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.scope-card-head h3 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
}

.scope-card-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 20px;
  box-shadow: 0 12px 24px rgba(217,72,53,.22);
}

.scope-result-card .scope-card-icon {
  background: var(--brand-dark);
}

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

.scope-action-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  border-radius: 18px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(112,77,53,.10);
  color: var(--brand-dark);
  font-weight: 800;
  line-height: 1.45;
}

.scope-action-list li::before {
  content: "✓";
  position: absolute;
  top: 12px;
  left: 14px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(217,72,53,.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.scope-result-highlight {
  margin-top: 16px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255, 242, 213, .92);
  border: 1px solid rgba(217,72,53,.14);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.scope-wide-cta {
  width: min(100%, 720px);
  justify-self: center;
}

.reason-copy-card h2 {
  text-transform: none;
}

.reason-copy-card p + p {
  margin-top: 10px;
}

.reason-person-badge span {
  white-space: normal;
}

@media (max-width: 860px) {
  .scope-outcome-grid {
    grid-template-columns: 1fr;
  }

  .scope-outcome-card {
    padding: 22px 18px;
    border-radius: 26px;
  }

  .scope-card-head {
    align-items: flex-start;
  }

  .scope-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  .scope-action-list li {
    padding: 11px 12px 11px 38px;
    font-size: 14px;
  }

  .scope-action-list li::before {
    left: 12px;
  }
}

@media (max-width: 520px) {
  .reason-person-badge span {
    max-width: 106px;
  }

  .scope-wide-cta {
    width: 100%;
  }
}


/* =========================================================
V3.1 — Reason avatar / number badge / heading / nav readability fix
- Make reason avatars 3x larger on desktop
- Move avatars outside content flow so they do not cover text
- Add top spacing so reason number badges do not cover visual content
- Reduce h1/h2 size and keep headings closer to 1–2 lines on desktop
========================================================= */

:root {
  --h1-max: 48px;
  --h2-max: 36px;
  --reason-h2-max: 34px;
}

h1 {
  font-size: clamp(30px, 5vw, var(--h1-max));
  line-height: 1.12;
  letter-spacing: -.032em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(25px, 3.45vw, var(--h2-max));
  line-height: 1.14;
  letter-spacing: -.032em;
  text-wrap: balance;
}

h3 {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.24;
}

.hero-copy {
  max-width: 820px;
}

.reason-explain-layout {
  grid-template-columns: minmax(540px, 1fr) minmax(420px, .82fr);
  gap: 48px;
  align-items: center;
}

.reason-explain-layout-reverse {
  grid-template-columns: minmax(420px, .82fr) minmax(540px, 1fr);
}

.reason-copy-card {
  overflow: visible;
  padding: 34px 150px 34px 34px;
}

.reason-explain-layout-reverse .reason-copy-card {
  padding: 34px 34px 34px 150px;
}

.reason-copy-card h2 {
  max-width: 690px;
  font-size: clamp(27px, 2.65vw, var(--reason-h2-max));
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.reason-03 .reason-copy-card h2,
.reason-04 .reason-copy-card h2 {
  font-size: clamp(26px, 2.35vw, 31px);
  max-width: 720px;
}

.reason-copy-card p {
  font-size: 15.8px;
  line-height: 1.62;
}

.reason-visual-panel {
  overflow: visible;
  min-height: 380px;
  padding: 112px 26px 42px;
}

.reason-number-floating {
  top: 22px;
  left: 26px;
  z-index: 6;
  pointer-events: none;
}

.reason-visual-panel .quote-compare-card,
.reason-visual-panel .material-step,
.reason-visual-panel .timeline-step,
.reason-visual-panel .quote-document-scan,
.reason-visual-panel .scope-compare-panel,
.reason-visual-panel .material-ladder-panel,
.reason-visual-panel .construction-timeline-panel,
.reason-visual-panel .red-flag-panel {
  position: relative;
  z-index: 2;
}

/* Large reason characters */
.reason-person-badge {
  width: 190px;
  z-index: 12;
}

.reason-person-badge img {
  width: 168px;
  height: 168px;
  border-width: 10px;
  border-radius: 44px;
  object-fit: cover;
  object-position: top center;
  box-shadow:
    0 28px 54px rgba(63,43,32,.22),
    0 1px 0 rgba(255,255,255,.9) inset;
}

.reason-person-badge::before {
  width: 50px;
  height: 50px;
  top: -12px;
  right: 16px;
  font-size: 22px;
  border: 5px solid rgba(255,255,255,.86);
}

.reason-person-badge span {
  max-width: 190px;
  margin-top: -14px;
  padding: 9px 14px;
  font-size: 12.5px;
  line-height: 1.16;
  box-shadow: 0 15px 28px rgba(63,43,32,.13);
}

.reason-advisor-badge {
  top: -84px;
  right: -68px;
}

.reason-explain-layout-reverse .reason-advisor-badge {
  top: -84px;
  left: -68px;
  right: auto;
}

.reason-customer-badge {
  left: -72px;
  bottom: -86px;
}

.reason-customer-badge img {
  width: 156px;
  height: 156px;
  border-width: 10px;
  border-radius: 42px;
}

.reason-explain-layout-reverse .reason-customer-badge {
  left: auto;
  right: -72px;
}

.reason-01 .quote-compare-visual,
.reason-02 .material-ladder-visual,
.reason-03 .construction-timeline-visual,
.reason-04 .red-flag-quote-visual {
  padding-top: 112px;
  padding-bottom: 64px;
}

/* Keep red flag labels away from large customer avatar */
.reason-04 .flag-04 {
  bottom: 108px;
}

.reason-04 .flag-03 {
  right: 22px;
}

.scope-outcome-header h2,
.next-step-header h2,
.fit-layout h2,
.form-copy h2,
.service-announcement-card h2,
#scope-title,
#fit-title,
#closing-title,
#form-title,
#service-title {
  font-size: clamp(26px, 3.1vw, 36px);
  line-height: 1.14;
  max-width: 860px;
}

@media (max-width: 1180px) {
  .reason-explain-layout,
  .reason-explain-layout-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .84fr);
    gap: 34px;
  }

  .reason-explain-layout-reverse {
    grid-template-columns: minmax(360px, .84fr) minmax(0, 1fr);
  }

  .reason-person-badge img {
    width: 138px;
    height: 138px;
    border-width: 8px;
    border-radius: 36px;
  }

  .reason-customer-badge img {
    width: 128px;
    height: 128px;
  }

  .reason-person-badge {
    width: 158px;
  }

  .reason-person-badge::before {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .reason-person-badge span {
    max-width: 158px;
    font-size: 11.5px;
  }

  .reason-copy-card {
    padding-right: 118px;
  }

  .reason-explain-layout-reverse .reason-copy-card {
    padding-left: 118px;
  }

  .reason-advisor-badge {
    right: -44px;
  }

  .reason-explain-layout-reverse .reason-advisor-badge {
    left: -44px;
  }

  .reason-customer-badge {
    left: -44px;
  }

  .reason-explain-layout-reverse .reason-customer-badge {
    right: -44px;
  }
}

@media (max-width: 960px) {
  h1 {
    font-size: clamp(30px, 6.2vw, 42px);
  }

  h2 {
    font-size: clamp(25px, 5.2vw, 34px);
  }

  .reason-explain-layout,
  .reason-explain-layout-reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .reason-explain-layout-reverse .reason-copy,
  .reason-explain-layout-reverse .reason-visual-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .reason-copy-card,
  .reason-explain-layout-reverse .reason-copy-card {
    padding: 118px 24px 28px;
  }

  .reason-copy-card h2,
  .reason-03 .reason-copy-card h2,
  .reason-04 .reason-copy-card h2 {
    font-size: clamp(25px, 5vw, 32px);
    max-width: 100%;
  }

  .reason-advisor-badge,
  .reason-explain-layout-reverse .reason-advisor-badge {
    top: -42px;
    right: 22px;
    left: auto;
  }

  .reason-person-badge img,
  .reason-customer-badge img {
    width: 112px;
    height: 112px;
    border-width: 7px;
    border-radius: 30px;
  }

  .reason-person-badge {
    width: 132px;
  }

  .reason-person-badge::before {
    width: 36px;
    height: 36px;
    top: -8px;
    right: 12px;
    font-size: 17px;
    border-width: 4px;
  }

  .reason-person-badge span {
    max-width: 132px;
    font-size: 10.6px;
    padding: 7px 10px;
  }

  .reason-customer-badge,
  .reason-explain-layout-reverse .reason-customer-badge {
    top: -44px;
    bottom: auto;
    left: 22px;
    right: auto;
  }

  .reason-visual-panel {
    margin-top: 46px;
    padding-top: 106px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(29px, 7.4vw, 36px);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(24px, 6.2vw, 29px);
    line-height: 1.15;
  }

  .reason-copy-card,
  .reason-explain-layout-reverse .reason-copy-card {
    padding: 104px 20px 24px;
  }

  .reason-copy-card h2,
  .reason-03 .reason-copy-card h2,
  .reason-04 .reason-copy-card h2 {
    font-size: clamp(23px, 6vw, 28px);
    line-height: 1.15;
  }

  .reason-copy-card p {
    font-size: 15px;
  }

  .reason-advisor-badge,
  .reason-explain-layout-reverse .reason-advisor-badge {
    top: -34px;
    right: 14px;
  }

  .reason-customer-badge,
  .reason-explain-layout-reverse .reason-customer-badge {
    top: -36px;
    left: 14px;
  }

  .reason-person-badge {
    width: 112px;
  }

  .reason-person-badge img,
  .reason-customer-badge img {
    width: 92px;
    height: 92px;
    border-width: 6px;
    border-radius: 24px;
  }

  .reason-person-badge::before {
    width: 30px;
    height: 30px;
    right: 10px;
    font-size: 14px;
    border-width: 3px;
  }

  .reason-person-badge span {
    max-width: 112px;
    margin-top: -10px;
    font-size: 9.5px;
    padding: 6px 8px;
  }

  .reason-visual-panel {
    padding: 94px 18px 30px;
  }

  .reason-number-floating {
    top: 18px;
    left: 18px;
    transform: scale(.9);
    transform-origin: top left;
  }

  .reason-01 .quote-compare-visual,
  .reason-02 .material-ladder-visual,
  .reason-03 .construction-timeline-visual,
  .reason-04 .red-flag-quote-visual {
    padding-top: 96px;
    padding-bottom: 40px;
  }
}



/* =========================================================
Hotfix — Story rail active + heading + reason avatar sizing
========================================================= */

/* Smaller headings so long titles stay closer to 1–2 lines on desktop */
:root {
  --h1-max: 42px;
  --h2-max: 32px;
  --h3-max: 21px;
}

h1 {
  font-size: clamp(28px, 4.2vw, var(--h1-max)) !important;
  line-height: 1.12 !important;
}

h2 {
  font-size: clamp(24px, 3vw, var(--h2-max)) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em;
}

.reason-copy-card h2,
.reason-slide h2 {
  max-width: 100%;
  font-size: clamp(25px, 2.35vw, 31px) !important;
  line-height: 1.10 !important;
}

.reason-03 .reason-copy-card h2,
.reason-04 .reason-copy-card h2 {
  font-size: clamp(24px, 2.1vw, 29px) !important;
}

.service-announcement-card h2,
#service-title,
#scope-title,
#closing-title,
#fit-title {
  font-size: clamp(25px, 3vw, 34px) !important;
  line-height: 1.12 !important;
}

/* Keep floating number badges away from visual content */
.reason-visual-panel {
  padding-top: 112px !important;
}

.reason-number-floating {
  z-index: 9 !important;
}

/* Make reason avatars visually meaningful but keep them outside text flow */
.reason-person-badge {
  width: 240px !important;
  z-index: 10 !important;
}

.reason-person-badge img {
  width: 188px !important;
  height: 188px !important;
  border-radius: 42px !important;
  border-width: 10px !important;
  object-fit: cover;
  object-position: top center;
}

.reason-customer-badge img {
  width: 172px !important;
  height: 172px !important;
  border-radius: 40px !important;
}

.reason-person-badge::before {
  width: 46px !important;
  height: 46px !important;
  font-size: 22px !important;
  top: -12px !important;
  right: 18px !important;
}

.reason-person-badge span {
  max-width: 210px;
  margin-top: -8px;
  padding: 9px 13px;
  font-size: 13px !important;
  border-radius: 999px;
}

/* Position advisor/customer avatars so they do not cover title, CTA, or visual labels */
.reason-advisor-badge {
  top: auto !important;
  right: -118px !important;
  bottom: -54px !important;
}

.reason-customer-badge {
  left: -130px !important;
  bottom: -52px !important;
}

.reason-explain-layout-reverse .reason-advisor-badge {
  left: -118px !important;
  right: auto !important;
}

.reason-explain-layout-reverse .reason-customer-badge {
  left: auto !important;
  right: -130px !important;
}

.reason-visual-panel,
.reason-copy-card {
  overflow: visible !important;
}

@media (max-width: 1279px) {
  .reason-person-badge {
    width: 172px !important;
  }

  .reason-person-badge img,
  .reason-customer-badge img {
    width: 124px !important;
    height: 124px !important;
    border-radius: 30px !important;
    border-width: 8px !important;
  }

  .reason-person-badge::before {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
  }

  .reason-advisor-badge,
  .reason-explain-layout-reverse .reason-advisor-badge {
    top: -62px !important;
    right: 18px !important;
    left: auto !important;
    bottom: auto !important;
  }

  .reason-customer-badge,
  .reason-explain-layout-reverse .reason-customer-badge {
    left: 18px !important;
    right: auto !important;
    bottom: -58px !important;
  }

  .reason-01 .quote-compare-visual,
  .reason-02 .material-ladder-visual,
  .reason-03 .construction-timeline-visual,
  .reason-04 .red-flag-quote-visual {
    padding-bottom: 96px !important;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: clamp(28px, 7.4vw, 36px) !important;
  }

  h2,
  .reason-copy-card h2,
  .reason-slide h2,
  .reason-03 .reason-copy-card h2,
  .reason-04 .reason-copy-card h2 {
    font-size: clamp(23px, 6vw, 28px) !important;
    line-height: 1.13 !important;
  }

  .reason-visual-panel {
    padding-top: 96px !important;
  }

  .reason-person-badge {
    width: 126px !important;
  }

  .reason-person-badge img,
  .reason-customer-badge img {
    width: 88px !important;
    height: 88px !important;
    border-radius: 24px !important;
    border-width: 6px !important;
  }

  .reason-person-badge::before {
    width: 30px !important;
    height: 30px !important;
    font-size: 15px !important;
    top: -8px !important;
    right: 8px !important;
  }

  .reason-person-badge span {
    max-width: 120px;
    padding: 7px 9px;
    font-size: 10.5px !important;
  }

  .reason-advisor-badge,
  .reason-explain-layout-reverse .reason-advisor-badge {
    top: -48px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
  }

  .reason-customer-badge,
  .reason-explain-layout-reverse .reason-customer-badge {
    left: 12px !important;
    right: auto !important;
    bottom: -50px !important;
  }
}


/* =========================================================
Reason avatars V4 — separate avatars, no shared duo box, no labels
========================================================= */
.reason-copy-card,
.reason-visual-panel {
  overflow: visible;
}

.reason-person-badge,
.reason-character-duo,
.reason-character {
  display: none !important;
}

.reason-avatar {
  display: block;
  margin: 0;
  pointer-events: none;
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
}

.reason-avatar img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center bottom;
  padding:4px 4px 0;
  background:#e7e3df;
  border:7px solid rgba(255,255,255,.92);
  box-shadow:0 18px 38px rgba(63,43,32,.15);
}

.reason-copy-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.reason-copy-head .eyebrow {
  margin-bottom: 10px;
}

.reason-copy-head h2 {
  margin: 0;
}

.reason-copy-footer-avatar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-top: 18px;
}

.reason-copy-footer-avatar .reason-question {
  margin-top: 0;
}

/* Reason 01: advisor attached to title, customer as circular viewer in visual */
.advisor-cutout-01 {
  width: 116px;
  height: 136px;
  transform: rotate(-3deg);
}

.advisor-cutout-01 img {
  border-radius: 34px 34px 24px 24px;
}

.customer-circle-01 {
  width: 96px;
  height: 96px;
  margin: 18px 10px -4px auto;
}

.customer-circle-01 img {
  border-radius: 999px;
  border-width: 8px;
}

/* Reason 02: advisor as small decision badge, customer as slanted material-review card */
.advisor-badge-02 {
  width: 92px;
  height: 108px;
  transform: rotate(4deg);
}

.advisor-badge-02 img {
  border-radius: 999px 999px 26px 26px;
}

.customer-tilt-02 {
  width: 118px;
  height: 132px;
  margin: 16px auto -8px 28px;
  transform: rotate(-4deg);
}

.customer-tilt-02 img {
  border-radius: 24px;
}

/* Reason 03: customer sits in copy flow, advisor becomes a compact strip after timeline */
.customer-side-03 {
  width: 104px;
  height: 118px;
  margin: 18px 0 -4px auto;
  transform: rotate(2deg);
}

.customer-side-03 img {
  border-radius: 30px 18px 30px 18px;
}

.advisor-strip-03 {
  width: 176px;
  height: 86px;
  margin: 18px auto -4px;
}

.advisor-strip-03 img {
  border-radius: 999px;
  object-position: 50% 18%;
}

/* Reason 04: advisor as round expert portrait, customer as alert card inside visual footer */
.advisor-circle-04 {
  width: 102px;
  height: 102px;
}

.advisor-circle-04 img {
  border-radius: 999px;
}

.customer-alert-04 {
  width: 112px;
  height: 126px;
  margin: 18px 12px -6px auto;
  transform: rotate(3deg);
}

.customer-alert-04 img {
  border-radius: 26px;
  border-color: rgba(255, 247, 230, .96);
}

/* Keep visual content below floating number and avatar safe */
.reason-01 .quote-compare-visual,
.reason-02 .material-ladder-visual,
.reason-03 .construction-timeline-visual,
.reason-04 .red-flag-quote-visual {
  padding-bottom: 34px !important;
}

@media (max-width: 1100px) {
  .advisor-cutout-01 {
    width: 96px;
    height: 114px;
  }

  .advisor-badge-02,
  .advisor-circle-04 {
    width: 88px;
    height: 96px;
  }

  .customer-tilt-02,
  .customer-alert-04,
  .customer-side-03 {
    width: 96px;
    height: 110px;
  }

  .advisor-strip-03 {
    width: 148px;
    height: 78px;
  }
}

@media (max-width: 780px) {
  .reason-copy-head,
  .reason-copy-footer-avatar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .reason-copy-head {
    gap: 14px;
  }

  .reason-copy-head .reason-avatar,
  .reason-copy-footer-avatar .reason-avatar,
  .reason-visual-panel .reason-avatar {
    justify-self: end;
  }

  .reason-avatar {
    transform: none !important;
  }

  .advisor-cutout-01,
  .advisor-badge-02,
  .advisor-circle-04,
  .customer-tilt-02,
  .customer-alert-04,
  .customer-side-03 {
    width: 78px;
    height: 88px;
    margin: 10px 0 0 auto;
  }

  .customer-circle-01 {
    width: 74px;
    height: 74px;
    margin: 14px 0 0 auto;
  }

  .advisor-strip-03 {
    width: 124px;
    height: 66px;
    margin: 14px auto 0;
  }

  .reason-avatar img {
    border-width: 5px;
  }
}

@media (max-width: 520px) {
  .reason-copy-head {
    display: block;
  }

  .reason-copy-head .reason-avatar {
    float: right;
    margin: 0 0 10px 12px;
  }

  .reason-copy-footer-avatar {
    display: block;
  }

  .reason-copy-footer-avatar .reason-avatar {
    margin-left: auto;
  }
}


/* =========================================================
Header Navigation — matched to tuvan.nakajp.vn style
- Desktop: simple nav inside fixed header
- Tablet/Mobile: hamburger panel
- No dot nav / no bottom nav / no horizontal page overflow
========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

main,
.slide,
.site-header,
.container {
  max-width: 100vw;
}

.slide[id],
section[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.site-header {
  gap: 18px;
}

.header-logo {
  flex: 0 0 auto;
  min-width: 0;
}

.header-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.header-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  opacity: .82;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, opacity .18s ease, transform .18s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 24px rgba(63, 43, 32, .08);
  outline: none;
  transform: translateY(-1px);
}

.header-nav a.is-active,
.header-nav a[aria-current="page"] {
  opacity: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 26px rgba(217, 72, 53, .24);
}

.header-contact {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(112, 77, 53, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 22px rgba(63,43,32,.08);
  cursor: pointer;
  place-items: center;
  padding: 0;
}

.header-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--brand-dark);
  transition: transform .2s ease, opacity .2s ease;
}

.header-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

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

.header-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 83;
  background: rgba(36, 31, 26, .24);
  backdrop-filter: blur(3px);
}

.mobile-nav-backdrop[hidden],
.mobile-nav-panel[hidden] {
  display: none;
}

.mobile-nav-panel {
  position: fixed;
  z-index: 84;
  top: calc(var(--header-h) + 10px);
  right: max(14px, calc((100vw - var(--container)) / 2));
  width: min(390px, calc(100vw - 28px));
  max-height: calc(100vh - var(--header-h) - 28px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 12px;
  border: 1px solid rgba(112, 77, 53, .14);
  border-radius: 28px;
  background: rgba(255, 250, 242, .98);
  box-shadow: 0 28px 80px rgba(63, 43, 32, .22);
  backdrop-filter: blur(18px);
}

.mobile-nav-panel a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(112, 77, 53, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .74);
  color: var(--brand-dark);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mobile-nav-panel a + a {
  margin-top: 8px;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(217, 72, 53, .22);
  box-shadow: 0 12px 24px rgba(63, 43, 32, .10);
}

.mobile-nav-panel a span {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 241, 201, .92);
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(112, 77, 53, .10);
}

.mobile-nav-panel a b,
.mobile-nav-panel a small {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-nav-panel a b {
  color: inherit;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.13;
  white-space: nowrap;
}

.mobile-nav-panel a small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.mobile-nav-panel a.is-active,
.mobile-nav-panel a[aria-current="page"] {
  color: #fff;
  border-color: rgba(217, 72, 53, .38);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(217, 72, 53, .22);
}

.mobile-nav-panel a.is-active span,
.mobile-nav-panel a[aria-current="page"] span {
  color: var(--accent-dark);
  background: #fff;
}

.mobile-nav-panel a.is-active small,
.mobile-nav-panel a[aria-current="page"] small {
  color: rgba(255, 255, 255, .86);
}

body.is-nav-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 10px;
  }

  .header-logo img {
    height: 34px;
  }

  .header-nav {
    gap: 2px;
  }

  .header-nav a {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .header-phone {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .header-menu-toggle {
    display: grid;
  }

  .site-header {
    padding-inline: 14px;
  }

  .header-contact {
    margin-left: auto;
  }

  .header-phone {
    font-size: 12px;
  }

  .slide[id],
  section[id] {
    scroll-margin-top: calc(var(--header-h) + 14px);
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 62px;
  }

  .header-logo img {
    height: 28px;
    max-width: 130px;
    object-fit: contain;
  }

  .header-phone {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0;
  }

  .header-phone::before {
    font-size: 16px;
    margin: 0;
  }

  .header-phone::after {
    content: "0964.637.793";
    font-size: 11px;
    font-weight: 950;
  }

  .header-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .mobile-nav-panel {
    left: 10px;
    right: 10px;
    width: auto;
    top: calc(var(--header-h) + 8px);
    max-height: calc(100vh - var(--header-h) - 22px);
    border-radius: 22px;
  }

  .mobile-nav-panel a {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 9px;
    border-radius: 16px;
  }

  .mobile-nav-panel a span {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .mobile-nav-panel a b {
    font-size: 13px;
  }

  .mobile-nav-panel a small {
    font-size: 10px;
  }
}

@media (max-width: 370px) {
  .header-logo img {
    max-width: 108px;
  }

  .header-phone::after {
    content: "Hotline";
  }
}


/* =========================================================
Header navigation rebuild v2
- Desktop: inline nav inside header
- Tablet/Mobile: native details menu, no custom dropdown JS dependency
- No dot nav, no bottom nav, no horizontal page overflow
========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  padding-bottom: 0;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 100vw;
}

.header-logo {
  flex: 0 0 auto;
  min-width: 0;
}

.header-logo img {
  display: block;
  width: auto;
  max-width: 184px;
  object-fit: contain;
}

.header-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  opacity: .82;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  opacity: 1;
  background: rgba(255,255,255,.86);
  outline: none;
  box-shadow: 0 10px 24px rgba(63,43,32,.08);
}

.header-nav a.is-active,
.header-nav a[aria-current="page"] {
  opacity: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 26px rgba(217,72,53,.24);
}

.header-contact {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.mobile-menu-details {
  display: none;
  flex: 0 0 auto;
  position: relative;
}

.mobile-menu-summary {
  list-style: none;
  width: auto;
  min-width: 86px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(112,77,53,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 22px rgba(63,43,32,.08);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
}

.mobile-menu-summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-lines {
  width: 18px;
  height: 14px;
  display: grid;
  align-content: space-between;
}

.mobile-menu-lines i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-dark);
  transition: transform .18s ease, opacity .18s ease;
}

.mobile-menu-details[open] .mobile-menu-lines i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-details[open] .mobile-menu-lines i:nth-child(2) {
  opacity: 0;
}

.mobile-menu-details[open] .mobile-menu-lines i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-panel {
  position: fixed;
  top: calc(var(--header-h) + 10px);
  left: 16px;
  right: 16px;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: calc(100svh - var(--header-h) - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px;
  border: 1px solid rgba(112,77,53,.16);
  border-radius: 24px;
  background: rgba(255,250,242,.98);
  box-shadow: 0 28px 80px rgba(63,43,32,.22);
  backdrop-filter: blur(18px);
}

.mobile-menu-panel::before {
  content: "";
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: -1;
  background: rgba(36,31,26,.18);
  backdrop-filter: blur(2px);
}

.mobile-menu-panel a {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  min-height: 70px;
  padding: 11px;
  border: 1px solid rgba(112,77,53,.12);
  border-radius: 18px;
  background: #fff;
  color: var(--brand-dark);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(63,43,32,.06);
}

.mobile-menu-panel a span {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,241,201,.94);
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
}

.mobile-menu-panel a b,
.mobile-menu-panel a small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-menu-panel a b {
  color: inherit;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.1;
}

.mobile-menu-panel a small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.15;
}

.mobile-menu-panel a.is-active,
.mobile-menu-panel a[aria-current="page"] {
  color: #fff;
  border-color: rgba(217,72,53,.40);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(217,72,53,.22);
}

.mobile-menu-panel a.is-active span,
.mobile-menu-panel a[aria-current="page"] span {
  color: var(--accent-dark);
  background: #fff;
}

.mobile-menu-panel a.is-active small,
.mobile-menu-panel a[aria-current="page"] small {
  color: rgba(255,255,255,.86);
}

.slide[id],
section[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

/* Hide all older navigation variants completely */
.story-rail,
.chapter-nav,
.jump-nav,
.lp-section-nav,
.section-switcher,
.mobile-nav-panel,
.mobile-nav-backdrop,
.header-menu-toggle {
  display: none !important;
}

@media (max-width: 1180px) {
  .header-logo img {
    max-width: 154px;
  }

  .header-nav {
    gap: 2px;
  }

  .header-nav a {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .header-phone {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 12px;
  }
}

@media (max-width: 980px) {
  .site-header {
    gap: 10px;
    padding-inline: 14px;
  }

  .header-nav {
    display: none !important;
  }

  .mobile-menu-details {
    display: block;
    order: 3;
  }

  .header-contact {
    margin-left: auto;
    order: 2;
  }

  .header-logo {
    order: 1;
  }

  .slide[id],
  section[id] {
    scroll-margin-top: calc(var(--header-h) + 14px);
  }
}

@media (max-width: 640px) {
  .mobile-menu-panel {
    grid-template-columns: 1fr;
    top: calc(var(--header-h) + 8px);
    left: 10px;
    right: 10px;
    max-height: calc(100svh - var(--header-h) - 20px);
    padding: 10px;
    border-radius: 20px;
    gap: 8px;
  }

  .mobile-menu-panel a {
    min-height: 62px;
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 9px;
    border-radius: 16px;
  }

  .mobile-menu-panel a span {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .mobile-menu-panel a b {
    font-size: 13px;
  }

  .mobile-menu-panel a small {
    font-size: 10px;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 62px;
    gap: 8px;
  }

  .header-logo img {
    max-width: 118px;
    height: auto;
  }

  .header-phone {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 0;
  }

  .header-phone::before {
    font-size: 16px;
    margin: 0;
  }

  .header-phone::after {
    content: "0964.637.793";
    font-size: 10.5px;
    font-weight: 950;
  }

  .mobile-menu-summary {
    min-width: 44px;
    width: 44px;
    height: 38px;
    padding: 0;
  }

  .mobile-menu-text {
    display: none;
  }
}

@media (max-width: 370px) {
  .header-logo img {
    max-width: 100px;
  }

  .header-phone::after {
    content: "Hotline";
  }
}


/* =========================================================
   REAL PHOTO AVATAR UPDATE — 2026-06-08
   Purpose: use the photographed NakaJP/customer assets from LP zip,
   mapped to the PDF expression notes while preserving LP layout,
   form submit logic, UTM hidden fields and GTM/GA4 hooks.
   ========================================================= */

.hero-bg {
  background:
    linear-gradient(90deg, rgba(38, 25, 18, .76), rgba(38, 25, 18, .34)),
    url("../replace-quote-documents.webp") center/cover no-repeat;
}

.photo-cutout,
.person-photo.photo-cutout {
  object-fit: contain;
  object-position: center bottom;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.98), rgba(255,250,242,.88) 72%);
}

.reason-avatar img {
  object-fit: contain;
  object-position: center bottom;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,.98), rgba(255,245,230,.88) 72%);
}

.chat-speaker-avatar .person-photo,
.chat-speaker-avatar .person-photo.photo-cutout,
.compact-dialogue .chat-speaker-avatar .person-photo {
  object-fit: contain;
  object-position: center bottom;
}

.service-customer-reaction img {
  object-fit: contain;
  object-position: center bottom;
  background: rgba(255,255,255,.9);
}

img[src$="uematsu-point-1.webp"],
img[src$="uematsu-point-2.webp"],
img[src$="uematsu-point-3.webp"],
img[src$="uematsu-point-4.webp"],
img[src$="uematsu-hands-front.webp"],
img[src$="uematsu-neutral.webp"],
img[src$="uematsu-arms-crossed.webp"],
img[src$="customer-worried.webp"],
img[src$="customer-listening.webp"],
img[src$="customer-phone-bright.webp"] {
  mix-blend-mode: normal;
  image-rendering: auto;
}

@media (max-width: 759px) {
  .hero-bg {
    background-position: center top;
  }

  .photo-cutout,
  .person-photo.photo-cutout {
    object-fit: contain;
    object-position: center bottom;
  }
}


/* =========================================================
   CONSULTATION DOCS INSERT + AVATAR SIZE TUNING — 2026-06-08
   Purpose:
   - Add consultation-docs visual to the lower process section.
   - Increase real-photo avatars slightly without changing form/tracking logic.
   ========================================================= */

.process-photo-card {
  margin: 22px 0 0;
  padding: 10px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,247,234,.76));
  border: 1px solid rgba(112,77,53,.14);
  box-shadow: 0 18px 42px rgba(63,43,32,.11);
  overflow: hidden;
}

.process-photo-card img {
  width: 100%;

  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(63,43,32,.10);
}

.process-photo-card figcaption {
  margin: 10px 8px 4px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

/* Avatar tăng nhẹ 10–16%, giữ layout không vỡ */
.person-photo,
.person-block .person-photo,
.transition-bottom .person-photo,
.closing-response .person-photo {
  width: 168px;
}

.director-intro img {
  width:100%;
  max-width:210px;
  height:250px;
  object-fit:contain;
  object-position:center bottom;
}

.story-character .person-photo {
  width: min(232px, 62vw);
}

.chat-speaker-avatar .person-photo,
.chat-speaker-avatar .person-photo.photo-cutout,
.compact-dialogue .chat-speaker-avatar .person-photo {
  width: 130px !important;
  height: 150px !important;
}

.chat-speaker-avatar::before {
  width: 106px !important;
  height: 106px !important;
}

.reason-avatar img {
  transform:none;
  transform-origin:center bottom;
  filter:none;
}

.advisor-cutout-01 {
  width: 128px;
  height: 150px;
}

.customer-circle-01 {
  width: 108px;
  height: 108px;
}

.advisor-badge-02 {
  width: 104px;
  height: 122px;
}

.customer-tilt-02 {
  width: 132px;
  height: 148px;
}

.customer-side-03 {
  width: 116px;
  height: 132px;
}

.advisor-strip-03 {
  width: 194px;
  height: 96px;
}

.advisor-circle-04 {
  width: 114px;
  height: 114px;
}

.customer-alert-04 {
  width: 126px;
  height: 142px;
}

.service-customer-reaction img {
  width: 108px;
  height: 132px;
}

.service-customer-reaction::before {
  width: 116px;
  height: 116px;
}

@media (min-width: 760px) {
  .process-copy {
    align-self: start;
  }

  .process-photo-card {
    max-width: 520px;
  }

  .person-block .person-photo {
    width: 210px;
  }

  .story-character .person-photo {
    width: 254px;
  }

  .transition-bottom .person-photo,
  .closing-response .person-photo {
    width: 194px;
  }
}

@media (min-width: 1020px) {
  .director-intro img {
    width:100%;
    max-width:220px;
    height:260px;
  }

  .process-photo-card {
    margin-top: 26px;
  }
}

@media (max-width: 920px) {
  .service-customer-reaction img {
    width: 88px;
    height: 102px;
  }

  .service-customer-reaction::before {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 759px) {
  .process-photo-card {
    margin-top: 18px;
    border-radius: 24px;
  }

  .process-photo-card img {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .process-photo-card figcaption {
    font-size: 12px;
  }

  .person-photo,
  .person-block .person-photo,
  .transition-bottom .person-photo,
  .closing-response .person-photo {
    width: 160px;
  }

  .director-intro img {
    width:100%;
    max-width:190px;
    height:220px;
  }

  .story-character .person-photo {
    width: 178px;
  }

  .chat-speaker-avatar .person-photo,
  .chat-speaker-avatar .person-photo.photo-cutout,
  .compact-dialogue .chat-speaker-avatar .person-photo {
    width: 54px !important;
    height: 64px !important;
  }

  .advisor-cutout-01 {
    width: 112px;
    height: 132px;
  }

  .customer-circle-01 {
    width: 98px;
    height: 98px;
  }

  .advisor-badge-02 {
    width: 92px;
    height: 108px;
  }

  .customer-tilt-02 {
    width: 112px;
    height: 126px;
  }

  .customer-side-03 {
    width: 100px;
    height: 114px;
  }

  .advisor-strip-03 {
    width: 168px;
    height: 84px;
  }

  .advisor-circle-04 {
    width: 100px;
    height: 100px;
  }

  .customer-alert-04 {
    width: 106px;
    height: 120px;
  }
}

@media(max-width:759px){.mobile-sticky-cta{display:none}.mobile-sticky-cta.is-visible{display:flex}.mobile-sticky-cta a:first-child{background:#fff;color:var(--brand-dark);border:1px solid rgba(0,0,0,.14);box-shadow:none}.mobile-menu-panel a b,.mobile-menu-panel a small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
/* NAKAJP mobile H1 size adjustment — 2026-06-11 */
@media (max-width: 760px){
  h1{
    font-size: clamp(26px, 6.9vw, 32px) !important;
    line-height: 1.14 !important;
  }
}


/* Mid-page CTA for Quote Review: helps mobile users reach the form before the page gets too long. */
.quote-mid-cta {
  padding-top: 22px;
  padding-bottom: 22px;
}

.quote-mid-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-radius: 20px;
  background: #fff7ec;
  border: 1px solid rgba(164, 121, 64, 0.22);
  box-shadow: 0 12px 30px rgba(46, 31, 20, 0.08);
}

.quote-mid-cta-card p {
  margin: 0;
  font-weight: 700;
  color: #3f2b1f;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .quote-mid-cta {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .quote-mid-cta-card {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 16px;
  }

  .quote-mid-cta-card .btn {
    width: 100%;
    justify-content: center;
  }
}


/* NAKAJP CSS safety patch — 2026-06-12
   Fixes: desktop mobile-sticky leakage, visible raw Zalo overlay text,
   floating widgets overlapping mobile sticky CTA. */
.mobile-sticky,
.mobile-sticky-cta {
  display: none !important;
}

@media (max-width: 980px) {
  .mobile-sticky.is-visible,
  .mobile-sticky-cta.is-visible {
    display: flex !important;
  }
}

@media (min-width: 981px) {
  .mobile-sticky,
  .mobile-sticky-cta {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.zalo-track-overlay {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  width: 60px !important;
  height: 60px !important;
  z-index: 10001 !important;
  border-radius: 999px !important;
  display: block !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background: transparent !important;
  text-decoration: none !important;
  text-indent: -9999px !important;
  white-space: nowrap !important;
}

.zalo-track-overlay:focus-visible {
  outline: 3px solid rgba(140, 103, 75, .45) !important;
  outline-offset: 4px !important;
}

@media (max-width: 980px) {
  .zalo-track-overlay,
  .zalo-chat-widget {
    right: 16px !important;
    bottom: 92px !important;
  }
}


/* Phase 5 content-depth blocks */
.nakajp-depth-section{position:relative}
.nakajp-depth-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}
.nakajp-depth-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.nakajp-depth-grid article{background:#fff;border:1px solid rgba(93,70,45,.16);border-radius:16px;padding:20px;box-shadow:0 12px 28px rgba(31,24,18,.06)}
.nakajp-depth-grid h3{margin:0 0 10px;font-size:1.05rem;line-height:1.35;color:#2f261f}
.nakajp-depth-grid p{margin:0;color:#62584f;line-height:1.7}
.nakajp-after-submit{margin-top:18px;padding:18px;border:1px solid rgba(151,111,55,.22);border-radius:16px;background:rgba(248,244,237,.78)}
.nakajp-after-submit h3{margin:0 0 10px;font-size:1.05rem;color:#2f261f}
.nakajp-after-submit ol{margin:0;padding-left:20px;color:#62584f;line-height:1.65}
.nakajp-after-submit li+li{margin-top:6px}
.process-step b{display:block;margin-bottom:6px;color:#2f261f}
.process-step p{margin:0;font-size:.94rem;line-height:1.55;color:#62584f}
@media (max-width: 900px){.nakajp-depth-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 640px){.nakajp-depth-grid{grid-template-columns:1fr}.nakajp-depth-grid article{padding:16px}.nakajp-after-submit{padding:16px}}



/* Font sync fix — keep process step text in content column */
.process-step b,
.process-step p{grid-column:2;min-width:0;overflow-wrap:normal;word-break:normal;}
@media (max-width:640px){.process-step{grid-template-columns:50px minmax(0,1fr);gap:14px}.process-step:before{width:50px;height:50px}}

/* NAKAJP Phase 5 typography size sync — H1/H2 fixed */
:root{
  --njp-h1-size:40px;
  --njp-h2-size:32px;
}
h1,
.hero h1,
.brand-home-page h1,
.brand-hero h1,
.lp001-hero h1,
.lp003-hero h1,
.njp-hero h1,
.quote-hero h1{
  font-size:var(--njp-h1-size)!important;
  line-height:1.12!important;
}
h2,
.sec-title h2,
.workflow-title h2,
.cta-band h2,
.brand-home-page h2,
.brand-home-page .proof-copy h2,
.brand-home-page .team-intro h2,
.brand-home-page .showroom-layout h2,
.brand-home-page .spirit-layout h2,
.brand-home-page .hero-panel h2,
.njp-section-title h2,
.lp003-section h2,
.quote-section h2{
  font-size:var(--njp-h2-size)!important;
  line-height:1.18!important;
}
@media (max-width: 640px){
  h1,
  .hero h1,
  .brand-home-page h1,
  .brand-hero h1,
  .lp001-hero h1,
  .lp003-hero h1,
  .njp-hero h1,
  .quote-hero h1{
    font-size:var(--njp-h1-size)!important;
  }
  h2,
  .sec-title h2,
  .workflow-title h2,
  .cta-band h2,
  .brand-home-page h2,
  .brand-home-page .proof-copy h2,
  .brand-home-page .team-intro h2,
  .brand-home-page .showroom-layout h2,
  .brand-home-page .spirit-layout h2,
  .brand-home-page .hero-panel h2,
  .njp-section-title h2,
  .lp003-section h2,
  .quote-section h2{
    font-size:var(--njp-h2-size)!important;
  }
}


/* Phase font override — all typography: Be Vietnam Pro */
:root{
  --njp-font:"Be Vietnam Pro",sans-serif;
  --njp-serif:"Be Vietnam Pro",sans-serif;
}
html,body{
  font-family:var(--njp-font)!important;
}
body,button,input,select,textarea{
  font-family:var(--njp-font)!important;
}
h1,h2,h3,h4,h5,h6,
.hero-title,.section-title,.brand-title,.proof-title{
  font-family:var(--njp-serif)!important;
}
h1{font-size:40px!important;}
h2{font-size:32px!important;}


/* Phase font readability override — headings/body unified */
:root{
  --njp-font:"Be Vietnam Pro",sans-serif;
  --njp-serif:"Be Vietnam Pro",sans-serif;
}
body,button,input,select,textarea{
  font-family:var(--njp-font)!important;
}
h1,h2,h3,h4,h5,h6,
.hero-title,.section-title,.lp-hero h1,.lp-section h2,
.njp-hero h1,.njp-section h2,.service-hero h1,.service-section h2{
  font-family:var(--njp-font)!important;
}
h1{font-size:40px!important;line-height:1.15!important;}
h2{font-size:32px!important;line-height:1.22!important;}


/* ===== NAKAJP unified footer + readable casing fix ===== */
.quote-review h1,
.quote-review h2,
.quote-review h3,
.quote-review h4,
.quote-review .eyebrow{
  text-transform:none !important;
}
.quote-review .eyebrow{
  letter-spacing:.02em !important;
}

.quote-review .nakajp-dark-footer{
  background:#1a1a1a;
  color:#fff;
  padding:76px 0 34px;
}
.quote-review .nakajp-dark-footer .footer-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr 1fr .9fr;
  gap:38px;
  text-align:left;
  margin-bottom:48px;
}
.quote-review .footer-logo{
  max-width:172px;
  height:auto;
  margin-bottom:18px;
  filter:brightness(0) invert(1);
}
.quote-review .nakajp-dark-footer h3{
  margin:0 0 18px;
  color:#B8944D;
  font-size:16px;
  line-height:1.3;
  font-weight:720;
  text-transform:none;
  letter-spacing:.01em;
}
.quote-review .nakajp-dark-footer p,
.quote-review .nakajp-dark-footer span,
.quote-review .nakajp-dark-footer a{
  color:rgba(255,255,255,.82);
  font-size:14px;
  line-height:1.75;
  text-decoration:none;
}
.quote-review .nakajp-dark-footer .footer-col{
  display:grid;
  align-content:start;
  gap:10px;
}
.quote-review .nakajp-dark-footer .footer-col p{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0;
}
.quote-review .nakajp-dark-footer i{
  color:#B8944D;
  margin-top:4px;
  min-width:16px;
}
.quote-review .nakajp-dark-footer a:hover{color:#fff}
.quote-review .footer-bottom{
  border-top:1px solid rgba(255,255,255,.14);
  padding-top:22px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
@media (max-width:900px){
  .quote-review .nakajp-dark-footer .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width:640px){
  .quote-review .nakajp-dark-footer{
    padding:58px 0 28px;
  }
  .quote-review .nakajp-dark-footer .footer-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
}

/* PHASE 2.5 — scoped polish: LP005 quote scope section */
.quote-review #scope .scope-outcome-header {
  max-width: 820px;
}

.quote-review #scope .scope-outcome-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, 1040px);
  margin-inline: auto;
}

.quote-review #scope .scope-outcome-card {
  padding: 28px 28px 26px;
  border-radius: 26px;
  border-color: rgba(91, 67, 49, .18);
  background: rgba(252, 248, 241, .94);
  box-shadow: 0 18px 44px rgba(31, 27, 23, .12);
}

.quote-review #scope .scope-result-card {
  display: flex;
  flex-direction: column;
  background: rgba(248, 239, 225, .95);
}

.quote-review #scope .scope-outcome-card::before {
  content: none;
}

.quote-review #scope .scope-card-head {
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.quote-review #scope .scope-card-head h3 {
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.2;
}

.quote-review #scope .scope-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #6b4f3a;
  color: #f5e7c8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
}

.quote-review #scope .scope-result-card .scope-card-icon {
  background: #3f342c;
}

.quote-review #scope .scope-action-list {
  gap: 0;
}

.quote-review #scope .scope-action-list li {
  padding: 13px 4px 13px 30px;
  border: 0;
  border-bottom: 1px solid rgba(91, 67, 49, .14);
  border-radius: 0;
  background: transparent;
  color: #4a3b31;
  font-weight: 600;
  line-height: 1.55;
}

.quote-review #scope .scope-action-list li:last-child {
  border-bottom: 0;
}

.quote-review #scope .scope-action-list li::before {
  top: 15px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(165, 138, 90, .14);
  color: #765b36;
  font-size: 11px;
}

.quote-review #scope .scope-result-highlight {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(235, 219, 188, .54);
  border-color: rgba(118, 91, 54, .18);
  color: #493a2f;
  font-weight: 700;
  line-height: 1.6;
}

.quote-review #scope .scope-wide-cta {
  width: min(100%, 560px);
}

@media (max-width: 860px) {
  .quote-review #scope .scope-outcome-grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 620px);
  }

  .quote-review #scope .scope-outcome-card {
    padding: 22px 20px;
    border-radius: 22px;
  }
}

/* =========================================================
PHASE 2.6 — LP005 scope content completeness
Scoped to quote-review #scope. Keeps two large cards; each card
contains three editorial groups separated by light dividers.
========================================================= */

.quote-review #scope .scope-outcome-grid {
  align-items: stretch;
}

.quote-review #scope .scope-outcome-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.quote-review #scope .scope-card-head {
  min-height: 48px;
  margin-bottom: 8px;
}

.quote-review #scope .scope-card-head h3 {
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.2;
  text-wrap: balance;
}

.quote-review #scope .scope-info-groups {
  display: grid;
  grid-template-rows: repeat(3, auto);
  margin-top: 4px;
}

.quote-review #scope .scope-info-group {
  padding: 18px 2px 17px;
  border-top: 1px solid rgba(91, 67, 49, .16);
}

.quote-review #scope .scope-info-group:first-child {
  border-top: 0;
  padding-top: 12px;
}

.quote-review #scope .scope-info-group h4 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 9px;
  color: #3f342c;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.quote-review #scope .scope-info-group h4 > span {
  flex: 0 0 auto;
  min-width: 20px;
  color: #80623e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.quote-review #scope .scope-info-group ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0 0 0 30px;
  list-style: disc;
}

.quote-review #scope .scope-info-group li {
  padding: 0;
  border: 0;
  background: transparent;
  color: #55463b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.quote-review #scope .scope-info-group li::marker {
  color: rgba(118, 91, 54, .72);
}

@media (max-width: 860px) {
  .quote-review #scope .scope-card-head {
    min-height: 0;
  }

  .quote-review #scope .scope-info-group {
    padding: 16px 0 15px;
  }

  .quote-review #scope .scope-info-group:first-child {
    padding-top: 10px;
  }
}

@media (max-width: 430px) {
  .quote-review #scope .scope-outcome-card {
    padding: 20px 18px;
  }

  .quote-review #scope .scope-card-head {
    gap: 10px;
  }

  .quote-review #scope .scope-card-head h3 {
    font-size: 21px;
  }

  .quote-review #scope .scope-info-group h4 {
    font-size: 15.5px;
  }

  .quote-review #scope .scope-info-group li {
    font-size: 13.5px;
  }
}
