/* Homepage composition. Shared pages keep their own layouts. */
.home-page { background: #0a1020; background-image: none; }
.home-page .bg-orbs, .home-page #particles-canvas { display: none; }
.home-page section { padding: 72px 0; }
.home-page .hero { min-height: 0; padding: 132px 0 64px; }
.home-page .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.home-page .hero-greeting { padding: 0; border: 0; border-radius: 0; background: none; font-size: 12px; line-height: 1.6; letter-spacing: .035em; margin-bottom: 24px; }
.home-page .hero-greeting .dot { display: none; }
.home-page .hero h1 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -.04em; }
.home-page .hero-role { min-height: 1.7em; font-size: 18px; margin-top: 24px; }
.home-page .hero-desc { font-size: 16px; line-height: 1.7; max-width: 60ch; margin-bottom: 28px; }
.home-page .hero-stats { margin-top: 32px; gap: 24px; }
.home-page .stat-num { font-size: 32px; }
.home-page .stat-label { font-size: 11px; line-height: 1.5; letter-spacing: .025em; }
.home-page .stat-gauge { height: 2px; background: var(--line); }
.home-page .stat-gauge span { animation: none; transform: none; }
.home-page .hero-photo { width: 100%; max-width: 580px; }
.home-page .hero-photo-frame { width: 100%; aspect-ratio: 4 / 3; background: #111a2c; border: 1px solid #2a3549; box-shadow: 0 16px 48px -24px #020713; }
.home-page .hero-photo-frame::before, .home-page .hero-photo-frame::after { content: none; }
.home-page .hero-photo-frame .hero-slide { object-fit: contain; transform: none; transition: opacity 220ms ease; }
.home-page .hero-dots { max-width: 100%; padding: 0 8px; gap: 0; bottom: 0; background: rgba(10,16,32,.92); overflow-x: auto; justify-content: flex-start; left: 0; right: 0; transform: none; }
.home-page .hero-dots button { flex: 0 0 32px; width: 32px; height: 44px; border-radius: 0; background: transparent; position: relative; }
.home-page .hero-dots button::before { content: ''; position: absolute; left: 12px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: #8090a8; }
.home-page .hero-dots button[aria-current]::before { background: var(--accent); }
.home-page .hero-slide { padding-bottom: 44px; }
.home-page .trust-strip { padding: 0; border-block: 1px solid #202d42; background: #0c1425; }
.home-page .section-title { font-size: clamp(28px, 3.1vw, 42px); }
.home-page .section-header { margin-bottom: 32px; }
.home-page #services, .home-page #tools, .home-page #about { background: #0d1526; }
.home-page .sv-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.home-page .sv-card { padding: 24px; gap: 10px; background: #111c30; }
.home-page .sv-n { display: none; }
.home-page .sv-ico { width: 38px; height: 38px; border-radius: 8px; }
.home-page .sv-card h3 { font-size: 20px; }
.home-page .sv-list { gap: 5px; }
.home-page .sv-req { display: inline-flex; align-items: center; min-height: 44px; }
.home-page .sv-foot { align-items: center; }
.home-page .sv-how { margin-top: 36px; }
.home-page .sv-cta { margin-top: 24px; }
.home-page #contact { border-block: 1px solid #2a3549; background: #101b2e; }
.home-page .form-msg { line-height: 1.5; }
.home-page .form-msg.error { color: #fecaca; border: 1px solid #7f3343; border-radius: 8px; padding: 12px; }
.home-page .form-msg.success { color: #a6efe2; border: 1px solid #27665c; border-radius: 8px; padding: 12px; }
.home-page form[aria-busy="true"] button { opacity: .65; cursor: progress; }
.home-page .carousel-dots .dot { width: 44px; height: 44px; background: transparent; position: relative; }
.home-page .carousel-dots .dot::before { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #8090a8; left: 18px; top: 18px; }
.home-page .carousel-dots .dot.active::before { background: var(--accent); }
.home-page .post-link, .home-page .lc-link { min-height: 44px; align-items: center; display: inline-flex; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 150; padding: 12px 18px; color: #08151c; background: #a6efe2; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.home-page .lang-btn { min-height: 44px; }
.home-page .wa-float { right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); }
@media (max-width:1180px) {
  .home-page .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-page .hero-photo { margin: 0; max-width: 560px; }
}
@media (max-width:680px) {
  .home-page section { padding: 48px 0; }
  .home-page .hero { padding: 112px 0 40px; }
  .home-page .hero h1 { font-size: 38px; }
  .home-page .hero-role { font-size: 16px; }
  .home-page .hero-desc { font-size: 15px; }
  .home-page .hero-stats { gap: 12px; margin-top: 24px; }
  .home-page .stat-num { font-size: 28px; }
  .home-page .stat-label { font-size: 10px; }
  .home-page .sv-grid { grid-template-columns: 1fr; }
  .home-page .sv-card { padding: 20px; }
  .home-page .sv-card h3 { font-size: 19px; }
  .home-page .section-header { margin-bottom: 28px; }
  .home-page .hero-photo-frame { aspect-ratio: 4 / 3; }
  .home-page .trust-strip { padding: 0; }
  .home-page .contact-grid { gap: 28px; }
  .home-page .contact-form { padding: 20px; }
  .home-page .form-group input, .home-page .form-group textarea { font-size: 16px; }
}
@media (prefers-reduced-motion:reduce) {
  .home-page .reveal { opacity: 1; transform: none; }
  .home-page .hero-photo-frame .hero-slide { transform: none; }
}

/* === Glosario Técnico Petrolero Spotlight === */
.home-page .glossary-spotlight {
  margin: 32px 0 8px;
  padding: 28px 30px;
  border-radius: var(--radius-md, 12px);
  border: 1px solid rgba(34, 195, 190, 0.28);
  background: linear-gradient(135deg, rgba(17, 28, 48, 0.96) 0%, rgba(12, 21, 38, 0.98) 62%, rgba(16, 40, 56, 0.85) 100%);
  box-shadow: 0 18px 44px -26px rgba(2, 7, 19, 0.9);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.9fr);
  gap: 28px;
  align-items: center;
}
.home-page .glossary-spot-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, #22C3BE);
  margin-bottom: 10px;
}
.home-page .glossary-spot-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, #22C3BE);
  box-shadow: 0 0 10px rgba(34, 195, 190, 0.7);
}
.home-page .glossary-spot-body h3 {
  font-family: var(--font-heading);
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary, #E5F3FF);
  margin: 0 0 10px;
}
.home-page .glossary-spot-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary, #A9C0D6);
  margin: 0 0 16px;
  max-width: 60ch;
}
.home-page .glossary-spot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.home-page .glossary-spot-links a {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--radius-pill, 999px);
  font-size: 12px;
  font-weight: 500;
  color: #CFE6F7;
  background: rgba(15, 25, 48, 0.85);
  border: 1px solid rgba(150, 175, 215, 0.22);
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}
.home-page .glossary-spot-links a:hover {
  border-color: rgba(34, 195, 190, 0.6);
  color: #FFFFFF;
  background: rgba(34, 195, 190, 0.14);
}
.home-page .glossary-spot-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home-page .glossary-spot-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.home-page .glossary-spot-stat {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(10, 16, 32, 0.72);
  border: 1px solid rgba(150, 175, 215, 0.14);
}
.home-page .glossary-spot-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
}
.home-page .glossary-spot-stat span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--text-secondary, #A9C0D6);
}
.home-page .glossary-spot-cta {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}
@media (max-width: 900px) {
  .home-page .glossary-spotlight {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    gap: 20px;
  }
}
