/* ============================================================
   The Revenant LLC — Precision Surveying & 3D Reality Capture
   styles.css
   ============================================================ */

/* --- Custom Fonts --- */
@font-face {
  font-family: 'Artifex CF';
  src: url('../assets/fonts/artifex-cf-extralight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Artifex CF';
  src: url('../assets/fonts/artifex-cf-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Artifex CF';
  src: url('../assets/fonts/artifex-cf-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Artifex CF';
  src: url('../assets/fonts/artifex-cf-book.otf') format('opentype');
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Artifex CF';
  src: url('../assets/fonts/artifex-cf-demibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Artifex CF';
  src: url('../assets/fonts/artifex-cf-extrabold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Artifex CF';
  src: url('../assets/fonts/artifex-cf-heavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bergen Sans';
  src: url('../assets/fonts/bergen-sans.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --cyan: #14DCD5;
  --cyan-mid: #0DAFBA;
  --cyan-dark: #057388;
  --black: #000000;
  --dark: #060B11;
  --dark-card: #0B1219;
  --dark-border: #142230;
  --white: #FFFFFF;
  --gray: #8899AA;
  --light-gray: #C0CDD8;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Artifex CF', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 10px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 11, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(20, 220, 213, 0.08);
  transition: padding 0.3s, background 0.3s;
}
.navbar.scrolled {
  padding: 8px 48px;
  background: rgba(6, 11, 17, 0.95);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 130px;
  width: auto;
}
.navbar.scrolled .nav-logo img {
  height: 100px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--gray);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta,
a.nav-cta {
  background: var(--cyan);
  color: var(--black) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.nav-cta:hover,
a.nav-cta:hover {
  background: var(--cyan-mid);
  color: var(--black);
  box-shadow: 0 0 30px rgba(20, 220, 213, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1010;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(20, 220, 213, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 220, 213, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(20, 220, 213, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(5, 115, 136, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 720px;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--dark-border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  animation: fadeInUp 0.8s 0.15s ease both;
}
.hero h1 .accent { color: var(--cyan); }
.hero-sub {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.7;
  margin-top: 24px;
  max-width: 560px;
  font-weight: 300;
  animation: fadeInUp 0.8s 0.3s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.45s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: var(--black);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(20, 220, 213, 0.35);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--dark-border);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--dark-border);
  animation: fadeInUp 0.8s 0.6s ease both;
}
.hero-stat-num {
  font-family: 'Bergen Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--gray);
  margin-top: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== SECTIONS COMMON ===== */
section {
  padding: 100px 48px;
  position: relative;
}
.section-label {
  font-family: 'Bergen Sans', sans-serif;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 600px;
}
.section-desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 16px;
  font-weight: 300;
}
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

/* ===== CLIENT LOGOS TICKER ===== */
.clients-section {
  padding: 48px;
  overflow: hidden;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}
.clients-label {
  text-align: center;
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.clients-track-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients-track {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: ticker 25s linear infinite;
  width: max-content;
}
.clients-track span {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.clients-track span:hover {
  opacity: 1;
  color: var(--cyan);
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
.service-card:hover {
  border-color: var(--cyan-dark);
  transform: translateY(-4px);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-dark));
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::after { opacity: 1; }
.service-num {
  font-family: 'Bergen Sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(20, 220, 213, 0.08);
  position: absolute;
  top: 16px; right: 20px;
}
.service-icon {
  margin-bottom: 16px;
  color: var(--cyan);
}
.service-icon svg {
  display: block;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300;
}
.service-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  color: var(--cyan);
  border: 1px solid rgba(20, 220, 213, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

/* ===== PORTFOLIO ===== */
.portfolio-tabs {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.portfolio-tab {
  padding: 10px 24px;
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
  font-family: 'Artifex CF', sans-serif;
}
.portfolio-tab:hover {
  border-color: var(--cyan-dark);
  color: var(--white);
}
.portfolio-tab.active {
  background: var(--cyan);
  color: var(--black);
  border-color: var(--cyan);
  font-weight: 600;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.portfolio-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s;
}
.portfolio-item:hover {
  border-color: var(--cyan-dark);
  transform: translateY(-4px);
}
.portfolio-embed {
  width: 100%;
  height: 280px;
  border: none;
}
.portfolio-info {
  padding: 20px;
}
.portfolio-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.portfolio-info p {
  font-size: 13px;
  color: var(--gray);
  font-weight: 300;
}
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--cyan);
  font-weight: 500;
  transition: gap 0.3s;
}
.portfolio-link:hover { gap: 10px; }

/* ===== WORKFLOW ===== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin-top: 56px;
  counter-reset: step;
}
.workflow-step {
  padding: 32px 24px;
  border-right: 1px solid var(--dark-border);
  position: relative;
}
.workflow-step:last-child { border-right: none; }
.workflow-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Bergen Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: rgba(20, 220, 213, 0.1);
}
.workflow-step h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 12px 0 8px;
}
.workflow-step p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}

/* ===== TECHNOLOGY ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.tech-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  transition: all 0.4s;
}
.tech-card:hover {
  border-color: var(--cyan-dark);
  transform: translateY(-4px);
}
.tech-icon {
  margin-bottom: 12px;
  color: var(--cyan);
}
.tech-icon svg {
  display: block;
  margin: 0 auto;
}
.tech-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.tech-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}
.tech-badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(20, 220, 213, 0.08);
  border: 1px solid rgba(20, 220, 213, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}
.why-icon svg {
  display: block;
}
.why-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.why-item p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}

/* ===== INDUSTRIES ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.industry-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.4s;
}
.industry-card:hover {
  border-color: var(--cyan-dark);
  transform: translateY(-4px);
}
.industry-icon {
  margin-bottom: 14px;
  color: var(--cyan);
}
.industry-icon svg {
  display: block;
}
.industry-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.industry-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  text-align: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 220, 213, 0.05) 0%, rgba(5, 115, 136, 0.08) 100%);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}
.cta-banner .section-title {
  position: relative;
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
}
.cta-banner p {
  position: relative;
  font-size: 16px;
  color: var(--gray);
  margin-top: 16px;
  font-weight: 300;
}
.cta-banner .btn-primary {
  position: relative;
  margin-top: 32px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}
.contact-info-item { margin-bottom: 28px; }
.contact-info-item h4 {
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-info-item p {
  font-size: 16px;
  color: var(--light-gray);
  font-weight: 300;
}
.contact-info-item a {
  color: var(--light-gray);
  transition: color 0.3s;
}
.contact-info-item a:hover { color: var(--cyan); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  color: var(--white);
  font-family: 'Artifex CF', sans-serif;
  font-size: 14px;
  font-weight: 300;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit-btn {
  width: 100%;
  justify-content: center;
}
.form-status {
  text-align: center;
  padding: 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(20, 220, 213, 0.1);
  border: 1px solid rgba(20, 220, 213, 0.3);
  color: var(--cyan);
}
.form-status.error {
  display: block;
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff5050;
}

/* ===== FOOTER ===== */
footer {
  padding: 48px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  height: 100px;
  width: auto;
}
.footer-copy {
  font-size: 13px;
  color: var(--gray);
  font-weight: 300;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--gray);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--cyan); }

/* ===== FLOATING CTA (mobile only) ===== */
.floating-cta {
  display: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .navbar { padding: 16px 24px; }
  .navbar.scrolled { padding: 12px 24px; }
  section { padding: 80px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero-stats { gap: 32px; }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 40px; }
}

/* Mobile */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6, 11, 17, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1005;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 20px;
    font-weight: 500;
  }
  .nav-cta {
    padding: 14px 32px;
    font-size: 15px;
  }

  /* Logo mobile */
  .nav-logo img {
    height: 70px;
  }
  .navbar.scrolled .nav-logo img {
    height: 55px;
  }

  .hero { padding: 100px 20px 60px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 24px;
  }
  .hero-stat { flex: 1 0 40%; }
  .hero-stat-num { font-size: 26px; }

  section { padding: 56px 20px; }
  .section-title { font-size: 28px; }
  .section-desc { font-size: 15px; margin-top: 12px; }

  .clients-section { padding: 28px 20px; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-embed { height: 220px; }

  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .workflow-step {
    border-right: none;
    border-bottom: 1px solid var(--dark-border);
    padding: 24px 16px;
  }
  .workflow-step:nth-child(odd) {
    border-right: 1px solid var(--dark-border);
  }
  .workflow-step:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .tech-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .tech-card { padding: 20px; }

  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .industries-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Contact: form FIRST on mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid > form { order: -1; }
  .contact-form .form-row { grid-template-columns: 1fr; }

  /* Floating CTA button */
  .floating-cta {
    display: flex;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 999;
    background: var(--cyan);
    color: var(--black);
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 24px rgba(20, 220, 213, 0.35);
    transition: all 0.3s;
  }
  .floating-cta:hover {
    box-shadow: 0 4px 32px rgba(20, 220, 213, 0.5);
  }

  /* Extra bottom padding so footer isn't hidden behind floating CTA */
  footer { padding-bottom: 80px; }

  footer {
    padding: 32px 20px 80px;
    flex-direction: column;
    text-align: center;
  }
  .footer-brand img { height: 70px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero { padding: 90px 16px 48px; }
  .hero h1 { font-size: 28px; letter-spacing: -0.5px; }
  .hero-sub { font-size: 15px; }
  .hero-badge { font-size: 10px; padding: 5px 12px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; justify-content: center; }
  .hero-stat-num { font-size: 22px; }
  .hero-stat-label { font-size: 10px; }

  section { padding: 48px 16px; }
  .section-title { font-size: 24px; }

  .nav-logo img { height: 55px; }
  .navbar.scrolled .nav-logo img { height: 45px; }

  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-step {
    border-right: none !important;
    border-bottom: 1px solid var(--dark-border);
  }
  .workflow-step:last-child { border-bottom: none; }
  .tech-grid { grid-template-columns: 1fr; }

  .footer-brand img { height: 55px; }
}
