:root {
  --brand: #003781;
  --brand-deep: #061f48;
  --brand-soft: #eaf2ff;
  --accent: #c49a3a;
  --accent-deep: #8a6418;
  --success: #06c755;
  --ink: #0f172a;
  --text: #243247;
  --muted: #64748b;
  --line: #dbe4f0;
  --line-soft: #edf2f7;
  --page: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #fbfdff;
  --shadow-sm: 0 10px 28px rgba(15, 23, 42, .07);
  --shadow-md: 0 20px 56px rgba(15, 23, 42, .11);
  --shadow-lg: 0 34px 90px rgba(0, 55, 129, .17);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 42%, #ffffff 100%);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 14px max(22px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(219, 228, 240, .9);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .04);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 24%, transparent 25%),
    conic-gradient(from 210deg, #003781, #0f62c9, #003781);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 9px 18px rgba(0,55,129,.2);
}

.brand span { color: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  color: #334155;
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #344256;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.nav a:not(.nav-line):not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}

.nav a:hover,
.nav a:focus-visible { color: var(--brand); }

.nav a:not(.nav-line):not(.nav-cta):hover::after,
.nav a:not(.nav-line):not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-line {
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #e9fbf0;
  border: 1px solid rgba(6,199,85,.28);
  color: #057a36 !important;
}

.nav-line span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--success);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.nav-line:hover {
  background: #ddf8e8;
  color: #03662c !important;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff !important;
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 14px 30px rgba(0, 55, 129, .17);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-1px);
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  box-shadow: 0 18px 42px rgba(0, 55, 129, .22);
}

.btn.secondary {
  background: #fff;
  color: var(--brand) !important;
  box-shadow: inset 0 0 0 1px rgba(0,55,129,.06);
}

.btn.secondary:hover {
  background: var(--brand-soft);
  border-color: #9bbff0;
  box-shadow: 0 14px 32px rgba(0, 55, 129, .1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand);
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

main { overflow: hidden; }

.marquee-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(calc(100% - 44px), var(--container));
  margin: 18px auto 0;
  padding: 12px;
  border: 1px solid rgba(196,154,58,.35);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 44%),
    linear-gradient(90deg, var(--brand) 0%, #0b4fa3 58%, var(--brand-deep) 100%);
  box-shadow: var(--shadow-sm);
}

.marquee-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff4d8;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.marquee-window {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 40px;
  padding: 7px 0;
  transform: translateX(100%);
  animation: marquee-scroll 23s linear infinite;
}

.marquee-box:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0,0,0,.22);
}

.marquee-item::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 40px;
  border-radius: 50%;
  background: #f4c867;
  box-shadow: 0 0 0 4px rgba(244,200,103,.18);
}

.marquee-item:hover { color: #ffe29a; }

@keyframes marquee-scroll {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .82fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: center;
  min-height: min(820px, calc(100vh - 76px));
  padding: clamp(58px, 8vw, 112px) max(22px, calc((100vw - var(--container)) / 2)) clamp(62px, 8vw, 104px);
  background:
    radial-gradient(circle at 84% 22%, rgba(196,154,58,.18), transparent 28%),
    linear-gradient(116deg, #ffffff 0%, #f8fbff 46%, #eef5ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
}

.hero > div:first-child {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.hero h1 {
  max-width: 780px;
  margin: 14px 0 22px;
  color: var(--brand-deep);
  font-size: clamp(38px, 5.2vw, 70px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 0 0 32px;
  color: #475569;
  font-size: clamp(17px, 1.35vw, 20px);
}

.hero-actions,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid rgba(0,55,129,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-sm);
}

.trust-strip div {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border-right: 1px solid var(--line-soft);
  color: var(--brand);
  font-weight: 900;
  line-height: 1.45;
}

.trust-strip div:last-child { border-right: 0; }

.credibility-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(calc(100% - 44px), var(--container));
  margin: -28px auto 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
  border: 1px solid rgba(0,55,129,.1);
  border-radius: var(--radius);
  background: var(--line-soft);
  box-shadow: var(--shadow-md);
}

.credibility-band div {
  min-height: 116px;
  padding: clamp(20px, 3vw, 28px);
  background: rgba(255,255,255,.96);
}

.credibility-band strong {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-deep);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 900;
  line-height: 1.25;
}

.credibility-band span {
  display: block;
  color: #5d6b82;
  font-weight: 700;
  line-height: 1.55;
}

.hero-media {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(0,55,129,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow-lg);
}

.hero-media::before {
  content: "Allianz Ayudhya";
  position: absolute;
  left: -18px;
  bottom: 34px;
  z-index: 2;
  max-width: 190px;
  padding: 13px 15px;
  border: 1px solid rgba(196,154,58,.35);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .14);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.45;
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px);
}

