:root {
  --bg: #F6F5F2;
  --bg-soft: #ECE9E1;
  --pine: #1E1F22;
  --pine-light: #34363B;
  --ochre: #C9962F;
  --ochre-soft: #E8C077;
  --text: #1C1D1F;
  --text-soft: #63656A;
  --white: #FFFFFF;
  --line: #E1DED5;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, Roboto, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: inherit;
  font-weight: 700;
  color: var(--pine);
  line-height: 1.35;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-soft); max-width: 62ch; }

a { color: var(--pine); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #197f7dbd;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ochre);
  color: var(--pine);
  font-weight: 700;
  font-size: .95rem;
}
.brand-mark.small { width: 30px; height: 30px; font-size: .75rem; background: var(--ochre); color: var(--pine); }

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  font-size: .95rem;
}

.site-nav a:hover { color: var(--ochre); }

.nav-cta {
  background: var(--ochre);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 64px;
  overflow: hidden;
  background: #197f7dbd;
  color: var(--white);
}

.hero h1 { color: var(--white); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--ochre);
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

.hero-desc { margin-top: 18px; color: rgba(255,255,255,.72); }

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .98rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--ochre);
  color: var(--pine);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.4);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--pine);
  border: 1.5px solid var(--pine);
}
.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.hero .btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-small { padding: 10px 20px; font-size: .9rem; }
.btn-wide { width: 100%; text-align: center; border: none; cursor: pointer; }

.hero-visual {
  position: relative;
  height: 380px;
}

.blob {
  position: absolute;
  border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%;
}
.blob-1 {
  width: 320px; height: 320px;
  background: linear-gradient(160deg, var(--ochre-soft), var(--ochre));
  top: 10px; right: 20px;
  opacity: .9;
}
.blob-2 {
  width: 220px; height: 220px;
  background: var(--white);
  bottom: 0; right: 120px;
  opacity: .08;
}

.hero-badge {
  position: absolute;
  left: 0;
  bottom: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.35);
  max-width: 260px;
}
.badge-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ochre);
  line-height: 1;
}
.badge-label { font-size: .82rem; color: var(--text-soft); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }

.section-head { max-width: 560px; margin-bottom: 36px; }

.intro-strip { background: var(--bg-soft); }
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.intro-item h3 { margin-bottom: 8px; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px 22px;
}
.service-card p { font-size: .92rem; margin-bottom: 14px; }
.service-card a { font-weight: 700; font-size: .9rem; text-decoration: none; }

.empty-note { color: var(--text-soft); font-style: italic; }

/* Process (genuine sequence, numbered) */
.process-steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-steps li {
  border-top: 3px solid var(--ochre);
  padding-top: 16px;
}
.step-num {
  display: block;
  font-size: 1.6rem;
  color: var(--ochre);
  font-weight: 700;
  margin-bottom: 6px;
}
.process-steps strong { display: block; margin-bottom: 6px; color: var(--pine); }
.process-steps p { font-size: .9rem; }

.cta-band {
      background: #373a3abd;
  border-radius: var(--radius-lg);
  margin: 0 24px;
}
.cta-inner { text-align: center; padding: 20px 0; }
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: rgba(255,255,255,.8); margin: 0 auto 24px; }
.cta-inner .btn-primary { background: var(--ochre); }

/* Page header (inner pages) */
.page-header { padding-top: 56px; padding-bottom: 32px; }
.page-desc { max-width: 640px; }

/* About */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-item {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text-soft);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ochre);
}

