/* ============================================
   ITERA TECH CONSULTING — Design System
   ============================================ */

/* Google Fonts loaded via <link> in HTML for better performance */

/* --- Design Tokens --- */
:root {
  /* Colors */
  --midnight: #0B1D3A;
  --midnight-light: #112D5A;
  --space-gray: #2C3E50;
  --space-gray-light: #7F8C8D;
  --emerald: #00B894;
  --turquoise: #00CEC9;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #ECF0F1;
  --gradient-accent: linear-gradient(135deg, var(--emerald), var(--turquoise));
  --gradient-dark: linear-gradient(180deg, var(--midnight) 0%, #061122 100%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-hero: clamp(2.4rem, 5vw, 4rem);
  --fs-h2: clamp(1.8rem, 3.5vw, 2.8rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container-max: 1200px;
  --container-px: clamp(1.25rem, 4vw, 2rem);

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(11, 29, 58, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(0, 184, 148, 0.15);
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  color: var(--space-gray);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--midnight);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--space-gray-light);
  max-width: 620px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  border-radius: 50px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 184, 148, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 184, 148, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--emerald);
  background: rgba(0, 184, 148, 0.1);
}

.btn-dark {
  background: var(--midnight);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--midnight-light);
  transform: translateY(-2px);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(11, 29, 58, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: var(--fw-bold);
  color: var(--white);
}

.navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-brand .brand-icon svg {
  width: 20px;
  height: 20px;
}

.navbar-brand span {
  opacity: 0.55;
  font-weight: var(--fw-light);
  margin-left: -0.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1.4rem !important;
  font-size: var(--fs-small) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero_background.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(11, 29, 58, 0.6) 0%,
      rgba(11, 29, 58, 0.85) 60%,
      rgba(6, 17, 34, 1) 100%);
}

/* Animated grid lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 206, 201, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 206, 201, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 var(--container-px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 184, 148, 0.12);
  border: 1px solid rgba(0, 184, 148, 0.25);
  color: var(--emerald);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: var(--fw-black);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero h1 .accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: var(--fw-bold);
  color: var(--white);
  display: block;
}

.hero-stat .number .accent-text {
  color: var(--emerald);
}

.hero-stat .label {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.25rem;
  display: block;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-indicator .mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  width: 3px;
  height: 8px;
  background: var(--emerald);
  border-radius: 3px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {

  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   MÉTODO ITERA (Value Proposition)
   ============================================ */
.metodo {
  padding: var(--section-py) 0;
  background: var(--off-white);
  position: relative;
}

.metodo-header {
  text-align: center;
  margin-bottom: 4rem;
}

.metodo-header .section-subtitle {
  margin: 0 auto;
}

.metodo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.metodo-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.metodo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 184, 148, 0.15);
}

.metodo-card .step-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.metodo-card h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--midnight);
  margin-bottom: 0.75rem;
}

.metodo-card p {
  color: var(--space-gray-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Connector line between cards */
.metodo-connector {
  display: none;
}

@media (min-width: 768px) {
  .metodo-connector {
    display: block;
    position: absolute;
    top: 50%;
    right: -1.25rem;
    width: 2.5rem;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0.3;
  }
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
  padding: var(--section-py) 0;
  background: var(--white);
}

.servicios-header {
  text-align: center;
  margin-bottom: 4rem;
}

.servicios-header .section-subtitle {
  margin: 0 auto;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.servicio-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 184, 148, 0.2);
}

.servicio-card:hover::before {
  transform: scaleX(1);
}

.servicio-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 184, 148, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.servicio-card:hover .servicio-icon {
  background: var(--gradient-accent);
}

.servicio-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--emerald);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--transition-fast);
}

.servicio-card:hover .servicio-icon svg {
  stroke: var(--white);
}

.servicio-card h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--midnight);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.servicio-card p {
  color: var(--space-gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   DIFERENCIADORES
   ============================================ */
.diferenciadores {
  padding: var(--section-py) 0;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.diferenciadores::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(0, 184, 148, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 206, 201, 0.04) 0%, transparent 60%);
}

.diferenciadores .container {
  position: relative;
  z-index: 1;
}

.diferenciadores-header {
  text-align: center;
  margin-bottom: 4rem;
}

.diferenciadores .section-title {
  color: var(--white);
}

.diferenciadores .section-subtitle {
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto;
}

.diferenciadores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.dif-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.dif-card:hover {
  background: rgba(0, 184, 148, 0.06);
  border-color: rgba(0, 184, 148, 0.2);
  transform: translateY(-4px);
}

.dif-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 184, 148, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.dif-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--emerald);
  fill: none;
  stroke-width: 1.5;
}

