:root {
  --corp-main-max: 1200px;
  --corp-header-max: 1440px;
  --corp-article-max: 800px;
  --corp-page-pad-desktop: 50px;
  --corp-page-pad-mobile: 24px;
  --ink: #222;
  --navy: #041c59;
  --blue: #222edd;
  --blue-2: #4e57e3;
  --muted: #5b667a;
  --line: #d8deea;
  --paper: #f8faff;
  --soft: #eef4ff;
  --white: #fff;
  --shadow: 0 22px 60px rgba(4, 28, 89, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: 300;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.top {
  background: linear-gradient(90deg, #f3f9ff, #fff7ef);
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}
.top-inner {
  width: min(100%, var(--corp-main-max));
  min-height: 36px;
  margin: 0 auto;
  padding: 0 var(--corp-page-pad-desktop);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.top-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 13px;
  border: 1px solid rgba(34, 46, 221, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}
.top-call:hover,
.top-call:focus {
  border-color: rgba(34, 46, 221, .36);
  background: #fff;
  color: var(--blue);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(219, 230, 243, .86);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(100%, var(--corp-header-max));
  min-height: 86px;
  margin: 0 auto;
  padding: 0 var(--corp-page-pad-desktop);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  flex-wrap: nowrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 170px;
  padding: 0;
}
.brand-logo {
  width: 182px;
  height: auto;
}
.brand-sub { display: none; }
.menu-wrap {
  position: static;
  align-self: auto;
  order: initial;
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  border-top: 0;
}
.menu-toggle { display: none; }
.top-menu {
  position: static;
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow: visible;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.menu-item { position: static; }
.menu-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 86px;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--navy);
}
.menu-item > a:hover,
.menu-item > a:focus,
.menu-item > a.active,
.menu-item:focus-within > a,
.menu-item.is-open > a {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.submenu-row {
  position: absolute;
  top: 100%;
  left: 50%;
  right: auto;
  z-index: 49;
  width: min(720px, calc(100vw - 96px));
  max-width: min(720px, calc(100vw - 96px));
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(219, 230, 243, .95);
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 42px rgba(33, 75, 130, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  backdrop-filter: blur(18px);
}
.menu-item:hover .submenu-row,
.menu-item:focus-within .submenu-row,
.menu-item.is-open .submenu-row {
  max-height: 190px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.submenu-inner {
  max-width: none;
  margin: 0;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  overflow: hidden;
}
.submenu-info,
.submenu-inner > div:first-child {
  width: 230px;
  max-width: 230px;
  min-width: 0;
  overflow: hidden;
}
.submenu-title {
  margin: 0;
  color: #0d2450;
  font-size: 20px;
  line-height: 1.34;
  font-weight: 700;
  word-break: keep-all;
}
.submenu-copy {
  display: block;
  width: 100%;
  max-width: 230px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
  font-weight: 600;
  white-space: normal;
  word-break: keep-all;
}
.submenu-copy > span {
  display: block !important;
}
.submenu-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  min-width: 0;
  overflow: hidden;
}
.submenu-inner a {
  display: block;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #e2ecf8;
  border-radius: 8px;
  background: #f8fbff;
  color: #213a5e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
  word-break: keep-all;
}
.submenu-inner a:hover,
.submenu-inner a:focus {
  border-color: rgba(35, 104, 255, .32);
  background: #eef6ff;
  color: var(--blue);
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: nowrap;
}
.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 500;
}
.action-phone {
  display: none !important;
}
.action-phone span { display: none; }
.action-contact,
.action-kakao {
  min-width: 120px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 18px 40px rgba(34, 46, 221, .2);
}

.layout {
  width: min(100%, var(--corp-main-max));
  margin: 0 auto;
  padding: 64px var(--corp-page-pad-desktop) 110px;
}
.hero {
  position: relative;
  min-height: 360px;
  border: 1px solid #e2ecf8;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, .96), rgba(248, 251, 255, .74)),
    url("../img/koreamac/full/center-001.jpg") center/cover;
  color: var(--navy);
  box-shadow: var(--shadow);
  padding: 54px 58px;
}
.hero:before { display: none; }
.hero h1 {
  color: var(--navy);
  font-size: clamp(38px, 4.2vw, 54px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: 0;
  font-weight: 700;
}
.hero p {
  max-width: 680px;
  color: #4d5f7c;
  font-size: 19px;
  line-height: 1.78;
  font-weight: 500;
  word-break: keep-all;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: "Montserrat", "Noto Sans KR", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.hero-copy,
.hero-visual { position: relative; z-index: 1; }
.hero-visual {
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(4, 28, 89, .18);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  color: var(--navy);
  backdrop-filter: blur(12px);
  padding: 14px 16px;
}
.hero-badge span { color: var(--muted); font-weight: 600; }
.hero-actions,
.inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-actions a,
.inline-actions a,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}
.hero-actions .primary,
.inline-actions .primary,
button {
  background: var(--blue);
  color: #fff;
}
.hero-actions .secondary,
.inline-actions .secondary {
  border-color: #cfdaf0;
  background: #fff;
  color: var(--blue);
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
  max-width: 680px;
}
.hero-point {
  border: 1px solid #dbe7f8;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  padding: 15px;
}
.hero-point b {
  display: block;
  color: var(--navy);
  margin-bottom: 5px;
  font-size: 16px;
}
.hero-point span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.hero-service-banner {
  margin: 24px 0 0;
  border: 1px solid #e2ecf8;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--navy);
  box-shadow: 0 14px 36px rgba(4, 28, 89, .08);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.image-banner {
  display: block;
  min-height: 160px;
  border-right: 1px solid #e2ecf8;
  background: #fff;
  overflow: hidden;
}
.image-banner:last-child { border-right: 0; }
.image-banner img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}
.banner-copy b {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.25;
}
.banner-copy p {
  color: var(--muted);
  font-weight: 500;
}
.banner-links a {
  border-radius: 20px;
  background: #eef4ff;
  color: var(--blue);
}

.section,
.legacy-guide,
.media-section {
  padding: 76px 0;
  border-bottom: 1px solid #e8eef7;
}
.section h2,
.legacy-guide h2,
.media-section h2,
.contact h2 {
  color: var(--navy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.18;
  margin: 0 0 16px;
  font-weight: 700;
  word-break: keep-all;
}
.section p,
.legacy-guide p,
.media-section p,
.contact p {
  color: #4d5f7c;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  word-break: keep-all;
}
.section-lead,
.legacy-copy,
.media-section > div:first-child p {
  max-width: var(--corp-article-max);
}
.legacy-copy {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.card {
  min-height: 190px;
  border: 1px solid #dfe8f6;
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 12px 34px rgba(4, 28, 89, .07);
}
.card b {
  display: block;
  color: var(--blue);
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 700;
}
.card p {
  color: #4d5f7c;
  font-size: 15px;
  line-height: 1.7;
}
.card .mark,
.card .tag { display: none; }
.media-section {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 40px;
  align-items: start;
}
.map-panel {
  position: relative;
  grid-column: 1 / -1;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid #dfe8f6;
  border-radius: 8px;
  background: #eef4ff;
  box-shadow: 0 16px 34px rgba(4, 28, 89, .1);
}
.map-branch-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  gap: 3px;
  max-width: min(320px, calc(100% - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(216, 222, 234, .94);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 26px rgba(4, 28, 89, .14);
  color: var(--navy);
  word-break: keep-all;
}
.map-branch-label b {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}
.map-branch-label span {
  color: #4d5f7c;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}
.map-panel iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.media-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 16px 34px rgba(4, 28, 89, .12);
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(2, 6, 23, .78));
}
.media-card span,
.media-card .media-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  word-break: keep-all;
}

.board-head {
  margin-top: 72px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 3px solid #0e1726;
  padding-bottom: 20px;
}
.board-head h2,
.case-head h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.16;
  font-weight: 700;
  word-break: keep-all;
}
.board-head p,
.case-head p {
  margin: 0;
  color: #66748a;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  word-break: keep-all;
}
.write-link,
.case-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  background: #0e1726;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}
.board {
  border-bottom: 1px solid #dbe4f1;
}
.board-table-head,
.post {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 140px 124px 150px;
  align-items: center;
  gap: 18px;
}
.board-table-head {
  min-height: 58px;
  background: #f4f7fb;
  color: #66748a;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid #dbe4f1;
}
.board-table-head span,
.post > div {
  min-width: 0;
}
.post {
  min-height: 82px;
  padding: 18px 0;
  border-bottom: 1px solid #edf1f7;
}
.post .no {
  color: #68758a;
  font-weight: 700;
  text-align: center;
}
.post b {
  display: block;
  color: #15223a;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  word-break: keep-all;
}
.post p {
  margin: 6px 0 0;
  color: #66748a;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  word-break: keep-all;
}
.badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.badge {
  background: #eef4ff;
  color: var(--navy);
}
.status-badge.is-done {
  background: #eaf7f0;
  color: #147349;
}
.status-badge.is-wait {
  background: #fff5df;
  color: #9a5b00;
}
.post .meta {
  color: #748298;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.empty {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cfdaf0;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #f8fbff;
  color: #748298;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  word-break: keep-all;
}
.case-section {
  margin-top: 76px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e8eef7;
}
.case-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.case-note {
  color: #66748a;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.case-list {
  display: grid;
  gap: 10px;
}
.case-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid #dfe8f6;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.case-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.case-row b {
  color: #15223a;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  word-break: keep-all;
}
.case-answer {
  grid-column: 2;
  display: none;
  margin: 4px 0 0;
  color: #5f6d82;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  word-break: keep-all;
}
.case-row.is-open .case-answer { display: block; }
.case-row.is-hidden { display: none; }
.case-more {
  margin: 20px auto 0;
  border: 0;
}

.contact {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 32px;
  align-items: start;
  border-radius: 8px;
  background: #f8fbff;
  padding: 36px;
}
.form-card {
  border: 1px solid #dfe8f6;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}
.field { margin-bottom: 12px; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
.agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4d5f7c;
  font-size: 13px;
  line-height: 1.55;
}
.agree input { width: auto; margin-top: 4px; }
.status {
  min-height: 22px;
  color: var(--blue);
  font-size: 13px;
}

footer {
  background: #041c59;
  color: rgba(255, 255, 255, .78);
  padding: 38px var(--corp-page-pad-desktop);
}
.footer-inner {
  width: min(100%, var(--corp-main-max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.8;
}
.footer-logo { margin-bottom: 8px; }
.footer-logo img { width: 127px; height: auto; }
.mobile-action { display: none; }

@media (max-width: 1180px) {
  .header-inner { gap: 20px; }
  .brand { min-width: 155px; }
  .brand-logo { width: 162px; }
  .top-menu { font-size: 14px; }
  .menu-item > a { padding: 0 9px; }
  .actions a { min-width: 0; padding: 0 16px; }
}

@media (max-width: 1020px) {
  .top-inner,
  .header-inner,
  .layout,
  footer {
    padding-left: var(--corp-page-pad-mobile);
    padding-right: var(--corp-page-pad-mobile);
  }
  .top-inner { align-items: flex-start; flex-direction: column; padding-top: 10px; padding-bottom: 10px; }
  .header-inner {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-wrap: wrap;
  }
  .brand-logo { width: 150px; }
  .menu-wrap {
    order: 4;
    width: 100%;
    flex-basis: 100%;
    overflow: hidden;
  }
  .top-menu {
    min-height: 46px;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .menu-item { position: relative; }
  .menu-item > a {
    min-height: 46px;
    padding: 0 11px;
    font-size: 13px;
  }
  .submenu-row {
    left: 50%;
    width: calc(100vw - 48px);
    max-width: none;
    min-height: 0;
    padding: 0;
    transform: translate(-50%, -8px);
  }
  .menu-item:hover .submenu-row,
  .menu-item:focus-within .submenu-row,
  .menu-item.is-open .submenu-row {
    transform: translate(-50%, 0);
  }
  .submenu-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }
  .submenu-info,
  .submenu-inner > div:first-child,
  .submenu-copy {
    width: 100%;
    max-width: 100%;
  }
  .submenu-title { font-size: 18px; }
  .submenu-copy {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.55;
  }
  .submenu-links {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .submenu-inner a {
    min-width: 0;
    white-space: normal;
  }
  .legacy-inline-menu .submenu-row {
    left: 0;
    width: max-content;
    max-width: calc(100vw - 48px);
    transform: translateY(-8px);
  }
  .legacy-inline-menu .menu-item:hover .submenu-row,
  .legacy-inline-menu .menu-item:focus-within .submenu-row,
  .legacy-inline-menu .menu-item.is-open .submenu-row {
    transform: translateY(0);
  }
  .legacy-inline-menu .submenu-inner {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
  }
  .legacy-inline-menu .submenu-inner a {
    min-width: 150px;
    white-space: normal;
  }
  .actions { display: none; }
  .layout { padding-top: 34px; }
  .hero { padding: 36px 28px; min-height: 300px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
  .hero-points,
  .cards,
  .media-section,
  .contact,
  .hero-service-banner {
    grid-template-columns: 1fr;
  }
  .image-banner {
    border-right: 0;
    border-bottom: 1px solid #e2ecf8;
  }
  .image-banner:last-child { border-bottom: 0; }
  .board-head,
  .case-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .board-table-head { display: none; }
  .post {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px 14px;
    align-items: start;
    padding: 18px 0;
  }
  .post .no {
    grid-row: span 3;
    text-align: left;
  }
  .post .meta {
    grid-column: 2;
  }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-action {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
  }
  .mobile-action a {
    flex: 1;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
    font-weight: 700;
  }
  .mobile-action .call { background: var(--navy); }
  .mobile-action .chat { background: var(--blue); }
  footer { padding-bottom: 86px; }
}

@media (max-width: 640px) {
  .hero { padding: 30px 20px; }
  .hero h1 { font-size: 32px; }
  .hero-actions a,
  .inline-actions a,
  button { width: 100%; }
  .media-grid { grid-template-columns: 1fr; }
  .map-panel,
  .map-panel iframe { min-height: 280px; height: 280px; }
  .card { min-height: 0; padding: 24px; }
  .contact { padding: 26px 20px; }
  .case-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .case-answer { grid-column: 1; }
}