/* Feature band (원형 아이콘 3개 스타일) */
.feature-band {
  background: #E3F3F1;
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  margin-top: 48px;
}
.feature-head { text-align: center; margin-bottom: 40px; }
.feature-head h2 { margin: 0; }
.feature-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.feature-icon-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.18);
}
.feature-icon-circle svg { width: 48px; height: 48px; color: #179c93; }
.feature-icon-item h3 { margin-bottom: 8px; font-size: 1.1rem; }
.feature-icon-item p { font-size: .88rem; margin: 0 auto; }

@media (max-width: 760px) {
  .feature-icons { grid-template-columns: 1fr; gap: 36px; }
  .feature-band { padding: 40px 20px; }
}

/* Mission section (numbered blocks) */
.mission-section { background: var(--bg-soft); }
.mission-block {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.mission-block:first-of-type { border-top: none; }
.mission-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}
.mission-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ochre);
  line-height: 1;
}
.mission-heading h3 { margin: 0; font-size: 1.25rem; }
.mission-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mission-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.mission-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--pine);
}
.mission-icon svg { width: 22px; height: 22px; }
.mission-item strong { display: block; color: var(--pine); margin-bottom: 6px; font-size: .98rem; }
.mission-item p { font-size: .88rem; margin: 0; }

@media (max-width: 760px) {
  .mission-items { grid-template-columns: 1fr; }
}

/* Services detail */
.service-detail-list { display: flex; flex-direction: column; gap: 56px; }
.service-detail {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-summary { color: var(--pine); font-weight: 700; }
.service-detail-visual { display: flex; justify-content: center; }
.visual-circle {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--ochre-soft), var(--pine-light));
  opacity: .85;
}

/* Apply form */
.apply-wrap { max-width: 620px; }
.form-errors {
  background: #FBEAEA;
  border: 1px solid #E7B3B3;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.form-errors ul { margin: 0; padding-left: 20px; color: #A94442; }

.apply-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--pine);
  font-size: .95rem;
}
.form-row { margin-bottom: 20px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--pine);
}
textarea { resize: vertical; }

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  background: var(--white);
}
.radio-pill input { width: auto; accent-color: var(--ochre); }
.radio-pill:has(input:checked) {
  border-color: var(--ochre);
  background: var(--bg-soft);
  font-weight: 700;
}

.cert-grid { display: flex; flex-direction: column; gap: 14px; }
.cert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cert-row span { font-weight: 500; color: var(--text); }

.consent-row { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 16px 18px; }
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-soft);
  cursor: pointer;
}
.checkbox-row input { width: auto; margin-top: 3px; accent-color: var(--ochre); }
.auth-wrap { max-width: 420px; margin: 0 auto; }
.auth-title { text-align: center; margin-bottom: 28px; }
.auth-form .form-row { margin-bottom: 14px; }
.auth-remember { margin-bottom: 20px; }
.auth-signup-btn { margin-top: 10px; display: block; }
.auth-links { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--text-soft); }
.auth-links a { color: var(--text-soft); text-decoration: none; }
.auth-links span { margin: 0 8px; }

