/* ============================================================
   新橋商事株式会社 - 共通スタイルシート
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ---- Palette (爽やか: 白ベース＋ロゴの青＋スカイブルー) -------- */
:root {
  --c-brand: #1a5fb4;        /* 見出し・リンク（白地でコントラスト6:1以上） */
  --c-brand-hover: #1673b8;  /* リンクhover */
  --c-accent: #3aa8e0;       /* ライン・アクセント（文字以外） */
  --c-soft: #f1f8fd;         /* 淡い背景 */
  --c-soft-2: #e3f2fc;       /* ラベル等の背景 */
  --c-line: #d5e8f5;         /* 罫線 */
  --c-muted: #56697d;        /* 補助テキスト */
}

/* ---- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  background: #fff;
}

a { color: var(--c-brand); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-brand-hover); }
img { max-width: 100%; height: auto; vertical-align: bottom; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul, ol { padding-left: 1.5em; }
p { margin: 0 0 1em; }

/* ---- Header ---------------------------------------------- */
.site-header {
  background: #fff;
  border-top: 4px solid var(--c-accent);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(26,95,180,0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}
.site-logo { display: flex; align-items: center; }
.site-logo img {
  height: 42px;
  width: auto;
}
.site-logo .logo-text {
  color: var(--c-brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.main-nav a {
  color: #2b4766;
  padding: 0 18px;
  height: 64px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a.current {
  background: var(--c-soft);
  border-bottom-color: var(--c-accent);
  color: var(--c-brand);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-brand);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ---- Sub header ------------------------------------------ */
.sub-header {
  background: var(--c-soft);
  border-bottom: 1px solid var(--c-line);
}
.sub-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 24px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}
.sub-header a {
  color: var(--c-muted);
  font-size: 12px;
}
.sub-header a:hover { color: var(--c-brand); }

/* ---- Hero (Swiper) --------------------------------------- */
.hero-section { position: relative; }
.swiper { width: 100%; }
.swiper-slide { position: relative; }
.swiper-slide img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10,45,90,0.6));
  padding: 40px 56px;
  color: #fff;
  pointer-events: none;
}
.slide-caption h2 {
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  letter-spacing: 0.04em;
}
.slide-caption p {
  font-size: 24px;
  margin: 0;
  opacity: 0.92;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.swiper-button-next,
.swiper-button-prev {
  color: rgba(255,255,255,0.8) !important;
}
.swiper-pagination-bullet-active {
  background: var(--c-accent) !important;
}

/* ---- Topics section -------------------------------------- */
.topics-section {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.topics-box {}
/* ---- Shared section header -------------------------------- */
.section-header {
  margin-bottom: 24px;
}
.section-header .section-label {
  display: block;
  text-align: left;
  font-size: 72px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #d6ebf8;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 -12px;
}
.section-header h2 {
  display: block;
  text-align: left;
  font-size: 36px;
  font-weight: 700;
  color: var(--c-brand);
  margin: 0;
  padding-left: 10px;
  border-left: 5px solid var(--c-accent);
  line-height: 1.2;
}
.topic-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-brand);
  background: var(--c-soft-2);
  padding: 2px 10px;
  border-radius: 3px;
  margin: 18px 0 8px;
  display: inline-block;
}
.topic-item {
  border-bottom: 1px solid #eee;
  padding: 9px 0 9px 4px;
  font-size: 13px;
  line-height: 1.7;
  color: #444;
}
.topic-item a { color: var(--c-brand); }
.topic-item a:hover { color: var(--c-brand-hover); text-decoration: underline; }

.topics-banner { max-width: 420px; }
.topics-banner a {
  display: block;
  margin-bottom: 16px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s;
}
.topics-banner a:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.topics-banner img { width: 100%; display: block; }

/* ---- Business section ------------------------------------ */
.business-section {
  background: var(--c-soft);
  padding: 72px 24px 60px;
}
.business-section-header {
  max-width: 1200px;
  margin: 0 auto 48px;
}
.business-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.business-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.13);
}
.business-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.business-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.business-card-body h3 {
  font-size: 15px;
  color: var(--c-brand);
  margin-bottom: 8px;
}
.business-card-body p {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  flex: 1;
  margin: 0 0 16px;
}
.card-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-brand-hover);
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-link::after { content: ' →'; }

