/* ================================================================
   더좋은 공조시스템 - Stylesheet
   Concept: Trustworthy Professional (Navy / White)
================================================================ */

/* ===== 기본 변수 ===== */
:root {
    --navy-900: #0a1f44;
    --navy-800: #102a5e;
    --navy-700: #1a3a7e;
    --navy-600: #2c4f9f;
    --blue-500: #2563eb;
    --blue-400: #3b82f6;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --green: #10b981;
    --red: #ef4444;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 2px 4px rgba(10, 31, 68, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 31, 68, 0.08);
    --shadow-lg: 0 12px 32px rgba(10, 31, 68, 0.12);
    --shadow-xl: 0 20px 48px rgba(10, 31, 68, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ===== 공통 ===== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
    color: var(--white);
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.25;
    color: var(--navy-900);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--blue-500);
}

.section-desc {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== 버튼 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
    color: var(--white);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: var(--white);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy-900);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy-700);
    border-color: var(--navy-700);
}

.btn-outline-dark:hover {
    background: var(--navy-700);
    color: var(--white);
}

.btn-block {
    width: 100%;
    padding: 18px;
    font-size: 17px;
}

.btn-white-large {
    background: var(--white);
    color: var(--navy-900);
    padding: 20px 36px;
    border-radius: var(--radius-md);
    font-size: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-white-large i {
    font-size: 28px;
    color: var(--blue-500);
}

.btn-white-large span {
    text-align: left;
    line-height: 1.2;
}

.btn-white-large em {
    display: block;
    font-size: 13px;
    font-weight: 500;
    font-style: normal;
    color: var(--gray-600);
}

.btn-white-large strong {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--navy-900);
    letter-spacing: -0.5px;
}

.btn-white-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* ================== 상단 바 ================== */
.top-bar {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.top-bar i {
    color: var(--accent-light);
    margin-right: 5px;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.3);
}

/* ================== 헤더 ================== */
.header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 24px;
}

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

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.logo-text strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: var(--navy-900);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-text em {
    display: block;
    font-size: 12px;
    font-style: normal;
    color: var(--gray-500);
    margin-top: 2px;
}

.nav ul {
    display: flex;
    gap: 8px;
}

.nav a {
    display: block;
    padding: 10px 16px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav a:hover {
    color: var(--blue-500);
    background: var(--gray-50);
}

.header-call {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
    color: var(--white);
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.header-call:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.header-call i {
    font-size: 16px;
    animation: phoneRing 1.5s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0); }
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    color: var(--navy-900);
    font-size: 22px;
}

/* ================== 히어로 ================== */
.hero {
    position: relative;
    min-height: 720px;
    color: var(--white);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(10, 31, 68, 0.92) 0%,
        rgba(16, 42, 94, 0.85) 45%,
        rgba(26, 58, 126, 0.65) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--accent-light);
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.hero-desc {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--accent), #ea580c);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.hero-buttons .btn-primary:hover {
    box-shadow: 0 14px 36px rgba(245, 158, 11, 0.5);
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
}

.info-card-header i {
    font-size: 22px;
}

.info-card-phone {
    display: block;
    font-family: var(--font-en);
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.info-card-list i {
    color: var(--accent-light);
    font-size: 16px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 22px;
    z-index: 3;
    animation: bounceDown 2s infinite;
}

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

/* ================== 강점 섹션 ================== */
.strengths {
    padding: 80px 0;
    background: var(--gray-50);
    position: relative;
    margin-top: -40px;
    z-index: 5;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.strength-item {
    text-align: center;
    padding: 16px;
    transition: var(--transition);
}

.strength-item:hover {
    transform: translateY(-6px);
}

.strength-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.strength-item h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.strength-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ================== About ================== */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--navy-900);
    margin-bottom: 20px;
}

.about-text h3 strong {
    color: var(--blue-500);
}

