/* MediaHunter landing page — port from migracion-nextjs (Tailwind → CSS) */

/* Oculta la barra navbar global del layout legacy en la landing
   (general/menu-superior.pug renderiza un navbar-fixed-top vacío
   cuando no hay usuario, y se monta encima del header propio). */
.mh-landing ~ nav.navbar-fixed-top,
.mh-landing ~ #head {
  display: none !important;
}

.mh-landing {
  min-height: 100vh;
  background-color: #F7F8FB;
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #1f2937;
  line-height: 1.5;
}

.mh-landing *,
.mh-landing *::before,
.mh-landing *::after {
  box-sizing: border-box;
}

.mh-landing a { text-decoration: none; }
.mh-landing img { max-width: 100%; height: auto; display: block; }

/* ---------- Header ---------- */
.mh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 10px 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.mh-header-logo { flex: 1; }
.mh-header-logo img { width: 110px; height: auto; }

.mh-nav {
  flex: 1;
  display: none;
  justify-content: center;
  gap: 32px;
}
.mh-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  transition: color 0.2s;
}
.mh-nav a:hover { color: #111827; }

.mh-header-actions {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ---------- Buttons ---------- */
.mh-btn {
  display: inline-block;
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.05s;
  line-height: 1.4;
}
.mh-btn:active { transform: translateY(1px); }

.mh-btn-outline {
  background: #ffffff;
  border-color: #d1d5db;
  color: #374151;
}
.mh-btn-outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.mh-btn-primary {
  background: #409fa4;
  color: #ffffff;
}
.mh-btn-primary:hover {
  background: #368589;
  color: #ffffff;
}

.mh-btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
}

.mh-btn-shadow {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mh-btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mh-btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.mh-btn-light {
  background: #ffffff;
  color: #111827;
}
.mh-btn-light:hover {
  background: #f3f4f6;
  color: #111827;
}

.mh-btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.mh-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ---------- Hero ---------- */
.mh-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 192px 24px 128px;
  background-image: url('/imgs/hero-section.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.mh-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.mh-hero-content {
  position: relative;
  z-index: 10;
  max-width: 768px;
}
.mh-hero-badge {
  display: inline-block;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 16px;
}
.mh-hero h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 24px;
  line-height: 1.1;
}
.mh-hero h1 .mh-accent { color: #5fbfc4; }
.mh-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 40px;
  line-height: 1.6;
}
.mh-hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

/* ---------- Section common ---------- */
.mh-section {
  padding: 64px 24px;
}
.mh-section-inner {
  max-width: 1152px;
  margin: 0 auto;
}
.mh-section-header {
  text-align: center;
  margin-bottom: 64px;
}
.mh-section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}
.mh-section-header p {
  font-size: 18px;
  color: #4b5563;
  margin-top: 16px;
}

/* ---------- Features ---------- */
.mh-features-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
.mh-feature-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s;
}
.mh-feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.mh-feature-icon {
  margin-bottom: 24px;
}
.mh-feature-icon img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}
.mh-feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px;
}
.mh-feature-card p {
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* ---------- About (dark) ---------- */
.mh-about {
  background: #111827;
  padding: 48px 24px;
}
.mh-about-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.mh-about h2 {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px;
  line-height: 1.2;
}
.mh-about p {
  font-size: 18px;
  color: #d1d5db;
  line-height: 1.7;
  margin: 0;
}
.mh-about p .mh-accent {
  color: #5fbfc4;
  font-weight: 600;
}
.mh-about-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.mh-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mh-stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.mh-stat-number {
  font-size: 30px;
  font-weight: 700;
  color: #5fbfc4;
  margin: 0;
  line-height: 1;
}
.mh-stat-label {
  margin: 4px 0 0;
  font-size: 14px;
  color: #d1d5db;
}

/* ---------- Providers (split panel) ---------- */
.mh-providers {
  background: #ffffff;
  padding: 64px 24px;
}
.mh-providers-inner {
  max-width: 1152px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.mh-providers-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.mh-providers-content {
  text-align: center;
}
.mh-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #409fa4;
  margin-bottom: 12px;
}
.mh-providers-content h2 {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 20px;
  line-height: 1.2;
}
.mh-providers-content p {
  font-size: 17px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 32px;
}

/* ---------- Contact ---------- */
.mh-contact {
  padding: 80px 24px;
}
.mh-contact-inner {
  max-width: 672px;
  margin: 0 auto;
  text-align: center;
}
.mh-contact h2 {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px;
  line-height: 1.2;
}
.mh-contact p {
  font-size: 18px;
  color: #4b5563;
  margin: 0 0 40px;
}
.mh-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  background: #409fa4;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(64, 159, 164, 0.25);
  transition: background 0.2s;
}
.mh-contact-cta:hover {
  background: #368589;
  color: #ffffff;
}
.mh-contact-cta svg {
  width: 20px;
  height: 20px;
}

/* ---------- Footer ---------- */
.mh-footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 32px 24px;
}
.mh-footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.mh-footer-logo img { width: 120px; height: auto; }
.mh-footer-social {
  display: flex;
  gap: 16px;
}
.mh-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #f3f4f6;
  color: #4b5563;
  transition: background 0.2s, color 0.2s;
}
.mh-footer-social a:hover {
  background: rgba(64, 159, 164, 0.1);
  color: #409fa4;
}
.mh-footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.mh-footer-copy {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .mh-hero-cta {
    flex-direction: row;
  }
  .mh-about-cta {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .mh-header { padding: 10px 64px; }
  .mh-nav { display: flex; }
  .mh-hero {
    padding-top: 240px;
    padding-bottom: 176px;
  }
  .mh-hero h1 { font-size: 60px; }
  .mh-hero p { font-size: 20px; }
  .mh-section { padding: 96px 24px; }
  .mh-section-header h2 { font-size: 36px; }
  .mh-features-grid { grid-template-columns: repeat(3, 1fr); }
  .mh-about { padding: 64px 24px; }
  .mh-about h2 { font-size: 36px; }
  .mh-about p { font-size: 20px; }
  .mh-stats { grid-template-columns: repeat(4, 1fr); }
  .mh-stat-number { font-size: 36px; }
  .mh-contact { padding: 128px 24px; }
  .mh-contact h2 { font-size: 36px; }
  .mh-providers { padding: 96px 24px; }
  .mh-providers-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .mh-providers-content { text-align: left; }
  .mh-providers-content h2 { font-size: 36px; }
  .mh-providers-content p { font-size: 18px; }
  .mh-footer-inner { flex-direction: row; }
  .mh-footer-logo,
  .mh-footer-social,
  .mh-footer-copy { flex: 1; }
  .mh-footer-social { justify-content: center; }
  .mh-footer-copy { text-align: right; }
}

@media (min-width: 1024px) {
  .mh-hero h1 { font-size: 72px; }
}
