/* ===================================================
   Aidalabs — Homepage Styles
   Brand colors sampled from logo gradient (blue → teal/green)
   =================================================== */

:root {
  --brand-blue: #1d6fa5;
  --brand-blue-deep: #144a77;
  --brand-teal: #2bae84;
  --brand-green: #4fbf7a;
  --brand-gradient: linear-gradient(135deg, #1d6fa5 0%, #2bae84 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(29,111,165,0.08) 0%, rgba(43,174,132,0.08) 100%);

  --ink-900: #0f1b2d;
  --ink-700: #2c3e50;
  --ink-500: #5b6b7d;
  --ink-300: #9aa7b5;
  --ink-100: #e4e9ef;
  --ink-50:  #f4f7fa;
  --bg:      #ffffff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06), 0 1px 3px rgba(15, 27, 45, 0.04);
  --shadow-md: 0 8px 20px rgba(15, 27, 45, 0.06), 0 2px 6px rgba(15, 27, 45, 0.04);
  --shadow-lg: 0 24px 48px rgba(15, 27, 45, 0.1), 0 8px 16px rgba(15, 27, 45, 0.05);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.4s;

  --font-sans: "Pretendard", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Pretendard", "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============== HEADER =============== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  transition: padding var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 0 rgba(15,27,45,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 38px; width: auto; }

.nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 36px;
}
.nav-list a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 0; height: 2px;
  background: var(--brand-gradient);
  transition: width 0.3s var(--ease), left 0.3s var(--ease);
  border-radius: 2px;
}
.nav-list a:hover { color: var(--brand-blue); }
.nav-list a:hover::after { width: 100%; left: 0; }

.header-actions {
  display: flex; align-items: center; gap: 12px;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 111, 165, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(29, 111, 165, 0.36);
}
.btn-primary svg { transition: transform 0.25s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
  border: 1.5px solid var(--ink-100);
}
.btn-ghost:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background: rgba(29,111,165,0.04);
}

/* =============== HERO =============== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(29,111,165,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,111,165,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
}
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}
.orb-1 { width: 480px; height: 480px; background: #1d6fa5; top: -120px; left: -120px; }
.orb-2 { width: 520px; height: 520px; background: #2bae84; bottom: -160px; right: -140px; }
.orb-3 { width: 360px; height: 360px; background: #4fbf7a; top: 40%; left: 50%; opacity: 0.2; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(29, 111, 165, 0.08);
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(43, 174, 132, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(43, 174, 132, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(43, 174, 132, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.08;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.hero-title span { display: block; }

.hero-desc {
  font-size: 18px;
  color: var(--ink-500);
  margin: 0 0 36px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-100);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-num::after { content: "+"; }
.stat-label { font-size: 13px; color: var(--ink-500); margin-top: 6px; }

/* Hero visual (orbital rings with logo core) */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
}
.visual-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(29, 111, 165, 0.25);
}
.ring-1 { inset: 8%; animation: spin 40s linear infinite; }
.ring-2 { inset: 20%; border-color: rgba(43, 174, 132, 0.3); border-style: solid; border-width: 1px; animation: spin 55s linear infinite reverse; }
.ring-3 { inset: 32%; border-color: rgba(29, 111, 165, 0.15); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.visual-core {
  position: absolute;
  inset: 34%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(29, 111, 165, 0.18), 0 0 0 1px rgba(29, 111, 165, 0.06);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
.visual-core img { width: 160%; height: 160%; object-fit: cover; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.visual-node {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 0 6px rgba(43, 174, 132, 0.15);
}
.node-1 { top: 4%; left: 50%; transform: translateX(-50%); }
.node-2 { top: 50%; right: 4%; transform: translateY(-50%); }
.node-3 { bottom: 4%; left: 50%; transform: translateX(-50%); }
.node-4 { top: 50%; left: 4%; transform: translateY(-50%); }
.node-5 { top: 18%; right: 18%; width: 10px; height: 10px; }

.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-300);
  z-index: 2;
}
.scroll-hint span {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--brand-blue));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============== SECTION GENERICS =============== */
.section {
  padding: 120px 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 16px;
}
.section-tag.light { color: rgba(255,255,255,0.85); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.section-desc {
  font-size: 17px;
  color: var(--ink-500);
  margin: 0;
}

/* =============== ABOUT =============== */
.section-about { background: var(--ink-50); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.about-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.about-icon svg { width: 28px; height: 28px; }
.about-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 10px;
  font-weight: 600;
}
.about-card p {
  color: var(--ink-500);
  margin: 0;
  font-size: 15px;
}

/* =============== SERVICES =============== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-gradient-soft);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  background: linear-gradient(135deg, #0f1b2d 0%, #144a77 100%);
  color: #fff;
  border-color: transparent;
}
.service-card.featured::before { display: none; }
.service-card.featured ul li { color: rgba(255,255,255,0.7); }
.service-card.featured ul li::before { background: var(--brand-teal); }

.service-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin-bottom: 16px;
  position: relative;
}
.service-card.featured .service-num { color: var(--brand-green); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 12px;
  font-weight: 600;
  position: relative;
}
.service-card p {
  color: var(--ink-500);
  margin: 0 0 20px;
  position: relative;
}
.service-card.featured p { color: rgba(255,255,255,0.75); }
.service-card ul {
  list-style: none;
  padding: 0; margin: 0;
  position: relative;
}
.service-card ul li {
  font-size: 14px;
  color: var(--ink-700);
  padding: 6px 0 6px 22px;
  position: relative;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
}

/* 5th service card — full-width support row */
.service-extra {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-extra::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-gradient-soft);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.service-extra:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-extra:hover::before { opacity: 1; }
.service-extra-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.service-extra h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 8px 0 12px;
  font-weight: 600;
}
.service-extra p {
  color: var(--ink-500);
  margin: 0;
  font-size: 15px;
}
.service-extra ul {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--brand-teal);
  padding-left: 20px;
}
.service-extra ul li {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 6px 0;
}

