/* ============================================================
   UTILICA — Shared Stylesheet
   ============================================================ */

:root {
  --ink: #e8f5e8;
  --ink-soft: #a8c5a8;
  --ink-muted: #5a8a5a;
  --cream: #0a1a0a;
  --white: #0f220f;
  --accent: #4ade80;
  --accent-light: rgba(74,222,128,0.13);
  --rule: rgba(74,222,128,0.15);
  --sap: #34d399;
  --sap-light: rgba(52,211,153,0.1);
  --emerald-deep: #060f06;
  --emerald-surface: #0f220f;
  --emerald-raised: #162816;
  --emerald-border: rgba(74,222,128,0.18);
  --gold: #fbbf24;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,222,128,0.5), transparent);
  z-index: 200;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6,15,6,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 0 5vw;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: #052005 !important;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  font-weight: 500 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; color: #fff !important; }
.nav-cta.active { color: #052005 !important; opacity: 0.9; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink-soft);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(6,15,6,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 5vw 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav a.nav-cta {
  margin-top: 1rem;
  background: var(--accent);
  color: #052005 !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  border: none;
}

/* ============================================================
   TYPOGRAPHY & SHARED
   ============================================================ */
section { padding: 100px 5vw; }
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
p { color: var(--ink-soft); line-height: 1.75; }
.rule { border: none; border-top: 1px solid var(--rule); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--accent);
  color: #052005;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-secondary {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s, color 0.2s;
}
.btn-secondary:hover { gap: 0.7rem; color: var(--accent); }
.btn-white {
  background: var(--accent);
  color: #052005;
  padding: 0.85rem 2.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-white:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ============================================================
   HOMEPAGE HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 120px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(74,222,128,0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(74,222,128,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
}
.hero-inner { max-width: 820px; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.8rem;
  border: 1px solid rgba(74,222,128,0.25);
}
.hero-badge::before { content: '●'; font-size: 0.55rem; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 1.4rem 0 2.4rem;
  line-height: 1.7;
}
.hero-stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: -0.03em;
  display: block;
}
.stat-label { font-size: 0.8rem; color: var(--ink-muted); font-weight: 500; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 140px 5vw 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(74,222,128,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(74,222,128,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 80% at 20% 50%, black 0%, transparent 70%);
}
.page-hero-inner { max-width: 720px; position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  text-decoration: none;
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1.2rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 580px;
  line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--white); }
.services-header { max-width: 600px; margin-bottom: 3.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: rgba(74,222,128,0.12);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 2.4rem 2rem;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: default;
}
.service-card:hover { background: var(--emerald-raised); box-shadow: 0 0 0 1px var(--accent); }
.service-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.icon-ai { background: rgba(74,222,128,0.13); }
.icon-sap { background: rgba(52,211,153,0.1); }
.icon-data { background: rgba(251,191,36,0.1); }
.icon-dev { background: rgba(74,222,128,0.08); }
.service-card p { font-size: 0.9rem; margin-top: 0.5rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.service-link:hover { gap: 0.6rem; }

/* ============================================================
   AI AGENTS
   ============================================================ */
.ai-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: start;
}
.ai-left { position: sticky; top: 90px; }
.ai-right { display: flex; flex-direction: column; gap: 2rem; }
.agent-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.8rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.agent-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(74,222,128,0.1);
}
.agent-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}
.agent-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.agent-card p { font-size: 0.88rem; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  counter-reset: steps;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.6rem;
  position: relative;
  counter-increment: steps;
}
.process-step::before {
  content: "0" counter(steps);
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.3;
  display: block;
  margin-bottom: 0.8rem;
  line-height: 1;
}
.process-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.process-step p { font-size: 0.85rem; }

/* ============================================================
   ML DATA
   ============================================================ */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.data-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.4rem;
  transition: border-color 0.2s;
}
.data-card:hover { border-color: var(--accent); }
.data-card-icon { font-size: 1.3rem; margin-bottom: 0.6rem; }
.data-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.data-card p { font-size: 0.86rem; }

.synth-spotlight {
  margin-top: 3rem;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw;
  align-items: center;
}
.synth-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.2);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.synth-points { display: flex; flex-direction: column; gap: 0.9rem; }
.synth-point {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--rule);
}
.synth-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.4rem;
}
.synth-point strong { font-size: 0.88rem; display: block; margin-bottom: 0.2rem; color: var(--ink); }
.synth-point span { font-size: 0.82rem; color: var(--ink-muted); }

/* ============================================================
   SAP
   ============================================================ */
