/* ===== 현대적이고 세련된 디자인 - Inspired by Modern Web Standards ===== */
:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --secondary-color: #FF6B35;
    --dark-color: #0A0E27;
    --dark-gray: #1A1F3A;
    --medium-gray: #8B92B0;
    --light-gray: #F5F7FA;
    --light-color: #FFFFFF;
    --success-color: #00D9A3;
    --shadow-sm: 0 2px 8px rgba(10, 14, 39, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 14, 39, 0.08);
    --shadow-lg: 0 12px 32px rgba(10, 14, 39, 0.12);
    --shadow-xl: 0 24px 48px rgba(10, 14, 39, 0.16);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(0, 102, 255, 0.1);
    touch-action: manipulation;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== 반응형 이미지 & 미디어 ===== */
img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

a {
    -webkit-tap-highlight-color: rgba(0, 102, 255, 0.1);
}

/* ===== 헤더 - 미니멀 & 모던 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 14, 39, 0.06);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: rgba(10, 14, 39, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    letter-spacing: -0.02em;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
    user-select: none;
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: var(--medium-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    position: relative;
    letter-spacing: -0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 헤더 전화 버튼 */
.header-phone-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
    letter-spacing: -0.01em;
}

.header-phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

.header-phone-btn:active {
    transform: translateY(0);
}

.phone-icon {
    font-size: 1.1rem;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

.phone-number {
    font-variant-numeric: tabular-nums;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== 히어로 섹션 - 대담하고 현대적 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #F5F7FA 0%, #FFFFFF 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.6;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, 50px) scale(1.1);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.75rem;
    color: var(--dark-color);
    letter-spacing: -0.03em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.125rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.35);
}

.btn-secondary {
    background: white;
    color: var(--dark-color);
    border: 2px solid rgba(10, 14, 39, 0.1);
}

.btn-secondary:hover {
    background: var(--light-gray);
    border-color: rgba(10, 14, 39, 0.15);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    max-width: 700px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--medium-gray);
    font-weight: 500;
    font-size: 0.9375rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 22px;
    height: 34px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    position: relative;
    opacity: 0.6;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 4px;
    animation: scroll 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px);
    }
}

/* ===== 애니메이션 ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.15s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.45s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 섹션 공통 스타일 ===== */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--medium-gray);
    font-weight: 400;
    line-height: 1.8;
}

/* ===== 서비스 섹션 ===== */
.services {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(10, 14, 39, 0.06);
}

.service-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 102, 255, 0.1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    letter-spacing: -0.02em;
}

.service-description {
    color: var(--medium-gray);
    margin-bottom: 1.75rem;
    line-height: 1.8;
    font-size: 0.9375rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.125rem;
}

/* ===== 장비 섹션 ===== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.equipment-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(10, 14, 39, 0.06);
}

.equipment-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.equipment-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.equipment-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.equipment-card:hover .equipment-img-placeholder {
    transform: scale(1.05);
}

.equipment-emoji {
    font-size: 7rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.equipment-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
    letter-spacing: 0.02em;
}

.equipment-info {
    padding: 2.5rem;
}

.equipment-title {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
    letter-spacing: -0.02em;
}

.equipment-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.spec-item {
    background: var(--light-gray);
    padding: 0.625rem 1.125rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.equipment-description {
    color: var(--medium-gray);
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* ===== 서비스 지역 섹션 ===== */
.service-area {
    background: linear-gradient(180deg, var(--light-color) 0%, var(--light-gray) 100%);
    padding: 6rem 0;
}

.service-area-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.area-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.area-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.area-card.featured::before {
    transform: scaleX(1);
}

.area-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.area-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.area-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.area-duration {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.area-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.area-time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.time-option {
    background: white;
    border: 2px solid #667eea;
    padding: 0.625rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #667eea;
    transition: var(--transition-fast);
    cursor: default;
}

.time-option:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.location-item {
    background: var(--light-gray);
    padding: 0.625rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-color);
    transition: var(--transition-fast);
}

