/* estilos-elementor.css — mismo CSS que estilos.css con TODOS los
   selectores encapsulados bajo #gtlp. Lo encola el shortcode. */
/* =========================================================================
   Geograma · Landing AEC (Arquitectura, Ingeniería y Construcción)
   Hoja de estilos para index.html (versión autónoma).
   El CSS de contenido va scoped bajo #gtlp para poder derivar
   estilos-elementor.css sin contaminar el tema de WordPress.
   ========================================================================= */

#gtlp {
  --brand: #6168F4;
  --brand-deep: #3A40C4;
  --deep: #203462;
  --accent: #6814CC;         /* reservado a la capa Origen-Destino: no usar como cromo */
  --ink: #262A34;
  --ink-2: #4C5264;
  --paper: #F2F3FA;
  --surface: #FFFFFF;
  --line: #DEE0EC;
  /* Rampa de velocidad: SOLO para datos de tráfico. Aquí el rojo se usa
     puntualmente como señal semántica de "interferencia/conflicto". */
  --flow-free: #1BA66B;
  --flow-slow: #EFA021;
  --flow-stop: #E0493C;

  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(32,52,98,.06), 0 12px 32px rgba(32,52,98,.08);
  --shadow-sm: 0 1px 2px rgba(32,52,98,.06), 0 6px 16px rgba(32,52,98,.06);
}

#gtlp, #gtlp *, #gtlp *::before, #gtlp *::after { box-sizing: border-box; }



/* =========================================================================
   CONTENIDO DE LA LANDING (scoped #gtlp)
   ========================================================================= */

#gtlp {
  box-sizing: border-box;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}
#gtlp .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

#gtlp h1, #gtlp h2, #gtlp h3 {
  font-family: "Archivo", system-ui, sans-serif;
  letter-spacing: -.02em; color: var(--ink); margin: 0;
}
#gtlp h1, #gtlp h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  font-weight: 800; line-height: 1.12;
}
#gtlp h3 { font-size: 1.28rem; font-weight: 700; line-height: 1.2; }
#gtlp p { margin: 0 0 1em; color: var(--ink-2); }
#gtlp a { color: var(--brand-deep); }
#gtlp strong { color: var(--ink); font-weight: 600; }
#gtlp img { max-width: 100%; height: auto; display: block; }

#gtlp .eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-deep); margin: 0 0 14px;
}
#gtlp .section--deep .eyebrow { color: #A9B2F7; }
#gtlp .mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
#gtlp .attrib {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .74rem; color: var(--ink-2); letter-spacing: .01em;
}
#gtlp .section--deep .attrib { color: #9AA4D0; }

/* --- Botones --- */
#gtlp .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
#gtlp .btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
#gtlp .btn:hover { transform: translateY(-1px); }
#gtlp .btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
#gtlp .btn--primary { background: var(--brand); color: #fff; }
#gtlp .btn--primary:hover { background: var(--brand-deep); }
#gtlp .btn--ghost { background: transparent; color: var(--brand-deep); border-color: var(--line); }
#gtlp .btn--ghost:hover { border-color: var(--brand); }
#gtlp .section--deep .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
#gtlp .section--deep .btn--ghost:hover { border-color: #fff; }

/* --- Secciones base --- */
#gtlp .section { padding: 72px 0; }
#gtlp .section--paper { background: var(--paper); }
#gtlp .section--surface { background: var(--surface); }
#gtlp .section--deep { background: var(--deep); color: #DFE4F5; }
#gtlp .section--deep h2, #gtlp .section--deep h3 { color: #fff; }
#gtlp .section--deep p { color: #C3CAE6; }
#gtlp .section-head { max-width: 760px; margin-bottom: 40px; }
#gtlp .section-head p { font-size: 1.06rem; margin-top: 14px; }

