/* ============================================
   PLAN HIGH - Hospital Video Content Partner
   Professional & Clean Design
   ============================================ */

:root {
    --navy: #1B1F3B;
    --navy-deep: #121530;
    --navy-light: #2A2F52;
    --accent: #00E0A0;
    --accent-dark: #00C48C;
    --blue: #4A6CF7;
    --blue-light: #6B8AFF;
    --text: #1B1F3B;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --bg: #FFFFFF;
    --bg-soft: #F7F8FC;
    --bg-dark: #F1F3F9;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 2px 16px rgba(27, 31, 59, 0.06);
    --shadow-md: 0 8px 32px rgba(27, 31, 59, 0.08);
    --shadow-lg: 0 16px 48px rgba(27, 31, 59, 0.12);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Noto Sans KR', 'Inter', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; }

/* ── Mobile-only line break ── */
.mobile-br { display: none; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 8px;
    font-weight: 600; font-size: 0.95rem;
    cursor: pointer; border: none; transition: var(--transition);
}
.btn-accent {
    background: var(--accent); color: var(--navy);
    box-shadow: 0 4px 16px rgba(0, 224, 160, 0.25);
}
.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 224, 160, 0.35);
}
.btn-ghost {
    background: rgba(255,255,255,0.1); color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; padding: 15px; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 18px 0; transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(18, 21, 48, 0.96);
    backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav-container {
    max-width: 1160px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 1.4rem; font-weight: 900; letter-spacing: 2px; }
.logo-plan { color: #fff; }
.logo-high { color: var(--accent); }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
    color: rgba(255,255,255,0.65); font-size: 0.85rem;
    font-weight: 600; letter-spacing: 1px; padding: 4px 0;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-toggle span {
    display: block; width: 22px; height: 2px; background: #fff;
    transition: var(--transition);
}

/* ============================================
   HERO (Centered + Particles)
   ============================================ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: var(--navy-deep);
}
.hero-bg {
    position: absolute; inset: 0;
}
.hero-gradient {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, var(--navy-deep) 0%, #1a1040 100%),
        radial-gradient(ellipse at 20% 50%, rgba(74,108,247,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0,224,160,0.08) 0%, transparent 50%);
}
.hero-particles {
    position: absolute; inset: 0; overflow: hidden;
}
.particle {
    position: absolute; width: 3px; height: 3px;
    background: rgba(255,255,255,0.12); border-radius: 50%;
    animation: float-particle linear infinite;
}
@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; padding: 120px 24px 80px;
}
.hero-title {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 900; color: #fff; line-height: 0.95;
    margin-bottom: 32px; letter-spacing: -3px;
    text-align: center;
}
.title-line {
    display: block;
}
.title-line.line-left {
    transform: translateX(-8%);
}
.title-line.line-right {
    transform: translateX(8%);
}
.text-gradient-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-accent {
    background: linear-gradient(135deg, var(--accent), #00D4FF);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem; color: rgba(255,255,255,0.7);
    margin-bottom: 40px; line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-subtitle-light {
    color: rgba(255,255,255,0.4); font-size: 1rem;
}
.hero-buttons {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}
/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 2;
}
.scroll-indicator span {
    font-size: 0.7rem; letter-spacing: 2px;
    color: rgba(255,255,255,0.3); text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CLIENTS LOGO BAR
   ============================================ */
.clients {
    background: var(--navy);
    padding: 28px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.clients-inner {
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients-track {
    display: flex; gap: 48px; align-items: center;
    animation: scrollLogos 25s linear infinite;
    width: max-content;
}
.client-logo {
    flex-shrink: 0;
    font-size: 0.95rem; font-weight: 700;
    color: rgba(255,255,255,0.2);
    letter-spacing: 2px; white-space: nowrap;
}
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; font-size: 0.9rem; font-weight: 700;
    letter-spacing: 3px; color: var(--blue);
    margin-bottom: 16px; text-transform: uppercase;
}
.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800; line-height: 1.3; margin-bottom: 18px;
}
.section-desc {
    font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8;
}
/* Light variant for dark bg sections */
.section-header.light .section-tag { color: var(--accent); }
.section-header.light .section-title { color: #fff; }
.section-header.light .section-desc { color: rgba(255,255,255,0.55); }

/* ============================================
   ABOUT / FEATURES (Icon-centered)
   ============================================ */
.about {
    padding: 110px 0;
    background: var(--bg);
}
.features-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.feature-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}
.feature-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--accent));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0; transition: var(--transition);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.feature-icon {
    width: 72px; height: 72px;
    margin: 0 auto 24px;
    background: var(--navy);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--accent);
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(27,31,59,0.2);
}
.feature-card h3 {
    font-size: 1.2rem; font-weight: 700; margin-bottom: 12px;
    line-height: 1.5; color: var(--text);
}
.feature-card p {
    font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
    padding: 110px 0;
    background: var(--navy-deep);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}