.section {
  padding: clamp(72px, 9vw, 126px) max(22px, calc((100vw - var(--container)) / 2));
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section.alt,
.seo-focus-section {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  max-width: 790px;
  margin: 0 0 40px;
}

h2 {
  margin: 10px 0 16px;
  color: var(--brand-deep);
  font-size: clamp(30px, 3.35vw, 50px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-head p,
.article-body p {
  color: var(--muted);
  margin: 0;
}

.home-sales-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
}

.home-sales-head {
  width: 100%;
  max-width: 940px;
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(30px, 4vw, 52px);
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(0,55,129,.12);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(196,154,58,.14), rgba(255,255,255,0) 28%, rgba(0,55,129,.07) 100%),
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(249,252,255,.96) 100%);
  box-shadow: 0 22px 58px rgba(15,23,42,.09);
  text-align: left;
}

.home-sales-head::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent), #2f7dd3);
}

.home-sales-head .eyebrow {
  justify-content: flex-start;
}

.home-sales-head h2 {
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.1vw, 58px);
}

.home-sales-head p {
  max-width: 740px;
  margin-left: 0;
  margin-right: 0;
  font-size: clamp(16px, 1.15vw, 18px);
}

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

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #4a91e8, var(--accent));
  opacity: .85;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,55,129,.22);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.34;
}

.card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.card strong { color: var(--brand); }

.decision-section {
  background:
    linear-gradient(180deg, #fff 0%, #f6f9fd 100%);
}

.plan-compare {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.plan-compare article {
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
  border-right: 1px solid var(--line-soft);
}

.plan-compare article:last-child { border-right: 0; }

.plan-compare span,
.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.plan-compare h3,
.process-list h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.35;
}

.plan-compare p,
.process-list p {
  margin: 0 0 18px;
  color: var(--muted);
}

.service-process {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

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

.process-list article {
  position: relative;
  min-height: 238px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.process-list article::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -19px;
  width: 20px;
  height: 1px;
  background: var(--line);
}

.process-list article:last-child::after { display: none; }

.faq-section {
  background:
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--brand-deep);
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
}

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

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.floating-line {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  box-shadow: 0 18px 44px rgba(6,199,85,.34);
}

.floating-line span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  color: #05a847;
  font-size: 13px;
  font-weight: 900;
}

.floating-line strong {
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(196,154,58,.28);
  border-radius: 999px;
  background: #fff7e4;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 17px;
}

.plan-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.plan-card::before { z-index: 2; }

.plan-card-link {
  display: flex;
  min-height: 100%;
  flex: 1;
  flex-direction: column;
  color: inherit;
}

.plan-card-link:focus-visible {
  outline: 3px solid rgba(0,55,129,.18);
  outline-offset: 4px;
}

.plan-image-frame {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line-soft);
  background: #eef3f8;
}

.plan-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

.plan-card:hover .plan-image { transform: scale(1.035); }

.plan-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 34px);
}

.plan-content .btn,
.plan-content .plan-pdf-btn { margin-top: auto; }
.plan-content .plan-pdf-btn + .btn { margin-top: 12px; }
.home-plan-content { min-height: 268px; }

.plan-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--brand);
  font-weight: 900;
}

.plan-more::after {
  content: ">";
  font-size: 18px;
  line-height: 1;
  transition: transform .18s ease;
}

.plan-card:hover .plan-more::after { transform: translateX(3px); }

