/*
Theme Name: Clean Plumbing Startup
Theme URI: https://clean.gmi.or.kr
Description: 청년배관창업 - 청년배관케어 청년 배관 기술 창업 전문 사이트
Author: CN Solution
Version: 1.0.0
Text Domain: clean-plumbing
*/

:root {
    --primary: #00838F;
    --primary-dark: #006064;
    --primary-light: #00ACC1;
    --accent: #FF6F00;
    --accent-light: #FFA000;
    --navy: #0D1B2A;
    --navy-light: #132040;
    --text: #1a1a2e;
    --text-light: #4a5568;
    --gray: #6b7280;
    --light-gray: #f5f7fa;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.2);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    word-break: keep-all;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* ========== HEADER ========== */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: transparent; transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(13, 27, 42, 0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
}
.header-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 32px;
    height: 80px; display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.03em;
}
.site-logo svg { width: 36px; height: 36px; }
.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav a {
    color: rgba(255,255,255,0.85); font-size: 16px; font-weight: 600;
    padding: 10px 18px; border-radius: 10px; transition: var(--transition);
}
.header-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.header-cta {
    display: inline-flex !important; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
    color: var(--white) !important; padding: 12px 28px !important;
    border-radius: 50px !important; font-weight: 700 !important;
    box-shadow: 0 4px 20px rgba(255, 111, 0, 0.4);
}
.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 111, 0, 0.5) !important;
}
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span {
    display: block; width: 26px; height: 2.5px; background: var(--white);
    border-radius: 2px; transition: var(--transition);
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative; overflow: hidden; background: var(--navy);
}
.hero-slides {
    display: flex; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
    min-width: 100%; position: relative; display: flex; align-items: center;
    justify-content: center;
}
.hero-slide-bg {
    position: absolute; inset: 0; z-index: 1;
}
.hero-slide-bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-slide-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,96,100,0.85) 0%, rgba(0,131,143,0.6) 50%, rgba(13,27,42,0.8) 100%);
    z-index: 2;
}
.hero-slide-content {
    position: relative; z-index: 3; text-align: center;
    max-width: 900px; padding: 0 32px;
}
.hero-slide-content h1 {
    font-size: clamp(52px, 9vw, 88px); font-weight: 900; color: var(--white);
    line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 24px;
}
.hero-slide-content h1 .amber { color: var(--accent-light); }
.hero-slide-content .sub-title {
    font-size: clamp(20px, 3vw, 28px); font-weight: 700;
    color: var(--accent-light); margin-bottom: 16px; letter-spacing: 0.02em;
}
.hero-slide-content p {
    font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.85);
    line-height: 1.7; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero-slide-content .hero-btns {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* Slider dots */
.slider-dots {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; gap: 12px;
}
.slider-dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: rgba(255,255,255,0.35); border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer; transition: var(--transition);
}
.slider-dot.active {
    background: var(--accent-light); border-color: var(--accent-light);
    transform: scale(1.2);
}
/* Slider arrows */
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10; width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
}
.slider-arrow:hover { background: rgba(255,255,255,0.2); }
.slider-arrow svg { width: 24px; height: 24px; stroke: var(--white); fill: none; stroke-width: 2.5; }
.slider-prev { left: 28px; }
.slider-next { right: 28px; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; border-radius: 14px; transition: var(--transition); cursor: pointer; white-space: nowrap;
}
.btn-lg { padding: 20px 48px; font-size: 19px; border-radius: 16px; }
.btn-md { padding: 16px 36px; font-size: 17px; }
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white); box-shadow: 0 6px 30px rgba(255,111,0,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,111,0,0.5); }
.btn-outline-white {
    background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); transform: translateY(-3px); }
.btn-teal {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white); box-shadow: 0 6px 30px rgba(0,131,143,0.4);
}
.btn-teal:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,131,143,0.5); }
.btn-white {
    background: var(--white); color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(0,0,0,0.2); }

/* ========== TRUST STATS BAR ========== */
.trust-stats {
    background: var(--white); padding: 48px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08); position: relative; z-index: 5;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.stat-item { padding: 16px; }
.stat-number {
    font-size: clamp(32px, 4vw, 48px); font-weight: 900; color: var(--primary);
    line-height: 1.2; margin-bottom: 8px;
}
.stat-number .stat-accent { color: var(--accent); }
.stat-label {
    font-size: 16px; font-weight: 600; color: var(--text-light);
}

