/* ===================================================
   파인컨설팅 FINE Consulting — Main Stylesheet
   Color System:
   - Deep Navy:  #1a2f5e (primary)
   - Navy Mid:   #243b72
   - Gold:       #c8a84b
   - Light Gold: #e8c96a
   - BG Light:   #f5f7fb
   - Text Dark:  #1c1c2e
   - Text Mid:   #4a4a6a
=================================================== */

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

:root {
  --navy:      #1a2f5e;
  --navy-mid:  #243b72;
  --navy-dark: #0f1d3a;
  --gold:      #c8a84b;
  --gold-lt:   #e8c96a;
  --bg:        #f5f7fb;
  --bg-white:  #ffffff;
  --text:      #1c1c2e;
  --text-mid:  #4a4a6a;
  --text-lt:   #8888aa;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(26,47,94,0.10);
  --shadow-lg: 0 8px 40px rgba(26,47,94,0.18);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f8; }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION ===== */
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 2px;
  margin: 0 auto 20px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: 'Noto Sans KR', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #a87c28);
  color: #fff;
  box-shadow: 0 4px 16px rgba(200,168,75,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,168,75,0.45);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER / NAV ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.0);
  backdrop-filter: blur(0px);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
#header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(26,47,94,0.12);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo .logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.4s;
}
#header.scrolled .nav-logo .logo-img { filter: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
}
.nav-link:hover { color: var(--gold-lt); }
#header.scrolled .nav-link { color: var(--text-mid); }
#header.scrolled .nav-link:hover { color: var(--navy); }

.nav-cta {
  background: var(--gold) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  border-radius: 50px !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
#header.scrolled .hamburger span { background: var(--navy); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: 
    linear-gradient(160deg, rgba(10,20,50,0.85) 0%, rgba(26,47,94,0.78) 50%, rgba(10,30,60,0.70) 100%),
    url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,20,50,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}
.hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 66px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--gold); }
.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}
.stat-num small {
  font-size: 0.5em;
  color: rgba(255,255,255,0.8);
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.25);
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== VALUE STRIP ===== */
.value-strip {
  background: var(--navy);
  padding: 20px 24px;
}
.value-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
}
.value-item i { color: var(--gold); font-size: 18px; }

/* ===== ABOUT ===== */
.about-section { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.about-photo { position: relative; }
.photo-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.photo-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold), #a87c28);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(200,168,75,0.4);
}
.about-name-block { margin-bottom: 20px; }
.consultant-name {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 6px;
  margin-bottom: 4px;
}
.consultant-title {
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
}
.about-intro {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 32px;
  padding: 20px;
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
}
.career-timeline { margin-bottom: 28px; }
.career-item {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #e8eaf4;
  align-items: flex-start;
}
.career-item:last-child { border-bottom: none; }
.career-item.active .career-content strong { color: var(--navy); }
.career-item.active { background: rgba(200,168,75,0.06); padding: 14px 12px; border-radius: 8px; border-bottom: none; }
.career-period {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-lt);
  white-space: nowrap;
  min-width: 140px;
  padding-top: 2px;
}
.career-item.active .career-period { color: var(--gold); }
.career-content { display: flex; flex-direction: column; gap: 2px; }
.career-content strong { font-size: 15px; font-weight: 700; color: var(--text); }
.career-content span { font-size: 13px; color: var(--text-mid); }

.expertise-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 6px 14px;
  background: rgba(26,47,94,0.08);
  color: var(--navy);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(26,47,94,0.15);
}

