/* ===================================
   Crianza Positiva Argentina
   styles.css
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Nunito', sans-serif; background: #fff; color: #2c2c2c; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* --- Navigation --- */
.nav {
  background: #fff;
  border-bottom: 1px solid #e0f4f8;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  gap: 8px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #9bd1dc; }
.nav-brand { font-family: 'Dancing Script', cursive; font-size: 20px; color: #3a9ab0; }
.nav-links { display: flex; gap: 8px; list-style: none; flex-wrap: wrap; align-items: center; }
.nav-links a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #3a9ab0; background: #f0fafc; }
.nav-links a.active { color: #fff; background: #9bd1dc; font-weight: 600; }
.nav-ted {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e03b2b;
  border: 1.5px solid #e03b2b;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 13px;
  transition: background .2s;
}
.nav-ted:hover { background: #fef2f1; }
.nav-ted img { height: 16px; width: auto; }

/* --- Hero --- */
.hero-tagline {
  padding: 28px 32px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #e0f4f8;
}
.hero-tagline p {
  font-size: 18px;
  color: #2a8fa8;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 500;
}
.hero-video-wrapper { position: relative; width: 100%; background: #fff; }
.video-container { position: relative; width: 100%; padding-bottom: 56.25%; overflow: hidden; }
.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  pointer-events: none;
}
.hero-overlay h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 48px;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-overlay .btns { display: flex; gap: 12px; flex-wrap: wrap; pointer-events: all; }

/* --- Buttons --- */
.btn-primary {
  background: #9bd1dc;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  transition: background .2s;
}
.btn-primary:hover { background: #6dbecf; }
.btn-outline {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  padding: 11px 28px;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.25); }
.btn-comprar {
  background: #9bd1dc;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  transition: background .2s;
  white-space: nowrap;
}
.btn-comprar:hover { background: #6dbecf; }

/* --- Sections --- */
.section { padding: 60px 32px; max-width: 960px; margin: 0 auto; }
.section-title {
  font-family: 'Dancing Script', cursive;
  font-size: 34px;
  color: #2a8fa8;
  text-align: center;
  margin-bottom: 8px;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: #9bd1dc;
  border-radius: 999px;
  margin: 0 auto 36px;
}

/* --- Service Cards --- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: #fff;
  border: 1.5px solid #d4eef4;
  border-radius: 18px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(155,209,220,0.16); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e8f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-title { font-weight: 700; font-size: 15px; color: #1a7a90; line-height: 1.35; }
.card-desc { font-size: 13px; color: #777; line-height: 1.65; }

/* --- About Section --- */
.about-section { background: #f0fafc; padding: 60px 32px; }
.about-inner { max-width: 900px; margin: 0 auto; }
.about-top { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }
.about-text { flex: 1; min-width: 240px; }
.about-text h2 { font-family: 'Dancing Script', cursive; font-size: 30px; color: #2a8fa8; margin-bottom: 16px; }
.about-text p { color: #555; line-height: 1.85; font-size: 15px; margin-bottom: 12px; }
.about-text strong { color: #2a8fa8; }
.about-logo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #9bd1dc;
  display: block;
}
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 36px; }
.stat-box { background: #fff; border: 1px solid #d4eef4; border-radius: 16px; padding: 20px 16px; text-align: center; }
.stat-num { font-family: 'Dancing Script', cursive; font-size: 36px; color: #2a8fa8; line-height: 1; }
.stat-label { font-size: 12px; color: #777; margin-top: 4px; line-height: 1.4; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { background: rgba(155,209,220,0.13); color: #2a8fa8; border: 1px solid rgba(155,209,220,0.53); border-radius: 999px; font-size: 12px; font-weight: 600; padding: 4px 12px; }
.team-photo {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: center top;
  max-height: 440px;
  border: 2px solid rgba(155,209,220,0.2);
  display: block;
}
.team-caption { text-align: center; margin-top: 12px; font-size: 14px; color: #3a9ab0; font-weight: 500; font-style: italic; }

/* --- Testimonials --- */
.testimonial-section { background: #fff; padding: 60px 32px; text-align: center; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.tcard { background: #f0fafc; border-radius: 16px; padding: 24px 20px; text-align: left; border: 1px solid #d4eef4; }
.tcard-text { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.tcard-author { font-size: 13px; font-weight: 600; color: #3a9ab0; }

/* --- Contact --- */
.contact-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-info { background: #9bd1dc; border-radius: 20px; padding: 36px 28px; }
.contact-info h2 { font-family: 'Dancing Script', cursive; font-size: 28px; color: #fff; margin-bottom: 10px; }
.contact-info p { color: #e3f6fa; font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.contact-detail { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.contact-detail span { font-size: 14px; color: #fff; font-weight: 500; }
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #3a9ab0;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
}
.ig-link:hover { background: #f0fafc; }
.contact-form { background: #fff; border: 1px solid #d4eef4; border-radius: 20px; padding: 36px 28px; }
.contact-form h3 { font-family: 'Dancing Script', cursive; font-size: 24px; color: #2a8fa8; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid #d4eef4;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  color: #333;
  background: #f8fdfe;
  outline: none;
  transition: border .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: #9bd1dc; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit {
  width: 100%;
  background: #9bd1dc;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  margin-top: 6px;
  transition: background .2s;
}
.form-submit:hover { background: #6dbecf; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-success {
  display: none;
  background: #e3f6fa;
  border: 1px solid #9bd1dc;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: #2a8fa8;
  font-weight: 600;
  margin-top: 12px;
  font-size: 14px;
}
.form-error {
  display: none;
  background: #fef2f1;
  border: 1px solid #e03b2b;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: #e03b2b;
  font-weight: 600;
  margin-top: 12px;
  font-size: 14px;
}

/* --- Book Promo --- */
.book-promo {
  background: linear-gradient(135deg, #e3f6fa, #f0fafc);
  border-top: 2px solid #9bd1dc;
  padding: 60px 32px;
}
.book-promo-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.book-promo img {
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(155,209,220,0.4);
  flex-shrink: 0;
}
.book-promo-text { flex: 1; min-width: 240px; }
.book-promo-text .label {
  font-size: 12px;
  font-weight: 700;
  color: #9bd1dc;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.book-promo-text h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 36px;
  color: #2a8fa8;
  margin-bottom: 12px;
  line-height: 1.2;
}
.book-promo-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}
.book-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(155,209,220,0.13);
  border: 1px solid #9bd1dc;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  color: #2a8fa8;
  font-weight: 600;
}

/* --- Talleres Page --- */
.talleres-hero {
  text-align: center;
  padding: 60px 32px 20px;
  background: linear-gradient(135deg, #f0fafc 0%, #e3f6fa 100%);
}
.talleres-hero h1 { font-family: 'Dancing Script', cursive; font-size: 48px; color: #2a8fa8; margin-bottom: 12px; }
.talleres-hero p { font-size: 16px; color: #555; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.talleres-section { background: #f0fafc; padding: 40px 32px 60px; }
.talleres-inner { max-width: 900px; margin: 0 auto; }
.talleres-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.taller-card {
  background: #fff;
  border: 1px solid #d4eef4;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s;
}
.taller-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(155,209,220,0.13); }
.taller-badge {
  display: inline-block;
  background: rgba(155,209,220,0.13);
  color: #2a8fa8;
  border: 1px solid rgba(155,209,220,0.53);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  width: fit-content;
}
.taller-title { font-family: 'Dancing Script', cursive; font-size: 20px; color: #2a8fa8; line-height: 1.3; }
.taller-desc { font-size: 13px; color: #777; line-height: 1.6; flex: 1; }
.taller-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.taller-price { font-size: 22px; font-weight: 700; color: #2a8fa8; }
.taller-price span { font-size: 13px; font-weight: 400; color: #999; }
.modulos-tag { font-size: 12px; color: #3a9ab0; font-weight: 600; background: #e3f6fa; border-radius: 8px; padding: 4px 10px; width: fit-content; }
.taller-card--featured {
  border-color: #9bd1dc;
  background: linear-gradient(135deg, #f0fafc, #fff);
}
.taller-card--featured .taller-badge {
  background: rgba(155,209,220,0.2);
  border-color: #9bd1dc;
}

/* --- WhatsApp CTA --- */
.whatsapp-cta {
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 0 32px;
}
.whatsapp-cta-inner {
  background: linear-gradient(135deg, #9bd1dc, #6dbecf);
  border-radius: 24px;
  padding: 36px 32px;
  text-align: center;
}
.whatsapp-cta h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 26px;
  color: #fff;
  margin-bottom: 10px;
}
.whatsapp-cta p {
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #2a8fa8;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s;
}
.whatsapp-btn:hover { background: #f0fafc; }

/* --- Footer --- */
.footer {
  background: #f0fafc;
  border-top: 1px solid #d4eef4;
  padding: 24px 32px;
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 60px;
}
.footer a { color: #3a9ab0; }
.footer a:hover { text-decoration: underline; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-overlay h1 { font-size: 36px; }
  .hero-overlay { padding: 28px 24px; }
  .book-promo-inner { gap: 28px; }
  .book-promo img { width: 160px; }
  .book-promo-text h3 { font-size: 28px; }
}

@media (max-width: 640px) {
  .contact-wrapper { grid-template-columns: 1fr; }
  .about-top { flex-direction: column; }
  .nav { padding: 12px 16px; }
  .nav-links a { padding: 6px 10px; font-size: 13px; }
  .hero-overlay h1 { font-size: 32px; }
  .hero-overlay { padding: 24px 20px; }
  .talleres-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 20px; }
  .hero-tagline { padding: 20px 16px; }
  .book-promo { padding: 40px 20px; }
  .book-promo-text { text-align: center; }
}
