/*
Theme Name: YK시스템창호
Theme URI: https://ykwindow.com
Author: YK시스템창호
Version: 3.0.0
Description: YK시스템창호 - 프리미엄 시스템창호 설치 전문업체
Text Domain: yk-windows
*/

/* =============================================
   RESET & TOKENS
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --blue:       #0064FF;
    --blue-dark:  #0050CC;
    --blue-light: #3381FF;
    --blue-soft:  #E8F1FF;
    --ink:        #191F28;
    --ink-2:      #333D4B;
    --ink-3:      #6B7684;
    --ink-4:      #B0B8C1;
    --bg:         #FFFFFF;
    --bg-2:       #F7F8FA;
    --bg-3:       #EAECEF;
    --line:       #E0E6EE;
    --green:      #00C76F;
    --r-sm:       10px;
    --r-md:       16px;
    --r-lg:       24px;
    --r-xl:       32px;
    --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
    --shadow-md:  0 8px 32px rgba(0,0,0,.10);
    --shadow-lg:  0 24px 64px rgba(0,0,0,.14);
    --t:          all .22s cubic-bezier(.4,0,.2,1);
    --header-h:   68px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--blue);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.headline {
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -.025em;
    word-break: keep-all;
}

.section-head { margin-bottom: 52px; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--ink-3); word-break: keep-all; }
.section-head.centered { text-align: center; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    padding: 13px 26px;
    transition: var(--t);
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: -.01em;
    border: 2px solid transparent;
}

.btn-lg { padding: 16px 34px; font-size: 16px; border-radius: 12px; }

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,100,255,.3);
    color: #fff;
}

.btn-outline-dark {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink-3);
}
.btn-outline-dark:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-soft);
}

.btn-ghost-white {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.35);
    backdrop-filter: blur(4px);
}
.btn-ghost-white:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.7);
    color: #fff;
}

/* =============================================
   HEADER
   ============================================= */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: var(--t);
}

#site-header.scrolled {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }

.logo-mark {
    width: 38px; height: 38px;
    background: var(--blue);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -.5px;
    flex-shrink: 0;
}

.logo-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.03em;
}

#site-header:not(.scrolled) .logo-name { color: #fff; }
#site-header:not(.scrolled) .logo-mark { background: rgba(255,255,255,.2); }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--t);
    letter-spacing: -.01em;
}

#site-header.scrolled .nav-links a { color: var(--ink-3); }
.nav-links a:hover,
#site-header.scrolled .nav-links a:hover {
    color: var(--blue);
    background: var(--blue-soft);
}

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-call {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    letter-spacing: -.01em;
}
#site-header.scrolled .nav-call { color: var(--ink); }

.nav-tel-btn {
    background: var(--blue);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--t);
    white-space: nowrap;
}
.nav-tel-btn:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
}
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--t);
}
#site-header.scrolled .hamburger span { background: var(--ink); }

/* =============================================
   MOBILE NAV
   ============================================= */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 950;
    flex-direction: column;
    padding: 24px 32px;
}
.mobile-nav.open { display: flex; }

.mobile-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.mobile-close {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    font-size: 22px;
    color: var(--ink-3);
    background: var(--bg-2);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.mobile-nav-links a {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-nav-links a::after { content: '›'; color: var(--ink-4); font-size: 24px; }

.mobile-nav-cta { padding-top: 24px; }

/* =============================================
   HERO
   ============================================= */
#hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}
#hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,20,40,.78) 0%, rgba(0,50,120,.55) 100%);
}

#hero .container { position: relative; z-index: 1; padding-top: var(--header-h); }

.hero-content { max-width: 680px; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: .02em;
}

.hero-title {
    font-size: clamp(44px, 6.5vw, 76px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.04em;
    margin-bottom: 24px;
    word-break: keep-all;
}
.hero-title em {
    font-style: normal;
    color: #7EB3FF;
}

.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,.78);
    line-height: 1.75;
    margin-bottom: 40px;
    word-break: keep-all;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--r-lg);
    padding: 20px 28px;
    width: fit-content;
    flex-wrap: wrap;
    gap: 0;
}

.hstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 28px;
}
.hstat:first-child { padding-left: 0; }
.hstat:last-child { padding-right: 0; }

.hstat strong {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1;
}

.hstat span {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    font-weight: 500;
    letter-spacing: .01em;
}