.portfolio-main {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.portfolio-item {
    border-radius: var(--radius); overflow: hidden;
    cursor: pointer; transition: var(--transition);
}
.portfolio-item:hover { transform: translateY(-4px); }
.portfolio-thumb {
    position: relative; width: 100%; height: 100%;
    min-height: 220px;
}
.portfolio-main .portfolio-thumb { min-height: 460px; }
.portfolio-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: var(--transition);
}
.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.04);
}
.portfolio-overlay {
    position: absolute; inset: 0;
    background: rgba(18, 21, 48, 0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-play {
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 1.1rem;
    color: var(--navy); padding-left: 3px;
    transition: var(--transition);
}
.portfolio-item:hover .portfolio-play { transform: scale(1.1); }
.portfolio-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 24px 20px 18px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
}
.portfolio-cat {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 2px;
    color: var(--accent); text-transform: uppercase;
}
.portfolio-label h4 {
    font-size: 1.05rem; font-weight: 700; color: #fff; margin-top: 4px;
}
.portfolio-main .portfolio-label h4 { font-size: 1.3rem; }

/* Portfolio More Button */
.portfolio-more-wrap {
    text-align: center; margin-top: 36px;
}
.btn-portfolio-more {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 36px; border-radius: 50px;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    font-family: inherit; text-decoration: none;
}
.btn-portfolio-more:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
.btn-portfolio-more i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}
.btn-portfolio-more:hover i {
    transform: translateX(4px);
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: 110px 0;
    background: var(--bg-soft);
}
.process-list {
    display: flex; flex-direction: column; gap: 24px;
}
.process-card {
    display: flex; align-items: stretch; gap: 0;
    background: var(--bg); border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border);
    transition: var(--transition);
}
.process-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: transparent;
}
.process-num {
    display: flex; align-items: center; justify-content: center;
    width: 80px; flex-shrink: 0;
    background: var(--navy);
    font-size: 1.5rem; font-weight: 900; color: var(--accent);
    font-family: 'Inter', sans-serif; letter-spacing: -1px;
}
.process-img {
    width: 200px; flex-shrink: 0; overflow: hidden;
}
.process-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: var(--transition);
}
.process-card:hover .process-img img { transform: scale(1.05); }
.process-body {
    flex: 1; padding: 32px 36px;
}
.process-body h3 {
    font-size: 1.2rem; font-weight: 700; margin-bottom: 14px;
    color: var(--text);
}
.process-body ul { display: flex; flex-direction: column; gap: 8px; }
.process-body li {
    font-size: 0.9rem; color: var(--text-secondary);
    padding-left: 18px; position: relative; line-height: 1.6;
}
.process-body li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 6px; height: 6px; background: var(--accent);
    border-radius: 50%;
}

/* ============================================
   Q&A (Accordion)
   ============================================ */
