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

:root {
  --bg:          #0a0d14;
  --bg-2:        #0f1320;
  --bg-card:     #131826;
  --bg-card-2:   #1a2035;
  --border:      rgba(255,255,255,0.07);
  --border-hi:   rgba(255,255,255,0.14);
  --accent:      #3b82f6;
  --accent-dim:  rgba(59,130,246,0.15);
  --accent-glow: rgba(59,130,246,0.25);
  --accent-2:    #06b6d4;
  --gold:        #f59e0b;
  --gold-dim:    rgba(245,158,11,0.12);
  --green:       #10b981;
  --green-dim:   rgba(16,185,129,0.12);
  --text-1:      #f0f4ff;
  --text-2:      #8b95b0;
  --text-3:      #555e78;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   22px;
  font-size: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
}

h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

/* ─── UTILS ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 99px;
  padding: 5px 12px;
  margin-bottom: 16px;
}

.section-tag svg { width: 12px; height: 12px; }

.section-title {
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.7;
}

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

/* ─── KEYFRAMES ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}

/* ────────────────────────────────────────────
   1. HERO
──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 160px 0 80px; /* Increased top padding to clear fixed header */
}

/* Grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

/* Glow blobs */
.hero-blob-1, .hero-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-blob-1 {
  width: min(600px, 100vw); height: min(600px, 100vw);
  top: -100px; right: -150px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
}
.hero-blob-2 {
  width: min(400px, 80vw); height: min(400px, 80vw);
  bottom: -50px; left: -100px;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 99px;
  padding: 6px 14px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}

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

.hero-title {
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-title .accent-word {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hi);
  background: transparent;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--text-1); background: var(--accent-dim); }

.btn-primary svg, .btn-secondary svg { width: 16px; height: 16px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-stat {
  background: var(--bg-card);
  padding: 20px 18px;
  text-align: center;
}

.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-1);
  display: block;
}

.hero-stat-label {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero visual panel */
.hero-visual {
  animation: fadeUp 0.7s 0.2s ease both;
}

/* Image wrapper with dark overlay */
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-hi);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.hero-img-wrap img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* Black mirror overlay — uniform dark tint over the whole image */
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.hero-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.device-list { display: flex; flex-direction: column; gap: 10px; }

.device-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}
.device-item:hover { border-color: var(--border-hi); }

.device-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.device-icon svg { width: 18px; height: 18px; }
.di-blue { background: var(--accent-dim); color: var(--accent); }
.di-cyan { background: rgba(6,182,212,0.12); color: var(--accent-2); }
.di-gold { background: var(--gold-dim); color: var(--gold); }
.di-green { background: var(--green-dim); color: var(--green); }

.device-label { font-size: 13px; font-weight: 500; color: var(--text-1); flex: 1; }
.device-time {
  font-size: 11px; color: var(--text-3);
  background: var(--bg-card-2);
  padding: 3px 8px; border-radius: 99px;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--green-dim);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: #34d399;
}
.hero-guarantee svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ─── RESPONSIVE HERO ─── */
@media (max-width: 900px) {
  .hero { padding: 120px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; width: 100%; max-width: 500px; margin: 0 auto; }
  .hero-img-wrap img { height: 320px; }
  .hero-title { font-size: 42px; }
}

