/* Geograma · CSS encapsulado bajo #gtlp para insertar en WordPress/Elementor */
/* ============================================================
   Geograma · Landing "¿Qué es un GIS?" · Estilos de marca
   ============================================================ */
#gtlp {
  --brand: #6168F4;
  --brand-deep: #3A40C4;
  --deep: #203462;
  --accent: #6814CC;
  --ink: #262A34;
  --ink-2: #4C5264;
  --paper: #F2F3FA;
  --surface: #FFFFFF;
  --line: #DEE0EC;
  --radius: 14px;
}

#gtlp, #gtlp * { box-sizing: border-box; margin: 0; padding: 0; }

#gtlp { scroll-behavior: smooth; }

#gtlp {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

#gtlp img { max-width: 100%; height: auto; display: block; }

#gtlp a { color: var(--brand-deep); }

#gtlp a:focus-visible, #gtlp button:focus-visible, #gtlp summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}


/* ---------- Tipografía ---------- */
#gtlp h1, #gtlp h2, #gtlp h3 {
  font-family: 'Archivo', 'Inter', sans-serif;
  letter-spacing: -.02em;
  color: var(--ink);
}

#gtlp h1, #gtlp h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
}

#gtlp h3 {
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.3;
}

#gtlp .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--brand-deep);
  margin-bottom: .75rem;
}

#gtlp .section-dark .eyebrow, #gtlp .hero .eyebrow { color: var(--brand); }


/* ---------- Layout ---------- */
#gtlp .wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

#gtlp .wrap-narrow { max-width: 860px; }

#gtlp .center { text-align: center; }

#gtlp .section { padding: 72px 0; }

#gtlp .section-alt { background: var(--paper); }

#gtlp .section-dark { background: var(--deep); }

#gtlp .section h2 { margin-bottom: 1.25rem; }

#gtlp .section-dark h2, #gtlp .section-dark p, #gtlp .section-dark h3 { color: #fff; }

#gtlp .section-dark .card-dark p { color: rgba(255, 255, 255, .82); }

#gtlp .section-intro, #gtlp .section-outro { max-width: 780px; color: var(--ink-2); margin-bottom: 2rem; }

#gtlp .section-outro { margin: 2rem 0 0; }

#gtlp .two-col {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: start;
}

#gtlp .two-col p { margin-bottom: 1rem; color: var(--ink-2); }

#gtlp .two-col strong, #gtlp .section-intro strong { color: var(--ink); }


/* ---------- Hero ---------- */
#gtlp .hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%);
  padding: 40px 0 64px;
  border-bottom: 1px solid var(--line);
}

#gtlp .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

#gtlp .hero h1 { margin-bottom: 1rem; }

#gtlp .lead { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 1.5rem; }

#gtlp .footnote {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  color: var(--ink-2);
  margin-top: .75rem;
}


/* ---------- Botones ---------- */
#gtlp .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.5rem 0; }

#gtlp .cta-row.center { justify-content: center; }

#gtlp .btn {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

#gtlp .btn-primary { background: var(--brand); color: #fff; }

#gtlp .btn-primary:hover { background: var(--brand-deep); }

#gtlp .btn-ghost {
  color: var(--brand-deep);
  border: 2px solid var(--brand);
  background: transparent;
}

#gtlp .btn-ghost:hover { background: var(--brand); color: #fff; }

#gtlp .btn-ghost-light {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .55);
  background: transparent;
}

#gtlp .btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }


/* ---------- Facts del hero ---------- */
#gtlp .facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

#gtlp .fact-num {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--brand-deep);
}

#gtlp .fact-label {
  display: block;
  font-size: .82rem;
  color: var(--ink-2);
  line-height: 1.4;
}


/* ---------- Tarjetas ---------- */
#gtlp .cards { display: grid; gap: 22px; }

#gtlp .cards-3 { grid-template-columns: repeat(3, 1fr); }

#gtlp .cards-4 { grid-template-columns: repeat(4, 1fr); }

#gtlp .cards-5 { grid-template-columns: repeat(5, 1fr); }

#gtlp .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

#gtlp .card h3 { margin-bottom: .6rem; }

#gtlp .card p { font-size: .95rem; color: var(--ink-2); }

#gtlp .card-num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: .9rem;
  color: var(--brand);
  display: block;
  margin-bottom: .75rem;
}

#gtlp .card-dark {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
}

#gtlp .card-dark h3 { color: #fff; }

#gtlp .tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brand-deep);
  background: rgba(97, 104, 244, .12);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: .5rem;
}


