/* ════════════════════════════════════════════
   JR Computación – Tech Dark Theme
   ════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #A82020;
  --primary-d:    #7A0E0E;
  --primary-l:    rgba(168,32,32,0.08);
  --primary-glow: rgba(168,32,32,0.25);
  --accent:       #4DB84D;
  --accent-d:     #389038;
  --accent-l:     rgba(77,184,77,0.10);
  --accent-glow:  rgba(77,184,77,0.30);
  --dark:         #111827;
  --gray:         #374151;
  --mid:          #6b7280;
  --light:        #f5f5f7;
  --white:        #ffffff;
  --card-bg:      #ffffff;
  --card-border:  #e5e7eb;
  --success:      #4DB84D;
  --radius:       12px;
  --mono:         'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ── GRID PATTERN UTILITY ────────────────── */

.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ── UTILIDADES ──────────────────────────── */

section { padding: 5rem 1.5rem; }

.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .7rem;
  padding: .25rem .7rem;
  border: 1px solid rgba(61,160,61,0.3);
  border-radius: 4px;
  background: rgba(61,160,61,0.06);
}

.section-label::before { content: '> '; opacity: .6; }

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: .8rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--mid);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: 8px;
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 18px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-d);
  box-shadow: 0 0 30px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(61,160,61,0.5);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(61,160,61,0.08);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ── NAV ─────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-img--footer {
  height: 56px;
  filter: brightness(0) invert(1);
}

.logo-text { line-height: 1.15; }
.logo-text strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--dark); }
.logo-text span   { font-size: .72rem; color: var(--mid); letter-spacing: .04em; text-transform: uppercase; }

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  color: var(--mid);
  transition: color .2s;
  position: relative;
  font-family: var(--mono);
  font-size: .82rem;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: .45rem 1.1rem;
  border-radius: 6px;
  transition: all .2s !important;
  box-shadow: 0 0 14px var(--primary-glow);
  font-family: inherit !important;
  font-size: .88rem !important;
}
.nav-cta:hover {
  background: var(--primary-d) !important;
  box-shadow: 0 0 24px var(--primary-glow) !important;
}
.nav-cta.active::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: .3s;
}

/* ── HERO ────────────────────────────────── */

.hero {
  background: #ffffff;
  color: var(--dark);
  padding: 5.5rem 1.5rem 4.5rem;
  position: relative;
  overflow: hidden;
}

/* Dot grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Tinto ambient glow bottom-left */
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168,32,32,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Green glow top-right */
.hero-glow-green {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(77,184,77,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(61,160,61,0.08);
  border: 1px solid rgba(61,160,61,0.3);
  border-radius: 4px;
  padding: .35rem 1rem;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .2; }
}

.hero h1 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--dark);
}
.hero h1 span {
  color: var(--primary);
  text-shadow: 0 0 24px var(--primary-glow);
}

.hero-text > p {
  font-size: clamp(.95rem, 1.8vw, 1.05rem);
  color: var(--mid);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.stat { text-align: left; }
.stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 16px var(--accent-glow);
}
.stat span { font-size: .78rem; color: var(--mid); text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); }

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── HERO LOGO ANIMADO ───────────────────── */

.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 420px;
  height: 420px;
  animation: heroFloat 5s ease-in-out infinite;
}

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

.hero-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
}

.hero-logo-ring--outer {
  width: 380px;
  height: 380px;
  border-color: rgba(168,32,32,0.2);
  animation: ringPulse 4s ease-in-out infinite;
}

.hero-logo-ring--inner {
  width: 300px;
  height: 300px;
  border-color: rgba(61,160,61,0.15);
  animation: ringPulse 4s ease-in-out infinite 0.8s;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.03); }
}

.hero-logo-img {
  width: 320px;
  max-width: 90%;
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 0 30px rgba(168,32,32,0.45))
    drop-shadow(0 0 60px rgba(168,32,32,0.2))
    drop-shadow(0 8px 24px rgba(0,0,0,0.6));
}

