/* ============================================================
   METASTACK — Home Page Styles (index.css)
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding: 148px 0 100px;
  background: var(--white);
  position: relative; overflow: hidden;
}
/* Soft grid texture */
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(226,232,240,0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226,232,240,0.45) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(0,0,0,0.05) 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(0,0,0,0.05) 0%, transparent 75%);
}
/* Blue accent blob top-right */
.hero::after {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,86,219,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-text {}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); border: 1px solid var(--blue-mid);
  color: var(--blue); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 2px rgba(5,150,105,0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.6;transform:scale(1.4);} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.375rem, 4.5vw, 3.75rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; color: var(--slate-900);
  margin-bottom: 22px;
}
.hero-title .accent { color: var(--blue); }
.hero-subtitle {
  font-size: 1.0625rem; color: var(--slate-500);
  line-height: 1.75; max-width: 480px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding-top: 36px; border-top: 1px solid var(--slate-200);
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 800;
  color: var(--slate-900); letter-spacing: -0.02em; line-height: 1;
}
.hero-stat-label { font-size: 0.8125rem; color: var(--slate-500); margin-top: 4px; }

/* Hero visual panel */
.hero-visual {
  position: relative;
}
.hero-visual-main {
  border-radius: var(--r-2xl); overflow: hidden;
  background: var(--slate-100);
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}
.hero-visual-main img {
  width: 100%; height: 100%; object-fit: cover;
}
/* Floating stat cards */
.hero-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.hero-card-1 { bottom: -20px; left: -24px; }
.hero-card-2 { top: -18px; right: -20px; }
.hero-card-num {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--blue); line-height: 1;
}
.hero-card-label { font-size: 0.75rem; color: var(--slate-500); margin-top: 3px; font-weight: 500; }
.hero-card-row { display: flex; align-items: center; gap: 8px; }
.hero-card-icon { font-size: 1.375rem; }
.hero-card-text strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--slate-800); }
.hero-card-text span { font-size: 0.72rem; color: var(--slate-500); }

/* ── TRUST STRIP ─────────────────────────────────────────── */
.trust-strip {
  padding: 36px 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
}
.trust-label-text { font-size: 0.8rem; color: var(--slate-400); text-align: center; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.trust-logo-item {
  font-family: var(--font-display);
  font-size: 0.9375rem; font-weight: 700;
  color: var(--slate-300); letter-spacing: -0.01em;
  transition: color var(--ease);
  cursor: default;
}
.trust-logo-item:hover { color: var(--slate-500); }

/* ── SERVICES ─────────────────────────────────────────────── */
.services-section { background: var(--white); }
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5px; background: var(--slate-200);
  border-radius: var(--r-2xl); overflow: hidden;
  border: 1.5px solid var(--slate-200);
}
.service-card {
  background: var(--white); padding: 44px 40px;
  position: relative; overflow: hidden;
  transition: background var(--ease);
}
.service-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { background: var(--slate-50); }
.service-card:hover::after { transform: scaleX(1); }
.service-card-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--blue-light); border: 1px solid var(--blue-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem; margin-bottom: 22px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 700;
  color: var(--slate-900); margin-bottom: 10px;
}
.service-card p { font-size: 0.9rem; color: var(--slate-500); line-height: 1.7; margin-bottom: 22px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-arrow {
  position: absolute; top: 40px; right: 40px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  opacity: 0; transform: translate(-4px, 4px);
  transition: all var(--ease);
}
.service-card:hover .service-arrow { opacity: 1; transform: translate(0,0); }

/* ── VISUAL SECTION (Innovation) ─────────────────────────── */
.visual-section {
  background: var(--slate-900);
  overflow: hidden; position: relative;
}
.visual-section-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.visual-left {
  padding: 80px 64px 80px 0;
  display: flex; flex-direction: column; justify-content: center;
}
.visual-left .eyebrow { color: var(--blue-mid); }
.visual-left .eyebrow::before { background: var(--blue-mid); }
.visual-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.025em;
  color: var(--white); line-height: 1.12; margin-bottom: 20px;
}
.visual-left p { font-size: 1rem; color: var(--slate-400); line-height: 1.75; margin-bottom: 32px; }
.visual-feats { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.visual-feat {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: var(--slate-300); font-weight: 500;
}
.visual-feat::before {
  content: '';
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(26,86,219,0.25); border: 1px solid rgba(26,86,219,0.5);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%231a56db' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.visual-right {
  position: relative; overflow: hidden;
}
.visual-right img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.75;
}
/* Overlay gradient */
.visual-right::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 80px;
  background: linear-gradient(to right, var(--slate-900), transparent);
  z-index: 1;
}