/* ---------- Listas ---------- */
#gtlp .check-list { list-style: none; }

#gtlp .check-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: .8rem;
  font-size: .95rem;
  color: var(--ink-2);
}

#gtlp .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: var(--brand);
}

#gtlp .check-list strong { color: var(--ink); }

#gtlp .question-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

#gtlp .question-card h3 { margin-bottom: 1rem; }

#gtlp .steps { counter-reset: step; list-style: none; margin-top: .5rem; }

#gtlp .steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: .9rem;
  color: var(--ink-2);
}

#gtlp .steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .1em;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: .85rem;
  color: var(--brand);
}

#gtlp .steps strong { color: var(--ink); }

#gtlp .side-visual {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}


/* ---------- Chips de análisis ---------- */
#gtlp .chip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

#gtlp .chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 16px 18px;
}

#gtlp .chip strong {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: .98rem;
  margin-bottom: .25rem;
}

#gtlp .chip span { font-size: .85rem; color: var(--ink-2); line-height: 1.45; }


/* ---------- Tabla comparativa ---------- */
#gtlp .table-scroll { overflow-x: auto; }

#gtlp .compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 640px;
}

#gtlp .compare th, #gtlp .compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

#gtlp .compare thead th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-deep);
  border-bottom: 2px solid var(--brand);
}

#gtlp .compare tbody th {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

#gtlp .compare td { color: var(--ink-2); }


/* ---------- FAQ ---------- */
#gtlp .faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  background: var(--surface);
}

#gtlp .faq-list summary {
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 18px 20px;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}

#gtlp .faq-list summary::-webkit-details-marker { display: none; }

#gtlp .faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.2rem;
  color: var(--brand);
}

#gtlp .faq-list details[open] summary::after { content: "–"; }

#gtlp .faq-list details p {
  padding: 0 20px 18px;
  color: var(--ink-2);
  font-size: .96rem;
}


/* ---------- CTA final ---------- */
#gtlp .cta-final { padding: 88px 0; }

#gtlp .cta-final p { max-width: 640px; margin: 1rem auto 0; color: rgba(255, 255, 255, .85); }


/* ---------- Cabecera y pie (solo index.html) ---------- */
#gtlp .site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

#gtlp .site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

#gtlp .site-header .logo img { height: 40px; width: auto; }

#gtlp .site-nav { display: flex; align-items: center; gap: 26px; }

#gtlp .site-nav a {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  text-decoration: none;
}

#gtlp .site-nav a:hover { color: var(--brand-deep); }

#gtlp .site-nav .btn { padding: 10px 20px; }

#gtlp .breadcrumb {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .75rem;
  padding: 8px 0;
  color: var(--ink-2);
}

#gtlp .breadcrumb a { color: var(--ink-2); }

#gtlp .site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, .8);
  padding: 44px 0;
  font-size: .9rem;
}

#gtlp .site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

#gtlp .footer-brand {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -.02em;
}

#gtlp .site-footer nav { display: flex; gap: 22px; }

#gtlp .site-footer a { color: rgba(255, 255, 255, .8); }

#gtlp .site-footer a:hover { color: #fff; }


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

#gtlp .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {#gtlp { scroll-behavior: auto; }#gtlp .reveal { opacity: 1; transform: none; transition: none; }
}


/* ---------- Responsive ---------- */
@media (max-width: 980px) {#gtlp .hero-grid, #gtlp .two-col { grid-template-columns: 1fr; }#gtlp .cards-4, #gtlp .cards-5 { grid-template-columns: repeat(2, 1fr); }#gtlp .cards-3 { grid-template-columns: 1fr; }#gtlp .chip-grid { grid-template-columns: repeat(2, 1fr); }#gtlp .facts { grid-template-columns: repeat(2, 1fr); }#gtlp .site-nav { display: none; }
}

@media (max-width: 560px) {#gtlp .section { padding: 52px 0; }#gtlp .cards-4, #gtlp .cards-5, #gtlp .chip-grid { grid-template-columns: 1fr; }#gtlp .facts { grid-template-columns: repeat(2, 1fr); }
}


/* ---------- Mock de navegador (sección plataforma) ---------- */
#gtlp .browser-mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(32, 52, 98, .10);
}

#gtlp .browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

#gtlp .browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  display: block;
}

#gtlp .browser-mock img { width: 100%; }


/* Enlaces sobre secciones oscuras */
#gtlp .section-dark a { color: #fff; text-decoration-color: rgba(255, 255, 255, .55); }

#gtlp .section-dark a:hover { text-decoration-color: #fff; }

