/* ============================================================
   AZAY AGENT — LIFE INSURANCE LANDING PAGE
   Keeps the existing blue / pink identity while improving
   hierarchy, conversion clarity, accessibility and responsiveness.
============================================================= */

:root {
  --az-nav-height: 72px;
  --az-blue: #2e80c8;
  --az-blue-deep: #185fa5;
  --az-blue-soft: #e8f4fd;
  --az-navy: #1a3a5c;
  --az-navy-deep: #0f2942;
  --az-pink: #ff6b9d;
  --az-pink-deep: #c13767;
  --az-pink-soft: #fff0f5;
  --az-line: #06c755;
  --az-ink: #1a1a2e;
  --az-body: #475467;
  --az-muted: #667085;
  --az-border: #dbeafe;
  --az-surface: #f8fbff;
  --az-white: #fff;
  --az-radius-sm: 12px;
  --az-radius-md: 18px;
  --az-radius-lg: 28px;
  --az-shadow-sm: 0 8px 24px rgba(24, 95, 165, 0.08);
  --az-shadow-md: 0 18px 48px rgba(24, 95, 165, 0.14);
}

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

* {
  margin: 0;
  padding: 0;
}

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

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--az-ink);
  background: var(--az-white);
  font-family: 'Sarabun', sans-serif;
  -webkit-font-smoothing: antialiased;
}

@keyframes azFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.az-fade-up { animation: azFadeUp 0.6s ease both; }
.az-fade-up-1 { animation-delay: 0.05s; }
.az-fade-up-2 { animation-delay: 0.15s; }
.az-fade-up-3 { animation-delay: 0.25s; }
.az-fade-up-4 { animation-delay: 0.35s; }

main {
  display: block;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #185fa5;
  outline-offset: 3px;
}

.az-skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 10050;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--az-navy);
  color: var(--az-white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.az-skip-link:focus {
  transform: translateY(0);
}

/* Hero */
.az-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.75rem) 2rem 0;
  border-bottom: 0;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 107, 157, 0.14), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(46, 128, 200, 0.16), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #eef7ff 55%, #fff4f8 100%);
  text-align: left;
}

.az-page-hero::before,
.az-page-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.az-page-hero::before {
  top: -190px;
  right: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(46, 128, 200, 0.12);
  box-shadow: 0 0 0 52px rgba(255, 255, 255, 0.2), 0 0 0 104px rgba(46, 128, 200, 0.035);
}

.az-page-hero::after {
  bottom: 66px;
  left: -70px;
  width: 150px;
  height: 150px;
  background: rgba(255, 107, 157, 0.07);
}

.az-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1160px, 100%);
  margin: 0 auto;
}

.az-hero-copy {
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.az-page-hero .az-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 1.15rem;
  padding: 7px 13px 7px 8px;
  border: 1px solid rgba(46, 128, 200, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--az-blue-deep);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(24, 95, 165, 0.06);
}

.az-hero-kicker-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--az-blue-soft);
  color: var(--az-blue);
}

.az-hero-kicker-icon svg {
  width: 16px;
  height: 16px;
}

.az-page-hero h1 {
  max-width: 720px;
  margin-bottom: 1.1rem;
  color: var(--az-navy);
  font-family: 'Prompt', sans-serif;
  font-size: clamp(2rem, 4.25vw, 3.65rem);
  font-weight: 700;
  line-height: 1.19;
  letter-spacing: -0.035em;
}

.az-page-hero h1 em {
  position: relative;
  display: inline;
  color: var(--az-pink-deep);
  font-style: normal;
}

.az-page-hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 107, 157, 0.18);
  content: "";
}

