/* ══════════════════════════════════════════════
   REONLABS — Corporate Website Stylesheet
   ══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+KR:wght@300;400;500;700;800&display=swap');

/* ── Variables ── */
:root {
  --navy-900: #081528;
  --navy-800: #0D1E38;
  --navy-700: #122548;
  --navy-600: #1A3A6C;
  --blue-500: #2563EB;
  --blue-400: #3B82F6;
  --blue-100: #DBEAFE;
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white:    #FFFFFF;

  --font: 'Inter', 'Noto Sans KR', sans-serif;

  --header-h:   72px;
  --section-py: 100px;
  --container:  1200px;
  --radius:     12px;
  --radius-sm:  8px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.18);

  --ease: 0.22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(ko) { word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Utility ── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.25;
  margin-bottom: 24px;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed            { opacity: 1; transform: none; }
.reveal.delay-1             { transition-delay: .10s; }
.reveal.delay-2             { transition-delay: .20s; }
.reveal.delay-3             { transition-delay: .30s; }
.reveal.delay-4             { transition-delay: .40s; }

/* ══════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════ */
#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}
#header.scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

/* Make container fill header height so flex centering works */
#header > .container {
  height: 100%;
  padding: 0 40px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  gap: 4px;
}
.logo-img {
  height: 18px;
  width: 177px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}
.logo-tagline {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .logo-tagline { display: none; }
}

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 0 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}
.nav-link:hover,
.nav-link.active {
  color: var(--navy-800);
  background: var(--gray-100);
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto; /* always push to far right */
}

/* Language toggle — works for both <button> and <a> */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 100px;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  transition: all var(--ease);
  white-space: nowrap;
}
.lang-btn.active {
  background: var(--white);
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

/* Header CTA */
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 100px;
  white-space: nowrap;
  transition: background var(--ease), transform var(--ease);
}
.btn-header-cta:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  margin: 0 auto;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  right: 0;
  width: min(300px, 80vw);
  height: calc(100dvh - var(--header-h));
  background: var(--white);
  box-shadow: var(--shadow-xl);
  padding: 24px 20px;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}
.mobile-nav-links a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--ease), color var(--ease);
}
.mobile-nav-links a:hover {
  background: var(--gray-50);
  color: var(--navy-800);
}

.mobile-lang-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.mobile-lang-toggle .lang-btn {
  flex: 1;
  justify-content: center;
  height: 40px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}
.mobile-lang-toggle .lang-btn.active {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: var(--white);
  box-shadow: none;
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy-800);
  border-radius: var(--radius-sm);
}

/* Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none; /* invisible → block no clicks */
  transition: opacity 0.3s ease;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto; /* only intercept clicks when actually visible */
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 10% 65%, rgba(37,99,235,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(37,99,235,.12) 0%, transparent 55%),
    linear-gradient(150deg, var(--navy-900) 0%, #0D2040 55%, var(--navy-800) 100%);
  padding-top: var(--header-h);
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-400);
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.25);
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-400);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  max-width: 820px;
}
.hero-title .line2 { color: rgba(255,255,255,.72); }

.hero-body {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,.62);
  line-height: 1.85;
  max-width: 640px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--blue-500);
  padding: 15px 32px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(37,99,235,.4);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn-primary:hover {
  background: var(--blue-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,.5);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  border: 1.5px solid rgba(255,255,255,.25);
  padding: 14px 32px;
  border-radius: 100px;
  transition: all var(--ease);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.48);
}

/* ══════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════ */
#about { padding: var(--section-py) 0; background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-body {
  color: var(--gray-700);
  font-size: 1.0rem;
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.kw-chip {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy-800);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 7px 16px;
  border-radius: 100px;
  transition: all var(--ease);
}
.kw-chip:hover {
  background: var(--blue-100);
  border-color: var(--blue-500);
  color: var(--blue-500);
}

.about-card-stack { display: flex; flex-direction: column; gap: 14px; }
.about-info-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--ease), border-color var(--ease);
}
.about-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300,#D1D5DB);
}
.about-card-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--navy-800);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.about-card-icon svg { width: 20px; height: 20px; }
.about-card-title {
  font-size: 0.875rem; font-weight: 700;
  color: var(--navy-800); margin-bottom: 3px;
}
.about-card-desc {
  font-size: 0.8rem; color: var(--gray-500); line-height: 1.55;
}

/* ══════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════ */
#services { padding: var(--section-py) 0; background: var(--gray-50); }

