/* ============================================================
   RushEdge — Precision Computing. Purpose-Built Systems.
   Design: Geometric Swiss / International Typographic
   Palette: Monochrome + Electric Blue Accent
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --gray-100: #f0f0f0;
  --gray-200: #d9d9d9;
  --gray-400: #999999;
  --gray-600: #666666;
  --gray-800: #333333;
  --accent: #0055ff;
  --accent-bright: #3377ff;
  --accent-dark: #003dcc;
  --danger: #cc0000;
  --font-sans: 'Inter', 'Helvetica Neue', 'Arial', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  --clip-angle: 4deg;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-800);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--accent-dark); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: var(--white);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  color: var(--black);
  text-decoration: none;
}

.nav-logo:hover { color: var(--black); }

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 65%, 65% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 1.125rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray-800);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover { color: var(--black); }
.nav-links a.active { color: var(--black); }

.nav-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background 0.2s ease;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-dark); color: var(--white) !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero — Asymmetric Split-Screen --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-bg-geometry {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background: var(--black);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.hero-bg-accent {
  position: absolute;
  top: 12%;
  right: 38%;
  width: 320px;
  height: 320px;
  background: var(--accent);
  opacity: 0.06;
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
  z-index: 0;
}

.hero-bg-dots {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2.5rem;
}

.hero-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.hero-title-em {
  color: var(--accent);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  font-family: var(--font-sans);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.btn-white:hover {
  background: var(--gray-100);
  color: var(--black);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-geo-block {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  position: relative;
}

.hero-geo-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  height: 85%;
  background: var(--white);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gray-200);
}

.hero-geo-main .geo-icon {
  font-size: 5rem;
  opacity: 0.12;
  color: var(--black);
}

.hero-geo-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45%;
  height: 45%;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  font-weight: 900;
}

.hero-geo-dots {
  position: absolute;
  top: 8%;
  left: 5%;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(circle, var(--gray-400) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
}

/* --- Section Common --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 720px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 600px;
}

/* --- About — Asymmetric Angled Section --- */
.about {
  background: var(--off-white);
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  padding: 8rem 0;
}

.about .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
  align-items: start;
}

.about-visual {
  position: relative;
}

.about-geo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 380px;
}

.about-geo-box {
  position: absolute;
  inset: 0;
  background: var(--black);
  clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 4rem;
  font-weight: 900;
}

.about-geo-line {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40%;
  height: 40%;
  border: 3px solid var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 73%, 73% 100%, 0 100%, 0 27%);
}

.about-text h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--black);
}

.about-text p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--gray-200);
}

.about-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.about-stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.375rem;
}

/* --- Services — Waterfall Staggered Cards --- */
.services {
  background: var(--white);
  padding: 6rem 0;
}

.services-waterfall {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  border-top: 1px solid var(--gray-200);
  position: relative;
  transition: background 0.3s ease;
}

.service-card:last-child {
  border-bottom: 1px solid var(--gray-200);
}

.service-card:hover {
  background: var(--gray-100);
}

.service-card:nth-child(even) .service-card-content {
  order: 2;
}

.service-card:nth-child(even) .service-card-visual {
  order: 1;
}

.service-card-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.service-card-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.service-card-desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 440px;
}

.service-card-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.25s ease;
}

.service-card-link:hover {
  gap: 0.75rem;
  color: var(--accent-dark);
}

.service-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.service-card-geo {
  width: 160px;
  height: 160px;
  position: relative;
}

.service-card-geo .geo-shape {
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0.08;
  clip-path: polygon(25% 0, 100% 0, 100% 75%, 75% 100%, 0 100%, 0 25%);
}

.service-card-geo .geo-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--black);
}

/* --- Industries — Asymmetric Grid --- */
.industries {
  background: var(--black);
  color: var(--white);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  padding: 8rem 0;
}

.industries .section-label {
  color: var(--accent-bright);
}

.industries .section-title {
  color: var(--white);
}

.industries .section-desc {
  color: var(--gray-400);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.industry-card {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
}

.industry-card:nth-child(5n) {
  border-right: none;
}

.industry-card:nth-child(n+6) {
  border-bottom: none;
}

.industry-card:hover {
  background: rgba(255,255,255,0.04);
}

.industry-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.industry-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.industry-desc {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* --- Process — Timeline Spine --- */
.process {
  background: var(--white);
  padding: 6rem 0;
}

.process-timeline {
  position: relative;
  padding-left: 0;
}

.process-timeline::before {
  display: none;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
}

.process-step:first-child {
  border-top: 1px solid var(--gray-200);
}

.process-step-num {
  width: 80px;
  height: 80px;
  background: var(--black);
  clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 900;
  font-family: var(--font-mono);
}

.process-step:nth-child(even) .process-step-num {
  background: var(--accent);
}

.process-step-body h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.process-step-body p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 500px;
}

/* --- CTA — Bold Split --- */
.cta {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.cta-content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-content .section-label {
  color: var(--accent-bright);
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--gray-400);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 460px;
}

.cta-visual {
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  position: relative;
}

.cta-visual-geo {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.15);
  clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
}

/* --- Contact Form --- */
.contact {
  background: var(--off-white);
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.contact-info p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--black);
  clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 0.9375rem;
  color: var(--gray-800);
  line-height: 1.5;
}

.contact-detail-text strong {
  display: block;
  color: var(--black);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.form-card {
  background: var(--white);
  padding: 3rem;
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--black);
  transition: border-color 0.25s ease;
  outline: none;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background 0.25s ease;
  font-family: var(--font-sans);
}

.form-submit:hover {
  background: var(--accent-dark);
}

/* --- Footer --- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* --- Legal Pages --- */
.legal-page {
  padding: 8rem 0 4rem;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.legal-page .legal-date {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.legal-page h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-page ul,
.legal-page ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-page strong {
  color: var(--black);
}

.legal-page a {
  color: var(--accent);
}

.legal-address {
  background: var(--off-white);
  padding: 2rem;
  clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
  margin: 2rem 0;
}

.legal-address p {
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

/* --- Success / Error Messages --- */
.form-message {
  padding: 1rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  display: none;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.form-message.success {
  display: block;
  background: #e6f4ea;
  color: #137333;
  border: 1px solid #a8dab5;
}

.form-message.error {
  display: block;
  background: #fce8e6;
  color: #c5221f;
  border: 1px solid #f5c6c0;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-bg-geometry {
    width: 100%;
    height: 40%;
    bottom: 0;
    top: auto;
    clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-visual {
    display: none;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    display: flex;
    justify-content: center;
  }

  .about-geo {
    max-width: 240px;
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .industry-card:nth-child(5n) {
    border-right: 1px solid rgba(255,255,255,0.08);
  }

  .industry-card:nth-child(3n) {
    border-right: none;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-visual {
    min-height: 200px;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(even) .service-card-content {
    order: 1;
  }

  .service-card:nth-child(even) .service-card-visual {
    order: 2;
  }

  .service-card-visual {
    padding: 2rem 3rem;
  }

  .service-card-geo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  .hero-bg-geometry {
    height: 30%;
  }

  .about {
    clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
  }

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

  .industry-card:nth-child(3n) {
    border-right: 1px solid rgba(255,255,255,0.08);
  }

  .industry-card:nth-child(2n) {
    border-right: none;
  }

  .process-step {
    grid-template-columns: 60px 1fr;
    gap: 1.25rem;
  }

  .process-step-num {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }

  .cta-content {
    padding: 3rem 2rem;
  }

  .form-card {
    padding: 2rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    border-right: none;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .section {
    padding: 4rem 0;
  }
}