.sap-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: center;
  margin-bottom: 4rem;
}
.sap-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.sap-module {
  background: var(--sap-light);
  border-radius: 10px;
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(52,211,153,0.18);
  transition: background 0.2s;
}
.sap-module:hover { background: rgba(52,211,153,0.18); }
.sap-module-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sap);
  display: block;
  margin-bottom: 0.4rem;
}
.sap-module h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.sap-module p { font-size: 0.82rem; }
.sap-expertise { margin-top: 3rem; }
.expertise-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.expertise-item {
  display: flex; gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.2s;
}
.expertise-item:hover { border-color: var(--sap); }
.expertise-dot {
  width: 8px; height: 8px;
  background: var(--sap);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.expertise-item strong { font-size: 0.88rem; display: block; margin-bottom: 0.2rem; color: var(--ink); }
.expertise-item span { font-size: 0.82rem; color: var(--ink-muted); }

/* ============================================================
   TEAM
   ============================================================ */
.team-header { max-width: 500px; margin-bottom: 3rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 2rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.team-card:hover { box-shadow: 0 8px 32px rgba(74,222,128,0.1); border-color: var(--accent); }
.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: #e8f5e8;
  margin-bottom: 1.2rem;
}
.av-1 { background: linear-gradient(135deg, #16a34a, #052e16); }
.av-2 { background: linear-gradient(135deg, #059669, #064e3b); }
.av-3 { background: linear-gradient(135deg, #0d9488, #134e4a); }
.team-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  margin-bottom: 0.8rem;
}
.team-card p { font-size: 0.875rem; line-height: 1.7; }

/* ============================================================
   KNOWLEDGE WORKERS
   ============================================================ */
.kw-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.kw-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.6rem;
  transition: border-color 0.2s;
}
.kw-card:hover { border-color: var(--accent); }
.kw-card-icon { font-size: 1.5rem; margin-bottom: 0.8rem; }
.kw-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.kw-card p { font-size: 0.88rem; }

.risk-banner {
  margin-top: 3.5rem;
  background: rgba(74,222,128,0.07);
  border: 1px solid rgba(74,222,128,0.18);
  border-radius: 14px;
  padding: 2.4rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}
.risk-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--accent);
  letter-spacing: -0.03em;
  display: block;
}
.risk-stat-label { font-size: 0.8rem; color: var(--ink-muted); font-weight: 500; }

/* ============================================================
   CLIENTS
   ============================================================ */
#clients {
  background: var(--cream);
  padding: 60px 5vw;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.clients-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.clients-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.clients-logos { display: flex; gap: 2.5rem; flex-wrap: wrap; align-items: center; }
.client-logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--ink-muted);
  letter-spacing: -0.01em;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.client-logo-text:hover { opacity: 1; color: var(--ink); }

/* ============================================================
   CTA SECTION
   ============================================================ */
#cta, .cta-section {
  background: linear-gradient(135deg, #0a2a12 0%, #062010 50%, #0a1a0a 100%);
  padding: 100px 5vw;
  text-align: center;
  border-top: 1px solid var(--rule);
}
#cta h2, .cta-section h2 { color: var(--ink); max-width: 600px; margin: 0 auto 1.2rem; }
#cta p, .cta-section p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 2.4rem; }
.cta-contact-card {
  margin-top: 3rem;
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  background: rgba(74,222,128,0.07);
  border: 1px solid rgba(74,222,128,0.18);
  border-radius: 14px;
  padding: 2rem 2.4rem;
  min-width: 280px;
}
.cta-contact-row { display: flex; align-items: center; gap: 0.9rem; }
.cta-contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.15rem;
}
.cta-contact-value {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.cta-contact-value:hover { color: var(--accent); }
.cta-divider { height: 1px; background: rgba(74,222,128,0.15); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5vw;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 2.4rem;
}
.form-group { margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
label .optional {
  font-weight: 400;
  color: var(--ink-muted);
  opacity: 0.6;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}
input, select, textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--ink-muted); opacity: 0.6; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.1);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a8a5a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
select option { background: #0a1a0a; color: var(--ink); }
textarea { resize: vertical; min-height: 130px; }

.form-submit { margin-top: 0.5rem; }
.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #052005;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-submit:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-submit .spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(5,32,5,0.3);
  border-top-color: #052005;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn-submit.loading .btn-label { display: none; }
.btn-submit.loading .spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Form messages */
.form-message {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-top: 1rem;
  font-weight: 500;
}
.form-message.success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  color: var(--accent);
}
.form-message.error {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #f87171;
}

/* Contact sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.8rem;
}
.contact-info-card h3 { font-size: 1rem; margin-bottom: 1.2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon { font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }
.contact-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.2rem;
}
.contact-detail-value {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-detail-value:hover { color: var(--accent); }

.response-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(74,222,128,0.07);
  border: 1px solid rgba(74,222,128,0.18);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.response-badge strong { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--emerald-deep);
  border-top: 1px solid var(--rule);
  padding: 3rem 5vw 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--ink);
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 0.4rem;
  max-width: 200px;
}
.footer-nav {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}
.footer-nav-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.8rem;
  font-family: 'DM Sans', sans-serif;
}
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav-col a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
}
.footer-copy { font-size: 0.78rem; color: var(--ink-muted); }
.footer-email a {
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-email a:hover { color: var(--accent); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.65s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .synth-spotlight { grid-template-columns: 1fr; }
  .sap-hero-grid { grid-template-columns: 1fr; }
  .ai-layout { grid-template-columns: 1fr; }
  .ai-left { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .sap-modules { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 2rem; }
  section { padding: 70px 5vw; }
  .page-hero { padding: 110px 5vw 60px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { gap: 2rem; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  .sap-modules { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
}
