/* ==========================================================================
   WZ-CONST-001 — 주식회사 결마루이앤씨 (GYEOLMARU E&C)
   Reference: https://the7.io/construction/
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 26px;
  color: #707070;
  background-color: #ffffff;
  overflow-x: hidden;
  word-break: keep-all;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  color: #222222;
  font-weight: 700;
  margin-top: 0;
}

a {
  color: #222222;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #ffc000;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 18px 0;
}

p:last-child {
  margin-bottom: 0;
}

/* Container & Grid Helpers */
.container {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
}

.section-pad {
  padding: 75px 0;
}

.section-pad-top {
  padding-top: 75px;
}

.section-pad-bottom {
  padding-bottom: 75px;
}

.section-title {
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
  color: #222222;
  margin: 0 0 14px 0;
}

.title-line {
  width: 40px;
  height: 3px;
  background-color: #ffc000;
  margin-bottom: 35px;
}

.title-line.center {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn-yellow {
  display: inline-block;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  color: #ffffff !important;
  background-color: #ffc000;
  padding: 9px 15px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-yellow:hover {
  background-color: #ffcf3d;
  color: #ffffff !important;
}

.btn-yellow.btn-lg {
  font-size: 14px;
  line-height: 18px;
  padding: 13px 22px;
}

.btn-white {
  display: inline-block;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  color: #222222 !important;
  background-color: #ffffff;
  padding: 13px 26px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-white:hover {
  background-color: #ffc000;
  color: #ffffff !important;
}

/* ==========================================================================
   Top Bar & Member Links (Variant A & B)
   ========================================================================== */
.top-bar {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  line-height: 20px;
  color: #888888;
}

.top-bar-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 6px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.top-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-socials a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #e2e2e2;
  color: #666666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.top-socials a:hover {
  background-color: #ffc000;
  color: #ffffff;
}

.top-socials svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #888888;
}

.top-contact-item svg {
  width: 13px;
  height: 13px;
  fill: #999999;
  flex-shrink: 0;
}

.member-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.member-links a {
  color: #666666;
}

.member-links a:hover {
  color: #ffc000;
}

.member-links .sep {
  color: #cccccc;
  font-size: 10px;
}

/* Variant A: Hide member-links when html has .no-member-bar */
html.no-member-bar .member-links {
  display: none !important;
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  position: relative;
  z-index: 900;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease;
}

.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 50px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.25s ease;
}

.site-header.is-sticky .header-inner {
  height: 70px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav > ul > li {
  position: relative;
  padding: 28px 0;
}

.site-header.is-sticky .main-nav > ul > li {
  padding: 20px 0;
}

.main-nav > ul > li > a {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  color: #222222;
  padding: 6px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-nav > ul > li > a .caret {
  font-size: 10px;
  opacity: 0.7;
}

.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: #ffc000;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav > ul > li:hover > a,
.main-nav > ul > li.current > a {
  color: #ffc000;
}

.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.current > a::after {
  transform: scaleX(1);
}

/* Submenu Dropdown */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 230px;
  background-color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 950;
}

.main-nav > ul > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 9px 22px;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  color: #333333;
}

.sub-menu li a:hover,
.sub-menu li.current a {
  color: #ffc000;
  background-color: rgba(0, 0, 0, 0.02);
}

/* Search Toggle & Popup */
.search-wrap {
  position: relative;
}

.search-toggle,
.mobile-search-btn,
.mobile-menu-btn {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #222222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-toggle:hover {
  color: #ffc000;
}

.search-popup {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  width: 280px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 12px;
  display: none;
  z-index: 980;
}

.search-popup.active {
  display: block;
}

.search-popup form {
  display: flex;
  border: 1px solid #e0e0e0;
}

.search-popup input {
  flex: 1;
  border: none;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
}

.search-popup button {
  background: #ffc000;
  border: none;
  color: #ffffff;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 700;
}

.mobile-search-btn,
.mobile-menu-btn {
  display: none;
}

/* ==========================================================================
   Page Title Bar (Subpages)
   ========================================================================== */
