/* ==========================================================================
   Life Value Creation Co., Ltd. — site stylesheet
   ========================================================================== */

:root {
  --color-primary: #125fe1;
  --color-primary-dark: #0d48b8;
  --color-navy: #0e1e3b;
  --color-navy-2: #1b2a4a;
  --color-text: #33456b;
  --color-text-soft: #48598a;
  --color-text-softer: #5b6e9c;
  --color-text-faint: #7889ad;
  --color-text-faintest: #9aa8c6;
  --color-bg: #ffffff;
  --color-bg-soft: #f6f9fe;
  --color-bg-softer: #eef4fd;
  --color-border: #dce6f5;
  --color-border-soft: #e4ecf9;
  --color-border-softer: #e1e9f5;
  --color-accent: #b9cff4;
  --color-gold: #c4a21c;

  --font-base: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1120px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 20px rgba(20, 40, 90, 0.08);
  --shadow-lift: 0 10px 30px rgba(20, 40, 90, 0.12);
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1280px;
}

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

/* ---------- Section helpers ---------- */

.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font: 700 12px/1 var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--color-primary);
  background: var(--color-bg-softer);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--color-navy-2);
  line-height: 1.4;
}

.section-lead {
  margin-top: 14px;
  color: var(--color-text-softer);
  font-size: 15px;
  line-height: 1.9;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 3px 0 var(--color-primary-dark);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--color-primary-dark);
}

.btn-outline {
  background: #fff;
  border-color: var(--color-accent);
  color: var(--color-text-soft);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-white {
  background: #fff;
  color: var(--color-navy-2);
}

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

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 17px 40px;
  font-size: 15px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 249, 254, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border-soft);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-navy-2);
  flex: 0 0 auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary), #3f7bf0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex: 0 0 auto;
}

.brand-name {
  line-height: 1.25;
}

.brand-name small {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-navy-2);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.main-nav a[aria-current="page"] {
  font-weight: 700;
  border-bottom-color: var(--color-primary);
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
  flex: 0 0 auto;
}

.header-phone .label {
  font-size: 9px;
  color: var(--color-text-faint);
}

.header-phone .number {
  font: 700 16px var(--font-mono);
  color: var(--color-navy-2);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy-2);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  margin: 5px 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 96px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(165deg, rgba(9, 20, 42, 0.72), rgba(13, 60, 158, 0.6));
}

.hero .container,
.page-hero--photo .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner {
  max-width: 620px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  color: #3a3a3a;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-soft);
  margin-bottom: 34px;
}

.hero .hero-title,
.page-hero--photo .hero-title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.hero .hero-lead,
.page-hero--photo .hero-lead {
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  padding: 64px 0 54px;
  background: var(--color-bg-softer);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.page-hero--photo {
  position: relative;
  overflow: hidden;
}

.page-hero .hero-title {
  font-size: clamp(24px, 3.6vw, 34px);
}

/* ---------- Image placeholders (no photography supplied yet) ---------- */

.ph {
  position: relative;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-bg-softer), #e2ecfb);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-text-faint);
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6), transparent 45%);
}

.ph svg {
  width: 34px;
  height: 34px;
  opacity: 0.55;
  position: relative;
  z-index: 1;
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
  position: relative;
  z-index: 1;
}

.ph--dark {
  background: linear-gradient(135deg, #d9e4f7, #c3d5f2);
}

/* ---------- Cards ---------- */

.card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-softer);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  flex-shrink: 0;
}

.icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-primary);
}

.icon-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.icon-badge--photo {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  margin: 0 0 16px;
}

/* ---------- Service grid (top page) ---------- */

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

.service-card {
  padding: 32px 22px;
  text-align: center;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-navy-2);
  margin: 0 0 10px;
  white-space: pre-line;
}

.service-card p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-softer);
  text-align: left;
}

.section-more {
  text-align: center;
  margin-top: 30px;
}

/* ---------- Staff ---------- */

.staff-row {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.staff-item {
  text-align: center;
  width: 220px;
}

.staff-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 18px;
}

.staff-item .comment {
  font-size: 13.5px;
  color: var(--color-text-softer);
  line-height: 1.8;
}

/* ---------- Strengths ---------- */

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

