﻿:root {
  --bg: #f4efe5;
  --surface: #fffaf0;
  --surface-soft: #ebe2d2;
  --ink: #1b2434;
  --muted: #69707b;
  --line: #d8ccba;
  --primary: #101a2d;
  --primary-2: #071120;
  --accent: #c79a5c;
  --accent-2: #a9793f;
  --accent-soft: #ead6b6;
  --shadow: 0 10px 28px rgba(7, 17, 32, 0.08);
  --shadow-deep: 0 22px 58px rgba(7, 17, 32, 0.16);
  --container: 1440px;
}

body.green-theme {
  --bg: #f7f3eb;
  --surface-soft: #eee4d5;
  --ink: #17221d;
  --primary: #0f2c22;
  --primary-2: #174230;
  --accent: #d9c5a0;
  --accent-soft: #f0e7d6;
  --shadow: 0 24px 70px rgba(15, 44, 34, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 26, 45, 0.035) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--bg);
  color: var(--ink);
  font-family: "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.top-contact-bar {
  align-items: center;
  background: var(--primary-2);
  border-bottom: 1px solid rgba(234, 214, 182, 0.22);
  color: #fff;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px clamp(20px, 4vw, 64px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.top-contact-inner,
.top-contact-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.top-contact-inner strong {
  color: var(--accent);
  font-weight: 900;
}

.top-contact-inner a {
  color: var(--accent-2);
  font-size: 18px;
  font-weight: 900;
}

.top-contact-inner span {
  color: rgba(255, 255, 255, 0.72);
}

