:root {
  --color-primary: #e07a9a;     /* rosa suave / coral */
  --color-secondary: #a7d0c2;   /* verde menta suave */
  --color-dark: oklab(37.835% -0.04648 0.02923);
  --color-light: #f8f5f2;
  --color-gray: #6b7280;
  --color-text: #374151;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
  background-color: var(--color-light);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--color-dark);
}

/* Navegación */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s;
}

nav.scrolled {
  background: rgba(248,245,242,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

nav.scrolled .logo {
  color: var(--color-dark);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: #F8F5F2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav.scrolled .nav-links a {
  color: var(--color-dark);
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* Hero */
header {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background: linear-gradient(rgba(0, 0, 0, 0.451), rgba(0,0,0,0.55)),
              url('https://images.unsplash.com/photo-1518611012118-69607286b8d5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1740&q=80') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(224,122,154,0.3);
}

.btn:hover {
  background-color: #d15f85;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(224,122,154,0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  margin-left: 1.5rem;
}

.btn-outline:hover {
  background: white;
  color: var(--color-dark);
}

/* Secciones generales */
section {
  padding: 100px 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 3.2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.subtitle {
  text-align: center;
  color: var(--color-gray);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

/* Grid y cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-content {
  padding: 2rem;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

/* Beneficios */
.benefits {
  background: var(--color-secondary);
  color: var(--color-dark);
}

.benefits .grid-3 .card {
  background: rgba(255,255,255,0.9);
}

/* Instructores */
.instructor {
  text-align: center;
}

.instructor img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  margin-bottom: 1.5rem;
}


/* CTA section */
.cta-section {
  background: var(--color-dark);
  color: white;
  text-align: center;
}

.cta-section .btn {
  background: white;
  color: var(--color-dark);
  font-size: 1.3rem;
  padding: 18px 50px;
}

/* Footer */
footer {
  background: var(--color-dark);
  color: white;
  padding: 4rem 5% 2rem;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: left;
}

.social a {
  color: white;
  font-size: 1 rem;
  margin: 0 12px;
  transition: color 0.3s;
}

.social a:hover {
  color: var(--color-primary);
}

.copyright {
  opacity: 0.7;
  font-size: 0.95rem;
}
