/* ===================================
   TOPACK — Premium Industrial Design
   =================================== */

/* ── Variables ── */
:root {
    --navy: #0a1628;
    --navy-2: #0f2040;
    --blue: #1d5fce;
    --blue-light: #3b82f6;
    --cyan: #38bdf8;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --text: #0f172a;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --trans: 0.45s var(--ease-out);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.14);
    --shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.18);

    --radius: 14px;
    --radius-lg: 24px;
    --container: 1260px;
}

/* ── Reset ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ════════════════════════════
   TOPACK FLOATING ICON
════════════════════════════ */
.topack-float {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    text-decoration: none;
}

.topack-float-label {
    background: linear-gradient(135deg, #1a3a8f, #2952c8);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 10px 14px 10px 16px;
    border-radius: 0 12px 12px 0;
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    pointer-events: none;
    line-height: 1.4;
    text-align: center;
}

.topack-float:hover .topack-float-label {
    max-width: 160px;
    opacity: 1;
}

.topack-float-icon {
    background: linear-gradient(135deg, #1a3a8f, #2952c8);
    border-radius: 14px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(26, 58, 143, 0.45);
    transition: box-shadow 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.topack-float:hover .topack-float-icon {
    box-shadow: 0 10px 32px rgba(26, 58, 143, 0.65);
    transform: scale(1.08);
}

.topack-float-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .topack-float {
        left: 12px;
    }

    .topack-float-icon {
        width: 48px;
        height: 48px;
    }

    .topack-float-icon img {
        width: 28px;
        height: 28px;
    }
}


body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ── Container ── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 48px;
}

/* ════════════════════════════
   HEADER
════════════════════════════ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: 28px 0;
    transition: var(--trans);
}

header.scrolled {
    padding: 14px 0;
    background: rgba(10, 22, 40, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #1a3a8f;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}



.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
    transition: color 0.25s;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--white);
}

/* ════════════════════════════
   HAMBURGER & MOBILE DRAWER
════════════════════════════ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.35s var(--ease-out), opacity 0.25s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(10, 22, 40, 0.65);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.35s;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Drawer panel */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    z-index: 1200;
    background: var(--white);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    padding: 0 0 40px;
    overflow-y: auto;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--gray-200);
}

.drawer-header .logo {
    font-size: 1.4rem;
    color: var(--navy);
}

.drawer-header .logo .logo-img {
    filter: none;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-400);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-close:hover {
    background: var(--gray-100);
    color: var(--navy);
}

.drawer-links {
    padding: 20px 0;
    flex: 1;
}

.drawer-links li a {
    display: block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.drawer-links li a:hover {
    color: var(--blue);
    border-left-color: var(--blue);
    background: rgba(29, 95, 206, 0.05);
    padding-left: 34px;
}

.drawer-cta {
    display: block;
    margin: 0 28px 24px;
    padding: 14px 24px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--trans);
    box-shadow: 0 6px 20px rgba(29, 95, 206, 0.3);
}

.drawer-cta:hover {
    background: var(--blue-light);
}

.drawer-contact {
    padding: 20px 28px 0;
    border-top: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawer-contact p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Show hamburger on mobile, hide on desktop */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none !important;
    }
}

.btn-primary {
    background: var(--blue);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    transition: var(--trans) !important;
}

.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 95, 206, 0.45);
}

/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.video-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg,
            rgba(10, 22, 40, 0.75) 0%,
            rgba(15, 32, 64, 0.55) 60%,
            rgba(10, 22, 40, 0.35) 100%);
}

/* Decorative grid lines */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    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: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.9s var(--ease-out) 0.2s forwards;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--cyan);
    border-radius: 2px;
}

.hero h1 {
    font-size: clamp(1.9rem, 3.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 0.4s forwards;
}

.hero h1 em {
    font-style: normal;
    color: var(--cyan);
    display: block;
}

.hero>.hero-content>p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
    margin-bottom: 44px;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}

.hero-btns {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 0.8s forwards;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--trans);
    box-shadow: 0 6px 24px rgba(29, 95, 206, 0.4);
}

.btn-main:hover {
    background: var(--blue-light);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(29, 95, 206, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--trans);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* Scroll arrow */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollPulse 1.5s infinite;
}

@keyframes scrollPulse {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(14px);
        opacity: 0;
    }
}

/* Stats bar inside hero bottom */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 20px 0;
}

.hero-stats .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: -0.5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* ════════════════════════════
   SECTION COMMONS
════════════════════════════ */
section {
    padding: 130px 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-tag::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
}

h2.section-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 70px;
    color: var(--navy);
}

/* ════════════════════════════
   ABOUT
════════════════════════════ */
.about {
    background: var(--gray-50);
    position: relative;
    background-image: url('assets/images/handshake.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(248, 250, 252, 0.62);
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--trans);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.about-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(29, 95, 206, 0.1), rgba(56, 189, 248, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 28px;
    transition: var(--trans);
}

.about-card:hover .icon-box {
    background: var(--blue);
    color: var(--white);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--navy);
}

