
  /* ══════════════════════════════════════════
     MAPAS PAGE — misma identidad que robots
  ══════════════════════════════════════════ */

  /* ── 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: .95rem; color: var(--text-secondary); 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);
  }

  /* ── MAP DETAIL SECTIONS ── */
  .map-detail-section {
    padding: 90px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    position: relative;
    overflow: hidden;
  }
  .map-detail-section:nth-child(odd)  { background: var(--bg-primary); }
  .map-detail-section:nth-child(even) { background: var(--bg-secondary); }

  .map-detail-section.reverse { direction: rtl; }
  .map-detail-section.reverse > * { direction: ltr; }

  /* ── IMAGEN FRAME ── */
  .map-img-wrap {
    display: flex; align-items: center; justify-content: center;
    position: relative;
  }

  .map-img-frame {
    width: 460px; height: 510px;
    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);
    transition: border-color .35s, box-shadow .35s;
    overflow: hidden;
  }

  .map-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);
  }

  .map-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;
    border-radius: 28px;
  }

  .map-img-frame img {
    width: 92%; height: 92%;
    object-fit: contain;
    position: relative; z-index: 1;
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,0.10));
    transition: filter .35s;
  }

  .map-img-frame:hover img {
    filter: drop-shadow(0 14px 32px rgba(0,0,0,0.14));
  }

  /* Badge número de mapa flotante en el frame */
  .map-badge-num {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 4;
    font-family: 'Orbitron', sans-serif;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    background: var(--red);
    padding: 5px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(227,27,27,0.35);
  }

  /* ── 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-top: 4px;
    margin-bottom: 18px;
  }
  .section-brand-tag .tech { color: var(--red); }
  .section-brand-tag .home { color: var(--black); }

  /* ── CONTENIDO TEXTO ── */
  .map-detail-content { position: relative; z-index: 2; }

  .map-detail-desc {
    font-size: 1.0rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
  }
  .map-detail-desc strong { color: var(--black); font-weight: 700; }

  /* ── SKILLS LIST ── */
  .skills-list {
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 28px;
  }
  .skill-item {
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    box-shadow: var(--shadow-sm);
    transition: border-color .25s, box-shadow .25s;
  }
  .skill-item:hover {
    border-color: rgba(227,27,27,0.2);
    box-shadow: var(--shadow-red);
  }
  .skill-icon {
    width: 28px; height: 28px; flex-shrink: 0;
    background: var(--red-light);
    border: 1px solid rgba(227,27,27,0.18);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    color: var(--red);
  }
  .skill-item-text {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-primary);
  }

  /* ── BOTÓN DESCARGAR ── */
  .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(227,27,27,0.30);
    transition: background .25s, transform .2s, box-shadow .25s;
    letter-spacing: .3px;
  }
  .btn-download:hover {
    background: #c01c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(227,27,27,0.40);
  }
  .btn-download:active { transform: translateY(0); }
  .btn-download svg { flex-shrink: 0; }

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

  /* ── MÓVIL TOP BADGE ── */
  .map-mobile-top {
    display: none;
  }

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

    .map-detail-section {
      grid-template-columns: 1fr;
      padding: 70px 28px;
      gap: 24px;
    }
    .map-detail-section.reverse { direction: ltr; }

    .map-img-frame {
      width: 300px; height: 350px;
      margin: 0 auto;
    }
    .map-img-wrap { justify-content: center; }
    .map-img-wrap > div {
      display: flex; flex-direction: column; align-items: center;
    }

    /* Mostrar bloque móvil encima de imagen */
    .map-mobile-top {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
      text-align: center;
    }
    .map-mobile-top .section-brand-tag {
      align-self: center;
      margin: 0;
    }

    /* Ocultar brand-tag original en móvil */
    .map-detail-content > .section-brand-tag {
      display: none;
    }
  }

  @media (max-width: 560px) {
    .map-detail-section { padding: 50px 20px; }
    .map-img-frame { width: 260px; height: 320px; }
    .btn-download { font-size: .80rem; padding: 12px 22px; }
  }

  @media (max-width: 400px) {
    .map-img-frame { width: 230px; height: 230px; }
  }









  .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;
    }
  }




  
/* ─── 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;
}



.btn-download-group {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}



.btn-download-outline:hover {
  background: var(--red);
  color: #fff;
}

/* En celular se apilan verticalmente */
@media (max-width: 560px) {
  .btn-download-group {
    flex-direction: column;
  }
  .btn-download-group .btn-download {
    width: 100%;
    justify-content: center;
  }
}