* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  color: #14213d;
  background: #f1f5fb;
  line-height: 1.6;
  --bg: #f1f5fb;
  --surface: #ffffff;
  --text-primary: #14213d;
  --text-secondary: #475569;
  --brand: #6366f1;
  --brand-dark: #14213d;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  background: #f1f5fb;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

.site-header {
  background: #ffffffee;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: #14213d;
  font-size: 1.25rem;
}

.logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  color: #334155;
  font-weight: 600;
}

.site-nav a:hover {
  color: #14213d;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: 0.5rem;
}

.nav-toggle__bar {
  display: block;
  width: 1.75rem;
  height: 0.18rem;
  margin: 0.28rem 0;
  border-radius: 999px;
  background: var(--brand-dark);
}

.share-button {
  border: 1px solid #6366f1;
  background: #6366f1;
  color: #fff;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, rgba(91, 100, 232, 0.45) 0%, rgba(140, 200, 255, 0.45) 100%),
    url("../img/hero.jpeg") center/cover no-repeat;
  color: #fff;
  padding: clamp(3rem, 6vw, 6rem) 1.5rem;
}

.hero-copy {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
}

.hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.animate-card {
  animation: fadeUp 0.8s ease both;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.85);
  outline-offset: 4px;
}

.btn-primary {
  background: #14213d;
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.video-card-info .btn-secondary,
#newsletter-form .btn-secondary {
  background: var(--brand-dark);
  color: #fff;
  border-color: transparent;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 1rem;
  margin: 2rem auto;
}

.stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.stat-card span {
  color: #475569;
}

.how-it-works {
  padding: 2.5rem 0;
}

.guide {
  padding: 2.5rem 0;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1rem;
}

.guide-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.guide-card span {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  background: #6366f1;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-contact {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(220px, 0.75fr);
  gap: 1rem;
  padding: 2.5rem 0;
}

.about-card,
.contact-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.about-card h2,
.contact-card h2 {
  margin-bottom: 1rem;
}

.about-card p,
.contact-card p {
  color: #475569;
  line-height: 1.75;
}

.privacy-note {
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.95rem;
}

.scroll-top-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.how-it-works h2,
.featured h2,
.categories h2,
.testimonial h2,
.newsletter h2,
.cta h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1rem;
}

.step {
  background: #fff;
  border-radius: 22px;
  padding: 1.8rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
}

.step span {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background: #6366f1;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step p {
  color: #475569;
}

.featured {
  padding: 2.5rem 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1rem;
}

.featured-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.featured-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.featured-card-body {
  padding: 1.2rem;
}

.featured-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.featured-card p {
  color: #475569;
  line-height: 1.6;
}

.featured-count {
  margin-top: 0.9rem;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.section-header {
  margin-bottom: 1.5rem;
}

.video-highlights {
  padding: 2.5rem 0;
}

.video-highlights .section-header h2 {
  color: #7c3aed;
}

.video-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.video-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-sponsors {
  display: grid;
  grid-template-columns: minmax(250px, 1.15fr) minmax(220px, 0.85fr);
  gap: 1rem;
  padding: 0.5rem 0;
  align-items: start;
}

.team-panel,
.sponsors-panel {
  background: transparent;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.team-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem;
}

.team-card img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
}

.team-card-body {
  display: grid;
  gap: 0.25rem;
  text-align: left;
}

.sponsor-grid {
  display: grid;
  gap: 0.45rem;
}

.sponsor-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.sponsor-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: #f8fafc;
}

.sponsor-card h3 {
  margin: 0;
  font-size: 1rem;
}

.sponsor-card span {
  color: #64748b;
  font-size: 0.92rem;
}

.story-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-rows: auto 1fr;
}

.story-card-body {
  padding: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.story-card h3 {
  font-size: 1.25rem;
}

.story-card p {
  color: #475569;
}

.story-card .link {
  color: #6366f1;
  font-weight: 700;
}

.categories {
  padding: 2.5rem 0;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.category-list span {
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.18);
  color: #334155;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.testimonial {
  padding: 2.5rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.video-card {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease;
  display: grid;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-card-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.video-card-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-card-info {
  padding: 1rem 1.2rem 1.2rem;
  display: grid;
  gap: 0.75rem;
}

.video-card-info .video-title {
  color: #0f172a;
  font-weight: 700;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.video-card-info .btn-secondary {
  width: fit-content;
}

.testimonial-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 1rem;
}

.testimonial-card p {
  color: #334155;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  color: #475569;
  font-weight: 700;
}

.testimonial-author span {
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.rating {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

blockquote {
  font-size: 1.1rem;
  color: #334155;
  margin-bottom: 1rem;
}

cite {
  display: block;
  color: #64748b;
  font-style: normal;
}

.cta {
  padding: 2.5rem 0;
}

.cta-content {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  border-radius: 28px;
  padding: 2.5rem;
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.newsletter {
  padding: 2.5rem 0 3rem;
}

.social-share {
  padding: 2.5rem 0;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  min-width: 140px;
}

.social-button--instagram {
  background: #e1306c;
}

.social-button--youtube {
  background: #ff0000;
}

.social-button--whatsapp {
  background: #25d366;
}

.social-button--copy {
  background: #334155;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.footer-social a {
  color: #475569;
  font-weight: 600;
}

.newsletter-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

#newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

#newsletter-form input {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.95rem 1rem;
  outline: none;
}

#newsletter-form button {
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  min-width: 260px;
  max-width: 90vw;
  padding: 1rem 1.25rem;
  border-radius: 20px;
  background: rgba(20, 33, 61, 0.95);
  color: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
}

.toast.toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.submission {
  padding: 2.5rem 0;
}

.submission-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 2rem;
}

.submission-copy h2 {
  margin-bottom: 0.75rem;
}

.relato-form {
  display: grid;
  gap: 1rem;
}

.relato-form input,
.relato-form select,
.relato-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: #f8fafc;
  color: #14213d;
  outline: none;
}

.relato-form textarea {
  min-height: 180px;
  resize: vertical;
}

.relato-form button {
  width: fit-content;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
}

.youtube-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 1rem auto 0;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  color: #14213d;
  background: #ff0000;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  max-width: 320px;
}

.video-cta {
  display: flex;
  justify-content: center;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: #64748b;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: #475569;
}

.site-footer p {
  text-align: center;
}

@media (max-width: 960px) {
  .stats,
  .steps,
  .cards,
  .testimonial-grid,
  .featured-grid,
  .guide-grid,
  .about-contact,
  .team-sponsors {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: center;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
    z-index: 15;
  }

  .site-nav.site-nav--open {
    display: grid;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    transition: background 0.2s ease;
  }

  .site-nav a:hover {
    background: rgba(99, 102, 241, 0.1);
  }

  .header-inner {
    gap: 1rem;
  }

  .share-button {
    width: auto;
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }
}

@media (max-width: 780px) {
  .stats,
  .steps,
  .cards,
  .testimonial-grid {
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.5rem;
  }

  .brand {
    flex: 1 1 auto;
    font-size: 1.05rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .site-nav {
    gap: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  #newsletter-form {
    grid-template-columns: 1fr;
  }

  .submission-card,
  .newsletter-card,
  .testimonial-card,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