.about-text .lead {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list i {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.about-list strong {
    display: block;
    font-size: 16px;
    color: var(--navy-900);
    font-weight: 700;
    margin-bottom: 4px;
}

.about-list span {
    font-size: 14px;
    color: var(--gray-600);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    color: var(--white);
    padding: 36px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
    transition: var(--transition);
}

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

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
}

.stat-card:nth-child(4) {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
}

.stat-num {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    position: relative;
}

.stat-label {
    font-size: 14px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
}

/* ================== Services ================== */
.services {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-500);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    color: var(--white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card.featured h3,
.service-card.featured p {
    color: var(--white);
}

.service-card.featured ul li {
    color: rgba(255, 255, 255, 0.9);
}

.service-card.featured .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.service-card.featured .service-btn {
    color: var(--accent-light);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-card.featured .service-btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card ul {
    margin-bottom: 24px;
}

.service-card ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 14px;
    color: var(--gray-700);
}

.service-card ul i {
    color: var(--green);
    font-size: 13px;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-500);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.service-btn:hover {
    background: var(--blue-500);
    color: var(--white);
    border-color: var(--blue-500);
    gap: 12px;
}

/* 취급 품목 */
.product-types {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.product-types-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 20px;
    text-align: center;
}

.product-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.product-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 14px 16px;
    background: var(--gray-50);
    color: var(--navy-700);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: 1.5px solid transparent;
}

.product-tag:hover {
    background: var(--white);
    border-color: var(--blue-500);
    color: var(--blue-500);
    transform: translateY(-2px);
}

.product-tag i {
    color: var(--blue-500);
    font-size: 13px;
}

/* ================== Gallery ================== */
.gallery {
    padding: 100px 0;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 30%,
        rgba(10, 31, 68, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.gallery-overlay i {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.gallery-cta {
    text-align: center;
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.gallery-cta p {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.gallery-cta strong {
    color: var(--navy-900);
}

/* ================== Process ================== */
.process {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: center;
}

.process-step {
    background: var(--white);
    padding: 32px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    border: 2px solid var(--gray-100);
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: var(--blue-500);
    box-shadow: var(--shadow-lg);
}

.process-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.process-icon {
    width: 64px;
    height: 64px;
    margin: 16px auto 20px;
    background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.process-step h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
}

.process-arrow {
    color: var(--gray-300);
    font-size: 20px;
}

/* ================== CTA Banner ================== */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-500) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.cta-content h2 {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 17px;
    opacity: 0.92;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ================== Contact ================== */
.contact {
    padding: 100px 0;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: stretch;
}

/* 폼 없이 연락처 정보만 표시할 때 (가운데 정렬) */
.contact-grid-single {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
}

.contact-info {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '\f095';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -40px;
    right: -20px;
    font-size: 220px;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
}

.contact-info h3 {
    position: relative;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-info-desc {
    position: relative;
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 36px;
    line-height: 1.7;
}

.contact-info-list {
    position: relative;
    margin-bottom: 36px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    color: var(--accent-light);
}

.info-text span {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.info-text strong,
.info-text a {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    word-break: break-all;
}

.info-text a:hover {
    color: var(--accent-light);
}

.contact-quick-call {
    position: relative;
    text-align: center;
    padding-top: 24px;
}

.contact-quick-call p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 14px;
}

.contact-quick-call .btn-primary {
    background: linear-gradient(135deg, var(--accent), #ea580c);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* 폼 */
.contact-form-wrap {
    background: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group label span {
    color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--gray-800);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

.form-agree {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-agree label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-700);
}

.form-agree input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--blue-500);
}

.form-message {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

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

/* ================== 푸터 ================== */
.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.85);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-logo i {
    font-size: 28px;
    color: var(--accent-light);
}

.footer-logo span {
    font-size: 22px;
    font-weight: 900;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent);
}

.footer-col ul li {
    padding: 5px 0;
    font-size: 14px;
    opacity: 0.75;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    opacity: 1;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-light);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

.footer-tag {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.5;
}

/* ================== 우측 플로팅 사이드바 ================== */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    position: relative;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 24px rgba(10, 31, 68, 0.25);
    transition: var(--transition);
    cursor: pointer;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(10, 31, 68, 0.35);
}

.float-btn-call {
    background: linear-gradient(135deg, #16a34a, #10b981);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    animation: pulseCall 1.8s ease-in-out infinite;
}

.float-btn-call::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid #10b981;
    animation: ringExpand 1.8s ease-out infinite;
    pointer-events: none;
}

@keyframes pulseCall {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes ringExpand {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

.float-btn-call:hover {
    animation-play-state: paused;
}

.float-btn-call i {
    animation: phoneRing 1.5s ease-in-out infinite;
}

.float-btn-blog {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.float-btn-form {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.float-btn-top {
    background: linear-gradient(135deg, var(--gray-700), var(--gray-800));
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.float-btn-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.float-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy-900);
    color: var(--white);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    line-height: 1.4;
}

.float-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--navy-900);
}

.float-btn:hover .float-tooltip {
    opacity: 1;
    right: calc(100% + 18px);
}

/* ================== 모바일 하단 고정 전화 버튼 ================== */
.mobile-call-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--navy-900), var(--blue-500));
    color: var(--white);
    padding: 12px 16px;
    z-index: 998;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.mcb-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.mcb-icon i {
    animation: phoneRing 1.5s ease-in-out infinite;
}

.mcb-text {
    flex: 1;
    line-height: 1.2;
}

.mcb-text em {
    display: block;
    font-size: 11px;
    font-style: normal;
    opacity: 0.85;
}

.mcb-text strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.mcb-arrow {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

/* ================== 반응형 ================== */
@media (max-width: 1100px) {
    .hero-title {
        font-size: 44px;
    }
    .hero-inner {
        gap: 40px;
    }
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav a {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .header-call span {
        display: none;
    }
    .header-call {
        padding: 12px;
    }
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav.open {
        max-height: 500px;
    }
    .nav ul {
        flex-direction: column;
        padding: 16px;
        gap: 0;
    }
    .nav a {
        padding: 14px 16px;
        font-size: 16px;
        border-bottom: 1px solid var(--gray-100);
    }
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        min-height: auto;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 70px 24px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-desc {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card.featured {
        transform: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .process-arrow {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .floating-sidebar {
        right: 12px;
        gap: 10px;
    }
    .float-btn {
        width: 54px;
        height: 54px;
        font-size: 18px;
    }
    .float-tooltip {
        display: none;
    }
    
    .mobile-call-bar {
        display: flex;
    }
    body {
        padding-bottom: 70px;
    }
    .floating-sidebar {
        bottom: 90px;
        top: auto;
        transform: none;
    }
}

@media (max-width: 600px) {
    .top-bar {
        font-size: 11px;
    }
    .top-bar-divider {
        display: none;
    }
    .top-bar-inner {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .header-inner {
        padding: 12px 16px;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .logo-text strong {
        font-size: 16px;
    }
    .logo-text em {
        font-size: 11px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .info-card-phone {
        font-size: 30px;
    }
    
    .section-head {
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 24px;
    }
    .section-desc {
        font-size: 15px;
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 28px 20px;
    }
    
    .stat-num {
        font-size: 36px;
    }
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid,
    .product-types-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info,
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 22px;
    }
    .btn-white-large {
        padding: 16px 24px;
        flex-direction: column;
    }
    .btn-white-large strong {
        font-size: 20px;
    }
}
