/*
 * Muy Melo Media Landing Page Styles
 *
 * This stylesheet defines the look and feel of the mobile‑first
 * landing page. It uses the brand colours and fonts defined in the
 * brand guide to create a cohesive, modern, and professional
 * experience. The design prioritises legibility and simplicity on
 * mobile devices while scaling gracefully for larger screens.
 */

/* Reset box sizing for all elements */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Base typography and colours */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #F5F7FA;
  background-color: #000000;
}

/* Hero section with gradient background and centred content */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(180deg, #0D7CFF 0%, #0E84FF 100%);
  color: #ffffff;
}

/* Logo styling for hero; scales down on small screens */
.hero .logo {
  width: 90px;
  height: auto;
  margin-bottom: 1rem;
}

/* Headings in hero use Poppins to stand out */
.hero h1 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin: 0.25rem 0;
}
.hero h1.spanish {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  color: #C7D7FF;
  font-size: 1.8rem;
}

/* Subtitles for hero */
.hero .subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.hero .subtitle.spanish {
  color: #E2E8F0;
}

/* Call‑to‑action buttons */
.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0.25rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: #0D7CFF;
  background-color: #F5F7FA;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}
.cta:hover {
  background-color: #E2E8F0;
  color: #0A5FCC;
}
.cta.secondary {
  background-color: transparent;
  color: #F5F7FA;
  border: 2px solid #F5F7FA;
}
.cta.secondary:hover {
  background-color: #ffffff10;
  color: #D9E5FF;
}

/* General section styling */
.section {
  padding: 2.5rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.section h2 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0D7CFF;
}
.section h2.spanish {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  color: #15ACFF;
}
.section p {
  margin: 0.5rem 0 1.25rem 0;
  font-size: 1rem;
  color: #D9E3F0;
}
.section p.spanish {
  color: #9AA3AF;
}

/* Features layout: stack on mobile; can expand to columns on wider screens */
.features .feature {
  margin-bottom: 2rem;
}
.features .feature:last-child {
  margin-bottom: 0;
}
.feature h3 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  color: #0D7CFF;
}
.feature h3.spanish {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: #15ACFF;
  margin-top: -0.15rem;
  margin-bottom: 0.5rem;
}
.feature p {
  font-size: 0.95rem;
  color: #C7D7FF;
}
.feature p.spanish {
  color: #94A3B8;
}

/* Call to action section */
.call-to-action {
  text-align: center;
  background-color: #111111;
  border-top: 1px solid #222222;
  border-bottom: 1px solid #222222;
}
.call-to-action h2 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0D7CFF;
}
.call-to-action h2.spanish {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  color: #15ACFF;
}
.call-to-action p {
  font-size: 1rem;
  color: #D9E3F0;
  margin-bottom: 1.5rem;
}
.call-to-action p.spanish {
  color: #9AA3AF;
}
.call-to-action .cta {
  margin-top: 0.5rem;
}

/* Footer styling */
.footer {
  text-align: center;
  padding: 1rem;
  background-color: #000000;
  color: #6B7280;
  font-size: 0.8rem;
  border-top: 1px solid #111111;
}

/* Responsive adjustments for medium screens */
@media (min-width: 600px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero h1.spanish {
    font-size: 2.2rem;
  }
  .hero .subtitle {
    font-size: 1.2rem;
  }
  .section h2 {
    font-size: 1.75rem;
  }
  .feature h3 {
    font-size: 1.5rem;
  }
}

/* Responsive grid for features on larger screens */
@media (min-width: 900px) {
  .features {
    display: flex;
    gap: 2rem;
  }
  .features .feature {
    flex: 1;
    margin-bottom: 0;
  }
}