:root {
  --ink: #071927;
  --muted: #5f7180;
  --line: #e0eaf0;
  --paper: #fbfdff;
  --soft: #f1f8fc;
  --green: #08737d;
  --green-dark: #043947;
  --blue: #126fb3;
  --amber: #f05a38;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(8, 55, 82, 0.13);
  --radius: 8px;
  --container-max: 1120px;
  --container-wide: 1160px;
  --container-inline: 40px;
  --section-y: 92px;
  --section-y-tight: 64px;
  --brand-logo-width: 166px;
  --card-radius: 8px;
  --home-work-columns: repeat(4, minmax(0, 1fr));
  --home-work-max: 1180px;
  --home-work-gap: 16px;
  --home-work-card-body: 16px;
  --home-work-card-title: 20px;
  --home-work-card-title-line: 1.35;
  --home-work-card-img-height: clamp(150px, 15vw, 190px);
  --home-work-card-img-ratio: auto;
  --home-work-meta-display: flex;
  --home-work-meta-gap: 10px;
  --home-work-meta-font: 13px;
  --home-work-summary-display: block;
  --home-work-link-font: inherit;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfe 46%, #ffffff 100%);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-dark);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(6, 43, 49, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(var(--container-max), calc(100% - var(--container-inline)));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: var(--brand-logo-width);
  max-height: 58px;
  object-fit: contain;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  font-size: 15px;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: #42545a;
  font-size: 15px;
  font-weight: 850;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--green-dark);
  background: #e8f5fa;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--white);
  background: #075f74;
  font-weight: 800;
  white-space: nowrap;
}

.section {
  padding: var(--section-y) 0;
}

.section.tight {
  padding: var(--section-y-tight) 0;
}

.section.flush-top {
  padding-top: 0;
}

.container {
  width: min(var(--container-max), calc(100% - var(--container-inline)));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.lead,
.ceo-copy,
.balanced-copy {
  text-wrap: balance;
}

.service-card p,
.portfolio-card p,
.process-card p,
.trust-card p,
.contact-card p,
.form-hint,
.note-card span,
.visual-card span,
.footer p,
.post-content {
  text-wrap: pretty;
}

.copy-lines {
  display: grid;
  justify-items: inherit;
  gap: 0.08em;
}

.copy-lines.compact {
  gap: 0;
}

.copy-line {
  display: block;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
  word-break: keep-all;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
  word-break: keep-all;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 16%, rgba(41, 151, 209, 0.34), transparent 32%),
    linear-gradient(135deg, #072235 0%, #084b61 54%, #0b7893 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  max-width: 650px;
}

.home-page .hero-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.home-page .hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.home-page .hero-badges {
  justify-content: center;
}

.home-page .hero-grid {
  min-height: auto;
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
  gap: 38px;
}

.home-page .hero-visual {
  width: min(100%, 860px);
  min-height: auto;
  margin: 0 auto;
}

.home-page .visual-main {
  height: clamp(320px, 38vw, 460px);
}

.home-page .visual-card {
  position: relative;
  left: auto;
  bottom: auto;
  width: min(100%, 640px);
  margin: 14px auto 0;
}

.hero .eyebrow {
  color: #ff6b45;
}

.hero .lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 850;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: #075f74;
}

.button.secondary {
  color: #075f74;
  border-color: rgba(7, 95, 116, 0.24);
  background: var(--white);
}

.button.danger {
  color: #8a1f1f;
  border-color: rgba(138, 31, 31, 0.24);
  background: #fff1f1;
}

.button.kakao {
  color: #191600;
  background: #fee500;
}

.button:hover {
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.visual-main {
  height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.32);
}

.visual-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-card {
  position: absolute;
  left: -28px;
  bottom: 32px;
  width: min(440px, 82%);
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  text-align: center;
}

.visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.visual-card div {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.visual-card strong,
.visual-card span {
  display: block;
}

.visual-card strong {
  font-size: 18px;
}

.visual-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.visual-card-cta {
  grid-template-columns: 1fr;
  padding: 18px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.visual-card-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.2);
}

.visual-card-cta strong {
  font-size: 22px;
}

.visual-card-cta span {
  max-width: 420px;
}

.proof-strip {
  color: var(--white);
  background: #073a4b;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid div {
  min-height: 96px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 18px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.proof-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-grid b {
  color: #ff6b45;
  font-size: 14px;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 760;
  line-height: 1.45;
}

.ceo-section {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 246, 0.92)),
    url("../images/client-anchor.png") right 8% center / 260px auto no-repeat;
}

.ceo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 58px;
  align-items: center;
}

.ceo-message {
  max-width: 720px;
}

