/* ── datagram shared stylesheet ── */

/* Color System */
:root {
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --sky: #0ea5e9;
  --sky-light: #38bdf8;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --text: #0f172a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

.logo-img {
  height: 30px;
  width: auto;
  display: block;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
  padding: 0 60px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.3s;
}
.logo {
  font-family: 'Sora', sans-serif; font-weight: 300; font-size: 22px;
  color: var(--white); text-decoration: none; text-transform: lowercase;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'Sora', sans-serif; font-weight: 300; font-size: 13px;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.7); text-decoration: none;
  transition: color 0.3s; text-transform: uppercase; cursor: pointer;
  position: relative;
}
.nav-links a:hover { color: var(--sky-light); }
.nav-links a.active { color: var(--sky-light); font-weight: 600; }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; }
/* Bridge pseudo-element fills the gap so hover isn't lost */
.nav-dropdown::after {
  content: ''; display: none; position: absolute;
  top: 100%; left: 0; right: 0; height: 20px; z-index: 99;
}
.nav-dropdown:hover::after { display: block; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%); background: var(--navy-mid);
  border: 1px solid rgba(14,165,233,0.2); min-width: 220px; padding: 8px 0;
  border-radius: 4px; list-style: none; z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block; padding: 12px 20px; font-size: 13px; letter-spacing: 0.04em;
  text-transform: none; white-space: nowrap;
}
.dropdown-menu li a:hover { background: rgba(14,165,233,0.1); color: var(--sky-light); }

.mobile-menu-btn {
  display: none; background: none; border: none;
  color: var(--white); font-size: 24px; cursor: pointer;
}

/* ── HERO ── */
.hero-section {
  background:
    linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.82)),
    url('/images/main_bg03.jpg') center/cover no-repeat;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 120px 60px 120px; min-height: 80vh;
}
.hero-section.sm { min-height: 52vh; padding-top: 64px; padding-bottom: 60px; }
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: scrollGrid 30s linear infinite;
}
@keyframes scrollGrid { 0% { background-position: 0 0; } 100% { background-position: 0 80px; } }

.hero-orb-1, .hero-orb-2 {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 70%);
  pointer-events: none; animation: floatOrb 8s ease-in-out infinite;
}
.hero-orb-1 { width: 700px; height: 700px; top: -150px; right: -150px; }
.hero-orb-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; animation-delay: -4s; }
@keyframes floatOrb { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }

.hero-content { position: relative; z-index: 2; max-width: 900px; margin-left: 5%; }
.hero-eyebrow {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 300;
  letter-spacing: 0.3em; color: var(--sky); text-transform: uppercase;
  margin-bottom: 32px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--sky); }
.hero-title {
  font-size: clamp(36px, 5vw, 65px); font-weight: 700; color: var(--white);
  line-height: 1.2; letter-spacing: -0.02em; word-break: keep-all; margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--sky-light); }
