/* ── ATS · estilos solo de la página de inicio (index.html y en/index.html) ── */

:root {
  --accent: var(--blue);
  --accent-rgb: 26,107,255;
  --accent2: #0047cc;
  --accent-glow: var(--blue-glow);
  --tag: var(--cyan);
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

/* Animated grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,107,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,107,255,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
  animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,107,255,0.18), transparent 70%);
  top: -100px; left: -150px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.12), transparent 70%);
  top: 50%; right: -100px;
  animation-delay: -4s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26,107,255,0.12);
  border: 1px solid rgba(26,107,255,0.3);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-title .accent-blue { color: var(--blue); }
.hero-title .accent-cyan {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--blue), #0047cc);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 0 30px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--line-2);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.05);
  transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}
.stat-number {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat-number span { color: var(--cyan); }
.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero right - product cards floating */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.floating-card {
  position: absolute;
  width: 220px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px var(--shadow);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
  will-change: transform;
}
.floating-card:hover {
  animation-play-state: paused !important;
  transform: translateY(-6px) rotateX(4deg) rotateY(-6deg) scale(1.05) !important;
}
.fc-pos:hover {
  transform: translateY(-6px) rotateX(-3deg) rotateY(6deg) scale(1.05) !important;
}
.fc-fix:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(4deg) scale(1.05) !important;
}

.fc-main {
  background: linear-gradient(145deg, var(--panel-a), var(--panel-b));
  border-color: rgba(26,107,255,0.2);
  box-shadow: 0 0 40px rgba(26,107,255,0.1), 0 20px 60px var(--shadow);
  animation: cardCycle 12s ease-in-out infinite;
}
.fc-pos {
  background: linear-gradient(145deg, #0A1A20, #0D1E2A);
  border-color: rgba(0,229,160,0.2);
  box-shadow: 0 0 30px rgba(0,229,160,0.08);
  animation: cardCyclePos 12s ease-in-out infinite;
}
.fc-fix {
  background: linear-gradient(145deg, #1A1010, #1E1510);
  border-color: rgba(255,107,53,0.2);
  box-shadow: 0 0 30px rgba(255,107,53,0.08);
  animation: cardCycleFix 12s ease-in-out infinite;
}

@keyframes cardCycle {
  0%, 25% { transform: translate(0, 0) scale(1.15); opacity: 1; z-index: 10; }
  30%, 55% { transform: translate(-170px, -100px) scale(0.85); opacity: 0.55; z-index: 1; }
  60%, 85% { transform: translate(170px, -100px) scale(0.85); opacity: 0.55; z-index: 1; }
  90%, 100% { transform: translate(0, 0) scale(1.15); opacity: 1; z-index: 10; }
}
@keyframes cardCyclePos {
  0%, 25% { transform: translate(170px, -100px) scale(0.85); opacity: 0.55; z-index: 1; }
  30%, 55% { transform: translate(0, 0) scale(1.15); opacity: 1; z-index: 10; }
  60%, 85% { transform: translate(-170px, -100px) scale(0.85); opacity: 0.55; z-index: 1; }
  90%, 100% { transform: translate(170px, -100px) scale(0.85); opacity: 0.55; z-index: 1; }
}
@keyframes cardCycleFix {
  0%, 25% { transform: translate(-170px, -100px) scale(0.85); opacity: 0.55; z-index: 1; }
  30%, 55% { transform: translate(170px, -100px) scale(0.85); opacity: 0.55; z-index: 1; }
  60%, 85% { transform: translate(0, 0) scale(1.15); opacity: 1; z-index: 10; }
  90%, 100% { transform: translate(-170px, -100px) scale(0.85); opacity: 0.55; z-index: 1; }
}
@keyframes cardCycleSmall {
  0%, 25% { transform: translate(0, 0) scale(1.1); opacity: 1; z-index: 10; }
  30%, 55% { transform: translate(-100px, -60px) scale(0.8); opacity: 0.5; z-index: 1; }
  60%, 85% { transform: translate(100px, -60px) scale(0.8); opacity: 0.5; z-index: 1; }
  90%, 100% { transform: translate(0, 0) scale(1.1); opacity: 1; z-index: 10; }
}
@keyframes cardCycleSmallPos {
  0%, 25% { transform: translate(100px, -60px) scale(0.8); opacity: 0.5; z-index: 1; }
  30%, 55% { transform: translate(0, 0) scale(1.1); opacity: 1; z-index: 10; }
  60%, 85% { transform: translate(-100px, -60px) scale(0.8); opacity: 0.5; z-index: 1; }
  90%, 100% { transform: translate(100px, -60px) scale(0.8); opacity: 0.5; z-index: 1; }
}
@keyframes cardCycleSmallFix {
  0%, 25% { transform: translate(-100px, -60px) scale(0.8); opacity: 0.5; z-index: 1; }
  30%, 55% { transform: translate(100px, -60px) scale(0.8); opacity: 0.5; z-index: 1; }
  60%, 85% { transform: translate(0, 0) scale(1.1); opacity: 1; z-index: 10; }
  90%, 100% { transform: translate(-100px, -60px) scale(0.8); opacity: 0.5; z-index: 1; }
}
@keyframes cardCycleTiny {
  0%, 25% { transform: translate(0, 0) scale(1.08); opacity: 1; z-index: 10; }
  30%, 55% { transform: translate(-80px, -45px) scale(0.78); opacity: 0.45; z-index: 1; }
  60%, 85% { transform: translate(80px, -45px) scale(0.78); opacity: 0.45; z-index: 1; }
  90%, 100% { transform: translate(0, 0) scale(1.08); opacity: 1; z-index: 10; }
}
@keyframes cardCycleTinyPos {
  0%, 25% { transform: translate(80px, -45px) scale(0.78); opacity: 0.45; z-index: 1; }
  30%, 55% { transform: translate(0, 0) scale(1.08); opacity: 1; z-index: 10; }
  60%, 85% { transform: translate(-80px, -45px) scale(0.78); opacity: 0.45; z-index: 1; }
  90%, 100% { transform: translate(80px, -45px) scale(0.78); opacity: 0.45; z-index: 1; }
}
@keyframes cardCycleTinyFix {
  0%, 25% { transform: translate(-80px, -45px) scale(0.78); opacity: 0.45; z-index: 1; }
  30%, 55% { transform: translate(80px, -45px) scale(0.78); opacity: 0.45; z-index: 1; }
  60%, 85% { transform: translate(0, 0) scale(1.08); opacity: 1; z-index: 10; }
  90%, 100% { transform: translate(-80px, -45px) scale(0.78); opacity: 0.45; z-index: 1; }
}

.fc-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--display);
  font-size: 13px;
  margin-bottom: 0.75rem;
}
.fc-logo img, .pc-icon img, .ats-logo-big img { width: 100%; height: 100%; object-fit: contain; }

