@font-face {
  font-family: "Kakao Small Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/KakaoSmallSans-Light.ttf") format("truetype");
}

@font-face {
  font-family: "Kakao Small Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/KakaoSmallSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Kakao Small Sans";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("assets/fonts/KakaoSmallSans-Bold.ttf") format("truetype");
}

:root {
  --navy: #101a45;
  --blue: #203a70;
  --accent: #315f8f;
  --ink: #111827;
  --muted: #64707d;
  --line: #dfe5ec;
  --paper: #f6f8fb;
  --white: #fff;
  --shadow: 0 22px 70px rgba(16, 26, 69, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Kakao Small Sans", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.65;
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, li, dd { word-break: keep-all; }
h1, h2, h3 { margin: 0; letter-spacing: 0; line-height: 1.18; }
p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 86px;
  padding: 12px clamp(28px, 5vw, 88px);
  border-bottom: 1px solid rgba(223, 229, 236, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}
.logo img {
  display: block;
  width: clamp(250px, 32vw, 480px);
  max-height: 66px;
  object-fit: contain;
  object-position: left center;
}
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 38px);
  font-size: 1.04rem;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav > a,
.nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: #000;
}
.main-nav > a::after,
.nav-item > a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: #189ed8;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
  content: "";
}
.main-nav > a:hover,
.main-nav > a.active,
.nav-item:hover > a,
.nav-item > a.active {
  color: #000;
}
.main-nav > a:hover::after,
.main-nav > a.active::after,
.nav-item:hover > a::after,
.nav-item > a.active::after {
  transform: scaleX(1);
}
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: 48px;
  left: 0;
  display: none;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #000;
  font-weight: 500;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { display: block; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  min-height: calc(100vh - 86px);
  padding: clamp(72px, 10vw, 124px) clamp(20px, 5vw, 72px) 56px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 26, 69, 0.9), rgba(16, 26, 69, 0.58) 58%, rgba(16, 26, 69, 0.22)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2200&q=82") center / cover;
}
.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 26%;
  background: linear-gradient(0deg, rgba(246, 248, 251, 1), rgba(246, 248, 251, 0));
  content: "";
}
.hero-inner { max-width: 780px; padding-bottom: 58px; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.45rem, 6vw, 5.3rem);
}
.hero p {
  max-width: 690px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}
.btn.primary { color: var(--white); background: var(--navy); }
.btn.light { color: var(--navy); background: rgba(255, 255, 255, 0.9); }
.quick-panel {
  position: fixed;
  right: clamp(20px, 3vw, 42px);
  bottom: clamp(22px, 4vh, 46px);
  z-index: 40;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 40px));
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(16, 26, 69, 0.22);
  border-radius: 8px;
  color: #000;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 70px rgba(16, 26, 69, 0.24);
  backdrop-filter: blur(14px);
  font-weight: 400;
  text-align: center;
}
.quick-panel strong {
  margin-bottom: 8px;
  color: #000;
  font-size: 1.02rem;
  font-weight: 400;
  text-align: center;
}
.quick-panel a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(16, 26, 69, 0.16);
  color: #000;
  font-weight: 400;
  text-align: center;
}
.quick-panel a:hover {
  color: #000;
}
.quick-panel .blog-link {
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(3, 199, 90, 0.36);
  border-radius: 8px;
  background: rgba(3, 199, 90, 0.08);
}
.naver-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: #03c75a;
  font-size: 0.88rem;
  font-weight: 900;
}

