/* Elite Connect - Academias Elite - Fase 1 */
:root {
  --primary: #1a1a2e;
  --secondary: #e94560;
  --accent: #0f3460;
  --gold: #d4af37;
  --light: #f8f9fa;
  --text: #2d3436;
  --muted: #636e72;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-hover: 0 15px 50px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.header {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--secondary);
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
}

.btn-primary:hover {
  background: #d63651;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(233,69,96,0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-gold {
  background: var(--gold);
  color: var(--primary);
}

.btn-gold:hover {
  background: #c9a227;
  transform: translateY(-2px);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(233,69,96,0.15);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: 1.9rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--secondary), #ff6b81);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Carreras */
.carrera-card {
  border-left: 4px solid var(--secondary);
}

.carrera-card.destacada {
  border-left-color: var(--gold);
}

.tag {
  display: inline-block;
  background: #ffeaea;
  color: var(--secondary);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.tag.gold {
  background: #fff8e6;
  color: #b8860b;
}

/* Planteles */
.plantel-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.plantel-card .metro {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
}

.plantel-card .destacado {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* Form / Agenda demo */
.form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

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

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Resumen Ejecutivo specific */
.resumen-header {
  background: var(--primary);
  color: white;
  padding: 2.5rem 0;
  text-align: center;
}

.resumen-header h1 {
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
}

.resumen-header p {
  opacity: 0.85;
}

.resumen-body {
  padding: 3rem 0;
}

.resumen-body h2 {
  color: var(--primary);
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--secondary);
}

.resumen-body h3 {
  color: var(--accent);
  margin: 1.3rem 0 0.5rem;
  font-size: 1.1rem;
}

.resumen-body ul, .resumen-body ol {
  margin: 0.6rem 0 1rem 1.4rem;
}

.resumen-body li {
  margin-bottom: 0.4rem;
}

.highlight-box {
  background: #fff5f7;
  border-left: 4px solid var(--secondary);
  padding: 1.2rem 1.4rem;
  border-radius: 0 8px 8px 0;
  margin: 1.2rem 0;
}

.table-simple {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.table-simple th,
.table-simple td {
  border: 1px solid #e0e0e0;
  padding: 0.7rem 1rem;
  text-align: left;
}

.table-simple th {
  background: var(--primary);
  color: white;
}

.table-simple tr:nth-child(even) {
  background: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .hero {
    padding: 3rem 0 3.5rem;
  }
  .section {
    padding: 3rem 0;
  }
}