/* ── SERVICIOS ───────────────────────────── */

#servicios {
  background: var(--light);
  position: relative;
}
#servicios::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
#servicios .container { position: relative; z-index: 1; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--card-border);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  border-color: rgba(61,160,61,0.3);
  box-shadow: 0 8px 32px rgba(61,160,61,0.1), inset 0 0 30px rgba(61,160,61,0.03);
  transform: translateY(-3px);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-l);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(168,32,32,0.2);
}
.service-icon svg {
  width: 24px; height: 24px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.service-card p  { font-size: .88rem; color: var(--mid); line-height: 1.7; }

/* ── POR QUÉ ELEGIRNOS ───────────────────── */

#por-que { background: var(--white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color .3s, box-shadow .3s;
}

.feature-item:hover {
  border-color: rgba(168,32,32,0.25);
  box-shadow: 0 4px 20px rgba(168,32,32,0.08);
}

.feature-num {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 14px var(--primary-glow);
}

.feature-item h3 { font-size: .97rem; font-weight: 700; color: var(--dark); }
.feature-item p  { font-size: .87rem; color: var(--mid); line-height: 1.65; }

/* ── NOSOTROS ────────────────────────────── */

#nosotros {
  background: var(--light);
  position: relative;
}
#nosotros::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
#nosotros .container { position: relative; z-index: 1; }

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

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--card-border), 0 16px 40px rgba(0,0,0,0.10);
  position: relative;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(168,32,32,0.2);
  z-index: 1;
  pointer-events: none;
}

.about-image img {
  width: 100%;
  display: block;
}

.about-content .section-sub { margin-bottom: 1.8rem; }

.about-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.about-list li { display: flex; gap: .85rem; align-items: flex-start; }

.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(61,160,61,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border: 1px solid rgba(61,160,61,0.3);
}
.check svg { width: 11px; height: 11px; stroke: var(--accent); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.about-list li p      { font-size: .92rem; color: var(--mid); line-height: 1.65; }
.about-list li strong { color: var(--dark); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-top: 1.25rem;
}

.about-stat {
  background: var(--card-bg);
  border-radius: 10px;
  padding: .9rem .6rem;
  text-align: center;
  border: 1px solid var(--card-border);
}

.about-stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 12px var(--primary-glow);
}
.about-stat span { font-size: .7rem; color: var(--mid); line-height: 1.4; }

/* ── PROCESO ─────────────────────────────── */

#proceso { background: var(--white); }

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}

.proceso-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,32,32,0.4), rgba(61,160,61,0.4), transparent);
  z-index: 0;
}

.proceso-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px rgba(168,32,32,0.4), 0 0 24px var(--primary-glow);
}

.proceso-step h3 { font-size: .97rem; font-weight: 700; color: var(--dark); margin-bottom: .4rem; }
.proceso-step p  { font-size: .86rem; color: var(--mid); line-height: 1.6; }

/* ── TESTIMONIOS ─────────────────────────── */

#testimonios { background: var(--light); }

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.testimonio-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: border-color .3s;
}
.testimonio-card:hover { border-color: rgba(168,32,32,0.25); }

.stars { display: flex; gap: .2rem; }
.stars svg { width: 16px; height: 16px; fill: var(--accent); filter: drop-shadow(0 0 4px var(--accent-glow)); }

.testimonio-card blockquote {
  font-size: .93rem;
  color: var(--mid);
  line-height: 1.75;
  font-style: italic;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--primary-glow);
}

.author-info strong { display: block; font-size: .88rem; font-weight: 700; color: var(--dark); }
.author-info span   { font-size: .76rem; color: var(--mid); }

/* ── EQUIPO DISPONIBLE ───────────────────── */

#equipo {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

#equipo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Glow ambiental izquierda tinto */
#equipo::after {
  content: '';
  position: absolute;
  top: 50%; left: -100px;
  transform: translateY(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(168,32,32,0.08) 0%, transparent 70%);
  pointer-events: none;
}

