/* ===== CSS Variables ===== */
:root {
    --primary-color: #145236;      /* 딥 그린 */
    --primary-dark: #0c3523;
    --primary-light: #e7f3ec;
    --brand-green: #15b24a;        /* 로고 그린 */
    --brand-green-dark: #0f8f3b;
    --accent-color: #1b4fd6;       /* 로고 블루 */
    --accent-light: #e8eefc;
    --accent-yellow: #ffd166;      /* 측량 표시 색 */
    --text-color: #2b2f33;
    --text-light: #5f6b66;
    --text-muted: #96a09b;
    --bg-color: #ffffff;
    --bg-light: #f5f8f6;
    --bg-dark: #0a2418;
    --border-color: #dfe6e2;
    --shadow: 0 4px 6px rgba(10, 36, 24, 0.08);
    --shadow-lg: 0 10px 40px rgba(10, 36, 24, 0.14);
    --transition: all 0.3s ease;
    --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--brand-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}

.logo-img {
    width: 36px;
    height: 43px;
    flex-shrink: 0;
}

.logo-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.logo-highlight {
    color: var(--brand-green);
}

.logo-sub {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.header.scrolled .logo-text {
    color: var(--primary-color);
}

.header.scrolled .logo-sub {
    color: var(--text-muted);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-green);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.header.scrolled .nav-link {
    color: var(--text-light);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-color);
}

.nav-link-members {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 100px;
    font-size: 14px;
}

.nav-link-members::after {
    display: none;
}

.header.scrolled .nav-link-members {
    border-color: var(--border-color);
}

.header.scrolled .nav-link-members:hover {
    border-color: var(--brand-green);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    background: #ffffff;
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span,
.mobile-menu-btn.active span {
    background: var(--primary-color);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 55%, #1d6b45 100%);
}

/* 등고선 패턴 */
.hero-contour {
    position: absolute;
    inset: 0;
    opacity: 0.55;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.09)' stroke-width='1.2'%3E%3Cpath d='M-20 320 C 80 260, 140 340, 240 280 S 420 200, 620 250'/%3E%3Cpath d='M-20 270 C 70 210, 160 290, 260 230 S 430 150, 620 200'/%3E%3Cpath d='M-20 220 C 60 160, 180 240, 280 180 S 440 100, 620 150'/%3E%3Cpath d='M-20 170 C 50 110, 200 190, 300 130 S 450 50, 620 100'/%3E%3Cpath d='M-20 120 C 40 60, 220 140, 320 80 S 460 0, 620 50'/%3E%3Cpath d='M-20 370 C 90 310, 120 390, 220 330 S 410 250, 620 300'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 600px 400px;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(21, 178, 74, 0.15);
    border: 1px solid rgba(21, 178, 74, 0.5);
    border-radius: 100px;
    color: #5fe08a;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 24px;
}

.hero-title-sub {
    display: block;
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
}

.hero-desc strong {
    color: #5fe08a;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-contact-quick {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.hero-contact-quick svg {
    width: 20px;
    height: 20px;
    color: var(--brand-green);
}

.hero-contact-quick strong {
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Hero visual card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 22px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 14px;
}

.hero-card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-green);
    box-shadow: 0 0 10px rgba(21, 178, 74, 0.9);
}

.hero-card-tag {
    margin-left: auto;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Courier New', monospace;
}

.hero-map {
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-map svg {
    display: block;
    width: 100%;
    height: 180px;
}

.hero-parcel {
    animation: parcelIn 1.2s ease-out both;
    transform-origin: center;
}

@keyframes parcelIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.hero-crosshair {
    animation: crossPulse 2.4s ease-in-out infinite;
    transform-origin: 170px 100px;
}

@keyframes crossPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.12); }
}

.hero-card-list {
    margin-top: 14px;
}

.hero-card-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    padding: 6px 0;
}

.hero-card-list i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.hero-card-list i.check {
    background: rgba(47, 211, 107, 0.2);
    border: 1px solid rgba(47, 211, 107, 0.6);
}

.hero-card-list i.check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 3px;
    width: 5px;
    height: 8px;
    border: solid #2fd36b;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.hero-card-list i.pending {
    background: rgba(255, 209, 102, 0.2);
    border: 1px solid rgba(255, 209, 102, 0.6);
}

.hero-card-list i.pending::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 7px;
    width: 8px;
    height: 2px;
    background: var(--accent-yellow);
}

.hero-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(21, 178, 74, 0.28) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: block;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    position: relative;
}

.scroll-down span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollAnim 1.8s infinite;
}

@keyframes scrollAnim {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--brand-green);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--brand-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 178, 74, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.text-highlight {
    color: var(--brand-green);
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
}

/* ===== About ===== */
.about {
    background: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

.about-card {
    padding: 36px 26px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(21, 178, 74, 0.4);
    background: #ffffff;
}

.about-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 14px;
    color: var(--primary-color);
}

.about-icon svg {
    width: 30px;
    height: 30px;
}

.about-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-card p {
    font-size: 14.5px;
    color: var(--text-light);
}

/* Company info + greeting */
.company-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 30px;
    align-items: stretch;
}