.az-page-hero .az-hero-desc {
  max-width: 650px;
  margin: 0 0 1.55rem;
  color: var(--az-body);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.az-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.az-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.az-hero-btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.az-hero-btn--line {
  background: var(--az-line);
  color: var(--az-navy-deep);
  box-shadow: 0 9px 22px rgba(6, 199, 85, 0.24);
}

.az-hero-btn--outline {
  border-color: rgba(46, 128, 200, 0.32);
  background: rgba(255, 255, 255, 0.82);
  color: var(--az-navy);
}

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

.az-hero-btn--line:hover {
  box-shadow: 0 12px 28px rgba(6, 199, 85, 0.32);
}

.az-hero-btn--outline:hover {
  border-color: var(--az-blue);
  background: var(--az-white);
  box-shadow: var(--az-shadow-sm);
}

.az-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  color: var(--az-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.az-hero-phone strong {
  color: var(--az-blue-deep);
}

.az-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.az-hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--az-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.az-hero-proof li::before {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 800;
}

.az-hero-visual {
  position: relative;
  align-self: end;
  min-height: 455px;
}

.az-portrait-card {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%, 430px);
}

.az-portrait-card::before {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 88%;
  height: 85%;
  border: 1px solid rgba(46, 128, 200, 0.16);
  border-radius: 48% 48% 22px 22px;
  background: linear-gradient(165deg, rgba(255,255,255,0.75), rgba(213,236,255,0.75));
  content: "";
}

.az-portrait-card img {
  position: absolute;
  z-index: 1;
  right: 1%;
  bottom: 0;
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

.az-advisor-card {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 24px;
  width: min(315px, 86%);
  padding: 15px 17px;
  border: 1px solid rgba(46, 128, 200, 0.17);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--az-shadow-md);
  backdrop-filter: blur(10px);
}

.az-advisor-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.az-advisor-check {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--az-blue);
  color: var(--az-white);
  font-size: 0.8rem;
  font-weight: 800;
}