.about-card p {
    font-size: 0.94rem;
    color: var(--gray-600);
    line-height: 1.75;
}

/* ════════════════════════════
   TECHNOLOGY
════════════════════════════ */
.tech {
    background: var(--white);
    position: relative;
    background-image: url('assets/images/품질.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.tech::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.62);
    z-index: 0;
}

.tech .container {
    position: relative;
    z-index: 1;
}

.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-content h2.section-title {
    margin-bottom: 20px;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.tech-lead {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 48px;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: var(--trans);
    cursor: default;
}

.tech-item:hover {
    border-color: var(--blue-light);
    background: rgba(59, 130, 246, 0.04);
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.tech-num {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: 0.05em;
    padding: 5px 10px;
    background: rgba(29, 95, 206, 0.1);
    border-radius: 6px;
    line-height: 1;
    margin-top: 2px;
}

.tech-item p {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.5;
}

/* Visual side */
.tech-visual {
    position: relative;
    height: 520px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--navy), var(--navy-2));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
    /* 비주얼 효과를 위해 투명도 조절 */
}

.tech-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.circle-animation {
    position: absolute;
    border: 1.5px solid rgba(56, 189, 248, 0.25);
    border-radius: 50%;
    animation: spin 14s linear infinite;
}

.circle-animation:nth-child(1) {
    width: 320px;
    height: 320px;
    animation-duration: 14s;
}

.circle-animation:nth-child(2) {
    width: 220px;
    height: 220px;
    animation-duration: 9s;
    animation-direction: reverse;
    border-color: rgba(29, 95, 206, 0.3);
}

.circle-animation::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--cyan);
    border-radius: 50%;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 16px var(--cyan);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.core-box {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 32px 48px;
    color: var(--white);
}

.core-box h4 {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--cyan);
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.core-box p {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* ════════════════════════════
   CASE STUDY
════════════════════════════ */
.cases {
    background: var(--gray-50);
}

.cases-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
}

.cases-header h2.section-title {
    margin-bottom: 0;
}

.cases-header a {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: gap 0.25s;
}

.cases-header a:hover {
    gap: 12px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.case-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--trans);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.case-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease-out);
    display: block;
}

.case-card:hover .case-img {
    transform: scale(1.07);
}

/* overlay on image */
.case-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 22, 40, 0.4), rgba(10, 22, 40, 0.4)), url('assets/images/페이지배경.png') no-repeat center center !important;
    pointer-events: none;
}

.case-tag-overlay {
    position: absolute;
    bottom: 14px;
    left: 20px;
    z-index: 2;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--white);
    background: rgba(29, 95, 206, 0.85);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

.case-info {
    padding: 28px 32px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.case-info>p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-detail-list {
    margin-top: auto;
    border-top: 1px solid var(--gray-100);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.case-detail-list li {
    font-size: 0.83rem;
    color: var(--gray-600);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.case-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-light);
}

/* ════════════════════════════
   MODAL
════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1800;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.modal.open {
    display: flex;
}

.modal-content-container {
    max-width: 860px;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    animation: modalUp 0.45s var(--ease-out);
    box-shadow: var(--shadow-xl);
}

@keyframes modalUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-img-view {
    width: 100%;
    height: 380px;
    object-fit: cover;
    background: var(--gray-200);
    display: block;
}

.modal-text {
    padding: 36px 44px 44px;
}

.modal-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.modal-text p {
    font-size: 0.97rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.modal-close {
    position: fixed;
    top: 28px;
    right: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.4rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.3s;
    line-height: 1;
    z-index: 1900;
    background: none;
    border: none;
    padding: 0;
}

.modal-close:hover {
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

/* ════════════════════════════
   SERVICE / PRODUCTS
════════════════════════════ */
.service {
    background: var(--white);
}

.service-intro {
    max-width: 580px;
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 64px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
    transition: var(--trans);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-light);
}

.service-img {
    height: 320px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
}

/* Removed item-specific background gradients */

.service-img svg {
    width: 80%;
    height: 80%;
    transition: var(--trans);
}

.service-item:hover .service-img svg {
    transform: scale(1.05);
}

.service-footer {
    padding: 24px 30px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.service-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
}

.service-arrow {
    position: absolute;
    right: 30px;
    font-size: 1.4rem;
    color: var(--navy);
    transition: var(--trans);
}

.service-item:hover .service-arrow {
    transform: translateX(8px);
    color: var(--blue);
}

/* Repurposed body to footer */

/* ════════════════════════════
   CONTACT SECTION
════════════════════════════ */
.contact-section {
    background: var(--gray-50);
    padding: 130px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

/* Left info */
.contact-title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.contact-info .section-title {
    margin-bottom: 22px;
}

.contact-lead {
    font-size: 0.97rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 44px;
}

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-meta li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
}