/* ---- Footer ---------------------------------------------- */
.site-footer {
  background: var(--c-soft);
  border-top: 1px solid var(--c-line);
  color: var(--c-muted);
  padding: 52px 24px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}
.footer-logo {
  margin-bottom: 16px;
}
.footer-logo img {
  height: 38px;
  width: auto;
}
.footer-logo-text {
  color: var(--c-brand);
  font-size: 15px;
  font-weight: 700;
}
.footer-address {
  font-size: 12px;
  line-height: 2;
  color: var(--c-muted);
  margin-top: 8px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li { line-height: 2.4; }
.footer-nav a {
  color: var(--c-muted);
  font-size: 12px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--c-brand); }
.footer-copy {
  text-align: center;
  font-size: 11px;
  color: var(--c-muted);
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}

/* ====== Inner page layout ================================= */

/* ---- Page header ----------------------------------------- */
.page-header {
  background: var(--c-soft);
  padding: 0;
  overflow: hidden;
}
.page-header img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}
.page-header-text {
  background: var(--c-soft);
  padding: 24px 24px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.page-header-text h1 {
  color: var(--c-brand);
  font-size: 22px;
  margin-bottom: 4px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--c-muted);
}
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-brand); }
.breadcrumb span + span::before { content: ' ＞ '; }

/* ---- Inner layout ---------------------------------------- */
.inner-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