.az-advisor-card strong {
  display: block;
  color: var(--az-navy);
  font-family: 'Prompt', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.az-advisor-card p {
  margin: 0;
  color: var(--az-muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.az-hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1160px, 100%);
  max-width: none;
  margin: 0 auto;
  border: 1px solid rgba(46, 128, 200, 0.16);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 -4px 30px rgba(24, 95, 165, 0.08);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.az-hero-stat {
  padding: 17px 14px;
  border-right: 1px solid var(--az-blue-soft);
  text-align: center;
}

.az-hero-stat:last-child {
  border-right: 0;
}

.az-hero-stat .num {
  display: block;
  color: var(--az-blue-deep);
  font-family: 'Prompt', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.az-hero-stat .num.pink {
  color: var(--az-pink-deep);
}

.az-hero-stat .lbl {
  display: block;
  margin-top: 4px;
  color: var(--az-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* Long-page category navigation */
.az-plan-jump-wrap {
  position: sticky;
  z-index: 80;
  top: var(--az-nav-height);
  padding: 10px 1rem;
  border-bottom: 1px solid var(--az-border);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(15, 41, 66, 0.06);
  backdrop-filter: blur(12px);
}

.az-plan-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(1000px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.az-plan-jump::-webkit-scrollbar {
  display: none;
}

.az-plan-jump-label {
  flex: 0 0 auto;
  margin-right: 4px;
  color: var(--az-muted);
  font-size: 0.8125rem;
  font-weight: 700;
}

.az-plan-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  flex: 0 0 auto;
  padding: 8px 15px;
  border: 1px solid var(--az-border);
  border-radius: 999px;
  background: var(--az-surface);
  color: var(--az-navy);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.az-plan-jump a:hover,
.az-plan-jump a:focus-visible {
  border-color: var(--az-blue);
  background: var(--az-blue-soft);
  color: var(--az-blue-deep);
}

.az-plan-jump a:last-child {
  border-color: rgba(255, 107, 157, 0.28);
  background: var(--az-pink-soft);
  color: var(--az-pink-deep);
}

/* Shared section headings */
.az-section-label,
.az-cat-label,
.az-sales-eyebrow {
  margin-bottom: 0.55rem;
  color: var(--az-pink-deep);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.az-section-title,
.az-cat-title,
.az-sales-title {
  color: var(--az-navy);
  font-family: 'Prompt', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* Why */
.az-why {
  padding: clamp(4rem, 7vw, 6.25rem) 2rem;
  border-bottom: 1px solid var(--az-blue-soft);
  background: var(--az-white);
}

.az-why .az-section-title {
  margin-bottom: 0.75rem;
}

.az-section-sub {
  max-width: 660px;
  margin: 0 auto 2.25rem;
  color: var(--az-muted);
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}

.az-why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(1100px, 100%);
  max-width: none;
  margin: 0 auto;
}

.az-why-card {
  min-height: 100%;
  padding: 1.35rem 1.15rem;
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius-md);
  background: linear-gradient(180deg, var(--az-white), var(--az-surface));
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.az-why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 128, 200, 0.4);
  box-shadow: var(--az-shadow-sm);
}

.az-why-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--az-blue-soft);
  color: var(--az-blue);
  font-size: 0;
}

.az-why-card:nth-child(even) .az-why-icon {
  background: var(--az-pink-soft);
  color: var(--az-pink);
}

.az-why-icon svg {
  width: 23px;
  height: 23px;
}

.az-why-card h3 {
  margin-bottom: 7px;
  color: var(--az-navy);
  font-family: 'Prompt', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
}

.az-why-card p {
  color: var(--az-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Product catalogue */
.az-plans {
  padding: clamp(4rem, 7vw, 6.25rem) 2rem;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 18%, #fff 100%);
}

.az-plans-intro {
  width: min(720px, 100%);
  margin: 0 auto 3.25rem;
  text-align: center;
}

.az-plans-intro .az-section-title {
  margin-bottom: 0.7rem;
}

.az-plans-intro p:last-child {
  color: var(--az-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.az-cat-divider {
  width: min(1040px, 100%);
  max-width: none;
  margin: 0 auto 1.5rem;
  padding: 0;
  scroll-margin-top: 152px;
  text-align: left;
}

.az-cat-divider:not(:first-child) {
  margin-top: 2.25rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--az-border);
}

.az-plans-intro + .az-cat-divider {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.az-cat-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.az-cat-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat-color, var(--az-pink));
  content: "";
  box-shadow: 0 0 0 5px rgba(46, 128, 200, 0.1);
}

.az-cat-label {
  color: var(--cat-color, var(--az-pink));
  text-transform: none;
}

.az-cat-title {
  margin-bottom: 0.35rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.az-cat-sub {
  color: var(--az-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.az-plan-group {
  width: min(1040px, 100%);
  max-width: none;
  margin: 0 auto 1.5rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--az-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 28px rgba(24, 95, 165, 0.055);
}

.az-plan-group-header {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--az-blue-soft);
}

.az-plan-group-bar {
  width: 5px;
  height: 100%;
  min-height: 44px;
  border-radius: 9px;
}

.az-plan-group-title {
  color: var(--az-navy);
  font-family: 'Prompt', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.4;
}

.az-plan-group-sub {
  margin-top: 3px;
  color: var(--az-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.az-plan-group-badge {
  max-width: 220px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.az-plan-family-banner {
  display: grid;
  grid-template-columns: minmax(200px, 31%) minmax(0, 1fr);
  min-height: 230px;
  margin-bottom: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--az-blue-soft);
  border-radius: 17px;
  background: linear-gradient(135deg, var(--az-surface), var(--az-white));
}

.az-plan-family-photo {
  min-height: 230px;
  background: linear-gradient(145deg, var(--az-blue-soft), #f7fbff);
}

.az-plan-family-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 310px;
  object-fit: contain;
  object-position: center bottom;
}

.az-plan-family-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.az-plan-family-label {
  margin-bottom: 0.45rem;
  color: var(--az-blue-deep);
  font-size: 0.8125rem;
  font-weight: 700;
}

.az-plan-family-title {
  margin-bottom: 0.65rem;
  color: var(--az-navy);
  font-family: 'Prompt', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
}

.az-plan-family-desc {
  max-width: 620px;
  color: var(--az-body);
  font-size: 0.9375rem;
  line-height: 1.75;
}

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

.az-plans-grid[style*="max-width:580px"] {
  width: min(580px, 100%);
  margin-inline: auto;
}

.az-plan-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--az-border);
  border-radius: 17px;
  background: var(--az-white);
  box-shadow: 0 4px 16px rgba(24, 95, 165, 0.045);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.az-plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 128, 200, 0.42);
  box-shadow: var(--az-shadow-md);
}

.az-plan-card.featured {
  border: 2px solid var(--az-pink);
}

.az-plan-header {
  position: relative;
  min-height: 174px;
  padding: 1.35rem 1.4rem;
  overflow: hidden;
}

.az-plan-header::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(15, 41, 66, 0.2);
  content: "";
}

.az-plan-header[style*="#FF6B9D"]::before {
  background: rgba(15, 41, 66, 0.38);
}

.az-plan-header::after {
  position: absolute;
  top: -54px;
  right: -40px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.045);
}

.az-plan-badge {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--az-navy-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.az-plan-name {
  position: relative;
  z-index: 1;
  margin-bottom: 5px;
  color: var(--az-white);
  font-family: 'Prompt', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}

.az-plan-sub {
  position: relative;
  z-index: 1;
  min-height: 2.7em;
  margin-bottom: 12px;
  color: var(--az-white);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.az-plan-highlight {
  position: relative;
  z-index: 1;
  color: var(--az-white);
  font-family: 'Prompt', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.az-plan-highlight span {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  opacity: 1;
}

.az-plan-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.3rem 1.4rem;
}

.az-plan-tag {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.45;
}

.az-plan-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 1.3rem;
  padding: 0;
  list-style: none;
}

.az-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--az-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.az-check {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.az-check svg {
  width: 11px;
  height: 11px;
}

.az-plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: 'Sarabun', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.az-plan-btn:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.az-plan-brochure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 6px;
  padding: 7px 10px;
  color: var(--az-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.az-plan-brochure:hover {
  color: var(--az-blue);
}

.az-plan-note {
  width: min(920px, 100%);
  max-width: none;
  margin: 2.25rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--az-radius-sm);
  background: #f9fafb;
  color: var(--az-muted);
  font-size: 0.8125rem;
  line-height: 1.7;
  text-align: left;
}

/* Dynamically injected sales helpers */
.az-sales-section {
  padding: clamp(4rem, 7vw, 5.5rem) 2rem;
}

.az-sales-inner {
  max-width: 1040px;
}

.az-sales-sub {
  color: var(--az-muted);
  font-size: 0.9375rem;
}

.az-decision-section {
  border-top: 1px solid var(--az-blue-soft);
  background: var(--az-white);
}

.az-decision-wrap {
  border-color: var(--az-border);
  border-radius: var(--az-radius-md);
  box-shadow: var(--az-shadow-sm);
}

.az-decision-table th {
  padding: 15px 16px;
  background: var(--az-navy);
  font-size: 0.8125rem;
}

.az-decision-table td {
  padding: 15px 16px;
  color: var(--az-body);
  font-size: 0.875rem;
}

.az-match {
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 107, 157, 0.08), transparent 24%),
    linear-gradient(135deg, var(--az-surface), #eef7ff);
}

.az-match-card {
  max-width: 720px;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 22px;
  box-shadow: var(--az-shadow-md);
}

.az-match-question {
  font-size: 1.125rem;
}

.az-match-option {
  min-height: 56px;
  padding: 12px 15px;
  border-radius: var(--az-radius-sm);
  font-size: 0.875rem;
}

.az-match-option:hover,
.az-match-option:focus-visible {
  border-color: var(--az-blue);
  background: var(--az-blue-soft);
}

.az-match-plan {
  border-color: var(--az-border);
  background: var(--az-surface);
}

.az-sales-inner .az-intent-grid {
  gap: 16px;
  max-width: 860px;
}

.az-sales-inner .az-intent-card {
  padding: 1.5rem;
  border-radius: var(--az-radius-md);
  background: linear-gradient(145deg, var(--az-white), var(--az-surface));
  box-shadow: 0 6px 20px rgba(24, 95, 165, 0.05);
}

.az-sales-inner .az-intent-card h3 {
  font-size: 1.0625rem;
}

.az-sales-inner .az-intent-card p {
  color: var(--az-muted);
  font-size: 0.875rem;
}

.az-decision-link {
  min-height: 40px;
  color: var(--az-blue-deep);
  line-height: 40px;
}

.az-trust-strip {
  padding: 18px 1rem;
}

.az-trust-list li {
  font-size: 0.875rem;
}

/* Final CTA */
.az-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6rem) 2rem;
  background: linear-gradient(135deg, var(--az-navy-deep), var(--az-navy) 52%, var(--az-blue-deep));
  text-align: center;
}

.az-cta::before,
.az-cta::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.az-cta::before {
  top: -115px;
  left: -85px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.025);
}

.az-cta::after {
  right: -80px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  background: rgba(255, 107, 157, 0.12);
}

.az-cta > * {
  position: relative;
  z-index: 1;
}

.az-cta .az-cta-kicker {
  margin-bottom: 0.6rem;
  color: #ffb6ce;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.az-cta h2 {
  margin-bottom: 0.65rem;
  color: var(--az-white);
  font-family: 'Prompt', sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.4;
}

.az-cta p {
  max-width: 580px;
  margin: 0 auto 1.7rem;
  color: rgba(255,255,255,0.76);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.az-cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.az-btn-pink,
.az-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 27px;
  border-radius: 999px;
  border: 0;
  background: var(--az-pink);
  font-family: 'Sarabun', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.az-btn-pink,
.az-btn-line {
  color: var(--az-navy-deep);
}

.az-btn-line {
  background: var(--az-line);
}

.az-btn-pink:hover,
.az-btn-line:hover {
  transform: translateY(-2px);
}

.az-btn-pink {
  box-shadow: 0 8px 22px rgba(255, 107, 157, 0.25);
}

.az-btn-line {
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.22);
}

/* Quick links and footer refinements */
.az-quicklinks {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.az-ql-card {
  min-height: 152px;
  border-color: var(--az-border);
  border-radius: var(--az-radius-md);
}

.az-ql-card span.az-ql-name {
  font-size: 0.875rem;
}

.az-ql-card span.az-ql-desc {
  color: var(--az-muted);
  font-size: 0.75rem;
}

/* Tablet */
@media (max-width: 1024px) {
  html {
    scroll-padding-top: 145px;
  }

  .az-hero-shell {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 2rem;
  }

  .az-page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .az-hero-visual {
    min-height: 405px;
  }

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

  .az-why-card:nth-child(4),
  .az-why-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 860px) {
  .az-page-hero {
    padding: 2.75rem 1.25rem 0;
  }

  .az-hero-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .az-hero-copy {
    padding-bottom: 2rem;
    text-align: center;
  }

  .az-page-hero .az-hero-kicker,
  .az-page-hero h1,
  .az-page-hero .az-hero-desc {
    margin-right: auto;
    margin-left: auto;
  }

  .az-hero-actions,
  .az-hero-proof {
    justify-content: center;
  }

  .az-hero-phone {
    justify-content: center;
    width: 100%;
  }

  .az-hero-visual {
    min-height: 350px;
    width: min(430px, 100%);
    margin: 0 auto;
  }

  .az-portrait-card {
    right: 50%;
    width: min(390px, 100%);
    transform: translateX(50%);
  }

  .az-advisor-card {
    right: 50%;
    transform: translateX(50%);
  }
}

/* Mobile / small tablet */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 134px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .az-page-hero {
    padding: 2.5rem 1rem 0;
  }

  .az-page-hero::before {
    top: -230px;
    right: -250px;
  }

  .az-hero-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .az-hero-copy {
    padding-bottom: 2rem;
    text-align: center;
  }

  .az-hero-kicker {
    margin-inline: auto;
  }

  .az-page-hero h1 {
    margin-inline: auto;
    font-size: clamp(1.9rem, 8.5vw, 2.7rem);
    letter-spacing: -0.025em;
  }

  .az-page-hero .az-hero-desc {
    margin-inline: auto;
    font-size: 1rem;
  }

  .az-hero-actions,
  .az-hero-proof {
    justify-content: center;
  }

  .az-hero-phone {
    justify-content: center;
    width: 100%;
  }

  .az-hero-visual {
    min-height: 330px;
    width: min(410px, 100%);
    margin: 0 auto;
  }

  .az-portrait-card {
    right: 50%;
    width: min(370px, 100%);
    transform: translateX(50%);
  }

  .az-advisor-card {
    right: 50%;
    bottom: 16px;
    transform: translateX(50%);
  }

  .az-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px 18px 0 0;
  }

  .az-hero-stat {
    border-bottom: 1px solid var(--az-blue-soft);
  }

  .az-hero-stat:nth-child(2n) {
    border-right: 0;
  }

  .az-hero-stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .az-plan-jump-wrap {
    top: var(--az-nav-height);
    padding: 8px 0 8px 1rem;
  }

  .az-plan-jump {
    padding-right: 1rem;
  }

  .az-plan-jump-label {
    display: none;
  }

  .az-plan-jump a {
    min-height: 38px;
    padding: 7px 13px;
    font-size: 0.8125rem;
  }

  .az-why,
  .az-plans,
  .az-sales-section,
  .az-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .az-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .az-why-card:last-child {
    grid-column: 1 / -1;
  }

  .az-cat-divider:not(:first-child) {
    padding-top: 2.75rem;
  }

  .az-plan-group {
    padding: 1rem;
    border-radius: var(--az-radius-md);
  }

  .az-plan-group-header {
    grid-template-columns: 5px minmax(0, 1fr);
  }

  .az-plan-group-badge {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
    text-align: left;
  }

  .az-plan-family-banner {
    grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
  }

  .az-plan-family-body {
    padding: 1.25rem;
  }

  .az-plan-header {
    min-height: 0;
  }

  .az-plan-sub {
    min-height: 0;
  }

  .az-decision-wrap {
    overflow: visible;
    border: 0;
    box-shadow: none;
  }

  .az-decision-table,
  .az-decision-table tbody,
  .az-decision-table tr,
  .az-decision-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .az-decision-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .az-decision-table tbody {
    display: grid;
    gap: 12px;
  }

  .az-decision-table tr {
    padding: 1rem;
    border: 1px solid var(--az-border);
    border-radius: var(--az-radius-md);
    background: var(--az-white);
    box-shadow: var(--az-shadow-sm);
  }

  .az-decision-table td {
    position: relative;
    min-height: 34px;
    padding: 5px 0 5px 8.4rem;
    border: 0;
    font-size: 0.875rem;
  }

  .az-decision-table td::before {
    position: absolute;
    top: 5px;
    left: 0;
    width: 7.7rem;
    color: var(--az-muted);
    content: "";
    font-size: 0.75rem;
    font-weight: 700;
  }

  .az-decision-table td:nth-child(1)::before { content: "แผน"; }
  .az-decision-table td:nth-child(2)::before { content: "เหมาะกับ"; }
  .az-decision-table td:nth-child(3)::before { content: "งบ / ระยะชำระ"; }
  .az-decision-table td:nth-child(4)::before { content: "จุดเด่น"; }

  .az-decision-table td:last-child {
    padding: 8px 0 0;
  }

  .az-decision-table td:last-child::before {
    display: none;
  }

  .az-decision-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    background: var(--az-blue-soft);
  }

  .azay-line-fab {
    display: none !important;
  }

  .az-mobile-salesbar .quote {
    color: var(--az-navy-deep);
  }

  .az-mobile-salesbar .call {
    background: var(--az-blue-deep);
  }

  .az-mobile-salesbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 0.875rem;
  }
}