.section { padding: clamp(70px, 10vw, 116px) clamp(20px, 5vw, 72px); }
.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 86px);
  background: var(--paper);
}
.split h2,
.section-title h2,
.page-hero h1,
.cta h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}
.split p { color: #415067; font-size: 1.08rem; }
.service-band { background: var(--white); }
.section-title { max-width: 720px; margin-bottom: 34px; }
.card-grid {
  display: grid;
  gap: 18px;
}
.card-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card,
.plain-card,
.detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(16, 26, 69, 0.06);
}
.service-card {
  min-height: 250px;
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card span,
.detail-card span { color: var(--accent); font-weight: 900; }
.service-card h3 { margin-top: 38px; font-size: 1.28rem; }
.service-card p { margin-top: 12px; color: var(--muted); }
.process { background: var(--paper); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.steps li {
  min-height: 150px;
  padding: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps li + li { border-left: 1px solid var(--line); }
.steps strong, .steps span { display: block; }
.steps strong { color: var(--navy); font-size: 1.18rem; }
.steps span { margin-top: 8px; color: var(--muted); }
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}
.cta p:last-child { margin-top: 14px; color: rgba(255,255,255,0.76); }

.page-hero {
  padding: clamp(70px, 10vw, 116px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16,26,69,0.94), rgba(32,58,112,0.78)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80") center / cover;
}
.page-hero p:last-child {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
}
.sub-tabs {
  display: flex;
  justify-content: center;
  gap: clamp(34px, 7vw, 108px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.sub-tabs a {
  position: relative;
  padding: 24px 0 22px;
  color: #222;
  font-size: 1.02rem;
}
.sub-tabs a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}
.sub-tabs a.active,
.sub-tabs a:hover {
  color: #1f6fae;
}
.sub-tabs a.active::after,
.sub-tabs a:hover::after {
  background: #1f6fae;
}
.two-col {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
}
.about-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
  background: var(--white);
}
.about-layout-wide {
  display: block;
  padding-top: clamp(78px, 9vw, 124px);
}
.side-menu {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  border: 1px solid #bcc8d6;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 26, 69, 0.08);
}
.side-menu a {
  padding: 16px 18px;
  border-bottom: 1px solid #cbd5e1;
  font-weight: 900;
}
.side-menu a:last-child { border-bottom: 0; }
.side-menu a:hover { color: var(--accent); background: #f7f9fc; }
.about-content {
  display: grid;
  gap: clamp(64px, 8vw, 96px);
  min-width: 0;
}
.about-layout-wide .about-content {
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
  gap: clamp(82px, 10vw, 132px);
}
.about-content .content-block {
  scroll-margin-top: 120px;
  max-width: 980px;
}
.about-layout-wide .content-block {
  max-width: none;
}
.content-block,
.narrow { max-width: 940px; }
.content-block p { margin-top: 18px; color: #415067; font-size: 1.08rem; }
.greeting-block {
  text-align: center;
}
.greeting-block h2 {
  margin-bottom: clamp(46px, 6vw, 76px);
  color: #05070c;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}
.greeting-block > p:not(.greeting-lead) {
  max-width: 980px;
  margin: 26px auto 0;
  color: #353d48;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 2;
  text-align: left;
}
.greeting-lead {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  color: #080b10;
  font-size: clamp(2.2rem, 4.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.35;
}
.greeting-lead::before {
  position: absolute;
  top: -36px;
  left: max(0px, calc(50% - 520px));
  color: rgba(16, 26, 69, 0.06);
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 1;
  content: "“";
}
.greeting-lead strong {
  color: #1f6fae;
}
.info-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.greeting-block .info-row {
  max-width: 980px;
  margin: clamp(38px, 5vw, 58px) auto 0;
  text-align: left;
}
.info-row div,
.plain-card {
  padding: 26px;
}
.info-row div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.info-row strong,
.info-row span { display: block; }
.info-row strong { color: var(--navy); font-size: 1.15rem; }
.info-row span,
.plain-card p,
.detail-card p,
.detail-card li { color: var(--muted); }
.timeline {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--navy);
}
.about-layout-wide .timeline {
  width: min(980px, 100%);
}
.timeline li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.timeline strong { color: var(--accent); }
.history-section {
  max-width: none;
  padding: clamp(76px, 8vw, 118px) 0 clamp(86px, 9vw, 136px);
  background: #f7f7f7;
}
.history-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(560px, 1.05fr);
  gap: clamp(72px, 10vw, 156px);
  width: min(1180px, calc(100vw - 56px));
  margin: 0 auto;
}
.history-intro {
  position: sticky;
  top: 116px;
  align-self: start;
}
.history-intro span {
  display: block;
  margin-bottom: 16px;
  color: #1f6fae;
  font-size: 1.08rem;
  font-weight: 900;
}
.history-intro h2 {
  color: #05070c;
  font-size: clamp(2.25rem, 3.7vw, 3.85rem);
  font-weight: 900;
  line-height: 1.25;
}
.history-intro p {
  max-width: 520px;
  margin-top: 34px;
  color: #5c6572;
  font-size: clamp(1.02rem, 1.26vw, 1.18rem);
  font-weight: 500;
  line-height: 1.9;
}
.history-summary {
  margin-bottom: clamp(38px, 5vw, 66px);
  padding-bottom: clamp(24px, 3vw, 34px);
  border-bottom: 2px solid #85cff1;
}
.history-summary strong {
  display: block;
  color: #05070c;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
}
.history-summary p {
  max-width: 620px;
  margin-top: 16px;
  color: #66707f;
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  font-weight: 500;
  line-height: 1.85;
}
.history-timeline ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.history-timeline li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: start;
  padding: clamp(24px, 3vw, 34px) 0;
  border-bottom: 1px solid #dde4ec;
}
.history-timeline li:first-child {
  padding-top: 0;
}
.history-timeline li:last-child {
  border-bottom: 0;
}
.history-date {
  color: #189ed8;
  font-size: clamp(1.14rem, 1.36vw, 1.28rem);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0;
}
.history-timeline p {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #0b0f16;
  background: transparent;
  box-shadow: none;
  font-size: clamp(1.16rem, 1.46vw, 1.34rem);
  font-weight: 900;
  line-height: 1.65;
}
.history-timeline small {
  display: block;
  margin-top: 4px;
  color: #5f6875;
  font-size: clamp(1.04rem, 1.18vw, 1.14rem);
  font-weight: 400;
  line-height: 1.55;
}
.certificate-section {
  max-width: none;
  margin: 0;
  padding-top: clamp(70px, 8vw, 112px);
  padding-bottom: clamp(86px, 9vw, 128px);
  background: #f4f6f8;
}
.certificate-section .section-title,
.certificate-grid {
  width: min(1280px, calc(100vw - 48px));
  margin-right: auto;
  margin-left: auto;
}
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
}
.certificate-thumb {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #172033;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.certificate-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid #dbe2ea;
  background: #fff;
  box-shadow: 0 18px 36px rgba(16, 26, 69, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.certificate-thumb:hover img {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(16, 26, 69, 0.13);
}
.certificate-thumb span {
  font-size: 1.08rem;
  font-weight: 900;
}
.certificate-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(8, 12, 22, 0.78);
}
.certificate-modal[hidden] {
  display: none;
}
.certificate-modal figure {
  position: relative;
  width: min(900px, 92vw);
  max-height: 92vh;
  margin: 0;
  text-align: center;
}
.certificate-modal img {
  max-width: 100%;
  max-height: 84vh;
  border: 1px solid rgba(255,255,255,0.24);
  background: #fff;
  box-shadow: 0 28px 70px rgba(0,0,0,0.35);
}
.certificate-modal figcaption {
  margin-top: 14px;
  color: #fff;
  font-weight: 800;
}
.certificate-modal-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,0.12);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.light-section { background: var(--paper); }
.certification-block {
  max-width: none;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.about-layout-wide .certification-block {
  padding: clamp(42px, 5vw, 64px);
}
.section-title.compact {
  margin-bottom: 22px;
}
.cert-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 22px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(16, 26, 69, 0.08);
}
.cert-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
}
.cert-card h3 {
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}
.cert-card p {
  margin-top: 14px;
  color: #44546a;
}
.cert-card dl {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.cert-card dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
.cert-card dl div:last-child { border-bottom: 0; }
.cert-card dt,
.cert-card dd {
  margin: 0;
  padding: 12px 14px;
}
.cert-card dt {
  color: var(--navy);
  background: #f4f7fb;
  font-weight: 900;
}
.cert-card dd {
  color: #405068;
}
.cert-card ul {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cert-card li {
  position: relative;
  padding-left: 18px;
  color: #405068;
  font-weight: 800;
}
.cert-card li::before {
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.text-link {
  grid-column: 1 / -1;
  color: var(--accent);
  font-weight: 900;
}
.plain-card h2,
.plain-card h3 { margin-bottom: 12px; color: var(--navy); }
.business-list {
  display: grid;
  gap: 22px;
}
.detail-card {
  scroll-margin-top: 110px;
  padding: clamp(26px, 4vw, 42px);
}
.detail-card h2 { margin-top: 12px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.detail-card p { margin-top: 16px; }
.detail-card ul { margin: 20px 0 0; padding-left: 20px; }
.performance-visual {
  position: relative;
  min-height: clamp(320px, 42vw, 520px);
  display: grid;
  align-items: center;
  padding: clamp(64px, 9vw, 118px) clamp(24px, 8vw, 120px);
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 106, 150, 0.86), rgba(49, 156, 201, 0.62)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=2200&q=82") center / cover;
}
.performance-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  content: "";
}
.performance-visual > div {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}
.performance-visual p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 700;
}
.performance-visual h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.22;
}
.performance-tabs {
  display: flex;
  justify-content: center;
  gap: clamp(38px, 9vw, 130px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.performance-tabs button {
  position: relative;
  min-width: 118px;
  border: 0;
  padding: 24px 0 22px;
  color: #111;
  background: transparent;
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
}
.performance-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}
.performance-tabs button.is-active {
  color: #1f6fae;
}
.performance-tabs button.is-active::after {
  background: #1f6fae;
}
.performance-section {
  background: #fff;
  padding-top: clamp(54px, 7vw, 86px);
}
.performance-search {
  display: grid;
  grid-template-columns: minmax(130px, 0.6fr) minmax(220px, 1fr) minmax(220px, 1fr) 58px auto;
  gap: 10px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 48px;
}
.performance-search label,
.admin-form label {
  display: grid;
  gap: 8px;
  color: #111;
}
.performance-search span,
.admin-form label > span {
  font-size: 0.92rem;
}
.performance-search select,
.performance-search input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: #111;
  background: #fff;
  font: inherit;
  outline: none;
}
.performance-search select:focus,
.performance-search input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}
.performance-search-button,
.performance-reset-button {
  min-height: 50px;
  border: 0;
  border-radius: 4px;
  padding: 0 18px;
  color: #fff;
  background: #2f3135;
  font: inherit;
  cursor: pointer;
}
.performance-search-button {
  width: 58px;
  font-size: 0;
  background:
    #2f3135
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")
    center / 25px 25px no-repeat;
}
.performance-search-button::before {
  content: "";
}
.performance-reset-button {
  justify-self: end;
  min-width: 88px;
}
.performance-table-wrap {
  max-width: 1180px;
  margin: 0 auto;
  overflow-x: auto;
  border-top: 2px solid #4d4f53;
}
.performance-table {
  width: 100%;
  border-collapse: collapse;
  color: #333;
  background: #fff;
}
.performance-table th,
.performance-table td {
  border-bottom: 1px solid #e1e5ea;
  padding: 22px 18px;
  text-align: center;
  vertical-align: middle;
}
.performance-table th {
  color: #333;
  font-weight: 700;
  background: #fff;
}
.performance-table td:nth-child(5) {
  text-align: left;
  color: #333;
}
.performance-table td:first-child {
  width: 72px;
  color: #666;
}
.performance-table td:nth-child(2) {
  width: 190px;
}
.performance-table td:nth-child(3) {
  width: 110px;
}
.performance-table td:nth-child(4) {
  width: 210px;
}
.empty-state {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}
.inline-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #111;
  background: #f8fafc;
}
.inline-status.is-error {
  border-color: #fecaca;
  color: #991b1b;
  background: #fff1f2;
}
.admin-page {
  background: var(--paper);
}
.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.admin-header > a {
  color: #000;
  font-weight: 700;
}
.admin-header nav {
  display: flex;
  gap: 10px;
}
.admin-header nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: #000;
}
.admin-header nav a.active,
.admin-header nav a:hover {
  background: #eef2f7;
}
.admin-shell {
  padding: clamp(34px, 6vw, 70px) clamp(20px, 5vw, 72px);
}
.admin-title {
  max-width: 820px;
  margin-bottom: 28px;
}
.admin-title h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.admin-title p:last-child {
  margin-top: 14px;
  color: var(--muted);
}
.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 22px;
  align-items: start;
}
.admin-form,
.admin-list-panel {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 26, 69, 0.06);
}
.admin-form h2,
.admin-list-panel h2 {
  font-size: 1.35rem;
}
.admin-check {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
}
.admin-check input {
  width: 18px;
  height: 18px;
  accent-color: #111;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn.danger {
  color: #fff;
  background: #991b1b;
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
.admin-list {
  display: grid;
  gap: 10px;
}
.admin-row {
  display: grid;
  gap: 6px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: #111;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.admin-row:hover {
  border-color: #111;
}
.admin-row span {
  color: var(--accent);
  font-size: 0.86rem;
}
.admin-row small {
  color: var(--muted);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 28px;
  background: var(--paper);
}
.contact-page {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 78px);
  align-items: start;
  background: var(--white);
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: clamp(26px, 4vw, 42px);
  border-right: 1px solid var(--line);
  background: var(--white);
}
.contact-form h2,
.manager-info h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.15;
  margin-bottom: 18px;
}
.contact-form label {
  display: grid;
  gap: 10px;
  color: #1e6dc7;
  font-size: 1.02rem;
  font-weight: 900;
}
.contact-form label > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.contact-form em {
  color: var(--navy);
  font-style: normal;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #e2e8f5;
  border-radius: 16px;
  padding: 18px 22px;
  color: #103c72;
  background: #e8eefc;
  font: inherit;
  font-weight: 700;
  outline: none;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #2877d8;
  opacity: 1;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9bbbe8;
  box-shadow: 0 0 0 4px rgba(49, 95, 143, 0.12);
}
.contact-form .check {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #1e6dc7;
  font-size: 1.02rem;
  font-weight: 900;
}
.contact-form .check input {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  accent-color: var(--navy);
}
.form-status {
  min-height: 1.5em;
  color: #405068;
  font-size: 0.98rem;
  font-weight: 800;
  text-align: center;
}
.form-status.is-success { color: #157347; }
.form-status.is-error { color: #b42318; }
.form-status.is-pending { color: #1f6fae; }
.contact-form button {
  justify-self: center;
  min-width: 190px;
  min-height: 58px;
  margin-top: 8px;
  border-radius: 12px;
  font-size: 1.05rem;
}
.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}
.manager-panel {
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}
.manager-info {
  padding: clamp(22px, 3vw, 34px) 0;
  color: #151a23;
  background: var(--white);
}
.manager-info section {
  margin-top: clamp(32px, 5vw, 58px);
}
.manager-info h3 {
  margin-bottom: 16px;
  color: #111;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
}
.manager-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 56px);
}
.manager-grid.single {
  grid-template-columns: minmax(0, 1fr);
}
.manager-grid p {
  margin: 0 0 6px;
  color: #222;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.55;
}
.manager-panel h2 { margin-bottom: 18px; }
.manager-panel div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.manager-panel span,
.manager-panel a { color: rgba(255,255,255,0.78); }
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 26px;
  background: var(--paper);
}
.map-card {
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}
.location-info {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.location-info dl { margin: 0; }
.location-info div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.location-info div:last-child { border-bottom: 0; }
.location-info dt {
  color: var(--accent);
  font-weight: 900;
}
.location-info dd {
  margin: 6px 0 0;
  color: #405068;
}
.site-footer {
  display: grid;
  gap: 6px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #667386;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 0.92rem;
}
.site-footer strong { color: var(--navy); }

@media (max-width: 1120px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .main-nav {
    position: static;
    width: 100%;
    transform: none;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hero,
  .split,
  .contact-layout,
  .admin-layout,
  .contact-page,
  .location-grid { grid-template-columns: 1fr; }
  .performance-search {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 64px auto;
  }
  .performance-search label:first-child {
    grid-column: span 2;
  }
  .card-grid.five,
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    min-height: 72px;
  }
  .logo img { width: min(68vw, 330px); max-height: 48px; }
  .nav-toggle { display: block; flex: 0 0 auto; }
  .main-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a,
  .nav-item > a { width: 100%; justify-content: flex-start; }
  .dropdown {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0 0 8px 14px;
    box-shadow: none;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 84px;
  }
  .hero-inner { padding-bottom: 28px; }
  .quick-panel {
    position: static;
    width: auto;
    margin-bottom: 0;
  }
  .card-grid.five,
  .card-grid.four,
  .card-grid.three,
  .steps,
  .two-col,
  .info-row,
  .contact-form,
  .manager-grid { grid-template-columns: 1fr; }
  .contact-form { border-right: 0; }
  .side-menu { position: static; }
  .about-layout,
  .cert-card { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .steps li { border: 1px solid var(--line); }
  .cta { align-items: flex-start; flex-direction: column; }
  .btn { width: 100%; }
  .sub-tabs {
    justify-content: flex-start;
    gap: 28px;
    overflow-x: auto;
    padding: 0 20px;
  }
  .sub-tabs a {
    flex: 0 0 auto;
    padding: 20px 0 18px;
  }
  .about-layout-wide {
    padding-top: 56px;
  }
  .greeting-block {
    text-align: left;
  }
  .greeting-block h2 {
    margin-bottom: 34px;
  }
  .greeting-lead::before {
    left: 0;
  }
  .certificate-section .section-title,
  .certificate-grid {
    width: min(100%, calc(100vw - 40px));
  }
  .history-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    width: min(100%, calc(100vw - 40px));
    margin-top: 58px;
  }
  .history-intro {
    position: static;
  }
  .history-timeline li {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 16px;
  }
  .certificate-grid {
    grid-template-columns: 1fr;
  }
  .certificate-modal {
    padding: 18px;
  }
  .certificate-modal-close {
    top: 14px;
    right: 14px;
  }
  .performance-tabs {
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    padding: 0 20px;
  }
  .performance-visual {
    min-height: 300px;
    padding: 56px 24px;
  }
  .performance-visual h1 br {
    display: none;
  }
  .performance-tabs button {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 20px 0 18px;
  }
  .performance-search,
  .admin-header,
  .admin-actions { align-items: stretch; flex-direction: column; }
  .performance-search {
    display: grid;
    grid-template-columns: 1fr;
  }
  .performance-search label:first-child {
    grid-column: auto;
  }
  .performance-search-button,
  .performance-reset-button {
    width: 100%;
    justify-self: stretch;
  }
  .performance-table {
    min-width: 760px;
  }
  .admin-header nav { flex-wrap: wrap; }
}
