:root {
  --color-primary: #0b325b;
  --color-primary-dark: #07223e;
  --color-primary-light: #1565c0;
  --color-accent-orange: #f05a22;
  --color-accent-hover: #d94b17;
  --color-yellow: #f59e0b;
  --color-green-line: #06c755;
  --color-bg-light: #f8fafc;
  --color-bg-card: #ffffff;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;
  --font-main: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Noto Sans JP", sans-serif;
  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --transition: all 0.25s ease-in-out;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.75;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 92%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-header {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top-bar {
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--color-border);
  padding: 6px 0;
  font-size: 12px;
  color: var(--color-text-muted);
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-main-bar {
  padding: 14px 0;
}

.header-main-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo-group .logo-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.header-logo-group .logo-sub {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone-box {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.header-phone-box .phone-label {
  font-size: 11px;
  color: var(--color-accent-orange);
  font-weight: 700;
}

.header-phone-box .phone-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.header-phone-box .phone-hours {
  font-size: 10.5px;
  color: var(--color-text-muted);
}

.btn-header-line {
  background-color: var(--color-green-line);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-header-line:hover {
  filter: brightness(0.95);
}

.btn-header-estimate {
  background-color: var(--color-accent-orange);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(240, 90, 34, 0.35);
}

.btn-header-estimate .btn-sub {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.9;
}

.btn-header-estimate:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.header-global-nav {
  background-color: var(--color-primary);
}

.header-nav-list {
  display: flex;
  list-style: none;
}

.header-nav-list li {
  flex: 1;
  text-align: center;
}

.header-nav-list li a {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 6px;
  border-right: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}

.header-nav-list li:first-child a {
  border-left: 1px solid rgba(255,255,255,0.12);
}

.header-nav-list li a:hover {
  background-color: var(--color-primary-light);
}

.hero-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(11,50,91,0.72) 0%, rgba(7,34,62,0.65) 100%),
              url('https://images.unsplash.com/photo-1541888946425-d0fbb186f5f7?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #fff;
  padding: 70px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-tagline-badge {
  display: inline-block;
  background-color: var(--color-yellow);
  color: #121212;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  white-space: nowrap;
}

.hero-content h1 {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  color: #fff;
}

.hero-content h1 span.highlight {
  color: var(--color-yellow);
  border-bottom: 3px solid var(--color-yellow);
}

.hero-content p.hero-lead {
  font-size: 16px;
  color: #e2e8f0;
  line-height: 1.8;
  margin-bottom: 28px;
}

.trust-badges-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-badge-item {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-badge-item .badge-icon {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-yellow);
}

.trust-badge-item .badge-text {
  font-size: 12px;
  line-height: 1.3;
  color: #e2e8f0;
}

.trust-badge-item .badge-text strong {
  font-size: 14px;
  display: block;
  color: #fff;
}

.campaign-ribbon {
  background: linear-gradient(90deg, #d94b17 0%, #f05a22 50%, #d94b17 100%);
  color: #fff;
  padding: 14px 0;
  text-align: center;
  box-shadow: 0 4px 10px rgba(240, 90, 34, 0.25);
}

.campaign-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.campaign-badge {
  background-color: #fff;
  color: var(--color-accent-orange);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.campaign-text {
  font-size: 15px;
  font-weight: 700;
}

.campaign-link {
  background-color: #fff;
  color: var(--color-primary);
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
}

.campaign-link:hover {
  background-color: #f1f5f9;
}

.section-wrap {
  padding: 80px 0;
}

.section-head-center {
  text-align: center;
  margin-bottom: 50px;
}

.section-head-center .sub-label {
  display: inline-block;
  color: var(--color-primary-light);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-head-center h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.section-head-center p.head-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 12px auto 0;
}

.simulator-section {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.simulator-box {
  background: var(--color-bg-light);
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.sim-input-column h3 {
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-input-column h3 span.step {
  background-color: var(--color-primary);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.sim-group {
  margin-bottom: 20px;
}

.sim-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.sim-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  background-color: #fff;
  font-size: 14.5px;
  font-weight: 600;
}

.sim-select:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.15);
}

.sim-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  padding: 12px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.sim-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.sim-result-column {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-result-badge {
  display: inline-block;
  background-color: var(--color-accent-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.sim-total-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--color-accent-orange);
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.sim-total-display .total-number {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.sim-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 20px;
}

.sim-breakdown-table th,
.sim-breakdown-table td {
  padding: 8px 4px;
  border-bottom: 1px dashed var(--color-border);
}

.sim-breakdown-table th {
  text-align: left;
  color: var(--color-text-muted);
  font-weight: 500;
}

.sim-breakdown-table td {
  text-align: right;
  font-weight: 700;
  color: var(--color-text-main);
}

.btn-sim-action {
  background-color: var(--color-accent-orange);
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: 0 4px 12px rgba(240, 90, 34, 0.3);
}

.btn-sim-action:hover {
  background-color: var(--color-accent-hover);
}

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

.reason-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.reason-card-num {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.reason-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.reason-card-body {
  padding: 24px;
}

.reason-card-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.reason-card-body p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.pricing-matrix-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pricing-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.pricing-card.is-popular {
  border: 2px solid var(--color-accent-orange);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card-head {
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.pricing-card-head h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.pricing-card-head .plan-target {
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.pricing-card-head .plan-price {
  color: var(--color-accent-orange);
  font-size: 13px;
  font-weight: 700;
}

.pricing-card-head .plan-price strong {
  font-size: 32px;
  font-weight: 900;
}

.pricing-specs-list {
  list-style: none;
  font-size: 13px;
  margin-bottom: 24px;
}

.pricing-specs-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
  display: flex;
  justify-content: space-between;
}

.pricing-specs-list li span.label {
  color: var(--color-text-muted);
}

.pricing-specs-list li span.val {
  font-weight: 700;
  color: var(--color-text-main);
}

.btn-plan-quote {
  background-color: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: block;
}

.pricing-card.is-popular .btn-plan-quote {
  background-color: var(--color-accent-orange);
}

.btn-plan-quote:hover {
  filter: brightness(0.9);
}

.case-filter-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.case-filter-btn {
  background-color: #fff;
  border: 1px solid var(--color-border-dark);
  color: var(--color-text-main);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.case-filter-btn.is-active,
.case-filter-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.ba-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.ba-case-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.ba-img-container {
  position: relative;
  height: 260px;
  overflow: hidden;
  background-color: #000;
}

.ba-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  color: #fff;
  z-index: 3;
}

.badge-after { background-color: var(--color-accent-orange); }
.badge-before { background-color: #475569; }

.ba-toggle-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.ba-toggle-controls button {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.ba-toggle-controls button.is-active {
  background: var(--color-accent-orange);
  border-color: var(--color-accent-orange);
}

.ba-case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.ba-case-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.ba-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 12.5px;
  background-color: var(--color-bg-light);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.ba-meta-grid div span {
  color: var(--color-text-muted);
}

.ba-meta-grid div strong {
  color: var(--color-text-main);
  margin-left: 4px;
}

.ba-craftsman-comment {
  font-size: 13px;
  color: var(--color-text-muted);
  border-left: 3px solid var(--color-primary-light);
  padding-left: 12px;
  line-height: 1.7;
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flow-step-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.step-number {
  background-color: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 10px;
}

.flow-step-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.flow-step-card p {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

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

.staff-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.staff-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.staff-body {
  padding: 24px;
}

.staff-body .role {
  font-size: 12px;
  color: var(--color-accent-orange);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.staff-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.staff-licenses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.license-tag {
  background-color: #f1f5f9;
  border: 1px solid var(--color-border-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.staff-body p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

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

.voice-card {
  background-color: #fff;
  border: 1px solid #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.voice-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed #fcd34d;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.voice-card-head h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary);
}

.voice-card-head span {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

.voice-handwritten-box {
  background: #ffffff;
  border: 1px solid #fed7aa;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.85;
  color: #334155;
  font-style: italic;
  margin-bottom: 14px;
}

.voice-meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

.faq-accordion-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-accordion-item {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--color-primary);
}

.faq-question::before {
  content: 'Q.';
  color: var(--color-accent-orange);
  font-size: 18px;
  font-weight: 900;
  margin-right: 12px;
}

.faq-icon {
  font-size: 18px;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.faq-accordion-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
  border-top: 1px dashed var(--color-border);
  padding-top: 16px;
}

.faq-accordion-item.is-open .faq-answer {
  display: block;
}

.diagnosis-banner-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}

.diag-content-box {
  max-width: 780px;
  margin: 0 auto;
}

.diag-content-box h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
  color: #fff;
}

.diag-content-box p {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.diag-buttons-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-diag-phone {
  background-color: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-border-dark);
  font-size: 18px;
  font-weight: 900;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.btn-diag-form {
  background-color: var(--color-accent-orange);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px rgba(240, 90, 34, 0.25);
  white-space: nowrap;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-box-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.form-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-input-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-main);
}

.form-input-group input,
.form-input-group select,
.form-input-group textarea {
  padding: 10px 12px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
}

.btn-modal-submit {
  background-color: var(--color-accent-orange);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 10px;
}

.site-footer {
  background-color: var(--color-primary-dark);
  color: #e2e8f0;
  padding: 60px 0 20px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-company-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer-company-info p {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.9;
  margin-bottom: 14px;
}

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

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #94a3b8;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  z-index: 2000;
  padding: 8px 12px;
}

.mobile-sticky-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
}

.mobile-sticky-btn {
  text-align: center;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.btn-mob-tel { background-color: var(--color-primary); color: #fff; }
.btn-mob-line { background-color: var(--color-green-line); color: #fff; }
.btn-mob-diag { background-color: var(--color-accent-orange); color: #fff; }

@media (max-width: 992px) {
  .header-global-nav { display: none; }
  .header-phone-box { display: none; }
  .btn-header-line { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .simulator-box { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .pricing-matrix-wrap { grid-template-columns: repeat(2, 1fr); }
  .ba-cases-grid { grid-template-columns: 1fr; }
  .flow-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: 1fr; }
  .voices-grid { grid-template-columns: 1fr; }
  .footer-main-grid { grid-template-columns: 1fr; }
  .mobile-sticky-bar { display: block; }
  body { padding-bottom: 60px; }
}

@media (max-width: 600px) {
  .hero-content h1 { font-size: 26px; }
  .pricing-matrix-wrap { grid-template-columns: 1fr; }
  .flow-steps-grid { grid-template-columns: 1fr; }
  .footer-nav-grid { grid-template-columns: 1fr; }
}
