/* ===================================================
   MX Container Services — styles.css
   =================================================== */

/* ---------- Variables ---------- */
:root {
  --navy:    #002366;
  --navy-dk: #001540;
  --accent:  #1e6cb5;
  --accent2: #2980d4;
  --white:   #ffffff;
  --slate50: #f8fafc;
  --slate100:#f1f5f9;
  --slate200:#e2e8f0;
  --slate400:#94a3b8;
  --slate500:#64748b;
  --slate600:#475569;
  --slate800:#1e293b;
  --slate900:#0f172a;
  --green:   #22c55e;
  --red:     #ef4444;

  --font:    'Inter', system-ui, -apple-system, sans-serif;
  --radius:  0.75rem;
  --shadow:  0 4px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.18);
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; width: 100%; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--slate800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: #dbeafe;
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: .75rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--slate600);
  max-width: 640px;
  margin-bottom: 3rem;
}
.divider { width: 3.5rem; height: 4px; background: var(--accent); border-radius: 2px; margin: 1rem 0 1.5rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--navy-dk);
  padding: .75rem 0;
  box-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav-brand img { height: 2.5rem; width: auto; object-fit: contain; }
.nav-brand span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-ig {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}
.nav-links .nav-ig:hover { background: rgba(255,255,255,.1); color: var(--white); }
.nav-links .nav-ig svg { width: 1.2rem; height: 1.2rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--navy-dk);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
#inicio {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: #000;
  padding: 0;
  margin: 0;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: .65;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  max-width: 780px;
}
.hero-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #bfdbfe;
  background: rgba(30,60,100,.6);
  border: 1px solid rgba(99,179,237,.3);
  padding: .35rem .9rem;
  border-radius: .25rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: .02em;
  margin-bottom: 1.25rem;
  text-shadow: 2px 3px 12px rgba(0,0,0,.9);
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  max-width: 600px;
  margin-bottom: 2.25rem;
  text-shadow: 1px 1px 6px rgba(0,0,0,.8);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--navy);
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  padding: .9rem 2.5rem;
  min-width: 220px;
  border-radius: .5rem;
  border: none;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-primary svg { width: 1rem; height: 1rem; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.6);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 1.1rem; height: 1.1rem; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   NOSOTROS
   ============================================================ */
#nosotros { padding: 6rem 0; background: var(--white); }
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.nosotros-text p { color: var(--slate600); font-size: 1.025rem; line-height: 1.75; margin-bottom: 1.1rem; text-align: justify; }
.nosotros-text p strong { color: var(--navy); }
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1.5rem;
  margin-top: 1.5rem;
}
.check-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--slate800);
}
.check-item svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; color: var(--accent); }

/* Gallery */
.gallery-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--slate100);
}
.gallery-wrap::before {
  content: '';
  position: absolute;
  inset: -8px -8px auto auto;
  width: 100%; height: 100%;
  border: 2px solid rgba(0,35,102,.1);
  border-radius: var(--radius);
  z-index: -1;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.gallery-slide.active { opacity: 1; }
.gallery-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3.5rem 1.25rem 3.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 55%, transparent 100%);
  z-index: 5;
}
.gallery-caption p { color: var(--white); font-weight: 600; font-size: .9rem; }
.gallery-caption span { color: #bfdbfe; font-size: .75rem; }

.gallery-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.92);
  color: var(--navy);
  border: none;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  transition: transform var(--transition), background var(--transition);
}
.gallery-btn:hover { background: var(--white); transform: translateY(-50%) scale(1.1); }
.gallery-btn svg { width: 1.2rem; height: 1.2rem; }
.gallery-btn.prev { left: .75rem; }
.gallery-btn.next { right: .75rem; }

.gallery-dots {
  position: absolute;
  bottom: .75rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: .35rem;
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(4px);
  padding: .4rem .7rem;
  border-radius: 999px;
}
.gallery-dot {
  width: .45rem; height: .45rem;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
  padding: 0;
}
.gallery-dot.active { background: var(--white); width: 1.2rem; border-radius: .25rem; }

