:root {
  --navy: #0d2c46;
  --navy-2: #08233a;
  --blue: #9fce00;
  --sky: #f7fce9;
  --green: #b7e300;
  --green-dark: #7faa00;
  --green-soft: #f5fbe2;
  --teal: #8fbd00;
  --ink: #152334;
  --muted: #647284;
  --line: #dce6ee;
  --surface: #f5f9fc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 35, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.65;
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(220, 230, 238, 0.9);
  box-shadow: 0 10px 30px rgba(13, 44, 70, 0.07);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
}

.brand,
.nav,
.hero-actions,
.cta-actions,
.product-actions {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 214px;
  height: auto;
}

.nav {
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: wrap;
}

.nav a {
  position: relative;
  padding: 11px 12px;
  border-radius: 8px;
  color: #26394b;
  font-size: 15px;
  font-weight: 800;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-soft);
}

.header-call {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--navy-2);
  background: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  white-space: nowrap;
}

.header-call:hover,
.header-call:focus-visible {
  background: #a5d100;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 35, 58, 0.92) 0%, rgba(8, 35, 58, 0.62) 43%, rgba(8, 35, 58, 0.10) 78%),
    url('../images/hero-ecosolve-products-v2.png');
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -28%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(174, 208, 42, 0.2);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 46px;
  align-items: center;
  padding: 94px 0 138px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #d7e982;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.5vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions,
.cta-actions,
.product-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

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

.button.primary {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 14px 30px rgba(109, 132, 16, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #5d710d;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.button.outline {
  color: var(--green-dark);
  border-color: rgba(174, 208, 42, 0.55);
  background: var(--white);
}

.button.outline:hover,
.button.outline:focus-visible {
  color: #4f600b;
  border-color: var(--green);
  background: var(--green-soft);
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.hero-card {
  padding: 30px;
}

.hero-card span,
.card-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: #d7e982;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-bottom: 20px;
  font-size: 26px;
  line-height: 1.25;
}

.hero-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  padding-left: 18px;
  position: relative;
  color: rgba(255, 255, 255, 0.84);
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero-service-strip {
  margin-top: -68px;
  position: relative;
  z-index: 2;
}

.hero-service-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-service-strip article {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.hero-service-strip article:last-child {
  border-right: 0;
}

.hero-service-strip span,
.process-grid span {
  color: var(--blue);
  font-weight: 900;
}

.hero-service-strip strong {
  display: block;
  margin: 6px 0 8px;
  font-size: 20px;
}

.hero-service-strip p,
.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding: 92px 0;
}

.intro-section {
  padding-top: 116px;
}

.section.alt {
  background: var(--surface);
}

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

.section-head h2,
.split h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p,
.muted {
  color: var(--muted);
}

.grid,
.process-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card,
.product-card,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(13, 44, 70, 0.06);
}

.map-panel {
  overflow: hidden;
}

.location-stack {
  display: grid;
  gap: 24px;
}

.naver-map-embed {
  display: block;
  width: 100%;
  height: 520px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #dfe4e8;
  border-radius: 16px;
  background: #f2f4f6;
}

.naver-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-address {
  margin: 14px 0 0;
  color: #58616b;
  font-weight: 700;
}

.location-summary {
  max-width: none;
}

.card,
.info-panel,
.process-grid article {
  padding: 28px;
}

.service-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.business-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--sky);
}

.value-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid #dcecab;
  border-radius: 14px;
  color: var(--blue);
  background: linear-gradient(145deg, #f5ffd9, #ecf9c8);
}

.value-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3,
.info-panel h3,
.process-grid h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.28;
}

.card p,
.info-panel p,
.product-card p {
  color: var(--muted);
}

.card-kicker {
  color: var(--blue);
}

.bullet-list {
  padding-left: 18px;
  color: var(--muted);
}

.bullet-list li + li {
  margin-top: 7px;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.category-strip a,
.filter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  border-color: #d6dbe1;
  background: #f1f3f5;
  color: #505b66;
  font-weight: 900;
  text-align: center;
}

.filter-button {
  font: inherit;
}

.category-strip a:hover,
.filter-button.is-active {
  color: var(--white);
  border-color: #66717c;
  background: #66717c;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-thumb {
  display: block;
  aspect-ratio: 1 / 0.82;
  min-height: 0;
  overflow: hidden;
  background: #eef1f4;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  transition: transform 0.3s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.025);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #56616c;
  background: #eceff2;
  font-size: 13px;
  font-weight: 900;
}

