/* ===== PORTAL NINE — main.css (Pastel Edition) ===== */
:root {
  --brand: #5DADE2;
  --brand-dark: #2E86C1;
  --brand-light: #D6EAF8;
  --dark: #2C3E50;
  --text: #34495E;
  --muted: #85929E;
  --light: #EBF5FB;
  --border: #D5E8F5;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(93,173,226,0.12);
}

/* ── Reset ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-y: scroll; scroll-behavior: smooth; }
body { font-family: '맑은 고딕','Malgun Gothic',Apple SD Gothic Neo,sans-serif; font-size: 15px; color: var(--text); background: #F8FBFF; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: 0; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ── Header ──────────────────────────── */
#header_w {
  width: 100%;
  height: 100px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 16px rgba(93,173,226,0.10);
}
.header {
  width: 1080px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo a { display: flex; align-items: center; gap: 10px; }
.logo-text {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--dark);
  line-height: 1;
}
.logo-text span { color: var(--brand); }
.logo-sub {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  margin-top: 2px;
  text-transform: uppercase;
}

/* ── Desktop Nav ─────────────────────── */
.menubar { display: flex; align-items: center; }
.menubar > ul { display: flex; }
.menubar .top { position: relative; }
.menubar .top > a {
  display: block;
  padding: 0 24px;
  line-height: 100px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.menubar .top > a:hover { color: var(--brand); }
.menubar .top.active > a { color: var(--brand); }

.menubar .drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  box-shadow: 0 8px 24px rgba(93,173,226,0.18);
  z-index: 600;
  border-radius: 0 0 var(--radius) var(--radius);
}
.menubar .top:hover .drop { display: block; }
.menubar .drop li a {
  display: block;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s, color 0.15s;
}
.menubar .drop li a:hover { background: var(--brand-light); color: var(--brand-dark); }

/* ── Hamburger ───────────────────────── */
.ham-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  gap: 6px;
  background: none;
  border: none;
}
.ham-btn span {
  display: block;
  width: 26px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Mobile Nav ──────────────────────── */
.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44,62,80,0.45);
  z-index: 900;
}
.mob-nav {
  position: fixed;
  top: 0; right: -300px;
  width: 280px; height: 100%;
  background: var(--white);
  z-index: 901;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -4px 0 24px rgba(93,173,226,0.2);
}
.mob-nav.open { right: 0; }
.mob-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 3px solid var(--brand);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  background: var(--light);
}
.mob-nav-close { font-size: 24px; background: none; border: none; color: var(--muted); line-height: 1; }
.mob-nav > ul > li { border-bottom: 1px solid var(--border); }
.mob-top-item { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; cursor: pointer; }
.mob-top-item > a { display: block; padding: 16px 0; font-size: 15px; font-weight: 700; color: var(--dark); flex: 1; }
.mob-top-item > a:hover { color: var(--brand); }
.mob-arrow { font-size: 12px; color: #bbb; transition: transform 0.25s; }
.mob-arrow.open { transform: rotate(180deg); color: var(--brand); }
.mob-sub { display: none; background: var(--light); }
.mob-sub li a { display: block; padding: 12px 32px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); }
.mob-sub li a:hover { color: var(--brand); background: var(--brand-light); }

/* ── Hero ────────────────────────────── */
#hero {
  width: 100%;
  min-height: 560px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #EAF4FD 0%, #F5F0FF 50%, #EDF6FF 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(93,173,226,0.22) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 1080px;
  margin: 0 auto;
  padding: 90px 0;
}
.hero-tag {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(93,173,226,0.3);
}
.hero-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-title em { color: var(--brand); font-style: normal; }
.hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  border: 2px solid var(--brand);
  transition: all 0.25s;
}
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(93,173,226,0.4); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  border: 2px solid var(--brand);
  transition: all 0.25s;
}
.btn-outline:hover { background: var(--brand-light); transform: translateY(-2px); }
.hero-deco {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 2px solid rgba(93,173,226,0.25);
  display: flex; align-items: center; justify-content: center;
}
.hero-deco::before {
  content: '';
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 2px solid rgba(93,173,226,0.15);
  position: absolute;
}
.hero-deco-icon {
  font-size: 80px;
  opacity: 0.18;
  color: var(--brand);
}

/* ── Section common ──────────────────── */
.section { width: 100%; padding: 80px 0; }
.section.bg-light { background: var(--light); }
.section-inner { width: 1080px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 14px;
}

