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

:root {
  --verde: #10B981;
  --verde-dark: #059669;
  --turquesa: #6EE7B7;
  --gris-oscuro: #1F2937;
  --gris-medio: #6B7280;
  --gris-claro: #9CA3AF;
  --fondo: #F8FAF9;
  --fondo-alt: #F0F4F2;
  --borde: #DEE5DF;
  --blanco: #FFFFFF;
  --sombra-verde-sm: 0 2px 8px rgba(16, 185, 129, 0.15);
  --sombra-verde-md: 0 8px 30px rgba(16, 185, 129, 0.2);
  --sombra-verde-lg: 0 14px 44px rgba(16, 185, 129, 0.28);
  --sombra-neutra: 0 4px 20px rgba(31, 41, 55, 0.05);
  --sombra-neutra-lg: 0 16px 48px rgba(31, 41, 55, 0.07);
  --sombra-card: 0 1px 3px rgba(16, 185, 129, 0.06), 0 8px 24px rgba(31, 41, 55, 0.04);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gris-oscuro);
  background-color: var(--fondo);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === Grain overlay === */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* === Ambient glow (reusable) === */
.section-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* === Typography === */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.03em;
}

p {
  color: var(--gris-medio);
}

.text-gradient {
  background: linear-gradient(135deg, var(--verde) 0%, #0D9468 50%, var(--turquesa) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Layout === */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

section {
  padding: 7rem 0;
  position: relative;
}

/* === Curved dividers === */
.curve-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}

.curve-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* === Scroll animations === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[style*="--i"] {
  transition-delay: calc(var(--i) * 0.1s);
}

/* === Wordmark === */
.wordmark {
  font-size: 2rem;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.wordmark-delzo {
  font-weight: 700;
  color: var(--gris-oscuro);
}

.wordmark-cloud {
  font-weight: 400;
  color: var(--verde);
}

/* === Header === */
.header {
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(248, 250, 249, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
  border-bottom-color: var(--borde);
  box-shadow: 0 1px 12px rgba(31, 41, 55, 0.04);
}

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

.header .wordmark {
  font-size: 1.25rem;
}

/* === Navigation === */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  text-decoration: none;
  color: var(--gris-medio);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color 0.3s ease, background 0.3s ease;
}

.nav-link:hover {
  color: var(--gris-oscuro);
  background: rgba(16, 185, 129, 0.06);
}

.nav .nav-cta {
  margin-left: 0.5rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gris-oscuro);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out-expo);
  transform-origin: center;
}

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

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

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  background: var(--verde);
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: var(--sombra-verde-md);
}

.btn:hover {
  background: var(--verde-dark);
  transform: translateY(-2px);
  box-shadow: var(--sombra-verde-lg);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  border-radius: 10px;
  box-shadow: var(--sombra-verde-sm);
}

.btn-sm:hover {
  box-shadow: var(--sombra-verde-md);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-inv {
  background: var(--blanco);
  color: var(--gris-oscuro);
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.btn-inv:hover {
  background: var(--turquesa);
  color: var(--gris-oscuro);
  box-shadow: 0 12px 40px rgba(110, 231, 183, 0.35);
}

/* === HERO === */
.hero {
  padding: 11rem 0 9rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #EEF7F2 0%, var(--fondo) 100%);
}

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

/* Hero ambient glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  top: -15%;
  right: -5%;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.2) 0%, transparent 60%);
  animation: float-slow 12s ease-in-out infinite;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 60%);
  animation: float-slow 15s ease-in-out infinite reverse;
}

.hero-text {
  text-align: left;
}

.hero-text .wordmark {
  font-size: 2.75rem;
  display: block;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--gris-medio);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2.25rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  justify-self: end;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
}

.hero-orb-1 {
  width: 80%;
  height: 80%;
  top: 2%;
  right: -2%;
  background: radial-gradient(circle at 35% 35%, rgba(110, 231, 183, 0.45), rgba(16, 185, 129, 0.15) 60%, transparent);
  animation: float-slow 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 60%;
  height: 60%;
  bottom: 5%;
  left: 2%;
  background: radial-gradient(circle at 60% 60%, rgba(16, 185, 129, 0.35), rgba(5, 150, 105, 0.1) 60%, transparent);
  animation: float-slow 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 35%;
  height: 35%;
  top: 35%;
  left: 30%;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.5), transparent 65%);
  animation: float-slow 6s ease-in-out infinite 1s;
}

.hero-dots {
  position: absolute;
  top: 8%;
  right: 3%;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(circle, rgba(16, 185, 129, 0.2) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, -14px) scale(1.02); }
}

/* === Section headers === */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--verde);
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gris-medio);
  max-width: 480px;
  line-height: 1.6;
}