@media (max-width: 620px) {
  .az-plans-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Small phones */
@media (max-width: 520px) {
  .az-page-hero {
    padding-top: 2rem;
  }

  .az-hero-kicker {
    font-size: 0.8125rem;
  }

  .az-page-hero h1 {
    font-size: clamp(1.75rem, 8.8vw, 2.25rem);
    line-height: 1.25;
  }

  .az-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .az-hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }

  .az-hero-visual {
    min-height: 300px;
  }

  .az-advisor-card {
    width: 92%;
  }

  .az-hero-stat {
    padding: 14px 8px;
  }

  .az-hero-stat .num {
    font-size: 1.05rem;
  }

  .az-hero-stat .lbl {
    font-size: 0.75rem;
  }

  .az-why-grid {
    grid-template-columns: 1fr;
  }

  .az-why-card:last-child {
    grid-column: auto;
  }

  .az-plan-family-banner {
    grid-template-columns: 1fr;
  }

  .az-plan-family-photo {
    min-height: 190px;
    height: 190px;
  }

  .az-plan-family-photo img {
    max-height: 190px;
  }

  .az-plan-family-body {
    padding: 1.2rem;
  }

  .az-plan-group {
    padding: 0.8rem;
  }

  .az-plan-group-header {
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.2rem 0.85rem;
  }

  .az-plan-body,
  .az-plan-header {
    padding-right: 1.15rem;
    padding-left: 1.15rem;
  }

  .az-decision-table td {
    padding-left: 0;
  }

  .az-decision-table td::before {
    position: static;
    display: block;
    width: auto;
    margin-bottom: 2px;
  }

  .az-cta-btns {
    display: grid;
    grid-template-columns: 1fr;
  }

  .az-btn-pink,
  .az-btn-line {
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --az-nav-height: 64px;
  }
}

@media (max-height: 600px) {
  .az-plan-jump-wrap {
    position: relative;
    top: auto;
  }
}

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

  .az-fade-up,
  .az-plan-card,
  .az-why-card,
  .az-hero-btn,
  .az-btn-pink,
  .az-btn-line {
    animation: none !important;
    transition: none !important;
  }
}
