/* ============================================================
/* ============================================================
   Gobin Solutions, LLC — Stylesheet
   ============================================================ */

:root {
  /* Palette — SAP-aligned, modernized */
  --bg: #0a1628;
  --bg-alt: #0d1c34;
  --surface: #11233f;
  --surface-2: #152a4a;
  --border: #1e3a5f;
  --border-strong: #2a4d7a;

  --text: #f1f5f9;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* SAP brand accents */
  --sap-blue: #0070F2;
  --sap-blue-bright: #3590ff;
  --sap-gold: #F0AB00;
  --sap-gold-soft: #ffc547;

  /* Effects */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px -10px rgba(0, 112, 242, 0.35);

  /* Typography */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Grain texture overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 200ms ease; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease, background 300ms ease;
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.85);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-soft);
  position: relative;
  padding: 4px 0;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--text);
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sap-gold);
  transition: width 250ms ease;
}

.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--sap-blue);
  color: white !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  font-weight: 600;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.nav-cta:hover {
  background: var(--sap-blue-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(0, 112, 242, 0.6);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 250ms ease, opacity 250ms ease;
}

/* ============================================================
   HERO
   ============================================================ */

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

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: mesh-drift 20s ease-in-out infinite;
}

.mesh-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--sap-blue) 0%, transparent 70%);
  top: -200px;
  left: -100px;
}

.mesh-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--sap-gold) 0%, transparent 70%);
  top: 30%;
  right: -150px;
  animation-delay: -7s;
  opacity: 0.25;
}

.mesh-blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  bottom: -100px;
  left: 30%;
  animation-delay: -14s;
  opacity: 0.3;
}

@keyframes mesh-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 8px 14px;
  background: rgba(241, 245, 249, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sap-gold);
  box-shadow: 0 0 12px var(--sap-gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.eyebrow-sep {
  color: var(--text-dim);
  opacity: 0.5;
}

.eyebrow-badge {
  color: var(--sap-gold-soft);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  padding-top: 0.08em;
  font-variation-settings: "opsz" 144;
}

.title-accent {
  background: linear-gradient(135deg, var(--sap-blue-bright) 0%, var(--sap-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
}

.title-period {
  color: var(--sap-gold);
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 220ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--sap-blue);
  color: white;
  box-shadow: 0 8px 24px -10px rgba(0, 112, 242, 0.6);
}

.btn-primary:hover {
  background: var(--sap-blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(0, 112, 242, 0.7);
}

.btn-primary svg {
  transition: transform 220ms ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-soft);
}

.btn-ghost:hover {
  border-color: var(--sap-gold);
  color: var(--text);
  background: rgba(240, 171, 0, 0.05);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  color: var(--sap-gold-soft);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}

.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* Hero card */
.hero-card {
  background: linear-gradient(180deg, rgba(21, 42, 74, 0.6) 0%, rgba(17, 35, 63, 0.4) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 112, 242, 0.4), transparent 50%, rgba(240, 171, 0, 0.3));
  -webkit-mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-pill {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.card-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sap-blue-bright);
  box-shadow: 0 0 12px var(--sap-blue-bright);
  animation: pulse 2s ease-in-out infinite;
}

.module-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.module-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-soft);
  transition: color 200ms ease, transform 200ms ease;
}
.mod-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.3;
  flex: 1;
}

.mod-name {
  color: var(--text-soft);
  font-weight: 500;
}

.mod-desc {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}
.module-list li:last-child { border-bottom: none; }

.module-list li:hover {
  color: var(--text);
  transform: translateX(4px);
}

.mod-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sap-gold);
  background: rgba(240, 171, 0, 0.08);
  border: 1px solid rgba(240, 171, 0, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  min-width: 44px;
  text-align: center;
}

.card-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 760px;
  margin-bottom: 80px;
}

.section-header-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sap-gold);
  margin-bottom: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--sap-gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variation-settings: "opsz" 144;
}

.section-lede {
  font-size: 17px;
  color: var(--text-soft);
  margin-top: 24px;
  line-height: 1.65;
  max-width: 580px;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service {
  background: var(--bg);
  padding: 40px 32px;
  position: relative;
  transition: background 300ms ease;
}

.service:hover {
  background: var(--surface);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--sap-gold);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.service h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
}

.service p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   EXPERTISE
   ============================================================ */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.expertise-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sap-blue), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}

.expertise-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.expertise-card:hover::before {
  opacity: 1;
}

.exp-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 112, 242, 0.1);
  border: 1px solid rgba(0, 112, 242, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sap-blue-bright);
  margin-bottom: 24px;
}

.exp-icon svg { width: 22px; height: 22px; }

.expertise-card h4 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
}

.expertise-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   ENGAGEMENTS
   ============================================================ */

.engagements {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.engagement {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  transition: padding-left 300ms ease;
}

.engagement:hover {
  padding-left: 12px;
}

.eng-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eng-sector {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sap-gold);
  font-weight: 500;
}

.eng-dur {
  font-size: 13px;
  color: var(--text-muted);
}

.engagement h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
}

.engagement p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 780px;
}

/* ============================================================
   ABOUT
   ============================================================ */

.about-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-content .section-title { margin-bottom: 36px; }

.about-prose {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-prose p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-soft);
}

.about-prose strong {
  color: var(--text);
  font-weight: 600;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.credentials, .apps-teaser {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.credentials h4, .apps-teaser h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.credentials ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.credentials li {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  padding-left: 88px;
  position: relative;
}

.credentials li span {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sap-gold);
  font-weight: 500;
}

.apps-teaser {
  background: linear-gradient(135deg, rgba(0, 112, 242, 0.08), rgba(240, 171, 0, 0.04));
  border-color: rgba(0, 112, 242, 0.2);
}

.teaser-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sap-gold);
  padding: 4px 10px;
  background: rgba(240, 171, 0, 0.1);
  border: 1px solid rgba(240, 171, 0, 0.25);
  border-radius: 4px;
  margin-bottom: 14px;
}

.apps-teaser p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.teaser-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sap-blue-bright);
  transition: color 200ms ease;
}

.teaser-link:hover {
  color: var(--sap-gold);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-intro .section-title { margin-bottom: 24px; }

.contact-meta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
}

.contact-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: padding-left 250ms ease;
}

a.contact-row:hover {
  padding-left: 8px;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-value {
  font-size: 15px;
  color: var(--text);
  text-align: right;
}

a.contact-row:hover .contact-value {
  color: var(--sap-gold);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  width: 100%;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sap-blue);
  box-shadow: 0 0 0 3px rgba(0, 112, 242, 0.15);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.form-status.success { color: #34d399; }
.form-status.error { color: #f87171; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: var(--bg-alt);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-tag {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 12px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-disclaimer {
  font-size: 11.5px;
  color: var(--text-dim);
  max-width: 480px;
  margin-left: auto;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .hero-container,
  .section-header-split,
  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid,
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .engagement {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .eng-meta {
    flex-direction: row;
    gap: 16px;
    align-items: center;
  }

  .about-side {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-disclaimer { margin-left: 0; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    transform: translateY(-120%);
    transition: transform 300ms ease;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .nav-links a:last-child { border-bottom: none; }

  .nav-cta {
    text-align: center;
    margin-top: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .section {
    padding: 80px 0;
  }

  .services-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .section-header {
    margin-bottom: 56px;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .contact-value {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