.fc-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.fc-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}
.fc-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-top: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag-blue { background: rgba(26,107,255,0.15); color: var(--cyan); border: 1px solid rgba(0,212,255,0.2); }
.tag-green { background: rgba(0,229,160,0.12); color: var(--green); border: 1px solid rgba(0,229,160,0.2); }
.tag-orange { background: rgba(255,107,53,0.12); color: var(--orange); border: 1px solid rgba(255,107,53,0.2); }

/* Mini chart in main card */
.fc-chart {
  margin-top: 1rem;
  height: 50px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.chart-bar {
  flex: 1;
  background: rgba(26,107,255,0.3);
  border-radius: 3px 3px 0 0;
  transition: background 0.2s;
  animation: barGrow 1s ease-out forwards;
}
.chart-bar:nth-child(1) { --h: 30%; animation-delay: 0.1s; }
.chart-bar:nth-child(2) { --h: 55%; animation-delay: 0.2s; }
.chart-bar:nth-child(3) { --h: 40%; animation-delay: 0.3s; }
.chart-bar:nth-child(4) { --h: 70%; animation-delay: 0.4s; }
.chart-bar:nth-child(5) { --h: 50%; animation-delay: 0.5s; }
.chart-bar:nth-child(6) { --h: 85%; animation-delay: 0.6s; background: linear-gradient(to top, var(--blue), var(--cyan)); }
.chart-bar:nth-child(7) { --h: 65%; animation-delay: 0.7s; }
@keyframes barGrow {
  from { height: 4px; }
  to { height: var(--h); }
}
.fc-chart .chart-bar { height: 0; }

/* ── SECTION BASE ── */
section {
  padding: 7rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ── PRODUCTOS ── */

.productos-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4rem;
}

.producto-cards {
  display: grid;
  /* Productos en 2 columnas en escritorio (con 300px quedaban 3 + 1 suelto). */
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 2rem;
}

.producto-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.producto-card:hover { transform: translateY(-6px); }
/* Cada tarjeta se ajusta a su propio ancho (container query), no al de la pantalla */
.producto-card { container: card / inline-size; }
}
/* Color del aviso "Nueva versión" según la tarjeta */
.pc-pos { --badge-from: var(--green); --badge-to: #00a870; --badge-rgb: 0,229,160; }
.pc-fix { --badge-from: var(--orange); --badge-to: #c8501e; --badge-rgb: 255,107,53; }
.pc-apollo { --badge-from: var(--c-apollo); --badge-to: #ff6b35; --badge-rgb: 168,85,247; }
.pc-mikrowix { --badge-from: var(--c-mikrowix); --badge-to: #2563eb; --badge-rgb: 34,211,238; }
.pc-pandora { --badge-from: var(--c-pandora); --badge-to: #f5be46; --badge-rgb: 159,103,255; }
.pc-pixelcut { --badge-from: var(--c-pixelcut); --badge-to: #ffb547; --badge-rgb: 255,91,58; }

.producto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.pc-pos::before { background: radial-gradient(ellipse at top right, rgba(0,229,160,0.08), transparent 60%); }
.pc-fix::before { background: radial-gradient(ellipse at top left, rgba(255,107,53,0.08), transparent 60%); }
.producto-card:hover::before { opacity: 1; }

.pc-pos:hover { border-color: rgba(0,229,160,0.25); }
.pc-fix:hover { border-color: rgba(255,107,53,0.25); }

/* BIG background text */
.pc-bg-text {
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-family: var(--display);
  font-size: 6rem;
  font-weight: 800;
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
}

.pc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 22px;
}
.pc-icon-pos { background: linear-gradient(135deg, rgba(0,229,160,0.15), rgba(0,180,120,0.1)); border: 1px solid rgba(0,229,160,0.2); }
.pc-icon-fix { background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(200,80,30,0.1)); border: 1px solid rgba(255,107,53,0.2); }
.pc-icon-apollo { background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(255,107,53,0.1)); border: 1px solid rgba(168,85,247,0.2); }
.pc-icon-pandora { background: linear-gradient(135deg, rgba(159,103,255,0.15), rgba(245,190,70,0.1)); border: 1px solid rgba(159,103,255,0.2); }
.pc-icon-pixelcut { background: linear-gradient(135deg, rgba(255,91,58,0.15), rgba(255,181,71,0.1)); border: 1px solid rgba(255,91,58,0.2); }
.pc-icon-mikrowix { background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(37,99,235,0.1)); border: 1px solid rgba(34,211,238,0.2); }

.pc-name {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.pc-name-pos { color: var(--green); }
.pc-name-fix { color: var(--orange); }
.pc-name-apollo { color: var(--c-apollo); }
.pc-name-pandora { color: var(--c-pandora); }
.pc-name-pixelcut { color: var(--c-pixelcut); }
.pc-name-mikrowix { color: var(--c-mikrowix); }

.pc-subtitle {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.pc-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.pc-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text);
}
.pc-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pc-pos .pc-features li::before { background: var(--green); box-shadow: 0 0 6px rgba(0,229,160,0.5); }
.pc-fix .pc-features li::before { background: var(--orange); box-shadow: 0 0 6px rgba(255,107,53,0.5); }
.pc-apollo .pc-features li::before { background: var(--c-apollo); box-shadow: 0 0 6px rgba(168,85,247,0.5); }
.pc-pandora .pc-features li::before { background: var(--c-pandora); box-shadow: 0 0 6px rgba(159,103,255,0.5); }
.pc-pixelcut .pc-features li::before { background: var(--c-pixelcut); box-shadow: 0 0 6px rgba(255,91,58,0.5); }
.pc-mikrowix .pc-features li::before { background: var(--c-mikrowix); box-shadow: 0 0 6px rgba(34,211,238,0.5); }

.servicio-icon, .ci-icon { color: var(--cyan); }
.conf-tile-icon { color: var(--green); }

.pc-thumb {
  display: block;
  position: relative;
  z-index: 2;
  margin: -1rem -1rem 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 16 / 10;
  background: #0a0f1c;
}
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.4s; }
.producto-card:hover .pc-thumb img { transform: scale(1.03); }

.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: gap 0.2s;
  cursor: pointer;
  position: relative;
  z-index: 5;
}
.pc-link svg { pointer-events: none; }
.pc-link:hover { gap: 0.8rem; }
.pc-link-pos { color: var(--green); }
.pc-link-fix { color: var(--orange); }
.pc-link-apollo { color: var(--c-apollo); }
.pc-link-pandora { color: var(--c-pandora); }
.pc-link-pixelcut { color: var(--c-pixelcut); }
/* PixelCut has no screenshots yet: its icon fills the thumbnail. */
.pc-thumb-logo { display:flex; align-items:center; justify-content:center; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(255,91,58,0.18), transparent); }
.pc-thumb-logo img { width: 42% !important; height: auto !important; object-fit: contain; border-radius: 22%; }
.pc-link-mikrowix { color: var(--c-mikrowix); }