.strength-card {
  padding: 30px 26px;
}

.strength-card .no {
  font: 700 32px var(--font-mono);
  color: var(--color-accent);
  margin-bottom: 12px;
}

.strength-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-navy-2);
  margin-bottom: 12px;
}

.strength-card p {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--color-text-softer);
}

/* ---------- Voices ---------- */

.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.voice-card {
  padding: 26px 24px;
}

.voice-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--color-text-softer);
  background: var(--color-bg-softer);
  border-radius: 5px;
  padding: 4px 11px;
  margin-bottom: 13px;
}

.voice-card p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-soft);
}

.stars {
  font: 700 13px var(--font-mono);
  color: var(--color-gold);
  letter-spacing: 1px;
}

/* ---------- CTA band ---------- */

.cta {
  padding: 76px 0;
  background: linear-gradient(120deg, var(--color-primary), #0d48c9);
  text-align: center;
}

.cta h2 {
  font-size: clamp(19px, 2.6vw, 23px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 0 34px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}

.footer-brand .brand {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.15);
}

.footer-brand .company {
  font-weight: 700;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.footer-brand .addr {
  font-size: 11.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  text-align: right;
}

.footer-nav a {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

/* ---------- Business (corporate) page ---------- */

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

.service-card-lg {
  padding: 30px;
  text-align: center;
}

.service-card-lg h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy-2);
  margin: 0 0 14px;
  white-space: pre-line;
}

.service-card-lg p {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--color-text-softer);
  text-align: left;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.problem-card {
  padding: 30px 32px;
}

.problem-q {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.problem-q .badge {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg-softer);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 11px var(--font-base);
  color: var(--color-text-faint);
}

.problem-q h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.problem-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  padding-left: 58px;
}

.problem-bullets li {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--color-text-faint);
  position: relative;
  padding-left: 16px;
}

.problem-bullets li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.problem-arrow {
  text-align: center;
  font: 700 20px var(--font-mono);
  color: var(--color-accent);
  margin-bottom: 14px;
}

.problem-answer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.problem-answer .tag {
  flex: 0 0 auto;
  font: 700 11px var(--font-base);
  color: #fff;
  background: var(--color-primary);
  border-radius: 5px;
  padding: 6px 12px;
}

.problem-answer h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-navy-2);
  margin-bottom: 6px;
}

.problem-answer p {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--color-text-softer);
}

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

.case-body {
  padding: 26px 24px;
}

.case-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy-2);
  margin-bottom: 14px;
}

.case-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.case-tags span {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--color-text-softer);
  background: var(--color-bg-softer);
  border-radius: 5px;
  padding: 4px 11px;
}

.case-voice {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-softer);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--color-text-soft);
  font-style: italic;
}

.area-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 30px;
}

.area-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.area-panel-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy-2);
}

.area-group {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 0;
}

.area-group + .area-group {
  border-top: 1px solid var(--color-border-softer);
}

.area-group .region {
  flex: 0 0 96px;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text);
  padding-top: 8px;
}

.area-cities {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-cities span {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg-softer);
  border-radius: 5px;
  padding: 7px 14px;
}

/* ---------- Personal page: price table ---------- */

.price-table {
  max-width: 720px;
  margin: 0 auto;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.price-table-head {
  display: flex;
  background: var(--color-primary);
  padding: 15px 26px;
}

.price-table-head span {
  font-weight: 700;
  font-size: 12.5px;
  color: #fff;
}

.price-table-head span:last-child {
  flex: 0 0 150px;
  text-align: right;
}

.price-row {
  display: flex;
  align-items: center;
  padding: 17px 26px;
  border-top: 1px solid var(--color-border-softer);
  background: #fff;
}

.price-row .menu {
  flex: 1;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--color-navy-2);
}

.price-row .price {
  flex: 0 0 150px;
  text-align: right;
  font: 700 13px var(--font-mono);
  color: var(--color-text-soft);
}

.price-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--color-text-faintest);
  margin-top: 16px;
}

.ba-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.ba-card {
  padding: 22px;
}

.ba-card h3 {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy-2);
  margin-bottom: 16px;
}

