@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700;800&display=swap');

@font-face {
  font-family: 'Macbeth';
  src: url('../fonts/Macbeth-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Work Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Macbeth', sans-serif;
  font-weight: 700;
  color: #1f2937;
}

.subtitle, p.subtitle {
  font-family: 'Work Sans', sans-serif !important;
  font-weight: 400;
}

/* Navbar */
.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 112px;
}

.navbar-logo img {
  height: 96px;
  width: auto;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.navbar-menu a {
  color: #4b5563;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: #DC2626;
  border-bottom: 2px solid #DC2626;
}

.btn-primary {
  background: #DC2626;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #B91C1C;
  transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #4b5563;
}

.mobile-menu {
  display: none;
  background: #fff;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #4b5563;
  text-decoration: none;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.mobile-menu a:hover {
  background: #f3f4f6;
  color: #DC2626;
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
}

.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Stats Banner */
.stats-banner {
  background: linear-gradient(to right, #DC2626, #B91C1C);
  padding: 2rem 0;
  color: #fff;
}

.stats-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  border-right: 1px solid rgba(239, 68, 68, 0.3);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.stat-label {
  color: #FBBF24;
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title .underline {
  width: 96px;
  height: 4px;
  background: #DC2626;
  margin: 0 auto;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #DC2626;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background: #1f2937;
  color: #fff;
  padding: 3rem 0 1rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  color: #FBBF24;
  margin-bottom: 1rem;
}

.footer a {
  color: #9ca3af;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.bg-gray { background: #f9fafb; }
.bg-red { background: #DC2626; }
.text-white { color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
  .navbar-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 400px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .subtitle {
    font-size: 1.125rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
}