/* ── SERVICIOS ── */

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

.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.servicio-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.servicio-card:hover {
  border-color: rgba(26,107,255,0.3);
  background: var(--card-hover);
  transform: translateY(-4px);
}

.servicio-icon {
  width: 44px; height: 44px;
  background: rgba(26,107,255,0.1);
  border: 1px solid rgba(26,107,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 1rem;
  transition: background 0.3s, box-shadow 0.3s;
}
.servicio-card:hover .servicio-icon {
  background: rgba(26,107,255,0.18);
  box-shadow: 0 0 20px rgba(26,107,255,0.2);
}

.servicio-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.servicio-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── ABOUT ── */
#nosotros {
  padding: 7rem 2.5rem;
}

.nosotros-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.nosotros-visual {
  position: relative;
}

.nosotros-card-big {
  background: linear-gradient(145deg, var(--panel-a), var(--panel-b));
  border: 1px solid rgba(26,107,255,0.15);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 0 60px rgba(26,107,255,0.06);
}

.about-metric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.am-item {
  background: var(--field-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
}
.am-number {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.am-label { font-size: 0.75rem; color: var(--muted); }

/* ATS logo big */
.ats-logo-big { width: 64px; height: 64px; margin-bottom: 1.5rem; }

.nosotros-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.nosotros-text {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.valores-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.valor-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.valor-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--blue-glow);
}

/* ── CONTACTO ── */
#contacto {
  padding: 7rem 2.5rem;
  position: relative;
}