/* ========== SECTIONS ========== */
.section { padding: 120px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-teal { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); }
.section-gray { background: var(--light-gray); }
.section-header { text-align: center; margin-bottom: 72px; }
.section-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,131,143,0.08); color: var(--primary);
    padding: 10px 24px; border-radius: 50px; font-size: 15px; font-weight: 700; margin-bottom: 20px;
}
.section-dark .section-badge { background: rgba(255,255,255,0.1); color: var(--accent-light); }
.section-teal .section-badge { background: rgba(255,255,255,0.15); color: var(--white); }
.section-title {
    font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.25;
    letter-spacing: -0.03em; margin-bottom: 20px;
}
.section-title .accent { color: var(--primary); }
.section-dark .section-title .accent { color: var(--accent-light); }
.section-teal .section-title .accent { color: var(--accent-light); }
.section-desc {
    font-size: 19px; color: var(--text-light); max-width: 700px; margin: 0 auto; line-height: 1.7;
}
.section-dark .section-desc { color: rgba(255,255,255,0.75); }
.section-teal .section-desc { color: rgba(255,255,255,0.85); }

/* ========== IMAGE SECTIONS ========== */
.img-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.img-showcase img {
    border-radius: var(--radius); width: 100%; height: 360px; object-fit: cover;
    box-shadow: var(--shadow-md); transition: var(--transition);
}
.img-showcase img:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ========== FEATURE CARDS ========== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card {
    background: var(--white); border-radius: var(--radius); padding: 48px 36px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: var(--transition); text-align: center;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-icon {
    width: 80px; height: 80px; margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(0,131,143,0.1), rgba(0,172,193,0.1));
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 40px; height: 40px; stroke: var(--primary); }
.feature-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.feature-card p { font-size: 16px; color: var(--text-light); line-height: 1.7; }
.section-dark .feature-card { background: var(--navy-light); border-color: rgba(255,255,255,0.08); }
.section-dark .feature-card:hover { border-color: var(--accent); }
.section-dark .feature-card h3 { color: var(--white); }
.section-dark .feature-card p { color: rgba(255,255,255,0.7); }
.section-dark .feature-icon { background: linear-gradient(135deg, rgba(255,111,0,0.15), rgba(255,160,0,0.1)); }
.section-dark .feature-icon svg { stroke: var(--accent-light); }

/* ========== SPLIT CONTENT ========== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 480px; object-fit: cover; }
.split-text h2 {
    font-size: clamp(28px, 4vw, 42px); font-weight: 900; line-height: 1.3;
    letter-spacing: -0.02em; margin-bottom: 20px;
}
.split-text p { font-size: 18px; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.split-list { margin: 28px 0; }
.split-list li {
    display: flex; align-items: flex-start; gap: 14px; padding: 12px 0;
    font-size: 17px; color: var(--text); font-weight: 500;
}
.split-list li svg { width: 24px; height: 24px; flex-shrink: 0; stroke: var(--primary); margin-top: 2px; }

/* ========== VIDEO ========== */
.video-wrap {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-xl); aspect-ratio: 16/9; max-width: 960px; margin: 0 auto; cursor: pointer;
}
.video-wrap img { width: 100%; height: 100%; object-fit: cover; }
.video-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100px; height: 100px; background: rgba(255,255,255,0.95);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3); transition: var(--transition);
}
.video-play-btn svg { width: 40px; height: 40px; fill: var(--primary); margin-left: 6px; }
.video-wrap:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); }

/* ========== CTA BANNER ========== */
.cta-banner {
    padding: 120px 0; text-align: center; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
}
.cta-banner::before {
    content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,111,0,0.15) 0%, transparent 70%); border-radius: 50%;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
    font-size: clamp(32px, 5vw, 48px); font-weight: 900; color: var(--white);
    margin-bottom: 20px; line-height: 1.3;
}
.cta-banner h2 .accent { color: var(--accent-light); }
.cta-banner p { font-size: 20px; color: rgba(255,255,255,0.8); margin-bottom: 48px; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-phone { font-size: clamp(36px, 6vw, 56px); font-weight: 900; color: var(--accent-light); margin-bottom: 36px; }
.cta-phone a { color: inherit; }

/* ========== FOOTER ========== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-company h3 { font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 20px; }
.footer-company p { font-size: 15px; line-height: 1.9; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.footer-col ul li { padding: 6px 0; }
.footer-col ul li a { font-size: 15px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-phone { font-size: 32px; font-weight: 900; color: var(--accent-light); margin-bottom: 8px; }
.footer-bottom { padding: 28px 0; text-align: center; font-size: 14px; color: rgba(255,255,255,0.4); }

/* ========== INQUIRY PAGE ========== */
.inquiry-page { padding: 160px 0 100px; min-height: 100vh; background: var(--light-gray); }
.inquiry-form-wrap {
    max-width: 680px; margin: 0 auto; background: var(--white);
    border-radius: var(--radius-lg); padding: 64px 56px; box-shadow: var(--shadow-lg);
}
.inquiry-form-wrap h1 { font-size: 36px; font-weight: 900; text-align: center; margin-bottom: 12px; }
.inquiry-form-desc { text-align: center; font-size: 17px; color: var(--gray); margin-bottom: 48px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-group .required { color: #e53e3e; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 16px 20px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-size: 16px; transition: var(--transition); background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,131,143,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consent-group {
    display: flex; align-items: center; gap: 10px; margin: 32px 0; padding: 20px;
    background: var(--light-gray); border-radius: var(--radius-sm);
}
.consent-group input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--primary); flex-shrink: 0; }
.consent-label { font-size: 15px; color: var(--text-light); cursor: pointer; }
.privacy-link { color: var(--primary); font-weight: 700; cursor: pointer; text-decoration: underline; }
.form-submit {
    width: 100%; padding: 20px; background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white); font-size: 18px; font-weight: 700; border: none;
    border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
    box-shadow: 0 6px 25px rgba(255,111,0,0.3);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 35px rgba(255,111,0,0.4); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-message { display: none; margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; text-align: center; }