.home-page .ceo-message {
  text-align: center;
}

.home-page .ceo-copy {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.ceo-message h2 strong {
  color: var(--blue);
}

.ceo-copy {
  color: #3f4d52;
  font-size: 18px;
  line-height: 1.86;
}

.ceo-signoff {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 620px;
  margin: 32px auto 0;
}

.ceo-name-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ceo-name-line span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}

.ceo-name-line strong {
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.ceo-name-line img {
  width: 128px;
  height: auto;
  margin-left: 2px;
}

.ceo-signoff > p {
  margin: 0;
  color: #445961;
  font-size: 15px;
  font-weight: 800;
}

.insurance-certificate {
  width: min(100%, 520px);
  height: auto;
  margin-top: 8px;
  filter: drop-shadow(0 18px 28px rgba(6, 43, 49, 0.1));
}

.ceo-profile {
  min-height: 520px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 1px solid #d8e3e7;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(10, 77, 115, 0.08), rgba(6, 43, 49, 0.16)),
    url("../images/representative-profile.jpg") center top / auto 100% no-repeat;
  background-color: #edf3f5;
  box-shadow: var(--shadow);
}

.profile-placeholder {
  margin: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(6, 43, 49, 0.72);
  backdrop-filter: blur(14px);
  text-align: center;
}

.profile-placeholder b,
.profile-placeholder span {
  display: block;
}

.profile-placeholder span {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.intro-band {
  background: #084457;
  color: var(--white);
}

.intro-band .lead,
.intro-band .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 46px;
  align-items: center;
}

.home-page .split > div:first-child,
.home-page .cta-section .container {
  text-align: center;
}

.home-page .intro-band .split {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
  text-align: center;
}

.about-page .split > div:first-child,
.about-page .section-head,
.about-page .trust-card,
.about-page .cta-section .container {
  text-align: center;
}

.about-page .split > div:first-child {
  display: grid;
  justify-items: center;
}

.about-page .split > div:first-child p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
  letter-spacing: 0;
}

.about-page .split > div:first-child h2 {
  max-width: 760px;
  letter-spacing: 0;
}

.about-page .image-frame img {
  height: clamp(360px, 48vw, 560px);
  object-position: center top;
}

.home-page .split .lead,
.home-page .cta-section .lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.home-page .cta-row {
  justify-content: center;
}

.image-stack {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.image-frame img {
  width: 100%;
  height: clamp(260px, 30vw, 360px);
  object-fit: cover;
  object-position: center;
}

.note-card {
  position: absolute;
  right: 20px;
  bottom: -20px;
  width: min(320px, calc(100% - 40px));
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.note-card b {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
}

.note-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.trust-grid,
.service-grid,
.portfolio-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.trust-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.trust-card,
.service-card,
.portfolio-card,
.process-card,
.form-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(8, 55, 82, 0.08);
}

.trust-card {
  padding: 24px;
}

.about-page .trust-grid {
  align-items: stretch;
}

.about-page .trust-card {
  min-height: 178px;
  display: grid;
  align-content: center;
  justify-items: center;
}

.about-page .trust-card p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  letter-spacing: 0;
}

.trust-card .num {
  color: var(--amber);
  font-weight: 900;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 560px;
  margin-bottom: 0;
}

