:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --line: #dfe4ea;
  --accent: #1463ff;
  --accent-dark: #0b3ea8;
  --soft: #eaf1ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { text-decoration: none; font-weight: 900; letter-spacing: -.04em; font-size: 1.15rem; }
.brand span { color: var(--accent); margin-left: .35rem; }
nav { display: flex; gap: 24px; }
nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
nav a:hover { color: var(--ink); }

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) 24px 64px;
}
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .78rem; }
.hero h1 { max-width: 900px; margin: 14px 0 20px; font-size: clamp(2.7rem, 7vw, 6.2rem); line-height: .96; letter-spacing: -.065em; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.65; }
.cta { display: inline-block; margin-top: 24px; padding: 14px 20px; background: var(--ink); color: white; text-decoration: none; border-radius: 12px; font-weight: 700; }
.cta:hover { background: var(--accent-dark); }

.proof-grid {
  max-width: 1180px;
  margin: 0 auto 72px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.proof-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid span { margin-top: 8px; color: var(--muted); line-height: 1.55; }
.section { max-width: 1180px; margin: 0 auto; padding: 72px 24px; }
.section-heading { max-width: 700px; margin-bottom: 28px; }
.section h2 { margin: 8px 0 12px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: -.045em; }
.section p { color: var(--muted); line-height: 1.65; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { min-height: 210px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.category-card span { color: var(--accent); font-weight: 800; font-size: .8rem; }
.category-card h3 { margin: 42px 0 8px; font-size: 1.35rem; }
.category-card p { margin: 0; }
.empty-state { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--soft); color: var(--accent-dark) !important; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.criteria-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.criteria-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.about { margin-top: 28px; margin-bottom: 72px; border-radius: 28px; background: var(--ink); color: white; padding: clamp(36px, 6vw, 72px); }
.about .eyebrow { color: #8db5ff; }
.about p { max-width: 800px; color: #cbd5e1; }

footer { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; padding: 28px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) {
  nav { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 560px) {
  .site-header { padding: 16px 18px; }
  .hero { padding-left: 18px; padding-right: 18px; }
  .section, .proof-grid { padding-left: 18px; padding-right: 18px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 170px; }
  .about { border-radius: 0; margin-bottom: 0; }
}

/* CONNECTED visual identity — ecosystem hero */
.hero {
  max-width: none;
  min-height: 620px;
  margin: 0;
  padding: clamp(86px, 10vw, 140px) clamp(24px, 7vw, 120px) 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(4,18,32,.84) 0%, rgba(4,18,32,.62) 42%, rgba(4,18,32,.22) 72%, rgba(4,18,32,.08) 100%), url('assets/connected-hero.jpg'), url('assets/connected-ecosystem.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero .eyebrow { color: #8fdfff; }
.hero h1 { max-width: 780px; text-shadow: 0 3px 22px rgba(0,0,0,.28); }
.hero .lead { max-width: 760px; color: rgba(255,255,255,.9); }
.hero .cta { background: #238ee8; }
.hero .cta:hover { background: #1463ff; }
@media (max-width: 560px) { .hero { min-height: 560px; padding-top: 72px; padding-bottom: 64px; background-position: 55% center; } }

/* Portada final: la composición visual se conserva como una sola imagen. */
.hero-showcase {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #061725;
  line-height: 0;
}

.hero-showcase > img {
  display: block;
  width: 100%;
  height: auto;
}

.category-hotspots {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.category-hotspots .hotspot {
  position: absolute;
  top: 70.25%;
  width: 11.15%;
  height: 17.75%;
  display: block;
  pointer-events: auto;
  border-radius: 1.2vw;
}

.category-hotspots .hotspot:hover,
.category-hotspots .hotspot:focus-visible {
  outline: 3px solid rgba(54, 184, 255, .95);
  outline-offset: -3px;
  background: rgba(35, 142, 232, .08);
}

.hotspot-1 { left: 2.35%; }
.hotspot-2 { left: 14.35%; }
.hotspot-3 { left: 26.30%; }
.hotspot-4 { left: 38.25%; }
.hotspot-5 { left: 50.25%; }
.hotspot-6 { left: 62.20%; }
.hotspot-7 { left: 74.20%; }
.hotspot-8 { left: 86.35%; }

.category-card { scroll-margin-top: 24px; }

@media (max-width: 900px) {
  .category-hotspots { display: block; }
}