/* =============== TECHNOLOGY =============== */
.section-tech {
  background: linear-gradient(180deg, #fff 0%, var(--ink-50) 100%);
}
.tech-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}
.tech-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.tech-cat h4 {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink-500);
  margin: 0 0 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tags span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ink-100);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  transition: all 0.2s var(--ease);
}
.tech-tags span:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.tech-visual { display: flex; justify-content: center; }
.tech-network {
  width: 100%; max-width: 420px;
  aspect-ratio: 1;
}
.tech-network svg { width: 100%; height: 100%; }
.net-nodes circle { animation: nodePulse 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.net-nodes .node-center { animation-duration: 2s; }
.net-nodes circle:nth-child(2) { animation-delay: 0.3s; }
.net-nodes circle:nth-child(3) { animation-delay: 0.6s; }
.net-nodes circle:nth-child(4) { animation-delay: 0.9s; }
.net-nodes circle:nth-child(5) { animation-delay: 1.2s; }
@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

/* =============== PROJECTS =============== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-img {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--brand-gradient);
  display: flex; align-items: flex-end;
  padding: 20px;
  overflow: hidden;
}
.project-img::before {
  content: attr(data-cat);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.project-img::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}
.project-chip {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  letter-spacing: 0.1em;
}
.project-body { padding: 28px; }
.project-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.project-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 600;
}
.project-body p {
  color: var(--ink-500);
  margin: 0;
  font-size: 15px;
}
.project-body p strong {
  color: var(--brand-blue);
  font-weight: 700;
}

/* =============== CONTACT =============== */
.section-contact { padding-top: 60px; padding-bottom: 140px; }

/* Map block */
.map-wrap {
  position: relative;
  height: 420px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  background: #eef3f7;
}
.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.95);
}
.map-card {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 340px;
  max-width: calc(100% - 56px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 42px rgba(15, 27, 45, 0.12);
  border: 1px solid rgba(255,255,255,0.8);
}
.map-card-head {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-100);
}
.map-card-head img { height: 30px; width: auto; }
.map-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--ink-900);
}
.map-addr {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.65;
}
.map-addr-en {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-500);
}
.map-contact {
  list-style: none;
  padding: 0 0 14px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--ink-100);
  display: grid;
  gap: 8px;
}
.map-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-700);
}
.map-contact li svg { color: var(--brand-blue); flex-shrink: 0; }
.map-contact a { color: inherit; font-weight: 500; }
.map-contact a:hover { color: var(--brand-blue); }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-teal);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.map-link:hover { color: var(--brand-blue); gap: 10px; }

.contact-card {
  background: linear-gradient(135deg, #0f1b2d 0%, #144a77 60%, #1d6fa5 100%);
  border-radius: 32px;
  padding: 72px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,174,132,0.4) 0%, transparent 70%);
  top: -200px; right: -200px;
  filter: blur(40px);
}
.contact-left, .contact-form { position: relative; z-index: 1; }

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 700;
}
.contact-desc {
  color: rgba(255,255,255,0.75);
  margin: 0 0 36px;
  font-size: 16px;
}

.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-info li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.ci-label {
  min-width: 64px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  padding-top: 2px;
}
.contact-info a, .contact-info span { color: #fff; font-weight: 500; }
.contact-info a:hover { color: var(--brand-green); }

.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: grid; gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  background: rgba(255,255,255,0.1);
}
.contact-form select option { color: #0f1b2d; }
.contact-form textarea { resize: vertical; min-height: 110px; }

.form-status {
  margin: 0;
  font-size: 13px;
  min-height: 20px;
  color: var(--brand-green);
}

/* =============== FOOTER =============== */
.site-footer {
  background: #0a1220;
  color: rgba(255,255,255,0.7);
  padding-top: 72px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 72px;
  padding-bottom: 56px;
}
.footer-brand p {
  margin: 20px 0 0;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-family: var(--font-display);
}
.footer-logo {
  height: 36px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h5 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--brand-green); }
.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--brand-green); }

/* =============== SCROLL REVEAL =============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 340px; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }

  .about-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .tech-layout { grid-template-columns: 1fr; gap: 48px; }
  .tech-categories { grid-template-columns: 1fr; gap: 24px; }

  .contact-card { grid-template-columns: 1fr; padding: 48px 32px; gap: 40px; }
  .service-extra-inner { grid-template-columns: 1fr; gap: 24px; }
  .service-extra ul { border-left: none; border-top: 2px solid var(--brand-teal); padding-left: 0; padding-top: 16px; }

  .map-wrap { height: auto; display: grid; }
  .map-frame { position: relative; height: 320px; }
  .map-card {
    position: relative;
    top: auto; left: auto;
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: #fff;
  }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .hero { padding: 130px 0 80px; }

  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    pointer-events: none;
  }
  .nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    gap: 4px;
  }
  .nav-list a {
    display: block;
    padding: 16px 0;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid var(--ink-100);
  }

  .hero-stats { gap: 28px; }
  .stat-num { font-size: 32px; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .service-card, .contact-card { padding: 32px 24px; }
  .project-img::before { font-size: 48px; }
  .hero-cta .btn { flex: 1; }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