.top-contact-links a {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  padding-left: 14px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(244, 239, 229, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(20px, 4vw, 64px);
  position: sticky;
  top: 44px;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  align-items: center;
  background: var(--primary);
  border: 1px solid rgba(199, 154, 92, 0.65);
  box-shadow: none;
  color: var(--accent);
  display: inline-flex;
  font-family: "Noto Serif KR", serif;
  font-size: 24px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 11px;
}

.desktop-nav {
  display: flex;
  gap: 26px;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  position: relative;
}

.desktop-nav a::after {
  background: var(--accent);
  bottom: -8px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 9px;
  width: 44px;
}

.menu-toggle span {
  background: var(--primary);
  display: block;
  height: 2px;
  margin: 3px 0;
  width: 20px;
}

.mobile-nav {
  background: rgba(248, 247, 245, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
  gap: 0;
  left: 0;
  padding: 8px clamp(20px, 4vw, 64px) 16px;
  position: sticky;
  top: 121px;
  z-index: 19;
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  border-bottom: 1px solid var(--line);
  color: var(--primary);
  font-weight: 800;
  padding: 14px 0;
}

.header-actions,
.hero-actions,
.admin-actions,
.contact-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  justify-content: flex-start;
}

.button {
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  box-shadow: none;
  color: var(--primary-2);
}

.button.secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.hero .button.secondary,
.contact-band .button.secondary,
.premium-note .button.secondary {
  border-color: rgba(212, 165, 116, 0.8);
  color: #fff;
}

.button.ghost {
  background: rgba(255, 250, 240, 0.5);
  border-color: var(--line);
  color: var(--primary);
}

.icon-button,
.icon-close,
.admin-open {
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.icon-button {
  height: 42px;
  padding: 6px;
  width: 42px;
}

.icon-button span {
  background: linear-gradient(135deg, var(--primary) 0 50%, var(--accent) 50% 100%);
  display: block;
  height: 100%;
  width: 100%;
}

.hero {
  background: var(--primary-2);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100svh - 121px);
  overflow: hidden;
  position: relative;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(199, 154, 92, 0.11), transparent 34%),
    repeating-linear-gradient(90deg, rgba(234, 214, 182, 0.055) 0 1px, transparent 1px 142px),
    repeating-linear-gradient(180deg, rgba(234, 214, 182, 0.04) 0 1px, transparent 1px 142px);
  content: "";
  inset: 0;
  opacity: 0.46;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.hero-media {
  background:
    radial-gradient(ellipse at 84% 42%, rgba(234, 214, 182, 0.12), transparent 38%),
    linear-gradient(90deg, rgba(7, 17, 32, 0.98) 0 48%, rgba(7, 17, 32, 0.72) 68%, rgba(37, 51, 74, 0.4) 100%),
    #25334a;
  inset: 0;
  position: absolute;
}

.hero-media::before {
  background: url("assets/remember-global-visa.jpg") 50% 50% / cover no-repeat;
  border: 1px solid rgba(234, 214, 182, 0.56);
  border-radius: 50%;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    0 0 0 18px rgba(234, 214, 182, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  content: "";
  height: clamp(360px, 36vw, 560px);
  position: absolute;
  right: clamp(18px, 5vw, 78px);
  top: clamp(190px, 20vw, 260px);
  width: clamp(360px, 36vw, 560px);
}

.hero-media::after {
  content: none;
}

/* ── Slide layers ─────────────────────────────────── */
.hero-slide-layer {
  inset: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  transition: opacity 1.4s ease;
}

.hero-slide-layer.active {
  opacity: 1;
}

.slide-1 {
  background:
    radial-gradient(ellipse at 84% 42%, rgba(234, 214, 182, 0.12), transparent 38%),
    linear-gradient(90deg, rgba(7, 17, 32, 0.98) 0 48%, rgba(7, 17, 32, 0.72) 68%, rgba(37, 51, 74, 0.4) 100%),
    #25334a;
}

.slide-1::before {
  background: url("assets/remember-global-visa.jpg") 50% 50% / cover no-repeat;
  border: 1px solid rgba(234, 214, 182, 0.56);
  border-radius: 50%;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    0 0 0 18px rgba(234, 214, 182, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  content: "";
  height: clamp(360px, 36vw, 560px);
  position: absolute;
  right: clamp(18px, 5vw, 78px);
  top: clamp(190px, 20vw, 260px);
  width: clamp(360px, 36vw, 560px);
}

.slide-2 {
  background:
    radial-gradient(ellipse at 78% 88%, rgba(199, 154, 92, 0.24), transparent 46%),
    linear-gradient(105deg, rgba(7, 17, 32, 0.97) 0 42%, rgba(7, 17, 32, 0.52) 62%, rgba(10, 22, 44, 0.14) 100%),
    #0f1e35;
}

.slide-2::before {
  background: url("assets/remember-global-visa-person.png") center bottom / contain no-repeat;
  bottom: 0;
  content: "";
  position: absolute;
  right: clamp(0px, 2vw, 60px);
  top: 0;
  width: clamp(260px, 36vw, 520px);
}

.slide-3 {
  background:
    radial-gradient(ellipse at 16% 84%, rgba(199, 154, 92, 0.15), transparent 42%),
    radial-gradient(ellipse at 84% 16%, rgba(180, 140, 80, 0.09), transparent 38%),
    linear-gradient(135deg, #030b1a 0%, #0b1828 50%, #101f36 100%);
}

.slide-3::before {
  background: url("assets/remember-card-profile.jpg") 50% 38% / cover no-repeat;
  border: 1px solid rgba(234, 214, 182, 0.42);
  border-radius: 50%;
  box-shadow:
    0 28px 74px rgba(0, 0, 0, 0.44),
    0 0 0 12px rgba(234, 214, 182, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  content: "";
  height: clamp(280px, 28vw, 440px);
  position: absolute;
  right: clamp(24px, 9vw, 130px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 28vw, 440px);
}

/* ── Slide dots ───────────────────────────────────── */
.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.slide-dot {
  background: rgba(255, 255, 255, 0.28);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  height: 4px;
  padding: 0;
  transition:
    background 0.35s ease,
    width 0.45s ease;
  width: 32px;
}

.slide-dot.active {
  background: var(--accent);
  width: 64px;
}

.slide-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.52);
}

.hero-content {
  align-self: start;
  justify-self: stretch;
  max-width: var(--container);
  padding: clamp(38px, 5vw, 66px) clamp(22px, 5vw, 72px);
  position: relative;
  text-align: left;
  z-index: 1;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-content > .eyebrow {
  font-size: clamp(15px, 1.35vw, 20px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Noto Serif KR", "Noto Sans KR", serif;
  letter-spacing: 0;
  line-height: 1.16;
}

h1 {
  font-size: clamp(42px, 5.8vw, 88px);
  font-weight: 700;
  margin: 0 0 24px;
  max-width: 980px;
  word-break: keep-all;
}

.hero-title {
  display: block;
  line-height: 0.98;
  margin-left: 0;
  margin-right: 0;
}

.hero-title span {
  display: block;
  overflow-wrap: normal;
  white-space: nowrap;
}

.hero-title-kicker {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(24px, 3vw, 40px);
}

.hero-title-main {
  color: #fff;
  font-size: clamp(34px, 4.7vw, 62px);
}

.hero-title-accent {
  color: var(--accent-2);
  text-shadow: 0 12px 40px rgba(225, 192, 109, 0.22);
  font-size: clamp(38px, 5.2vw, 68px);
}

h2 {
  font-size: clamp(30px, 3.9vw, 48px);
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  margin-bottom: 10px;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.7;
  margin-left: 0;
  margin-right: 0;
  max-width: 680px;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-service-panel {
  backdrop-filter: blur(14px);
  background: rgba(7, 17, 32, 0.62);
  border: 1px solid rgba(234, 214, 182, 0.28);
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  margin: 34px 0 26px;
  max-width: min(820px, 100%);
  padding: 20px 22px 22px;
}

.hero-service-panel p {
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 14px;
}

.hero-service-panel div {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch;
}

.hero-service-panel a {
  background: transparent;
  border: 1px solid rgba(199, 154, 92, 0.5);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  min-height: 58px;
  padding: 12px 10px;
  text-align: center;
  word-break: keep-all;
}

.hero-service-panel a:hover {
  background: rgba(225, 192, 109, 0.16);
  border-color: rgba(225, 192, 109, 0.45);
}

.phone-cta {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 165, 116, 0.8);
  color: #fff;
  box-shadow: none;
}

.contact-links a {
  border: 1px solid rgba(199, 154, 92, 0.48);
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.hero-proof {
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.18);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  margin-left: 0;
  margin-right: 0;
  max-width: 820px;
  overflow: hidden;
  border-radius: 0;
}

.hero-proof div {
  background: rgba(7, 17, 32, 0.58);
  padding: 18px;
}

.hero-proof strong {
  color: var(--accent);
  display: block;
  font-family: "Noto Serif KR", serif;
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.82);
  display: block;
  font-size: 13px;
  font-weight: 800;
  word-break: keep-all;
}

section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

section > :not(.hero-media),
.site-footer > *,
.bottom-admin-shortcut > * {
  max-width: var(--container);
}

.intro-grid,
.service-grid,
.process-list,
.representative-grid,
.blog-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container);
}

.band {
  background: rgba(255, 250, 240, 0.7);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 34px;
  max-width: 840px;
}

.section-head h2 {
  position: relative;
}

.premium-copy h2 span {
  display: block;
  white-space: nowrap;
}

.section-head h2::after {
  background: var(--accent);
  content: "";
  display: block;
  height: 3px;
  margin-top: 18px;
  width: 74px;
}

.section-head.split {
  align-items: end;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  max-width: none;
  padding-top: 20px;
}

.section-head.split > p {
  color: var(--muted);
  max-width: 520px;
  overflow-wrap: normal;
  word-break: keep-all;
}

.intro-grid,
.service-grid,
.blog-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
}

.intro-grid article,
.service-card,
.blog-card {
  background: var(--surface);
  border: 0;
  border-radius: 0;
  padding: 28px;
}

.intro-grid article:hover,
.service-card:hover,
.blog-card:hover,
.process-list li:hover {
  outline: 1px solid rgba(167, 121, 63, 0.38);
  outline-offset: -1px;
}

.intro-grid article {
  background: var(--surface);
  box-shadow: none;
}

.number {
  color: var(--accent);
  display: block;
  font-family: "Noto Serif KR", serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
}

.metrics {
  background: var(--primary-2);
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  position: relative;
}

.metrics::before {
  background: linear-gradient(90deg, transparent, rgba(199, 154, 92, 0.75), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.metrics div {
  background: rgba(255, 250, 240, 0.035);
  border-right: 1px solid rgba(225, 192, 109, 0.12);
  min-height: 180px;
  padding: 38px clamp(20px, 4vw, 46px);
}

.metrics strong {
  color: var(--accent);
  display: block;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
}

.metrics span {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-top: 14px;
}

.service-card {
  box-shadow: none;
  min-height: 275px;
  padding-top: 32px;
  position: relative;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  background: #f8efdf;
  border-color: transparent;
  box-shadow: none;
  transform: translateY(0);
}

.service-card::before {
  border: 1px solid rgba(199, 154, 92, 0.28);
  content: "";
  inset: 14px;
  pointer-events: none;
  position: absolute;
}

.intro-grid article h3,
.service-card h3,
.process-list span {
  letter-spacing: 0;
}

.service-card::after {
  background: var(--accent);
  content: "";
  height: 4px;
  left: 28px;
  position: absolute;
  right: 28px;
  top: 0;
}

.service-icon {
  border: 2px solid var(--accent);
  border-radius: 0;
  display: block;
  height: 42px;
  margin-bottom: 20px;
  position: relative;
  width: 34px;
}

.service-icon::before,
.service-icon::after {
  background: var(--accent);
  content: "";
  height: 2px;
  left: 8px;
  position: absolute;
  right: 8px;
}

.service-icon::before {
  top: 14px;
}

.service-icon::after {
  top: 24px;
}

.service-card b {
  background: transparent;
  color: var(--accent-2);
  display: block;
  font-size: 13px;
  justify-self: start;
  margin-bottom: 18px;
  padding: 0;
}

.service-card p,
.blog-card p,
.intro-grid p,
.process-list p,
.contact-copy p {
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tags span {
  background: #f4e5c9;
  border: 1px solid rgba(201, 154, 61, 0.2);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 9px;
}

.process-list {
  counter-reset: process;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-list::before {
  background: var(--accent-soft);
  content: "";
  height: 2px;
  left: 6%;
  position: absolute;
  right: 6%;
  top: 42px;
  z-index: 0;
}

.process-list li {
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 210px;
  padding: 28px;
  position: relative;
  z-index: 1;
}

.process-list li:hover {
  background: #f8efdf;
}

.process-list li::before {
  align-items: center;
  background: transparent;
  border-bottom: 2px solid var(--accent);
  border-radius: 0;
  color: var(--primary-2);
  content: "0" counter(process);
  counter-increment: process;
  display: inline-flex;
  font-family: "Noto Serif KR", serif;
  font-size: 36px;
  font-weight: 700;
  height: 72px;
  justify-content: center;
  margin-bottom: 20px;
  width: 72px;
}

.process-list span {
  display: block;
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 10px;
}

.premium-note {
  background:
    linear-gradient(90deg, rgba(7, 17, 32, 0.96), rgba(7, 17, 32, 0.78)),
    url("https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
  display: grid;
  gap: 42px;
  grid-template-columns: 0.9fr 1.1fr;
  position: relative;
}

.premium-note::after {
  border: 1px solid rgba(234, 214, 182, 0.18);
  content: "";
  inset: clamp(18px, 3vw, 42px);
  pointer-events: none;
  position: absolute;
}

.premium-copy {
  align-self: center;
}

.premium-list {
  display: grid;
  gap: 14px;
}

.premium-list article {
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(234, 214, 182, 0.2);
  padding: 24px;
}

.premium-list p {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0;
}

.representative-section {
  background: var(--bg);
}

.representative-section .section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.representative-profile {
  align-items: center;
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(280px, 600px) minmax(360px, 660px);
  justify-content: space-between;
  margin: 0;
  max-width: var(--container);
  width: 100%;
}

.representative-intro {
  border-left: 0;
  margin-left: clamp(12px, 2vw, 36px);
  padding-left: clamp(18px, 2.4vw, 30px);
  position: relative;
}

.representative-intro::before {
  background: var(--accent);
  content: "";
  height: clamp(92px, 10vw, 138px);
  left: 0;
  position: absolute;
  top: 4px;
  width: 3px;
}

.representative-intro h3 {
  color: var(--primary);
  font-family: "Noto Serif KR", serif;
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 20px;
}

.representative-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
  margin: 0;
  max-width: 660px;
  word-break: keep-all;
}

.representative-intro p:not(.eyebrow) + p:not(.eyebrow) {
  margin-top: 14px;
}

.representative-intro .signature {
  max-width: 660px;
  text-align: right;
}

.representative-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: transparent;
  border: 1px solid var(--line);
  margin: 0;
  max-width: 600px;
  width: 100%;
}

.representative-section .representative-grid {
  max-width: 600px;
  width: 600px;
}

.representative-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  overflow: visible;
  position: relative;
}

.representative-card::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  content: "";
  height: 3px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
}

.representative-card img {
  display: block;
  height: auto;
  width: 100%;
}

.representative-card figcaption {
  background: transparent;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
  padding: 18px 18px 20px;
  position: static;
  text-align: left;
  white-space: pre-line;
  word-break: keep-all;
}

.wide-photo {
  height: auto;
  min-height: 0;
}

.tall-photo {
  min-height: 640px;
}

.blog-card {
  box-shadow: none;
  display: grid;
  gap: 18px;
  grid-template-rows: 190px auto;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.blog-card:hover {
  background: #f8efdf;
  box-shadow: none;
  transform: translateY(0);
}

.blog-card::after {
  background: var(--accent);
  bottom: 0;
  content: "";
  height: 3px;
  left: 24px;
  position: absolute;
  right: 24px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.blog-card:hover::after {
  transform: scaleX(1);
}

.blog-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.blog-card.image-missing {
  grid-template-rows: auto;
}

.blog-card.image-missing div {
  padding-top: 24px;
}

.blog-card div {
  padding: 0 24px 24px;
}

.blog-card small {
  color: var(--accent);
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
}

.text-link {
  border-bottom: 2px solid var(--accent);
  color: var(--primary);
  font-weight: 900;
}

.contact-band {
  background:
    linear-gradient(90deg, rgba(7, 17, 32, 0.98), rgba(7, 17, 32, 0.9)),
    linear-gradient(90deg, rgba(234, 214, 182, 0.08) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--primary-2);
  color: #fff;
  display: grid;
  gap: clamp(30px, 5vw, 70px);
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-copy {
  align-self: center;
}

.contact-form {
  background: #fff;
  color: var(--ink);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(225, 192, 109, 0.28);
  box-shadow: none;
}

.response-notice {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.18), rgba(239, 217, 180, 0.42));
  border: 1px solid rgba(212, 165, 116, 0.58);
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  padding: 18px 20px;
}

.response-notice strong {
  color: var(--primary);
  display: block;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px;
}

.response-notice p {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
  margin: 0;
  word-break: keep-all;
}

label {
  color: var(--ink);
  display: grid;
  font-size: 14px;
  font-weight: 900;
  gap: 8px;
}

input,
select,
textarea {
  background: #fffdfa;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 154, 61, 0.13);
  outline: none;
}

textarea {
  resize: vertical;
}

.full,
.wide {
  grid-column: 1 / -1;
}

.form-note {
  background: rgba(239, 217, 180, 0.34);
  border-radius: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  word-break: keep-all;
}

.directions-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.88), rgba(244, 239, 229, 0.96)),
    linear-gradient(90deg, rgba(16, 26, 45, 0.045) 1px, transparent 1px) 0 0 / 96px 96px;
}