.centered-head {
  display: grid;
  justify-items: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.centered-head > div {
  width: 100%;
  display: grid;
  justify-items: center;
}

.centered-head h2 {
  text-align: center;
}

.centered-head .button {
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
}

.home-page .section-head {
  display: grid;
  justify-items: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-page .section-head > div {
  width: 100%;
  display: grid;
  justify-items: center;
}

.home-page .section-head h2 {
  text-align: center;
}

.home-page .section-head .button {
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
}

.home-page .section-head p {
  max-width: 700px;
}

.home-page .section-head.centered-head {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-page .section-head.centered-head > div {
  width: 100%;
  display: grid;
  justify-items: center;
}

.home-page .section-head.centered-head .eyebrow,
.home-page .section-head.centered-head h2,
.home-page .section-head.centered-head .lead {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-page .section-head.centered-head .lead {
  max-width: 760px;
}

.service-grid {
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}

.services-page .service-grid,
.home-page .service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.service-card {
  overflow: hidden;
  border-color: #cfdbdf;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card img {
  width: 100%;
  height: 210px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.services-page .service-card img,
.home-page .service-card img {
  height: clamp(190px, 15vw, 220px);
}

.service-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.service-card-body h3 {
  color: #09252d;
}

.service-card-body p,
.trust-card p,
.process-card p,
.portfolio-card p,
.contact-card p {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.service-card .tag-row {
  margin-top: auto;
  padding-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.home-page .work-preview-section .work-preview-head {
  width: 100%;
  max-width: none;
  margin: 0 auto 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.home-page .work-preview-section .work-preview-head > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-page .work-preview-section .work-preview-head .eyebrow,
.home-page .work-preview-section .work-preview-head h2 {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-page .work-preview-section .work-preview-head .button {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

.home-page .work-preview-section .portfolio-grid {
  grid-template-columns: var(--home-work-columns);
  max-width: var(--home-work-max);
  margin: 34px auto 0;
  gap: var(--home-work-gap);
}

.home-page .work-preview-section .portfolio-card {
  border-radius: var(--card-radius);
  box-shadow: 0 14px 30px rgba(6, 43, 49, 0.08);
}

.home-page .work-preview-section .portfolio-card img {
  width: 100%;
  height: var(--home-work-card-img-height);
  aspect-ratio: var(--home-work-card-img-ratio);
  object-fit: cover;
}

.home-page .work-preview-section .portfolio-card-body {
  padding: var(--home-work-card-body);
}

.home-page .work-preview-section .portfolio-card-body h3 {
  font-size: var(--home-work-card-title);
  line-height: var(--home-work-card-title-line);
}

.home-page .work-preview-section .portfolio-card-body p {
  display: var(--home-work-summary-display);
  font-size: 15px;
  line-height: 1.7;
}

.home-page .work-preview-section .portfolio-meta {
  display: var(--home-work-meta-display);
  gap: var(--home-work-meta-gap);
  font-size: var(--home-work-meta-font);
}

.home-page .work-preview-section .link-more {
  font-size: var(--home-work-link-font);
}

.portfolio-page .portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-page .portfolio-card img {
  aspect-ratio: 16 / 10;
}

.portfolio-ops {
  max-width: 860px;
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 0 auto 44px;
  text-align: center;
}

.portfolio-ops p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.portfolio-ops .cta-row {
  justify-content: center;
  margin-top: 8px;
}

.admin-posts {
  margin-bottom: 18px;
}

.admin-posts:empty {
  display: none;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.portfolio-card-body {
  padding: 18px;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.link-more {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green);
  font-weight: 900;
}

.cta-section {
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(6, 43, 49, 0.98), rgba(10, 77, 115, 0.76)),
    url("../images/client-floor-polish-machine.jpg") center / cover no-repeat;
}

.cta-section .lead {
  color: rgba(255, 255, 255, 0.78);
}

.about-page .cta-section .container {
  display: grid;
  justify-items: center;
}

.about-page .cta-section .cta-row {
  justify-content: center;
}

.page-hero {
  padding: 90px 0 72px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(6, 67, 86, 0.88), rgba(24, 128, 167, 0.82)),
    url("../images/client-exterior-rope.jpg") center / cover no-repeat;
}

.page-hero .container {
  text-align: center;
}

.page-hero .lead {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-card {
  padding: 22px;
}

.process-card b {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: start;
}

.contact-layout.single {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 22px;
}

.form-panel {
  padding: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--green-dark);
  font-weight: 850;
}

.field-label {
  color: var(--green-dark);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green-dark) 50%), linear-gradient(135deg, var(--green-dark) 50%, transparent 50%);
  background-position: calc(100% - 20px) 20px, calc(100% - 14px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

textarea {
  min-height: 154px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 107, 94, 0.16);
  border-color: var(--green);
}

.radio-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.radio-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  min-width: 0;
}

.radio-list input[type="radio"] {
  width: 18px;
  min-height: auto;
  height: 18px;
  flex: 0 0 18px;
  padding: 0;
  accent-color: var(--green-dark);
}

.radio-list .radio-other {
  flex-wrap: wrap;
  grid-column: 1 / -1;
}

.radio-list .radio-other input[type="text"] {
  width: min(260px, calc(100% - 74px));
  min-height: 42px;
  margin-left: 4px;
}

.form-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-page {
  min-height: 100vh;
  background: #eef5f8;
}

.admin-shell-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 76px;
  padding: 12px 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.admin-shell-brand {
  display: flex;
  align-items: center;
}

.admin-shell-brand img {
  width: 148px;
  max-height: 50px;
  object-fit: contain;
}

.admin-shell-title {
  display: grid;
  line-height: 1.35;
}

.admin-shell-title strong {
  font-size: 18px;
  font-weight: 900;
}

.admin-shell-title span {
  color: var(--muted);
  font-size: 14px;
}

.admin-shell-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.admin-login-screen {
  min-height: calc(100vh - 166px);
  display: grid;
  place-items: center;
}

.admin-login-card {
  width: min(440px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin-bottom: 24px;
  font-size: 34px;
}

.admin-login-card form {
  display: grid;
  gap: 18px;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-sidebar,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(8, 55, 82, 0.08);
}

.admin-sidebar {
  position: sticky;
  top: 98px;
  padding: 14px;
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu button {
  width: 100%;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.admin-menu button.active {
  border-color: rgba(8, 115, 125, 0.2);
  background: #e8f5fa;
}

.admin-menu span {
  display: block;
  font-weight: 900;
}

.admin-menu small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.admin-sidebar-foot {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.admin-sidebar-foot a {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.admin-workspace {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.admin-panel {
  padding: 26px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
  gap: 28px;
  align-items: start;
}

.admin-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1080px);
  justify-content: center;
  gap: 24px;
}

.admin-board-panel,
.admin-editor-panel {
  width: 100%;
}

.admin-editor-panel[hidden] {
  display: none;
}

.admin-board-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.admin-board-head .cta-row {
  margin-top: 0;
  justify-content: flex-end;
}

.admin-post-table {
  display: grid;
  gap: 10px;
}

.admin-table-head,
.admin-table-row {
  display: grid;
  grid-template-columns: 100px minmax(220px, 1fr) 120px 110px 250px;
  gap: 14px;
  align-items: center;
}

.admin-table-head {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--soft);
  font-size: 14px;
  font-weight: 900;
}

.admin-table-row {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-table-row img {
  width: 100px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
}

.admin-inquiry-head,
.admin-inquiry-row {
  grid-template-columns: 130px minmax(180px, 1fr) 150px minmax(220px, 1.2fr) 90px;
}

.admin-inquiry-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-inquiry-row > span:nth-child(4) {
  white-space: normal;
  line-height: 1.5;
}

.admin-row-title {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-row-title strong,
.admin-row-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-row-title span {
  color: var(--muted);
  font-size: 14px;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-row-actions .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
}

.admin-empty {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
  background: #fbfdff;
}

.admin-empty p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-help {
  display: grid;
  gap: 14px;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-editor {
  min-height: 320px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  line-height: 1.8;
}

.post-editor:focus {
  outline: 3px solid rgba(31, 107, 94, 0.16);
  border-color: var(--green);
}

.post-editor p {
  margin-bottom: 14px;
}

.post-editor img,
.post-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 18px 0;
  border-radius: 8px;
}

.post-detail {
  max-width: 900px;
}

.post-detail .portfolio-meta {
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.post-cover {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(8, 55, 82, 0.1);
}

.post-content {
  margin-top: 30px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.85;
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content blockquote {
  margin-bottom: 18px;
}

.post-content h2,
.post-content h3 {
  margin: 34px 0 14px;
}

.post-content blockquote {
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: var(--soft);
}

.footer {
  padding: 34px 0 96px;
  color: rgba(255, 255, 255, 0.78);
  background: #082836;
  font-size: 13px;
  line-height: 1.55;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1.25fr;
  gap: 30px;
  align-items: start;
  text-align: center;
}

.footer-grid > div {
  display: grid;
  justify-items: center;
}

.footer h2,
.footer h3 {
  margin-bottom: 8px;
  color: var(--white);
}

.footer h2 {
  font-size: 22px;
}

.footer h3 {
  font-size: 17px;
}

.footer a {
  display: inline-flex;
  margin: 3px 12px 3px 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.footer p {
  max-width: 460px;
  margin-bottom: 0;
}

.floating-cta {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 60;
  width: 66px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  transform: translateY(-50%);
}

.floating-cta a {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(6, 43, 49, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(6, 43, 49, 0.22);
}

.floating-cta img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mobile-first {
  display: none;
}

@media (max-width: 1080px) {
  :root {
    --home-work-columns: repeat(2, minmax(0, 1fr));
    --home-work-max: 100%;
    --home-work-gap: 12px;
    --home-work-card-img-height: auto;
    --home-work-card-img-ratio: 4 / 3;
  }

  .admin-dashboard {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-sidebar-foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-page .service-grid,
  .home-page .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .visual-main {
    height: 420px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --container-inline: 28px;
  }

  .admin-shell-header {
    position: static;
    grid-template-columns: 1fr;
    padding: 14px 18px;
  }

  .admin-shell-actions {
    align-items: stretch;
  }

  .admin-shell-actions .button {
    width: 100%;
  }

  .admin-shell {
    width: min(100% - var(--container-inline), var(--container-wide));
    padding-top: 20px;
  }

  .admin-panel,
  .admin-login-card {
    padding: 22px;
  }

  .nav-wrap {
    width: min(100% - var(--container-inline), var(--container-wide));
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    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);
  }

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

  .header-call {
    display: none;
  }

  .hero {
    padding: 54px 0 58px;
    background:
      radial-gradient(circle at 80% 8%, rgba(10, 77, 115, 0.36), transparent 32%),
      linear-gradient(145deg, #071a22 0%, #082f38 58%, #0a4d5a 100%);
  }

  .hero-grid,
  .split,
  .ceo-grid,
  .contact-layout,
  .admin-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 34px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.14;
  }

  h2 {
    line-height: 1.24;
  }

  .lead,
  .ceo-copy {
    font-size: 16px;
    line-height: 1.78;
  }

  .copy-lines {
    gap: 0.12em;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-main {
    height: 300px;
  }

  .visual-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
    grid-template-columns: 118px 1fr;
  }

  .visual-card-cta {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 22px 20px;
  }

  .visual-card-cta div {
    max-width: 320px;
  }

  .mobile-first {
    display: block;
  }

  .trust-grid,
  .service-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .home-page .work-preview-section .section-head {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .services-page .service-grid,
  .home-page .service-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-page .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .radio-list {
    grid-template-columns: 1fr;
  }

  .radio-list .radio-other input[type="text"] {
    width: min(260px, 100%);
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid div {
    min-height: auto;
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .proof-grid div:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .service-card {
    display: grid;
    grid-template-columns: 136px 1fr;
    min-height: 136px;
  }

  .service-card img {
    width: 136px;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }

  .services-page .service-card img,
  .home-page .service-card img {
    width: 136px;
    height: 100%;
  }

  .section-head {
    display: block;
  }

  .note-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-panel form > .button[type="submit"] {
    display: flex;
    width: max-content;
    min-width: 152px;
    margin-left: auto;
    margin-right: auto;
  }

  .admin-board-head {
    display: grid;
    align-items: start;
  }

  .admin-board-head .cta-row {
    justify-content: flex-start;
  }

  .admin-table-head {
    display: none;
  }

  .admin-table-row {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .admin-inquiry-row {
    grid-template-columns: 1fr;
  }

  .admin-table-row > span {
    font-size: 14px;
  }

  .admin-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .portfolio-ops {
    grid-template-columns: 1fr;
  }

  .ceo-profile {
    min-height: 360px;
  }

  .ceo-name-line {
    gap: 8px;
  }

  .ceo-name-line strong {
    font-size: 28px;
  }

  .ceo-name-line img {
    width: 108px;
  }

  .floating-cta {
    position: fixed;
    left: 50%;
    right: auto;
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 90;
    width: min(360px, calc(100% - 24px));
    margin: 0;
    padding: 10px 12px;
    grid-template-columns: repeat(4, 1fr);
    transform: translateX(-50%);
    gap: 10px;
    justify-items: center;
    border: 1px solid rgba(6, 43, 49, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 46px rgba(6, 43, 49, 0.18);
    backdrop-filter: blur(14px);
  }

  .floating-cta a {
    width: 54px;
    height: 54px;
  }

  .footer {
    padding-bottom: 132px;
  }
}

@media (max-width: 520px) {
  :root {
    --section-y: 68px;
    --brand-logo-width: 126px;
    --home-work-card-body: 12px;
    --home-work-card-title: 15px;
    --home-work-meta-display: grid;
    --home-work-meta-gap: 3px;
    --home-work-meta-font: 11px;
    --home-work-summary-display: none;
    --home-work-link-font: 12px;
  }

  .admin-menu,
  .admin-sidebar-foot {
    grid-template-columns: 1fr;
  }

  .admin-shell-actions {
    display: grid;
  }

  .container {
    width: min(100% - var(--container-inline), var(--container-wide));
  }

  .section {
    padding: var(--section-y) 0;
  }

  .brand-logo {
    width: var(--brand-logo-width);
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .copy-lines {
    gap: 0.16em;
  }

  .hero .lead,
  .page-hero .lead,
  .section-head .lead {
    max-width: 30em;
  }

  .hero-actions .button,
  .cta-row .button {
    width: 100%;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 112px 1fr;
    min-height: 124px;
  }

  .service-card img {
    width: 112px;
  }

  .services-page .service-card img,
  .home-page .service-card img {
    width: 112px;
    height: 100%;
  }

  .service-card-body {
    padding: 14px;
  }

  .service-card-body h3 {
    font-size: 18px;
  }

  .service-card-body p {
    font-size: 14px;
  }

  .portfolio-page .portfolio-grid {
    grid-template-columns: 1fr;
  }

}
