* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
font-family: "Malgun Gothic", "맑은 고딕", Arial, sans-serif;
color: #222;
background: #ffffff;
}

a {
text-decoration: none;
}

/* 공통 */

.content-wrap,
.portfolio-wrap {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding-left: 25px;
padding-right: 25px;
}

.section-small {
margin-bottom: 12px;
color: #367347;
font-size: 14px;
font-weight: 700;
letter-spacing: 3px;
}

.section-title {
margin-bottom: 50px;
text-align: center;
}

.section-title p {
margin-bottom: 8px;
color: #367347;
font-size: 14px;
font-weight: 700;
letter-spacing: 2px;
}

.section-title h2 {
margin-bottom: 15px;
color: #1f2a21;
font-size: 36px;
}

.section-title span {
color: #777;
font-size: 16px;
}

.section-button-wrap {
margin-top: 40px;
text-align: center;
}

.section-more-btn {
display: inline-block;
margin-top: 25px;
padding: 14px 25px;
border-radius: 7px;
background: #28643a;
color: white;
font-size: 15px;
font-weight: 700;
transition: 0.3s;
}

.section-more-btn:hover {
background: #1e4e2d;
transform: translateY(-2px);
}

/* 상단 메뉴 */

.header {
position: sticky;
top: 0;
z-index: 1000;
width: 100%;
background: #184d2b;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-wrap {
width: 100%;
max-width: 1300px;
min-height: 80px;
margin: 0 auto;
padding: 0 30px;
display: flex;
align-items: center;
justify-content: space-between;
}

.logo {
color: white;
font-size: 27px;
font-weight: 800;
white-space: nowrap;
}

.nav {
display: flex;
align-items: center;
gap: 34px;
}

.nav a {
color: white;
font-size: 16px;
font-weight: 600;
}

.nav a:hover {
opacity: 0.75;
}

/* 전화 아이콘 */

.phone-icon {
width: 48px;
height: 48px;
border: 1px solid rgba(255, 255, 255, 0.65);
border-radius: 50%;
color: white;
font-size: 23px;
display: flex;
align-items: center;
justify-content: center;
transition: 0.3s;
}

.phone-icon:hover {
background: white;
color: #184d2b;
transform: scale(1.05);
}

/* 메인 */

.hero {
min-height: 650px;
padding: 80px 25px;

background-image:
linear-gradient(
90deg,
rgba(7, 26, 14, 0.72),
rgba(7, 26, 14, 0.32)
),
url("bg.png");

background-size: cover;
background-position: center;
background-repeat: no-repeat;

display: flex;
align-items: center;
}

.hero-content {
width: 100%;
max-width: 1200px;
margin: 0 auto;
color: white;
}

.hero-small {
margin-bottom: 20px;
color: #c7e6ca;
font-size: 14px;
font-weight: 700;
letter-spacing: 4px;
}