/* --- HERO --- */
#gtlp .hero {
  background: var(--surface) url(topo-motif.svg) no-repeat;
  background-position: right -120px top -30px; background-size: 680px auto;
  padding: 56px 0 64px; overflow: hidden;
}
#gtlp .hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
#gtlp .hero h1 { margin-bottom: 18px; }
#gtlp .hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 44ch; }
#gtlp .hero .btn-row { margin: 26px 0 30px; }
#gtlp .hero__facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px;
  border-top: 1px solid var(--line); padding-top: 22px; max-width: 520px;
}
#gtlp .fact { display: flex; gap: 10px; align-items: flex-start; }
#gtlp .fact svg { flex: 0 0 auto; margin-top: 2px; }
#gtlp .fact b { display: block; font-size: .96rem; color: var(--ink); font-weight: 600; }
#gtlp .fact span { font-size: .86rem; color: var(--ink-2); }

#gtlp .hero__visual {
  position: relative; background: var(--deep); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); min-height: 380px;
  display: flex; flex-direction: column; justify-content: center;
}
#gtlp .hero__visual .badge {
  position: absolute; top: 16px; left: 16px;
  font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .1em;
  color: #A9B2F7; text-transform: uppercase;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  padding: 5px 10px; border-radius: 999px;
}
#gtlp .hero__visual svg { width: 100%; height: auto; }
#gtlp .hero__visual--photo {
  padding: 0; overflow: hidden; background: #0D163F; min-height: 0;
}
#gtlp .hero__visual--photo img {
  display: block; width: 100%; height: auto; border-radius: var(--radius);
}
#gtlp .hero__visual--photo .badge {
  top: 14px; left: 14px; background: rgba(13, 22, 63, .72);
  padding: 5px 10px; border-radius: 999px;
}

/* --- Banda de cifras --- */
#gtlp .stats { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#gtlp .stats__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
#gtlp .stat { padding: 34px 22px; border-left: 1px solid var(--line); }
#gtlp .stat:first-child { border-left: 0; }
#gtlp .stat__num {
  font-family: "Archivo", sans-serif; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem); color: var(--brand-deep); line-height: 1;
}
#gtlp .stat__label { margin-top: 8px; font-size: .92rem; color: var(--ink); font-weight: 500; }
#gtlp .stat__src { margin-top: 6px; }

/* --- Problema --- */
#gtlp .problem__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 8px; }
#gtlp .problem__cols p { margin-bottom: 0; }
#gtlp .pull {
  margin-top: 30px; padding: 22px 26px; border-left: 4px solid var(--brand);
  background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: 1.18rem;
  color: var(--ink); letter-spacing: -.01em; line-height: 1.35;
}

/* --- Tarjetas numeradas (Por qué Geograma) --- */
#gtlp .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#gtlp .card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
}
#gtlp .card__num {
  font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: .8rem;
  color: #fff; background: var(--brand); width: 34px; height: 34px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
#gtlp .card h3 { margin-bottom: 10px; }
#gtlp .card p { margin-bottom: 0; font-size: .98rem; }

/* --- Callout no-competencia --- */
#gtlp .noncompete {
  margin-top: 26px; background: var(--deep); color: #fff; border-radius: var(--radius);
  padding: 26px 30px; display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow);
}
#gtlp .noncompete svg { flex: 0 0 auto; margin-top: 2px; }
#gtlp .noncompete p { color: #DCE1F5; margin: 0; font-size: 1.05rem; }
#gtlp .noncompete strong { color: #fff; }

/* --- Qué ofrecemos (deep) --- */
#gtlp .offer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
#gtlp .offer__item {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 26px 26px;
}
#gtlp .offer__item .ico { margin-bottom: 14px; }
#gtlp .offer__item h3 { margin-bottom: 8px; }
#gtlp .offer__item p { margin: 0; }