.hero-sub {
  font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.75);
  line-height: 1.8; max-width: 480px;
}
.btn-group { display: flex; gap: 16px; margin-top: 48px; }
.btn-primary, .btn-ghost {
  padding: 16px 36px; font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all 0.3s;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.btn-primary { background: var(--sky); color: var(--white); border: 1px solid var(--sky); }
.btn-primary:hover { background: var(--sky-light); border-color: var(--sky-light); transform: translateY(-4px); }
.btn-ghost { background: transparent; color: var(--sky-light); border: 1px solid rgba(14,165,233,0.5); }
.btn-ghost:hover { background: rgba(14,165,233,0.1); border-color: var(--sky); transform: translateY(-4px); }

.scroll-hint {
  position: absolute; bottom: 40px; left: 5%;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif; font-size: 10px; font-weight: 300;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.3); text-transform: uppercase;
}
.scroll-line { width: 40px; height: 1px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; left: -100%; top: 0; width: 100%; height: 100%;
  background: var(--sky); animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim { 0% { left: -100%; } 100% { left: 100%; } }

/* ── LAYOUT ── */
.section-container { max-width: 1200px; margin: 0 auto; padding: 120px 60px; }
.section-label {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 300;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px;
}
.section-heading { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 24px; word-break: keep-all; }
.section-heading.dark { color: var(--white); }

/* Hover Card */
.hover-card { transition: background 0.3s, transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.hover-card:hover { background: var(--navy); transform: translateY(-4px); border-color: var(--sky); }
.hover-card:hover * { color: var(--white); transition: color 0.3s; }
.hover-card:hover .accent-text { color: var(--sky-light); }
.hover-card:active { background: var(--navy); border-color: var(--sky); transform: translateY(-4px); }
.hover-card:active * { color: var(--white); }
.hover-card:active .accent-text { color: var(--sky-light); }

/* ── HOME: Sub Message ── */
.sub-msg-wrap {
  background:
    linear-gradient(rgba(248, 250, 252, 0.75), rgba(248, 250, 252, 0.75)),
    url('/images/main_bg02.jpg') center/cover no-repeat;
  padding: 140px 60px; position: relative;
}
.sub-msg-inner { max-width: 900px; margin: 0 auto; border-left: 3px solid var(--sky); padding-left: 40px; position: relative; }
.sub-msg-text p { font-size: 16px; line-height: 2.4; font-weight: 300; color: var(--text); margin-bottom: 24px; word-break: keep-all; }
.sub-msg-text p:last-child { margin-bottom: 0; }
.sub-msg-text strong { font-weight: 700; color: var(--navy); }

/* ── HOME: Trust Signals ── */
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--gray-light); border: 1px solid var(--gray-light); }
.trust-card { background: var(--white); padding: 48px 24px; text-align: center; }
.trust-card:hover { background: var(--navy); }
.trust-card:hover h4, .trust-card:hover .trust-icon { color: var(--sky-light); }
.trust-card:hover p { color: rgba(255,255,255,0.6); }
.trust-icon { font-size: 32px; color: var(--sky); margin-bottom: 16px; font-weight: 700; font-family: 'Sora', sans-serif; }
.trust-card h4 { font-size: 14px; font-weight: 500; color: var(--navy); line-height: 1.5; margin-bottom: 8px; }
.trust-card p { font-size: 13px; font-weight: 300; color: var(--gray); line-height: 1.5; }

/* ── HOME: Why Datagram ── */
.why-section {
  background:
    linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.88)),
    url('/images/main_bg04-1.jpg') center/cover no-repeat;
  position: relative;
}
.why-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px); background-size: 80px 80px; }
.why-header { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 60px; position: relative; z-index: 2; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.why-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(14,165,233,0.15); padding: 40px 32px; transition: all 0.3s; }
.why-card:hover { background: var(--sky); transform: translateY(-4px); }
.why-card-num { font-family: 'Sora', sans-serif; font-size: 12px; color: var(--sky); margin-bottom: 16px; letter-spacing: 0.1em; }
.why-card:hover .why-card-num { color: var(--navy); font-weight: 600; }
.why-card h4 { font-size: 16px; font-weight: 500; color: var(--white); line-height: 1.5; }
.why-card:hover h4 { color: var(--navy); font-weight: 700; }
.why-card:hover i { color: var(--white); }

/* ── HOME: Solutions Preview ── */
.sol-preview-bg { background: var(--off-white); }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.preview-card { background: var(--white); padding: 48px; border: 1px solid var(--gray-light); cursor: pointer; text-decoration: none; display: block; transition: all 0.3s; }
.preview-card:hover { background: var(--navy); border-color: var(--sky); transform: translateY(-4px); }
.preview-card h3 { font-family: 'Sora', sans-serif; font-size: 20px; color: var(--navy); margin-bottom: 16px; }
.preview-card p { font-size: 14px; font-weight: 300; color: var(--gray); line-height: 1.6; }
.preview-card:hover h3 { color: var(--sky-light); }
.preview-card:hover p { color: rgba(255,255,255,0.6); }
.preview-card:hover i { color: var(--sky-light); }