@media (max-width: 480px) {
  .hero-img-wrap img { height: 260px; }
  .hero-title { font-size: 36px; }
  .hero-stats { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────
   2. SERVICIOS
──────────────────────────────────────────── */
.services {
  padding: 100px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--card-glow, transparent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.service-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.service-card:hover::before { opacity: 1; }

.service-card.featured {
  border-color: rgba(59,130,246,0.3);
  background: linear-gradient(135deg, var(--bg-card) 60%, rgba(59,130,246,0.05) 100%);
}
.service-card.featured .featured-label {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(59,130,246,0.25);
  padding: 3px 9px;
  border-radius: 99px;
}

.service-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon-wrap svg { width: 22px; height: 22px; }

.si-blue  { background: var(--accent-dim);               color: var(--accent); }
.si-cyan  { background: rgba(6,182,212,0.12);            color: var(--accent-2); }
.si-gold  { background: var(--gold-dim);                 color: var(--gold); }
.si-green { background: var(--green-dim);                color: var(--green); }
.si-rose  { background: rgba(244,63,94,0.12);            color: #f43f5e; }
.si-violet{ background: rgba(139,92,246,0.12);           color: #8b5cf6; }

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-1);
}

.service-card p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.stag {
  font-size: 13px;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 99px;
  transition: color 0.15s, border-color 0.15s;
}

.service-card:hover .stag { color: var(--text-2); border-color: var(--border-hi); }

/* ────────────────────────────────────────────
   3. POR QUÉ ELEGIRNOS (Why Choose)
──────────────────────────────────────────── */
.why {
  padding: 100px 0;
  background: var(--bg-2);
  position: relative;
}

.why::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--border-hi) 50%, transparent 90%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.why-card {
  padding: 26px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s;
}
.why-card:hover { border-color: var(--border-hi); }

.why-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.why-icon svg { width: 20px; height: 20px; }

.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 7px; }
.why-card p  { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* ────────────────────────────────────────────
   4. PROCESO
──────────────────────────────────────────── */
.process {
  padding: 100px 0;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 20px;
}

/* ─── SIGNAL TRAVEL ANIMATION ─── */
@keyframes signal-travel {
  0%, 10% { left: 12.5%; opacity: 0; transform: translateY(-50%) scale(0.5); }
  15%      { left: 12.5%; opacity: 1; transform: translateY(-50%) scale(1); }
  75%      { left: 87.5%; opacity: 1; transform: translateY(-50%) scale(1); }
  90%      { left: 87.5%; opacity: 0; transform: translateY(-50%) scale(0.8); }
  100%     { left: 87.5%; opacity: 0; }
}

@keyframes signal-ping {
  0%, 10% { transform: scale(1); opacity: 0; }
  15%      { transform: scale(1); opacity: 0.8; }
  35%      { transform: scale(2.2); opacity: 0; }
  100%     { transform: scale(2.2); opacity: 0; }
}

/* Arrival flash on step 4 — fires at 93% of the 2.8s cycle */
@keyframes arrival-flash {
  0%, 74% { box-shadow: none; border-color: var(--border); color: var(--text-3); transform: scale(1); }
  75%      { box-shadow: 0 0 0 6px rgba(59,130,246,0.3), 0 0 40px 15px var(--accent); border-color: var(--accent); color: var(--accent); transform: scale(1.18); }
  90%      { box-shadow: 0 0 0 6px rgba(59,130,246,0.3), 0 0 40px 15px var(--accent); border-color: var(--accent); color: var(--accent); transform: scale(1.18); }
  100%     { box-shadow: none; border-color: var(--border); color: var(--text-3); transform: scale(1); }
}

/* Expanding ring on step 4 — same timing */
@keyframes arrival-ring {
  0%, 74% { transform: scale(1); opacity: 0; }
  75%      { transform: scale(1); opacity: 0.9; }
  100%     { transform: scale(3.8); opacity: 0; }
}

/* Connector line */
.process-track::before {
  content: '';
  position: absolute;
  top: 54px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg,
    var(--accent) 0%,
    rgba(59,130,246,0.4) 33%,
    rgba(59,130,246,0.2) 66%,
    var(--border) 100%
  );
  z-index: 0;
  border-radius: 99px;
}

/* Traveling signal dot */
.process-track::after {
  content: '';
  position: absolute;
  top: 54px;
  left: calc(12.5% + 40px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 4px rgba(59,130,246,0.25),
    0 0 16px 4px rgba(59,130,246,0.5),
    0 0 32px 8px rgba(59,130,246,0.2);
  transform: translateY(-50%);
  z-index: 3;
  animation: signal-travel 4s cubic-bezier(0.4, 0, 0.4, 1) infinite;
}

/* ─── VERTICAL SIGNAL ANIMATION (Mobile/Tablet) ─── */
@keyframes signal-travel-v {
  0%, 10% { top: 40px; opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  15%      { top: 40px; opacity: 1; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 25px var(--accent); }
  75%      { top: calc(100% - 40px); opacity: 1; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 25px var(--accent); }
  90%      { top: calc(100% - 40px); opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  100%     { top: calc(100% - 40px); opacity: 0; }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.process-num-wrap {
  position: relative;
  margin-bottom: 20px;
}

.process-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.pn-1 { background: var(--accent); color: white; box-shadow: 0 0 0 6px rgba(59,130,246,0.15), 0 0 0 12px rgba(59,130,246,0.06); }
.pn-2 { background: var(--bg-card); border: 2px solid rgba(59,130,246,0.4); color: var(--accent); }
.pn-3 { background: var(--bg-card); border: 2px solid rgba(59,130,246,0.2); color: var(--text-2); }
.pn-4 {
  background: var(--bg-card);
  border: 2px solid var(--border);
  color: var(--text-3);
  animation: arrival-flash 4s ease-out infinite;
}

/* Ping ring on step 1 */
.pn-1::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(59,130,246,0.6);
  animation: signal-ping 4s ease-out infinite;
}

/* Arrival ring burst on step 4 */
.pn-4::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(59,130,246,0.7);
  animation: arrival-ring 4s ease-out infinite;
  pointer-events: none;
}

.process-step-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.process-step-icon svg { width: 16px; height: 16px; color: var(--text-2); }

.process-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.process-step p  { font-size: 15px; color: var(--text-2); line-height: 1.6; }

.process-step-time {
  margin-top: 10px;
  font-size: 10px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 3px 9px;
  border-radius: 99px;
}

@media (max-width: 900px) {
  .process-track { 
    grid-template-columns: 1fr; 
    gap: 60px;
    padding: 20px 0;
  }

  .process-step {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Vertical Connector Line */
  .process-track::before {
    display: block;
    top: 40px; /* center of first pn */
    bottom: 40px; /* center of last pn */
    left: 50%;
    width: 2px;
    height: auto;
    right: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
      var(--accent) 0%,
      rgba(59,130,246,0.3) 50%,
      var(--border) 100%
    );
  }

  /* Vertical Traveling Signal */
  .process-track::after {
    display: block;
    top: 40px;
    left: 50%;
    right: auto;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    animation: signal-travel-v 4s cubic-bezier(0.4, 0, 0.4, 1) infinite;
    box-shadow: 
      0 0 15px 4px var(--accent),
      0 0 30px 8px rgba(59,130,246,0.3);
  }

  /* Adjust flash timing if necessary (optional, but keep it consistent) */
  .pn-4 {
    animation: arrival-flash 4s ease-out infinite;
  }
  .pn-4::before {
    animation: arrival-ring 4s ease-out infinite;
  }
}

/* ────────────────────────────────────────────
   5. TESTIMONIOS
──────────────────────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: var(--bg-2);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--border-hi) 50%, transparent 90%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.2s;
}
.testimonial-card:hover { border-color: var(--border-hi); }
.testimonial-card.featured-testi { border-color: rgba(59,130,246,0.3); }

.testi-quote-mark {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: -8px;
}

.testi-text {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testi-stars { display: flex; gap: 3px; }
.star-icon { color: var(--gold); font-size: 14px; }

.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.av-a { background: var(--accent-dim); color: var(--accent); }
.av-b { background: var(--green-dim);  color: var(--green); }
.av-c { background: var(--gold-dim);   color: var(--gold); }

.testi-name { font-size: 16px; font-weight: 600; color: var(--text-1); }
.testi-role { font-size: 14px; color: var(--text-3); }

.testi-device-badge {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: 99px;
}

/* ────────────────────────────────────────────
   6. ACERCA DE / PERFIL TÉCNICO
──────────────────────────────────────────── */
.about {
  padding: 100px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: start;
}

.about-text h2 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 800; margin-bottom: 16px; }
.about-text p  { font-size: 17px; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }

.about-values { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }

.about-value {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.about-value-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-value-icon svg { width: 17px; height: 17px; }

.about-value h4 { font-size: 16px; font-weight: 700; margin-bottom: 3px; color: var(--text-1); }
.about-value p  { font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* Profile card */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: sticky;
  top: 24px;
}

.profile-card-top {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.profile-card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.profile-avatar {
  position: relative;
  z-index: 1;
  width: 72px; height: 72px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.2), 0 0 0 8px rgba(59,130,246,0.08);
}

.profile-name {
  position: relative; z-index: 1;
  font-size: 20px; font-weight: 800;
  color: var(--text-1); margin-bottom: 4px;
}

.profile-role {
  position: relative; z-index: 1;
  font-size: 12px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 16px;
}

.profile-badge {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 99px;
  padding: 4px 12px;
}
.profile-badge svg { width: 12px; height: 12px; }

.profile-card-body { padding: 24px 28px; }

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--border);
  overflow: hidden;
  margin-bottom: 20px;
}

.p-stat {
  background: var(--bg-2);
  padding: 14px 10px;
  text-align: center;
}
.p-stat-num { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: var(--text-1); display: block; }
.p-stat-lbl { font-size: 13px; color: var(--text-3); margin-top: 2px; }

.profile-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.skill-tag {
  font-size: 13px;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 99px;
}

.profile-bio {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .profile-card { position: static; }
}

/* ────────────────────────────────────────────
   7. CONTACTO
──────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--bg-2);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--border-hi) 50%, transparent 90%);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 72px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; margin-bottom: 14px; }
.contact-info p  { font-size: 17px; color: var(--text-2); line-height: 1.7; margin-bottom: 36px; }

.contact-channels { display: flex; flex-direction: column; gap: 12px; }

.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}
.contact-channel:hover { border-color: var(--border-hi); }

.ch-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ch-icon svg { width: 18px; height: 18px; }

.ch-label { font-size: 13px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.ch-value { font-size: 16px; font-weight: 500; color: var(--text-1); }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.form-header { margin-bottom: 24px; }
.form-header h3 { font-size: 23px; font-weight: 700; margin-bottom: 6px; }
.form-header p  { font-size: 15px; color: var(--text-2); }

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 10px;
}
.trust-pill svg { width: 11px; height: 11px; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group { margin-bottom: 12px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-1);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--text-3); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.form-select { 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='%23555e78' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }
.form-select option { background: #131826; color: var(--text-1); }

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

.form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent);
  color: white;
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  padding: 15px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 8px;
}
.form-submit:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(59,130,246,0.35);
}
.form-submit svg { width: 17px; height: 17px; }

.form-privacy {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.form-privacy svg { width: 11px; height: 11px; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── SHARED SECTION SEPARATOR ─── */
.sep {
  border: none;
  border-top: 1px solid var(--border);
}

/* ─── HEADER & NAV ─── */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
    background-color: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo {
    font-family: 'Syne', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #F8FAFC;
    text-decoration: none;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #38BDF8 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 35px;
}
.nav-menu a {
    text-decoration: none;
    color: #F8FAFC;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
    opacity: 0.9;
}
.nav-menu a:hover {
    color: #38BDF8;
    opacity: 1;
}
.lang-selector button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #F8FAFC;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: 0.4s;
}
.lang-selector button:hover {
    background: rgba(255, 255, 255, 0.1);
}
.lang-selector button.active {
    background: linear-gradient(135deg, #38BDF8 0%, #818CF8 100%);
    color: #fff;
    border-color: transparent;
}
.hamburger-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #F8FAFC;
}
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(11, 17, 32, 0.95);
        padding: 20px 5%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav.active {
        display: block;
    }
    .nav-menu {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .hamburger-menu {
        display: block;
    }
    .logo {
        font-size: 1.4rem;
        max-width: 50%;
    }
    .lang-selector {
        position: absolute;
        top: 22px;
        right: 70px;
        display: flex;
        gap: 5px;
    }
    .lang-selector button {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}