.ba-pair {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ba-pair .ph {
  flex: 1;
  height: 170px;
}

.ba-arrow {
  flex: 0 0 auto;
  font: 700 20px var(--font-mono);
  color: var(--color-accent);
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 26px;
}

.flow-step .no {
  flex: 0 0 auto;
  font: 700 30px var(--font-mono);
  color: var(--color-accent);
  line-height: 1;
}

.flow-step .text {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy-2);
}

/* ---------- Company page ---------- */

.greeting {
  display: flex;
  gap: 44px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.greeting-photo {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.greeting-photo .ph {
  width: 100%;
  height: 280px;
}

.greeting-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy-2);
  text-align: center;
}

.greeting-body .eyebrow {
  margin-bottom: 18px;
}

.greeting-body p {
  font-size: 13px;
  line-height: 2;
  color: var(--color-text-soft);
}

.greeting-body p + p {
  margin-top: 18px;
}

.info-table {
  max-width: 780px;
  margin: 0 auto;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.info-row {
  display: flex;
  border-top: 1px solid var(--color-border-softer);
}

.info-row:first-child {
  border-top: none;
}

.info-row .label {
  flex: 0 0 170px;
  padding: 18px 24px;
  background: var(--color-bg-softer);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--color-text);
}

.info-row .value {
  flex: 1;
  padding: 18px 24px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text);
  border-left: 1px solid var(--color-border-softer);
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.contact-card {
  padding: 30px;
  text-align: center;
}

.contact-card .kicker {
  font: 700 11px var(--font-mono);
  letter-spacing: 1.5px;
  color: var(--color-text-faint);
  margin-bottom: 15px;
}

.contact-card .tel-number {
  font: 700 27px var(--font-mono);
  color: var(--color-navy-2);
  margin-bottom: 11px;
}

.contact-card .hours {
  font-size: 12px;
  color: var(--color-text-softer);
}

.qr-box {
  width: 110px;
  height: 110px;
  margin: 0 auto 15px;
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 44px;
}

.field-group {
  margin-bottom: 26px;
}

.field-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-navy-2);
  margin-bottom: 10px;
}

.req {
  color: #d0596b;
  font-weight: 500;
  font-size: 11px;
  margin-left: 4px;
}

.opt {
  color: var(--color-text-faint);
  font-weight: 500;
  font-size: 11px;
  margin-left: 4px;
}

.radio-row,
.checkbox-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-row label,
.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--color-text);
  cursor: pointer;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea {
  width: 100%;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f9fafc;
  padding: 11px 14px;
  font: 400 14px var(--font-base);
  color: var(--color-text);
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}

.contact-form-wrap textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 34px;
}

.form-error {
  margin: 24px 0 0;
  padding: 14px 18px;
  border: 1.5px solid #f1c3cb;
  background: #fdf2f4;
  border-radius: var(--radius-sm);
  color: #d0596b;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.form-success {
  padding: 50px 20px;
  text-align: center;
}

.form-success p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-navy-2);
  font-weight: 500;
}

.form-note {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 12px;
  color: var(--color-text-faintest);
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .strength-grid,
  .service-grid-2,
  .voice-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-inner {
    max-width: 100%;
  }

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

  .greeting-photo {
    flex: none;
    width: 220px;
  }

  .greeting-body p {
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 62px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: 400px;
    padding: 64px 0 52px;
  }

  .hero-bg {
    object-position: center 30%;
  }

  .icon-badge--photo {
    height: 170px;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: var(--shadow-lift);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border-softer);
  }

  .main-nav a[aria-current="page"] {
    border-bottom: 1px solid var(--color-primary);
  }

  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .service-grid,
  .strength-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .staff-item {
    width: 150px;
  }

  .staff-photo {
    width: 96px;
    height: 96px;
    margin: 0 auto 14px;
  }

  .staff-item .comment {
    font-size: 11.5px;
    line-height: 1.7;
  }

  .ba-pair {
    flex-direction: column;
  }

  .ba-pair .ph {
    width: 100%;
  }

  .area-group {
    flex-direction: column;
    gap: 10px;
  }

  .problem-bullets {
    padding-left: 0;
  }

  .contact-form-wrap {
    padding: 30px 22px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-nav {
    text-align: left;
  }
}