/* ── APPROACH ── */
.approach-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.quote-box { border-left: 3px solid var(--sky); padding-left: 32px; }
.quote-box p { font-size: 22px; font-weight: 300; color: var(--navy); line-height: 1.6; word-break: keep-all; }
.process-section { background: var(--navy); position: relative; }
.process-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px); background-size: 80px 80px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 2; margin-bottom: 20px; }
.process-grid.row-2 { grid-template-columns: repeat(3, 1fr); }
.process-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(14,165,233,0.15); padding: 32px; transition: all 0.3s; }
.process-card:hover { transform: translateY(-6px); border-color: var(--sky); background: rgba(14,165,233,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.p-num { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 600; color: var(--sky-light); margin-bottom: 16px; }
.process-card h4 { font-size: 16px; font-weight: 500; color: var(--white); margin-bottom: 12px; word-break: keep-all; }
.process-card p { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.6; }
.methods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.method-card { padding: 40px 24px; border: 1px solid var(--gray-light); text-align: center; background: var(--white); }
.method-card .icon { font-size: 28px; color: var(--sky); margin-bottom: 16px; }
.method-card p { font-size: 14px; font-weight: 400; color: var(--navy); line-height: 1.5; }

/* ── ABOUT: Profile ── */
.profile-layout { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start; }
.profile-img-wrap { width: 100%; position: relative; border-radius: 8px; overflow: hidden; background: var(--gray-light); aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gray-light); }
.profile-img { width: 100%; height: 100%; object-fit: cover; }
.profile-tagline { margin-top: 24px; font-size: 16px; font-weight: 500; color: var(--navy); line-height: 1.5; }
.profile-details h2 { font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.profile-details .sub { font-size: 14px; color: var(--gray); margin-bottom: 40px; font-weight: 300; }
.edu-text { font-size: 15px; font-weight: 400; color: var(--navy); margin-bottom: 32px; line-height: 1.8; }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.history-col h4 { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--sky); text-transform: uppercase; margin-bottom: 16px; border-bottom: 1px solid var(--gray-light); padding-bottom: 8px; }
.history-list { list-style: none; }
.history-list li { font-size: 13px; font-weight: 300; color: var(--text); line-height: 1.8; margin-bottom: 8px; padding-left: 12px; position: relative; }
.history-list li::before { content: '-'; position: absolute; left: 0; color: var(--sky); }
.books-section h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.books-list { list-style: none; }
.books-list li { font-size: 13px; font-weight: 300; color: var(--text); line-height: 1.6; margin-bottom: 12px; padding-left: 18px; position: relative; }
.books-list li::before { content: '▪'; position: absolute; left: 0; color: var(--sky); }

/* ── STATS ── */
.stats-section { background: var(--navy); position: relative; }
.stats-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px); background-size: 80px 80px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; z-index: 2; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-circle { width: 170px; height: 170px; margin: 0 auto 0; border-radius: 50%; border: 2px solid rgba(14,165,233,0.5); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: all 0.3s; padding: 16px; }
.stat-circle:hover { background: var(--sky); border-color: var(--sky); transform: scale(1.05); }
.stat-num { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 600; color: var(--white); }
.stat-label-en { font-family: 'Sora', sans-serif; font-size: 10px; font-weight: 300; color: var(--sky-light); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 6px; text-align: center; line-height: 1.5; word-break: break-word; }
.stat-circle:hover .stat-num, .stat-circle:hover .stat-label-en { color: var(--navy); }
.exp-item { text-align: center; font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.7); line-height: 1.6; word-break: keep-all; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); width: 100%; }

/* ── SERVICES ── */
.sol-quad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 80px; }
.sol-quad-card { background: var(--white); border: 1px solid var(--gray-light); padding: 48px; text-decoration: none; display: block; transition: all 0.3s; }
.sol-quad-card:hover { border-color: var(--sky); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(14,165,233,0.08); }
.sol-quad-num { font-family: 'Sora', sans-serif; font-size: 12px; color: var(--sky); margin-bottom: 16px; }
.sol-quad-card h3 { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.sol-quad-card p { font-size: 14px; font-weight: 300; color: var(--gray); }
.sol-quad-more {
  display: inline-block;
  margin-top: 20px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--sky);
}
.sol-quad-card:hover .sol-quad-more {
  color: var(--sky-light);
}

