/* ═══════════════════════════════════════════════════════════
   Hero — texto a la izquierda, globo canvas a la derecha
   ═══════════════════════════════════════════════════════════ */
.hero, .globe-wrap {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 2rem;
  padding: 8rem 3rem 4rem;
  max-width: 1500px;
  margin: 0 auto;
}

.hero-text {
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin-bottom: 1.75rem;
}
.hero h1 .accent {
  color: var(--orange);
  font-style: italic;
}
.hero p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.08rem, 1.3vw, 1.22rem);
  font-weight: 420;
  color: #4A5868;
  max-width: 560px;
  margin-bottom: 1.25rem;
  line-height: 1.7;
  letter-spacing: -0.003em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
.hero p:last-of-type {
  margin-bottom: 2.5rem;
}

/* Tagline poético: serif italic con barra naranja */
.hero p.hero-tagline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.35rem, 1.85vw, 1.7rem);
  font-style: italic;
  font-weight: 400;
  color: var(--heading);
  margin-bottom: 1.75rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  padding-left: 1.1rem;
  border-left: 3px solid var(--orange);
  max-width: 560px;
  text-align: left;
  hyphens: none;
}
.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white;
  border: none;
  padding: 1.1rem 2rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 140, 66, 0.35);
  transition: all 0.25s;
  font-family: inherit;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 140, 66, 0.45);
}

.btn-secondary {
  background: var(--base);
  color: var(--heading);
  border: none;
  padding: 1.1rem 2rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-out-sm);
  transition: all 0.2s;
  font-family: inherit;
}
.btn-secondary:hover { transform: translateY(-2px); }
.btn-secondary:active { box-shadow: var(--shadow-in); transform: translateY(0); }

.trust-row {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.trust-row .dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
}

/* Globo */
.globe-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 680px;
  width: 100%;
  justify-self: center;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.5s forwards;
}

.globe-glow {
  position: absolute;
  inset: 5%;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.18) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  animation: pulse 6s ease-in-out infinite;
}

/* #globe-canvas: id que adopta el canvas cuando entra el fallback 2D
   (motion.js/sphere.js lo renombran) — debe conservar el mismo tamaño */
#hero-sphere,
#globe-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
