body {
  font-family: 'Poppins', sans-serif;
}

/* Hero section */
.hero {
  height: 60vh;
  background: url('https://images.unsplash.com/photo-1606938291477-03b38a6b86cd?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.hero-box {
  max-width: 700px;
}

/* Footer */
footer a {
  color: #000;
  text-decoration: none;
}

footer a:hover {
  color: #e91e63;
}

/* Navbar active color */
.nav-link.active {
  color: #e91e63 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 4rem 1rem;
  }
}
/* ===== Página Sobre Mí ===== */
.sobre-mi p {
  line-height: 1.7;
  font-size: 1rem;
}

.certificado {
  background-color: #e9e9e9;
  transition: background 0.3s ease;
}

.certificado:hover {
  background-color: #dcdcdc;
}

footer {
  font-size: 0.9rem;
}
/* ===== Talleres y Divulgación ===== */
.card img {
  height: 200px;
  object-fit: cover;
}

.footer-dark {
  background-color: #111;
}

.footer-dark a:hover {
  color: #e91e63;
}

/* Botones de talleres */
.card .btn {
  transition: background 0.3s;
}

.card .btn:hover {
  background-color: #444;
}
/* ===== Asesoramiento Sexológico ===== */
.hero-asesoramiento {
  height: 50vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('https://images.unsplash.com/photo-1524638431109-93d95c968f03?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
}

.hero-asesoramiento h1 {
  font-size: 2.2rem;
}

.hero-asesoramiento p {
  font-size: 1.1rem;
}

/* Iconos y tarjetas */
.bi {
  color: #e91e63;
}

.border {
  border-color: #f0f0f0 !important;
}

.btn-dark:hover {
  background-color: #444;
}
/* ===== BLOG ===== */
.hero-blog {
  height: 45vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('https://images.unsplash.com/photo-1515378791036-0648a3ef77b2?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
}

.hero-blog h1 {
  font-size: 2.2rem;
}

.card img {
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.2rem 1.4rem;
}

.card-text {
  font-size: 0.95rem;
}
/* ===== CONTACTO ===== */
.hero-contacto {
  height: 45vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('../img/unsplash/photo-1521791136064-7986c2920216.jpeg')
    center/cover no-repeat;
}

form .form-control {
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

form .btn {
  margin-top: 10px;
  font-weight: 600;
  padding: 0.75rem;
}

form .btn:hover {
  background-color: #333;
}
/* ===== ASESORAMIENTO SEXOLÓGICO 2 ===== */
.hero-asesoramiento {
  height: 45vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('https://images.unsplash.com/photo-1593508512255-86ab42a8e620?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
}

.hero-asesoramiento h1 {
  font-size: 2.3rem;
}

.card-body p {
  font-size: 0.95rem;
}
/* ===== INICIO 2 ===== */
.hero-inicio {
  height: 85vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1601987077426-29b1a7ca8e8b?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
}

.hero-inicio h1 {
  font-size: 2.5rem;
}

.hero-inicio .btn {
  background-color: #fff;
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-inicio .btn:hover {
  background-color: #f1f1f1;
}

section h3 {
  font-size: 1.8rem;
}

section p {
  color: #444;
  line-height: 1.6;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
/* ===== SOBRE MÍ 2 ===== */
.hero-sobremi {
  height: 60vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
}

.text-acento {
  color: #d94f70;
}

.cita-section {
  background-color: #fff0f3;
  color: #333;
}

.cita-section blockquote {
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}
/* ===== SECCIÓN DE PRECIOS ===== */
.precios-section {
  background-color: #fff8f9;
}

.precio-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.precio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.precio-card h2 {
  font-size: 2.2rem;
}

.destacado {
  border: 2px solid #d94f70;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(217, 79, 112, 0.15);
}

.destacado-etiqueta {
  position: absolute;
  top: -12px;
  right: 16px;
  background-color: #d94f70;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}
/* ========== SECCIÓN DE PRECIOS RESPONSIVE ========== */
.precios-section {
  background-color: #fff8f9;
}

.card-precio {
  background: #fff;
  border: 2px solid #f1d2d8;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 12px rgba(217, 79, 112, 0.08);
  transition: all 0.3s ease;
}

.card-precio:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(217, 79, 112, 0.2);
}

.card-precio.destacado {
  border-color: #d94f70;
  background: linear-gradient(180deg, #fff0f3 0%, #ffffff 100%);
}

.card-precio h4 {
  font-weight: 600;
  color: #d94f70;
  margin-bottom: 10px;
}

.card-precio .precio {
  font-size: 2rem;
  font-weight: 700;
  color: #d94f70;
}

.card-precio .descripcion {
  color: #555;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.card-precio ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.card-precio ul li {
  color: #444;
  margin-bottom: 6px;
}

.card-precio .btn {
  border-radius: 25px;
  padding: 8px 20px;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .card-precio {
    padding: 25px 20px;
  }
  .card-precio .precio {
    font-size: 1.6rem;
  }
}


/* ======== EFECTO FADE-IN ======== */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ======== HERO DE TALLERES ======== */
.hero-talleres {
  background: linear-gradient(rgba(217, 79, 112, 0.5), rgba(217, 79, 112, 0.5)),
              url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  height: 60vh;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ======== TARJETAS DE TALLERES ======== */
.card-taller {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(217, 79, 112, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-taller:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(217, 79, 112, 0.2);
}

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

.card-taller ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.card-taller ul li {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 4px;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .hero-talleres {
    height: 45vh;
    background-position: center;
  }
  .card-taller img {
    height: 180px;
  }
}
/* Logo adaptativo */
.logo {
    height: 50px;          /* altura por defecto en escritorio */
    width: auto;           /* mantiene proporciones */
    max-width: 100%;       /* evita que se desborde en móviles */
}

/* Ajuste en móviles */
@media (max-width: 768px) {
    .logo {
        height: 40px;      /* reduce altura en móviles */
    }
}