.contacto-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(26,107,255,0.05), transparent);
  pointer-events: none;
}

.contacto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ci-icon {
  width: 44px; height: 44px;
  background: rgba(26,107,255,0.1);
  border: 1px solid rgba(26,107,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ci-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.15rem; }
.ci-value { font-size: 0.9rem; font-weight: 500; }
.ci-value a { color: var(--text); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.ci-value a:hover { color: var(--cyan); }

/* ── HERO TRUST BADGES ── */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin-top: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}
.trust-item svg { flex-shrink: 0; color: var(--green); }

/* ── CONFIANZA / SEGURIDAD ── */
#confianza { padding: 7rem 2.5rem; max-width: none; position: relative; }
.confianza-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.confianza-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.conf-tile {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 16px; padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.conf-tile:hover { border-color: rgba(0,229,160,0.25); transform: translateY(-4px); }
.conf-tile-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,229,160,0.1); border: 1px solid rgba(0,229,160,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 0.9rem;
}
.conf-tile-name { font-family: var(--display); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
.conf-tile-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

.status-card {
  background: linear-gradient(145deg, var(--panel-a), var(--panel-b));
  border: 1px solid rgba(0,229,160,0.15);
  border-radius: 24px; padding: 2rem;
  box-shadow: 0 0 60px rgba(0,229,160,0.05);
}
.status-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.status-ring {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,229,160,0.12); border: 1px solid rgba(0,229,160,0.3);
  display: flex; align-items: center; justify-content: center; color: var(--green);
}
.status-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.status-title span { display: block; font-size: 0.72rem; color: var(--green); font-weight: 500; font-family: var(--body); }
.steps { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-n {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 0.9rem;
  color: var(--green); background: rgba(0,229,160,0.1); border: 1px solid rgba(0,229,160,0.25);
}
.step-t { font-family: var(--display); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.15rem; }
.step-d { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.steps-cta { margin-top: 1.75rem; width: 100%; justify-content: center; }

/* ── STATS BAND ── */
.stats-band {
  max-width: 1200px; margin: 0 auto; padding: 3.5rem 2.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-item { text-align: center; }
.band-number {
  font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
  line-height: 1; margin-bottom: 0.4rem;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.band-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem; }
  .hero-visual { height: 320px; }
  .fc-main { animation: cardCycleSmall 12s ease-in-out infinite; }
  .fc-pos { animation: cardCycleSmallPos 12s ease-in-out infinite; }
  .fc-fix { animation: cardCycleSmallFix 12s ease-in-out infinite; }

  .orb-1 { width: 300px; height: 300px; top: -80px; left: -100px; }
  .orb-2 { width: 250px; height: 250px; }

  .productos-header { grid-template-columns: 1fr; }
  .producto-cards { grid-template-columns: 1fr; }
  .servicios-layout { grid-template-columns: 1fr; gap: 3rem; }
  .nosotros-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contacto-inner { grid-template-columns: 1fr; gap: 3rem; }
  .confianza-inner { grid-template-columns: 1fr; gap: 3rem; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; padding: 2.5rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  section { padding: 4rem 1.5rem; }
  #nosotros, #contacto, #confianza { padding: 4rem 1.5rem; }
}

@media (max-width: 600px) {
  .hero-stats { gap: 1rem; justify-content: space-between; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.7rem; }
  .hero-visual { height: 280px; }
  .fc-main { animation: cardCycleTiny 12s ease-in-out infinite; }
  .fc-pos { animation: cardCycleTinyPos 12s ease-in-out infinite; }
  .fc-fix { animation: cardCycleTinyFix 12s ease-in-out infinite; }
  .floating-card { width: 220px; padding: 1.1rem 1.25rem; }
  .fc-chart { display: none; }
  .fc-tag { font-size: 0.7rem; padding: 0.25rem 0.7rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .servicios-grid { grid-template-columns: 1fr; }
  .about-metric { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

  .producto-card { padding: 2.5rem; }

  .servicio-card { padding: 1.5rem; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2rem); }
}

@media (max-width: 480px) {
  html { font-size: 14px; }

  .hero-content { padding: 2rem 1rem; gap: 2rem; }
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .hero-sub { font-size: 0.9rem; margin-bottom: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 0.75rem; }
  .hero-visual { height: 220px; }
  .floating-card { width: 190px; padding: 1rem 1.1rem; }
  .fc-chart { display: none; }
  .fc-name { font-size: 0.9rem; }
  .fc-desc { display: none; }
  .fc-tag { font-size: 0.8rem; padding: 0.2rem 0.55rem; margin-top: 0.4rem; }
  .fc-logo { width: 38px; height: 38px; margin-bottom: 0.5rem; }

  .orb-1 { width: 180px; height: 180px; top: -60px; left: -80px; }
  .orb-2 { width: 140px; height: 140px; right: -60px; }

  section { padding: 3rem 1rem; }
  #nosotros, #contacto { padding: 3rem 1rem; }

  .section-title { font-size: clamp(1.4rem, 6vw, 1.7rem); }
  .section-sub { font-size: 0.9rem; }

  /* el contenedor no puede consultarse a sí mismo: su padding sigue al viewport */
  .producto-card { padding: 2rem; }

  .servicio-card { padding: 1.25rem; }
  .servicio-icon { width: 38px; height: 38px; font-size: 16px; margin-bottom: 0.75rem; }
  .servicio-name { font-size: 0.85rem; }
  .servicio-desc { font-size: 0.85rem; }

  .nosotros-card-big { padding: 1.5rem; }
  .about-metric { gap: 0.5rem; }
  .am-item { padding: 0.85rem; }
  .am-number { font-size: 1.3rem; }
  .am-label { font-size: 0.8rem; }
  .nosotros-text { font-size: 0.85rem; }
  .valor-item { font-size: 0.8rem; }

  .contact-items { margin-top: 1.5rem; gap: 1rem; }


  /* Con base 14px, nada por debajo de ~11px */
  .stat-label, .band-label, .ci-label { font-size: 0.8rem; }
  .conf-tile-desc { font-size: 0.85rem; }

  .toast { left: 1rem; right: 1rem; bottom: 5.5rem; text-align: center; font-size: 0.8rem; }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  background: var(--toast-bg);
  border: 1px solid rgba(0,229,160,0.3);
  color: var(--green);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 0 30px rgba(0,229,160,0.1);
  z-index: 9000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s, opacity 0.4s;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── MODO CLARO: ajustes propios de esta página ── */
:root[data-theme="light"] .fc-pos { background: linear-gradient(145deg, #ECFBF5, #FFFFFF); }
:root[data-theme="light"] .fc-fix { background: linear-gradient(145deg, #FFF2EC, #FFFFFF); }
:root[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(26,95,224,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,95,224,0.08) 1px, transparent 1px);
}
:root[data-theme="light"] .pc-bg-text { opacity: 0.05; }
:root[data-theme="light"] .toast { box-shadow: 0 10px 30px var(--shadow); }

/* Tarjetas de producto estrechas (va al final para ganar a los media queries) */
@container card (max-width: 420px) {
  .pc-bg-text { font-size: 5rem; }
  .pc-name { font-size: 1.3rem; }
  .pc-desc { font-size: 0.9rem; }
  .pc-features li { font-size: 0.85rem; }
  .pc-icon { width: 50px; height: 50px; font-size: 20px; margin-bottom: 1rem; }
