*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #222;
  --muted: #8a8a8a;
  --line: #e8e8e8;
  --bg: #f7f8fc;
  --card: #ffffff;
  --brand: #5b7cfa;
  --brand-soft: #a8b8ff;
  --brand-pale: #eef1ff;
  --pill: #9aa3b5;
  --header-h: 72px;
  --util-h: 36px;
  --quote-bar-h: 68px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Noto Sans KR", system-ui, sans-serif;
  --logo-font: "GangwonEduPowerExtraBold", "GangwonEduPower", "Noto Sans KR", sans-serif;
  --radius: 24px;
  --max: 1760px;
  --gutter: clamp(20px, 2.2vw, 40px);
}

@font-face {
  font-family: "GangwonEduPowerExtraBold";
  src: url("fonts/GangwonEduPowerExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GangwonEduPower";
  src: url("fonts/GangwonEduPowerExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@media (max-width: 960px) {
  :root {
    --header-h: 60px;
    --util-h: 32px;
    --quote-bar-h: 56px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--quote-bar-h) + env(safe-area-inset-bottom, 0px));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin: 0 auto;
}

.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;
}

.only-desktop {
  display: flex;
}

.only-mobile-flex {
  display: none;
}

@media (max-width: 960px) {
  .only-desktop {
    display: none !important;
  }

  .only-mobile-flex {
    display: flex;
  }

  .hide-mobile {
    display: none !important;
  }
}

#services,
#cases,
#guide,
#contact {
  scroll-margin-top: calc(var(--util-h) + var(--header-h) + 16px);
}