.sol-detail-section { margin-bottom: 80px; padding-top: 80px; border-top: 1px solid var(--gray-light); }
.sol-detail-header { margin-bottom: 40px; }
.sol-detail-header h3 { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.sol-detail-header p { font-size: 16px; font-weight: 300; color: var(--text); line-height: 1.6; }
.sol-bullet-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sol-bullet-item { background: var(--off-white); padding: 24px; border-radius: 4px; }
.sol-bullet-item h4 { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.sol-bullet-item p { font-size: 13px; font-weight: 300; color: var(--gray); display: flex; align-items: flex-start; gap: 8px; }
.sol-bullet-item p::before { content: '→'; color: var(--sky); font-weight: 600; }

/* Service detail page specific */
.service-detail-hero { background: var(--off-white); }
.service-nav-strip {
  position: static;
  margin-top: 64px; /* push below fixed nav (height: 64px) */
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy);
  padding: 12px max(60px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(14,165,233,0.2);
}
.service-nav-back {
  font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 300;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.6); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; flex-shrink: 0;
  transition: color 0.2s;
}
.service-nav-back:hover { color: var(--sky-light); }
.service-nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.service-nav-link {
  font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,0.5); text-decoration: none;
  padding: 7px 16px; border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.2); transition: all 0.2s;
}
.service-nav-link:hover { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.5); }
.service-nav-link.active { background: var(--sky); color: var(--white); border-color: var(--sky); }

/* Feature list for service pages */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.feature-card { padding: 36px 28px; border: 1px solid var(--gray-light); background: var(--white); }
.feature-card .fc-icon { font-size: 28px; color: var(--sky); margin-bottom: 20px; }
.feature-card h4 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.feature-card p { font-size: 14px; font-weight: 300; color: var(--gray); line-height: 1.7; }

/* CTA Banner */
.cta-banner { background: var(--navy); padding: 80px 60px; text-align: center; position: relative; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px); background-size: 80px 80px; }
.cta-banner h2 { font-family: 'Sora', sans-serif; font-size: clamp(24px, 3vw, 36px); color: var(--white); font-weight: 600; margin-bottom: 16px; position: relative; z-index: 2; }
.cta-banner p { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.7); margin-bottom: 40px; position: relative; z-index: 2; }
.cta-banner .btn-group { justify-content: center; position: relative; z-index: 2; }