.services-header { text-align: center; margin-bottom: 56px; }
.services-header .section-title { margin-bottom: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.service-icon-wrap {
  width: 50px; height: 50px;
  background: var(--navy-800);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--white);
  flex-shrink: 0;
}
.service-icon-wrap svg { width: 24px; height: 24px; }
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 18px;
  line-height: 1.4;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.6;
}
.service-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--blue-500);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════
   INDUSTRIES
   ══════════════════════════════════════════════ */
#industries { padding: var(--section-py) 0; background: var(--white); }

.industries-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.industries-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.industry-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: all var(--ease);
}
.industry-item:hover {
  background: var(--blue-100);
  border-color: var(--blue-500);
}
.industry-check {
  width: 22px; height: 22px;
  background: var(--navy-800);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  color: var(--white);
}
.industry-check svg { width: 12px; height: 12px; }
.industry-item p { font-size: 0.925rem; font-weight: 500; color: var(--gray-900); line-height: 1.5; }

.industries-deco {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: 20px;
  padding: 44px 36px;
  color: var(--white);
}
.deco-heading {
  font-size: 0.75rem; font-weight: 700;
  color: var(--blue-400); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 20px;
}
.deco-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.deco-tag {
  font-size: 0.8rem; font-weight: 500;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.15);
  padding: 6px 14px; border-radius: 100px;
}
.deco-divider { height: 1px; background: rgba(255,255,255,.1); margin: 28px 0; }
.deco-stat-row { display: flex; justify-content: space-between; gap: 12px; }
.deco-stat-num {
  font-size: 1.8rem; font-weight: 800;
  color: var(--white); line-height: 1; margin-bottom: 4px;
}
.deco-stat-label { font-size: 0.72rem; color: rgba(255,255,255,.45); }

/* ══════════════════════════════════════════════
   WHY REONLABS
   ══════════════════════════════════════════════ */
#why { padding: var(--section-py) 0; background: var(--navy-900); }
#why .section-label { color: var(--blue-400); }
#why .section-title { color: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  margin-top: 52px;
}
.why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background var(--ease), border-color var(--ease);
}
.why-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(37,99,235,.4);
}
.why-num {
  font-size: 2.2rem; font-weight: 800;
  color: rgba(37,99,235,.28); line-height: 1;
  flex-shrink: 0; min-width: 48px;
}
.why-text p {
  font-size: 1rem; font-weight: 600;
  color: rgba(255,255,255,.88); line-height: 1.55;
}

/* ══════════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════════ */
#process { padding: var(--section-py) 0; background: var(--gray-50); }
.process-header { text-align: center; margin-bottom: 64px; }
.process-header .section-title { margin-bottom: 0; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(10% + 8px);
  right: calc(10% + 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--navy-800), var(--blue-500));
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 80px; height: 80px;
  background: var(--white);
  border: 3px solid var(--navy-800);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.1rem; font-weight: 800;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
}
.process-step:hover .step-circle {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: scale(1.08);
}
.step-label {
  font-size: 0.85rem; font-weight: 600;
  color: var(--gray-700); line-height: 1.45;
}

/* ══════════════════════════════════════════════
   CONTACT CTA
   ══════════════════════════════════════════════ */
#contact-cta {
  padding: var(--section-py) 0;
  background: var(--navy-800);
  position: relative; overflow: hidden;
}
#contact-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 5% 50%, rgba(37,99,235,.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 30%, rgba(37,99,235,.1) 0%, transparent 50%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 700px; margin: 0 auto;
}
.cta-title {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 800; color: var(--white);
  line-height: 1.32; margin-bottom: 20px;
}
.cta-body {
  font-size: 1rem; color: rgba(255,255,255,.62);
  line-height: 1.78; margin-bottom: 40px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
  display: inline-flex; align-items: center;
  font-size: 1rem; font-weight: 600;
  color: var(--navy-900); background: var(--white);
  padding: 16px 32px; border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: all var(--ease);
}
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.25); }
.btn-cta-ghost {
  display: inline-flex; align-items: center;
  font-size: 1rem; font-weight: 600;
  color: rgba(255,255,255,.82);
  border: 1.5px solid rgba(255,255,255,.28);
  padding: 15px 32px; border-radius: 100px;
  transition: all var(--ease);
}
.btn-cta-ghost:hover {
  border-color: rgba(255,255,255,.65);
  color: var(--white); background: rgba(255,255,255,.07);
}