.meta-label {
    display: block;
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--gray-400);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.meta-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
}

.contact-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 900;
    flex-shrink: 0;
}

.contact-badge strong {
    display: block;
    font-size: 0.92rem;
    color: var(--navy);
    margin-bottom: 3px;
}

.contact-badge p {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin: 0;
}

/* Right form wrap */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

/* Form layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-800);
    letter-spacing: 0.02em;
}

.req {
    color: var(--blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.93rem;
    font-family: inherit;
    color: var(--text);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(29, 95, 206, 0.1);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.65;
}

/* Checkbox */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    accent-color: var(--blue);
    cursor: pointer;
    flex-shrink: 0;
}

.form-check label {
    font-size: 0.83rem;
    color: var(--gray-600);
    cursor: pointer;
}

.form-check label a {
    color: var(--blue);
    text-decoration: underline;
}

/* Submit button */
.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--blue);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--trans);
    box-shadow: 0 6px 24px rgba(29, 95, 206, 0.35);
    margin-top: 4px;
}

.form-submit:hover {
    background: var(--blue-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(29, 95, 206, 0.45);
}

.form-submit:active {
    transform: translateY(-1px);
}

.form-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Success state */
.form-success {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 900;
    margin: 0 auto 28px;
    animation: popIn 0.5s var(--ease-out);
}

@keyframes popIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.form-success h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 36px;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 24px;
    }
}

.cta {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.cta-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 14px;
    color: var(--white);
}

.cta-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.cta .btn-main {
    flex-shrink: 0;
    font-size: 1rem;
    padding: 18px 44px;
    white-space: nowrap;
}

/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer {
    background: #050d1a;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-address-container {
    display: flex;
    gap: 120px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-address-container {
        gap: 32px;
    }
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #1a3a8f;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
    filter: none;
}

.footer-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav {
    display: flex;
    gap: 48px;
}

.footer-nav-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-nav-col a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-nav-col a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
}

.socials {
    display: flex;
    gap: 16px;
}

.socials a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.2s;
}

.socials a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ════════════════════════════
   SCROLL REVEAL
════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Custom Tags & Packaging Icons ── */
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.custom-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 95, 206, 0.08);
    color: var(--blue);
    padding: 8px 16px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--trans);
}

.custom-tag:hover {
    background: rgba(29, 95, 206, 0.15);
    transform: translateY(-2px);
}

.custom-tag i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--blue);
    background: transparent;
    position: relative;
    flex-shrink: 0;
}

/* 삼방 씰: 안쪽에 'n' 형태 */
.icon-3side i::after {
    content: '';
    width: 12px;
    height: 13px;
    border: 1.5px solid var(--blue);
    border-bottom: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 사방 씰: 안쪽에 작은 정사각형 */
.icon-4side i::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--blue);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 세로 베개: 세로로 긴 직사각형에 가로선 2개 */
.icon-pillow i {
    width: 14px;
    height: 20px;
}

.icon-pillow i::after {
    content: '';
    width: 100%;
    height: 1.5px;
    background: var(--blue);
    position: absolute;
    top: 4px;
    left: 0;
}

.icon-pillow i::before {
    content: '';
    width: 100%;
    height: 1.5px;
    background: var(--blue);
    position: absolute;
    bottom: 4px;
    left: 0;
}

/* 씰 바 타입: 가로로 평행한 두 선 */
.icon-sealbar i::after {
    content: '';
    width: 14px;
    height: 3px;
    border-top: 1.5px solid var(--blue);
    border-bottom: 1.5px solid var(--blue);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ════════════════════════════
   EQUIPMENT SECTION
   ════════════════════════════ */
.equipment-section {
    padding: 80px 0;
    background-color: var(--white);
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.equipment-list h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.equipment-list ul.dot-list {
    list-style: none !important;
    padding: 0;
}

.equipment-list ul.dot-list li {
    position: relative;
    padding: 10px 0 10px 20px;
    font-size: 1rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    line-height: 1.4;
    list-style: none !important;
}

.equipment-list ul.dot-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    background-color: var(--blue);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════
   ANIMATIONS
   ════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .tech-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 90px 0;
    }

    .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .about-grid,
    .case-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats .container {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

    .cases-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    h2.section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 32px;
    }
}

/* ════════════════════════════
   UTILITY CLASSES
════════════════════════════ */
.text-brand {
    color: #1a3a8f;
}

.text-brand-bold {
    color: #1a3a8f;
    font-weight: 700;
}

.text-sub {
    color: #1e293b;
    font-size: 0.9em;
}

.text-95 {
    font-size: 0.95em;
}

.footer-desc-gap {
    margin-bottom: 6px;
}

.footer-indent {
    padding-left: 1.5em;
}

.footer-contact-block {
    margin-top: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
}

.drawer-logo {
    color: var(--navy);
}