/* --- Plataforma / browser mock --- */
#gtlp .platform__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 44px; align-items: center; }
#gtlp .browser {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
}
#gtlp .browser__bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  background: #EDEFF8; border-bottom: 1px solid var(--line);
}
#gtlp .browser__dot { width: 11px; height: 11px; border-radius: 50%; background: #C9CEE4; }
#gtlp .browser__url {
  margin-left: 10px; flex: 1; font-family: "IBM Plex Mono", monospace; font-size: .76rem;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
#gtlp .browser__body { background: var(--deep); }
#gtlp .browser__body svg { width: 100%; height: auto; display: block; }
#gtlp .browser__body img { width: 100%; height: auto; display: block; }
#gtlp .platform__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
#gtlp .platform__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
#gtlp .platform__list svg { flex: 0 0 auto; margin-top: 3px; }

/* --- Ciclo de vida --- */
#gtlp .lifecycle__track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative;
}
#gtlp .phase {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative;
}
#gtlp .phase__step {
  font-family: "IBM Plex Mono", monospace; font-size: .72rem; letter-spacing: .1em;
  color: var(--brand-deep); text-transform: uppercase; margin-bottom: 10px;
}
#gtlp .phase h3 { margin-bottom: 8px; }
#gtlp .phase p { margin: 0; font-size: .96rem; }
#gtlp .phase::after {
  content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  color: var(--brand); font-weight: 700; font-size: 1.4rem; z-index: 2;
}
#gtlp .phase:last-child::after { display: none; }

/* --- Interferencias (feature) --- */
#gtlp .interference__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center; }
#gtlp .interference__visual {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
#gtlp .interference__visual svg { width: 100%; height: auto; }
#gtlp .interference__visual img { display: block; width: 100%; height: auto; }
#gtlp .clash-key { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
#gtlp .clash-key span { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--ink-2); font-family: "IBM Plex Mono", monospace; }
#gtlp .clash-key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* --- Proyectos (3 columnas) --- */
#gtlp .projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#gtlp .project {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
#gtlp .project__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
#gtlp .project__img img { width: 100%; height: 100%; object-fit: cover; }
#gtlp .project__body { padding: 22px 22px 24px; }
#gtlp .project h3 { margin-bottom: 10px; }
#gtlp .project p { font-size: .96rem; margin: 0; }

/* --- Para quién --- */
#gtlp .audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
#gtlp .aud {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: relative;
}
#gtlp .aud h3 { font-size: 1.08rem; margin-bottom: 6px; }
#gtlp .aud p { font-size: .92rem; margin: 0; }
#gtlp .tag {
  display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  color: var(--brand-deep); background: #ECEDFD; border: 1px solid #D9DBFB;
  border-radius: 999px; padding: 3px 9px; margin-bottom: 12px;
}

/* --- Casos reales --- */
#gtlp .cases { display: grid; gap: 24px; }
#gtlp .case {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
#gtlp .case:nth-child(even) .case__media { order: 2; }
#gtlp .case__media { background: var(--paper); min-height: 260px; }
#gtlp .case__media img { width: 100%; height: 100%; object-fit: cover; }
#gtlp .case__media--video { background: var(--deep); }
#gtlp .case__media video {
  display: block; width: 100%; height: 100%;
  min-height: 260px; object-fit: cover; background: var(--deep);
}
#gtlp .case__body { padding: 34px 34px; }
#gtlp .case__body h3 { font-size: 1.35rem; margin-bottom: 6px; }
#gtlp .case__client { font-family: "IBM Plex Mono", monospace; font-size: .78rem; color: var(--ink-2); margin-bottom: 14px; }
#gtlp .metric-row { display: flex; gap: 26px; flex-wrap: wrap; margin: 18px 0; }
#gtlp .metric b { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--brand-deep); display: block; letter-spacing: -.02em; }
#gtlp .metric span { font-size: .82rem; color: var(--ink-2); }
#gtlp .quote { border-left: 3px solid var(--brand); padding-left: 16px; font-style: italic; color: var(--ink); margin: 16px 0 0; }

