@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

:root {
    --accent: #FF5500;
    --text:   #111111;
    --muted:  #777777;
    --light:  #F5F5F5;
    --border: #E8E8E8;
    --white:  #FFFFFF;
    --radius: 12px;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── CONTAINER ─────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── HEADER ────────────────────────────── */
header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.3rem; font-weight: 900; color: var(--text); letter-spacing: -0.5px; display: inline-flex; align-items: center; gap: 0.4rem; }
.logo a img { display: inline; }
.logo a span { color: var(--accent); }

nav ul { list-style: none; display: flex; gap: 0.25rem; align-items: center; }
nav ul li a {
    display: block; padding: 0.45rem 0.9rem;
    color: var(--muted); font-weight: 500; font-size: 0.875rem;
    white-space: nowrap; border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}
nav ul li a:hover { color: var(--text); background: var(--light); }
nav ul li a.active { color: var(--text); font-weight: 600; }
nav ul li.nav-cta a {
    background: var(--accent); color: #fff;
    font-weight: 700; padding: 0.5rem 1.1rem;
}
nav ul li.nav-cta a:hover { background: #e04a00; }

/* ── HAMBURGER ─────────────────────────── */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 0.4rem;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ──────────────────────────────── */
.hero {
    position: relative; min-height: 88vh;
    display: flex; align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1600&q=80');
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.75) 40%, rgba(0,0,0,0.2));
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900; line-height: 1;
    letter-spacing: -0.04em; color: #fff;
    margin-bottom: 1.5rem;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 480px; line-height: 1.8; margin-bottom: 2.5rem; }
.hero-badge {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--accent); border: 1px solid rgba(255,85,0,0.5);
    padding: 0.4rem 0.9rem; border-radius: 100px; margin-bottom: 1.5rem;
}

/* ── BUTTONS ───────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.75rem; border-radius: var(--radius);
    font-weight: 600; font-size: 0.9rem; cursor: pointer;
    border: none; font-family: inherit; transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e04a00; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,85,0,0.3); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: #999; }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: var(--light); }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; pointer-events: none; }

/* ── SECTIONS ──────────────────────────── */
.section { padding: 6rem 0; }
.section-gray { background: var(--light); }
.sec-label {
    display: block; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 3px;
    color: var(--accent); margin-bottom: 0.75rem;
}
.sec-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800; letter-spacing: -0.035em;
    line-height: 1.15; margin-bottom: 1rem;
}
.sec-sub { color: var(--muted); font-size: 1rem; max-width: 520px; line-height: 1.75; }
.sec-header { margin-bottom: 3.5rem; }

/* ── STATS ─────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 2.5rem 1rem; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-num { font-size: 3rem; font-weight: 900; letter-spacing: -0.05em; color: var(--text); line-height: 1; }
.stat-num span { color: var(--accent); }
.stat-label { color: var(--muted); font-size: 0.82rem; margin-top: 0.3rem; }

/* ── CARDS ─────────────────────────────── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* ── PHOTO STRIP ───────────────────────── */
.photo-strip {
    width: 100%; height: 420px; overflow: hidden;
    position: relative;
}
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, transparent 60%);
    display: flex; align-items: center;
}
.photo-strip-text { padding: 0 4rem; color: #fff; max-width: 500px; }
.photo-strip-text h2 { font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.photo-strip-text p { color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 1.5rem; }

/* ── PHOTO + TEXT ──────────────────────── */
.photo-text { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 460px; }
.photo-text-img { overflow: hidden; }
.photo-text-img img { width: 100%; height: 100%; object-fit: cover; }
.photo-text-body { padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
.photo-text.reverse .photo-text-img { order: 2; }
.photo-text.reverse .photo-text-body { order: 1; }

/* ── SERVICE BLOCKS ────────────────────── */
.service-item { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; min-height: 380px; }
.service-item-img { overflow: hidden; }
.service-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-item:hover .service-item-img img { transform: scale(1.04); }
.service-item-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.service-item.reverse .service-item-img { order: 2; }
.service-item.reverse .service-item-body { order: 1; }
.service-num { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 0.75rem; }
.service-item h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.service-item p { color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.feature-list li { font-size: 0.875rem; color: var(--muted); padding-left: 1.2rem; position: relative; }
.feature-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-size: 0.75rem; top: 0.15rem; }

/* ── PORTFOLIO GRID ────────────────────── */
.port-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.port-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.2s, transform 0.2s; }
.port-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.port-card-img { height: 240px; overflow: hidden; }
.port-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.port-card:hover .port-card-img img { transform: scale(1.05); }
.port-card-body { padding: 1.5rem; }
.port-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 0.5rem; display: block; }
.port-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.port-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* ── FAQ ───────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%; background: none; border: none; text-align: left;
    padding: 1.4rem 2.5rem 1.4rem 0; font-size: 0.95rem; font-weight: 600;
    color: var(--text); cursor: pointer; position: relative; font-family: inherit;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--accent); font-weight: 300; flex-shrink: 0; }
