/* ================================================================
   KALTET TEKNOLOJI — Enterprise UI
   Premium dark theme · Glass depth · Gradient accents
   ================================================================ */

/* --------------- 1. DESIGN TOKENS --------------- */
:root {
  color-scheme: dark;

  /* backgrounds */
  --bg: #050a14;
  --bg-alt: #0a1120;
  --surface: rgba(12, 20, 38, 0.82);
  --surface-hover: rgba(18, 28, 50, 0.88);

  /* text */
  --text: #f0f5ff;
  --text-secondary: #b8c8de;
  --muted: #6e829c;

  /* borders */
  --line: rgba(255, 255, 255, 0.06);
  --line-hover: rgba(255, 255, 255, 0.13);

  /* accent */
  --accent: #4f8cff;
  --accent-hover: #6da2ff;
  --accent-glow: rgba(79, 140, 255, 0.18);
  --accent-soft: rgba(79, 140, 255, 0.08);
  --accent-gradient: linear-gradient(135deg, #4f8cff 0%, #7c6aff 100%);
  --accent-text: #c2d8ff;

  /* status */
  --success: #34d399;
  --danger: #f87171;

  /* depth */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.14), 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.24), 0 4px 12px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 60px rgba(79, 140, 255, 0.06);

  /* radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;

  /* layout */
  --container: 1200px;
  --header-h: 72px;

  /* type */
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, sans-serif;

  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.3, 1);
  --duration: 0.6s;
}

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

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

/* --------------- 3. BACKGROUND & ATMOSPHERE --------------- */
.page-shell {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.page-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.page-aurora::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  top: -200px;
  left: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  animation: aurora-drift 20s ease-in-out infinite;
}

.page-aurora::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: 100px;
  right: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 106, 255, 0.09) 0%, transparent 70%);
  filter: blur(80px);
  animation: aurora-drift 25s ease-in-out infinite reverse;
}

@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -15px) scale(0.95); }
}

/* subtle grid pattern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  z-index: -1;
}

/* --------------- 4. LAYOUT --------------- */
.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.012);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* --------------- 5. SCROLL REVEAL --------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* --------------- 6. HEADER & NAVIGATION --------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(5, 10, 20, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}

.brand:hover .brand-logo {
  border-color: var(--line-hover);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.site-nav a {
  position: relative;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-cta {
  display: none;
}

/* Hamburger */
.lang-switch,
.button,
.nav-toggle {
  border: 0;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--text);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 26px; }

.nav-toggle.open span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle.open span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* --------------- 7. BUTTONS --------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.3), var(--shadow-sm);
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.button-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.4), 0 8px 32px rgba(79, 140, 255, 0.2);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-hover);
  transform: translateY(-1px);
}

/* --------------- 8. LANGUAGE SELECT --------------- */
.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select-wrap::after {
  content: "\25BE";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  font-size: 0.8rem;
}

.lang-select {
  min-width: 120px;
  height: 44px;
  padding: 0 32px 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  appearance: none;
  outline: none;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.lang-select:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-hover);
}

.lang-select:focus {
  border-color: rgba(79, 140, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.1);
}

.lang-select option {
  color: #0a1320;
  background: #f0f4fc;
}