.benefits { padding-left: 20px; color: #344054; }

.plan-detail-section {
  background:
    radial-gradient(circle at 86% 14%, rgba(196,154,58,.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.plan-detail {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.plan-detail-media {
  position: sticky;
  top: 98px;
  overflow: hidden;
  border: 1px solid rgba(0,55,129,.12);
  border-radius: var(--radius);
  background: #eef3f8;
  box-shadow: var(--shadow-lg);
}

.plan-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: center;
}

.plan-detail-content {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-md);
}

.plan-detail-content h1 {
  margin: 8px 0 16px;
  color: var(--brand-deep);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 900;
  line-height: 1.14;
}

.plan-detail-summary {
  margin: 0 0 22px;
  color: #475569;
  font-size: clamp(17px, 1.35vw, 20px);
}

.plan-price-note {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 11px 14px;
  border: 1px solid rgba(0,55,129,.12);
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.plan-benefit-box {
  margin: 6px 0 28px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fbfdff;
}

.plan-benefit-box h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 32px);
}

.detail-benefits {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.detail-benefits li {
  position: relative;
  padding-left: 28px;
  color: #344054;
  font-weight: 700;
}

.detail-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(196,154,58,.14);
}

.split {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.field { display: grid; gap: 7px; }
label { color: #253858; font-weight: 800; }

.contact-map-card {
  margin-top: clamp(24px, 4vw, 36px);
  overflow: hidden;
  border: 1px solid rgba(0,55,129,.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-md);
}

.contact-map-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.contact-map-head strong {
  color: var(--brand-deep);
  font-size: 20px;
  font-weight: 900;
}

.contact-map-head span {
  color: var(--muted);
  font-weight: 800;
}

.contact-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eef3f8;
}

.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

input,
textarea,
select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cfdae8;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(0,55,129,.12);
  border-color: var(--brand);
}

textarea { min-height: 124px; resize: vertical; }

.notice {
  padding: 12px 14px;
  border: 1px solid #abefc6;
  border-radius: var(--radius);
  background: #ecfdf3;
  color: #027a48;
  font-weight: 700;
}

.seo-focus-section .grid .card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.activity-showcase {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.activity-head { margin-bottom: 0; }

.activity-slider,
.activity-strip {
  overflow: hidden;
  border: 1px solid rgba(0,55,129,.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.activity-slider .activity-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 42%);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 16px;
}

.activity-slide {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  scroll-snap-align: start;
  background: #eef3f8;
}

.activity-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .45s ease;
}

.activity-slide:hover img { transform: scale(1.035); }

.activity-slide figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 28px rgba(15,23,42,.14);
  backdrop-filter: blur(10px);
}

.activity-slide figcaption strong {
  color: var(--brand);
  line-height: 1.35;
  font-weight: 900;
}

.activity-slide figcaption span {
  color: #475467;
  font-size: 14px;
  line-height: 1.55;
}

.activity-strip {
  position: relative;
  width: min(100%, 1150px);
  margin: 24px auto clamp(34px, 5vw, 64px);
  padding: 12px;
  background:
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.activity-window {
  overflow: hidden;
  height: 420px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
}

.activity-strip .activity-track {
  display: flex;
  height: 100%;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 12px;
  scrollbar-width: none;
}

.activity-strip .activity-track::-webkit-scrollbar { display: none; }

.activity-strip .activity-slide {
  flex: 0 0 100%;
  height: 100%;
  border: 1px solid rgba(255,255,255,.72);
}

.activity-strip .activity-slide img {
  height: 100%;
  object-position: center;
}

.activity-strip .activity-slide figcaption {
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
}

.activity-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,55,129,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: var(--brand);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transform: translateY(-50%);
  transition: transform .18s ease, background .18s ease;
}

.activity-nav:hover {
  transform: translateY(-50%) scale(1.04);
  background: #f7fbff;
}

.activity-nav.prev { left: -12px; }
.activity-nav.next { right: -12px; }

.review-stars {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.review-card { position: relative; }

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

.team-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.team-photo {
  width: 100%;
  height: clamp(260px, 24vw, 340px);
  object-fit: cover;
  object-position: center top;
  background: #eef3f8;
}

.team-body {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
}

.team-card h3 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.25;
}

.team-info {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
}

.team-info div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.team-info dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.team-info dd {
  margin: 0;
  color: #1d2939;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.team-info a { color: var(--brand); }
.team-info a:hover { text-decoration: underline; }

.team-hero {
  padding: clamp(38px, 5vw, 70px) 22px clamp(52px, 7vw, 88px);
  background:
    radial-gradient(circle at 50% 0%, rgba(196,154,58,.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #f2f6fb 100%);
  border-bottom: 1px solid var(--line-soft);
}

.team-hero-card {
  position: relative;
  display: grid;
  gap: clamp(24px, 3vw, 38px);
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(0,55,129,.14);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(196,154,58,.18), rgba(255,255,255,0) 26%, rgba(0,55,129,.08) 100%),
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(250,252,255,.96) 100%);
  box-shadow: 0 28px 70px rgba(0, 35, 82, .13);
}

.team-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent), #2f7dd3);
}