#equipo .container { position: relative; z-index: 1; }

/* Barra toolbar */
.equipo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.equipo-search-box {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: .6rem 1.1rem;
  flex: 1;
  max-width: 380px;
  transition: border-color .2s, box-shadow .2s;
}
.equipo-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-l);
}
.equipo-search-box svg {
  width: 16px; height: 16px;
  stroke: var(--mid);
  flex-shrink: 0;
}
.equipo-search-box input {
  border: none;
  background: none;
  font-family: inherit;
  font-size: .9rem;
  color: var(--dark);
  width: 100%;
  outline: none;
}
.equipo-search-box input::placeholder { color: var(--mid); }

.equipo-count {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--mid);
  white-space: nowrap;
}

/* Slider wrapper */
.equipo-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.equipo-track-wrap {
  overflow: hidden;
  border-radius: 14px;
  flex: 1;
}

.equipo-track {
  display: flex;
  gap: 1.25rem;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

/* Nav arrows */
.equipo-nav {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.equipo-nav:hover:not(:disabled) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-l);
}
.equipo-nav:disabled { opacity: .35; cursor: default; }
.equipo-nav svg { width: 16px; height: 16px; pointer-events: none; }

/* Dots */
.equipo-dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: 1.4rem;
}
.equipo-dot {
  height: 8px;
  width: 8px;
  border-radius: 4px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all .25s;
  padding: 0;
}
.equipo-dot.active {
  width: 26px;
  background: var(--primary);
}

/* Mensaje sin resultados */
.equipo-empty {
  text-align: center;
  color: var(--mid);
  font-size: .95rem;
  padding: 2.5rem 0;
  font-style: italic;
}

.equipo-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .35s, box-shadow .35s, transform .35s;
  position: relative;
}

/* Línea superior gradiente al hover */
.equipo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity .35s;
}

.equipo-card:hover {
  border-color: rgba(168,32,32,0.3);
  box-shadow:
    0 0 0 1px rgba(168,32,32,0.1),
    0 20px 48px rgba(168,32,32,0.08),
    0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-6px);
}
.equipo-card:hover::before { opacity: 1; }

/* Badge disponible */
.equipo-stock {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(61,160,61,0.12);
  border: 1px solid rgba(61,160,61,0.35);
  border-radius: 4px;
  padding: .3rem .75rem;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.equipo-stock span {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: blink 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* Área de imagen */
.equipo-img-wrap {
  position: relative;
  background: #0D0D0D;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
}

.equipo-img-wrap img {
  max-height: 200px;
  max-width: 85%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform .4s ease;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6));
}
.equipo-card:hover .equipo-img-wrap img {
  transform: scale(1.05) translateY(-4px);
}

/* Glow de color detrás del producto */
.equipo-img-glow {
  position: absolute;
  bottom: -40px;
  width: 280px; height: 120px;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  transition: opacity .4s;
  opacity: 0.5;
}
.equipo-card:hover .equipo-img-glow { opacity: 0.9; }
.equipo-img-glow--red   { background: rgba(168,32,32,0.5); }
.equipo-img-glow--green { background: rgba(61,160,61,0.35); }

/* Efecto scan line que baja */
.equipo-scan {
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(255,255,255,0.04), transparent);
  z-index: 3;
  pointer-events: none;
  animation: scanMove 4s linear infinite;
}
@keyframes scanMove {
  0%   { top: -60px; }
  100% { top: 100%; }
}

/* Cuerpo de la card */
.equipo-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.equipo-brand {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.equipo-model {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-top: -.3rem;
}

/* Specs */
.equipo-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1rem;
  background: #f8f8f8;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.equipo-specs li {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: .6rem;
  font-size: .83rem;
}

