:root {
  --blue: #1841ff;
  --blue-dark: #1235d2;
  --sky: #eef8ff;
  --ink: #1D293D;
  --muted: #62748E;
  --line: #E2E8F0;
  --mint: #e6f6ef;
  --mint-deep: #a8dfc3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans Thai", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 29.7px;
  letter-spacing: 0;
  background: #ececec;
  color: var(--ink);
}

.page-shell {
  background: #F4F4F4E5;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 36px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 244, 244, 0.9);
  backdrop-filter: blur(8px);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 48px;
  width: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.desktop-nav a {
  text-decoration: none;
  color: #394056;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  transition: color 0.15s ease;
}

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

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-login {
  color: #394056;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.btn-signup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 50px;
  padding: 0 52px;
}

.btn-signup .arrow {
  font-size: 15px;
  transition: transform 0.2s ease;
}

.btn-signup:hover .arrow {
  transform: translateX(3px);
}

.btn {
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 500;
  height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-ghost {
  background: #edf2ff;
  color: var(--blue);
  border: 1px solid #dae5ff;
}

.btn-light {
  background: #fff;
  color: var(--blue);
}

.full {
  width: 100%;
}

.section-light {
  padding: 56px 36px;
  background: #fff;
}

.section-blue {
  padding: 72px 56px;
  background: #1D4CF3;
  color: #fff;
}

.hero {
  padding: 24px 48px 64px;
  background: #F4F4F4E5;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: center;
  padding: 20px 0 40px 56px;
  background: #FFFFFF;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.hero-lead {
  color: #4b5470;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.65;
  max-width: 520px;
}

.price-callout {
  margin-top: 28px;
  background: #ECFEFF;
  border-radius: 24px;
  padding: 22px 28px 24px;
  max-width: 520px;
  position: relative;
}

.price-callout::before {
  content: "";
  position: absolute;
  top: -22px;
  right: -12px;
  width: 64px;
  height: 64px;
  background: #eef5fc;
  border-radius: 50%;
  pointer-events: none;
}

.price-callout::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 48px;
  width: 32px;
  height: 32px;
  background: #ECFEFF;
  border-radius: 50%;
  pointer-events: none;
}

.price-headline {
  margin: 0 80px 0 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.price-headline strong {
  color: var(--blue);
  font-weight: 700;
}

.price-checks {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.price-checks li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #3b4358;
  font-size: 14px;
}

.price-checks .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(51, 217, 255, 0.15);
  color: #33D9FF;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.price-callout .btn {
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(24, 65, 255, 0.28);
}

.hero-phone-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  align-self: stretch;
  margin-bottom: -60px;
  overflow: visible;
}

.hero-phone-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 82%,
    rgba(0, 0, 0, 0.85) 88%,
    transparent 95%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 82%,
    rgba(0, 0, 0, 0.85) 88%,
    transparent 95%
  );
}

.hero-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0 24px 8px;
  position: relative;
}

.chat-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 80px;
  height: 80px;
  z-index: 50;
  display: block;
  transition: transform 0.2s ease;
}

.chat-popup img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(24, 65, 255, 0.28));
}

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