/* ===== SERVICES ===== */
.services-section { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid rgba(26,47,94,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card.featured {
  background: var(--navy);
  border-color: var(--navy);
}
.service-card.featured::before { background: linear-gradient(90deg, var(--gold), var(--gold-lt)); transform: scaleX(1); }
.service-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.service-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: rgba(26,47,94,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
  color: var(--navy);
  transition: var(--transition);
}
.service-card.featured .service-icon-wrap {
  background: rgba(255,255,255,0.1);
  color: var(--gold);
}
.service-card:hover .service-icon-wrap {
  background: var(--navy);
  color: var(--gold);
}
.service-card.featured:hover .service-icon-wrap { background: rgba(200,168,75,0.2); }

.service-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card.featured .service-title { color: #fff; }
.service-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}
.service-card.featured .service-desc { color: rgba(255,255,255,0.75); }
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
}
.service-card.featured .service-list li { color: rgba(255,255,255,0.8); }
.service-list li i { color: var(--gold); font-size: 11px; flex-shrink: 0; }
.service-tag-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.stag {
  padding: 4px 10px;
  background: rgba(26,47,94,0.08);
  color: var(--navy);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}
.service-card.featured .stag {
  background: rgba(200,168,75,0.2);
  color: var(--gold);
}

/* ===== PROCESS ===== */
.process-section { background: var(--navy); }
.process-section .section-sub { color: var(--gold); }
.process-section .section-title { color: #fff; }
.process-section .section-desc { color: rgba(255,255,255,0.65); }
.process-section .section-line { background: linear-gradient(90deg, var(--gold), rgba(255,255,255,0.3)); }

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.process-step {
  flex: 1;
  min-width: 140px;
  max-width: 180px;
  text-align: center;
  padding: 28px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.process-step:hover {
  background: rgba(200,168,75,0.12);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.step-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(200,168,75,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
  margin: 0 auto 14px;
}
.step-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.process-arrow {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.2);
  font-size: 16px;
  padding: 0 6px;
  padding-top: 60px;
}

/* 진단 항목 */
.diagnosis-area {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px;
}
.diag-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.diag-title i { color: var(--gold); }
.diag-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.diag-card {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: var(--transition);
}
.diag-card:hover { background: rgba(200,168,75,0.1); border-color: rgba(200,168,75,0.3); }
.diag-card i { font-size: 28px; color: var(--gold); margin-bottom: 10px; }
.diag-card strong { display: block; font-size: 13px; color: #fff; margin-bottom: 6px; }
.diag-card p { font-size: 11px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ===== CASES ===== */
.cases-section { background: var(--bg); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.case-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(26,47,94,0.08);
  transition: var(--transition);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,168,75,0.4);
}
.case-company {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-mid);
}
.case-company i { color: var(--gold); }
.case-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.5;
}
.case-detail {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-tags span {
  padding: 4px 10px;
  background: rgba(26,47,94,0.07);
  color: var(--navy);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}

/* Numbers */
.numbers-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--navy);
  border-radius: 20px;
  padding: 48px 40px;
}
.number-card {
  text-align: center;
  color: #fff;
}
.num-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.num-unit {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.number-card p {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ===== WHY ===== */
.why-section { background: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid rgba(26,47,94,0.1);
  border-radius: 16px;
  transition: var(--transition);
  background: var(--bg);
}
.why-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.why-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(26,47,94,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--navy);
  margin: 0 auto 20px;
  transition: var(--transition);
}
.why-card:hover .why-icon { background: rgba(200,168,75,0.2); color: var(--gold); }
.why-card h4 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 12px; transition: var(--transition); }
.why-card:hover h4 { color: #fff; }
.why-card p { font-size: 13px; color: var(--text-mid); line-height: 1.8; transition: var(--transition); }
.why-card:hover p { color: rgba(255,255,255,0.7); }

/* ===== CONTACT ===== */
.contact-section { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-info h3 small {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-lt);
}
.contact-sub {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 32px;
}
.contact-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(26,47,94,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 16px;
  flex-shrink: 0;
}
.contact-item div { display: flex; flex-direction: column; gap: 2px; }
.contact-item strong { font-size: 12px; color: var(--text-lt); font-weight: 600; }
.contact-item a, .contact-item span { font-size: 16px; font-weight: 600; color: var(--navy); }
.contact-item a:hover { color: var(--gold); }

.contact-cta-box {
  background: var(--navy);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-cta-box p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-cta-box i { color: var(--gold); }

/* Form */
.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,47,94,0.08);
}
.form-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bg);
}
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.req { color: var(--gold); }
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e3f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: #f8f9ff;
  transition: var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,47,94,0.08);
}
textarea { resize: vertical; }
.form-check-group { display: flex; align-items: center; }
.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
}
.btn-submit {
  padding: 16px;
  font-size: 16px;
  border-radius: 12px;
  margin-top: 8px;
}

.form-success {
  text-align: center;
  padding: 60px 20px;
}
.form-success i { font-size: 56px; color: #2ecc71; margin-bottom: 16px; }
.form-success h4 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.form-success p { color: var(--text-mid); }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); padding: 60px 24px 0; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo img { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 8px; }
.footer-logo p { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact p { color: rgba(255,255,255,0.6); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--gold); width: 16px; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ===== FLOATING CTA ===== */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: 80px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(26,47,94,0.35);
  transition: var(--transition);
  z-index: 999;
}
.float-cta-2 {
  bottom: 144px;
  background: var(--gold);
}
.float-cta:hover { transform: scale(1.1); }

/* ===== GALLERY ===== */
.gallery-area {
  margin-top: 64px;
  margin-bottom: 64px;
}
.gallery-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gallery-title i { color: var(--gold); }
.gallery-sub {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 28px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(26,47,94,0.10);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,20,50,0.82) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  gap: 6px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 22px; color: var(--gold); }
.gallery-overlay span {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 30, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.lightbox.active { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 880px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-inner img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}
#lightbox-caption {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: var(--gold); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.lightbox-prev { left: -56px; }
.lightbox-next { right: -56px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-photo { max-width: 380px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diag-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  }
  .nav-menu.open { display: flex; }
  .nav-link { color: rgba(255,255,255,0.85) !important; padding: 14px 16px !important; border-radius: 10px !important; font-size: 15px !important; }
  .nav-link:hover { background: rgba(255,255,255,0.1) !important; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hamburger { display: flex; }
  
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .process-steps { flex-direction: column; align-items: center; }
  .process-step { max-width: 100%; width: 100%; }
  .process-arrow { transform: rotate(90deg); padding: 0; }
  
  .diag-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .numbers-strip { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; }
  
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox-prev { left: -44px; }
  .lightbox-next { right: -44px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .numbers-strip { grid-template-columns: 1fr 1fr; }
  .num-val { font-size: 40px; }
  .diag-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-prev,
  .lightbox-next { top: auto; bottom: -54px; transform: none; }
}