/* ══════════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════════ */
#contact { padding: var(--section-py) 0; background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: flex-start;
}
.contact-subtitle {
  font-size: 0.975rem; color: var(--gray-500);
  line-height: 1.75; margin-bottom: 36px;
}
.contact-detail-list { display: flex; flex-direction: column; gap: 16px; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 12px; }
.contact-detail-icon {
  width: 38px; height: 38px;
  background: var(--gray-100); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--navy-800);
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-label {
  font-size: 0.72rem; font-weight: 600;
  color: var(--gray-400); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 2px;
}
.contact-detail-value { font-size: 0.875rem; font-weight: 500; color: var(--gray-900); }

.contact-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%; font-size: 0.9rem; color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 11px 15px; outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); font-size: 0.85rem; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.btn-submit {
  width: 100%; font-size: 1rem; font-weight: 700;
  color: var(--white); background: var(--navy-800);
  padding: 15px; border-radius: var(--radius-sm);
  transition: background var(--ease), transform var(--ease);
  margin-top: 4px;
}
.btn-submit:hover:not(:disabled) { background: var(--navy-700); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .6; }

.form-message {
  display: none; margin-top: 14px;
  padding: 13px 16px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; line-height: 1.5;
}
.form-message.success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.form-message.error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.55);
  padding: 60px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 44px;
}
.footer-logo-name {
  font-size: 1.2rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.02em; margin-bottom: 14px;
}
.footer-company-names p {
  font-size: 0.875rem; color: rgba(255,255,255,.72); line-height: 1.7;
}
.footer-addr {
  font-size: 0.8rem; color: rgba(255,255,255,.4);
  line-height: 1.7; margin: 10px 0 14px;
}
.footer-contact-row { display: flex; flex-direction: column; gap: 3px; }
.footer-contact-row a,
.footer-contact-row span { font-size: 0.8rem; color: rgba(255,255,255,.45); transition: color var(--ease); }
.footer-contact-row a:hover { color: var(--white); }
.footer-col-title {
  font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,.88); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,.45); transition: color var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-business { font-size: 0.8rem; color: rgba(255,255,255,.3); line-height: 1.65; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,.28); }

/* ══════════════════════════════════════════════
   RESPONSIVE — 1140px (large tablet)
   ══════════════════════════════════════════════ */
@media (max-width: 1140px) {
  .container,
  #header > .container { padding: 0 32px; }

  .about-grid { gap: 56px; }
  .industries-inner { gap: 48px; }
  .contact-grid { gap: 56px; }
  .footer-grid { gap: 36px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — 960px (tablet)
   ══════════════════════════════════════════════ */
@media (max-width: 960px) {
  :root { --section-py: 80px; }

  .about-grid,
  .industries-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 18px;
  }

  /* Process: horizontal → vertical list */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-steps::before { display: none; }
  .process-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0 0 28px;
    gap: 20px;
  }
  .step-circle {
    width: 56px; height: 56px;
    font-size: 0.95rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .step-label { font-size: 0.95rem; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }

  .industries-deco { display: none; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — 768px (mobile)
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --header-h:   60px;
  }

  .container,
  #header > .container { padding: 0 20px; }

  /* Header: hide desktop elements, show hamburger */
  .desktop-nav    { display: none; }
  .btn-header-cta { display: none; }
  .lang-toggle    { display: none; }  /* shown in mobile drawer instead */
  .hamburger      { display: flex; }
  .mobile-nav     { display: block; }
  .mobile-overlay { display: block; }
  .header-right   { gap: 4px; }

  /* Hero */
  .hero-inner { padding: 60px 0 72px; }
  .hero-title { font-size: clamp(1.65rem, 6.5vw, 2.4rem); }
  .hero-body  { font-size: 0.95rem; margin-bottom: 36px; }
  .hero-actions { gap: 12px; }
  .hero-stats { gap: 28px; margin-top: 48px; padding-top: 36px; }
  .hero-stat-num   { font-size: 1.3rem; }
  .hero-stat-label { font-size: 0.72rem; }

  /* About */
  .about-grid { gap: 36px; }
  .about-card-stack { display: none; }

  /* Services & Why: 1 column */
  .services-grid,
  .why-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 18px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — 480px (small mobile)
   ══════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }
  .btn-primary,
  .btn-ghost,
  .btn-cta-primary,
  .btn-cta-ghost {
    width: 100%;
    justify-content: center;
  }
  .hero-badge { font-size: 0.68rem; padding: 5px 12px; }
  .hero-stats { gap: 20px; }
}