.qna {
    padding: 110px 0;
    background: var(--bg);
}
.qna-accordion {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 0;
}
.qna-item {
    border-bottom: 1px solid var(--border);
}
.qna-item:first-child {
    border-top: 1px solid var(--border);
}
.qna-question {
    width: 100%; display: flex;
    align-items: center; justify-content: space-between;
    gap: 16px; padding: 22px 4px;
    background: none; border: none; cursor: pointer;
    font-family: inherit; text-align: left;
    transition: var(--transition);
}
.qna-question span {
    font-size: 1.05rem; font-weight: 600;
    color: var(--text); line-height: 1.5;
}
.qna-question i {
    font-size: 0.8rem; color: var(--text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.qna-item.open .qna-question i {
    transform: rotate(180deg); color: var(--blue);
}
.qna-question:hover span { color: var(--blue); }
.qna-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 4px;
}
.qna-item.open .qna-answer {
    max-height: 200px;
    padding: 0 4px 22px;
}
.qna-answer p {
    font-size: 0.95rem; color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   CTA / CONTACT
   ============================================ */
.cta {
    padding: 110px 0;
    background: var(--navy-deep);
}
.cta-wrap {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: start;
}
.cta-text { color: #fff; }
.cta-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800; line-height: 1.4; margin-bottom: 16px;
}
.cta-text p {
    font-size: 0.95rem; color: rgba(255,255,255,0.55);
    line-height: 1.8; margin-bottom: 36px;
}
.cta-contact-row {
    display: flex; flex-direction: column; gap: 16px;
}
.cta-contact-item {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 20px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius); transition: var(--transition);
}
.cta-contact-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(4px);
}
.cta-contact-item i {
    width: 40px; height: 40px; background: var(--accent);
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center; color: var(--navy);
    font-size: 1rem; flex-shrink: 0;
}
.cta-contact-item span {
    font-size: 0.8rem; color: rgba(255,255,255,0.45);
    display: block;
}
.cta-contact-item strong {
    font-size: 0.95rem; color: #fff; font-weight: 600;
}

/* Contact Form */
.cta-form {
    background: #fff; padding: 40px; border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.cta-form h3 {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 8px;
    color: var(--text);
}
.form-hint {
    font-size: 0.85rem; color: var(--text-light);
    margin-bottom: 24px;
    display: flex; align-items: center; gap: 6px;
}
.form-hint i { color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%; padding: 13px 16px;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 0.9rem; font-family: inherit; color: var(--text);
    background: var(--bg-soft); outline: none;
    transition: var(--transition); margin-bottom: 12px;
}
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(74,108,247,0.1);
    background: #fff;
}
.cta-form select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
    padding-right: 40px;
}
.cta-form textarea { resize: vertical; min-height: 80px; }

/* Custom Select */
.custom-select {
    position: relative; margin-bottom: 12px;
}
.custom-select-trigger {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 16px;
    border: 1.5px solid var(--border); border-radius: 8px;
    background: var(--bg-soft); cursor: pointer;
    font-size: 0.9rem; color: var(--text-light);
    transition: var(--transition);
}
.custom-select-trigger.has-value {
    color: var(--text);
}
.custom-select.open .custom-select-trigger {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(74,108,247,0.1);
    background: #fff;
}
.custom-select-trigger i {
    font-size: 0.75rem; color: var(--text-light);
    transition: var(--transition);
}
.custom-select.open .custom-select-trigger i {
    transform: rotate(180deg); color: var(--blue);
}
.custom-select-options {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: #fff; border: 1.5px solid var(--border);
    border-radius: 10px; padding: 6px;
    box-shadow: 0 12px 36px rgba(27,31,59,0.12);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 10; list-style: none;
}
.custom-select.open .custom-select-options {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.custom-select-options li {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: 6px;
    font-size: 0.9rem; color: var(--text);
    cursor: pointer; transition: var(--transition);
}
.custom-select-options li i {
    width: 20px; text-align: center;
    color: var(--blue); font-size: 0.85rem;
}
.custom-select-options li:hover {
    background: var(--bg-soft);
}
.custom-select-options li.selected {
    background: rgba(74,108,247,0.08);
    color: var(--blue); font-weight: 600;
}

/* ============================================
   KAKAO FLOATING BUTTON
   ============================================ */
.float-kakao {
    position: fixed; bottom: 32px; right: 32px; z-index: 999;
    display: flex; align-items: center; gap: 10px;
    background: #FEE500; color: #3C1E1E;
    padding: 14px 24px; border-radius: 50px;
    font-weight: 700; font-size: 0.95rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
    transition: var(--transition);
}
.float-kakao i {
    font-size: 1.2rem;
}
.float-kakao:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}
.float-kakao.hidden {
    opacity: 0; pointer-events: none;
    transform: translateY(20px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy); padding: 56px 0 0;
    color: rgba(255,255,255,0.5);
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: start;
    gap: 48px; padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p { margin-top: 10px; font-size: 0.85rem; }
.footer-social {
    display: flex; gap: 10px; margin-top: 16px;
}
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center; font-size: 1rem;
    color: rgba(255,255,255,0.45); transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent); color: var(--navy);
    transform: translateY(-2px);
}
.footer-nav { display: flex; gap: 64px; }
.footer-col h4 {
    color: #fff; font-size: 0.85rem; font-weight: 700;
    margin-bottom: 14px; letter-spacing: 0.5px;
}
.footer-col a {
    display: block; font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 9px;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding: 24px 0; text-align: center;
    font-size: 0.78rem; color: rgba(255,255,255,0.2);
    line-height: 1.8;
}
.footer-copy {
    margin-top: 6px;
    color: rgba(255,255,255,0.12);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); }
    .features-row { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-main { grid-column: 1 / 3; grid-row: auto; }
    .portfolio-main .portfolio-thumb { min-height: 320px; }
    .cta-wrap { grid-template-columns: 1fr; gap: 40px; }
    .process-img { width: 160px; }
}