.hero h1 {
margin-bottom: 25px;
color: white;
font-size: 58px;
line-height: 1.3;
text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.hero-text {
margin-bottom: 35px;
color: #edf5ef;
font-size: 19px;
line-height: 1.8;
}

.hero-buttons {
display: flex;
gap: 15px;
}

.main-btn,
.sub-btn {
display: inline-block;
padding: 15px 28px;
border-radius: 7px;
font-size: 16px;
font-weight: 700;
transition: 0.3s;
}

.main-btn {
background: white;
color: #184d2b;
}

.sub-btn {
border: 1px solid white;
color: white;
}

.main-btn:hover,
.sub-btn:hover {
transform: translateY(-3px);
}

.sub-btn:hover {
background: white;
color: #184d2b;
}

/* 회사소개 메인 */

.about-section {
padding: 100px 20px;
text-align: center;
background: white;
}

.about-section h2 {
margin-bottom: 25px;
color: #1e2d22;
font-size: 38px;
}

.section-description {
max-width: 720px;
margin: 0 auto;
color: #666;
font-size: 17px;
line-height: 1.9;
}

/* 메인 사업분야 */

.service-section {
padding: 100px 20px;
background: #f5f7f3;
}

.service-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.service-card {
position: relative;
min-height: 240px;
padding: 38px 30px;
border: 1px solid #e2e9e1;
border-radius: 15px;
background: white;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
transition: 0.3s;
}

.service-card:hover {
transform: translateY(-7px);
box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

.service-card-highlight {
background: linear-gradient(135deg, #edf6ee, #ffffff);
border-color: #a9c9ae;
}

.service-number {
margin-bottom: 25px;
color: #468157;
font-size: 14px;
font-weight: 800;
}

.recommend-tag {
position: absolute;
top: 25px;
right: 25px;
padding: 6px 12px;
border-radius: 20px;
background: #28643a;
color: white;
font-size: 11px;
font-weight: 700;
}

.service-card h3 {
margin-bottom: 18px;
color: #245b35;
font-size: 23px;
}

.service-card p {
color: #666;
font-size: 15px;
line-height: 1.8;
}

/* 포트폴리오 */

.portfolio-section,
.portfolio-page-section {
padding: 100px 20px;
background: white;
}

.portfolio-page-section {
background: linear-gradient(180deg, #ffffff, #f4f7f2);
}

.portfolio-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
}

.portfolio-card {
overflow: hidden;
border: 1px solid #e5eae4;
border-radius: 15px;
background: white;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
transition: 0.3s;
}

.portfolio-card:hover {
transform: translateY(-7px);
box-shadow: 0 17px 38px rgba(0, 0, 0, 0.14);
}

.portfolio-card img {
display: block;
width: 100%;
height: 350px;
object-fit: cover;
object-position: center;
transition: 0.4s;
}

.portfolio-card:hover img {
transform: scale(1.04);
}

.portfolio-info {
min-height: 120px;
padding: 22px;
}

.portfolio-info span {
display: inline-block;
margin-bottom: 8px;
color: #4c7a50;
font-size: 13px;
font-weight: 700;
}

.portfolio-info h3 {
margin-bottom: 9px;
color: #222;
font-size: 21px;
}

.portfolio-info p {
color: #777;
font-size: 14px;
line-height: 1.7;
}

/* 진행 과정 */

.process-section {
padding: 100px 20px;
background: #f5f7f3;
}

.process-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}

.process-item {
min-height: 220px;
padding: 30px;
border-radius: 12px;
background: white;
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.process-item strong {
display: block;
margin-bottom: 20px;
color: #3d794d;
font-size: 30px;
}

.process-item h3 {
margin-bottom: 15px;
font-size: 20px;
}

.process-item p {
color: #777;
font-size: 14px;
line-height: 1.7;
}

/* 공통 서브페이지 상단 */

.sub-hero {
min-height: 430px;
padding: 90px 20px;

background-image:
linear-gradient(
rgba(7, 28, 15, 0.66),
rgba(7, 28, 15, 0.66)
),
url("bg.png");

background-size: cover;
background-position: center;
background-repeat: no-repeat;

display: flex;
align-items: center;
justify-content: center;

text-align: center;
color: white;
}

.sub-hero-content {
max-width: 850px;
}

.sub-hero-content > p {
margin-bottom: 15px;
color: #c5e3ca;
font-size: 14px;
font-weight: 700;
letter-spacing: 3px;
}

.sub-hero-content h1 {
margin-bottom: 20px;
font-size: 52px;
line-height: 1.35;
}

.sub-hero-content > span {
display: block;
color: #e7f0e9;
font-size: 17px;
line-height: 1.9;
}

/* 회사소개 */

.about-detail-section {
padding: 100px 20px;
}

.about-intro {
max-width: 850px;
margin: 0 auto 80px;
text-align: center;
}

.about-intro h2 {
margin-bottom: 30px;
color: #1f2d22;
font-size: 38px;
}

.about-intro p {
margin-bottom: 18px;
color: #666;
font-size: 16px;
line-height: 2;
}

.about-point-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.about-point-card {
min-height: 280px;
padding: 40px 30px;
border: 1px solid #e1e8df;
border-radius: 15px;
background: #f5f7f3;
}

.about-point-card span {
display: block;
margin-bottom: 25px;
color: #3b774c;
font-size: 28px;
font-weight: 700;
}

.about-point-card h3 {
margin-bottom: 18px;
color: #203025;
font-size: 23px;
}

.about-point-card p {
color: #687069;
font-size: 15px;
line-height: 1.9;
}

.about-management {
padding: 100px 20px;
background: #eef4ed;
}

.about-management-box {
max-width: 900px;
margin: 0 auto;
padding: 60px;
border-radius: 18px;
background: white;
box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
}

.about-management-box h2 {
margin-bottom: 25px;
color: #1f2d22;
font-size: 36px;
}

.about-management-box p {
margin-bottom: 18px;
color: #666;
font-size: 16px;
line-height: 1.9;
}

/* 사업분야 상세 */

.service-badge-wrap {
margin-top: 35px;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 14px;
}

.service-badge {
padding: 11px 20px;
border: 1px solid rgba(255, 255, 255, 0.65);
border-radius: 30px;
background: rgba(255, 255, 255, 0.12);
color: white;
font-size: 14px;
font-weight: 700;
}

.service-intro-section {
padding: 80px 20px;
background: white;
}

.service-intro-box {
max-width: 850px;
margin: 0 auto;
text-align: center;
}

.service-intro-box h2 {
margin-bottom: 25px;
color: #1f2d22;
font-size: 38px;
}

.service-intro-box p {
color: #666;
font-size: 16px;
line-height: 2;
}

.service-list-section {
padding: 100px 20px;
background: linear-gradient(180deg, #f4f7f2, #edf3ec);
}

.service-list-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 28px;
}

.service-text-card {
position: relative;
min-height: 260px;
padding: 40px;
border: 1px solid #e1e8df;
border-radius: 17px;
background: white;
box-shadow: 0 8px 27px rgba(0, 0, 0, 0.06);
}

.service-text-card span {
width: 48px;
height: 48px;
margin-bottom: 25px;
border-radius: 50%;
background: #e7f1e8;
color: #2d6b3d;
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
font-weight: 800;
}

.service-text-card h2 {
margin-bottom: 18px;
color: #1c2d20;
font-size: 25px;
}

.service-text-card p {
color: #687069;
font-size: 15px;
line-height: 1.9;
}

.service-monthly {
background: linear-gradient(135deg, #edf6ee, #ffffff);
border-color: #a7c7ad;
}

.service-monthly::after {
content: "추천";
position: absolute;
top: 25px;
right: 25px;
padding: 7px 13px;
border-radius: 20px;
background: #28643a;
color: white;
font-size: 11px;
font-weight: 700;
}

/* 상담 */

.contact-section {
padding: 100px 20px;
text-align: center;
background: linear-gradient(135deg, #1c502e, #2c6a3d);
color: white;
}

.contact-section .section-small {
color: #c8dfcd;
}

.contact-section h2 {
margin-bottom: 18px;
font-size: 38px;
}

.contact-section p {
margin-bottom: 30px;
color: #e1eee4;
font-size: 16px;
line-height: 1.8;
}

.contact-btn {
display: inline-block;
padding: 15px 27px;
border-radius: 30px;
background: white;
color: #184d2b;
font-size: 17px;
font-weight: 700;
transition: 0.3s;
}

.contact-btn:hover {
transform: translateY(-3px);
}

/* 푸터 */

.footer {
padding: 45px 20px;
text-align: center;
background: #12361f;
color: #bdcbbf;
}

.footer h3 {
margin-bottom: 8px;
color: white;
font-size: 20px;
}

.footer p {
margin-bottom: 10px;
font-size: 14px;
}

.footer-phone {
display: inline-flex;
width: 44px;
height: 44px;
margin-top: 7px;
border: 1px solid #718d77;
border-radius: 50%;
align-items: center;
justify-content: center;
color: white;
font-size: 21px;
}

/* 태블릿 */

@media (max-width: 1000px) {

.nav {
gap: 17px;
}

.nav a {
font-size: 14px;
}

.hero h1 {
font-size: 47px;
}

.service-grid,
.portfolio-grid {
grid-template-columns: repeat(2, 1fr);
}

.process-grid {
grid-template-columns: repeat(2, 1fr);
}

}

/* 작은 태블릿 */

@media (max-width: 850px) {

.about-point-grid,
.service-list-grid {
grid-template-columns: 1fr;
}

}

/* 모바일 */

@media (max-width: 700px) {

.header-wrap {
min-height: 70px;
padding: 0 18px;
}

.logo {
font-size: 22px;
}

.nav {
display: none;
}

.phone-icon {
width: 43px;
height: 43px;
font-size: 21px;
}

.hero {
min-height: 570px;
padding: 60px 22px;
}

.hero h1 {
font-size: 37px;
}

.hero-text {
font-size: 16px;
}

.hero-buttons {
flex-direction: column;
align-items: flex-start;
}

.about-section,
.service-section,
.portfolio-section,
.portfolio-page-section,
.process-section,
.contact-section,
.about-detail-section,
.about-management,
.service-intro-section,
.service-list-section {
padding-top: 70px;
padding-bottom: 70px;
}

.section-title h2,
.about-section h2,
.contact-section h2,
.about-intro h2,
.service-intro-box h2 {
font-size: 29px;
}

.service-grid,
.portfolio-grid,
.process-grid {
grid-template-columns: 1fr;
}

.portfolio-card img {
height: 370px;
}

.sub-hero {
min-height: 360px;
padding: 70px 20px;
}

.sub-hero-content h1 {
font-size: 38px;
}

.sub-hero-content > span {
font-size: 15px;
}

.about-management-box {
padding: 35px 25px;
}

.about-management-box h2 {
font-size: 28px;
}

.service-text-card {
min-height: auto;
padding: 32px;
}

}
.about-detail-section {
padding-top: 75px;
padding-bottom: 85px;
}

.about-intro {
max-width: 950px;
margin: 0 auto 50px;
}

.about-intro h2 {
font-size: 42px;
margin-bottom: 25px;
}

.about-intro p {
max-width: 850px;
margin-left: auto;
margin-right: auto;
font-size: 17px;
line-height: 2;
}

.about-point-grid {
max-width: 1000px;
margin-left: auto;
margin-right: auto;
gap: 20px;
}

.about-point-card {
min-height: 250px;
padding: 35px 30px;
}
/* ========================================
회사소개 - 주요 사업이력
======================================== */

.history-section {
padding: 110px 20px;
background: #f6f8f5;
}

.history-wrap {
width: 100%;
max-width: 1150px;
margin: 0 auto;
}

.history-title {
margin-bottom: 55px;
text-align: center;
}

.history-title > p {
margin-bottom: 12px;
color: #367347;
font-size: 14px;
font-weight: 800;
letter-spacing: 3px;
}

.history-title h2 {
margin-bottom: 20px;
color: #17291d;
font-size: 42px;
}

.history-title > span {
color: #687069;
font-size: 17px;
line-height: 1.9;
}

/* 상단 강조 */

.history-highlight {
margin-bottom: 90px;
display: grid;
grid-template-columns: repeat(3, 1fr);
overflow: hidden;
border-radius: 18px;
background: #184d2b;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.history-highlight-item {
min-height: 145px;
padding: 32px 20px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.history-highlight-item:last-child {
border-right: none;
}

.history-highlight-item strong {
margin-bottom: 10px;
color: white;
font-size: 30px;
font-weight: 800;
}

.history-highlight-item span {
color: #cfe3d2;
font-size: 14px;
}

/* 시공이력 제목 */

.history-sub-title {
margin-bottom: 40px;
}

.history-sub-title p {
margin-bottom: 8px;
color: #39784b;
font-size: 13px;
font-weight: 800;
letter-spacing: 2px;
}

.history-sub-title h3 {
margin-bottom: 12px;
color: #17291d;
font-size: 34px;
}

.history-sub-title span {
color: #6b746d;
font-size: 15px;
line-height: 1.8;
}

/* 연도별 시공이력 */

.history-timeline {
margin-bottom: 110px;
}

.history-year {
padding: 40px 0;
display: grid;
grid-template-columns: 150px 1fr;
border-top: 1px solid #dce5dc;
}

.history-year:last-child {
border-bottom: 1px solid #dce5dc;
}

.history-year-number {
color: #1f6537;
font-size: 38px;
font-weight: 800;
}

.history-year-list {
width: 100%;
}

.history-row {
min-height: 55px;
display: grid;
grid-template-columns: 70px 1fr 1fr;
align-items: center;
gap: 15px;
border-bottom: 1px solid #e7ece7;
}

.history-row:last-child {
border-bottom: none;
}

.history-date {
color: #799080;
font-size: 14px;
font-weight: 700;
}

.history-row strong {
color: #243128;
font-size: 16px;
}

.history-work {
color: #687069;
font-size: 15px;
}

/* 월관리 영역 */

.management-history {
padding: 65px 55px;
border-radius: 22px;
background: white;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
}

.management-history-title {
margin-bottom: 40px;
text-align: center;
}

.management-history-title p {
margin-bottom: 9px;
color: #367347;
font-size: 13px;
font-weight: 800;
letter-spacing: 2px;
}

.management-history-title h3 {
margin-bottom: 15px;
color: #17291d;
font-size: 34px;
}

.management-history-title span {
color: #6b746d;
font-size: 15px;
line-height: 1.8;
}

.management-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 18px;
}

.management-card {
position: relative;
min-height: 145px;
padding: 28px 25px;
border: 1px solid #dce7dd;
border-radius: 13px;
background: #f8faf7;
transition: 0.3s;
}

.management-card:hover {
transform: translateY(-4px);
border-color: #a6c3ab;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.management-start {
display: block;
margin-bottom: 12px;
color: #2d7544;
font-size: 13px;
font-weight: 800;
}

.management-card h4 {
margin-bottom: 8px;
color: #1c2b20;
font-size: 20px;
}

.management-card p {
color: #7b847d;
font-size: 14px;
}

/* 태블릿 */

@media (max-width: 900px) {

.history-highlight {
grid-template-columns: 1fr;
}

.history-highlight-item {
border-right: none;
border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.history-highlight-item:last-child {
border-bottom: none;
}

.history-year {
grid-template-columns: 1fr;
gap: 25px;
}

.history-row {
grid-template-columns: 60px 1fr 1fr;
}

.management-grid {
grid-template-columns: 1fr;
}

}

/* 모바일 */

@media (max-width: 600px) {

.history-section {
padding: 75px 18px;
}

.history-title h2 {
font-size: 30px;
}

.history-title > span {
font-size: 15px;
}

.history-sub-title h3,
.management-history-title h3 {
font-size: 27px;
}

.history-year-number {
font-size: 31px;
}

.history-row {
padding: 15px 0;
grid-template-columns: 55px 1fr;
gap: 5px 12px;
}

.history-work {
grid-column: 2;
}

.management-history {
padding: 45px 22px;
}

}