.team-hero-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(196,154,58,.14);
  border-radius: calc(var(--radius) - 1px);
}

.team-hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.team-hero h1 {
  margin: 14px 0 20px;
  color: var(--brand-deep);
  font-size: clamp(34px, 4.05vw, 56px);
  font-weight: 900;
  line-height: 1.14;
}

.team-hero p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: #475569;
  font-size: clamp(17px, 1.35vw, 20px);
}

.team-hero-actions,
.team-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.team-hero-actions { justify-content: center; }

.team-proof-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.team-proof-panel div {
  min-height: 132px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(0,55,129,.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,251,255,.94) 100%);
  box-shadow: 0 14px 34px rgba(15,23,42,.07);
}

.team-proof-panel div:last-child { border-bottom: 1px solid rgba(0,55,129,.1); }

.team-proof-panel strong,
.team-standard-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-deep);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 900;
  line-height: 1.3;
}

.team-proof-panel span,
.team-standard-list span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.team-page-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
}

.team-page-head {
  position: relative;
  max-width: 920px;
  margin: 0 0 clamp(34px, 5vw, 56px);
  padding-left: 22px;
  text-align: left;
}

.team-page-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}

.team-page-head .eyebrow {
  justify-content: flex-start;
}

.team-page-head h2 {
  max-width: 760px;
}

.team-page-head p {
  max-width: 820px;
}

.team-directory { align-items: stretch; }

.team-profile-card {
  border-color: rgba(0,55,129,.12);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 38px rgba(15,23,42,.07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.team-profile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,55,129,.22);
  box-shadow: var(--shadow-md);
}

.team-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.05;
  background:
    linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
}

.team-photo-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0,35,82,0), rgba(0,35,82,.2));
}

.team-profile-card .team-photo {
  height: 100%;
  object-position: center top;
  transition: transform .45s ease;
}

.team-profile-card:hover .team-photo { transform: scale(1.025); }

.team-summary {
  margin: -4px 0 2px;
  color: #5d6b82;
  font-size: 15px;
  line-height: 1.65;
}

.team-profile-card .badge {
  background: #fff9e9;
  border-color: rgba(196,154,58,.38);
}

.team-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(0,55,129,.16);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.team-mini-btn.primary {
  border-color: #06c755;
  background: #06c755;
  color: #fff;
}

.team-service-note {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.team-standard-list {
  display: grid;
  gap: 14px;
}

.team-standard-list div {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.job-video-box {
  margin: 22px 0 24px;
  padding: 10px;
  border: 1px solid rgba(0,55,129,.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(248,251,255,.98) 100%),
    linear-gradient(135deg, rgba(0,55,129,.12), rgba(196,154,58,.16));
  box-shadow: var(--shadow-sm);
}

.job-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--radius);
  background: var(--brand-deep);
}

.job-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(12px, 3vw, 28px) 0;
}