/* --------------- 9. HERO --------------- */
.hero {
  padding-top: 64px;
  padding-bottom: 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 500px;
  transform: translate(-50%, -60%);
  background: radial-gradient(ellipse, rgba(79, 140, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(380px, 0.9fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(79, 140, 255, 0.15);
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 24px 0 20px;
  max-width: 13ch;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -0.045em;
  text-wrap: balance;
  background: linear-gradient(160deg, var(--text) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Hero summary cards (below CTA buttons on hero left) */
.hero-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
  max-width: 480px;
}

.hero-summary-card {
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}

.hero-summary-card:hover {
  border-color: var(--line-hover);
}

.hero-summary-card span,
.hero-signal span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-summary-card strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

/* Hero ticker */
.hero-ticker-wrap {
  margin-top: 32px;
}

.hero-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-ticker span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  color: var(--text-secondary);
  font-size: 0.82rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, background 0.2s;
}

.hero-ticker span:hover {
  border-color: var(--line-hover);
  background: rgba(255, 255, 255, 0.04);
}

/* Hero visual (right side) */
.hero-visual-shell {
  position: relative;
}

.hero-visual-panel {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: var(--r-2xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero-visual-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(79, 140, 255, 0.1) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.hero-visual-image {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: #0c1424;
}

.hero-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 5;
  padding: 20px;
  border-radius: var(--r-xl);
  background: rgba(5, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.hero-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hero-card-head img {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  padding: 6px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.hero-card-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-card-head span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.hero-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.hero-signal {
  padding: 12px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s;
}

.hero-signal:hover {
  border-color: var(--line-hover);
}

.hero-signal strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Hero summary cards animation */
@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* --------------- 10. SHARED CARD SYSTEM --------------- */
.metric-card,
.glass-card,
.service-card,
.fact-card,
.visual-card,
.timeline-card,
.team-card,
.contact-card,
.contact-form,
.about-panel,
.mission-panel,
.service-case-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.012) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* card inner glow */
.glass-card::after,
.service-card::after,
.team-card::after,
.visual-card::after,
.timeline-card::after,
.about-panel::after,
.mission-panel::after,
.service-case-panel::after,
.contact-form::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 40%);
}

/* hover glow border effect for interactive cards */
.glass-card,
.service-card,
.team-card,
.visual-card {
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.glass-card:hover,
.service-card:hover,
.team-card:hover,
.visual-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 140, 255, 0.15);
  box-shadow: var(--shadow-md), 0 0 40px rgba(79, 140, 255, 0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.018) 100%);
}

/* shared text styles for description paragraphs */
.section-heading p,
.insight-copy p,
.glass-card p,
.fact-card p,
.service-card p,
.service-case span,
.visual-copy p,
.timeline-card p,
.team-card p,
.contact-card strong,
.footer-brand p,
.mission-panel p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* shared heading sizes for cards */
.glass-card h3,
.service-card h3,
.visual-copy h3,
.timeline-card h3,
.team-card h3,
.about-panel h3,
.mission-panel h3,
.service-case-copy h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --------------- 11. SECTION HEADINGS --------------- */
.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* --------------- 12. METRICS STRIP --------------- */
.metrics-strip {
  padding-bottom: 16px;
}

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

.metric-card {
  padding: 24px;
  border-radius: var(--r-xl);
}

.metric-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.metric-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

/* --------------- 13. INSIGHT SECTION --------------- */
.insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.insight-copy h2 {
  margin: 16px 0 0;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.insight-copy p {
  margin-top: 16px;
}

.insight-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.glass-card {
  padding: 24px;
  border-radius: var(--r-xl);
}

/* --------------- 14. ABOUT SECTION --------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
}

.bullet-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.bullet-item {
  position: relative;
  padding: 18px 18px 18px 20px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.bullet-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-left-color: var(--accent-hover);
}

.about-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--r-xl);
}

.panel-pattern {
  position: absolute;
  right: -20px;
  top: -12px;
  width: 180px;
  opacity: 0.06;
  pointer-events: none;
}

.fact-grid {
  display: grid;
  gap: 12px;
}

.fact-card {
  padding: 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
}

.fact-card strong,
.service-case strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.96rem;
  font-weight: 700;
}

/* --------------- 15. SERVICES SECTION --------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  padding: 28px;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(79, 140, 255, 0.15);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

/* Integration cases */
.service-case-panel {
  margin-top: 32px;
  padding: 32px;
  border-radius: var(--r-2xl);
}

.service-case-copy {
  max-width: 780px;
}

.service-case-copy h3 {
  margin-top: 14px;
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.service-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.service-case {
  padding: 18px;
  min-height: 140px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s;
}

.service-case:hover {
  border-color: var(--line-hover);
  background: rgba(255, 255, 255, 0.03);
}

/* --------------- 16. VISUAL STORY --------------- */
.visual-story-grid {
  display: grid;
  gap: 16px;
}

.visual-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 16px;
  border-radius: var(--r-2xl);
}

.visual-card:nth-child(even) .visual-media {
  order: 2;
}

.visual-card:nth-child(even) .visual-copy {
  order: 1;
}

.visual-media {
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: #0a1424;
}

.visual-media img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.visual-copy {
  padding: 8px 16px;
}

.visual-copy h3 {
  font-size: 1.24rem;
}

/* --------------- 17. PROCESS / TIMELINE --------------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-no {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  border-radius: var(--r-lg);
  background: var(--accent-soft);
  border: 1px solid rgba(79, 140, 255, 0.15);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  position: relative;
}

.timeline-no::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 16px;
  height: 2px;
  background: rgba(79, 140, 255, 0.2);
}

.timeline-item:last-child .timeline-no::after {
  display: none;
}

.timeline-card {
  flex: 1;
  padding: 24px;
  border-radius: var(--r-xl);
}

.mission-panel {
  margin-top: 32px;
  padding: 28px;
  border-radius: var(--r-xl);
}

/* --------------- 18. TEAM --------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  padding: 24px;
  border-radius: var(--r-xl);
}

.team-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.team-avatar {
  width: 48px;
  height: 48px;
  padding: 6px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.team-index {
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.team-card h3 {
  min-height: 0;
}

/* --------------- 19. CONTACT --------------- */
.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: 40px;
  align-items: start;
}

.contact-card-stack {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 18px 20px;
  border-radius: var(--r-lg);
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.contact-card strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: var(--r-xl);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:hover,
.contact-form textarea:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-hover);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(79, 140, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-status.success {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: #a7f3d0;
}

.form-status.error {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: #fecaca;
}

.form-status.loading {
  background: rgba(79, 140, 255, 0.08);
  border: 1px solid rgba(79, 140, 255, 0.2);
  color: #c2d8ff;
}

.contact-link,
.contact-text {
  color: inherit;
  line-height: 1.7;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--accent);
}

/* --------------- 20. FOOTER --------------- */
.site-footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr));
  gap: 32px;
  align-items: start;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 38ch;
}