.gallery-counter {
  position: absolute;
  top: .75rem; right: .75rem;
  z-index: 10;
  background: rgba(0,35,102,.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
}

/* ============================================================
   SERVICIOS
   ============================================================ */
#servicios {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--slate50), var(--white));
}
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--slate100);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
  transform: translateY(-4px);
}
.service-icon {
  width: 4.5rem; height: 4.5rem;
  background: linear-gradient(135deg, var(--navy), #1a4096);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin: 0 auto 1.75rem;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.08); }
.service-icon svg { width: 2.25rem; height: 2.25rem; }
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1rem;
}
.service-card p {
  color: var(--slate600);
  font-size: .92rem;
  text-align: center;
  line-height: 1.7;
}
.service-card p strong { color: var(--navy); }

/* ============================================================
   ESPECIFICACIONES
   ============================================================ */
#especificaciones {
  padding: 6rem 0;
  background: var(--slate50);
  position: relative;
  overflow: hidden;
}
#especificaciones::before {
  content: '';
  position: absolute;
  top: 0; right: -5%;
  width: 38%; height: 100%;
  background: rgba(0,35,102,.04);
  transform: skewX(-10deg);
  pointer-events: none;
}
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.spec-card {
  background: var(--white);
  border: 1px solid var(--slate100);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition);
}
.spec-card:hover { border-color: #bfdbfe; }
.spec-card-icon {
  width: 2.75rem; height: 2.75rem;
  background: #eff6ff;
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 1rem;
}
.spec-card-icon svg { width: 1.3rem; height: 1.3rem; }
.spec-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: var(--slate800); }
.spec-card p { font-size: .85rem; color: var(--slate600); }

.specs-bottom {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
}