/* ── CASES ── */
.cases-wrap { background: var(--off-white); padding: 80px 60px; }
.cases-header { text-align: center; margin-bottom: 48px; }
.cases-header h3 { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 600; color: var(--navy); }
.tab-buttons { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { padding: 12px 24px; background: var(--white); border: 1px solid var(--gray-light); font-family: 'Noto Sans KR', sans-serif; font-size: 14px; font-weight: 400; color: var(--gray); cursor: pointer; transition: all 0.2s; border-radius: 40px; }
.tab-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tab-btn:hover:not(.active) { border-color: var(--sky); color: var(--sky); }
.tab-content { display: none; animation: fadeInTab 0.4s ease; }
.tab-content.active { display: block; }
@keyframes fadeInTab { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.case-category { margin-bottom: 32px; }
.case-category h5 { font-size: 13px; font-weight: 600; color: var(--sky); margin-bottom: 16px; border-bottom: 1px solid var(--gray-light); padding-bottom: 8px; display: inline-block; }
.case-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; }
.case-list-grid li { font-size: 13px; font-weight: 300; color: var(--text); background: var(--white); padding: 16px 20px; border: 1px solid var(--gray-light); border-radius: 4px; display: flex; align-items: center; }
.case-list-grid li::before { content: ''; display: inline-block; width: 4px; height: 4px; background: var(--sky); border-radius: 50%; margin-right: 12px; flex-shrink: 0; }

/* ── CONTACT ── */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.info-card { background: var(--white); border: 1px solid var(--gray-light); padding: 32px; text-align: center; }
.info-card .icon { font-size: 24px; color: var(--sky); margin-bottom: 16px; }
.info-card p { font-size: 14px; font-weight: 400; color: var(--navy); line-height: 1.6; word-break: keep-all; }
.form-wrap { background: var(--off-white); padding: 60px; border-radius: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fg-full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 8px; display: block; }
.form-label span { color: var(--sky); }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--white); border: 1px solid var(--gray-light); padding: 16px; font-family: inherit; font-size: 14px; color: var(--text); border-radius: 4px; outline: none; transition: border-color 0.2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--sky); }
.form-textarea { resize: vertical; min-height: 120px; }
.budget-group { display: flex; flex-wrap: wrap; gap: 10px; }
.budget-btn { padding: 10px 16px; background: var(--white); border: 1px solid var(--gray-light); font-size: 13px; color: var(--gray); border-radius: 4px; cursor: pointer; transition: all 0.2s; }
.budget-btn.selected { background: rgba(14,165,233,0.1); border-color: var(--sky); color: var(--sky); font-weight: 500; }
.privacy-wrap { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; }
.privacy-wrap input { margin-top: 3px; accent-color: var(--sky); }
.privacy-wrap label { font-size: 13px; color: var(--gray); font-weight: 300; }
.submit-btn { background: var(--sky); color: var(--white); border: none; padding: 18px 48px; font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; border-radius: 4px; transition: background 0.3s; margin-top: 24px; width: 100%; }
.submit-btn:hover { background: var(--navy); }

/* ── FOOTER ── */
footer {
  background: var(--navy); border-top: 1px solid rgba(14,165,233,0.1);
  padding: 40px 60px; display: flex; align-items: center; justify-content: space-between;
}
.f-logo { font-family: 'Sora', sans-serif; font-weight: 300; font-size: 20px; color: rgba(255,255,255,0.8); text-transform: lowercase; text-decoration: none; }
.f-info { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.4); letter-spacing: 0.05em; text-align: right; }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; width: 100%; background: var(--navy); padding: 20px 0; border-bottom: 1px solid rgba(14,165,233,0.2); }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { padding: 16px 24px; display: block; }
  .dropdown-menu { display: none !important; }
  .nav-dropdown > a::after { content: ''; }
  .mobile-menu-btn { display: block; }

  .section-container, .cases-wrap { padding: 80px 24px; margin: 0; }
  .hero-section { padding-left: 24px; padding-right: 24px; margin: 0; }
  .hero-content { margin-left: 0; }
  .hero-title { font-size: 40px; }
  .btn-group { flex-direction: column; }

  .sub-msg-wrap { padding: 60px 24px; }
  .sub-msg-inner { padding-left: 20px; }

  .trust-grid, .why-grid, .process-grid, .methods-grid, .sol-quad-grid, .sol-bullet-list, .case-list-grid, .contact-info-grid, .form-grid, .feature-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-circle { width: 150px; height: 150px; }
  .stats-section { padding-left: 24px !important; padding-right: 24px !important; }
  .process-grid.row-2 { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 20px; }
  .cta-banner { padding: 60px 24px; }
  .service-nav-strip { position: static; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 24px; }
  .service-nav-links { flex-direction: row; flex-wrap: wrap; gap: 8px; width: 100%; }
  .service-nav-link { font-size: 11px; padding: 6px 12px; }
  .hero-section.sm { padding-top: 40px; min-height: 60vh; }

  .profile-layout, .approach-intro, .why-header { grid-template-columns: 1fr; }
  .history-grid { grid-template-columns: 1fr; gap: 24px; }

  footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
  .f-info { text-align: center; }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.gallery-item {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.gallery-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  padding: 12px 20px;
}
.gallery-caption::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--sky);
  flex-shrink: 0;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray);
  font-size: 13px;
}
.gallery-placeholder i {
  font-size: 32px;
  color: var(--gray-light);
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
