/* ============================================================
   IT Pro Consulting Co., Ltd. — Main Stylesheet
   ============================================================ */

:root {
  --navy-900:   #0a1245;
  --navy-800:   #1a237e;
  --navy-700:   #283593;
  --navy-600:   #3949ab;
  --blue-500:   #1565c0;
  --blue-400:   #1976d2;
  --blue-300:   #2196f3;
  --blue-100:   #bbdefb;
  --accent:     #2962ff;
  --accent-light: #5c8cff;
  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-300:   #cbd5e1;
  --gray-500:   #64748b;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-900:   #0f172a;

  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sh-sm:      0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --sh-md:      0 4px 16px rgba(0,0,0,0.08);
  --sh-lg:      0 20px 48px rgba(0,0,0,0.10);
  --sh-xl:      0 32px 64px rgba(0,0,0,0.14);
  --r-sm:       6px;
  --r-md:       12px;
  --r-lg:       20px;
  --r-xl:       28px;
  --r-full:     9999px;
  --tr:         0.28s ease;
  --max-w:      1200px;
}

/* ── 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.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.section-sm { padding: 64px 0; }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-full);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.btn-primary:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,35,126,0.3);
}
.btn-white {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-outline:hover {
  background: var(--navy-800);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ── Header / Nav ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--tr), box-shadow var(--tr), padding var(--tr);
}
.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 80px;
  transition: height var(--tr);
}
.header.scrolled .nav { height: 68px; }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo {
  height: 48px;
  width: auto;
  transition: height var(--tr);
}
.header.scrolled .nav-logo { height: 40px; }
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-company {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
  transition: color var(--tr);
}
.nav-tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color var(--tr);
}
.header.scrolled .nav-company { color: var(--navy-800); }
.header.scrolled .nav-tagline { color: var(--gray-500); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: all var(--tr);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.header.scrolled .nav-link {
  color: var(--gray-700);
}
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--navy-800);
  background: var(--gray-100);
}

.nav-cta {
  margin-left: 8px;
  padding: 9px 22px;
  font-size: 0.875rem;
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
  border-radius: var(--r-full);
  font-weight: 700;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}
.header.scrolled .nav-cta {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.header.scrolled .nav-cta:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  border-radius: var(--r-sm);
  transition: background var(--tr);
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.header.scrolled .hamburger span { background: var(--navy-800); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 60%, rgba(41,98,255,0.18) 0%, transparent 50%),
    radial-gradient(circle at 75% 20%, rgba(255,255,255,0.06) 0%, transparent 40%),
    linear-gradient(60deg, rgba(255,255,255,0.015) 25%, transparent 25%),
    linear-gradient(-60deg, rgba(255,255,255,0.015) 25%, transparent 25%);
  background-size: auto, auto, 60px 60px, 60px 60px;
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero-badge i { color: var(--blue-300); }
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #82b1ff, #40c4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-svg {
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
  animation: floatY 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.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: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  animation: bounce 2s infinite;
  will-change: transform;
}
.hero-scroll-hint i { font-size: 1rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--sh-md);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--gray-200);
}
.stat-item:last-child { border-right: none; }
.stat-top {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--navy-800);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-suffix {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 6px;
}

/* ── Services ── */
.services { background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-800), var(--blue-400));
  transform: scaleX(0);
  transition: transform var(--tr);
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}
.service-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 16px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--gray-100);
  color: var(--gray-600);
}
.tag-blue {
  background: #e3f2fd;
  color: var(--blue-500);
}

