/* ==========================================================================
   라이즈세무회계 (Rise Tax Accounting) - Design System & Stylesheet
   Brand Blue: #00338E | Minimalist Legal/Tax Firm Aesthetic (hwaumlaw.com inspired)
   ========================================================================== */

:root {
  --brand: #00338E;
  --brand-dark: #002263;
  --brand-light: #1a4fb3;
  --brand-tint: #f2f5fb;
  --brand-tint-2: #e6ecf8;

  --ink: #111827;
  --ink-secondary: #374151;
  --ink-muted: #6b7280;
  --ink-light: #9ca3af;

  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-dark: #0b162c;
  --border: #e5e7eb;
  --border-strong: #d1d5db;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 51, 142, 0.12);

  --container: 1200px;
  --header-h: 76px;
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  word-break: keep-all;
  overflow-x: hidden;
}

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

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  padding: 8px 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
  max-height: calc(var(--header-h) - 20px);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 51, 142, 0.22);
}

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

.btn-outline:hover {
  background: var(--brand-tint);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 99;
  padding: 28px 24px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 14px 12px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.nav-mobile a.active {
  color: var(--brand);
}

.nav-mobile .btn-primary {
  margin-top: 16px;
  width: 100%;
  padding: 14px;
  border-bottom: none;
  color: #fff;
}

/* ==========================================================================
   Section Common Typography
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-subtle {
  background: var(--bg-subtle);
}

.section-brand {
  background: var(--brand);
  color: #fff;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-brand .section-eyebrow {
  color: #93c5fd;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 660px;
  margin: 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Hero Section (hwaumlaw.com inspired full-bleed architectural hero)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 72px 0;
  background-color: var(--bg-dark);
  background-image:
    linear-gradient(105deg, rgba(11, 22, 44, 0.88) 0%, rgba(0, 51, 142, 0.72) 55%, rgba(0, 34, 99, 0.42) 100%),
    url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e0edff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: #fff;
}

.hero-title span {
  color: #93c5fd;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Your Next Step (Situation Cards)
   ========================================================================== */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition);
}

.step-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.35;
}

.step-card p {
  font-size: 14.5px;
  color: var(--ink-muted);
  margin: 0 0 24px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.card-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Our Expertise (6 Service Cards)
   ========================================================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.expertise-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.expertise-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.expertise-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.expertise-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 4px 10px;
  border-radius: 4px;
}

.expertise-en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  text-transform: uppercase;
}

.expertise-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}

.expertise-card p {
  font-size: 14.5px;
  color: var(--ink-muted);
  margin: 0 0 18px;
  flex: 1;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.expertise-tags span {
  font-size: 12px;
  color: var(--ink-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 4px;
}

/* ==========================================================================
   Core Values (3 Pillars)
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}

.value-card .value-en {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #93c5fd;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.value-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.value-card p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
}

.section-subtle .value-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.section-subtle .value-card .value-en {
  color: var(--brand);
}

.section-subtle .value-card h3 {
  color: var(--ink);
}

.section-subtle .value-card p {
  color: var(--ink-muted);
}

/* ==========================================================================
   Blog / Tax Insights Cards
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition);
}

.blog-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12.5px;
}

.blog-cat {
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 3px 10px;
  border-radius: 4px;
}

.blog-date {
  color: var(--ink-light);
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px;
}

.blog-card p {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Subpage Hero & Content Layouts
   ========================================================================== */
.page-banner {
  padding: 64px 0 52px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.page-banner h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.page-banner p {
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0;
  max-width: 680px;
}

.about-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 52px;
  align-items: start;
}

.profile-frame {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.profile-frame img {
  width: 50%;
  max-width: 142px;
  margin: 0 auto 16px;
  border-radius: var(--radius-sm);
}

.greeting-signature {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 28px;
}

.greeting-signature .sig-role {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.greeting-signature .sig-name {
  font-family: 'Nanum Brush Script', 'Brush Script MT', cursive;
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.08em;
  transform: rotate(-2deg);
  display: inline-block;
}

.career-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.career-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.career-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.career-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.career-logo-wrap {
  width: 26px;
  height: 26px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.career-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.career-item strong {
  min-width: 96px;
  color: var(--brand);
  font-size: 14px;
  padding-top: 2px;
}

.office-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.office-photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  aspect-ratio: 16 / 10;
}

.office-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.office-photo-card:hover img {
  transform: scale(1.03);
}

/* Services Detail Blocks */
.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  background: #fff;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-secondary);
}

.service-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
}

/* ==========================================================================
   Contact Form & Map
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.info-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
}

.info-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span.label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-row strong, .info-row a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 51, 142, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin: 18px 0 22px;
}

.checkbox-row input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}

.form-status.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.map-frame {
  width: 100%;
  height: 380px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-frame .root_daum_roughmap {
  width: 100% !important;
}

.map-frame .root_daum_roughmap .wrap_map {
  height: 360px !important;
}

/* Filter Pills for Insights */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

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

/* ==========================================================================
   Post Detail Page (post.html)
   ========================================================================== */
.post-article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-secondary);
}

.post-article p {
  margin: 0 0 18px;
}

.post-article blockquote {
  margin: 28px 0;
  padding: 16px 22px;
  background: var(--brand-tint);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700;
  color: var(--ink);
}

.post-article blockquote p:last-child {
  margin-bottom: 0;
}

.post-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
}

.post-article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  empty-cells: show;
}

.post-article td,
.post-article th {
  border: 1px solid var(--border-strong);
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
  min-width: 110px;
}

.post-article td:empty::after,
.post-article th:empty::after {
  content: '\00a0';
}

.post-article td p:last-child,
.post-article th p:last-child {
  margin-bottom: 0;
}

.post-footer-date {
  margin: 32px 0 0 !important;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink-muted);
  text-align: right;
}

.post-article tr:first-child td {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--ink);
}

.post-article hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.post-article a {
  color: var(--brand);
  text-decoration: underline;
  word-break: break-all;
}

.post-figure {
  margin: 24px 0;
  text-align: center;
}

.post-figure img {
  margin: 0 auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  max-width: 100%;
}

.post-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 36px;
}

.copy-link-btn.copied {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.post-author-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  flex-wrap: wrap;
}

.post-author-img {
  width: 96px;
  height: 118px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 36px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.footer-logo img {
  height: 58px;
  width: auto;
  margin-bottom: 20px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

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

/* ==========================================================================
   Mobile Sticky CTA Bar
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
  padding: 8px 12px;
  gap: 8px;
}

.mobile-sticky-bar a {
  flex: 1;
  text-align: center;
  padding: 11px 8px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
}

.sticky-call {
  background: var(--brand-tint);
  color: var(--brand);
}

.sticky-kakao {
  background: #fee500;
  color: #191919;
}

.sticky-consult {
  background: var(--brand);
  color: #fff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .about-split,
  .contact-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .step-grid,
  .expertise-grid,
  .values-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .brand-logo img {
    height: 38px;
  }

  .footer-logo img {
    height: 44px;
  }

  .office-gallery {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 64px;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .section {
    padding: 64px 0;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-grid,
  .expertise-grid,
  .values-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-bar {
    display: flex;
  }
}