/* --- Tecnología (deep) --- */
#gtlp .tech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
#gtlp .tech__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
#gtlp .tech__list li { display: flex; gap: 12px; align-items: flex-start; }
#gtlp .tech__list svg { flex: 0 0 auto; margin-top: 3px; }
#gtlp .tech__list b { color: #fff; }
#gtlp .tech__note { margin-top: 22px; font-size: .9rem; }

/* --- FAQ --- */
#gtlp .faq { max-width: 860px; margin: 0 auto; }
#gtlp details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; margin-bottom: 12px;
}
#gtlp details[open] { border-color: #C9CEF7; box-shadow: var(--shadow-sm); }
#gtlp summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-family: "Archivo", sans-serif;
  font-weight: 600; font-size: 1.06rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
#gtlp summary::-webkit-details-marker { display: none; }
#gtlp summary::after {
  content: "+"; font-family: "IBM Plex Mono", monospace; font-weight: 600;
  color: var(--brand); font-size: 1.4rem; line-height: 1; transition: transform .2s ease;
}
#gtlp details[open] summary::after { content: "–"; }
#gtlp details p { padding: 0 0 18px; margin: 0; font-size: .98rem; }

/* --- CTA final (deep, centrado) --- */
#gtlp .cta-final { text-align: center; }
#gtlp .cta-final .wrap { max-width: 720px; }
#gtlp .cta-final h2 { margin-bottom: 14px; }
#gtlp .cta-final p { color: #C3CAE6; font-size: 1.08rem; margin-bottom: 26px; }
#gtlp .cta-final .btn-row { justify-content: center; }

/* --- figura / pie --- */
#gtlp figure { margin: 0; }
#gtlp figcaption {
  font-family: "IBM Plex Mono", monospace; font-size: .74rem; color: var(--ink-2);
  margin-top: 8px; text-align: center;
}
#gtlp .section--deep figcaption { color: #9AA4D0; }

/* --- animación de aparición --- */
#gtlp .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
#gtlp .reveal.is-visible { opacity: 1; transform: none; }

/* --- responsive --- */
@media (max-width: 980px) {
  #gtlp .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  #gtlp .cards, #gtlp .projects, #gtlp .lifecycle__track { grid-template-columns: 1fr; }
  #gtlp .phase::after { content: "↓"; right: 50%; top: auto; bottom: -18px; transform: translateX(50%); }
  #gtlp .offer__grid, #gtlp .problem__cols, #gtlp .platform__grid,
  #gtlp .interference__grid, #gtlp .tech__grid { grid-template-columns: 1fr; gap: 28px; }
  #gtlp .stats__grid { grid-template-columns: repeat(2, 1fr); }
  #gtlp .stat { border-left: 0; border-top: 1px solid var(--line); }
  #gtlp .stat:first-child, #gtlp .stat:nth-child(2) { border-top: 0; }
  #gtlp .audience { grid-template-columns: repeat(2, 1fr); }
  #gtlp .case { grid-template-columns: 1fr; }
  #gtlp .case:nth-child(even) .case__media { order: 0; }
  #gtlp .case__media { min-height: 210px; }
  #gtlp .case__media video { min-height: 210px; }
}
@media (max-width: 560px) {
  #gtlp .hero__facts { grid-template-columns: 1fr; }
  #gtlp .stats__grid { grid-template-columns: 1fr; }
  #gtlp .stat { border-top: 1px solid var(--line); }
  #gtlp .stat:first-child { border-top: 0; }
  #gtlp .audience { grid-template-columns: 1fr; }
  #gtlp .metric-row { gap: 18px; }
}

/* --- accesibilidad: movimiento reducido --- */
@media (prefers-reduced-motion: reduce) {
  #gtlp .reveal { opacity: 1; transform: none; transition: none; }
  #gtlp .btn { transition: none; }
  #gtlp * { scroll-behavior: auto !important; }
}