/* ── About ── */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-card {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.about-card::before {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(41,98,255,0.12);
  border-radius: 50%;
}
.about-card-content { position: relative; z-index: 1; }
.about-card-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.about-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.about-card p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 24px;
}
.about-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.about-stat { text-align: center; }
.about-stat-val {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
}
.about-stat-lbl {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.about-content .section-eyebrow { justify-content: flex-start; }
.about-content .section-eyebrow::before { display: none; }
.about-content .section-title { text-align: left; }
.about-content .section-subtitle { text-align: left; margin: 0 0 32px; }
.about-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.about-bullet {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-bullet-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-400));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-bullet-text { flex: 1; }
.about-bullet-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 3px;
}
.about-bullet-text span {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ── Expertise ── */
.expertise { background: var(--navy-900); }
.expertise .section-title { color: var(--white); }
.expertise .section-subtitle { color: rgba(255,255,255,0.6); }
.expertise .section-eyebrow { color: var(--blue-300); }
.expertise .section-eyebrow::before,
.expertise .section-eyebrow::after { background: var(--blue-300); }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.expertise-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: all var(--tr);
}
.expertise-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.expertise-logo {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.expertise-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.expertise-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 20px;
}
.expertise-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ── Technologies ── */
.technologies { background: var(--gray-50); }
.tech-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.tech-logo-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  transition: all var(--tr);
}
.tech-logo-item:hover {
  border-color: var(--navy-800);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.tech-logo-item i {
  font-size: 2rem;
  color: var(--navy-800);
}
.tech-logo-item span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ── Process ── */
.process { background: var(--white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-800), var(--blue-400));
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.process-number {
  width: 72px; height: 72px;
  background: var(--white);
  border: 3px solid var(--navy-800);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy-800);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--white);
  transition: all var(--tr);
}
.process-step:hover .process-number {
  background: var(--navy-800);
  color: var(--white);
  transform: scale(1.1);
}
.process-icon {
  font-size: 1.25rem;
}
.process-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.process-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Why Choose Us ── */
.why-us { background: var(--gray-50); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px;
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all var(--tr);
}
.why-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.why-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  color: var(--white);
  flex-shrink: 0;
}
.why-content {}
.why-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.why-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--blue-500) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-banner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact ── */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-info {}
.contact-info .section-eyebrow { justify-content: flex-start; }
.contact-info .section-eyebrow::before { display: none; }
.contact-info .section-title { text-align: left; font-size: 2rem; }
.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 36px;
  line-height: 1.7;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--gray-100);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--navy-800);
  flex-shrink: 0;
}
.contact-item-body {}
.contact-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 3px;
}
.contact-item-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.5;
}
.contact-item-value a {
  color: var(--navy-800);
  transition: color var(--tr);
}
.contact-item-value a:hover { color: var(--blue-400); }

.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  border: 1px solid var(--gray-200);
}
.form-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group label span { color: #e53935; }
.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
}
.form-control:focus {
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}
.form-control::placeholder { color: var(--gray-300); }
select.form-control { cursor: pointer; }
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  background: var(--navy-800);
  color: var(--white);
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--tr);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  margin-top: 8px;
}
.form-submit:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,35,126,0.3);
}
.form-submit:active { transform: translateY(0); }

/* Spam honeypot — visually hidden, kept in DOM so bots see it */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Success toast */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #1b5e20;
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: var(--sh-xl);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-error {
  background: #b71c1c;
}

/* ── Footer ── */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
}
.footer-main {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand { }
.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-company-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}
.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact-mini a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--tr);
}
.footer-contact-mini a:hover { color: var(--white); }
.footer-contact-mini a i { width: 14px; color: var(--blue-300); }

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--tr);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--white); }
.footer-links a i { font-size: 0.6875rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--tr);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── Expertise icon colours ── */
.expertise-logo .fa-microsoft  { color: #00adef; }
.expertise-logo .fa-linux       { color: #fdd835; }
.expertise-logo .fa-shield-halved { color: #40c4ff; }

/* ── Hours note ── */
.hours-note {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ── Footer CTA button ── */
.footer-cta-li { margin-top: 8px; }
.btn-footer-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
  border-radius: var(--r-full);
}

/* ── Thai font ── */
body.lang-th {
  font-family: 'Sarabun', 'Inter', sans-serif;
}

/* ── Language toggle button ── */
.lang-toggle {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: var(--r-full);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--tr);
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
}
.header.scrolled .lang-toggle {
  background: var(--gray-100);
  color: var(--navy-800);
  border-color: var(--gray-300);
}
.header.scrolled .lang-toggle:hover {
  background: var(--gray-200);
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-logos { grid-template-columns: repeat(4, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--gray-200); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9) !important;
    padding: 12px 32px;
  }
  .nav-link:hover { background: rgba(255,255,255,0.1) !important; color: var(--white) !important; }
  .nav-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .tech-logos { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.875rem; }
  .tech-logos { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--gray-200); }
  .stat-item:last-child { border-bottom: none; }
  .process-steps { grid-template-columns: 1fr; }
}