.protected-article {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.article-cover {
  width: 100%;
  height: clamp(280px, 36vw, 430px);
  margin: 18px 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  background: #eef3f8;
  box-shadow: var(--shadow-sm);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 48px max(22px, calc((100vw - var(--container)) / 2));
  background:
    linear-gradient(135deg, var(--brand-deep) 0%, #082f6d 58%, #0b4fa3 100%);
  color: #fff;
}

.site-footer strong {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 18px;
}

.site-footer p {
  max-width: 680px;
  margin: 6px 0 0;
  color: #dbeafe;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  align-items: center;
  justify-content: flex-end;
  min-width: min(100%, 320px);
}

.footer-links a {
  color: #dbeafe;
  font-weight: 800;
  transition: color .18s ease;
}

.footer-links a:hover { color: #fff; }
.footer-links .official-link { color: #ffe4a3; }

@media (max-width: 1040px) {
  .site-header {
    padding-left: 22px;
    padding-right: 22px;
  }

  .nav { gap: 13px; font-size: 14px; }
}

@media (max-width: 900px) {
  .site-header { min-height: 70px; }
  .nav-toggle { display: inline-grid; place-items: center; }

  .nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open { display: flex; }
  .nav a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav a:not(.nav-line):not(.nav-cta)::after {
    left: 12px;
    right: auto;
    bottom: -1px;
    width: 64px;
    height: 2px;
    transform-origin: left;
  }

  .nav a:not(.nav-line):not(.nav-cta):hover,
  .nav a:not(.nav-line):not(.nav-cta):focus-visible {
    background: #f7fbff;
  }

  .nav .nav-line {
    justify-content: center;
    border-bottom: 1px solid rgba(6,199,85,.18);
  }

  .nav .nav-cta {
    margin-top: 4px;
    border-bottom: 0;
  }

  .hero,
  .team-hero,
  .split,
  .grid,
  .team-grid,
  .activity-showcase,
  .home-sales-head {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 34px 22px 48px;
    gap: 28px;
  }

  .hero > div:first-child { max-width: none; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-media::before { left: 14px; bottom: 14px; }
  .hero-media img { aspect-ratio: 4 / 3.25; }

  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .trust-strip div:last-child { border-bottom: 0; }

  .credibility-band {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    margin-top: -18px;
  }

  .credibility-band div { min-height: auto; }

  .plan-compare,
  .process-list {
    grid-template-columns: 1fr;
  }

  .plan-compare article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .plan-compare article:last-child { border-bottom: 0; }

  .process-list article { min-height: auto; }
  .process-list article::after { display: none; }

  .section { padding: 62px 22px; }
  .home-sales-head { gap: 14px; margin-bottom: 28px; }
  .home-sales-head .eyebrow { grid-column: auto; }
  .home-sales-head h2 { font-size: clamp(30px, 8vw, 44px); }
  .home-plan-content { min-height: auto; }
  .plan-detail { grid-template-columns: 1fr; }
  .plan-detail-media { position: relative; top: auto; }
  .plan-detail-media img { aspect-ratio: 4 / 3; }

  .activity-slider .activity-track { grid-auto-columns: minmax(240px, 82%); }
  .activity-slide { min-height: 240px; }
  .activity-window { height: 392px; }
  .activity-strip .activity-slide { flex-basis: 100%; }
  .activity-nav.prev { left: 8px; }
  .activity-nav.next { right: 8px; }

  .team-photo { height: clamp(250px, 72vw, 380px); }
  .team-info div { grid-template-columns: 1fr; gap: 3px; }
  .team-hero {
    padding: 24px 14px 48px;
  }
  .team-hero-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 22px;
  }
  .team-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .team-proof-panel { grid-template-columns: 1fr; }
  .team-proof-panel div { padding: 20px; }
  .team-contact-actions { gap: 8px; }

  .marquee-box {
    grid-template-columns: 1fr;
    gap: 8px;
    width: calc(100% - 28px);
    margin-top: 12px;
    padding: 10px;
  }

  .marquee-label {
    width: fit-content;
    min-height: 28px;
    padding: 5px 11px;
    font-size: 12px;
  }

  .marquee-window {
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  }

  .marquee-track {
    gap: 28px;
    padding: 6px 0;
    animation-duration: 18s;
  }

  .marquee-item { font-size: 14px; }
  .marquee-item::after { margin-left: 28px; }

  .site-footer {
    flex-direction: column;
    padding-left: 22px;
    padding-right: 22px;
  }

  .footer-links {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand { font-size: 17px; }
  .brand::before { width: 30px; height: 30px; }
  .hero-actions .btn,
  .row-actions .btn,
  .nav-cta { width: 100%; }
  .card { padding: 22px; }
  .plan-card { padding: 0; }
  .plan-content { padding: 22px; }
  .activity-strip { padding: 8px; }
  .activity-window { height: 320px; }
  .activity-strip .activity-slide figcaption span { display: none; }
  .team-hero-actions .btn,
  .team-mini-btn {
    width: 100%;
  }
  .site-footer { padding-bottom: 96px; }
  .floating-line {
    left: 14px;
    right: 14px;
    bottom: 14px;
    justify-content: center;
  }
}