.equipo-specs li svg {
  width: 14px; height: 14px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.equipo-specs span {
  color: var(--mid);
  font-family: var(--mono);
  font-size: .75rem;
}
.equipo-specs strong {
  color: var(--gray);
  font-weight: 600;
  text-align: right;
  font-size: .82rem;
}

.equipo-cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Responsive equipo */
@media (max-width: 640px) {
  .equipo-img-wrap { height: 200px; }
  .equipo-nav { width: 36px; height: 36px; }
  .equipo-search-box { max-width: 100%; }
}

/* ── FAQ ─────────────────────────────────── */

#faq { background: var(--white); }

.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item:hover { border-color: rgba(168,32,32,0.2); }

.faq-question {
  width: 100%;
  background: var(--card-bg);
  border: none;
  padding: 1.1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: .93rem;
  font-weight: 600;
  color: var(--dark);
  transition: background .2s;
}

.faq-question:hover { background: #f5f5f7; }
.faq-item.open .faq-question {
  background: rgba(168,32,32,0.05);
  color: var(--primary);
  border-bottom: 1px solid rgba(168,32,32,0.12);
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s, background .2s;
  border: 1px solid #e5e7eb;
}
.faq-icon svg { width: 12px; height: 12px; stroke: var(--mid); fill: none; stroke-width: 2.5; stroke-linecap: round; }
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}
.faq-item.open .faq-icon svg { stroke: white; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
}

.faq-answer p {
  padding: 0 1.4rem 1.2rem;
  font-size: .91rem;
  color: var(--mid);
  line-height: 1.75;
}

/* ── CONTACTO ────────────────────────────── */

#contacto {
  background: var(--light);
  position: relative;
}
#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
#contacto .container { position: relative; z-index: 1; }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.contact-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: all .3s;
}

.contact-card:hover {
  border-color: rgba(61,160,61,0.25);
  box-shadow: 0 4px 20px rgba(61,160,61,0.08);
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(61,160,61,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(61,160,61,0.2);
}
.contact-item-icon svg {
  width: 20px; height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item-text label {
  display: block;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: .35rem;
}
.contact-item-text p,
.contact-item-text a {
  font-size: .88rem;
  color: var(--gray);
  text-decoration: none;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: break-word;
}
.contact-item-text a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}

.hours-list { margin-top: .1rem; display: flex; flex-direction: column; gap: .3rem; }
.hours-row  { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: nowrap; }
.hours-row .day  { font-size: .84rem; color: var(--gray); font-weight: 500; white-space: nowrap; }
.hours-row .time { font-size: .84rem; color: var(--mid); white-space: nowrap; font-family: var(--mono); }

/* ── MAPA ────────────────────────────────── */

.map-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--card-border);
}

/* ── FOOTER ──────────────────────────────── */

footer {
  background: #050505;
  color: #555;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid rgba(168,32,32,0.2);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand .logo-text strong { color: #E0E0E0; }
.footer-brand .logo-text span   { color: #444; }
.footer-brand p { margin-top: .8rem; font-size: .84rem; max-width: 240px; line-height: 1.65; }

.footer-links h4 {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .9rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a  { font-size: .86rem; color: #555; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #E0E0E0; }

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .76rem;
}

/* ── RESPONSIVE ──────────────────────────── */

@media (max-width: 1024px) {
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .proceso-grid::before { display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 1rem; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text { text-align: center; }
  .hero-stats { justify-content: center; gap: 1.5rem; }
  .hero-image { order: -1; }
  .hero-logo-wrap { width: 260px; height: 260px; }
  .hero-logo-ring--outer { width: 240px; height: 240px; }
  .hero-logo-ring--inner { width: 190px; height: 190px; }
  .hero-logo-img { width: 200px; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { order: -1; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }

  .services-grid    { grid-template-columns: 1fr; }
  .features-grid    { grid-template-columns: 1fr; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .proceso-grid     { grid-template-columns: 1fr 1fr; }

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

  .footer-inner { flex-direction: column; }
  .proceso-step { padding: 0 .5rem 2rem; }

  .map-wrap { padding: 0 1rem 3.5rem; }
  .map-wrap iframe { height: 260px; }
}
