/* ============================================================
   COLEGIO HERBART — Global Herbart (Embajadores)
   ============================================================ */

/* ── Variables locales ────────────────────────────────────────── */
:root {
  --gh-primary:   #1B3A6B;
  --gh-accent:    #F7C948;
  --gh-cta:       #E84B1A;
  --gh-green:     #1B6B3A;
  --gh-light:     #F0F4FF;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.gh-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--gh-primary);
}
.gh-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.gh-hero__ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1B3A6B 0%, #0d2040 100%);
}
.gh-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,0) 100%);
}
.gh-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0 56px;
}
.gh-hero__tag {
  display: inline-block;
  background: rgba(247,201,72,0.25);
  border: 1px solid rgba(247,201,72,0.6);
  color: var(--gh-accent);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .5px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.gh-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 12px;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.gh-hero__title em {
  color: var(--gh-accent);
  font-style: italic;
}
.gh-hero__cta {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  font-family: var(--font-body);
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.gh-hero__sub {
  font-size: 15px;
  color: #fff;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 28px;
  font-family: var(--font-body);
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.gh-hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.gh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  font-family: var(--font-body);
  transition: all .25s ease;
}
.gh-btn--primary {
  background: var(--gh-accent);
  color: var(--gh-primary);
}
.gh-btn--primary:hover { background: #e8b830; transform: translateY(-2px); }
.gh-btn--outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
}
.gh-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── SECCIONES GENERALES ──────────────────────────────────────── */
.gh-section {
  padding: var(--space-xl) 0;
}
.gh-section__header {
  text-align: center;
  margin-bottom: 48px;
}
.gh-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--gh-primary);
  line-height: 1.15;
  margin-top: 10px;
}
.gh-badge {
  display: inline-block;
  background: var(--gh-light);
  color: var(--gh-primary);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.gh-badge--light {
  background: var(--gh-light);
}

/* ── SECCIÓN 1 — INTRO ────────────────────────────────────────── */
.gh-intro { background: #fff; }
.gh-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.gh-intro__text .gh-section__title { margin-bottom: 18px; }
.gh-intro__body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-family: var(--font-body);
}
.gh-pilares {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gh-pilar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--gh-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gh-primary);
}
.gh-pilar__ico { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.gh-pilar__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--gh-primary);
  font-family: var(--font-body);
  margin-bottom: 3px;
}
.gh-pilar__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}
.gh-intro__img-wrap { position: relative; }
.gh-intro__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ── FOTO PLACEHOLDER ─────────────────────────────────────────── */
.gh-foto-ph {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8edf5, #d0daea);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed rgba(27,58,107,.2);
}
.gh-foto-ph span { font-size: 2.5rem; opacity: .5; }
.gh-foto-ph small {
  font-size: 11px;
  color: rgba(27,58,107,.5);
  font-weight: 700;
  text-align: center;
  font-family: var(--font-body);
}
.gh-foto-ph--sm { aspect-ratio: 1/1; }

/* ── SECCIÓN 2 — EJES ─────────────────────────────────────────── */
.gh-ejes { background: var(--gh-light); }
.gh-ejes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.gh-eje {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all .25s ease;
}
.gh-eje:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gh-eje__num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(27,58,107,.06);
  position: absolute;
  top: 8px;
  right: 14px;
  font-family: var(--font-display);
  line-height: 1;
}
.gh-eje__ico { font-size: 2rem; margin-bottom: 12px; }
.gh-eje__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--gh-primary);
  margin-bottom: 4px;
  font-family: var(--font-body);
  line-height: 1.3;
}
.gh-eje__sub {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gh-cta);
  background: rgba(232,75,26,.08);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.gh-eje__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  font-family: var(--font-body);
}

/* ── GALERÍA ──────────────────────────────────────────────────── */
.gh-galeria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.gh-galeria__img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform .3s ease;
}
.gh-galeria__img:hover { transform: scale(1.03); }

/* ── DESTINOS ─────────────────────────────────────────────────── */
.gh-destinos-wrap {
  text-align: center;
}
.gh-destinos__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gh-primary);
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.gh-destinos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.gh-destino {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid rgba(27,58,107,.12);
  border-radius: 999px;
  padding: 8px 18px;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.gh-destino:hover {
  border-color: var(--gh-primary);
  transform: translateY(-2px);
}
.gh-destino__flag { font-size: 1.3rem; }
.gh-destino__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gh-primary);
  font-family: var(--font-body);
}