.page-title-bar {
  background-color: #f4f4f4;
  min-height: 110px;
  display: flex;
  align-items: center;
}

.page-title-inner {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-title-inner h1 {
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
  color: #222222;
  margin: 0;
}

.breadcrumbs {
  font-size: 12px;
  line-height: 18px;
  color: #999999;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: #999999;
}

.breadcrumbs a:hover {
  color: #222222;
}

.breadcrumbs .sep {
  color: #cccccc;
}

/* ==========================================================================
   Home Hero Slider (index.html)
   ========================================================================== */
.hero-slider {
  position: relative;
  height: 600px;
  background-color: #222222;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 5s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 26, 0.38);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
  color: #ffffff;
}

.hero-content.center {
  text-align: center;
}

.hero-title {
  font-size: 52px;
  line-height: 64px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 28px 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  font-size: 20px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.9);
  margin: -12px 0 28px 0;
  max-width: 680px;
}

.hero-btns {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-btn-yellow {
  display: inline-block;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 700;
  background: #ffc000;
  color: #ffffff !important;
  padding: 13px 28px;
}

.hero-btn-yellow:hover {
  background: #ffcf3d;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-dot.active {
  background: #ffffff;
  border-color: #ffffff;
}

/* ==========================================================================
   Image Hover Effect (+ Icon Overlay)
   ========================================================================== */
.img-hover-box {
  position: relative;
  overflow: hidden;
  display: block;
}

.img-hover-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.img-hover-box::after {
  content: '+';
  position: absolute;
  inset: 0;
  background: rgba(255, 192, 0, 0.72);
  color: #ffffff;
  font-size: 32px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.img-hover-box:hover img {
  transform: scale(1.04);
}

.img-hover-box:hover::after {
  opacity: 1;
}

/* ==========================================================================
   Home Section 1: 3-Column Intro
   ========================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.intro-card .img-hover-box {
  aspect-ratio: 3 / 2;
  margin-bottom: 24px;
}

.intro-card h3 {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 12px;
}

.intro-card p {
  margin-bottom: 20px;
}

/* ==========================================================================
   Home Section 2: What We Do (6 Gray Cards with 120x120 Circle Thumbs)
   ========================================================================== */
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.wwd-card {
  background-color: #f4f4f4;
  padding: 36px 30px 40px;
  text-align: center;
}

.wwd-thumb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 22px;
  position: relative;
}

.wwd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wwd-card h3 {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 12px;
}

.wwd-card p {
  margin-bottom: 22px;
}

/* ==========================================================================
   Full-Width Dark Parallax CTA Banner
   ========================================================================== */
.cta-banner {
  position: relative;
  padding: 95px 0;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 23, 29, 0.72);
  z-index: 1;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 50px;
}

.cta-banner h2 {
  font-size: 38px;
  line-height: 44px;
  color: #ffffff;
  margin: 0 0 18px 0;
}

.cta-banner p {
  font-size: 20px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 760px;
  margin: 0 0 28px 0;
}

/* ==========================================================================
   Home Section 4 & 6: Core Team (4-col) + Testimonials (1/3) & Partners (2/3)
   ========================================================================== */
.carousel-box {
  position: relative;
}

.team-carousel-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-mini-card .team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 18px;
}

.team-mini-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-mini-card h3 {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 2px;
}

.team-mini-card .role {
  font-size: 13px;
  color: #999999;
  margin-bottom: 12px;
}

.carousel-nav-btn {
  position: absolute;
  top: 195px;
  background: none;
  border: none;
  color: #ffc000;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px;
  z-index: 4;
}

.carousel-nav-btn.prev {
  left: 6px;
}

.carousel-nav-btn.next {
  right: 6px;
}

.home-bottom-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

.home-testimonial-box {
  background-color: #f4f4f4;
  padding: 36px 32px;
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-testimonial-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.home-testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.home-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-testimonial-quote {
  font-style: italic;
  color: #707070;
  margin-bottom: 18px;
}

.home-testimonial-author {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #222222;
}

.home-testimonial-role {
  font-size: 12px;
  color: #999999;
}

.home-testimonial-box .carousel-nav-btn {
  top: 50%;
  transform: translateY(-50%);
}

/* Partners 3x2 Grid on Home & 6-Column Strip */
.home-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 30px;
}

