/* ============================================
   GRUPO DTM-OTK S.A. DE C.V.
   Landing Page - Premium Styles
   Colores basados en el logo corporativo azul
   con acento metalico/plateado para acero
   ============================================ */

/* CSS Variables */
:root {
  /* Primary Colors - Based on Logo */
  --primary: #3a7ca5;
  --primary-dark: #1a2d3d;
  --primary-light: #5a9cc5;
  --primary-rgb: 58, 124, 165;

  /* Accent Colors */
  --accent: #c9a962;
  --accent-dark: #a88921;
  --accent-light: #e0c78a;
  --accent-rgb: 201, 169, 98;

  /* Steel/Metallic accent */
  --steel: #8b9cac;
  --steel-light: #b8c5d1;
  --steel-dark: #5a6b7a;

  /* Neutrals */
  --dark: #0d1117;
  --dark-lighter: #161b22;
  --dark-card: #1c2128;
  --gray-100: #f8fafc;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --white: #ffffff;

  /* Functional */
  --success: #10b981;
  --error: #ef4444;

  /* Effects */
  --glow-primary: rgba(var(--primary-rgb), 0.3);
  --glow-accent: rgba(var(--accent-rgb), 0.3);
  --glass-bg: rgba(28, 33, 40, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--glow-primary);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Typography */
  --font-heading: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-300);
  background-color: var(--dark);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Grid Pattern Background */
.grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(58, 124, 165, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(58, 124, 165, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
  color: var(--dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--glow-accent);
}

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--steel);
}

.btn-ghost:hover {
  background: var(--steel);
  color: var(--dark);
  border-color: var(--steel);
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--gray-100);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

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

.btn-block {
  width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.logo:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.logo img {
  height: 45px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .logo {
  background: var(--white);
  padding: 6px 14px;
}

.header.scrolled .logo img {
  height: 40px;
}

.nav-list {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: var(--transition);
}

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

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

.header-cta {
  padding: 12px 24px;
}

.header-cta svg {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* - original code -
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.05);
}*/

/* - updated code - */
.hero-bg-image {
  width: 100%;
  height: 120%;
  object-fit: cover;
  /*filter: blur(3px);*/
  transform: translateY(0) scale(1.1);
  transition: transform 0.05s linear;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(13, 17, 23, 0.92) 0%,
    rgba(13, 17, 23, 0.85) 50%,
    rgba(13, 17, 23, 0.75) 100%
  );
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  padding: 140px 24px 100px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  margin-bottom: 32px;
}

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

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

.hero-badge span:last-child {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.title-accent {
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    var(--accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1rem;
  color: var(--gray-400);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}

/* Hero Features List */
.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-features .feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-features .feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-light);
}

.hero-features li span {
  font-size: 0.95rem;
  color: var(--gray-300);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Stats Column */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateX(-8px);
}

.stat-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.stat-card-content {
  display: flex;
  flex-direction: column;
}

.stat-card-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-card-label {
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--steel);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}

.scroll-indicator span {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header-left {
  text-align: left;
}
/* ======== original code ========
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
  =================== */

/* ======== updated code ======== */
.section-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #f4c15d;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section-tag::before,
.section-tag::after {
  content: "";
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(244, 193, 93, 0.8));
}

.section-tag::after {
  background: linear-gradient(to left, transparent, rgba(244, 193, 93, 0.8));
}
/* =================== */

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
}

.section-header-left .section-subtitle {
  margin: 0;
}

/* ============================================
   ABOUT SECTION - BENTO GRID
   ============================================ */
.about {
  padding: 120px 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 24px;
}

.bento-card {
  background: var(--dark-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.bento-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateY(-4px);
}

/* Main Card - Spans 2 columns and 2 rows */
.bento-main {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.bento-main .bento-content {
  padding: 40px;
  flex: 1;
}

.bento-main h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.bento-main p {
  color: var(--gray-400);
  margin-bottom: 16px;
  line-height: 1.8;
}

.bento-main p strong {
  color: var(--primary-light);
}

.bento-image {
  height: 280px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.bento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: var(--transition);
}

.bento-image:hover img {
  transform: scale(1.05);
}

/* Stat Cards */
.bento-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--dark-card) 0%,
    rgba(var(--primary-rgb), 0.1) 100%
  );
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--primary-light);
}

.bento-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.bento-stat .stat-label {
  font-size: 13px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Feature Cards */
.bento-feature {
  display: flex;
  flex-direction: column;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--dark);
}

.bento-feature h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.bento-feature p {
  font-size: 14px;
  color: var(--gray-400);
}

/* Wide Card - Spans full width */
.bento-wide {
  grid-column: span 4;
  background: linear-gradient(
    135deg,
    var(--dark-card) 0%,
    rgba(var(--primary-rgb), 0.05) 100%
  );
}

.wide-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}

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

.capability {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.capability:hover {
  background: rgba(var(--primary-rgb), 0.1);
}

.capability svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  stroke: var(--accent);
}

.capability span {
  font-size: 14px;
  color: var(--gray-300);
}

/* ============================================
   SERVICES SECTION - TABS
   ============================================ */
.services {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-lighter) 100%);
}

.service-tabs {
  margin-top: 60px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--dark-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--gray-500);
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--white);
}

.tab-btn:hover svg {
  stroke: var(--primary-light);
}

