* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-gold: #b6904f;
  --color-gold-hover: #a07f45;
  --color-dark: #191c21;
  --color-gray: #4a4a4a;
  --color-gray-light: #6b7280;
  --color-text-muted: #9ca3af;
  --color-white: #ffffff;
  --font-family: 'Mulish', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.icon {
  width: 20px;
  height: 20px;
}

.hidden {
  display: none !important;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gold);
}

.logo-dot {
  color: var(--color-gold);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-light);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-trigger .chevron {
  width: 16px;
  height: 16px;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  background: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  display: none;
  overflow: hidden;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--color-gray-light);
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f3f4f6;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray-light);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn .icon {
  width: 24px;
  height: 24px;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center top;
}

@media (min-width: 768px) {
  .hero {
    height: 650px;
  }
}

@media (min-width: 1024px) {
  .hero {
    height: 700px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  max-width: 500px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-dot {
  color: var(--color-gold);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .play-btn {
    width: 80px;
    height: 80px;
  }
}

.play-btn:hover {
  background-color: var(--color-gold-hover);
  transform: scale(1.05);
}

.play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}

@media (min-width: 768px) {
  .play-btn svg {
    width: 32px;
    height: 32px;
  }
}

.hero-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 50%;
  pointer-events: none;
  opacity: 0.3;
}

.hero-decoration svg {
  width: 100%;
  height: 100%;
}

/* Quick Actions */
.quick-actions {
  position: relative;
  z-index: 20;
  margin-top: -24px;
}

.quick-actions-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .quick-actions-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.875rem;
  transition: opacity 0.2s ease;
}

@media (min-width: 768px) {
  .action-btn {
    font-size: 1rem;
  }
}

.action-btn:hover {
  opacity: 0.9;
}

.action-btn .icon {
  width: 20px;
  height: 20px;
}

.action-gold {
  background-color: var(--color-gold);
}

.action-gray {
  background-color: var(--color-gray-light);
}

/* Content Spacer */
.content-spacer {
  padding: 5rem 1rem;
  text-align: center;
}

.content-spacer p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Partners Section */
.partners {
  background-color: var(--color-gray);
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  .partners {
    padding: 4rem 1rem;
  }
}

.partners-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-gold);
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .partners-title {
    font-size: 2.5rem;
  }
}

.partners-title a:hover {
  text-decoration: underline;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .partners-logos {
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .partners-logos {
    gap: 4rem;
  }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 2rem;
  }
}

.insurgentes-text {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-white);
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .insurgentes-text {
    font-size: 1.5rem;
  }
}

.cnsf-logo {
  width: 40px;
  height: 40px;
  background-color: #c41e3a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cnsf-logo span {
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.625rem;
}

.condusef-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .condusef-text {
    font-size: 1.25rem;
  }
}

.esr-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.esr-logo {
  width: 40px;
  height: 40px;
  background-color: #228b22;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.esr-logo span {
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.625rem;
}

.esr-text {
  font-size: 0.625rem;
  color: #d1d5db;
  line-height: 1.3;
  display: none;
}

@media (min-width: 768px) {
  .esr-text {
    display: block;
  }
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 3rem 1rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-extras {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-extras a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer-extras a:hover {
  color: var(--color-gold);
}

.footer-bold {
  font-weight: 700;
  color: var(--color-white) !important;
}

.footer-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact p {
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-contact a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--color-gold);
}

.footer-social {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-label {
  font-size: 0.875rem;
  color: #9ca3af;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icons a {
  color: #9ca3af;
  transition: color 0.2s ease;
}

.social-icons a:hover {
  color: var(--color-gold);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

.footer-copyright {
  margin-top: 2rem;
  text-align: center;
}

.footer-copyright p {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 896px;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 0.5rem;
}

.modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-family: inherit;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--color-gold);
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}