/* ── About strip ─────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text .label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px; display: block;
}
.about-text h2 {
  font-size: 32px; font-weight: 900; color: var(--dark);
  line-height: 1.3; letter-spacing: -0.5px; margin-bottom: 20px;
}
.about-text p { font-size: 15px; color: var(--muted); line-height: 1.9; margin-bottom: 12px; }
.about-quote {
  position: relative;
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px; font-weight: 700; color: var(--dark);
  line-height: 1.7; margin-top: 28px;
}
.about-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-num-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-num-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(93,173,226,0.18); }
.about-num-card .num { font-size: 42px; font-weight: 900; color: var(--brand); line-height: 1; }
.about-num-card .num span { font-size: 24px; }
.about-num-card .label { font-size: 13px; color: var(--muted); margin-top: 8px; display: block; letter-spacing: 0; }

/* ── Services ────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), #A8D8F0);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(93,173,226,0.18); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon { font-size: 40px; margin-bottom: 20px; display: block; }
.svc-img-wrap {
  width: 100%;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--brand-light);
}
.svc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.svc-card:hover .svc-img-wrap img { transform: scale(1.05); }
.svc-card h3 { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ── Works grid ──────────────────────── */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  background: var(--brand-light);
  cursor: pointer;
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.work-card:hover img { transform: scale(1.07); }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,62,80,0.75) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.35s;
  display: flex; align-items: flex-end; padding: 20px;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-info h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.work-info p { font-size: 12px; color: rgba(255,255,255,0.75); }
.works-more { text-align: center; margin-top: 40px; }

/* ── Banner marquee ──────────────────── */
#banner_w {
  width: 100%; overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  height: 56px; display: flex; align-items: center; justify-content: center; position: relative;
}
.banner {
  width: 100%; max-width: 1200px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.marquee-inner {
  display: flex; align-items: center; width: max-content;
  will-change: transform; height: 56px;
  animation: marquee 28s linear infinite;
}
.marquee-inner img { height: 28px; width: auto; flex-shrink: 0; margin: 0 40px; opacity: 0.45; filter: grayscale(100%); transition: opacity 0.2s, filter 0.2s; }
.marquee-inner img:hover { opacity: 1; filter: none; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Contact preview ─────────────────── */
.contact-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-item .ci-icon {
  width: 44px; height: 44px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-item .ci-label { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.contact-item .ci-val { font-size: 15px; color: var(--dark); font-weight: 600; margin-top: 2px; }
.contact-item .ci-val a { color: var(--dark); font-weight: 700; transition: color 0.2s; }
.contact-item .ci-val a:hover { color: var(--brand); text-decoration: underline; }
.contact-item .ci-icon { cursor: pointer; transition: transform 0.2s; display: flex; align-items: center; justify-content: center; }
.contact-item a.ci-icon:hover { transform: scale(1.15); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.form-row input,
.form-row textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-family: inherit; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(93,173,226,0.18);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  width: 100%; padding: 14px;
  background: var(--brand); color: #fff;
  font-size: 15px; font-weight: 700;
  border: none; border-radius: 30px;
  transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* ── Sub page banner ─────────────────── */
.sub-banner {
  width: 100%; height: 240px;
  background: linear-gradient(135deg, #D6EAF8 0%, #EAF2FF 50%, #D5F5E3 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
.sub-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(93,173,226,0.2) 0%, transparent 65%);
}
.sub-banner-inner { position: relative; z-index: 2; }
.sub-banner-tag { font-size: 11px; font-weight: 700; letter-spacing: 3px; color: var(--brand-dark); text-transform: uppercase; margin-bottom: 12px; display: block; }
.sub-banner-title { font-size: 38px; font-weight: 900; color: var(--dark); letter-spacing: -1px; }
.sub-banner-title span { color: var(--brand); }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 12px; }
.breadcrumb a, .breadcrumb span { font-size: 12px; color: var(--muted); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--brand-dark); font-weight: 700; }

/* ── About page ──────────────────────── */
.about-content { max-width: 860px; margin: 0 auto; }
.about-opening {
  text-align: center; font-size: 22px; font-weight: 700; color: var(--dark);
  line-height: 1.7; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.about-body { font-size: 15px; color: var(--muted); line-height: 1.9; text-align: center; margin-bottom: 16px; }
.steps-row {
  display: flex; gap: 0; margin: 40px 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 20px rgba(93,173,226,0.2);
}
.step-item {
  flex: 1; background: linear-gradient(135deg, var(--brand), #A8D8F0);
  color: #fff; text-align: center; padding: 18px 12px;
  position: relative; font-size: 14px; font-weight: 700; line-height: 1.4;
}
.step-item + .step-item { border-left: 1px solid rgba(255,255,255,0.3); }
.step-item:not(:last-child)::after {
  content: "▶"; position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%); color: #fff; font-size: 10px; z-index: 2;
}
.step-num { font-size: 10px; opacity: 0.7; letter-spacing: 2px; margin-bottom: 6px; }

.history-list { list-style: none; border-left: 3px solid var(--brand); padding-left: 28px; margin: 0; }
.history-list li { position: relative; padding: 0 0 28px; }
.history-list li::before {
  content: ''; position: absolute; left: -37px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--brand);
}
.history-year { font-size: 14px; font-weight: 900; color: var(--brand); margin-bottom: 4px; }
.history-desc { font-size: 14px; color: var(--text); line-height: 1.7; }

/* ── Cat bar (portfolio/works) ───────── */
.cat-bar {
  width: 100%; background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky; top: 100px; z-index: 400;
}
.cat-inner { width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; }
.cat-tab {
  padding: 14px 24px; font-size: 14px; font-weight: 700; color: var(--muted);
  background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px;
  cursor: pointer; white-space: nowrap; outline: none; transition: color 0.15s; font-family: inherit;
}
.cat-tab:hover { color: var(--dark); }
.cat-tab.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ── Portfolio grid ──────────────────── */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 40px 0; }
.pf-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s;
}
.pf-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(93,173,226,0.2); }
.pf-thumb { position: relative; aspect-ratio: 16/9; background: var(--brand-light); overflow: hidden; }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.pf-card:hover .pf-thumb img { transform: scale(1.06); }
.pf-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(44,62,80,0.2); opacity: 0; transition: opacity 0.3s;
}
.pf-card:hover .pf-play { opacity: 1; }
.pf-play-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand); display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
}
.pf-body { padding: 16px 18px; }
.pf-cat { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--brand); text-transform: uppercase; margin-bottom: 6px; }
.pf-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.pf-client { font-size: 12px; color: var(--muted); }