@media (max-width: 760px) {
  .chat-popup {
    width: 64px;
    height: 64px;
    bottom: 16px;
    right: 16px;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat strong {
  font-size: 44px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1;
}

.stat span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.service-header h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.service-header .accent {
  color: #9EF4FF;
}

.pill-tabs {
  display: inline-flex;
  padding: 6px;
  gap: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.12);
  flex-wrap: wrap;
}

.tab {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tab.active {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0028B6;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 40, 182, 0.08),
    0 4px 14px rgba(0, 0, 0, 0.18);
}

.service-panel {
  display: none;
  animation: panelFade 0.35s ease;
}

.service-panel.active {
  display: block;
}

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

.service-content {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.service-sub {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
}

.sparkle {
  display: inline-block;
  height: 0.9em;
  width: auto;
  vertical-align: -0.05em;
  margin-left: 4px;
  filter: drop-shadow(0 0 6px rgba(255, 221, 120, 0.8));
}

.service-ctas {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.service-ctas .btn {
  padding: 0 22px;
  font-weight: 600;
  font-size: 14px;
}

.btn-yellow {
  background: #ffd74d;
  color: #141414;
}

.service-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.otp-stage {
  position: relative;
  margin: 20px auto 0;
  width: 100%;
  aspect-ratio: 1160 / 560;
}

.otp-lead {
  position: absolute;
  top: 22%;
  left: 8%;
  width: 38%;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.2px;
  text-align: center;
  color: #fff;
  z-index: 5;
}

.otp-dashboard-img {
  position: absolute;
  top: 4%;
  right: -56px;
  width: 56%;
  height: auto;
  border-radius: 12px 0 0 12px;
  z-index: 1;
}

.otp-phone-img {
  position: absolute;
  bottom: 0;
  left: 12%;
  width: 27%;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 26px 36px rgba(5, 12, 60, 0.45));
}

.otp-envelope-wrap {
  position: absolute;
  top: 40%;
  left: 35%;
  width: 14%;
  z-index: 4;
  transform: rotate(-8deg);
  filter: drop-shadow(0 14px 20px rgba(5, 12, 60, 0.35));
}

.otp-envelope-img {
  width: 100%;
  height: auto;
  display: block;
}

.otp-envelope-dot {
  position: absolute;
  top: -14%;
  right: 40%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ff3b5c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transform: rotate(8deg);
}

.service-panel[data-panel="otp"] {
  padding-bottom: 0;
}

.sms-service:has(.service-panel[data-panel="otp"].active) {
  padding-bottom: 0;
}

.api-lead {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.api-visual img {
  width: 100%;
  max-width: 560px;
  filter: drop-shadow(0 24px 40px rgba(5, 12, 60, 0.45));
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.report-subtitle {
  margin: 28px auto 0;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  max-width: 720px;
}

.report-visual-full {
  margin-top: 28px;
  justify-content: center;
}

.report-visual-full img {
  width: 100%;
  max-width: 1080px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(5, 12, 60, 0.4));
}

.service-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.carrier-card {
  margin-top: 28px;
  padding: 28px 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 20px rgba(0, 10, 60, 0.1);
}

.carrier-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.carrier-logos {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrier-logos img {
  width: 100%;
  max-width: 420px;
  display: block;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.service-features li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7cc8ff;
}

.service-dashboard {
  margin-right: -56px;
}

.service-dashboard img {
  display: block;
  width: 100%;
  height: auto;
}

.mock-head {
  height: 28px;
  border-radius: 8px;
  background: #edf2ff;
}

.mock-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock-grid div {
  height: 100px;
  border-radius: 10px;
  background: #f4f7ff;
}

.section-title h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section-title .accent-blue {
  color: var(--blue);
}

.section-title.center {
  text-align: center;
}

.features {
  background: #EEFAFF;
  border-bottom-left-radius: 50% 80px;
  padding-bottom: 100px;
}

.feature-layout {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: center;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-chart {
  margin-right: -56px;
}

.feature-chart img {
  width: 100%;
  display: block;
}

.f-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(20, 33, 84, 0.05);
}

.f-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  color: var(--blue);
  margin-bottom: 14px;
}

.f-icon svg,
.f-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.f-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.f-card p {
  margin: 0;
  color: #6b7390;
  line-height: 1.5;
  font-size: 14px;
}

.award {
  padding: 60px 36px 72px;
  text-align: center;
}

.award-image {
  width: min(140px, 40vw);
  display: block;
  margin: 0 auto 20px;
}

.award h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.award p {
  color: #636b83;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
}

.award-link {
  color: var(--blue);
  text-decoration: underline;
  font-size: 15px;
  font-weight: 400;
}

.award-link:hover {
  text-decoration: none;
}
.pricing {
  background: #EEFAFF;
  border-top-right-radius: 50% 80px;
  padding-top: 100px;
}

.pricing-subtitle {
  margin: 10px 0 0;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.pricing-rows {
  margin-top: 110px;
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.plan-row {
  background: #fff;
  border-radius: 28px;
  padding: 18px 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  position: relative;
}

.plan {
  border: 0;
  border-radius: 0;
  padding: 22px 24px;
  position: relative;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.plan-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #0F172B;
}

.plan-price {
  margin: 2px 0 14px;
  font-size: 26px;
  font-weight: 700;
  color: #0F172B;
  letter-spacing: -0.5px;
}

.plan-details {
  list-style: none;
  padding: 0 0 14px;
  margin: 0 0 12px;
  border-bottom: 1px solid #c5cbdb;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-details li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 300;
  color: #0F172B;
}

.plan-details strong {
  color: #0F172B;
  font-weight: 600;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-features li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  font-weight: 300;
  color: #0F172B;
  line-height: 1.4;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(51, 217, 255, 0.15) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2333D9FF'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") no-repeat center/11px;
}

.plan .btn {
  margin-top: auto;
  padding: 0 16px;
  font-weight: 600;
  height: 50px;
}

.plan.featured {
  background: #1D4CF3;
  color: #fff;
  border: 0;
  border-radius: 32px;
  padding: 22px 24px;
  margin: -60px 0 70px;
  box-shadow: 0 0 30px 2px rgba(62, 236, 255, 0.5);
  z-index: 2;
}

.plan.featured .plan-label {
  color: #fff;
}

.plan.featured .plan-price {
  color: #fff;
}

.plan.featured .plan-details {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.plan.featured .plan-details li {
  color: #fff;
}

.plan.featured .plan-details strong {
  color: #fff;
}

.plan.featured .plan-features li {
  color: #fff;
}

.plan.featured .plan-features li::before {
  background-color: rgba(62, 236, 255, 0.35);
}

.btn-featured {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-featured:hover {
  background: rgba(255, 255, 255, 0.3);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #FFE958;
  color: #0028C3;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  min-width: 72px;
  text-align: center;
}

.advisor {
  margin-top: 56px;
  border-radius: 32px;
  padding: 44px 56px;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px -18px rgba(30, 45, 90, 0.12);
}

.advisor-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.advisor-content h3 {
  margin: 0;
  font-size: 30px;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.advisor-content p {
  margin: 10px 0 22px;
  color: #5a6179;
  font-size: 15px;
  line-height: 1.55;
  max-width: 560px;
}

.advisor-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 48px;
}

.advisor-features li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--ink);
}

.advisor-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(51, 217, 255, 0.15) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2333D9FF'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") no-repeat center/12px;
}

.advisor-contact {
  background: #FFE538;
  color: #1a1a1a;
  padding: 0 30px;
  height: 50px;
  font-weight: 700;
  font-size: 17px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  box-shadow: none;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease, background 0.2s ease;
}

.advisor-contact:hover {
  background: #F5D520;
  transform: translateY(-1px);
}

.advisor-contact-icon {
  width: 20px;
  height: 20px;
}

.advisor-visual {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin: -44px -56px -44px -60px;
}

.advisor-image {
  width: 100%;
  max-width: 360px;
  display: block;
}

.partner {
  text-align: center;
  background: linear-gradient(180deg, #0437ED 0%, #001EAE 100%);
  color: #fff;
}

.partner h2 {
  margin: 8px 0 0;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.partner-head {
  text-align: center;
}

.partner-head .eyebrow {
  max-width: none;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

.partner-brand-logo {
  display: block;
  margin: 20px auto 0;
  height: 72px;
  width: auto;
}

.partner-head p {
  max-width: 1100px;
  margin: 28px auto 0;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.partner-trust {
  margin-top: 36px;
}

.partner-trust h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  color: #fff;
}

.partner-trust p {
  max-width: 720px;
  margin: 12px auto 64px;
  color: #d8def2;
  line-height: 1.65;
  font-size: 15px;
}

.map-glow {
  margin: 22px auto 10px;
  max-width: 1200px;
}

.map-image {
  width: 100%;
  display: block;
}

.partner-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.partner-logo-image {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.reviews {
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  position: relative;
  margin-top: -48px;
}

.reviews-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.reviews-title-deco {
  width: 40px;
  height: auto;
  display: inline-block;
}

.reviews-viewport {
  margin-top: 40px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 16px;
  margin-left: -4px;
  margin-right: -4px;
  container-type: inline-size;
}

.reviews-viewport::-webkit-scrollbar {
  display: none;
}

.reviews-viewport.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.reviews-viewport {
  cursor: grab;
}

.reviews-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
  width: max-content;
}

.review-card {
  flex: 0 0 auto;
  width: calc((100cqi - 56px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #E6E9EF;
  border-radius: 20px;
  padding: 28px 28px 32px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
  display: flex;
  flex-direction: column;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-meta h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.review-meta p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7285;
  line-height: 1.45;
}

.review-quote {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #4b5470;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.reviews-dot {
  width: 24px;
  height: 4px;
  border-radius: 4px;
  border: 0;
  background: #D9DCE3;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.reviews-dot.active {
  width: 44px;
  background: #5BE8FF;
}

.faq .section-title h2 {
  font-weight: 500;
}

.faq-subtitle {
  max-width: 820px;
  margin: 14px auto 0;
  color: #5f6782;
  font-size: 16px;
  line-height: 1.6;
}

.faq-list {
  max-width: 1100px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid #eef1f8;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 22px 28px;
  text-align: left;
  font: inherit;
  font-size: 17px;
  color: #1a2340;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-a p {
  margin: 0;
  padding: 0 28px 22px;
  font-size: 16px;
  font-weight: 300;
  color: #5f6782;
  line-height: 1.6;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.faq-q span {
  transition: transform 0.2s ease;
  font-size: 24px;
  color: #1a2340;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
}

.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.blog-head h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #1a2340;
}

.blog-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a2340;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.blog-view-all span {
  transition: transform 0.2s ease;
}

.blog-view-all:hover span {
  transform: translateX(3px);
}

.blog-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  border: 1px solid #eef1f8;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}

.blog-image {
  aspect-ratio: 16 / 10;
  background: #f2f5fb;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid #e4e8f2;
  border-radius: 999px;
  font-size: 13px;
  color: #1a2340;
  background: #EAFEFF;
}

.blog-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #1a2340;
}

.blog-card p {
  margin: 0;
  color: #6b7389;
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-date {
  margin-top: auto;
  color: #9ba3b8;
  font-size: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact-copy h2 {
  margin: 0 0 32px;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  color: #1a2340;
  letter-spacing: -0.3px;
}

.contact-block h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: #1a2340;
}

.contact-block p {
  margin: 0 0 12px;
  color: #6b7389;
  font-size: 14px;
  line-height: 1.7;
}

.contact-hours {
  margin: 0 0 14px !important;
  color: #3a4260 !important;
  font-size: 14px;
}

.contact-hours strong {
  color: #1a2340;
  font-weight: 600;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1a2340;
  font-size: 15px;
  text-decoration: none;
  font-weight: 500;
}

.contact-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 16px;
}

.contact-divider {
  height: 1px;
  background: #eef1f8;
  margin: 28px 0;
}

.contact-form {
  background: #fff;
  border: 1px solid #eef1f8;
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
}

.contact-form-head h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  color: #1a2340;
}

.contact-form-head p {
  margin: 0;
  color: #8b93aa;
  font-size: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field > span {
  font-size: 13px;
  color: #1a2340;
  font-weight: 500;
}

.form-field em {
  color: #e53935;
  font-style: normal;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #e4e8f2;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: #1a2340;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #c8cedb;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(4, 55, 237, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-contact-submit {
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-contact-submit:hover {
  background: var(--blue);
  color: #fff;
}

.map-section {
  padding-top: 0;
  padding-bottom: 56px;
}

.map-image-wrap {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.map-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.location-container {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location-card {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 240px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  margin: 0;
  background: #fff;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  z-index: 2;
}

.lc-grabber {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: #d4d4d4;
  margin: 0 auto 12px;
}

.location-card::-webkit-scrollbar {
  width: 6px;
}

.location-card::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 3px;
}

.lc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.lc-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1a2340;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.lc-actions-top {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.lc-actions-top button {
  width: 34px;
  height: 34px;
  border: 0;
  background: #f1f3f4;
  border-radius: 50%;
  cursor: pointer;
  color: #5f6368;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lc-actions-top button:hover {
  background: #e8eaed;
}

.lc-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #5f6368;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.lc-rating-value {
  color: #202124;
  font-weight: 400;
}

.lc-rating-stars {
  display: inline-flex;
  gap: 1px;
  color: #e8a400;
  font-size: 13px;
}

.lc-rating-stars .star {
  color: #dadce0;
}

.lc-rating-stars .star.filled,
.lc-rating-stars .star.half {
  color: #e8a400;
}

.lc-rating-stars .star.half {
  background: linear-gradient(90deg, #e8a400 50%, #dadce0 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lc-rating-count {
  color: #1a73e8;
  font-size: 13px;
}

.lc-sep {
  width: 3px;
  height: 3px;
  background: #5f6368;
  border-radius: 50%;
  margin: 0 2px;
}

.lc-distance {
  color: #5f6368;
  font-size: 12px;
}

.lc-type {
  margin: 0 0 8px;
  font-size: 13px;
  color: #5f6368;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lc-accessibility {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #1a73e8;
  color: #fff;
  font-size: 12px;
}

.lc-hours {
  margin: 0;
  font-size: 14px;
  color: #1a2340;
}

.lc-closing {
  color: #d93025;
  font-weight: 500;
}

.lc-opening {
  margin: 0 0 4px;
  font-size: 14px;
  color: #1a2340;
}

.lc-saved {
  margin: 0 0 14px;
  font-size: 13px;
  color: #5f6368;
}

.lc-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.lc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.lc-btn-primary {
  background: var(--blue);
  color: #fff;
}

.lc-btn-primary:hover {
  background: #032cc4;
}

.lc-btn-soft {
  background: #EAFEFF;
  color: #1a2340;
  border: 1px solid #d6ecf0;
}

.lc-btn-soft:hover {
  background: #d9f8fb;
}

.lc-btn-icon {
  font-size: 14px;
  line-height: 1;
}

.lc-photos-single {
  border-radius: 10px;
  overflow: hidden;
  background: #f1f3f4;
}

.lc-photos-single img {
  width: 100%;
  height: auto;
  display: block;
}

.lc-brand small {
  font-size: 16px;
  font-weight: 400;
  color: #9aa0a6;
}

.lc-photo-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}

.lc-photo {
  background: linear-gradient(135deg, #e8eaf6, #c5cae9);
  border-radius: 4px;
}

.lc-photo:nth-child(2) {
  background: linear-gradient(135deg, #f5f5dc, #d7ccc8);
}

.lc-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #e4e8f2;
  padding: 14px 0 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #5f6782;
  overflow-x: auto;
  white-space: nowrap;
}

.lc-tabs .active {
  color: var(--blue);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -13px;
  border-bottom: 2px solid var(--blue);
  font-weight: 500;
}

.lc-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: #f4f6fb;
  border-radius: 10px;
  font-size: 14px;
  color: #1a2340;
}

.lc-info-row:last-child {
  margin-bottom: 0;
}

.lc-info-icon {
  font-size: 16px;
  width: 22px;
  flex-shrink: 0;
  color: #5f6782;
}

.lc-info-row > div:nth-child(2) {
  flex: 1;
  line-height: 1.5;
}

.lc-sub {
  color: #5f6782;
  font-size: 13px;
}

.lc-info-chev {
  color: #9ba3b8;
  font-size: 14px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .location-container {
    height: 420px;
  }

  .location-card {
    top: 12px;
    left: 12px;
    width: 200px;
  }
}

.footer {
  padding: 56px 72px 36px;
  background: var(--blue);
  color: #fff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.footer-brand-col {
  max-width: 360px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 56px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #dce4ff;
  margin: 0;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #fff;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list a {
  color: #dce4ff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}

.footer-list a:hover {
  color: #fff;
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 32px 0 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.social-icon svg,
.social-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.social-icon:hover {
  opacity: 0.8;
}

.footer-copy {
  font-size: 13px;
  color: #dce4ff;
}

@media (max-width: 1024px) {
  .hero-card,
  .service-content,
  .feature-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .hero-card {
    padding: 40px 32px;
  }

  .section-blue {
    padding: 48px 24px;
  }

  .service-header h2 {
    font-size: 28px;
  }

  .service-content {
    gap: 28px;
  }

  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: 13px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .plan-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .plan.featured {
    margin: 0;
  }

  .pricing-subtitle {
    font-size: 18px;
  }

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

  .advisor {
    grid-template-columns: 1fr;
    padding: 36px 32px;
    gap: 24px;
    text-align: center;
  }

  .advisor-content h3 {
    font-size: 26px;
  }

  .advisor-features {
    justify-content: center;
    grid-template-columns: repeat(2, minmax(0, max-content));
  }

  .advisor-right {
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    transform: none;
  }

  .advisor-visual {
    justify-content: center;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .page-shell {
    border-radius: 0;
    margin: 0;
  }

  .topbar {
    padding: 14px 16px;
  }

  .desktop-nav {
    display: none;
  }

  .topbar .btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .section-light,
  .section-blue {
    padding: 38px 16px;
  }

  .hero {
    padding: 12px 12px 32px;
  }

  .hero-card {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .price-callout {
    padding: 18px 20px;
    border-radius: 22px;
  }

  .price-headline {
    font-size: 18px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .hero-phone-image {
    max-width: 320px;
  }

  .hero-stats {
    margin-top: 28px;
    padding: 0 12px;
  }

  .stat strong {
    font-size: 32px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .plan-row,
  .review-row,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .advisor {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .advisor-features {
    grid-template-columns: 1fr;
  }

  .map-glow {
    margin-top: 16px;
  }

  .partner h2 {
    font-size: 34px;
  }

  .partner-brand-logo {
    height: 48px;
  }

  .partner-head p {
    font-size: 14px;
    line-height: 1.65;
  }

  .partner-trust h3 {
    font-size: 22px;
  }

  .partner-trust p {
    font-size: 13px;
  }

  .partner-logos {
    gap: 14px;
  }

  .partner-logo-image {
    height: 32px;
  }

  .advisor-image {
    max-width: 270px;
  }

  .carrier-banner {
    margin-top: 16px;
    border-radius: 16px;
  }

  .map-embed iframe {
    height: 280px;
  }
}

/* ============================================
   Article page v2 — dark hero + 3-column layout
   ============================================ */

.article-page-v2 {
  background: #fff;
}

/* Dark hero section */
.article-hero-dark {
  background: linear-gradient(135deg, #0437ED 0%, #001EAE 100%);
  padding: 48px 48px 56px;
  position: relative;
  overflow: hidden;
}

.article-hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
}

.article-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}

.article-hero-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #001480;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 0 8px rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease;
}

.article-hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 2;
  pointer-events: none;
}

.article-hero-cover::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.18) 0%, transparent 60%);
  top: -30%;
  right: -30%;
  left: auto;
  bottom: auto;
  width: 200px;
  height: 200px;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.article-hero-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-hero-info {
  color: #fff;
}

.article-breadcrumb-dark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.article-breadcrumb-dark a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s ease;
}

.article-breadcrumb-dark a:hover {
  color: #fff;
}

.article-breadcrumb-dark span:last-child {
  color: rgba(255, 255, 255, 0.85);
}

.article-hero-info h1 {
  margin: 0 0 24px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.3px;
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #FFB020;
  color: #3a2a00;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.meta-badge .badge-icon {
  font-size: 12px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.meta-chip .chip-icon {
  font-size: 12px;
  opacity: 0.9;
}

/* Body 3-column layout */
.article-body-layout {
  display: grid;
  grid-template-columns: 240px 1fr 300px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 36px 72px;
  align-items: start;
}

/* Left sidebar — Table of Contents */
.article-toc-sidebar {
  position: sticky;
  top: 96px;
  padding: 24px 22px;
  border: 1px solid #eef1f8;
  border-radius: 14px;
  background: #fff;
}

.toc-sidebar-title {
  font-size: 12px;
  font-weight: 500;
  color: #8b93aa;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef1f8;
}

.toc-sidebar-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.toc-sidebar-list > li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 14px;
}

.toc-sidebar-list > li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #c8cedb;
  font-size: 14px;
  line-height: 1.6;
}

.toc-sidebar-list > li > a {
  color: #1a2340;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.55;
  display: inline-block;
  transition: color 0.15s ease;
}

.toc-sidebar-list > li > a:hover {
  color: var(--blue);
}

.toc-sidebar-list ul {
  margin: 6px 0 4px;
  padding: 0;
  list-style: none;
}

.toc-sidebar-list ul li {
  margin-bottom: 4px;
  padding-left: 0;
}

.toc-sidebar-list ul li::before {
  display: none;
}

.toc-sidebar-list ul a {
  color: #8b93aa;
  font-size: 13px;
  text-decoration: none;
  font-weight: 400;
  line-height: 1.5;
  display: block;
  transition: color 0.15s ease;
}

.toc-sidebar-list ul a:hover {
  color: var(--blue);
}

/* Main content */
.article-main-content {
  min-width: 0;
}

.article-content {
  font-size: 16px;
  line-height: 1.85;
  color: #3a4260;
  font-weight: 400;
}

.article-content p {
  margin: 0 0 22px;
}

.article-lead {
  margin-bottom: 28px !important;
  font-size: 17px;
  color: #1a2340;
  line-height: 1.8;
  font-weight: 400;
}

.article-content h2 {
  margin: 48px 0 16px;
  font-size: 24px;
  font-weight: 500;
  color: #1a2340;
  letter-spacing: -0.2px;
  line-height: 1.35;
  scroll-margin-top: 100px;
}

.article-content h3 {
  margin: 28px 0 12px;
  font-size: 18px;
  font-weight: 500;
  color: #1a2340;
}

.article-content > ul,
.article-content > ol {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}

.article-content > ul.feature-list li,
.article-content > ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.75;
}

.article-content > ul.feature-list li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.article-content > ol {
  counter-reset: ol-counter;
}

.article-content > ol li {
  counter-increment: ol-counter;
  padding-left: 36px;
}

.article-content > ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #EAFEFF;
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.article-content strong {
  color: #1a2340;
  font-weight: 500;
}

.article-content figure {
  margin: 36px 0;
}

.article-content figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #fafbfe;
  border: 1px solid #eef1f8;
}

.article-content figcaption {
  margin-top: 12px;
  text-align: center;
  color: #8b93aa;
  font-size: 13px;
  line-height: 1.6;
}

.article-table-wrap {
  margin: 20px 0 32px;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #eef1f8;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.article-table th,
.article-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #eef1f8;
}

.article-table thead th {
  background: #fafbfe;
  color: #8b93aa;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.article-table tbody tr:last-child td {
  border-bottom: 0;
}

.article-table tbody td:first-child {
  font-weight: 500;
  color: #1a2340;
}

.article-table tbody td:last-child strong {
  color: var(--blue);
  font-weight: 500;
}

/* Right sidebar */
.article-right-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-cta-banner {
  position: relative;
  display: block;
  padding: 32px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a1530 0%, #162348 55%, #1e2d5c 100%);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.sidebar-cta-banner:hover {
  transform: translateY(-2px);
}

.sidebar-cta-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 176, 32, 0.22), transparent 45%),
    radial-gradient(circle at 15% 90%, rgba(81, 120, 255, 0.28), transparent 50%);
  pointer-events: none;
}

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

.sidebar-cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  color: #FFB020;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sidebar-cta-headline {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.sidebar-cta-headline span {
  color: #FFB020;
}

.sidebar-cta-subtext {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
  line-height: 1.55;
}

.sidebar-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #FFB020;
  color: #3a2a00;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s ease;
}

.sidebar-cta-banner:hover .sidebar-cta-button {
  background: #ffc34d;
}

.sidebar-related {
  padding-top: 8px;
}

.sidebar-related-title {
  font-size: 16px;
  font-weight: 500;
  color: #1a2340;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f8;
}

.sidebar-related-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f4f6fb;
  text-decoration: none;
  transition: background 0.15s ease;
}

.sidebar-related-item:last-child {
  border-bottom: 0;
}

.sr-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #f2f5fb;
}

.sr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sr-body h4 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: #1a2340;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sr-more {
  font-size: 12px;
  color: #8b93aa;
  font-weight: 400;
}