/* ---- Sidebar --------------------------------------------- */
.sidebar-nav {
  position: sticky;
  top: 80px;
}
.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
}
/* 見出し直下のリストは見出しとつなげる（上の線・角丸は見出し側） */
.sidebar-section-label + ul {
  border-top: none;
  border-radius: 0 0 6px 6px;
}
/* 見出しのないリスト（「トップページへ」など）は前のグループと間隔をあける */
.sidebar-nav ul + ul { margin-top: 12px; }
.sidebar-nav li { border-bottom: 1px solid var(--c-line); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav a {
  display: block;
  padding: 13px 16px;
  font-size: 13px;
  color: var(--c-brand);
  background: #fff;
  transition: background 0.2s;
}
.sidebar-nav a:hover,
.sidebar-nav a.current {
  background: var(--c-soft);
  color: var(--c-brand-hover);
  font-weight: 700;
}
.sidebar-nav .nav-home {
  background: var(--c-soft);
  font-size: 12px;
  color: var(--c-muted);
  padding: 10px 16px;
  display: block;
}
.sidebar-nav .nav-home:hover { color: var(--c-brand); }

/* ---- Content area ---------------------------------------- */
.page-content {}

.page-content h1.page-title {
  font-size: 22px;
  color: var(--c-brand);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-accent);
  margin-bottom: 32px;
}
.page-content h2 {
  font-size: 16px;
  color: var(--c-brand);
  padding: 10px 10px 10px 16px;
  border-left: 4px solid var(--c-accent);
  background: var(--c-soft);
  margin: 28px 0 16px;
}
.page-content h3 {
  font-size: 14px;
  color: #333;
  font-weight: 700;
  margin: 20px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-line);
}
.page-content p { font-size: 14px; color: #444; line-height: 1.9; }
.page-content ul li { font-size: 14px; color: #444; line-height: 1.9; margin-bottom: 4px; }

/* テーブル */
.page-content table {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
}
.page-content td, .page-content th {
  border: 1px solid #ccc;
  padding: 8px 10px;
  line-height: 1.7;
}
.page-content th {
  background: var(--c-soft-2);
  color: var(--c-brand);
  font-weight: 700;
}

/* 旧クラス互換 */
.t1 { font-size: 26px; color: var(--c-brand); font-weight: 700; display: block; margin: 0 0 32px; padding: 4px 0 4px 14px; border-left: 5px solid var(--c-accent); line-height: 1.3; }
.t2 { font-size: 14px; color: var(--c-brand); padding: 10px 10px 10px 16px; border-left: 4px solid var(--c-accent); background: var(--c-soft); margin: 28px 0 16px; display: block; }
.t3 { font-size: 14px; color: #444; line-height: 1.9; margin: 12px 0; padding-left: 12px; }
.t4 { font-size: 14px; color: #444; line-height: 1.9; margin: 8px 0; padding-left: 24px; }
.t5 { font-size: 14px; color: #444; line-height: 1.9; margin: 8px 0; padding-left: 36px; }
.f12 { font-size: 12px; }
.f10 { font-size: 10px; }
.redTxt { font-weight: bold; color: #cc0000; }
.navi3 { font-size: 12px; color: var(--c-muted); margin-bottom: 24px; }
.navi3 a { color: var(--c-muted); }
.navi3 a:hover { color: var(--c-brand); }

/* 沿革タイムライン */
.timeline {
  position: relative;
  margin: 24px 0;
  padding: 4px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 135px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--c-line);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-date {
  flex: 0 0 136px;
  text-align: right;
  padding: 10px 24px 10px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-brand);
  line-height: 1.5;
}
.timeline-body {
  flex: 1;
  padding: 10px 0 10px 28px;
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  position: relative;
}
.timeline-body::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  background: #fff;
  border: 2px solid var(--c-accent);
  border-radius: 50%;
}
.timeline-item.milestone .timeline-date { color: var(--c-brand-hover); }
.timeline-item.milestone .timeline-body::before {
  background: var(--c-accent);
  width: 12px;
  height: 12px;
  top: 15px;
}

/* サービスラインナップ表 */
.tabletext {
  width: auto !important;
  min-width: 420px;
}
.tabletext td {
  white-space: nowrap;
}
.tabletext td:first-child {
  white-space: normal;
  min-width: 260px;
}

div.tableID { margin: 16px 0; }
div.tableID table { border-collapse: collapse; }
div.tableID td { font-size: 13px; border: 1px solid #ccc; padding: 6px 10px; }

div.tableSyogi { margin: 16px 0; }
div.tableSyogi table { border-collapse: collapse; }
div.tableSyogi td { font-size: 12px; line-height: 1.6; border: 1px solid #ccc; padding: 7px 8px; }

div#pastEventLink {
  margin: 16px 0;
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  font-size: 12px;
  padding: 16px 20px;
}
div#pastEventLink ul { margin: 0; padding: 0 0 0 16px; }
div#pastEventLink li { display: inline; padding-right: 20px; }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 900px) {
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .inner-layout { grid-template-columns: 1fr; }
  .sidebar-nav { position: static; }
  .topics-section { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .main-nav.mobile-open { top: 100% !important; }
  .main-nav.mobile-open ul { flex-direction: column; }
  .main-nav.mobile-open a {
    height: auto;
    padding: 14px 24px;
    border-bottom: 1px solid var(--c-line);
    font-size: 14px;
  }
  .hamburger { display: block; }
  .swiper-slide img { height: 240px; }
  .business-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .business-section { padding: 40px 16px; }
  .section-header .section-label { font-size: 40px; }
  .section-header h2 { font-size: 22px; }
  .section-header { margin-bottom: 16px; }
  .business-section-header { margin-bottom: 28px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .slide-caption { padding: 20px 24px; }
  .slide-caption h2 { font-size: 22px; }
  .slide-caption p { font-size: 13px; }
}

/* t1_back は t1 と同じスタイル（旧 Dreamweaver 背景画像見出しの代替） */
.t1_back {
  font-size: 26px; color: var(--c-brand); padding: 4px 0 4px 14px;
  border-left: 5px solid var(--c-accent); margin: 0 0 32px;
  font-weight: 700; display: block; line-height: 1.3;
}

/* サイドバーセクションラベル */
.sidebar-section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-brand);
  letter-spacing: 0.1em;
  padding: 9px 14px;
  background: var(--c-soft-2);
  border-left: 4px solid var(--c-accent);
  border-radius: 6px 6px 0 0;
  margin: 12px 0 0;
}

/* ---- Modal --------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.modal-overlay.is-open {
  display: flex;
}
.modal-box {
  background: #fff;
  border-radius: 8px;
  padding: 28px 24px 24px;
  max-width: 380px;
  width: 90%;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none; border: none;
  font-size: 22px; line-height: 1;
  cursor: pointer; color: #999;
  transition: color 0.2s;
}
.modal-close:hover { color: #333; }
.modal-box h2 {
  font-size: 15px; color: var(--c-brand);
  margin: 0 0 16px; padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
}
.modal-box img { width: 100%; border-radius: 4px; margin-bottom: 12px; }
.modal-box .modal-address { font-size: 13px; color: #333; line-height: 1.8; }
.modal-box .modal-tel { font-size: 12px; color: #666; margin-top: 6px; }

/* ギャラリーモーダル */
.gallery-modal-box {
  max-width: 600px;
  width: 92%;
  padding: 40px 24px 24px;
}
.gallery-modal-box img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0;
  display: block;
}
/* ギャラリーサムネイル */
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.gallery-thumbs img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}
.gallery-thumbs img:hover {
  border-color: var(--c-brand-hover);
  opacity: 0.85;
}
.gallery-modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 8px;
}
.gallery-modal-nav button {
  background: var(--c-brand);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.gallery-modal-nav button:hover:not(:disabled) { background: var(--c-brand-hover); }
.gallery-modal-nav button:disabled {
  background: #ccc;
  cursor: default;
}
.gallery-modal-nav #galleryCounter {
  font-size: 13px;
  color: #666;
}

/* ---- お問い合わせフォーム（from/） ------------------------- */
.form-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}
.form-steps {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 24px;
  counter-reset: none;
}
.form-steps li {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-muted);
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 8px 4px;
}
.form-steps li.is-current {
  color: #fff;
  background: var(--c-brand);
  border-color: var(--c-brand);
}
.form-lead { font-size: 14px; color: #444; margin: 0 0 20px; }
.form-alert {
  font-size: 14px;
  color: #b42318;
  background: #fff4f3;
  border: 1px solid #f5c2bd;
  border-left: 4px solid #d92d20;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 0 0 20px;
}
.form-table {
  border: 1px solid var(--c-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.form-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--c-line);
}
.form-row:last-child { border-bottom: none; }
.form-label {
  background: var(--c-soft);
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-brand);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.form-field { padding: 14px 18px; min-width: 0; }
.badge-req, .badge-opt {
  display: inline-block;
  flex: none;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 4px;
}
.badge-req { color: #fff; background: #d92d20; }
.badge-opt { color: var(--c-muted); background: #fff; border: 1px solid var(--c-line); }
.form-lead .badge-req { margin: 0 2px; }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: #333;
  padding: 10px 12px;
  border: 1px solid #c3d6e6;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { resize: vertical; line-height: 1.7; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(58,168,224,0.2);
}
.has-error .form-field input,
.has-error .form-field textarea { border-color: #d92d20; background: #fffafa; }
.form-note { font-size: 12px; color: var(--c-muted); margin: 6px 0 0; }
.form-error { font-size: 13px; font-weight: 700; color: #b42318; margin: 6px 0 0; }
.form-confirm-value { font-size: 15px; color: #333; line-height: 1.8; word-break: break-word; }
.service-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}
.service-group {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.service-group legend {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-brand);
  padding: 0;
  margin-bottom: 4px;
}
.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  padding: 3px 0;
  cursor: pointer;
}
.form-radio input { width: 17px; height: 17px; accent-color: var(--c-brand); margin: 0; }
.form-privacy { font-size: 13px; color: var(--c-muted); margin: 20px 0 0; }
.form-privacy a { text-decoration: underline; }
.form-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn {
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  min-width: 200px;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-align: center;
  display: inline-block;
}
.btn-primary {
  color: #fff;
  background: var(--c-brand);
  border: 2px solid var(--c-brand);
  box-shadow: 0 4px 12px rgba(26,95,180,0.25);
}
.btn-primary:hover { background: var(--c-brand-hover); border-color: var(--c-brand-hover); color: #fff; }
.btn-secondary {
  color: var(--c-brand);
  background: #fff;
  border: 2px solid var(--c-line);
}
.btn-secondary:hover { border-color: var(--c-accent); color: var(--c-brand); }
.form-message {
  text-align: center;
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 40px 24px;
}
.form-message h2 { font-size: 20px; color: var(--c-brand); margin-bottom: 16px; }
.form-message p { font-size: 14px; color: #444; margin: 0 0 8px; }

@media (max-width: 640px) {
  .form-page { padding: 28px 16px 48px; }
  .form-row { grid-template-columns: 1fr; }
  .form-label { padding: 12px 14px 8px; justify-content: flex-start; }
  .form-field { padding: 4px 14px 16px; }
  .service-groups { grid-template-columns: 1fr; }
  .form-steps li { font-size: 12px; }
  .btn { width: 100%; }
}