.form-message.success { background: #f0fff4; color: #276749; border: 1px solid #c6f6d5; }
.form-message.error { background: #fff5f5; color: #c53030; border: 1px solid #fed7d7; }

/* ========== PRIVACY MODAL ========== */
.privacy-modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    z-index: 10000; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px);
}
.privacy-modal-overlay.active { display: flex; }
.privacy-modal {
    background: var(--white); border-radius: var(--radius); padding: 48px;
    max-width: 560px; width: 100%; max-height: 80vh; overflow-y: auto; box-shadow: var(--shadow-xl);
}
.privacy-modal h3 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.privacy-modal table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.privacy-modal table th, .privacy-modal table td { padding: 14px 18px; border: 1px solid var(--border); font-size: 15px; }
.privacy-modal table th { background: var(--light-gray); font-weight: 700; width: 30%; text-align: left; }
.privacy-modal p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 24px; }
.privacy-modal-close {
    width: 100%; padding: 16px; background: var(--primary); color: var(--white);
    font-size: 16px; font-weight: 700; border: none; border-radius: var(--radius-sm); cursor: pointer;
}

/* ========== FLOATING CTA ========== */
.floating-cta { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.floating-btn {
    width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 25px rgba(0,0,0,0.25); transition: var(--transition);
}
.floating-btn:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 10px 35px rgba(0,0,0,0.35); }
.floating-btn-phone { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.floating-btn-phone svg { stroke: var(--white); width: 28px; height: 28px; }
.floating-btn-inquiry { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.floating-btn-inquiry svg { stroke: var(--white); width: 26px; height: 26px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 1024px) {
    .split { grid-template-columns: 1fr; gap: 48px; }
    .split-reverse { direction: ltr; }
    .slider-arrow { display: none; }
}
@media (max-width: 768px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .header-inner { height: 68px; padding: 0 20px; }
    .site-logo { font-size: 19px; }
    .site-logo svg { width: 30px; height: 30px; }
    .header-nav {
        display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(13,27,42,0.98); flex-direction: column; align-items: center;
        justify-content: center; gap: 12px; backdrop-filter: blur(20px); z-index: 999;
    }
    .header-nav.open { display: flex; }
    .header-nav a { font-size: 22px; padding: 16px 36px; }
    .header-cta { margin-top: 16px; font-size: 20px !important; padding: 16px 40px !important; }
    .mobile-toggle { display: flex; z-index: 1001; }
    .hero-slide-content .hero-btns { flex-direction: column; }
    .hero-slide-content .hero-btns .btn { width: 100%; justify-content: center; }
    .section { padding: 80px 0; }
    .section-header { margin-bottom: 48px; }
    .section-desc { font-size: 16px; }
    .feature-grid { grid-template-columns: 1fr; gap: 20px; }
    .feature-card { padding: 36px 28px; }
    .img-showcase { grid-template-columns: 1fr; }
    .img-showcase img { height: 260px; }
    .split-img img { height: 300px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-number { font-size: 28px; }
    .trust-stats { padding: 32px 0; }
    .cta-banner { padding: 80px 0; }
    .cta-phone { font-size: 36px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .inquiry-form-wrap { padding: 40px 28px; }
    .inquiry-form-wrap h1 { font-size: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .floating-cta { bottom: 20px; right: 16px; }
    .floating-btn { width: 56px; height: 56px; }
    .slider-dots { bottom: 20px; }
}
@media (max-width: 480px) {
    .hero-slide-content h1 { font-size: 44px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
