/* ===================================================
   COMASGES, S.L. - Estilos Vanguardistas & Modernos
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700;800&display=swap');

:root {
  --primary: #0b132b;
  --primary-light: #1c2541;
  --accent: #c5a059;
  --accent-hover: #b08b46;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px -5px rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* Header & Barra Superior */
.top-bar {
  background: var(--primary);
  color: #94a3b8;
  padding: 10px 5%;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
  max-width: 1250px;
  margin: 0 auto;
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
}

.nav-links a:hover, .nav-links a.active {
  background-color: var(--primary);
  color: var(--white);
}

/* Hero Section Moderno */
.hero {
  background: linear-gradient(135deg, rgba(11,19,43,0.92), rgba(28,37,65,0.88)), 
              url('../imagenes/banner-hero.webp') center/cover no-repeat;
  color: var(--white);
  padding: 110px 20px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.2);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 750px;
  margin: 0 auto 35px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Secciones por Púbico Objetivo */
.container {
  max-width: 1200px;
  margin: 70px auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 50px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
}

.audience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.12);
}

.audience-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.audience-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.audience-tag {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.audience-title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.audience-list {
  list-style: none;
  margin-bottom: 25px;
}

.audience-list li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.audience-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

/* Call to Action Banner */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 50px 40px;
  text-align: center;
  margin-top: 60px;
}

/* Footer */
footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 60px 20px 20px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-content h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.1rem; }
  .top-bar { flex-direction: column; text-align: center; gap: 5px; }
  .navbar { flex-direction: column; gap: 15px; }
}