/* ── Util bar ── */
.util-bar {
  height: var(--util-h);
  background: #f3f4f8;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

.util-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.util-text {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.util-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.util-phone {
  font-weight: 600;
  color: var(--ink);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: auto;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--logo-font);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #231815;
  line-height: 1;
  position: relative;
  top: 5px;
}

.gnb {
  gap: clamp(22px, 3vw, 40px);
  font-size: 0.95rem;
  font-weight: 500;
}

.gnb a:hover {
  color: var(--brand);
}

.menu-btn {
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px 0;
}

.menu-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.menu-ico,
.menu-ico::before,
.menu-ico::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.menu-ico {
  position: relative;
}

.menu-ico::before,
.menu-ico::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-ico::before {
  top: -6px;
}

.menu-ico::after {
  top: 6px;
}

.nav-drawer {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: #fff;
}

.nav-drawer.is-open {
  display: flex;
}

.nav-drawer a {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.nav-drawer a:hover {
  background: var(--bg);
}

/* ── Hero ── */
.hero-block {
  padding: 28px 0 20px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(260px, 0.55fr);
  gap: 20px;
  align-items: stretch;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 560px;
  height: min(68vh, 640px);
  background: #dfe3f0;
}

.hero-track {
  position: relative;
  height: 100%;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
}

.hero-caption {
  position: absolute;
  left: 36px;
  bottom: 56px;
  right: 36px;
  color: #fff;
  z-index: 1;
}

.hero-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.hero-caption h1,
.hero-caption h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.hero-controls {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(40, 44, 56, 0.55);
  color: #fff;
  font-size: 0.78rem;
  backdrop-filter: blur(6px);
}

.hero-nav,
.hero-pause {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}

.hero-pager {
  min-width: 42px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.quick-cards {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
}

.quick-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(40, 50, 80, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(40, 50, 80, 0.08);
}

.quick-card.accent {
  background: linear-gradient(135deg, #6b82f7, #8b9dff);
  border-color: transparent;
  color: #fff;
}

.quick-card strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.quick-card span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
}

.quick-card.accent span {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Slogan + tabs ── */
.section {
  padding: 72px 0;
}

.slogan-section {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 55%);
}

.slogan-head {
  text-align: center;
  margin-bottom: 40px;
}

.slogan-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.4;
}

.slogan-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
}

.tab-pills {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.tab-pill {
  min-width: 160px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  background: var(--pill);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.tab-pill:first-child {
  border-radius: 999px 0 0 999px;
}

.tab-pill:last-child {
  border-radius: 0 999px 999px 0;
}

.tab-pill.is-active {
  background: var(--brand-soft);
}

.icon-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.icon-grid.is-active {
  display: grid;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.icon-box {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #f0f2f7;
  color: #5a6478;
  transition: background 0.2s, color 0.2s;
}

.icon-box svg {
  width: 28px;
  height: 28px;
}

.icon-item:hover .icon-box {
  background: var(--brand-pale);
  color: var(--brand);
}

/* ── Service icons ── */
.cases-section {
  background: #fff;
}

.section-head {
  margin-bottom: 28px;
}

.section-head.center {
  text-align: center;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
}

.service-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 32px;
}

.service-icon-item {
  text-align: center;
  padding: 8px 12px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--brand-pale);
  color: var(--brand);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-icon-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-icon-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #3a3f4d;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.btn-dark.sm {
  padding: 6px 14px;
  font-size: 0.78rem;
}

/* ── Marquee ── */
.marquee {
  overflow: hidden;
  padding: 28px 0;
  background: linear-gradient(90deg, #eef1ff, #f7f8fc 40%, #eef1ff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(91, 124, 250, 0.28);
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── About teaser ── */
.about-teaser {
  background: #fff;
}

.about-teaser-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.about-teaser-photo {
  overflow: visible;
  background: transparent;
  border: none;
  border-radius: 0;
  transform: translateX(36px);
}

.about-teaser-photo img {
  width: 100%;
  max-height: none;
  height: clamp(420px, 52vh, 620px);
  object-fit: contain;
  object-position: center bottom;
  display: block;
  margin: 0 auto;
  transform: scale(1.15);
  transform-origin: center bottom;
}

.about-teaser-copy {
  text-align: left;
  justify-self: end;
  width: 100%;
  max-width: 560px;
  transform: translateX(-72px);
}

.about-teaser-label {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.about-teaser-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.about-teaser-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  max-width: 540px;
}

.btn-about {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-about:hover {
  background: #4a6aef;
}

/* ── CTA banner ── */
.cta-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.cta-inner {
  position: relative;
  z-index: 1;
  padding: 64px 0;
}

.cta-eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.cta-inner h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.cta-desc {
  margin: 0 0 24px;
  max-width: 420px;
  font-weight: 300;
  opacity: 0.9;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-light:hover {
  background: #f0f2f7;
}

/* ── Inquiry ── */
.inquiry-section {
  background: var(--bg);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

.inquiry-box {
  background: linear-gradient(160deg, #dfe6ff, #edf1ff);
  border-radius: 22px;
  padding: 32px 28px;
}

.inquiry-box--wide {
  padding: 40px clamp(24px, 4vw, 48px);
}

.inquiry-wide-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
}

.inquiry-box h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

.inquiry-phone {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.inquiry-meta {
  margin: 0 0 18px;
  font-size: 0.86rem;
  color: #5a6478;
  font-weight: 300;
}

.inquiry-map {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.inquiry-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inquiry-cta-wrap > .btn-primary {
  width: 100%;
  border: none;
  cursor: pointer;
  font: inherit;
}

.inquiry-expand-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  border: 1px solid rgba(24, 24, 27, 0.08);
}

.inquiry-expand-form[hidden] {
  display: none;
}

.inquiry-expand-form .field {
  display: grid;
  gap: 6px;
}

.inquiry-expand-form .field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3a3f4d;
}

.inquiry-expand-form .field input,
.inquiry-expand-form .field select,
.inquiry-expand-form .field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  resize: vertical;
}

.inquiry-expand-form .btn-primary {
  margin-top: 4px;
  border: none;
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.btn-primary:hover {
  background: #4a6aef;
}

/* ── Portfolio ── */
.portfolio-section {
  background: var(--bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.portfolio-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.portfolio-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.portfolio-item figcaption {
  padding: 10px 12px 12px;
}

.portfolio-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
  line-height: 1.35;
}

.portfolio-item span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
}

/* ── About page ── */
.page-hero {
  padding: 56px 0 28px;
  background: linear-gradient(180deg, var(--bg), #fff);
  border-bottom: 1px solid var(--line);
}

.page-eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.page-lead {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  max-width: 520px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.about-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.about-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 300;
}

.about-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-values {
  background: var(--bg);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
}

.value-card strong {
  display: block;
  color: var(--brand);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.about-info h2 {
  margin: 0 0 20px;
  font-size: 1.4rem;
  font-weight: 700;
}

.about-dl {
  margin: 0;
}

.about-dl > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.about-dl dt {
  color: var(--muted);
  font-weight: 500;
}

.about-dl dd {
  margin: 0;
}

.about-cta-box {
  background: linear-gradient(160deg, #dfe6ff, #edf1ff);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-cta-box h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.about-cta-box p {
  margin: 0 0 18px;
  color: #5a6478;
  font-weight: 300;
}

.gnb a[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
}

/* ── Quote bar ── */
.quote-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: #ffeb3b;
  border-top: 1px solid rgba(24, 24, 27, 0.12);
  box-shadow: 0 -6px 24px rgba(24, 24, 27, 0.1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.quote-bar-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin: 0 auto;
  padding: 12px 0;
  min-height: var(--quote-bar-h);
}

.quote-bar-label {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  padding-right: 8px;
}

.quote-field {
  flex: 1;
  min-width: 0;
}

.quote-field input,
.quote-field select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(24, 24, 27, 0.15);
  background: #fff;
  font-size: 0.9rem;
  color: var(--ink);
  border-radius: 8px;
}

.quote-submit {
  flex-shrink: 0;
  height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.quote-submit:hover {
  background: #333;
}

/* ── Footer ── */
.site-footer {
  background: #1e2230;
  color: rgba(255, 255, 255, 0.72);
  padding: 36px 0 28px;
}

.footer-top {
  display: flex;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.footer-top a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer-name {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.footer-tag,
.footer-addr {
  margin: 0 0 8px;
  font-size: 0.86rem;
  font-weight: 300;
}

.footer-block h3 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.footer-block dl {
  margin: 0;
}

.footer-block dl > div {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.84rem;
}

.footer-block dt {
  flex-shrink: 0;
  min-width: 68px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-block dd {
  margin: 0;
}

.copyright {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand-mark {
    height: 26px;
  }

  .brand-name {
    font-size: 1.28rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-slider,
  .hero-track {
    min-height: 280px;
    height: auto;
  }

  .hero-caption {
    left: 20px;
    right: 20px;
    bottom: 48px;
  }

  .quick-cards {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .service-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .about-teaser-layout,
  .inquiry-wide-grid,
  .about-layout,
  .about-info-grid,
  .value-grid,
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-teaser-copy {
    transform: none;
    justify-self: stretch;
    max-width: none;
  }

  .about-teaser-photo {
    transform: none;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item img {
    height: 160px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .quote-bar-form {
    flex-wrap: nowrap;
    gap: 8px;
    width: calc(100% - 24px);
    padding: 8px 0;
  }

  .quote-field input,
  .quote-field select,
  .quote-submit {
    height: 40px;
  }

  .quote-submit {
    flex: 0 0 auto;
    width: auto;
    padding: 0 18px;
  }
}

@media (max-width: 520px) {
  .util-text {
    font-size: 0.72rem;
  }

  .quick-cards {
    grid-template-columns: 1fr;
  }

  .tab-pill {
    min-width: 0;
    flex: 1;
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .service-icons {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-caption h1,
  .hero-caption h2 {
    font-size: 1.35rem;
  }
}

/* ── Thanks page ── */
.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px calc(40px + var(--quote-bar-h));
  background: linear-gradient(180deg, var(--bg), #fff);
}

.thanks-box {
  text-align: center;
  max-width: 520px;
}

.thanks-box h1 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.thanks-box p {
  margin: 0 0 24px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}