.location-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.location-item-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.area-description {
    color: var(--medium-gray);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.service-area-notice {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
    border: 2px solid #667eea;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.service-area-notice p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: var(--dark-color);
}

.service-area-notice p:first-child {
    font-size: 1.125rem;
}

.service-area-notice a {
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-area-notice a:hover {
    text-decoration: underline;
}

/* ===== 회사소개 섹션 ===== */
.about {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.about-card {
    position: relative;
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.about-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.about-card:nth-child(1).visible {
    animation-delay: 0.1s;
}

.about-card:nth-child(2).visible {
    animation-delay: 0.2s;
}

.about-card:nth-child(3).visible {
    animation-delay: 0.3s;
}

.about-card:nth-child(4).visible {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.about-card:hover::before {
    opacity: 0.08;
}

.about-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.about-card>* {
    position: relative;
    z-index: 1;
}

.about-card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    line-height: 1;
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.about-card-description {
    color: var(--medium-gray);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.about-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ===== 연락처 섹션 ===== */
.contact {
    background: white;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-top {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.75rem;
    padding: 2.5rem;
    background: var(--light-gray);
    border-radius: 20px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(10, 14, 39, 0.06);
}

.contact-item.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
}

.contact-icon {
    font-size: 2.75rem;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    letter-spacing: -0.01em;
}

.contact-details p {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.phone-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.phone-link:active {
    transform: translateY(0);
}

.contact-time {
    color: var(--medium-gray);
    font-size: 0.875rem;
    font-weight: 500;
    display: block;
    margin-top: 0.5rem;
}

.address-link:hover {
    color: var(--primary-color) !important;
}

.address-link:hover span {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: white;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(10, 14, 39, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.125rem 1.25rem;
    border: 2px solid rgba(10, 14, 39, 0.08);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--light-gray);
}

.form-group input[type="date"],
.form-group input[type="time"] {
    cursor: pointer;
    color: var(--dark-color);
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator,
.form-group input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover,
.form-group input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
    background: white;
}

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

#customServiceGroup {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 푸터 ===== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 5rem 0 2.5rem;
}

.footer-content {
    margin-bottom: 3rem;
    padding: 2rem 0 1rem 0;
}

.footer-section {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.375rem;
    font-weight: 700;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.footer-logo .logo-icon,
.footer-logo .logo-text {
    user-select: none;
}

.footer-logo .logo-icon {
    width: 3rem;
    height: 3rem;
}

.footer-description {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 0.9375rem;
    text-align: right;
    max-width: 500px;
    margin: 0;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0;
}

.footer-info-item {
    color: var(--medium-gray);
    font-size: 0.875rem;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.footer-phone {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-phone:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--medium-gray);
    font-size: 0.9375rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-legal a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: white;
}

/* ===== 반응형 디자인 ===== */
@media (max-width: 968px) {
    .container {
        padding: 0 24px;
    }

    .nav {
        position: fixed;
        top: 77px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 77px);
        background: white;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        padding: 2rem;
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 1.25rem 0;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--light-gray);
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* 타블릿에서 헤더 전화 버튼 - 텍스트 축소 */
    .header-phone-btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.875rem;
    }

    .phone-number {
        font-size: 0.8125rem;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
    }

    .hero-stats {
        gap: 2rem;
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 2.5rem 2rem;
    }

    .equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .about-grid {
        gap: 1.5rem;
    }

    .about-card {
        padding: 2.5rem 2rem;
    }

    .about-card-icon {
        font-size: 3.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

    .about-card {
        padding: 2rem 1.5rem;
    }

    .about-card-icon {
        font-size: 3rem;
    }

    .service-area-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .area-card {
        padding: 2.5rem;
    }
}

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

    html {
        font-size: 15px;
    }

    /* 모바일에서 헤더 전화 버튼 - 완전히 숨김 (하단 버튼이 있으므로) */
    .header-phone-btn {
        display: none;
    }

    .phone-icon {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.9375rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.75rem;
    }

    .service-icon {
        font-size: 3rem;
    }

    .service-title {
        font-size: 1.375rem;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .equipment-image {
        height: 240px;
    }

    .equipment-emoji {
        font-size: 6rem;
    }

    .equipment-info {
        padding: 2rem;
    }

    .equipment-title {
        font-size: 1.5rem;
    }

    .service-area-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .area-card {
        padding: 2rem;
    }

    .area-time-options {
        gap: 0.625rem;
        padding: 1rem;
    }

    .time-option {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .area-icon {
        font-size: 3rem;
    }

    .area-title {
        font-size: 1.5rem;
    }

    .area-duration {
        font-size: 1rem;
    }

    .location-item {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .location-item-large {
        font-size: 1.125rem;
        padding: 0.875rem 1.5rem;
    }

    .service-area-notice {
        padding: 1.5rem;
    }

    .service-area-notice p {
        font-size: 0.9375rem;
    }

    .service-area-notice p:first-child {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .about-card {
        padding: 2.5rem 2rem;
    }

    .about-card-icon {
        font-size: 3.5rem;
        margin-bottom: 1.25rem;
    }

    .about-card-title {
        font-size: 1.375rem;
    }

    .feature-icon {
        font-size: 3rem;
    }

    .feature-content h3 {
        font-size: 1.25rem;
    }

    .about-img-placeholder {
        height: 350px;
    }

    .floating-badge {
        font-size: 0.875rem;
        padding: 1rem 1.25rem;
    }

    .contact-item {
        padding: 2rem;
        gap: 1.5rem;
    }

    .contact-icon {
        font-size: 2.5rem;
    }

    .contact-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
    }

    .footer-content {
        padding: 1.5rem 0 1rem 0;
    }

    .footer-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-right {
        justify-content: flex-start;
    }

    .footer-description {
        text-align: left;
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    html {
        font-size: 14px;
    }

    .header-content {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.125rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        margin-bottom: 3rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .services-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .service-description {
        font-size: 0.9375rem;
    }

    .equipment-image {
        height: 220px;
    }

    .equipment-emoji {
        font-size: 5rem;
    }

    .equipment-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .equipment-info {
        padding: 1.75rem;
    }

    .equipment-title {
        font-size: 1.375rem;
    }

    .equipment-specs {
        gap: 0.5rem;
    }

    .spec-item {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    .about-card {
        padding: 2rem 1.5rem;
    }

    .about-card-icon {
        font-size: 3rem;
    }

    .about-card-title {
        font-size: 1.25rem;
    }

    .about-card-description {
        font-size: 0.9375rem;
    }

    .about-img-placeholder {
        height: 280px;
    }

    .floating-badge {
        font-size: 0.8125rem;
        padding: 0.875rem 1rem;
    }

    .badge-1 {
        left: -10px;
    }

    .badge-2 {
        right: -10px;
    }

    .badge-3 {
        left: 10%;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem;
    }

    .contact-details h3 {
        font-size: 1.125rem;
    }

    .contact-details p {
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-group {
        gap: 0.625rem;
    }

    .form-group label {
        font-size: 0.875rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.9375rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }

    .footer-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-right {
        justify-content: flex-start;
    }

    .footer-logo {
        font-size: 1.125rem;
    }

    .footer-description {
        font-size: 0.875rem;
        line-height: 1.5;
        text-align: left;
        max-width: 100%;
    }

    .footer-info {
        gap: 0.4rem;
    }

    .footer-info-item {
        font-size: 0.8125rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    .footer-bottom {
        font-size: 0.8125rem;
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .footer-legal {
        gap: 0.75rem;
        font-size: 0.8125rem;
    }

    section {
        padding: 50px 0;
    }

    .scroll-indicator {
        bottom: 2rem;
    }

    .area-card {
        padding: 1.75rem;
    }

    .area-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .area-title {
        font-size: 1.375rem;
    }

    .area-locations {
        gap: 0.5rem;
    }

    .location-item {
        font-size: 0.8125rem;
        padding: 0.5rem 0.875rem;
    }

    .time-option {
        font-size: 0.8125rem;
        padding: 0.5rem 0.875rem;
        flex: 1 1 auto;
        min-width: calc(50% - 0.5rem);
        text-align: center;
    }

    .area-time-options {
        gap: 0.5rem;
        padding: 0.875rem;
    }

    .location-item-large {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }

    .service-area-notice {
        padding: 1.25rem;
    }

    .service-area-notice p {
        font-size: 0.875rem;
    }

    .service-area-notice p:first-child {
        font-size: 0.9375rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card,
    .equipment-info,
    .contact-item {
        padding: 1.5rem 1rem;
    }

    .area-card {
        padding: 1.5rem;
    }

    .area-title {
        font-size: 1.25rem;
    }

    .location-item {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .service-area-notice {
        padding: 1rem;
    }

    .footer-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-left {
        gap: 1rem;
    }

    .footer-logo {
        font-size: 1rem;
    }

    .footer-description {
        font-size: 0.8125rem;
        text-align: left;
    }

    .footer-info {
        gap: 0.35rem;
    }

    .footer-info-item {
        font-size: 0.75rem;
        margin: 0;
    }

    .footer-description {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .pricing-table {
        font-size: 0.75rem;
    }

    .pricing-table th {
        padding: 0.625rem 0.3rem;
        font-size: 0.6875rem;
        line-height: 1.25;
    }

    .pricing-table td {
        padding: 0.75rem 0.3rem;
    }

    .pricing-table th:first-child,
    .pricing-table td.vehicle-type {
        padding-left: 0.5rem;
    }

    .pricing-table td.vehicle-type {
        font-size: 0.75rem;
    }

    .pricing-table td.price {
        font-size: 0.8125rem;
    }

    .gallery-slider {
        padding: 0 10px;
    }

    .gallery-slide {
        min-width: 100%;
        min-height: 250px;
    }

    .gallery-dots {
        margin-top: 1rem;
        gap: 0.5rem;
    }

    .gallery-dot {
        width: 10px;
        height: 10px;
    }
}

/* ===== 터치 디바이스 최적화 ===== */
@media (hover: none) and (pointer: coarse) {

    .btn,
    .nav-link,
    .social-link,
    .footer-links a {
        min-height: 44px;
        min-width: 44px;
    }

    .mobile-menu-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* iOS zoom 방지 */
    }
}

/* ===== 가로모드 모바일 최적화 ===== */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    section {
        padding: 60px 0;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ===== 가격표 섹션 ===== */
.pricing {
    padding: 120px 0;
    background: white;
}

.pricing-table-wrapper {
    margin-top: 3rem;
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.pricing-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pricing-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.pricing-table th {
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: -0.01em;
    white-space: normal;
    word-break: keep-all;
    line-height: 1.5;
}

.pricing-table th:first-child {
    text-align: left;
    padding-left: 2rem;
}

.pricing-table th:last-child {
    text-align: center;
}

.pricing-table tbody tr {
    transition: var(--transition);
}

.pricing-table tbody tr:hover {
    background: var(--light-gray);
}

.pricing-table tbody tr:not(:last-child) {
    border-bottom: 1px solid rgba(10, 14, 39, 0.06);
}

.pricing-table td {
    padding: 1.75rem 1rem;
    font-size: 1rem;
}

.pricing-table td.vehicle-type {
    text-align: left;
    padding-left: 2rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.0625rem;
}

.pricing-table td.price {
    text-align: center;
    font-weight: 500;
    color: var(--medium-gray);
    font-size: 1.125rem;
}

.pricing-table td.highlight {
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.pricing-notice {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.pricing-notice p {
    margin: 0 0 1rem 0;
    font-weight: 600;
    color: var(--dark-color);
}

.pricing-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-notice ul li {
    padding: 0.5rem 0;
    color: var(--medium-gray);
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-notice ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== 현장 사진 갤러리 ===== */
.gallery {
    padding: 120px 0;
    background: var(--light-gray);
}

.gallery-slider {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    padding: 0 80px;
}

.gallery-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.gallery-slider-container:active {
    cursor: grabbing;
}

.gallery-slider-wrapper {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    touch-action: pan-y pinch-zoom;
}

.gallery-slide {
    min-width: calc((100% - 4rem) / 1.4);
    flex-shrink: 0;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0.5;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
}

.gallery-slide.active {
    opacity: 1;
    transform: scale(1);
}

.gallery-slide img {
    width: 100%;
    height: auto;
    max-height: 750px;
    object-fit: contain;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 2rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.gallery-prev,
.gallery-next {
    display: none;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
    opacity: 0.3;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.gallery-dot.active {
    background: var(--primary-color);
    opacity: 1;
    transform: scale(1.3);
}

/* ===== Scroll to Top 버튼 ===== */
.scroll-to-top {
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 102, 255, 0.45);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* ===== 모바일 하단 고정 연락 버튼 ===== */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 16px rgba(10, 14, 39, 0.1);
    z-index: 1000;
    padding: 0.75rem;
    gap: 0.75rem;
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.875rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    gap: 0.375rem;
}

.mobile-call {
    background: var(--primary-color);
    color: white;
}

.mobile-call:hover {
    background: var(--primary-dark);
}

/* 모바일 하단 전화 버튼 애니메이션 */
.mobile-call .action-icon {
    display: inline-block;
    animation: ringMobile 2.5s ease-in-out infinite;
}

@keyframes ringMobile {

    0%,
    100% {
        transform: rotate(0deg);
    }

    5%,
    15% {
        transform: rotate(-8deg);
    }

    10%,
    20% {
        transform: rotate(8deg);
    }

    25% {
        transform: rotate(0deg);
    }
}

.mobile-contact {
    background: var(--light-gray);
    color: var(--dark-color);
}

.mobile-contact:hover {
    background: var(--medium-gray);
    color: white;
}

.action-icon {
    font-size: 1.5rem;
}

.action-text {
    font-size: 0.875rem;
    letter-spacing: -0.01em;
}

/* ===== 알림 시스템 ===== */
.notification-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.notification {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    pointer-events: auto;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary-color);
}

.notification.success {
    border-left-color: var(--success-color);
}

.notification.error {
    border-left-color: var(--secondary-color);
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    color: var(--dark-color);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.notification-close {
    background: none;
    border: none;
    color: var(--medium-gray);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.notification-close:hover {
    background: var(--light-gray);
    color: var(--dark-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== 모바일 반응형 추가 스타일 ===== */
@media (max-width: 1024px) {
    .scroll-to-top {
        bottom: 50px;
        right: 24px;
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .gallery-slider {
        padding: 0 30px;
    }

    .gallery-slide {
        min-width: calc((100% - 2rem) / 1.2);
        min-height: 400px;
    }

    .gallery-slide img {
        height: auto;
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }

    .scroll-to-top {
        bottom: 110px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.625rem;
    }

    .notification-container {
        right: 15px;
        left: 15px;
        top: 80px;
    }

    .notification {
        max-width: 100%;
        font-size: 0.875rem;
        padding: 1rem 1.25rem;
    }

    /* 가격표 모바일 반응형 */
    .pricing-table {
        font-size: 0.875rem;
    }

    .pricing-table th {
        padding: 0.875rem 0.5rem;
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .pricing-table td {
        padding: 1rem 0.5rem;
    }

    .pricing-table th:first-child,
    .pricing-table td.vehicle-type {
        padding-left: 0.875rem;
    }

    .pricing-table td.vehicle-type {
        font-size: 0.875rem;
    }

    .pricing-table td.price {
        font-size: 0.9375rem;
    }

    .pricing-table td.price.highlight {
        font-size: 1rem;
    }

    .pricing-notice {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .pricing-notice ul li {
        font-size: 0.875rem;
    }

    .gallery-slider {
        padding: 0 20px;
    }

    .gallery-slide {
        min-width: calc(100% - 1rem);
        min-height: 320px;
    }

    .gallery-slide img {
        height: auto;
        max-height: 500px;
    }

    .gallery-slide img {
        height: auto;
        max-height: 500px;
    }

    .gallery-caption {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .gallery {
        padding: 60px 0 40px 0;
    }

    .gallery-dots {
        margin-top: 1.5rem;
        margin-bottom: 0;
    }

    /* 모바일에서 body에 패딩 추가하여 하단 바가 컨텐츠를 가리지 않도록 */
    body {
        padding-bottom: 80px;
    }
}

/* ===== 아주 작은 모바일 화면 (480px 이하) ===== */
@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 100px;
        right: 16px;
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    /* 가격표 480px 최적화 */
    .pricing-table th {
        padding: 0.75rem 0.4rem;
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .pricing-table td {
        padding: 0.875rem 0.4rem;
    }

    .pricing-table th:first-child,
    .pricing-table td.vehicle-type {
        padding-left: 0.625rem;
    }

    .pricing-table td.vehicle-type {
        font-size: 0.8125rem;
    }

    .pricing-table td.price {
        font-size: 0.875rem;
    }

    .gallery-slider {
        padding: 0 15px;
    }

    .gallery-slide {
        min-width: calc(100% - 0.5rem);
        min-height: 280px;
    }

    .gallery-dots {
        margin-top: 1.25rem;
    }
}