/* =========================================
   기본 설정
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #3c3b5b;
  color: #ffffff;
  font-family:
    Arial,
    "Noto Sans KR",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}


/* =========================================
   헤더
========================================= */

.header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #30313d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(1400px, calc(100% - 48px));
  min-height: 132px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.logo-image {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.logo-text strong {
  font-size: 20px;
  line-height: 0.9;
  letter-spacing: 4px;
}

.logo-text span {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
}

.navigation {
  display: flex;
  align-items: center;
}

.navigation > a,
.dropdown-button {
  height: 42px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.navigation > a:first-of-type {
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.navigation > a:hover,
.navigation > a.active,
.dropdown-button:hover {
  color: #f9bd25;
}

.search-box {
  margin-right: 24px;
}

.search-box input {
  width: 235px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #858693;
  background: transparent;
  color: #ffffff;
  outline: none;
}

.search-box input::placeholder {
  color: #ffffff;
}

.dropdown {
  position: relative;
}

.dropdown-button {
  gap: 8px;
}

.dropdown-arrow {
  font-size: 11px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  min-width: 190px;
  display: none;
  flex-direction: column;
  padding: 8px 0;
  background: #30313d;
  border: 1px solid #5c5d69;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.open {
  display: flex;
}

.dropdown-menu a {
  padding: 12px 18px;
  color: #ffffff;
  font-size: 14px;
}

.dropdown-menu a:hover {
  color: #f9bd25;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 29px;
  cursor: pointer;
}


/* =========================================
   상단 건물 배너
========================================= */

.about-banner {
  position: relative;
  width: 100%;
  height: 145px;
  background-image: url("images/about-banner.png");
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.about-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(35, 37, 48, 0.05);
}


/* =========================================
   회사 소개
========================================= */

.company-section {
  padding: 64px 32px;
  background: #403f62;
}

.company-box {
  width: min(1280px, 100%);
  min-height: 440px;
  margin: 0 auto;
  padding: 48px 70px;
  background: #373752;
  text-align: center;
}

.company-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #56567b;
  font-size: 21px;
}

.company-box h1 {
  margin: 0 0 32px;
  font-size: 30px;
}

.company-description {
  width: min(820px, 100%);
  margin: 0 auto;
}

.company-description p {
  margin: 0 0 24px;
  color: #f4f4f7;
  font-size: 15px;
  line-height: 1.95;
  word-break: keep-all;
}

.company-inquiry-button {
  min-width: 62px;
  margin-top: 16px;
  padding: 14px 19px;
  display: inline-flex;
  justify-content: center;
  background: #f5f3ff;
  color: #53516c;
  font-size: 14px;
  font-weight: 700;
}

.company-inquiry-button:hover {
  background: #f9bd25;
  color: #2f303c;
}


/* =========================================
   문의 제목
========================================= */

.inquiry-title-section {
  min-height: 130px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #30313d;
  text-align: center;
}

.inquiry-title-icon {
  margin-bottom: 10px;
  color: #9fd2df;
  font-size: 29px;
}

.inquiry-title-section h2 {
  margin: 0;
  font-size: 28px;
}


/* =========================================
   작업자 사진 + 문의 양식
========================================= */

.inquiry-section {
  width: 100%;
  min-height: 580px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #5a597a;
}

.inquiry-image {
  min-height: 580px;
  overflow: hidden;
}

.inquiry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.inquiry-content {
  padding: 58px 11%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-summary {
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px 32px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.6;
}

.contact-summary p {
  margin: 0;
}

.contact-summary p:first-child {
  grid-column: 1 / -1;
}

.contact-summary a:hover {
  color: #f9bd25;
}

.inquiry-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.form-group {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-size: 13px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 9px 3px;
  border: 0;
  border-bottom: 1px solid #ffffff;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: #f9bd25;
}

.send-button {
  width: 125px;
  height: 40px;
  border: 0;
  background: #f9bd25;
  color: #403f52;
  cursor: pointer;
}

.send-button:hover {
  background: #ffffff;
}

.social-links {
  margin-top: 42px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
}

.social-links a:hover {
  color: #f9bd25;
}


/* =========================================
   지도
========================================= */

.office-section {
  width: 100%;
  background: #3d3c5d;
}

.office-title {
  min-height: 88px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-style: italic;
  text-shadow: 1px 1px 2px #000000;
}

.map-box {
  width: 100%;
  height: 310px;
  background: #eeeeee;
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter:
    grayscale(100%)
    opacity(0.72);
}


/* =========================================
   푸터
========================================= */

.footer {
  padding: 42px 24px 18px;
  background: #463637;
  border-top: 1px solid #f0a38c;
}

.footer-container {
  width: min(1400px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 80px;
}

.footer-column h3 {
  margin: 0 0 30px;
  font-size: 16px;
  letter-spacing: 2px;
}

.footer-column p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-column a {
  text-decoration: underline;
}

.footer-column a:hover {
  color: #f9bd25;
}

.copyright {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-align: center;
}


/* =========================================
   태블릿
========================================= */

@media (max-width: 1050px) {

  .header-inner {
    min-height: 100px;
  }

  .search-box {
    display: none;
  }

  .navigation > a,
  .dropdown-button {
    padding: 0 15px;
  }

  .company-box {
    padding: 45px;
  }

  .inquiry-content {
    padding: 45px 7%;
  }

  .footer-container {
    gap: 35px;
  }

}


/* =========================================
   모바일
========================================= */

@media (max-width: 760px) {

  .header-inner {
    width: calc(100% - 30px);
    min-height: 88px;
  }

  .logo-image {
    width: 48px;
    height: 48px;
  }

  .logo-text strong {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .logo-text span {
    margin-top: 7px;
    font-size: 10px;
  }

  .mobile-menu-button {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 20px;
    background: #30313d;
    border-top: 1px solid #555663;
  }

  .navigation.open {
    display: flex;
  }

  .navigation > a,
  .dropdown-button {
    width: 100%;
    height: 48px;
    justify-content: flex-start;
    padding: 0 15px;
    border: 0;
    border-bottom: 1px solid #4d4e5a;
  }

  .navigation > a:first-of-type {
    border-left: 0;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    border: 0;
    box-shadow: none;
    background: #393a47;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown:hover .dropdown-menu.open,
  .dropdown-menu.open {
    display: flex;
  }

  .about-banner {
    height: 105px;
    background-size: cover;
  }

  .company-section {
    padding: 30px 16px;
  }

  .company-box {
    min-height: auto;
    padding: 35px 22px;
  }

  .company-box h1 {
    font-size: 26px;
  }

  .company-description p {
    font-size: 14px;
    line-height: 1.8;
  }

  .inquiry-section {
    grid-template-columns: 1fr;
  }

  .inquiry-image {
    min-height: 390px;
  }

  .inquiry-content {
    padding: 42px 24px;
  }

  .contact-summary {
    grid-template-columns: 1fr;
  }

  .contact-summary p:first-child {
    grid-column: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .social-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px 28px;
  }

  .office-title {
    min-height: 70px;
  }

  .map-box {
    height: 260px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

}


/* =========================================
   작은 모바일
========================================= */

@media (max-width: 440px) {

  .company-box {
    padding: 30px 16px;
  }

  .inquiry-image {
    min-height: 300px;
  }

  .inquiry-content {
    padding: 35px 18px;
  }

  .map-box {
    height: 230px;
  }

}