/* Table card */
.table-card {
  background: var(--white);
  border: 1px solid var(--slate200);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.table-card-header { background: var(--navy); padding: 1.25rem 1.75rem; }
.table-card-header h3 { color: var(--white); font-size: 1.15rem; font-weight: 700; letter-spacing: .03em; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table thead tr th {
  padding: 1rem 1.25rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: left;
}
.specs-table thead tr th:first-child { background: var(--slate50); color: var(--slate800); }
.specs-table thead tr th:not(:first-child) { background: #eff6ff; color: var(--navy); }
.specs-table tbody tr { border-bottom: 1px solid var(--slate100); }
.specs-table tbody tr:last-child { border-bottom: none; }
.specs-table tbody td { padding: .9rem 1.25rem; font-size: .9rem; color: var(--slate600); }
.specs-table tbody td:first-child { font-weight: 600; color: var(--slate900); }
.table-card-footer {
  background: var(--navy);
  padding: 1rem 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.table-card-footer p {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #bfdbfe;
  margin-bottom: .6rem;
}
.cert-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.cert-badge {
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  padding: .35rem 1rem;
  border-radius: .25rem;
  background: rgba(255,255,255,.1);
  transition: background var(--transition);
}
.cert-badge:hover { background: rgba(255,255,255,.2); }

/* Monitor card */
.monitor-card {
  background: var(--white);
  border: 1px solid var(--slate200);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.monitor-card-header { background: var(--navy); padding: 1.25rem 1.5rem; }
.monitor-card-header h3 { color: var(--white); font-size: 1rem; font-weight: 700; }
.monitor-card-body { padding: 1.25rem; }
.monitor-displays {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.monitor-display-wrap {
  background: var(--slate100);
  border: 1px solid var(--slate200);
  border-radius: .5rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  padding: .5rem;
}
.monitor-display-wrap img { width: 100%; height: 100%; object-fit: contain; }
.monitor-display-label { font-size: .7rem; color: var(--slate600); line-height: 1.4; text-align: center; margin-top: .4rem; }
.monitor-display-label strong { color: var(--slate800); }
.monitor-features {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: .5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.monitor-features h4 {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy);
  margin-bottom: .6rem;
}
.monitor-features ul { display: flex; flex-direction: column; gap: .4rem; }
.monitor-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .75rem;
  color: var(--slate700);
}
.monitor-features li::before {
  content: '';
  display: block;
  width: .4rem; height: .4rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: .35rem;
}
.pti-badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: .5rem;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.pti-check {
  width: 2.5rem; height: 2.5rem;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.pti-badge p { font-weight: 700; font-size: .85rem; color: #166534; }
.pti-badge span { font-size: .75rem; color: #16a34a; }

/* ============================================================
   PROTOCOLO DE CARGA
   ============================================================ */
#protocolo { padding: 6rem 0; background: var(--white); }
.protocolo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.load-images { display: flex; flex-direction: column; gap: 1.25rem; }
.load-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.load-img-wrap img { width: 100%; height: auto; object-fit: cover; }
.load-img-label {
  position: absolute;
  top: .75rem; left: .75rem;
  padding: .3rem .85rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
}
.load-img-label.correct { background: var(--green); }
.load-img-label.incorrect { background: var(--red); }
.load-img-wrap.correct { border: 2px solid rgba(34,197,94,.35); }
.load-img-wrap.incorrect { border: 2px solid rgba(239,68,68,.35); }

.load-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: .25rem; }
.load-mini-img {
  position: relative;
  border-radius: .5rem;
  overflow: hidden;
  border: 1px solid var(--slate200);
  box-shadow: var(--shadow);
}
.load-mini-img img { width: 100%; height: 10rem; object-fit: cover; }
.load-mini-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(127,29,29,.92), transparent);
  padding: .6rem .75rem .5rem;
  color: var(--white);
}
.load-mini-caption p { font-size: .75rem; font-weight: 700; }
.load-mini-caption span { font-size: .65rem; color: #fca5a5; }

.warning-box {
  background: #fef2f2;
  border: 2px solid #fca5a5;
  border-radius: .6rem;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.warning-icon {
  width: 2.25rem; height: 2.25rem;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}
.warning-box h4 { font-size: .85rem; font-weight: 700; color: #7f1d1d; margin-bottom: .25rem; }
.warning-box p { font-size: .8rem; color: #991b1b; }

/* Steps */
.steps-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding-left: 0;
}
.steps-list::before {
  content: '';
  position: absolute;
  left: 1rem; top: 1rem; bottom: 1rem;
  width: 2px;
  background: var(--slate200);
}
.step {
  position: relative;
  padding-left: 3.25rem;
  padding-bottom: 1.5rem;
}
.step-num {
  position: absolute;
  left: 0; top: 0;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--slate300, #cbd5e1);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  color: var(--slate500);
  z-index: 1;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.step:hover .step-num {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate800);
  margin-bottom: .2rem;
  transition: color var(--transition);
}
.step:hover h3 { color: var(--navy); }
.step p { font-size: .85rem; color: var(--slate500); }
.step.critical .step-num { border-color: var(--red); color: var(--red); }
.step.critical h3 { color: #b91c1c; }

.seteo-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: .75rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
  margin-left: 3.25rem;
}
.seteo-box h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.seteo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.seteo-grid p { font-weight: 700; font-size: .85rem; color: var(--slate700); margin-bottom: .3rem; }
.seteo-grid ul { font-size: .8rem; color: var(--slate500); list-style: disc; padding-left: 1rem; }
.seteo-grid li { margin-bottom: .2rem; }

/* ============================================================
   GARANTÍA BANNER
   ============================================================ */
.garantia-banner {
  background: var(--navy);
  border-radius: 1rem;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.garantia-banner h3 { color: var(--white); font-size: 1.6rem; font-weight: 700; margin-bottom: .25rem; }
.garantia-banner p { color: #bfdbfe; }
.garantia-badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.garantia-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.1);
  border-radius: .5rem;
  padding: .75rem 1.25rem;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  backdrop-filter: blur(4px);
}
.garantia-badge svg { color: var(--green); width: 1.1rem; height: 1.1rem; }

/* ============================================================
   CONTACTO
   ============================================================ */
#contacto {
  padding: 6rem 0;
  background: var(--slate900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
  background-size: 4px 4px;
  pointer-events: none;
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
}
.contacto-left h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.contacto-left > p { color: var(--slate400); font-size: 1.025rem; margin-bottom: 2.5rem; }

.contact-links { display: flex; flex-direction: column; gap: .5rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .9rem 1rem;
  border-radius: .75rem;
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.contact-link:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.contact-link-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.contact-link:hover .contact-link-icon { transform: scale(1.1); }
.contact-link-icon.blue { background: var(--accent); }
.contact-link-icon.slate { background: #334155; }
.contact-link-icon.pink { background: #db2777; }
.contact-link-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-link-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--slate400);
  margin-bottom: .1rem;
}
.contact-link-value { font-size: 1.05rem; font-weight: 500; color: var(--white); }
.contact-link-arrow {
  margin-left: auto;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--slate400);
}
.contact-link-arrow svg { width: 1.1rem; height: 1.1rem; }
.contact-link:hover .contact-link-arrow { opacity: 1; }

/* Form */
.contact-form-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .8rem; font-weight: 700; color: var(--slate700); }
.form-group input,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1px solid var(--slate200);
  border-radius: .5rem;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--slate800);
  background: var(--slate50);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,108,181,.15);
}
.form-group textarea { resize: none; }
.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: .85rem;
  border-radius: .5rem;
  border: none;
  transition: background var(--transition);
}
.btn-submit:hover { background: var(--accent); }
.form-note {
  font-size: .7rem;
  color: var(--slate400);
  text-align: center;
  margin-top: .75rem;
}
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: .5rem;
  padding: 1rem;
  text-align: center;
  color: #166534;
  font-weight: 600;
  margin-top: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-dk);
  color: var(--white);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-brand img { height: 2rem; filter: invert(1); opacity: .85; }
.footer-brand span { font-size: 1.05rem; font-weight: 700; }
.footer-col p { font-size: .85rem; color: var(--slate400); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: .95rem; font-weight: 700; color: #bfdbfe; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { font-size: .85rem; color: var(--slate400); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li { font-size: .85rem; color: var(--slate400); }
.footer-col ul li strong { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .75rem;
  color: var(--slate500);
}

/* ============================================================
   FLOATING CTA
   ============================================================ */
#floating-cta {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #1e3a5f;
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 6px 24px rgba(30,58,95,.5);
  opacity: 0;
  transform: translateY(1.5rem);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease, background var(--transition), box-shadow var(--transition);
}
#floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#floating-cta:hover { background: #2a5080; box-shadow: 0 10px 32px rgba(30,58,95,.6); transform: translateY(-3px) scale(1.04); }
.pulse {
  position: relative;
  width: .7rem; height: .7rem;
}
.pulse-ring, .pulse-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.pulse-ring { background: rgba(255,255,255,.7); animation: pulse-anim 1.5s infinite; }
.pulse-dot { background: var(--white); }
@keyframes pulse-anim {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.2); opacity: 0; }
}
#floating-cta svg { width: .9rem; height: .9rem; }