.section-desc.center {
  margin: 0 auto;
}

/* === Logos === */
.logos-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--borde);
}

.logos-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gris-claro);
  margin-bottom: 2rem;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
  transform: scale(1.08);
}

.logo-item img {
  height: 26px;
  width: auto;
}

/* === Experiencia === */
.experiencia {
  padding: 5rem 0;
  border-bottom: 1px solid var(--borde);
}

.experiencia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.experiencia-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.exp-tag {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--borde);
  background: var(--blanco);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gris-oscuro);
  transition: all 0.3s ease;
  box-shadow: var(--sombra-neutra);
}

.exp-tag:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: var(--sombra-verde-sm);
  transform: translateY(-2px);
}

.exp-tag-accent {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(110, 231, 183, 0.12));
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--verde-dark);
  font-weight: 600;
}

/* === Servicios === */
.servicios {
  background: linear-gradient(180deg, var(--fondo-alt) 0%, var(--fondo) 100%);
}

.servicios-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: auto;
  gap: 1.25rem;
  margin-top: 3rem;
}

.servicio-card {
  background: var(--blanco);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--borde);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  box-shadow: var(--sombra-card);
}

/* Glass inner border */
.servicio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Spotlight gradient on hover */
.servicio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.1), 0 4px 16px rgba(31, 41, 55, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}

.servicio-card:hover::after {
  opacity: 1;
}

.servicio-card:nth-child(2) { grid-column: 2; }
.servicio-card:nth-child(3) { grid-column: 1; }
.servicio-card:nth-child(4) { grid-column: 2; }

.servicio-card.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
}

.servicio-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--gris-oscuro);
  position: relative;
  z-index: 1;
}

.servicio-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.servicio-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(110, 231, 183, 0.18));
  border-radius: 12px;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.servicio-card.wide .servicio-icon {
  margin-bottom: 0;
}

/* === Por qué Delzo === */
.por-que {
  text-align: center;
}

.diferenciadores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.diferenciador {
  padding: 2rem 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--borde);
  background: var(--blanco);
  text-align: left;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: var(--sombra-card);
  position: relative;
  overflow: hidden;
}

/* Glass inner border */
.diferenciador::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.diferenciador:hover {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.08), 0 4px 16px rgba(31, 41, 55, 0.05);
  transform: translateY(-3px);
}

.diferenciador-titulo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gris-oscuro);
  margin-bottom: 0.35rem;
}

.diferenciador-texto {
  font-size: 0.93rem;
  color: var(--gris-medio);
  line-height: 1.55;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(110, 231, 183, 0.2));
  border-radius: 11px;
  margin-bottom: 0.85rem;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.check::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 15px;
  width: 8px;
  height: 14px;
  border: solid var(--verde);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* === Proceso === */
.proceso {
  background: linear-gradient(180deg, var(--fondo-alt) 0%, var(--fondo) 100%);
}

.proceso-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.proceso-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.paso {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}

.paso-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--verde), var(--verde-dark));
  color: var(--blanco);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  box-shadow: var(--sombra-verde-md);
  position: relative;
}

.paso-titulo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gris-oscuro);
  margin-bottom: 0.4rem;
}

.paso-desc {
  font-size: 0.88rem;
  color: var(--gris-medio);
  line-height: 1.5;
}

.paso-line {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--turquesa), var(--verde));
  margin-top: 24px;
  border-radius: 2px;
  opacity: 0.5;
}

/* === Nosotros === */
.nosotros {
  overflow: hidden;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.nosotros-text p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.nosotros-founder {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  background: var(--blanco);
  border: 1px solid var(--borde);
  box-shadow: var(--sombra-card);
  width: fit-content;
}

.founder-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde), var(--turquesa));
  color: var(--blanco);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.founder-name {
  font-weight: 700;
  color: var(--gris-oscuro);
  font-size: 1rem;
}