/* ── Contact page ────────────────────── */
.contact-wrap { width: 1080px; margin: 0 auto; padding: 64px 20px 80px; box-sizing: border-box; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.map-box { width: 100%; height: 320px; background: var(--light); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ── Footer ──────────────────────────── */
#footer_w {
  width: 100%;
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  color: rgba(255,255,255,0.6);
}
.footer {
  width: 1080px; margin: 0 auto;
  display: flex; align-items: center; padding: 32px 0; gap: 32px;
}
.f_logo { flex-shrink: 0; padding-right: 32px; border-right: 1px solid rgba(255,255,255,0.12); }
.f_logo .logo-text { font-size: 20px; color: #fff; }
.f_logo .logo-text span { color: var(--brand); }
.f_logo .logo-sub { color: rgba(255,255,255,0.3); }
.f_text { flex: 1; }
.f_text p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.8; text-align: center; }
.f_text .f_copy { font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 6px; }
.f_sns { display: flex; gap: 12px; flex-shrink: 0; }
.f_sns a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 14px; transition: all 0.2s;
}
.f_sns a:hover { border-color: var(--brand); color: var(--brand); background: rgba(93,173,226,0.12); }
.f_bottom { width: 100%; background: rgba(0,0,0,0.25); }
.f_bottom p { width: 1080px; margin: 0 auto; font-size: 11px; color: rgba(255,255,255,0.2); padding: 12px 0; text-align: center; }

/* ── 카카오톡 플로팅 배너 ────────────────── */
.kakao-float {
  position: fixed;
  right: 0;
  top: 120px;
  z-index: 9999;
}
.kakao-float a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FEE500;
  color: #3C1E1E;
  text-decoration: none;
  padding: 16px 10px;
  border-radius: 12px 0 0 12px;
  box-shadow: -3px 3px 16px rgba(0,0,0,0.2);
  gap: 8px;
  transition: padding 0.25s, box-shadow 0.25s;
}
.kakao-float a:hover {
  padding-left: 16px;
  box-shadow: -6px 4px 22px rgba(0,0,0,0.26);
}
.kakao-float-icon {
  width: 34px; height: 34px;
  background: #3C1E1E;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; line-height: 1;
}
.kakao-float-txt {
  font-size: 11px; font-weight: 800; color: #3C1E1E;
  letter-spacing: 0.5px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .kakao-float a { padding: 12px 8px; }
  .kakao-float-icon { width: 28px; height: 28px; font-size: 15px; }
  .kakao-float-txt { font-size: 10px; }
}

/* ── Responsive ──────────────────────── */
@media (max-width: 1120px) {
  .header, .section-inner, .cat-inner, .contact-wrap, .footer { width: 100% !important; padding-left: 20px !important; padding-right: 20px !important; box-sizing: border-box !important; }
  .f_bottom p { width: 100% !important; padding-left: 20px !important; padding-right: 20px !important; box-sizing: border-box !important; }
  .menubar { display: none !important; }
  .ham-btn { display: flex !important; }
  #header_w { height: 70px; }
  .menubar .top > a { line-height: 70px; }
  .hero-deco { display: none; }
  .hero-title { font-size: 38px; }
}
@media (max-width: 900px) {
  .about-strip { grid-template-columns: 1fr; gap: 36px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .pf-grid { grid-template-columns: 1fr 1fr; }
  .contact-strip { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 28px; letter-spacing: -0.5px; }
  .hero-desc { font-size: 14px; }
  .section-title { font-size: 26px; }
  .services-grid, .works-grid, .pf-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; text-align: center; padding: 24px 20px; }
  .f_logo { border-right: none !important; padding-right: 0 !important; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .about-nums { grid-template-columns: 1fr 1fr; }
  .steps-row { flex-direction: column; }
  .step-item:not(:last-child)::after { display: none; }
  .sub-banner { height: 180px; }
  .sub-banner-title { font-size: 26px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}