.home-partners-grid .partner-logo-box {
  background-color: transparent;
  padding: 8px 10px;
  aspect-ratio: 3 / 2;
}

.home-partners-grid .partner-logo-box:hover {
  background-color: #f8f8f8;
}

.partners-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.partner-strip-item {
  text-align: center;
}

.partner-logo-box {
  background-color: #f4f4f4;
  padding: 18px 14px;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: background-color 0.2s ease;
}

.partner-logo-box:hover {
  background-color: #ececec;
}

.partner-logo-box img {
  max-height: 100%;
  width: auto;
}

.partner-caption {
  font-size: 12px;
  color: #999999;
}

/* ==========================================================================
   About Us Page (about-us.html)
   ========================================================================== */
.about-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 30px;
  margin-bottom: 65px;
}

.about-row:last-child {
  margin-bottom: 0;
}

.about-main-photo {
  margin-bottom: 26px;
}

.principles-list {
  margin-bottom: 42px;
}

.principles-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  line-height: 24px;
}

.principle-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #ffc000;
  color: #ffffff;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.progress-item {
  margin-bottom: 18px;
}

.progress-label {
  font-size: 13px;
  line-height: 20px;
  color: #707070;
  font-weight: 400;
  margin-bottom: 6px;
}

.progress-track {
  width: 100%;
  height: 12px;
  background-color: #e8e8e8;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #ffc000;
  width: 0;
  transition: width 1s ease;
}

.founders-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.founder-horizontal-card {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 28px;
  align-items: start;
}

.founder-horizontal-card .person-photo {
  margin-bottom: 0;
}

.person-card .person-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 22px;
}

.person-card .person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card h3 {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 4px;
}

.person-card .person-role {
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  color: #999999;
  margin-bottom: 14px;
}

.person-card .person-meta {
  margin-top: 16px;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 22px;
  font-weight: 700;
  color: #222222;
}

.person-socials {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.person-socials a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #e2e2e2;
  color: #666666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.person-socials a:hover {
  background-color: #ffc000;
  color: #ffffff;
}

.person-socials svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.about-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.about-partners-grid .partner-logo-box {
  padding: 22px 18px;
}

/* ==========================================================================
   Team Page (team.html) & Partners Page (partners.html)
   ========================================================================== */
.team-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px 30px;
}

.partners-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.partner-page-card {
  background-color: #f4f4f4;
  padding: 42px 32px;
  text-align: center;
}

.partner-page-card .partner-logo-box {
  background-color: transparent;
  padding: 10px 18px 22px;
  margin-bottom: 6px;
}

.partner-page-card h3 {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 14px;
}

.partner-card-line {
  width: 30px;
  height: 2px;
  background-color: #ffc000;
  margin: 0 auto 18px;
}

.partner-page-card .visit-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #222222;
}

.partner-page-card .visit-link:hover {
  color: #ffc000;
}

/* ==========================================================================
   Testimonials Page (testimonials.html)
   ========================================================================== */
.testimonials-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.testimonials-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.review-card {
  background-color: #f4f4f4;
  padding: 30px 26px;
}

.review-card p {
  margin-bottom: 22px;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #bcbcbc;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-info h4 {
  font-size: 15px;
  line-height: 20px;
  margin: 0 0 2px 0;
}

.review-author-info span {
  font-size: 12px;
  color: #999999;
}

.review-form-section {
  background-color: #f4f4f4;
  padding: 75px 0;
}

.review-form-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.review-form-header {
  text-align: center;
  margin-bottom: 36px;
}

.review-form-header h2 {
  font-size: 26px;
  line-height: 32px;
  margin-bottom: 8px;
}

.review-form-header p {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #222222;
}

/* ==========================================================================
   Forms (Contact, Sidebar, Review)
   ========================================================================== */
.std-form .form-group {
  margin-bottom: 12px;
}