.founder-role {
  color: var(--gris-medio);
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.nosotros-values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  background: var(--blanco);
  border: 1px solid var(--borde);
  box-shadow: var(--sombra-card);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.value-item:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.08), 0 4px 16px rgba(31, 41, 55, 0.05);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(110, 231, 183, 0.2));
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.value-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--gris-oscuro);
  margin-bottom: 0.2rem;
}

.value-item p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* === Presencia / Mapa === */
.presencia {
  background: linear-gradient(180deg, var(--fondo) 0%, var(--fondo-alt) 100%);
}

.presencia-header {
  text-align: center;
  margin-bottom: 3rem;
}

.presencia-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mapa-wrapper {
  position: relative;
}

.mapa-svg {
  width: 100%;
  height: auto;
}

.map-dot {
  filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.5));
}

.map-pulse {
  opacity: 0;
  animation: pulse-ring 3s ease-out infinite;
}

.map-pulse:nth-of-type(4) { animation-delay: 0s; }
.map-pulse:nth-of-type(6) { animation-delay: 0.4s; }
.map-pulse:nth-of-type(8) { animation-delay: 0.8s; }
.map-pulse:nth-of-type(10) { animation-delay: 1.2s; }
.map-pulse:nth-of-type(12) { animation-delay: 1.6s; }
.map-pulse:nth-of-type(14) { animation-delay: 2s; }
.map-pulse:nth-of-type(2) { animation-delay: 2.4s; }

@keyframes pulse-ring {
  0% { opacity: 0.5; r: 6; }
  100% { opacity: 0; r: 20; }
}

.paises-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pais-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--borde);
  background: var(--blanco);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gris-oscuro);
  transition: all 0.3s ease;
  box-shadow: var(--sombra-neutra);
}

.pais-item:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: var(--sombra-verde-sm);
  transform: translateX(4px);
}

.pais-flag {
  width: 30px;
  height: 21px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* === CTA Final === */
.cta-final {
  background: linear-gradient(135deg, #1a2332 0%, var(--gris-oscuro) 50%, #162420 100%);
  color: var(--blanco);
  text-align: center;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.035) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.15) 0%, rgba(110, 231, 183, 0.05) 40%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final h2 {
  color: var(--blanco);
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.cta-final .section-desc {
  color: var(--gris-claro);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* === Footer === */
.footer {
  background: var(--gris-oscuro);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .wordmark {
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand .wordmark-delzo {
  color: var(--blanco);
}

.footer-brand > p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--verde);
  color: var(--blanco);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--blanco);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--turquesa);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* === Responsive === */
@media (max-width: 900px) {
  /* Nav: full-screen mobile overlay */
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(248, 250, 249, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

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

  .nav-link {
    font-size: 1.35rem;
    padding: 0.75rem 1.5rem;
  }

  .nav .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  .hamburger {
    display: flex;
  }

  /* Layout */
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    order: 1;
  }

  .hero-text .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: 0;
    max-width: 280px;
    justify-self: center;
  }

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

  .servicio-card:nth-child(2),
  .servicio-card:nth-child(3),
  .servicio-card:nth-child(4) {
    grid-column: auto;
  }

  .servicio-card.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .servicio-card.wide .servicio-icon {
    margin-bottom: 1rem;
  }

  .experiencia-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .experiencia-tags {
    justify-content: center;
  }

  /* Proceso: vertical layout on mobile */
  .proceso-steps {
    flex-direction: column;
    align-items: center;
  }

  .paso {
    padding: 0;
    max-width: 320px;
  }

  .paso-line {
    width: 2px;
    height: 32px;
    flex: 0 0 32px;
    background: linear-gradient(180deg, var(--turquesa), var(--verde));
    margin: 0;
  }

  /* Nosotros */
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nosotros-founder {
    width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 8rem 0 6rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-text .wordmark {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  section {
    padding: 5rem 0;
  }

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

  .cta-final h2 {
    font-size: 1.85rem;
  }

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

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

  .footer-brand {
    grid-column: auto;
  }

  .presencia-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .paises-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .pais-item {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }

  .pais-flag {
    width: 24px;
    height: 17px;
  }
}

@media (max-width: 600px) {
  .logos-row {
    gap: 1.5rem;
  }

  .logo-item img {
    height: 20px;
  }
}

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

  .hero-text .wordmark {
    font-size: 1.85rem;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .header .btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .paises-list {
    grid-template-columns: 1fr;
  }
}