.dif-card h3 {
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-bottom: 0.6rem;
}

.dif-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.contacto-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contacto-header .section-subtitle {
  margin: 0 auto;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contacto-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.contacto-form h3 {
  font-size: 1.3rem;
  font-weight: var(--fw-semibold);
  color: var(--midnight);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--space-gray);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  color: var(--space-gray);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contacto-calendar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.contacto-calendar h3 {
  font-size: 1.3rem;
  font-weight: var(--fw-semibold);
  color: var(--midnight);
  margin-bottom: 0.5rem;
  text-align: center;
}

.contacto-calendar p {
  color: var(--space-gray-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-align: center;
}

.calendly-inline-widget {
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 700px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--midnight);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--white);
}

.footer-brand .brand-icon {
  width: 30px;
  height: 30px;
  background: var(--gradient-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .brand-icon svg {
  width: 16px;
  height: 16px;
}

.footer-brand span {
  opacity: 0.55;
  font-weight: var(--fw-light);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--fs-small);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--emerald);
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}

/* ============================================
   ACTIVE NAV LINK
   ============================================ */
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  width: 100%;
}

/* ============================================
   PROJECTS PAGE — HERO
   ============================================ */
.projects-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-dark);
  overflow: hidden;
  padding-top: 80px;
}

.projects-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 206, 201, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 206, 201, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.projects-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 184, 148, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(0, 206, 201, 0.08) 0%, transparent 60%);
}

.projects-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(11, 29, 58, 0.4) 0%,
      rgba(11, 29, 58, 0.85) 70%,
      rgba(6, 17, 34, 1) 100%);
}

.projects-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 4rem var(--container-px);
}

.projects-hero h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-black);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.projects-hero h1 .accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.projects-hero-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================
   PROJECTS GRID
   ============================================ */
.projects-section {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

/* ============================================
   PROJECT CARD
   ============================================ */
.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 184, 148, 0.2);
}

/* Project Image */
.project-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--midnight);
}

.project-image--mobile {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-image--mobile img {
  object-fit: contain;
  padding: 1rem 0;
}

/* Type Badge */
.project-type-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(11, 29, 58, 0.85);
  backdrop-filter: blur(8px);
  color: var(--emerald);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 184, 148, 0.25);
}

.project-type-badge svg {
  flex-shrink: 0;
}

/* Project Content */
.project-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-content h2 {
  font-size: 1.35rem;
  font-weight: var(--fw-bold);
  color: var(--midnight);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-description {
  color: var(--space-gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Feature Items */
.project-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--space-gray);
  line-height: 1.5;
}

.feature-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--emerald);
}

/* Tech Badges */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  background: rgba(0, 184, 148, 0.08);
  color: var(--emerald);
  border: 1px solid rgba(0, 184, 148, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.3px;
  transition: all var(--transition-fast);
}

.tech-badge:hover {
  background: rgba(0, 184, 148, 0.15);
  border-color: rgba(0, 184, 148, 0.4);
}

/* ============================================
   PROJECTS CTA
   ============================================ */
.projects-cta {
  padding: 5rem 0;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

.projects-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0, 184, 148, 0.08) 0%, transparent 60%);
}

.projects-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.projects-cta-content h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 1rem;
}

.projects-cta-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

  .metodo-grid,
  .servicios-grid,
  .diferenciadores-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {

  /* Nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(11, 29, 58, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right var(--transition-smooth);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  /* Hero */
  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .hero-stat .number {
    font-size: 1.5rem;
  }

  /* Grids */
  .metodo-grid,
  .servicios-grid,
  .diferenciadores-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-image {
    height: 220px;
  }

  .project-content {
    padding: 1.5rem;
  }

  .projects-hero {
    min-height: 40vh;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  /* Scroll indicator hide on mobile */
  .scroll-indicator {
    display: none;
  }
}