/* ── WHY SECTION ─────────────────────────────────────────── */
.why-section { background: var(--slate-50); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 56px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--slate-200); border-radius: var(--r-xl);
  padding: 32px 26px;
  transition: box-shadow var(--ease), border-color var(--ease), transform var(--ease);
}
.why-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-mid); transform: translateY(-3px); }
.why-icon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 18px;
}
.why-card h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px;
}
.why-card p { font-size: 0.875rem; color: var(--slate-500); line-height: 1.65; }

/* ── PORTFOLIO ─────────────────────────────────────────────── */
.portfolio-section { background: var(--white); }
.portfolio-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; flex-wrap: wrap; gap: 20px;
}
.portfolio-filters {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.filter-pill {
  padding: 7px 16px; border-radius: 100px; font-size: 0.8125rem; font-weight: 600;
  border: 1.5px solid var(--slate-200); background: var(--white); color: var(--slate-600);
  cursor: pointer; transition: all var(--ease);
}
.filter-pill.active, .filter-pill:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proj-card {
  border: 1px solid var(--slate-200); border-radius: var(--r-xl);
  overflow: hidden; background: var(--white);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
  cursor: pointer;
}
.proj-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--slate-300); }
.proj-thumb {
  height: 192px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.proj-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.proj-card:hover .proj-thumb img { transform: scale(1.04); }
.proj-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.proj-body { padding: 24px; }
.proj-cat {
  font-size: 0.72rem; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 7px;
}
.proj-body h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 7px;
}
.proj-body p { font-size: 0.875rem; color: var(--slate-500); line-height: 1.6; margin-bottom: 16px; }
.proj-stack { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── RESEARCH/INNOVATION SECTION ─────────────────────────── */
.innovation-section { background: var(--slate-50); overflow: hidden; }
.innovation-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.innovation-image-wrap {
  position: relative;
}
.innovation-img-main {
  border-radius: var(--r-2xl); overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  aspect-ratio: 4/3;
  background: var(--slate-200);
}
.innovation-img-main img {
  width: 100%; height: 100%; object-fit: cover;
}
.innovation-img-2 {
  position: absolute; bottom: -28px; right: -28px;
  width: 55%; border-radius: var(--r-xl);
  overflow: hidden; border: 3px solid var(--white);
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3;
  background: var(--slate-200);
}
.innovation-img-2 img { width: 100%; height: 100%; object-fit: cover; }
.innovation-text { padding-bottom: 28px; }
.innovation-text p { font-size: 1rem; color: var(--slate-500); line-height: 1.8; margin-bottom: 28px; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.metric-box {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--r-lg); padding: 20px;
  transition: border-color var(--ease);
}
.metric-box:hover { border-color: var(--blue-mid); }
.metric-num {
  font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 800;
  color: var(--blue); letter-spacing: -0.02em; line-height: 1;
}
.metric-lbl { font-size: 0.8rem; color: var(--slate-500); margin-top: 4px; }

/* ── PROCESS ─────────────────────────────────────────────── */
.process-section { background: var(--white); }
.process-track {
  position: relative; margin-top: 64px;
}
.process-line {
  position: absolute; top: 27px; left: calc(12.5% + 4px); right: calc(12.5% + 4px);
  height: 1px; background: var(--slate-200); z-index: 0;
}
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative; z-index: 1;
}
.process-step { text-align: center; padding: 0 12px; }
.process-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--slate-200);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--slate-400);
  margin: 0 auto 20px;
  transition: all var(--ease);
}
.process-step:hover .process-num {
  background: var(--blue); border-color: var(--blue); color: var(--white);
  box-shadow: 0 0 0 6px var(--blue-light);
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px;
}
.process-step p { font-size: 0.84rem; color: var(--slate-500); line-height: 1.65; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testi-section { background: var(--slate-50); }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 56px;
}
.testi-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--r-xl); padding: 32px;
  transition: box-shadow var(--ease);
}
.testi-card:hover { box-shadow: var(--shadow-md); }
.testi-stars { color: #f59e0b; margin-bottom: 16px; font-size: 0.875rem; letter-spacing: 2px; }
.testi-quote {
  font-size: 0.9375rem; color: var(--slate-700);
  line-height: 1.75; margin-bottom: 24px; font-style: italic;
}
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.testi-name { font-size: 0.875rem; font-weight: 700; color: var(--slate-900); }
.testi-role { font-size: 0.8rem; color: var(--slate-500); }

/* ── ABOUT ─────────────────────────────────────────────────── */
.about-section { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-image-wrap { position: relative; }
.about-img-main {
  border-radius: var(--r-2xl); overflow: hidden;
  box-shadow: var(--shadow-xl); aspect-ratio: 4/5;
  background: var(--slate-200); border: 1px solid var(--slate-200);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-card {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--r-lg); padding: 16px 20px;
  box-shadow: var(--shadow-lg);
}
.about-badge-card .num {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800; color: var(--blue); line-height: 1;
}
.about-badge-card .lbl { font-size: 0.75rem; color: var(--slate-500); margin-top: 3px; }
.about-text p { font-size: 1rem; color: var(--slate-500); line-height: 1.8; margin-bottom: 18px; }
.about-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin: 32px 0;
}
.about-stat {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: var(--r-lg); padding: 20px;
  transition: border-color var(--ease);
}
.about-stat:hover { border-color: var(--blue-mid); }
.about-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 800; color: var(--slate-900);
  letter-spacing: -0.02em; line-height: 1;
}
.about-stat-lbl { font-size: 0.8rem; color: var(--slate-500); margin-top: 4px; }
.tech-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tech-badge {
  font-size: 0.8125rem; font-weight: 500; padding: 5px 12px;
  background: var(--slate-100); color: var(--slate-700);
  border-radius: 100px; border: 1px solid var(--slate-200);
  transition: all var(--ease);
}
.tech-badge:hover { background: var(--blue-light); color: var(--blue); border-color: var(--blue-mid); }