.product-card-actions {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: 18px;
}

.product-card-actions .button {
  width: min(190px, 100%);
  min-width: 0;
  padding: 0 20px;
}

.button.product-consult {
  color: var(--navy);
  border-color: #aeb8c1;
  background: #eef1f4;
}

.button.product-consult:hover,
.button.product-consult:focus-visible {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.button.product-detail {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.button.product-detail:hover,
.button.product-detail:focus-visible {
  border-color: var(--navy-2);
  background: var(--navy-2);
}

.product-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.28;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.product-meta span {
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--teal);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  color: var(--white);
  background:
    linear-gradient(rgba(4, 19, 31, 0.7), rgba(4, 19, 31, 0.7)),
    var(--page-hero-image, linear-gradient(135deg, var(--navy), var(--blue))),
    var(--navy);
  background-size: cover;
  background-position: center;
}

.page-hero--image-full {
  background:
    linear-gradient(rgba(4, 19, 31, 0.7), rgba(4, 19, 31, 0.7)),
    var(--page-hero-image),
    var(--navy);
  background-size: cover;
  background-position: center;
}

.page-hero--image-full h1,
.page-hero--image-full p {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
}

.page-hero-grid {
  display: block;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.greeting-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
}

.greeting-visual h2 {
  margin-bottom: 30px;
}

.greeting-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(13, 44, 70, 0.12);
}

.greeting-message {
  padding: 36px 38px;
}

.greeting-message h3 {
  margin-bottom: 22px;
  font-size: 28px;
}

.greeting-message p {
  margin-bottom: 18px;
  line-height: 1.82;
}

.greeting-message .greeting-opening {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.greeting-signature {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
  margin: 30px 0 0 !important;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--navy) !important;
}

.greeting-signature span {
  font-size: 14px;
}

.greeting-signature strong {
  font-size: 21px;
}

.summary-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.summary-list strong {
  color: var(--blue);
}

.process-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--sky) 100%);
}

.process-grid article {
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(13, 44, 70, 0.08);
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
}

.detail-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.detail-media {
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-soft), #ffffff);
  border: 1px solid var(--line);
  box-shadow: 0 16px 45px rgba(13, 44, 70, 0.08);
}

.detail-media img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.spec-table th,
.spec-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 136px;
  color: var(--blue);
}

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

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

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

label {
  font-weight: 900;
}

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

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

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.check input {
  width: auto;
  margin-top: 6px;
}

.inquiry-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.inquiry-list li {
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.inquiry-list span,
.inquiry-list small {
  color: var(--muted);
}

.cta-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 44, 70, 0.97), rgba(8, 35, 58, 0.98)),
    var(--navy);
}

.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 58px 0;
}

.cta-band h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 40px);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 50px 0;
  background: #061b2d;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}

.footer-logo {
  width: 214px;
  height: auto;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--white);
}

.site-footer strong {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 8px;
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .header-call {
    justify-self: start;
  }

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

  .hero-card {
    max-width: 520px;
  }

  .grid.four,
  .grid.three,
  .process-grid,
  .category-strip,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .naver-map-embed {
    height: 340px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .greeting-message {
    padding: 26px 24px;
  }

  .greeting-message h3 {
    font-size: 25px;
  }

  .detail-media,
  .detail-media img {
    min-height: 320px;
    height: 320px;
  }

  .topbar .container,
  .section-head,
  .cta-band .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 630px;
  }

  .hero-grid {
    padding: 74px 0 120px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p,
  .page-hero p {
    font-size: 17px;
  }

  .hero-service-strip {
    margin-top: -46px;
  }

  .hero-service-strip .container,
  .grid.four,
  .grid.three,
  .grid.two,
  .process-grid,
  .category-strip,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-service-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-service-strip article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 66px 0;
  }

  .intro-section {
    padding-top: 88px;
  }

  .page-hero {
    padding: 68px 0;
  }

  .summary-list li {
    flex-direction: column;
    gap: 4px;
  }

  .nav a {
    padding: 8px 9px;
    font-size: 14px;
  }

  .brand-logo {
    width: 178px;
  }
}