.sidebar-related-item:hover .sr-body h4 {
  color: var(--blue);
}

/* Previous / Next navigation */
.article-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 36px;
  position: relative;
}

.article-prevnext::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  background: #e4e8f2;
}

.prevnext-item {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 28px 32px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: background 0.15s ease;
}

.prevnext-item:hover {
  background: #fafbfe;
}

.prevnext-label {
  font-size: 11px;
  color: #b8c0d1;
  font-weight: 500;
  letter-spacing: 2px;
}

.prevnext-prev .prevnext-label {
  text-align: left;
}

.prevnext-next .prevnext-label {
  text-align: right;
}

.prevnext-body {
  display: flex;
  align-items: center;
  gap: 18px;
}

.prevnext-prev .prevnext-body {
  flex-direction: row;
  text-align: left;
}

.prevnext-next .prevnext-body {
  flex-direction: row;
  text-align: right;
}

.prevnext-thumb {
  flex-shrink: 0;
  width: 110px;
  height: 78px;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f5fb;
}

.prevnext-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prevnext-text {
  flex: 1;
  min-width: 0;
}

.prevnext-text h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #1a2340;
  line-height: 1.45;
  letter-spacing: 0.2px;
}

.prevnext-more {
  font-size: 13px;
  color: #8b93aa;
  font-weight: 400;
}