/* ── TEAM ───────────────────────────────────────────────── */
.team-section { background: var(--slate-50); }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 56px;
}
.team-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--r-xl); padding: 28px 22px; text-align: center;
  transition: box-shadow var(--ease), transform var(--ease);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800;
  margin: 0 auto 16px; border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-mid);
}
.team-name { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.team-bio { font-size: 0.8125rem; color: var(--slate-500); line-height: 1.6; }

/* ── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  background: var(--blue); padding: 88px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -0.025em; margin-bottom: 14px;
}
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1.0625rem; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 64px; align-items: start; margin-top: 56px;
}
.contact-info-head { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.contact-info-sub { font-size: 0.9rem; color: var(--slate-500); line-height: 1.7; margin-bottom: 32px; }
.cinfo-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.cinfo-icon {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--blue-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.cinfo-label { font-size: 0.72rem; color: var(--slate-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.cinfo-value { font-size: 0.9rem; color: var(--slate-800); font-weight: 500; margin-top: 2px; }
.wa-prompt {
  background: var(--green-light); border: 1px solid #a7f3d0;
  border-radius: var(--r-lg); padding: 18px 20px;
  margin-top: 28px; display: flex; align-items: center; gap: 14px;
}
.wa-prompt-icon { font-size: 1.75rem; flex-shrink: 0; }
.wa-prompt-text strong { display: block; font-size: 0.875rem; font-weight: 700; color: #065f46; }
.wa-prompt-text span { font-size: 0.8125rem; color: #047857; }
.wa-prompt .btn { margin-left: auto; background: #16a34a; color: #fff; border-color: #16a34a; white-space: nowrap; }
.wa-prompt .btn:hover { background: #15803d; }
.form-wrap {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: var(--r-2xl); padding: 44px;
}
.form-wrap h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--slate-900); margin-bottom: 6px; }
.form-wrap .form-intro { font-size: 0.875rem; color: var(--slate-500); margin-bottom: 28px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '▾'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--slate-400); pointer-events: none; font-size: 0.8rem;
}
.form-submit {
  width: 100%; padding: 13px; border-radius: var(--r-md);
  background: var(--blue); color: var(--white); border: none;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700;
  cursor: pointer; transition: all var(--ease);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover:not(:disabled) { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,86,219,0.3); }
.form-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.form-success-msg {
  display: none; background: var(--green-light); border: 1px solid #a7f3d0;
  border-radius: var(--r-md); padding: 14px 16px;
  font-size: 0.875rem; font-weight: 600; color: #065f46;
  text-align: center; margin-top: 16px;
}
.form-error-msg {
  display: none; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: var(--r-md); padding: 14px 16px;
  font-size: 0.875rem; font-weight: 500; color: var(--red);
  margin-top: 16px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .services-header { grid-template-columns: 1fr; }
  .visual-section-inner { grid-template-columns: 1fr; }
  .visual-left { padding: 64px 0; }
  .visual-right { height: 300px; }
  .visual-right::before { top: 0; left: 0; right: 0; bottom: auto; height: 80px; width: 100%; background: linear-gradient(to bottom, var(--slate-900), transparent); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .innovation-grid { grid-template-columns: 1fr; }
  .innovation-image-wrap { order: -1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { order: -1; max-width: 480px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .form-wrap { padding: 28px 22px; }
  .hero-card-1, .hero-card-2 { display: none; }
}
