/* ========================================
   ONEPACK SOLUTIONS — WEBSITE STYLES
   ======================================== */

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

:root {
  --orange: #ff671d;
  --orange-light: #ff8a4c;
  --orange-dark: #e55a10;
  --navy: #001e61;
  --navy-dark: #0a0f1e;
  --navy-mid: #111a35;
  --white: #ffffff;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ec;
  --gray-300: #c4c4cc;
  --gray-400: #8e8e96;
  --gray-500: #6b6b73;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- LOADER ---- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-svg {
  width: 160px;
  height: auto;
}

.loader-bar {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--orange);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* ---- NAV BACKDROP ---- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.nav-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar--solid {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.01em;
  position: relative;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link--active {
  color: var(--white);
}

.nav-link--active::after {
  width: 100%;
}

.nav-link--cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.05);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 103, 29, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(0, 30, 97, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy-dark) 0%, transparent 30%, transparent 70%, var(--navy-dark) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 103, 29, 0.1);
  border: 1px solid rgba(255, 103, 29, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--orange-light);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--orange);
  background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 4s linear infinite;
}

@keyframes shimmer-text {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-title-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--gray-300);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scroll-pulse 2s infinite;
}

@keyframes scroll-pulse {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 103, 29, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

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

/* ---- Z-INDEX STACKING ---- */
.hero { position: relative; z-index: 1; }

/* ---- TRUSTED BY ---- */
.trusted {
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--navy-dark);
}

.trusted-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.trusted-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: marquee 60s linear infinite;
  width: max-content;
}

.marquee-item img {
  height: 44px;
  width: auto;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.marquee-item img:hover {
  opacity: 0.9;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

/* ---- METRICS BAR ---- */
.metrics-bar {
  padding: 80px 0;
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 860px;
  margin: 0 auto;
}

.metric-item {
  text-align: center;
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.metric-item:last-child {
  border-right: none;
}

.metric-number {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.metric-desc {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.5;
  max-width: 180px;
  margin: 0 auto;
}

/* ---- SECTION COMMON ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-title em {
  font-style: normal;
  color: var(--orange);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- PRODUCTS ---- */
.products {
  padding: 120px 0;
  background: var(--gray-100);
  color: var(--navy-dark);
}

.products .section-tag { color: var(--orange); }
.products .section-title { color: var(--navy); }
.products .section-desc { color: var(--gray-500); }

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease;
  position: relative;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 30, 97, 0.1);
  border-color: rgba(255, 103, 29, 0.35);
}

/* Large card spans 2 columns */
.product-card--large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}

.product-card--large .product-card-img {
  height: 100%;
  min-height: 340px;
}

/* Icon-only card (no photo) */
.product-card--icon .product-card-icon-bg {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
}

.product-card--icon .product-card-icon-bg svg {
  width: 72px;
  height: 72px;
  opacity: 0.8;
  transition: var(--transition);
}

.product-card--icon:hover .product-card-icon-bg svg {
  opacity: 1;
  transform: scale(1.08);
}

.product-card-img {
  height: 220px;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-img img {
  transform: scale(1.07);
}

.product-card-content {
  padding: 28px;
}

.product-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  background: rgba(255, 103, 29, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 6px;
  margin-right: 4px;
}

.product-tag--secondary {
  color: var(--gray-500);
  background: rgba(0,0,0,0.05);
}

.product-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 8px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.product-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--transition);
}

.product-link:hover {
  gap: 12px;
}

/* Products bottom row CTA */
.products-cta-row {
  margin-top: 48px;
  padding: 28px 36px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
}

.products-cta-row p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.products-cta-row a {
  color: var(--orange);
  font-weight: 600;
}

.products-cta-row a:hover {
  text-decoration: underline;
}

/* ---- SOLUTIONS SECTION (Tabs) ---- */
.solutions-section {
  padding: 120px 0;
  background: var(--navy-dark);
}

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

.solutions-tabs {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

/* Tab Navigation */
.solutions-tab-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 100px;
}

.solutions-tab-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.solutions-tab-btn:hover {
  background: rgba(255, 103, 29, 0.06);
  border-color: rgba(255, 103, 29, 0.2);
  color: var(--gray-200);
}

.solutions-tab-btn.active {
  background: rgba(255, 103, 29, 0.1);
  border-color: var(--orange);
  color: var(--white);
}