.std-form input,
.std-form textarea {
  width: 100%;
  background-color: #fcfcfc;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 10px 14px;
  font-family: 'Open Sans', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  color: #555555;
  outline: none;
  transition: border-color 0.2s ease;
}

.std-form input:focus,
.std-form textarea:focus {
  border-color: #ffc000;
  background-color: #ffffff;
}

.std-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-feedback {
  margin-top: 12px;
  padding: 10px 14px;
  background-color: rgba(255, 192, 0, 0.15);
  border-left: 3px solid #ffc000;
  color: #222222;
  font-size: 13px;
  font-weight: 500;
  display: none;
}

/* ==========================================================================
   Services Page (services.html) & Service Detail (construction-service-page.html)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
}

.service-card .img-hover-box {
  aspect-ratio: 3 / 2;
}

.service-card-body {
  padding: 32px 32px 36px;
  flex: 1;
}

.service-card-body h3 {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 12px;
}

.service-card-body p {
  margin-bottom: 22px;
}

/* Sidebar + Content Layout */
.sidebar-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 45px;
  align-items: start;
}

.sidebar-layout.right-sidebar {
  grid-template-columns: 1fr 270px;
}

.widget-box {
  background-color: #f4f4f4;
  padding: 30px 25px;
  margin-bottom: 30px;
}

.widget-box:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 18px;
}

.service-menu-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.service-menu-list li:last-child {
  border-bottom: none;
}

.service-menu-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #666666;
}

.service-menu-list a .arrow {
  color: #bbbbbb;
  font-size: 11px;
}

.service-menu-list li.active a,
.service-menu-list a:hover {
  color: #ffc000;
}

.service-detail-hero {
  margin-bottom: 36px;
}

.service-detail-hero img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.accordion-list {
  margin-top: 25px;
}

