
/* ══════════════════════════════════════════
   PAGE HERO
══════════════════════════════════════════ */
.page-hero {
  min-height: 42vh;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 80px;
  padding-right: 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(227,27,27,0.05) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(0,0,0,0.02) 39px, rgba(0,0,0,0.02) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(0,0,0,0.02) 39px, rgba(0,0,0,0.02) 40px);
  pointer-events: none;
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
}
.page-hero .section-label { justify-content: center; }
.page-hero .section-label::before { display: none; }
.page-hero .section-title { font-size: clamp(2rem, 4vw, 3.6rem); margin-bottom: 18px; }
.page-hero .section-sub  { margin: 0 auto; font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; line-height: 1.75; }

.page-hero-title-line {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 20px; margin-top: -8px;
}
.page-hero-title-line::before,
.page-hero-title-line::after {
  content: ''; display: block; height: 2px; width: 48px;
  background: var(--red); border-radius: 2px;
  box-shadow: 0 0 8px rgba(227,27,27,0.35);
}
.page-hero-title-line span {
  width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
}

/* ══════════════════════════════════════════
   DIVISOR
══════════════════════════════════════════ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium) 30%, var(--red) 50%, var(--border-medium) 70%, transparent);
}

/* ══════════════════════════════════════════
   BRAND TAG
══════════════════════════════════════════ */
.section-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Orbitron', sans-serif;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1.5px solid var(--border-medium);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  align-self: flex-start;
  margin-bottom: 18px;
}
.section-brand-tag .tech { color: var(--red); }
.section-brand-tag .home { color: var(--black); }

/* ══════════════════════════════════════════
   STEAM + H
══════════════════════════════════════════ */
#steam {
  padding: 90px 60px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
#steam::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(227,27,27,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.steam-header {
  text-align: center;
  margin-bottom: 56px;
}
.steam-header .section-label { justify-content: center; }
.steam-header .section-label::before { display: none; }
.steam-header p {
  font-size: .92rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 12px auto 0;
  line-height: 1.75;
}

/* Desktop — fila única horizontal */
.steam-grid {
  display: flex;
  flex-direction: row;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* Card STEAM desktop */
.steam-card {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.steam-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, #ff6b6b 100%);
  opacity: 0;
  transition: opacity .3s;
}
.steam-card:hover {
  border-color: rgba(227,27,27,0.38);
  box-shadow: 0 12px 38px rgba(0,0,0,0.13), 0 0 0 3px rgba(227,27,27,0.09);
  transform: translateY(-4px);
}
.steam-card:hover::after { opacity: 1; }

.steam-card-body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* Letra grande centrada */
.steam-big-letter {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
  transition: transform .3s;
  text-align: center;
}
.steam-card:hover .steam-big-letter { transform: scale(1.06); }

.steam-card-label {
  font-size: .8rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
}
.steam-card-title {
  font-size: .9rem;
  text-align: center;
  font-weight: 700;
  color: var(--text-primary);
}
.steam-card-desc {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 2px;
}

/* Mobile carousel — oculto en desktop */
.steam-carousel-wrapper { display: none; }

/* ══════════════════════════════════════════
   LIBRO DETAIL — IMAGEN + TEXTO
══════════════════════════════════════════ */
#libro-detail {
  padding: 90px 80px;
  background: var(--bg-primary);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  position: relative;
  overflow: hidden;
}

.libro-img-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.libro-img-frame {
  width: 440px; height: 440px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: border-color .35s, box-shadow .35s;
}
.libro-img-frame:hover {
  border-color: rgba(227,27,27,0.55);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 3px rgba(227,27,27,0.10), 0 0 22px rgba(227,27,27,0.18);
}
.libro-img-frame::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none; z-index: 0;
}

.libro-carousel-inner {
  display: flex;
  width: 100%; height: 100%;
  transition: transform .7s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
  position: relative; z-index: 1;
}
.libro-carousel-slide {
  width: 440px; min-width: 440px; height: 440px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.libro-carousel-slide img {
  width: 86%; height: 86%;
  object-fit: contain;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.10));
}

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

.carousel-dots {
  display: flex; gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border-medium);
  transition: background .3s, transform .3s;
  cursor: pointer;
  border: none; padding: 0;
}
.carousel-dot.active {
  background: var(--red);
  transform: scale(1.25);
}

.libro-content { position: relative; z-index: 2; }

.libro-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 22px;
}
.libro-desc strong { color: var(--black); font-weight: 700; }

.libro-features { display: flex; flex-direction: column; gap: 10px; }

.libro-feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .25s;
}
.libro-feature-item:hover {
  border-color: rgba(227,27,27,0.2);
  box-shadow: 0 4px 18px rgba(227,27,27,0.10);
}
.libro-feature-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--red-light);
  border: 1px solid rgba(227,27,27,0.18);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.libro-feature-text { display: flex; flex-direction: column; gap: 2px; }