.company-info {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 40px 34px;
    box-shadow: var(--shadow);
}

.company-info h3 {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--brand-green);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 12px 6px;
    font-size: 14.5px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
}

.company-table th {
    width: 96px;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

.company-table td {
    color: var(--text-light);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.greeting {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 18px;
    padding: 50px 44px;
    position: relative;
    overflow: hidden;
}

.greeting::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(21, 178, 74, 0.3), transparent 70%);
    border-radius: 50%;
}

.greeting-content {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.greeting-quote {
    font-size: 64px;
    font-weight: 900;
    color: var(--brand-green);
    line-height: 1;
    display: block;
}

.greeting-content h3 {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.greeting-content p {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 24px;
}

.greeting-content strong {
    color: #5fe08a;
}

.greeting-sign {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

/* ===== Services ===== */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 34px 26px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-green), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #1d6b45);
    border-radius: 12px;
    color: #ffffff;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 27px;
    height: 27px;
}

.service-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14.5px;
    color: var(--text-light);
}

/* ===== Process ===== */
.process {
    background: var(--bg-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    position: relative;
}

.process-step {
    position: relative;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px 22px 26px;
    transition: var(--transition);
}

.process-step:hover {
    background: #ffffff;
    border-color: rgba(21, 178, 74, 0.4);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -14px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--brand-green);
    border-right: 2px solid var(--brand-green);
    transform: translateY(-50%) rotate(45deg);
}

.process-step:last-child::after {
    display: none;
}

.process-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
    background: var(--brand-green);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-light);
}

.process-note {
    margin-top: 36px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--accent-light);
    border: 1px solid #cdd9f5;
    border-radius: 12px;
    padding: 18px 22px;
}

.process-note svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent-color);
    margin-top: 2px;
}

.process-note p {
    font-size: 15px;
    color: var(--text-color);
}

.process-note strong {
    color: var(--accent-color);
}

/* ===== Location ===== */
.location {
    background: var(--bg-light);
}

.location-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.location-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    min-height: 420px;
    background: #e9edf1;
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.location-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 24px;
    transition: var(--transition);
    flex: 1;
}

.location-item:hover {
    border-color: rgba(21, 178, 74, 0.4);
    box-shadow: var(--shadow);
}

.location-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 12px;
    color: var(--primary-color);
}

.location-icon svg {
    width: 24px;
    height: 24px;
}

.location-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.location-item p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.6;
}

.location-item strong {
    color: var(--primary-color);
}

.location-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.location-gallery figure {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.location-gallery img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-gallery figure:hover img {
    transform: scale(1.04);
}

.location-gallery figcaption {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

/* ===== Contact ===== */
.contact {
    background: var(--bg-color);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background: linear-gradient(160deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    padding: 40px 34px;
    color: #ffffff;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 11px 0;
}

.contact-info-list svg {
    width: 22px;
    height: 22px;
    color: var(--brand-green);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-info-list span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.contact-info-list strong {
    font-size: 15.5px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.5;
}

.contact-form {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 34px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-group label em {
    color: #e0524d;
    font-style: normal;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-family);
    color: var(--text-color);
    background: var(--bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-green);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(21, 178, 74, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* Form message */
.form-message {
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 14.5px;
    text-align: center;
}

.form-message.success {
    background: #e6f6ef;
    color: #1e8e5a;
    border: 1px solid #b7e4cd;
}

.form-message.error {
    background: #fdeaea;
    color: #c0403b;
    border: 1px solid #f2c6c4;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    width: 40px;
    height: 48px;
    display: block;
    margin-bottom: 12px;
}

.footer-brand .logo-text {
    font-size: 22px;
    color: #ffffff;
}

.footer-brand p {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.7;
}

.footer-info p {
    font-size: 14.5px;
    line-height: 2;
}

.footer-info strong {
    color: #ffffff;
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    text-align: center;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
}

/* ===== Back to top ===== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--brand-green);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ===== Fade-in animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-step::after {
        display: none;
    }

    /* 1024px 이하: 햄버거 메뉴 (태블릿에서 메뉴 글자 줄바꿈 방지) */
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        background: #ffffff;
        box-shadow: var(--shadow-lg);
        transition: right 0.35s ease;
        padding: 90px 30px 30px;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 17px;
        color: var(--text-color) !important;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link-members {
        border: none;
        padding: 12px 0;
        font-size: 17px;
        color: var(--brand-green) !important;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 19px;
    }

    .logo-sub {
        display: none;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 44px;
        text-align: center;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-title-sub {
        font-size: 19px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-scroll {
        display: none;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .company-layout,
    .contact-layout,
    .location-layout,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .greeting {
        padding: 40px 24px;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .location-map,
    .location-map iframe {
        min-height: 300px;
    }

    .location-gallery {
        grid-template-columns: 1fr;
    }

    .location-gallery img {
        height: 240px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .about-grid,
    .services-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 29px;
    }

    .hero-badge {
        font-size: 12.5px;
    }

    .btn {
        padding: 13px 24px;
        font-size: 15px;
    }

    .company-table th {
        width: 80px;
    }
}