.tab-btn.active {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-color: var(--primary);
  color: var(--white);
}

.tab-btn.active svg {
  stroke: var(--white);
}

/* Tab Panels */
.tabs-content {
  position: relative;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-panel.active {
  display: block;
}

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

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.panel-info {
  padding: 40px 0;
}

.panel-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.panel-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.panel-info > p {
  font-size: 1.125rem;
  color: var(--gray-400);
  margin-bottom: 28px;
  line-height: 1.8;
}

.panel-list {
  margin-bottom: 32px;
}

.panel-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--gray-300);
  font-size: 15px;
}

.panel-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.panel-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  width: 280px;
  height: 320px;
  background: linear-gradient(
    135deg,
    var(--dark-card) 0%,
    rgba(var(--primary-rgb), 0.1) 100%
  );
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: var(--transition);
}

.visual-card:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.visual-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-icon svg {
  width: 50px;
  height: 50px;
  stroke: var(--white);
}

.visual-card span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
}

/* Visual Image - Image based version */
.visual-image {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition-slow);
}

.visual-image:hover img {
  transform: scale(1.08);
}

.visual-image .visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(
    0deg,
    rgba(13, 17, 23, 0.95) 0%,
    rgba(13, 17, 23, 0.7) 50%,
    transparent 100%
  );
  transition: var(--transition);
}

.visual-image:hover .visual-overlay {
  padding-bottom: 32px;
}

.visual-image .visual-overlay span {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  display: block;
}

/* ============================================
   SECTORS MARQUEE
   ============================================ */
.sectors-marquee {
  padding: 60px 0;
  background: var(--primary-dark);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

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

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  opacity: 0.8;
}

.marquee-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ============================================
   PROCESS SECTION - VERTICAL TIMELINE
   ============================================ */
.process {
  padding: 120px 0;
  background: var(--dark);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 80px;
}

.timeline-line {
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 60px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -80px;
  top: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--glow-primary);
}

.timeline-marker span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.timeline-content {
  background: var(--dark-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateX(8px);
}

.timeline-icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.timeline-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.timeline-content p {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */

/*======= original code ===========
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
}
  ====================*/

/*======= updated code - penultima sec ===========*/

.cta-section {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  padding: 140px 0;
}

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

.cta-parallax {
  width: 100%;
  height: 150%;
  object-fit: cover;
  transform: translateY(0) scale(1.1);
  filter: brightness(0.45) saturate(1.1);
  transition: transform 0.05s linear;
  will-change: transform;
  object-position: center top;
}

.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(9, 22, 36, 0.85),
    rgba(9, 22, 36, 0.65)
  );
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

/*========================*/

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

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

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

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--dark-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

a.contact-card:hover {
  border-color: var(--primary);
  transform: translateX(8px);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-card-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-card-value {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
}

/* Contact Map */
.contact-map {
  margin-top: 24px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--dark-card);
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(100%) invert(92%) contrast(90%);
  transition: var(--transition);
}

.map-wrapper:hover iframe {
  filter: grayscale(50%) invert(92%) contrast(90%);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 60%,
    rgba(13, 17, 23, 0.8) 100%
  );
  pointer-events: none;
}

.map-pin {
  position: absolute;
  bottom: 16px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  z-index: 10;
}

.map-pin svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.map-pin span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--dark-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

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

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

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  background: var(--dark-lighter);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--dark);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' 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 16px center;
  padding-right: 48px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-logo {
  height: 45px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-500);
  max-width: 300px;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-500);
}

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

.footer-contact p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-600);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-divider {
  color: var(--gray-600);
  font-size: 13px;
}

.privacy-link {
  font-size: 13px;
  color: var(--gray-600);
}

.privacy-link:hover {
  color: var(--accent);
}

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

  .bento-main {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-wide {
    grid-column: span 2;
  }

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

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    order: 1;
  }

  .hero-stats {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-card {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
  }

  .stat-card:hover {
    transform: translateY(-4px);
  }

  .hero-features {
    align-items: flex-start;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

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

  .panel-visual {
    order: -1;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-top: 1px solid var(--glass-border);
  }

  .nav.active .nav-list {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .nav.active .nav-link {
    font-size: 16px;
  }

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

  .bento-main,
  .bento-wide {
    grid-column: span 1;
  }

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

  .tabs-nav {
    flex-direction: column;
  }

  .tab-btn {
    justify-content: center;
  }

  .timeline {
    padding-left: 60px;
  }

  .timeline-line {
    left: 25px;
  }

  .timeline-marker {
    left: -60px;
    width: 50px;
    height: 50px;
  }

  .timeline-marker span {
    font-size: 1rem;
  }

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

  .map-wrapper {
    height: 180px;
  }

  .map-pin {
    left: 12px;
    bottom: 12px;
    padding: 8px 12px;
  }

  .map-pin span {
    font-size: 10px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .footer-logo {
    margin: 0 auto 20px;
  }

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

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

  .hero-container {
    padding: 120px 16px 80px;
  }

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

  .hero-buttons .btn {
    width: 100%;
  }

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

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

  .about,
  .services,
  .process,
  .contact {
    padding: 80px 0;
  }

  .bento-card {
    padding: 24px;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .scroll-indicator {
    display: none;
  }
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Menu Toggle Animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

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