.libro-feature-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
}
.libro-feature-value {
  font-size: .86rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   UNIDADES
══════════════════════════════════════════ */
#unidades {
  padding: 90px 80px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
#unidades::after {
  content: '';
  position: absolute;
  bottom: -160px; right: -160px;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(227,27,27,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.unidades-header {
  text-align: center;
  margin-bottom: 56px;
}
.unidades-header .section-label { justify-content: center; }
.unidades-header .section-label::before { display: none; }
.unidades-header p {
  font-size: .92rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 12px auto 0;
  line-height: 1.75;
}

/* Desktop grid — 4 columnas */
.unidades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

/* Card Unidad desktop */
.unidad-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.unidad-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, #ff6b6b 100%);
  opacity: 0;
  transition: opacity .3s;
}
.unidad-card:hover {
  border-color: rgba(227,27,27,0.38);
  box-shadow: 0 12px 38px rgba(0,0,0,0.13), 0 0 0 3px rgba(227,27,27,0.09);
  transform: translateY(-4px);
}
.unidad-card:hover::after { opacity: 1; }

.unidad-card-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.unidad-num {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}
.unidad-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Separador sutil */
.unidad-divider {
  width: 228px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #ff6b6b);
  border-radius: 2px;
  margin-bottom: 10px;
  opacity: 0.55;
}

/* Subtemas */
.unidad-topics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.unidad-topics li {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.unidad-topics li::before {
  content: '·';
  color: var(--red);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.25;
  flex-shrink: 0;
}

/* Mobile carousel — oculto en desktop */
.unidades-carousel-wrapper { display: none; }

/* ══════════════════════════════════════════
   CARRUSEL MÓVIL COMPARTIDO
══════════════════════════════════════════ */
.mob-carousel-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0 18px;
}
.mob-nav-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-medium);
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .25s, border-color .25s, box-shadow .25s, transform .2s, color .25s;
}
.mob-nav-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 6px 22px rgba(227,27,27,0.30);
  transform: scale(1.08);
}
.mob-carousel-viewport {
  overflow: hidden;
  flex: 1;
  max-width: 500px;
  padding: 24px 0;
}
.mob-carousel-track {
  display: flex;
  gap: 14px;
  transition: transform .52s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
  align-items: center;
}

/* ── MOB-CARD: same visual style as desktop cards ── */
.mob-card {
  flex: 0 0 clamp(200px, 68vw, 280px);
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  transition:
    transform .52s cubic-bezier(0.77, 0, 0.175, 1),
    opacity   .52s cubic-bezier(0.77, 0, 0.175, 1),
    border-color .3s, box-shadow .3s;
  opacity: 0.38;
  transform: scale(0.84);
  cursor: pointer;
}

/* Top accent bar — hidden by default, shown on active */
.mob-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, #ff6b6b 100%);
  opacity: 0;
  transition: opacity .3s;
}

.mob-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(227,27,27,0.38);
  box-shadow: 0 12px 38px rgba(0,0,0,0.13), 0 0 0 3px rgba(227,27,27,0.09);
  cursor: default;
}
.mob-card.active::after { opacity: 1; }
.mob-card.side1 { opacity: 0.60; transform: scale(0.90); }

/* ── STEAM mobile card body — mirrors steam-card-body ── */
.mob-card-body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* Big letter for STEAM mobile — same as steam-big-letter */
.mob-steam-big-letter {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  text-align: center;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
  transition: transform .3s;
}
.mob-card.active .mob-steam-big-letter { transform: scale(1.06); }

/* Label, title, desc — same as steam-card equivalents */
.mob-card-label {
  font-size: .9rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
}
.mob-card-title {
  font-size: .9rem;
  text-align: center;
  font-weight: 700;
  color: var(--text-primary);
}
.mob-card-desc {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 2px;
}

/* Unidades mobile — num, title, divider, topics same as desktop */
.mob-card-num {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}
.mob-card-unit-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.mob-card-divider {
  width: 228px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #ff6b6b);
  border-radius: 2px;
  margin-bottom: 10px;
  opacity: 0.55;
}
/* Unidades mobile card body — same padding as unidad-card-body */
.mob-card.mob-unidad .mob-card-body {
  padding: 18px 16px 20px;
  gap: 4px;
}

/* Subtemas en móvil — same as unidad-topics */
.mob-card-topics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mob-card-topics li {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.mob-card-topics li::before {
  content: '·';
  color: var(--red);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.25;
  flex-shrink: 0;
}

.mob-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding-bottom: 8px;
}
.mob-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border-medium);
  border: none; padding: 0;
  cursor: pointer;
  transition: background .3s, transform .3s, width .3s;
}
.mob-dot.active {
  background: var(--red);
  transform: scale(1.3);
  width: 20px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .steam-grid { gap: 10px; }
  .steam-big-letter { font-size: 1.9rem; }
  .unidades-grid { grid-template-columns: repeat(2, 1fr); }
  #libro-detail { gap: 48px; }
  .libro-img-frame { width: 360px; height: 360px; }
  .libro-carousel-slide { width: 360px; min-width: 360px; height: 360px; }
}

