/* =============================================
   ENTERTAINMENT GOALS — Página Inicio
   CSS Grid · Responsive · Sin frameworks
   ============================================= */

:root {
  --navy:       #0a1628;
  --navy-mid:   #0f1f3d;
  --navy-card:  #152a4a;
  --blue:       #2563eb;
  --blue-light: #dbeafe;
  --blue-badge: #eff6ff;
  --white:      #ffffff;
  --gray-50:    #f8f9fa;
  --gray-100:   #f3f4f6;
  --gray-400:   #9ca3af;
  --gray-500:   #6b7280;
  --gray-600:   #4b5563;
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md:  0 4px 20px rgba(0, 0, 0, 0.08);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --container:  1200px;
  --transition: 0.25s ease;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), opacity var(--transition);
}

ul {
  list-style: none;
}

/* ── Utilidades ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Botones ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid var(--navy);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid var(--navy);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.btn-outline::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325D366'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12c0 2.127.558 4.126 1.532 5.855L0 24l6.336-1.662C8.008 23.438 9.96 24 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0z' fill='%2325D366'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn-outline:hover {
  background: var(--gray-50);
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-block: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--navy);
  white-space: nowrap;
}

.logo-img {
  display: block;
  height: 120px;
  width: auto;
  object-fit: contain;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer-logo {
  display: block;
  height: 140px;
  width: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.menu a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  padding-bottom: 4px;
}

.menu a:hover {
  color: var(--navy);
}

.menu a.active {
  color: var(--navy);
  font-weight: 600;
}

.menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav > .btn-primary {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding-block: 72px 80px;
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  background: var(--blue-badge);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 999px;
  border: 1px solid var(--blue-light);
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.experience-card {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: var(--blue);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  min-width: 140px;
}

.experience-card h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.experience-card p {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* =============================================
   SERVICIOS
   ============================================= */
.services {
  padding-block: 80px;
  background: var(--white);
}

.services .container {
  display: grid;
  gap: 48px;
}

.services h2 {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-text {
  text-align: center;
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 560px;
  margin-inline: auto;
  margin-top: -32px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  display: grid;
  gap: 14px;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card::before {
  content: '';
  display: block;
  width: 44px;
  height: 44px;
  background: var(--blue-badge);
  border-radius: var(--radius-sm);
  border: 1px solid var(--blue-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
}

.service-card:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M18 18.72a9.094 9.094 0 003.741-.479 3 3 0 00-4.682-2.72m.94 3.198l.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0112 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 016 18.719m12 0a5.971 5.971 0 00-.941-3.197m0 0A5.995 5.995 0 0012 12.75a5.995 5.995 0 00-5.058 2.772m0 0a3 3 0 00-4.681 2.72 8.986 8.986 0 003.74.477m.94-3.197a5.971 5.971 0 00-.94 3.197M15 6.75a3 3 0 11-6 0 3 3 0 016 0zm6 3a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0zm-13.5 0a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0z'/%3E%3C/svg%3E");
}

.service-card:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 013 19.875v-6.75zM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V8.625zM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V4.125z'/%3E%3C/svg%3E");
}

.service-card:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5'/%3E%3C/svg%3E");
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray-500);
  flex-grow: 1;
}

.service-card a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
}

.service-card a:hover {
  color: var(--navy);
}

/* =============================================
   ESTADÍSTICAS / WHY CHOOSE US
   ============================================= */
.stats {
  padding-block: 80px;
  background: var(--navy);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.stats-grid > div:first-child {
  display: grid;
  gap: 20px;
}

.stats-grid > div:first-child h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stats-grid > div:first-child p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  max-width: 440px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.metric {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: background var(--transition);
}

.metric:hover {
  background: rgba(255, 255, 255, 0.06);
}

.metric h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.metric p {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* =============================================
   TESTIMONIOS
   ============================================= */
.testimonials {
  padding-block: 80px;
  background: var(--white);
}

.testimonials .container {
  display: grid;
  gap: 48px;
}

.testimonials h2 {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
  opacity: 0.25;
  font-family: Georgia, serif;
}

.testimonial p {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--gray-500);
  padding-right: 32px;
}

.testimonial h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

/* =============================================
   CTA
   ============================================= */
.cta {
  padding-block: 0 80px;
  background: var(--white);
}

.cta .container {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
  padding-block: 64px;
  padding-inline: 48px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 50%, #ffffff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--blue-light);
}

.cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.cta p {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 480px;
}

.cta .btn-primary {
  margin-top: 8px;
  padding: 14px 32px;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  padding-block: 48px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 32px;
}

.footer > div:first-child h3 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 10px;
}

.footer > div:first-child p {
  font-size: 0.875rem;
  color: var(--gray-500);
  max-width: 280px;
}

.footer > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.footer > div:last-child a {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer > div:last-child a:hover {
  color: var(--blue);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-image img {
    height: 360px;
  }

  .stats-grid {
    gap: 48px;
  }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
  .nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 16px;
  }

  .logo {
    grid-column: 1;
  }

  .nav > .btn-primary {
    grid-column: 2;
    grid-row: 1;
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .menu {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .menu::-webkit-scrollbar {
    display: none;
  }

  .hero {
    padding-block: 48px 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  .hero-image img {
    height: 280px;
  }

  .experience-card {
    left: 16px;
    bottom: 16px;
    padding: 16px 20px;
  }

  .experience-card h3 {
    font-size: 1.5rem;
  }

  .services,
  .stats,
  .testimonials {
    padding-block: 56px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cta .container {
    padding-block: 48px;
    padding-inline: 24px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer > div:last-child {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .metric {
    padding: 20px 16px;
  }

  .metric h3 {
    font-size: 1.75rem;
  }
}