.prevnext-item:hover .prevnext-text h4 {
  color: var(--blue);
}

/* Responsive */
@media (max-width: 1100px) {
  .article-body-layout {
    grid-template-columns: 220px 1fr;
    gap: 32px;
  }

  .article-right-sidebar {
    display: none;
  }
}

@media (max-width: 900px) {
  .article-hero-dark {
    padding: 32px 24px 40px;
  }

  .article-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-hero-cover {
    max-width: 280px;
    margin: 0 auto;
  }

  .article-hero-info h1 {
    font-size: 26px;
  }

  .article-body-layout {
    grid-template-columns: 1fr;
    padding: 40px 24px 56px;
    gap: 24px;
  }

  .article-toc-sidebar {
    position: static;
    padding: 20px 24px;
    border-radius: 12px;
    background: #fafbfe;
    border: 1px solid #eef1f8;
  }

  .article-prevnext {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .article-prevnext::before {
    display: none;
  }

  .prevnext-item {
    padding: 20px 8px;
    border-bottom: 1px solid #eef1f8;
  }

  .prevnext-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .article-content h2 {
    font-size: 20px;
  }

  .article-content h3 {
    font-size: 17px;
  }

  .prevnext-thumb {
    width: 80px;
    height: 60px;
  }

  .prevnext-text h4 {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .footer {
    padding: 40px 28px 28px;
  }

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

  .footer-brand-col {
    grid-column: 1 / -1;
  }

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