/* ============================================================
   RESPONSIVE — 1024px (tablet landscape)
   ============================================================ */
@media (max-width: 1024px) {
  /* Sections */
  #nosotros, #servicios, #especificaciones, #protocolo, #contacto { padding: 4.5rem 0; }

  /* Grids */
  .nosotros-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .specs-bottom     { grid-template-columns: 1fr; }
  .protocolo-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .contacto-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }

  /* Gallery fills full width on tablet */
  .gallery-wrap { aspect-ratio: 16/9; }

  /* Contact left column max width */
  .contacto-left { max-width: 640px; }
}

/* ============================================================
   RESPONSIVE — 768px (tablet portrait / phablet)
   ============================================================ */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  #inicio { min-height: 100svh; height: 100svh; }
  .hero-content { padding: 7rem 0 4rem; }
  .hero-title   { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .hero-subtitle { font-size: .95rem; }
  .btn-primary  { min-width: 180px; padding: .8rem 1.75rem; font-size: .9rem; }

  /* Sections */
  #nosotros, #servicios, #especificaciones, #protocolo, #contacto { padding: 3.5rem 0; }
  footer { padding: 2.5rem 0 1.5rem; }

  /* Services */
  .servicios-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-card   { padding: 2rem 1.5rem; }

  /* Specs */
  .specs-grid { grid-template-columns: 1fr; gap: 1rem; }
  .specs-bottom { gap: 1.25rem; }
  .table-card-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Protocol */
  .load-mini    { grid-template-columns: 1fr; }
  .seteo-grid   { grid-template-columns: 1fr; }
  .seteo-box    { margin-left: 0; }

  /* Contact */
  .garantia-banner  { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.75rem; }
  .garantia-badges  { flex-direction: column; gap: .6rem; }
  .form-row         { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.75rem 1.25rem; }

  /* Gallery */
  .gallery-wrap   { aspect-ratio: 4/3; }
  .gallery-btn    { width: 2rem; height: 2rem; }
  .gallery-btn svg { width: 1rem; height: 1rem; }

  /* Nosotros checks */
  .checks { grid-template-columns: 1fr; }

  /* Monitor */
  .monitor-displays { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-col p { max-width: 100%; }
}

/* ============================================================
   RESPONSIVE — 480px (small phones)
   ============================================================ */
@media (max-width: 480px) {
  /* Container padding */
  .container { padding: 0 1rem; }

  /* Navbar */
  .nav-brand span { font-size: .9rem; }
  .nav-brand img  { height: 2rem; }

  /* Hero */
  .hero-title    { font-size: 1.55rem; line-height: 1.12; }
  .hero-subtitle { font-size: .88rem; }
  .hero-badge    { font-size: .6rem; }
  .btn-primary   { width: 100%; justify-content: center; }

  /* Section titles */
  .section-title { font-size: 1.55rem; }
  .section-sub   { font-size: .95rem; margin-bottom: 2rem; }

  /* Services */
  .service-card  { padding: 1.75rem 1.25rem; }
  .service-icon  { width: 3.75rem; height: 3.75rem; }
  .service-icon svg { width: 1.9rem; height: 1.9rem; }

  /* Gallery */
  .gallery-wrap   { aspect-ratio: 1/1; }
  .gallery-caption p { font-size: .8rem; }
  .gallery-caption span { font-size: .7rem; }

  /* Steps */
  .steps-list::before { left: .875rem; }
  .step { padding-left: 2.75rem; }
  .step-num { width: 1.75rem; height: 1.75rem; font-size: .72rem; }
  .seteo-box { padding: 1rem; }

  /* Garantia */
  .garantia-badge { font-size: .82rem; padding: .6rem 1rem; }

  /* Contact */
  .garantia-banner { padding: 1.25rem; }
  .contact-link    { padding: .6rem .5rem; }
  .contact-link-value { font-size: .92rem; }

  /* Floating CTA — icon only on very small screens */
  #floating-cta { padding: .85rem 1.1rem; }
  #floating-cta > span:not(.pulse) { display: none; }

  /* Monitor */
  .monitor-card-body { padding: 1rem; }
  .monitor-displays  { gap: .6rem; }

  /* Footer */
  .footer-bottom { font-size: .7rem; }
  .garantia-badges { width: 100%; }
}