@media (max-width: 900px) {
  .page-hero { padding: 120px 28px 60px; min-height: auto; }

  /* STEAM */
  #steam { padding: 70px 0 60px; }
  .steam-header { padding: 0 28px; margin-bottom: 36px; }
  .steam-grid { display: none; }
  .steam-carousel-wrapper { display: block; }

  /* LIBRO DETAIL */
  #libro-detail {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding: 70px 28px;
    gap: 0;
  }
  .libro-content {
    display: contents;
  }
  .section-brand-tag {
    order: 1;
    align-self: center;
    margin-bottom: 16px;
  }
  .libro-img-col {
    order: 2;
    margin-bottom: 28px;
  }
  .section-title,
  .libro-desc,
  .libro-features {
    order: 3;
    width: 100%;
  }
  .libro-img-frame { width: 300px; height: 300px; }
  .libro-carousel-slide { width: 300px; min-width: 300px; height: 300px; }

  /* UNIDADES */
  #unidades { padding: 70px 0 60px; }
  .unidades-header { padding: 0 28px; margin-bottom: 36px; }
  .unidades-grid { display: none; }
  .unidades-carousel-wrapper { display: block; }
}

@media (max-width: 560px) {
  .mob-card { flex: 0 0 clamp(200px, 72vw, 270px); }
  .mob-steam-big-letter { font-size: 2rem; }
}
@media (max-width: 400px) {
  .mob-card { flex: 0 0 76vw; }
  .libro-img-frame { width: 260px !important; height: 260px !important; }
  .libro-carousel-slide { width: 260px !important; min-width: 260px !important; height: 260px !important; }
  .mob-steam-big-letter { font-size: 1.8rem; }
}



 .section-brand-tag .brand-tag-logo {
  height: 2.6em;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.88;
}

footer .footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s;
}

footer .footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.3s, transform 0.3s;
}

footer .footer-logo-link:hover .footer-logo-img {
  opacity: 1;
  transform: scale(1.06) translateY(-3px);
}

@media (max-width: 900px) {
  footer .footer-logo-img { height: 36px; }
  footer .footer-logo-link { align-self: center; }
}

@media (max-width: 600px) {
  footer .footer-logo-img {
    height: 50px;
    opacity: 1;
  }
}


/* ── WATERMARK logo en el page-hero — igual que hero-logo-watermark de index ── */
  .page-hero-logo-watermark {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
    user-select: none;
  }

  .page-hero-logo-watermark img {
    width: clamp(140px, 15vw, 200px);
    height: auto;
    object-fit: contain;
    opacity: 0.08;
    filter: grayscale(100%);
    animation: watermarkPulse 8s ease-in-out infinite;
  }

  @keyframes watermarkPulse {
    0%, 100% { opacity: 0.08; }
    50%       { opacity: 0.13; }
  }

  @media (max-width: 900px) {
  .page-hero-logo-watermark { bottom: 6px; }  /* ajusta este valor a tu gusto */
  .page-hero-logo-watermark img {
    width: clamp(160px, 40vw, 240px);
    opacity: 0.07;
  }
}

  @media (max-width: 600px) {
    .page-hero-logo-watermark img {
      width: clamp(90px, 30vw, 130px);
      opacity: 0.06;
    }
  }





   /* Imagen RFID sobre el carrusel */
  .commands-rfid-img {
    display: block;
    margin: 0 auto 24px;
    height: 142px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(227,27,27,0.15));
    animation: float 5s ease-in-out infinite;
  }

  @media (max-width: 900px) {
    .commands-rfid-img { height: 104px; margin-bottom: 18px; }
  }
  @media (max-width: 560px) {
    .commands-rfid-img { height: 104px; margin-bottom: 14px; }
  }








  
/* ─── HEADER: LOGOS WRAPPER IZQUIERDA ─── */
.header-left-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* ─── LOGO TECHHOME DESKTOP (extremo derecho) ─── */
.header-techhome-desktop {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  margin-left: auto; /* empuja al extremo derecho si nav no lo llena */
}
.header-techhome-desktop img {
  height: 46px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.header-techhome-desktop:hover img {
  opacity: 1;
  transform: scale(1.07) translateY(-2px);
}

/* ─── LOGO TECHHOME MÓVIL (junto a EduBot, oculto en desktop) ─── */
.header-techhome-mobile {
  display: none;
  align-items: center;
  text-decoration: none;
}
.header-techhome-mobile img {
  height: 38px;
  width: auto;
  object-fit: contain;
  opacity: 0.88;
}

/* ─── LOGO EDUBOT RESPONSIVE ─── */
.logo-edubot-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .header-techhome-desktop {
    display: none;
  }
  .header-techhome-mobile {
    display: flex;
  }
  .logo-edubot-img {
    height: 60px;
  }
  .header-techhome-mobile img {
    height: 44px;
  }
  .header-left-logos {
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .logo-edubot-img {
    height: 44px;
  }
  .header-techhome-mobile img {
    height: 44px;
  }
  .header-left-logos {
    gap: 6px;
  }
}

/* ─── NAV CENTRADO EN HEADER (desktop) ─── */
header nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
}

.header-left-logos {
  position: relative;
  z-index: 1;
}

.header-techhome-desktop {
  position: relative;
  z-index: 1;
}

.hamburger {
  position: relative;
  z-index: 1;
}