.signup-wrap { max-width: 480px; }
.signup-step-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.signup-step-head h1 { font-size: 1.5rem; margin: 0; }
.signup-step-head .step-indicator { color: var(--ochre); font-weight: 700; white-space: nowrap; }
.signup-panel { display: none; }
.signup-panel.active { display: block; }
.phone-row { display: flex; gap: 10px; }
.phone-row input { flex: 1; }
.phone-row button { white-space: nowrap; }
.field-hint { font-size: .8rem; color: var(--text-soft); margin: 6px 0 0; }
.field-hint.error { color: #C0392B; }
.field-hint.success { color: #1E8E5A; }
.code-area { margin-top: 14px; display: none; }
.code-area.active { display: block; }

.terms-box { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 18px; }
.terms-box .checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.terms-box .checkbox-row:last-child { margin-bottom: 0; }
.terms-box .terms-link { margin-left: auto; font-size: .82rem; color: var(--text-soft); text-decoration: underline; }
.terms-all { font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px !important; }

.mypage-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 32px;
}
.mypage-card dl { margin: 0; }
.mypage-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mypage-row:last-child { border-bottom: none; }
.mypage-row dt { color: var(--text-soft); margin: 0; }
.mypage-row dd { margin: 0; font-weight: 600; color: var(--pine); }

.logout-form { display: inline; margin: 0; }
.nav-link-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.82);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}
.nav-link-btn:hover { color: var(--ochre); }
/* Admin (관리자 페이지) */
.admin-wrap { max-width: 1280px; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.admin-tabs a {
  padding: 12px 18px;
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.admin-tabs a.active { color: var(--pine); border-bottom-color: var(--ochre); }
.admin-badge {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--ochre);
  color: var(--pine);
  font-size: .75rem;
  text-align: center;
  line-height: 20px;
}
.admin-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th, .admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table th { background: var(--bg-soft); color: var(--pine); white-space: nowrap; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table td.msg { min-width: 220px; white-space: pre-wrap; word-break: break-word; }
.status-form { display: flex; gap: 6px; align-items: center; }
.status-form select { width: auto; padding: 6px 8px; font-size: .85rem; }
.status-form .btn { padding: 6px 12px; font-size: .82rem; }
.admin-note { font-size: .82rem; color: var(--text-soft); margin-top: 12px; }

/* ---------- 간병 매칭 (관리자) ---------- */
.form-notice {
  background: #E3F3F1;
  border: 1px solid #B9DFDB;
  color: #146663;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 20px;
  font-weight: 600;
}
.muted { color: var(--text-soft); font-size: .8rem; }

.match-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}
.match-side {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.match-side-title { font-size: 1rem; margin-bottom: 12px; }
.consult-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.consult-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
}
.consult-item:hover { border-color: #197f7d; }
.consult-item.is-selected { border-color: #197f7d; background: #E3F3F1; box-shadow: inset 3px 0 0 #197f7d; }
.consult-top { display: flex; justify-content: space-between; align-items: center; }
.consult-meta { font-size: .84rem; color: var(--text-soft); }
.consult-matched { font-size: .78rem; color: #146663; font-weight: 700; margin-top: 4px; }
.consult-status {
  font-size: .75rem; font-weight: 700;
  padding: 1px 8px; border-radius: 999px;
  background: var(--bg-soft); color: var(--pine);
}
.consult-status.s-접수 { background: var(--ochre-soft); }

.match-placeholder {
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 60px 20px;
  text-align: center;
  color: var(--text-soft);
}
.match-consult-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.match-consult-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.match-consult-head h2 { margin: 0; font-size: 1.25rem; }
.match-consult-head h2 span { color: var(--text-soft); font-weight: 500; font-size: .95rem; }
.match-consult-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
.match-consult-info dt { font-size: .8rem; color: var(--text-soft); }
.match-consult-info dd { margin: 0; font-weight: 600; color: var(--pine); }
.match-consult-msg {
  margin: 14px 0 0; padding: 12px 14px;
  background: var(--bg); border-radius: var(--radius-sm);
  white-space: pre-wrap; max-width: none; font-size: .9rem;
}

.match-search { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.match-search input[type="text"] { flex: 1; min-width: 200px; }
.match-search .checkbox-row { display: flex; align-items: center; gap: 6px; font-size: .88rem; white-space: nowrap; }
.match-search .checkbox-row input { width: auto; }
.match-search .btn { padding: 10px 18px; font-size: .88rem; cursor: pointer; }

.match-form .admin-table td input[type="radio"] { width: 18px; height: 18px; accent-color: #197f7d; }
.match-form .admin-table tr:has(input:checked) td { background: #E3F3F1; }
.row-disabled td { opacity: .5; }
.match-form .admin-table td { white-space: nowrap; }
.match-form .admin-table td:nth-child(5), .match-form .admin-table td:nth-child(8) { white-space: normal; min-width: 120px; }
.admin-table td .muted { white-space: nowrap; }
.match-chip {
  display: inline-block; margin: 0 4px 4px 0;
  padding: 1px 8px; border-radius: 999px;
  background: #E3F3F1; color: #146663;
  font-size: .76rem; font-weight: 700; white-space: nowrap;
}
.match-detail {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 20px 24px;
}
.match-detail legend { font-weight: 700; color: var(--pine); padding: 0 6px; }
.match-detail label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--pine); font-size: .92rem; }
.match-detail .btn { border: none; cursor: pointer; }

.match-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.match-filter a {
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  text-decoration: none; font-size: .86rem; color: var(--text-soft);
}
.match-filter a.active { background: var(--pine); border-color: var(--pine); color: var(--white); }

.match-status {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; white-space: nowrap;
  background: var(--bg-soft); color: var(--pine);
}
.match-status.m-대기 { background: var(--ochre-soft); }
.match-status.m-확정 { background: #CDEBE8; color: #146663; }
.match-status.m-진행중 { background: #197f7d; color: var(--white); }
.match-status.m-취소 { color: #A94442; }

.match-edit summary { cursor: pointer; font-weight: 600; color: #197f7d; }
.match-edit form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; min-width: 280px; }
.match-edit label { font-size: .8rem; color: var(--text-soft); display: flex; flex-direction: column; gap: 4px; }
.match-edit select, .match-edit input, .match-edit textarea { font-size: .85rem; padding: 6px 8px; }
.match-edit-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.match-edit .btn { border: none; cursor: pointer; align-self: flex-start; }

/* ---------- 내 매칭 내역 (구직자) ---------- */
.my-matches-wrap { max-width: 760px; }
.my-section-title { font-size: 1.15rem; margin: 8px 0 14px; }
.my-section-title:not(:first-child) { margin-top: 40px; }
.my-empty {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 40px 28px; text-align: center;
}
.my-empty p { margin: 0 auto 20px; }
.my-match-list { display: flex; flex-direction: column; gap: 14px; }
.my-match {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid #197f7d;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.my-match-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.my-match-head h3 { margin: 0; }
.my-match-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; margin: 0; }
.my-match-info dt { font-size: .8rem; color: var(--text-soft); }
.my-match-info dd { margin: 0; font-weight: 600; color: var(--pine); }
.my-match-info dd a { font-size: 1.05rem; }
.my-match-note {
  margin-top: 14px; padding: 12px 14px;
  background: var(--bg); border-radius: var(--radius-sm);
  white-space: pre-wrap; font-size: .92rem;
}
.my-match-hint { margin: 12px 0 0; font-size: .86rem; }
.my-back { margin-top: 32px; text-align: center; }

@media (max-width: 860px) {
  .match-layout { grid-template-columns: 1fr; }
  .match-side { position: static; max-height: 320px; }
  .match-consult-info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .my-match-info { grid-template-columns: 1fr 1fr; }
}

/* Complete page */
.complete-section { text-align: center; padding: 90px 0; }
.complete-wrap { max-width: 480px; margin: 0 auto; }
.complete-wrap p { margin: 0 auto 28px; }
.complete-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #197f7dbd;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 24px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info dl { margin: 0 0 28px; }
.contact-info dt { color: var(--pine); font-weight: 700; margin-top: 14px; }
.contact-info dd { margin: 2px 0 0; color: var(--text-soft); }
.map-placeholder {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-soft);
  font-size: .9rem;
}
.map-placeholder span { font-size: .78rem; }

/* ---------- Floating call button ---------- */
.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ochre);
  color: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,.45);
  z-index: 50;
  transition: transform .15s ease;
}
.floating-call:hover { transform: translateY(-3px); }

/* ---------- Footer ---------- */
.site-footer {
  background: #197f7dbd;
  color: rgba(255,255,255,.75);
  padding: 44px 0 30px;
  margin-top: 40px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-info p { color: rgba(255,255,255,.7); margin: 0 0 6px; font-size: .88rem; }
.footer-copy { margin-top: 18px; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 260px; }
  .intro-grid, .values-grid { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
  .two-col { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #197f7dbd;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    display: none;
  }
  .site-nav.open { display: flex; }
}

@media (max-width: 520px) {
  .service-cards { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}