.hstat-div {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.18);
    flex-shrink: 0;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.5);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: bounceDown 2s ease-in-out infinite;
    z-index: 1;
}
.hero-scroll svg { opacity: .6; }

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   STRIP / MARQUEE
   ============================================= */
#strip {
    background: var(--ink);
    padding: 16px 0;
    overflow: hidden;
}

.strip-track {
    display: flex;
    gap: 48px;
    animation: marquee 22s linear infinite;
    width: max-content;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.strip-dot {
    width: 5px; height: 5px;
    background: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.strip-item span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.65);
    letter-spacing: .05em;
    text-transform: uppercase;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =============================================
   REAL PHOTOS
   ============================================= */
#real-photos {
    padding: 100px 0;
    background: var(--bg-2);
}

.real-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

.real-photo-card {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 100%;
    transition: var(--t);
}
.real-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.real-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.real-photo-card:hover img { transform: scale(1.03); }

@media (max-width: 768px) {
    .real-photos-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* =============================================
   PORTFOLIO
   ============================================= */
#portfolio {
    padding: 100px 0;
    background: var(--bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.port-card {
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--bg-2);
    transition: var(--t);
    cursor: pointer;
}
.port-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.port-img {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform .5s ease;
}
.port-card:hover .port-img { transform: scale(1.04); }

.port-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: .02em;
}

.port-info {
    padding: 16px 18px 18px;
}

.port-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    letter-spacing: -.01em;
    word-break: keep-all;
}

.port-info p {
    font-size: 12px;
    color: var(--ink-3);
}

.portfolio-more {
    display: flex;
    justify-content: center;
}

/* =============================================
   SERVICES
   ============================================= */
#services {
    padding: 100px 0;
    background: var(--bg-2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.svc-card {
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: var(--t);
}
.svc-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.svc-img {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    transition: transform .5s ease;
}
.svc-card:hover .svc-img { transform: scale(1.04); }

.svc-body {
    padding: 22px 24px 24px;
}

.svc-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -.02em;
}

.svc-body p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.7;
    margin-bottom: 16px;
    word-break: keep-all;
}

.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.svc-tags span {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--bg-2);
    color: var(--ink-3);
    transition: var(--t);
    letter-spacing: -.01em;
}
.svc-card:hover .svc-tags span {
    background: var(--blue-soft);
    color: var(--blue);
}

/* =============================================
   PROCESS
   ============================================= */
#process {
    padding: 100px 0;
    background: #fff;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.proc-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0;
    align-items: flex-start;
    padding-bottom: 0;
}

.proc-num-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.proc-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.02em;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,100,255,.3);
    position: relative;
    z-index: 1;
}

.proc-line {
    width: 2px;
    flex: 1;
    min-height: 60px;
    background: linear-gradient(to bottom, var(--blue) 0%, var(--line) 100%);
    margin: 6px 0;
}

.proc-body {
    padding: 12px 0 48px 20px;
}

.proc-body h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -.02em;
}

.proc-body p {
    font-size: 15px;
    color: var(--ink-3);
    line-height: 1.7;
    word-break: keep-all;
}

/* =============================================
   NUMBERS
   ============================================= */
#numbers {
    padding: 0;
    background: var(--ink);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.06);
}

.num-card {
    padding: 56px 40px;
    background: var(--ink);
    transition: var(--t);
}
.num-card:hover { background: rgba(255,255,255,.04); }

.num-val {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.num-val span {
    font-size: .52em;
    font-weight: 700;
    color: var(--blue-light);
}

.num-label {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    margin-bottom: 6px;
}

.num-sub {
    font-size: 13px;
    color: rgba(255,255,255,.3);
}

/* =============================================
   REVIEWS
   ============================================= */
#reviews {
    padding: 100px 0;
    background: var(--bg-2);
}

.reviews-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 24px;
}

.reviews-head .headline { margin-top: 10px; }

.reviews-score {
    display: flex;
    align-items: center;
    gap: 14px;
}

.score-big {
    font-size: 52px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -.04em;
    line-height: 1;
}

.stars { font-size: 20px; letter-spacing: 2px; color: #F5A623; margin-bottom: 4px; }
.score-sub { font-size: 13px; color: var(--ink-3); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rv-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px;
    transition: var(--t);
}
.rv-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }

.rv-stars { font-size: 14px; letter-spacing: 2px; color: #F5A623; margin-bottom: 14px; }

.rv-card > p {
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.75;
    margin-bottom: 24px;
    word-break: keep-all;
}

.rv-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rv-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--blue);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.rv-author strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}
.rv-author span { font-size: 12px; color: var(--ink-3); }

/* =============================================
   CTA BANNER
   ============================================= */
#cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,50,140,.88), rgba(0,20,80,.82));
}

#cta-banner .container { position: relative; z-index: 1; }

.cta-inner { max-width: 640px; margin: 0 auto; }

.cta-inner .eyebrow {
    color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.1);
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.15);
}

.cta-inner h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #fff;
    margin: 16px 0 12px;
    letter-spacing: -.03em;
}

.cta-inner > p {
    font-size: 17px;
    color: rgba(255,255,255,.72);
    margin-bottom: 32px;
    word-break: keep-all;
}

.cta-tel {
    display: inline-block;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -.04em;
    margin-bottom: 8px;
    line-height: 1;
    transition: var(--t);
}
.cta-tel:hover { color: #7EB3FF; }

.cta-time {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin-bottom: 36px;
}

.cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   CONTACT
   ============================================= */
#contact {
    padding: 100px 0;
    background: var(--bg);
}

.form-success {
    background: #E6F8F0;
    border: 1px solid #00C76F;
    border-radius: var(--r-md);
    padding: 18px 24px;
    margin-bottom: 32px;
    color: #007A44;
    font-weight: 600;
    font-size: 15px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.ci-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    transition: var(--t);
}
.ci-item:last-child { border-bottom: none; }
.ci-item:hover { background: var(--bg-2); }

.ci-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--bg-2);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--t);
}
.ci-item:hover .ci-icon { background: var(--blue-soft); }

.ci-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-4);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.ci-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}
.ci-sub { font-size: 12px; color: var(--ink-3); }

.contact-form-box {
    background: var(--bg-2);
    border-radius: var(--r-xl);
    padding: 44px 40px;
}

.form-head { margin-bottom: 28px; }
.form-head strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: -.03em;
}
.form-head span { font-size: 14px; color: var(--ink-3); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
    margin-bottom: 7px;
    letter-spacing: -.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: var(--t);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0,100,255,.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--blue);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    transition: var(--t);
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: -.01em;
    margin-top: 4px;
}
.form-submit:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,100,255,.25);
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
    background: var(--ink);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo .logo-mark { margin-bottom: 16px; background: rgba(255,255,255,.12); }

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,.4);
    line-height: 1.75;
    margin-bottom: 20px;
    word-break: keep-all;
}

.footer-socials { display: flex; gap: 8px; }

.social-link {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    color: rgba(255,255,255,.5);
    transition: var(--t);
}
.social-link:hover { background: var(--blue); color: #fff; }

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.35);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-links a {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    transition: var(--t);
}
.footer-col-links a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.28); }

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,.3); transition: var(--t); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.floating-bar {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 800;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.fb-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: var(--t);
    letter-spacing: -.01em;
}
.fb-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.fb-call { background: var(--blue); }
.fb-kakao { background: #FEE500; color: #191F28 !important; }
.fb-kakao:hover { color: #191F28 !important; }

.fb-top {
    width: 44px; height: 44px;
    padding: 0;
    justify-content: center;
    background: rgba(25,31,40,.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
}
.fb-top.visible { opacity: 1; pointer-events: all; }

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}
.fade-up.in {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE – 1024px
   ============================================= */
@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-stats { flex-wrap: wrap; }
}

/* =============================================
   RESPONSIVE – 768px
   ============================================= */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-links, .nav-right { display: none; }
    .hamburger { display: flex; }

    #hero { min-height: 100svh; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; justify-content: center; }

    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-head { flex-direction: column; align-items: flex-start; }
    .footer-top { grid-template-columns: 1fr; }
    .cta-btns { flex-direction: column; align-items: center; }

    .process-steps { max-width: 100%; }

    .floating-bar { right: 16px; bottom: 16px; }
    .fb-btn span { display: none; }
    .fb-btn { padding: 14px; border-radius: 50%; }
}

/* =============================================
   RESPONSIVE – 560px
   ============================================= */
@media (max-width: 560px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { padding: 16px 20px; }
    .hstat { padding: 0 16px; }
    .contact-form-box { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
}