.site-footer h4 {
  margin: 4px 0 14px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-links a:hover,
.footer-links .contact-link:hover {
  color: var(--text);
}

.footer-copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* --------------- 21. RESPONSIVE --------------- */
@media (max-width: 1180px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .hero-grid,
  .insight-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    flex-direction: row;
    align-items: stretch;
  }

  .timeline-no {
    width: 80px;
    height: auto;
    min-height: 100px;
    flex-shrink: 0;
  }

  .timeline-no::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 72px 0;
  }

  .nav-shell {
    flex-wrap: wrap;
    position: relative;
    padding: 10px 0;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 4;
    margin-top: 8px;
    padding: 8px;
    border-radius: var(--r-lg);
    flex-direction: column;
    align-items: stretch;
    background: rgba(5, 10, 20, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-radius: var(--r-sm);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions .desktop-cta {
    display: none;
  }

  .mobile-cta {
    display: inline-flex;
    margin-top: 6px;
  }

  .hero-grid,
  .visual-card,
  .visual-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .visual-card:nth-child(even) .visual-media,
  .visual-card:nth-child(even) .visual-copy {
    order: unset;
  }

  .service-case-grid,
  .insight-cards,
  .service-grid,
  .team-grid,
  .hero-signal-grid,
  .hero-summary-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 16px;
  }

  .hero-visual-image {
    min-height: 340px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-visual-shell {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero p,
  .section-heading p,
  .insight-copy p,
  .glass-card p,
  .fact-card p,
  .service-card p,
  .service-case span,
  .visual-copy p,
  .timeline-card p,
  .team-card p,
  .contact-card strong,
  .footer-brand p,
  .mission-panel p,
  .contact-link,
  .contact-text {
    font-size: 0.93rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand span {
    font-size: 0.72rem;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .lang-select-wrap,
  .lang-select {
    width: 100%;
  }

  .button {
    min-height: 46px;
  }

  .lang-select {
    height: 42px;
  }

  .hero-visual-panel,
  .about-panel,
  .service-card,
  .visual-card,
  .contact-form,
  .mission-panel,
  .team-card,
  .service-case-panel,
  .glass-card,
  .timeline-card {
    padding: 20px;
  }

  .hero-card,
  .contact-card,
  .fact-card,
  .service-case,
  .hero-summary-card {
    padding: 16px;
  }

  .hero-visual-image {
    min-height: 260px;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-no {
    height: 60px;
    width: 100%;
    min-height: auto;
  }
}

/* --------------- 22. REDUCED MOTION --------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