.tab-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(255, 103, 29, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.solutions-tab-btn.active .tab-icon {
  background: rgba(255, 103, 29, 0.2);
}

.tab-icon svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.tab-label {
  flex: 1;
}

/* Tab Panels */
.solutions-tab-content {
  position: relative;
  min-height: 420px;
}

.solutions-tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.solutions-tab-panel.active {
  display: grid;
  animation: tabReveal 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes tabReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.tab-panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.solutions-tab-panel.active .tab-panel-visual img {
  animation: imgZoomIn 0.65s ease forwards;
}

@keyframes imgZoomIn {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.tab-panel-text h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.tab-panel-text p {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.75;
  margin-bottom: 28px;
}

.tab-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.tab-product-tag {
  padding: 6px 14px;
  background: rgba(255, 103, 29, 0.1);
  border: 1px solid rgba(255, 103, 29, 0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-light);
  letter-spacing: 0.01em;
}

/* ---- WHY SECTION ---- */
.why-section {
  padding: 120px 0;
  background: var(--gray-100);
  color: var(--navy-dark);
}

.why-section .section-tag   { color: var(--orange); }
.why-section .section-title { color: var(--navy); }
.why-section .section-desc  { color: var(--gray-500); }

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}

.why-card {
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  cursor: default;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0, 30, 97, 0.09);
  border-color: rgba(255, 103, 29, 0.3);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,103,29,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.why-card:hover .why-card-icon {
  background: rgba(255,103,29,0.14);
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
}

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 80px 0 120px;
  background: var(--navy-mid);
}

.cta-box {
  background: linear-gradient(135deg, #1a3a6e 0%, #0d2450 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255,103,29,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cta-box p {
  font-size: 1rem;
  opacity: 0.85;
  color: var(--gray-200);
}

.cta-box .btn-primary {
  flex-shrink: 0;
}

.cta-small-text {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.cta-small-text a {
  color: var(--orange);
  font-weight: 600;
}

.cta-small-text a:hover {
  text-decoration: underline;
}

/* ---- CONTACT ---- */
.contact {
  padding: 120px 0;
  background: var(--navy-dark);
}

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

.contact-desc {
  font-size: 1.05rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-300);
}

.contact-detail a:hover {
  color: var(--orange);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-300);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: rgba(255, 103, 29, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 103, 29, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ff671d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--navy-dark);
  color: var(--white);
}

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

/* ---- FOOTER ---- */
.footer {
  padding: 80px 0 0;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.65;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-400);
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-bottom span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE: 1024px ---- */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card--large {
    grid-column: span 2;
  }

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

  .why-cards .why-card:last-child {
    grid-column: span 2;
  }

  .solutions-tabs {
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 48px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .metric-item:nth-child(2) {
    border-right: none;
  }
}

/* ---- RESPONSIVE: 768px ---- */
@media (max-width: 768px) {
  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 32px;
    gap: 8px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255,255,255,0.06);
    z-index: 1000;
  }

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

  .nav-link {
    font-size: 1.1rem;
    color: var(--white);
    padding: 10px 0;
    width: 100%;
  }

  .nav-link::after {
    bottom: 2px;
  }

  .nav-link--cta {
    margin-top: 16px;
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card--large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .product-card--large .product-card-img {
    min-height: 240px;
  }

  /* Solutions Tabs */
  .solutions-tabs {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .solutions-tab-nav {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
    position: static;
    scrollbar-width: none;
  }

  .solutions-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .solutions-tab-btn {
    flex-shrink: 0;
    padding: 12px 16px;
    font-size: 0.85rem;
    gap: 10px;
  }

  .tab-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .tab-icon svg {
    width: 15px;
    height: 15px;
  }

  .solutions-tab-panel.active {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tab-panel-visual {
    aspect-ratio: 16 / 9;
  }

  /* Why cards */
  .why-cards {
    grid-template-columns: 1fr;
  }

  .why-cards .why-card:last-child {
    grid-column: auto;
  }

  /* CTA */
  .cta-box {
    padding: 36px 24px;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

/* ---- RESPONSIVE: 480px ---- */
@media (max-width: 480px) {
  .hero {
    padding: 100px 16px 60px;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 7px 16px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-ctas .btn-ghost {
    width: auto;
    align-self: center;
  }

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

  .metric-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 28px 20px;
  }

  .metric-item:last-child {
    border-bottom: none;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .solutions-tab-btn .tab-label {
    display: none;
  }

  .solutions-tab-btn {
    padding: 12px;
    justify-content: center;
  }

  .tab-icon {
    margin: 0;
  }

  .products-cta-row {
    padding: 20px 16px;
  }

  .cta-box {
    padding: 32px 20px;
  }

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

  .products { padding: 80px 0; }
  .solutions-section { padding: 80px 0; }
  .why-section { padding: 80px 0; }
  .contact { padding: 80px 0; }
}