.map-card {
  border: 1px solid var(--line);
  color: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  margin: 0 auto;
  max-width: var(--container);
  min-height: 360px;
}

.map-visual {
  background: #f4f1e9;
  aspect-ratio: 823 / 649;
  border: 2px solid rgba(16, 26, 45, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    0 18px 42px rgba(7, 17, 32, 0.12);
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.map-visual::before,
.map-visual::after {
  content: none;
}

.map-visual img {
  display: block;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

.map-info {
  align-content: center;
  background: var(--primary-2);
  color: #fff;
  display: grid;
  gap: 16px;
  padding: clamp(28px, 4vw, 54px);
}

.map-info strong {
  color: var(--accent-soft);
  font-family: "Noto Serif KR", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.map-info span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
  word-break: keep-all;
}

.map-info em {
  border: 1px solid rgba(199, 154, 92, 0.72);
  color: var(--accent-soft);
  display: inline-flex;
  font-style: normal;
  font-weight: 900;
  justify-content: center;
  margin-top: 10px;
  max-width: 240px;
  padding: 12px 16px;
}

.site-footer {
  align-items: center;
  background: #070d17;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 34px clamp(20px, 5vw, 72px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.62);
  margin: 4px 0 0;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-open {
  color: #fff;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
}

.primary-admin-link {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-2);
  font-weight: 900;
}

.bottom-admin-shortcut {
  align-items: center;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

.bottom-admin-shortcut strong {
  color: var(--primary);
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.bottom-admin-shortcut span {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.admin-panel {
  background: rgba(8, 13, 23, 0.72);
  display: none;
  inset: 0;
  overflow: auto;
  padding: 30px 18px;
  position: fixed;
  z-index: 50;
}

.admin-panel.active {
  display: block;
}

.admin-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  border: 1px solid rgba(225, 192, 109, 0.24);
  box-shadow: var(--shadow-deep);
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(24px, 4vw, 44px);
}

.admin-head {
  align-items: start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.icon-close {
  color: var(--ink);
  font-size: 30px;
  height: 44px;
  line-height: 1;
  width: 44px;
}

.login-box {
  display: grid;
  gap: 16px;
  max-width: 440px;
}

.admin-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-edit-section {
  border-top: 1px solid rgba(198, 154, 74, 0.24);
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.service-edit-head {
  display: grid;
  gap: 4px;
}

.service-edit-head strong {
  color: var(--ink);
  font-size: 18px;
}

.service-edit-head span {
  color: var(--muted);
  font-size: 13px;
}

.service-editor {
  display: grid;
  gap: 14px;
}

.service-edit-card {
  border: 1px solid rgba(198, 154, 74, 0.28);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  margin: 0;
  padding: 16px;
}

.service-edit-card legend {
  color: var(--primary-2);
  font-size: 13px;
  font-weight: 900;
  padding: 0 6px;
}

.admin-status {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.hidden {
  display: none !important;
}

.floating-contact {
  bottom: 22px;
  display: grid;
  gap: 8px;
  position: fixed;
  right: 22px;
  z-index: 15;
}

.floating-contact a {
  background:
    linear-gradient(135deg, #061224 0%, var(--primary-2) 100%);
  border: 1px solid rgba(200, 155, 66, 0.5);
  box-shadow: 0 16px 42px rgba(7, 22, 43, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  min-width: 92px;
  padding: 10px 14px;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.floating-contact a:hover {
  box-shadow: 0 24px 56px rgba(7, 22, 43, 0.28);
  transform: translateY(-3px);
}

.admin-page {
  background: var(--bg);
}

.admin-dashboard {
  padding: 0;
}

.dashboard-hero {
  background:
    linear-gradient(120deg, #030812 0%, var(--primary) 56%, #102847 100%);
  color: #fff;
  padding-bottom: 72px;
  padding-top: 88px;
}

.dashboard-hero h1 {
  max-width: 900px;
}

.dashboard-hero p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 720px;
}

.dashboard-login {
  background:
    linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  border: 1px solid rgba(225, 192, 109, 0.25);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  margin: -44px clamp(20px, 5vw, 72px) 48px;
  max-width: 520px;
  padding: 28px;
  position: relative;
  z-index: 2;
}

.dashboard-content {
  padding: 56px clamp(20px, 5vw, 72px) 96px;
}

.dashboard-toolbar {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.inquiry-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
}

.settings-panel {
  background:
    linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  border: 1px solid rgba(217, 204, 186, 0.9);
  box-shadow: 0 18px 54px rgba(7, 22, 43, 0.08);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
  padding: clamp(20px, 3vw, 30px);
}

.settings-head {
  align-items: end;
  display: flex;
  gap: 20px;
  grid-column: 1 / -1;
  justify-content: space-between;
}

.settings-head h2 {
  font-family: "Noto Sans KR", system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
}

.checkbox-label {
  align-content: center;
  display: flex;
  gap: 10px;
  min-height: 48px;
}

.checkbox-label input {
  min-height: auto;
  width: auto;
}

.inquiry-list,
.inquiry-detail {
  background: var(--surface);
  border: 1px solid rgba(217, 204, 186, 0.9);
  box-shadow: 0 18px 54px rgba(7, 22, 43, 0.08);
}

.inquiry-list {
  display: grid;
  gap: 1px;
  max-height: 760px;
  overflow: auto;
}

.inquiry-item {
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 8px;
  padding: 18px;
  text-align: left;
}

.inquiry-item.active {
  background: var(--surface-soft);
  border-left: 4px solid var(--accent);
}

.inquiry-item small,
.detail-head p,
.detail-meta dt {
  color: var(--muted);
}

.status-pill {
  background: var(--accent-soft);
  color: var(--primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-self: start;
  padding: 5px 9px;
}

.status-pill.new {
  background: #ffe5c7;
}

.status-pill.contacting {
  background: #dbeafe;
}

.status-pill.replied {
  background: #dcfce7;
}

.status-pill.closed {
  background: #e5e7eb;
}

.inquiry-detail {
  min-height: 560px;
  padding: clamp(22px, 4vw, 38px);
}

.detail-head {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 22px;
}

.detail-head h2 {
  font-family: "Noto Sans KR", system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  margin-top: 10px;
}

.detail-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 24px;
}

.detail-meta div {
  background: var(--surface-soft);
  padding: 16px;
}

.detail-meta dt {
  font-size: 12px;
  font-weight: 900;
}

.detail-meta dd {
  margin: 4px 0 0;
  word-break: break-all;
}

.message-box,
.reply-box {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.message-box p {
  color: var(--ink);
  white-space: normal;
}

.empty-state {
  color: var(--muted);
  margin: 0;
  padding: 20px;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .intro-grid,
  .service-grid,
  .blog-grid,
  .representative-grid,
  .process-list,
  .metrics,
  .contact-band,
  .map-card,
  .premium-note,
  .inquiry-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head.split {
    align-items: start;
    display: grid;
  }
}

@media (max-width: 680px) {
  .top-contact-bar {
    align-items: start;
    display: grid;
    gap: 6px;
    min-height: 72px;
  }

  .top-contact-inner,
  .top-contact-links {
    gap: 8px;
  }

  .top-contact-inner a {
    font-size: 17px;
  }

  .top-contact-links a {
    border-left: 0;
    padding-left: 0;
  }

  .site-header {
    align-items: start;
    gap: 14px;
    top: 72px;
  }

  .mobile-nav {
    top: 144px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-actions .ghost {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 144px);
  }

  .hero-content {
    padding-top: 22px;
    width: 100%;
  }

  .hero-title {
    gap: 8px;
    font-family: "Noto Sans KR", system-ui, sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.22;
    max-width: 100%;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-title-kicker {
    font-size: 28px;
  }

  .hero-title-main {
    font-size: 28px;
  }

  .hero-title-accent {
    font-size: 28px;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-service-panel div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-service-panel a {
    font-size: 14px;
    min-height: 54px;
    padding: 11px 8px;
    text-align: center;
  }

  h2 {
    font-size: 30px;
    line-height: 1.28;
  }

  h3 {
    font-size: 22px;
    line-height: 1.38;
  }

  .premium-copy h2 {
    font-size: 28px;
    line-height: 1.28;
  }

  /* 모바일: 사진 없이 남색 격자 배경만 표시 */
  .hero-media {
    background:
      radial-gradient(ellipse at 82% 24%, rgba(234, 214, 182, 0.1), transparent 36%),
      linear-gradient(
        180deg,
        rgba(7, 17, 32, 0.88) 0%,
        rgba(7, 17, 32, 0.98) 42%,
        rgba(7, 17, 32, 1) 100%
      ),
      repeating-linear-gradient(90deg, rgba(234, 214, 182, 0.075) 0 1px, transparent 1px 78px),
      repeating-linear-gradient(180deg, rgba(234, 214, 182, 0.055) 0 1px, transparent 1px 78px),
      var(--primary-2);
  }

  .hero-media::before,
  .slide-1::before,
  .slide-2::before,
  .slide-3::before {
    display: none;
  }

  .intro-grid,
  .service-grid,
  .blog-grid,
  .representative-grid,
  .process-list,
  .metrics,
  .contact-band,
  .map-card,
  .contact-form,
  .admin-form,
  .settings-panel,
  .premium-note,
  .hero-proof,
  .inquiry-layout,
  .detail-meta {
    grid-template-columns: 1fr;
  }

  .map-card {
    min-height: 0;
  }

  .map-visual {
    min-height: 240px;
  }

  .representative-section .representative-grid {
    max-width: min(600px, 100%);
    width: 100%;
  }

  .representative-profile {
    grid-template-columns: 1fr;
  }

  .representative-intro {
    border-left: 0;
    border-top: 3px solid var(--accent);
    margin-left: 0;
    padding-left: 0;
    padding-top: 22px;
  }

  .representative-intro::before {
    content: none;
  }

  .representative-intro p:not(.eyebrow) {
    font-size: 16px;
  }

  .floating-contact {
    bottom: 12px;
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
  }

  .wide-photo,
  .tall-photo {
    height: auto;
    min-height: 0;
  }

  .bottom-admin-shortcut {
    align-items: start;
    flex-direction: column;
    padding-bottom: 84px;
  }

  .process-list::before {
    display: none;
  }

  .floating-contact a {
    font-size: 12px;
    min-width: 0;
    overflow: hidden;
    padding: 11px 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-toolbar,
  .detail-head {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    align-items: start;
    gap: 18px;
    flex-direction: column;
  }
}

/* ── Hero entrance animation ──────────────────────── */
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: heroReveal 0.72s ease both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.10s; }
.hero-content > *:nth-child(2) { animation-delay: 0.20s; }
.hero-content > *:nth-child(3) { animation-delay: 0.30s; }
.hero-content > *:nth-child(4) { animation-delay: 0.40s; }
.hero-content > *:nth-child(5) { animation-delay: 0.50s; }
.hero-content > *:nth-child(6) { animation-delay: 0.60s; }
.hero-content > *:nth-child(7) { animation-delay: 0.70s; }
.hero-content > *:nth-child(8) { animation-delay: 0.80s; }

/* ── Blog card image zoom ─────────────────────────── */
.blog-card img {
  transition: transform 0.55s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

/* ── Enhanced card hover shadow ──────────────────── */
.service-card:hover,
.intro-grid article:hover {
  box-shadow: 0 10px 32px rgba(7, 17, 32, 0.10);
}

/* ── Scroll reveal ────────────────────────────────── */
.will-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.62s ease,
    transform 0.62s ease;
}

.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.will-reveal:nth-child(2) { transition-delay: 0.08s; }
.will-reveal:nth-child(3) { transition-delay: 0.16s; }
.will-reveal:nth-child(4) { transition-delay: 0.24s; }
.will-reveal:nth-child(5) { transition-delay: 0.32s; }
.will-reveal:nth-child(6) { transition-delay: 0.40s; }

/* ── Mobile hero dots ─────────────────────────────── */
@media (max-width: 680px) {
  .hero-dots {
    margin-top: 24px;
  }

  .slide-dot {
    height: 3px;
    width: 24px;
  }

  .slide-dot.active {
    width: 48px;
  }
}

/* ── Mobile hero-proof 2+1 grid ──────────────────── */
@media (min-width: 481px) and (max-width: 680px) {
  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof div:last-child {
    grid-column: 1 / -1;
  }
}

/* ── Button shimmer ───────────────────────────────── */
.button.primary {
  overflow: hidden;
  position: relative;
}

.button.primary::after {
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.button.primary:hover::after {
  transform: translateX(100%);
}

/* ── Metrics count-up visual ─────────────────────── */
.metrics strong {
  text-shadow: 0 2px 20px rgba(199, 154, 92, 0.28);
}

/* ── Section title accent line animate ────────────── */
.section-head h2::after {
  transition: width 0.5s ease;
  width: 0;
}

.section-head.in-view h2::after {
  width: 74px;
}