.accordion-item {
  margin-bottom: 10px;
  background-color: #f4f4f4;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 15px 20px;
  text-align: left;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-header:hover {
  color: #ffc000;
}

.accordion-body {
  padding: 0 20px 18px;
  display: none;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 14px;
}

.accordion-item.open .accordion-body {
  display: block;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   Showcase Page (showcase.html) & Project Single (project-single.html)
   ========================================================================== */
.showcase-full-wrap {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.showcase-track {
  display: flex;
  gap: 30px;
  padding: 0 80px;
  transition: transform 0.45s ease;
}

.showcase-card {
  flex: 0 0 calc((100% - 60px) / 3);
  min-width: 320px;
  position: relative;
}

.showcase-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.showcase-card:hover .showcase-img-wrap img {
  transform: scale(1.04);
}

.showcase-info-box {
  background-color: #ffffff;
  width: 78%;
  padding: 22px 26px 14px;
  margin-top: -58px;
  position: relative;
  z-index: 2;
}

.showcase-info-box h3 {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 10px;
}

.showcase-info-box .details-link {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #222222;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.showcase-info-box .details-link:hover {
  color: #ffc000;
}

.showcase-edge-btn {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 34px;
  height: 56px;
  background-color: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  border: none;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-edge-btn:hover {
  background-color: #ffc000;
}

.showcase-edge-btn.prev {
  left: 0;
}

.showcase-edge-btn.next {
  right: 0;
}

/* Project Single */
.project-hero-img {
  margin-bottom: 35px;
}

.project-hero-img img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.post-nav-bar {
  margin: 45px 0;
  padding: 22px 0;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.post-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.post-nav-link.next {
  justify-self: end;
  text-align: right;
}

.post-nav-label {
  display: block;
  font-size: 11px;
  color: #aaaaaa;
  text-transform: uppercase;
  line-height: 16px;
}

.post-nav-title {
  display: block;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #222222;
}

.post-nav-grid-icon {
  color: #cccccc;
  font-size: 20px;
  display: inline-flex;
  padding: 6px;
}

.post-nav-grid-icon:hover {
  color: #ffc000;
}

.more-projects-wrap {
  position: relative;
  padding-bottom: 45px;
  border-bottom: 1px solid #eaeaea;
}

.more-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.more-project-card {
  text-align: center;
}

.more-project-card .img-hover-box {
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
}

.more-project-card h4 {
  font-size: 16px;
  line-height: 22px;
  margin: 0;
}

.round-yellow-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ffc000;
  color: #ffffff;
  border: none;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.round-yellow-btn.prev {
  left: 10px;
}

.round-yellow-btn.next {
  right: 10px;
}

/* ==========================================================================
   News List (news.html) & News Single (news-single.html)
   ========================================================================== */
.news-list-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #eaeaea;
}

.news-thumb-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.news-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.date-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  background-color: #ffffff;
  text-align: center;
  padding: 6px 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  line-height: 1.2;
  z-index: 3;
}

.date-badge .m {
  display: block;
  font-size: 11px;
  color: #666666;
  font-weight: 600;
}

.date-badge .d {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #222222;
  margin: 2px 0;
}

.date-badge .bar {
  display: block;
  width: 16px;
  height: 2px;
  background-color: #ffc000;
  margin: 3px auto;
}

.date-badge .y {
  display: block;
  font-size: 10px;
  color: #888888;
  font-weight: 600;
}

.news-item-body h2 {
  font-size: 22px;
  line-height: 28px;
  margin-bottom: 8px;
}

.news-meta {
  font-size: 12px;
  color: #999999;
  margin-bottom: 14px;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #222222;
  margin-top: 8px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #222222;
  border-bottom: 2px solid transparent;
}

.pagination .current {
  border-bottom-color: #ffc000;
}

/* Sidebar Widgets: Recent Articles & Tags */
.recent-post-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.recent-post-item:last-child {
  margin-bottom: 0;
}

.recent-post-thumb {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  overflow: hidden;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-info h4 {
  font-family: 'Open Sans', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 19px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.recent-post-info span {
  font-size: 11px;
  color: #999999;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}

.tag-cloud a {
  color: #707070;
  line-height: 1.3;
}

.tag-cloud a:hover {
  color: #ffc000;
}

/* News Single Specific */
.single-featured-wrap {
  position: relative;
  margin-bottom: 30px;
}

.single-featured-wrap img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.cat-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}

.cat-badge {
  background-color: rgba(25, 25, 25, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  line-height: 18px;
}

.post-footer-meta {
  text-align: center;
  margin: 35px 0;
  font-size: 12px;
  color: #999999;
}

.post-tags-pills {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.post-tags-pills a {
  border: 1px solid #e0e0e0;
  padding: 1px 7px;
  font-size: 11px;
  color: #888888;
}

.share-post-box {
  text-align: center;
  margin: 30px 0;
}

.share-post-box h5 {
  font-size: 13px;
  margin-bottom: 10px;
}

.share-btns {
  display: inline-flex;
  border: 1px solid #e6e6e6;
}

.share-btns a {
  width: 44px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e6e6e6;
  font-size: 13px;
  color: #555555;
}

.share-btns a:last-child {
  border-right: none;
}

.more-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 30px;
  margin-bottom: 50px;
}

.more-article-item {
  display: flex;
  gap: 16px;
}

.more-article-thumb {
  width: 90px;
  height: 65px;
  flex-shrink: 0;
  overflow: hidden;
}

.more-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.more-article-info h4 {
  font-family: 'Open Sans', 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 19px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.more-article-info span {
  font-size: 11px;
  color: #aaaaaa;
}

.comment-box {
  background-color: #f4f4f4;
  padding: 28px;
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.comment-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-body h4 {
  font-size: 15px;
  margin: 0 0 2px 0;
}

.comment-date {
  font-size: 11px;
  color: #999999;
  margin-bottom: 10px;
  display: block;
}

/* ==========================================================================
   Contact Page (contact.html) & 404 Page (404.html)
   ========================================================================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 55px;
}

.contact-info-block {
  margin-bottom: 28px;
}

.contact-info-block:last-child {
  margin-bottom: 0;
}

.contact-info-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.yellow-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #ffc000;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.yellow-icon-circle svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.contact-info-head h3 {
  font-size: 16px;
  line-height: 22px;
  margin: 0;
}

.hours-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  line-height: 26px;
}

.hours-dots {
  flex: 1;
  border-bottom: 1px dotted #cccccc;
  margin: 0 8px;
}

.contact-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-gray-box {
  background-color: #f4f4f4;
  padding: 40px 36px;
}

.contact-gray-box h2 {
  font-size: 26px;
  line-height: 32px;
  margin-bottom: 24px;
}

.map-frame-wrap {
  width: 100%;
  height: 300px;
  margin-bottom: 20px;
  background-color: #e5e3df;
  overflow: hidden;
  border: 1px solid #dddddd;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* 404 Page */
.error-404-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 20px 100px;
  text-align: center;
}

.error-404-wrap h2 {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 12px;
}

.error-404-wrap p {
  margin-bottom: 26px;
}

.error-search-form {
  display: flex;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
}

.error-search-form input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 13px;
  outline: none;
}

.error-search-form button {
  background: none;
  border: none;
  padding: 0 16px;
  color: #888888;
  cursor: pointer;
}

/* ==========================================================================
   Footer (.site-footer) & Bottom Bar
   ========================================================================== */
.site-footer {
  background-color: #191919;
  color: #8b8d90;
  font-size: 13px;
  line-height: 23px;
}

.footer-widgets {
  max-width: 1250px;
  margin: 0 auto;
  padding: 65px 50px 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-logo {
  margin-bottom: 18px;
  display: inline-block;
}

.footer-logo img {
  height: 31px;
  width: auto;
}

.footer-widget-title {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-contact-block {
  margin-bottom: 14px;
}

.footer-contact-block strong {
  display: block;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-news-list li {
  margin-bottom: 14px;
}

.footer-news-list li:last-child {
  margin-bottom: 0;
}

.footer-news-list a {
  display: block;
  color: #ffffff;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 2px;
}

.footer-news-list a:hover {
  color: #ffc000;
}

.footer-news-list span {
  font-size: 11px;
  color: #6f7275;
}

.bottom-bar {
  background-color: #252525;
  font-size: 11px;
  line-height: 18px;
  color: #777777;
}

.bottom-bar-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 16px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 25px;
  width: 36px;
  height: 36px;
  background-color: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: #ffc000;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-modal img {
  max-width: 90vw;
  max-height: 85vh;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 36px;
  cursor: pointer;
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile 375px)
   ========================================================================== */
@media (max-width: 991px) {
  .container,
  .top-bar-inner,
  .header-inner,
  .page-title-inner,
  .hero-content,
  .cta-banner-inner,
  .footer-widgets,
  .bottom-bar-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .top-socials {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .top-right {
    justify-content: center;
    gap: 10px;
  }

  .top-contacts {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
  }

  .header-inner {
    height: 64px;
  }

  .mobile-search-btn,
  .mobile-menu-btn {
    display: inline-flex;
  }

  .search-wrap {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
    padding: 70px 24px 30px;
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 1100;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav > ul > li {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .main-nav > ul > li > a {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
  }

  .sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 10px 14px;
    display: none;
  }

  .main-nav > ul > li.open > .sub-menu {
    display: block;
  }

  .page-title-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .breadcrumbs {
    display: none;
  }

  .hero-slider {
    height: 440px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 30px;
    line-height: 38px;
  }

  .hero-subtitle,
  .hero-arrow {
    display: none;
  }

  .intro-grid,
  .what-we-do-grid,
  .home-bottom-split,
  .about-row,
  .founder-horizontal-card,
  .team-page-grid,
  .partners-page-grid,
  .testimonials-masonry,
  .services-grid,
  .sidebar-layout,
  .sidebar-layout.right-sidebar,
  .more-projects-grid,
  .more-articles-grid,
  .contact-info-grid,
  .contact-bottom-grid,
  .footer-widgets {
    grid-template-columns: 1fr;
  }

  .home-testimonial-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-carousel-track {
    grid-template-columns: 1fr;
  }

  .partners-strip,
  .home-partners-grid,
  .about-partners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .showcase-track {
    padding: 0 24px;
    flex-direction: column;
  }

  .showcase-card {
    flex: 1 1 100%;
    min-width: 0;
  }

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

  .bottom-bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}