/* ── SECCIÓN 3 — EL VALOR HERBART ────────────────────────────── */
.gh-valor { background: var(--gh-primary); }
.gh-valor .gh-section__title { color: #fff; }
.gh-valor .gh-badge { background: rgba(247,201,72,.18); color: var(--gh-accent); }
.gh-valor__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.gh-valor__img-wrap { position: relative; }
.gh-valor__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.gh-valor__img-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gh-accent);
  color: var(--gh-primary);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
}
.gh-valor__text { padding-top: 10px; }
.gh-valor__sub {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  margin-bottom: 24px;
  font-family: var(--font-body);
}
.gh-valor__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.gh-valor__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.1);
}
.gh-valor__item-ico { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.gh-valor__item-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
  font-family: var(--font-body);
}
.gh-valor__item-desc {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  font-family: var(--font-body);
  line-height: 1.5;
}
.gh-aviso {
  background: rgba(247,201,72,.1);
  border: 1px solid rgba(247,201,72,.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-family: var(--font-body);
}
.gh-aviso strong { color: var(--gh-accent); }

/* ── SECCIÓN 4 — ¿QUIÉNES PUEDEN? ────────────────────────────── */
.gh-quienes { background: #fff; }
.gh-quienes__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.gh-quien {
  background: var(--gh-light);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all .25s ease;
}
.gh-quien:hover {
  background: var(--gh-primary);
  transform: translateY(-4px);
}
.gh-quien:hover .gh-quien__title,
.gh-quien:hover .gh-quien__desc { color: #fff; }
.gh-quien__ico { font-size: 2.2rem; margin-bottom: 12px; }
.gh-quien__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--gh-primary);
  margin-bottom: 6px;
  font-family: var(--font-body);
  line-height: 1.3;
  transition: color .25s;
}
.gh-quien__desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  font-family: var(--font-body);
  transition: color .25s;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gh-ejes__grid    { grid-template-columns: repeat(2, 1fr); }
  .gh-quienes__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .gh-intro__grid  { grid-template-columns: 1fr; }
  .gh-valor__grid  { grid-template-columns: 1fr; }
  .gh-valor__img-badge { white-space: normal; text-align: center; }
  .gh-galeria      { grid-template-columns: repeat(2, 1fr); }
  .gh-ejes__grid   { grid-template-columns: 1fr; }
  .gh-quienes__grid{ grid-template-columns: repeat(2, 1fr); }
  .gh-hero         { min-height: 420px; }
}
@media (max-width: 480px) {
  .gh-quienes__grid { grid-template-columns: 1fr; }
  .gh-galeria       { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mapa del mundo ───────────────────────────────────────────── */
.gh-mapa-wrap {
  margin-bottom: 40px;
}
.gh-mapa {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.gh-mapa__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}
/* Pins sobre el mapa */
.gh-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: default;
  z-index: 2;
}
.gh-pin__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gh-primary);
  border: 2px solid #F7C948;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  transition: transform .2s ease;
}
.gh-pin:hover .gh-pin__dot { transform: scale(1.4); }
.gh-pin__dot--origen {
  background: #E84B1A;
  border-color: #fff;
  width: 14px;
  height: 14px;
}
.gh-pin__label {
  font-size: 9px;
  font-weight: 800;
  color: var(--gh-primary);
  white-space: nowrap;
  background: rgba(255,255,255,.85);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: var(--font-body);
  pointer-events: none;
}
.gh-pin--origen .gh-pin__label { color: #E84B1A; }
/* Leyenda */
.gh-mapa__leyenda {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  padding: 8px 4px 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--gh-primary);
  font-family: var(--font-body);
}
.gh-leyenda-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gh-primary);
  border: 2px solid #F7C948;
  vertical-align: middle;
  margin-right: 4px;
}
.gh-leyenda-dot--origen {
  background: #E84B1A;
  border-color: #fff;
  box-shadow: 0 0 0 1px #E84B1A;
}