.faq-question.active::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding: 0 0 1.4rem; color: var(--muted); font-size: 0.9rem; line-height: 1.75; }

/* ── FORM ──────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.form-control {
    padding: 0.8rem 1rem; border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 0.95rem; color: var(--text); font-family: inherit;
    background: var(--white); transition: border-color 0.2s; width: 100%; box-sizing: border-box;
}
.form-control:focus { outline: none; border-color: var(--accent); }
.form-control::placeholder { color: #bbb; }
select.form-control { cursor: pointer; }
textarea.form-control { min-height: 130px; resize: vertical; }
.file-upload {
    display: block; border: 1.5px dashed var(--border); border-radius: 8px;
    padding: 2rem 1.5rem; text-align: center; cursor: pointer;
    color: var(--muted); font-size: 0.875rem; transition: border-color 0.2s, background 0.2s;
}
.file-upload:hover { border-color: var(--accent); background: #fff8f5; }
input[type="file"] { display: none; }

/* ── PAGE HERO ─────────────────────────── */
.page-hero { padding: 5rem 0 4rem; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.5rem,5vw,4rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1rem; }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 550px; line-height: 1.8; }

/* ── SCROLL REVEAL ─────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-stagger > *.visible { opacity: 1; transform: none; }

/* ── TOAST ─────────────────────────────── */
.toast {
    position: fixed; bottom: 2rem; left: 50%;
    transform: translateX(-50%) translateY(140%);
    background: var(--text); color: #fff;
    padding: 0.85rem 1.75rem; border-radius: 8px;
    font-size: 0.875rem; z-index: 9999;
    white-space: nowrap; max-width: 90vw; text-align: center;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.toast.toast-success { background: #16a34a; }
.toast.toast-error   { background: #dc2626; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── FOOTER ────────────────────────────── */
footer { background: #111; color: #fff; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-size: 1.2rem; font-weight: 900; margin-bottom: 0.75rem; }
.footer-logo span { color: var(--accent); }
.footer-desc { color: #888; font-size: 0.875rem; line-height: 1.7; }
footer h4 { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #555; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { color: #888; font-size: 0.875rem; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-links li { color: #888; font-size: 0.875rem; }
.footer-bottom { border-top: 1px solid #222; padding-top: 2rem; display: flex; justify-content: space-between; color: #555; font-size: 0.8rem; }

/* ── CONTACT INFO ──────────────────────── */
.ci-block { display: flex; gap: 1rem; margin-bottom: 2rem; }
.ci-icon { font-size: 1.4rem; flex-shrink: 0; }
.ci-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 0.2rem; }
.ci-value { font-size: 0.95rem; color: var(--text); }
.ci-sub { font-size: 0.82rem; color: var(--muted); margin-top: 0.1rem; }

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 1024px) {
    .hamburger { display: flex; }
    header .container { position: relative; }
    nav {
        display: none; position: absolute; top: calc(100% + 1px);
        left: 0; right: 0; background: rgba(255,255,255,0.97);
        backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
        padding: 1.25rem 2rem 1.75rem; box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    }
    nav.open { display: block; }
    nav ul { flex-direction: column; gap: 0; }
    nav ul li a { padding: 0.85rem 0; border-radius: 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; background: none !important; color: var(--muted) !important; }
    nav ul li:last-child a { border-bottom: none; }
    nav ul li.nav-cta a { color: var(--accent) !important; font-weight: 700; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .photo-text, .service-item { grid-template-columns: 1fr; }
    .photo-text-body { padding: 2.5rem 2rem; }
    .photo-text.reverse .photo-text-img, .photo-text.reverse .photo-text-body { order: unset; }
    .service-item.reverse .service-item-img, .service-item.reverse .service-item-body { order: unset; }
    .photo-strip-text { padding: 0 2rem; }
    .port-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; }
    .stats { grid-template-columns: 1fr; }
    .stat + .stat { border-left: none; border-top: 1px solid var(--border); }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .container { padding: 0 1.25rem; }
    .section { padding: 4rem 0; }
    .hero { min-height: auto; padding: 5rem 0 4rem; }
    .hero h1 { font-size: 2.5rem; }
    .photo-strip { height: 280px; }
    .service-item-img { height: 220px; }
    footer { padding: 3rem 0 1.5rem; }
    .page-hero { padding: 3.5rem 0 2.5rem; }
}