@media (max-width: 768px) {
    /* ── Global ── */
    .container { padding: 0 20px; }

    /* ── Mobile BR ── */
    .mobile-br { display: inline; }

    /* ── Nav ── */
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(18, 21, 48, 0.98);
        backdrop-filter: blur(16px);
        padding: 24px; gap: 16px;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .nav-links.open a {
        font-size: 1rem; padding: 8px 0;
    }

    /* ── Hero ── */
    .hero { min-height: 100svh; }
    .hero-content { padding: 0 20px; }
    .hero-title {
        font-size: clamp(2.2rem, 8.5vw, 2.8rem); letter-spacing: -1.5px;
        margin-bottom: 20px; line-height: 1.05;
        white-space: nowrap;
    }
    .title-line.line-left,
    .title-line.line-right { transform: none; }
    .hero-subtitle {
        font-size: 0.9rem; margin-bottom: 28px;
        line-height: 1.7;
    }
    .hero-subtitle br { display: none; }
    .hero-subtitle-light {
        display: block; margin-top: 6px;
        font-size: 0.8rem;
    }
    .hero-buttons {
        flex-direction: column; align-items: stretch;
        gap: 10px; padding: 0 4px;
    }
    .hero-buttons .btn {
        justify-content: center;
        padding: 14px 20px; font-size: 0.9rem;
    }
    .scroll-indicator { bottom: 24px; }

    /* ── Section Common ── */
    .section-header { margin-bottom: 36px; }
    .section-tag { font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 10px; }
    .section-title {
        font-size: 1.5rem; line-height: 1.4;
        margin-bottom: 12px; word-break: keep-all;
    }
    .section-title br:not(.mobile-br) { display: none; }
    .section-desc {
        font-size: 0.88rem; line-height: 1.7;
        word-break: keep-all;
    }
    .section-desc br:not(.mobile-br) { display: none; }
    .about, .portfolio, .process, .qna, .cta { padding: 64px 0; }

    /* ── Clients ── */
    .clients { padding: 20px 0; }
    .clients-track { gap: 28px; }
    .client-logo { font-size: 0.8rem; letter-spacing: 1.5px; }

    /* ── Features ── */
    .features-row { grid-template-columns: 1fr; gap: 12px; }
    .feature-card {
        padding: 24px 20px;
        display: grid;
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
        gap: 0 14px;
        text-align: left;
        border-radius: 16px;
    }
    .feature-card::before { display: none; }
    .feature-icon {
        width: 44px; height: 44px;
        margin: 0; border-radius: 12px;
        font-size: 1rem;
        grid-row: 1; grid-column: 1;
        align-self: center;
    }
    .feature-card h3 {
        grid-row: 1; grid-column: 2;
        font-size: 1rem; margin-bottom: 0;
        line-height: 1.4; align-self: center;
    }
    .feature-card p {
        grid-row: 2; grid-column: 1 / -1;
        font-size: 0.85rem; line-height: 1.6;
        margin-top: 12px; color: var(--text-secondary);
    }

    /* ── Portfolio ── */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .portfolio-main {
        grid-column: 1 / -1;
    }
    .portfolio-main .portfolio-thumb { min-height: 200px; }
    .portfolio-thumb { min-height: 140px; }
    .portfolio-label { padding: 16px 14px 12px; }
    .portfolio-cat { font-size: 0.6rem; }
    .portfolio-label h4 { font-size: 0.85rem; }
    .portfolio-main .portfolio-label h4 { font-size: 1rem; }
    .portfolio-play { width: 44px; height: 44px; font-size: 0.9rem; }

    /* ── Process ── */
    .process-list { gap: 12px; }
    .process-card { flex-direction: row; align-items: stretch; }
    .process-num {
        width: 48px; height: auto;
        font-size: 1rem; flex-shrink: 0;
    }
    .process-img { display: none; }
    .process-body { padding: 18px 16px; }
    .process-body h3 { font-size: 1rem; margin-bottom: 8px; }
    .process-body ul { gap: 5px; }
    .process-body li { font-size: 0.82rem; padding-left: 14px; line-height: 1.5; }
    .process-body li::before { top: 7px; width: 5px; height: 5px; }

    /* ── Q&A ── */
    .qna-question { padding: 18px 0; }
    .qna-question span { font-size: 0.92rem; }
    .qna-answer p { font-size: 0.85rem; }
    .qna-item.open .qna-answer { padding: 0 0 18px; }

    /* ── Portfolio More ── */
    .btn-portfolio-more { padding: 12px 28px; font-size: 0.82rem; }

    /* ── CTA / Contact ── */
    .cta-wrap {
        grid-template-columns: 1fr; gap: 32px;
        display: flex; flex-direction: column-reverse;
    }
    .cta-text h2 {
        font-size: 1.3rem; line-height: 1.5;
        word-break: keep-all;
    }
    .cta-text h2 br:not(.mobile-br) { display: none; }
    .cta-text p {
        font-size: 0.88rem; margin-bottom: 24px;
    }
    .cta-text p br:not(.mobile-br) { display: none; }
    .cta-contact-row { gap: 10px; }
    .cta-contact-item { padding: 14px 16px; gap: 12px; }
    .cta-contact-item i {
        width: 36px; height: 36px; font-size: 0.9rem;
        border-radius: 8px;
    }
    .cta-contact-item span { font-size: 0.72rem; }
    .cta-contact-item strong { font-size: 0.88rem; }
    .cta-form {
        padding: 28px 20px;
        border-radius: 16px;
    }
    .cta-form h3 { font-size: 1.1rem; }
    .form-hint { font-size: 0.78rem; margin-bottom: 18px; }
    .form-row { grid-template-columns: 1fr; }
    .cta-form input,
    .cta-form textarea {
        padding: 12px 14px; font-size: 0.88rem;
        margin-bottom: 10px;
    }
    .cta-form .btn { padding: 14px; font-size: 0.92rem; }

    /* ── Footer ── */
    .footer { padding: 40px 0 0; }
    .footer-inner {
        flex-direction: column; gap: 28px;
        padding-bottom: 28px;
    }
    .footer-brand p { font-size: 0.8rem; }
    .footer-nav { gap: 36px; }
    .footer-col h4 { font-size: 0.8rem; margin-bottom: 10px; }
    .footer-col a { font-size: 0.8rem; margin-bottom: 7px; }
    .footer-bottom {
        padding: 20px 0;
        font-size: 0.7rem; line-height: 1.9;
    }

    /* ── Floating Button ── */
    .float-kakao span { display: none; }
    .float-kakao {
        padding: 14px; border-radius: 50%;
        bottom: 24px; right: 20px;
    }
    .float-kakao i { font-size: 1.1rem; }
}
