@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #ffffff;
    --text: #111827;
    --muted: #5f6b7a;
    --line: #e5e7eb;
    --dark: #07111f;
    --blue: #0b2a5b;
    --blue-dark: #061a38;
    --navy: #0b1f3a;
    --gray: #f5f7fb;
    --card: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text);
    background: var(--bg);
    word-break: keep-all;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.logo-text {
    font-size: 20px;
}

.gnb {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
    font-weight: 700;
}

.gnb a {
    color: #374151;
}

.gnb a.active,
.gnb a:hover {
    color: var(--blue);
}

.header-cta {
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--dark);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.hero {
    padding: 110px 0;
    background:
        radial-gradient(circle at top right, rgba(22, 70, 255, 0.14), transparent 35%),
        linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1, h2, h3, p {
    margin-top: 0;
}

.hero h1 {
    margin-bottom: 24px;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.12;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.hero-desc {
    max-width: 640px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.75;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 900;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn.primary {
    background: var(--blue);
    color: #fff;
}

.btn.primary:hover {
    background: var(--blue-dark);
}

.btn.secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--line);
}

.btn.full {
    width: 100%;
}

.hero-card {
    padding: 42px;
    border-radius: 32px;
    background: var(--dark);
    color: #fff;
    box-shadow: 0 30px 80px rgba(7, 17, 31, 0.22);
}

.hero-card span {
    display: inline-block;
    margin-bottom: 26px;
    color: #9db4ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hero-card h2 {
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.hero-card p {
    color: #cbd5e1;
    line-height: 1.7;
}

.section {
    padding: 90px 0;
}

.section-title {
    max-width: 720px;
    margin-bottom: 42px;
}

.section-title h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.section-title p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.card-grid {
    display: grid;
    gap: 24px;
}

.card-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.info-card,
.service-card,
.portfolio-card,
.about-side,
.contact-form,
.contact-box {
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--card);
}

.info-card {
    padding: 32px;
}

.info-card h3,
.service-card h2,
.portfolio-content h2 {
    margin-bottom: 14px;
    font-size: 24px;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.info-card p,
.service-card p,
.portfolio-content p {
    color: var(--muted);
    line-height: 1.7;
}

.dark-section {
    background: var(--dark);
    color: #fff;
}

.dark-section p {
    color: #cbd5e1;
}

.split-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.split-box h2 {
    margin-bottom: 16px;
    font-size: 40px;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.page-hero {
    padding: 90px 0 70px;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.15;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.page-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.service-card {
    min-height: 360px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.check-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 26px;
    color: #374151;
    font-weight: 700;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 900;
}

.text-link {
    display: inline-flex;
    margin-top: 24px;
    color: var(--blue);
    font-weight: 900;
}

.gray-section {
    background: var(--gray);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-list div {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
}

.process-list strong {
    display: block;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 22px;
    font-weight: 900;
}

.process-list h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 900;
}

.process-list p {
    color: var(--muted);
    line-height: 1.65;
}

.portfolio-card {
    overflow: hidden;
}

.portfolio-thumb {
    height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(22, 70, 255, 0.92), rgba(7, 17, 31, 0.96)),
        #111827;
    color: #fff;
}

.portfolio-thumb span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 900;
}

.portfolio-content {
    padding: 30px;
}

.portfolio-category {
    color: var(--blue) !important;
    font-size: 13px;
    font-weight: 900;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.about-main h2 {
    margin-bottom: 22px;
    font-size: 40px;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.about-main p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.about-side {
    padding: 34px;
}

.about-side h3 {
    margin-bottom: 22px;
    font-size: 26px;
    font-weight: 900;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.25;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.contact-info p {
    color: var(--muted);
    line-height: 1.8;
}

.contact-box {
    margin-top: 18px;
    padding: 24px;
}

.contact-box strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 900;
}

.contact-box p {
    margin: 0;
}

.contact-form {
    padding: 34px;
}

.contact-form label {
    display: block;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-top: 8px;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
}

.form-success {
    margin-bottom: 22px;
    padding: 16px;
    border-radius: 14px;
    background: #eef4ff;
    color: var(--blue);
    font-weight: 900;
}

.site-footer {
    padding: 46px 0;
    background: #050b14;
    color: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.site-footer strong {
    font-size: 20px;
    font-weight: 900;
}

.site-footer p,
.site-footer a {
    color: #cbd5e1;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0 0 8px;
}

@media (max-width: 900px) {
    .header-inner {
        height: auto;
        padding: 18px 0;
        flex-wrap: wrap;
    }

    .gnb {
        order: 3;
        width: 100%;
        gap: 16px;
        overflow-x: auto;
        padding-top: 10px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-grid,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .card-grid.three,
    .card-grid.two,
    .process-list {
        grid-template-columns: 1fr;
    }

    .split-box,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-info {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero h1,
    .page-hero h1 {
        font-size: 36px;
    }

    .hero-desc,
    .page-hero p {
        font-size: 16px;
    }

    .hero-card,
    .service-card,
    .contact-form,
    .about-side {
        padding: 26px;
        border-radius: 22px;
    }

    .btn {
        width: 100%;
    }
}


.portfolio-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(7, 17, 31, 0.12);
}

.portfolio-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f7;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.45s ease;
}

.portfolio-card:hover .portfolio-thumb img {
    transform: scale(1.07);
}

.portfolio-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(7, 17, 31, 0.04) 0%,
        rgba(7, 17, 31, 0.2) 45%,
        rgba(7, 17, 31, 0.62) 100%
    );
}

.portfolio-thumb span {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.portfolio-content {
    padding: 30px;
}

.portfolio-category {
    margin-bottom: 10px;
    color: var(--blue) !important;
    font-size: 13px;
    font-weight: 900;
}

.portfolio-content h2 {
    margin-bottom: 14px;
    color: var(--navy);
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.portfolio-content p {
    color: var(--muted);
    line-height: 1.75;
}

@media (max-width: 520px) {
    .portfolio-thumb {
        aspect-ratio: 16 / 11;
    }

    .portfolio-thumb span {
        left: 18px;
        bottom: 18px;
    }

    .portfolio-content {
        padding: 24px;
    }
}

/* =========================
   Image Hero
========================= */

.image-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: none;
}

.home-hero {
    min-height: calc(100vh - 76px);
    background-image: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=85');
}

.services-hero {
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=85');
}

.portfolio-hero {
    background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85');
}

.about-hero {
    background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=85');
}

.contact-hero {
    background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1800&q=85');
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(7, 17, 31, 0.88) 0%,
            rgba(7, 17, 31, 0.72) 42%,
            rgba(7, 17, 31, 0.28) 100%
        );
}

.hero-content,
.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    color: #fff;
}

.image-hero h1 {
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.12;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.image-hero p {
    color: rgba(255, 255, 255, 0.82);
}

.image-hero .hero-desc,
.page-hero-content p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
    line-height: 1.75;
    font-weight: 500;
}

.eyebrow.light {
    color: rgba(255, 255, 255, 0.78);
}

.btn.ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* =========================
   Hero Animation
========================= */

.animate-hero .eyebrow,
.animate-hero h1,
.animate-hero p,
.animate-hero .hero-buttons {
    opacity: 0;
    transform: translateY(26px);
    animation: heroFadeUp 0.85s ease forwards;
}

.animate-hero .eyebrow {
    animation-delay: 0.1s;
}

.animate-hero h1 {
    animation-delay: 0.22s;
}

.animate-hero p {
    animation-delay: 0.36s;
}

.animate-hero .hero-buttons {
    animation-delay: 0.5s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 사용자가 움직임 줄이기를 켜둔 경우 애니메이션 제거 */
@media (prefers-reduced-motion: reduce) {
    .animate-hero .eyebrow,
    .animate-hero h1,
    .animate-hero p,
    .animate-hero .hero-buttons {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .image-hero {
        min-height: 520px;
    }

    .home-hero {
        min-height: 620px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(7, 17, 31, 0.9) 0%,
                rgba(7, 17, 31, 0.74) 58%,
                rgba(7, 17, 31, 0.48) 100%
            );
    }
}

@media (max-width: 520px) {
    .image-hero {
        min-height: 500px;
    }

    .home-hero {
        min-height: 560px;
    }

    .image-hero h1 {
        font-size: 36px;
        letter-spacing: -0.05em;
    }

    .image-hero .hero-desc,
    .page-hero-content p {
        font-size: 16px;
    }
}

