/* ========================= */
/* Reset y base              */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: #fff;
  background: #fdf8fa;
  background-attachment: fixed;
  line-height: 1.6;
}

.fa-seedling { color: #E94B8B; }
.fa-fire { color: #E94B8B; }
.fa-bolt { color: #E94B8B; }

.fa-seedling, .fa-fire, .fa-bolt {
  margin-right: 8px;
  font-size: 1.2rem;
}


/* ========================= */
/* Header                    */
/* ========================= */
.header {
  background-color: #060e1e;
  color: #fff;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 20px;
}

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

.header-left img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-center {
  text-align: center;
}

.header-center .frase {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  
}

.header-right .btn {
  display: inline-block;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  text-align: center;
  font-size: clamp(0.8rem, 2vw, 1rem);
  padding: clamp(6px, 1.5vw, 10px) clamp(14px, 4vw, 24px);
  min-width: clamp(100px, 25vw, 140px);
}

.header-right .btn-primary {
  background-color: #E94B8B;
  color: #fff;
}

.header-right .btn-primary:hover {
  background-color: #fff;
  color: #ff6ec4;
}

/* ========================= */
/* Hero                      */
/* ========================= */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding-top: calc(80px + 2rem);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(-45deg, #D03D84, #6A2B8D, #6a11cb, #ff6ec4);
  background-size: 500% 500%;
  animation: gradientMove 10s ease-in-out infinite;
  z-index: -1;
  opacity: 0.25;
}

.hero-img {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 20% 80%;
  z-index: -2;
}

@keyframes gradientMove {
  0%   { background-position: 0% 30%; }
  50%  { background-position: 100% 70%; }
  100% { background-position: 0% 30%; }
}

.hero-container {
  max-width: 1000px;
  padding: 40px 20px;
  z-index: 1;
  margin: 0 auto;
  margin-top: -15px;
  
  
}


.hero-title {
  font-weight: bold;
  line-height: 1.15;
  margin-bottom: 2rem;
  font-size: clamp(1.2rem, 5vw, 3rem);
  white-space: normal;
  
  
}

.hero-subtitle {
  margin-bottom: 16px;
  line-height: 1.5;
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  white-space: normal;
  opacity: 0.9;
}

.hero-container .btn {
  display: inline-block;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  text-align: center;
  margin-top: 32px;
}

.btn-primary {
  background-color: #fff;
  color: #E94B8B;
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  padding: clamp(10px, 2vw, 16px) clamp(28px, 5vw, 56px);
  min-width: clamp(140px, 40vw, 220px);
}

.btn-primary:hover {
  background-color: #E94B8B;
  color: #fff;
}

/* ========================= */
/* Beneficios                */
/* ========================= */
.beneficios {
  /* MEJORA: menos padding vertical, más compacto */
  padding: 60px 20px;
  color: #2D0A1D;
  text-align: center;
}

.section-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #9D1D5E;
  margin-bottom: 10px;
  font-weight: bold;
}

.section-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: bold;
  margin-bottom: 36px;
  color: #2D0A1D;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* MEJORA: cards con altura uniforme usando flex justify */
.card {
  background-color: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;

  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(208, 61, 132, 0.15);
  transform: translateY(-4px);
}

.card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f9e0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #d03d84;
}

.card-content {
  flex: 1;
}

.card-title {
  font-size: clamp(0.9rem, 2.8vw, 1.05rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: #2D0A1D;
}

.card-text {
  font-size: clamp(0.8rem, 2.2vw, 0.9rem);
  color: #4A1D33;
  line-height: 1.5;
  opacity: 0.7;
}

/* ========================= */
/* Contenido                 */
/* ========================= */
.contenido {
  padding: 50px 20px;
  background-color: #fdf8fa;
  text-align: center;
  color: #2D0A1D;
}

.contenido-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px;
  background-color: rgba(219, 200, 218, 0.5);
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.contenido .section-title {
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  margin-bottom: 16px;
}

.contenido .section-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: #4A1D33;
  margin-bottom: 36px;
  line-height: 1.5;
  opacity: 0.8;
}

.contenido .cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contenido .card {
  background-color: #fff;
  border-radius: 20px;
  padding: 24px;
  gap: 10px;
}

/* ========================= */
/* CTA                       */
/* ========================= */
.cta {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #D03D84, #6A2B8D, #6a11cb, #ff6ec4);
  background-size: 500% 500%;
  animation: gradientMove 10s ease-in-out infinite;
  z-index: 1;
  opacity: 0.6;
}

.cta .section-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: bold;
  margin-bottom: 36px;
  color: #f9e0ec;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 70%;
  z-index: 0;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.cta-text {
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin-bottom: 36px;
  color: #f9e0ec;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.cta-card {
  background-color: rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.cta-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  background-color: rgba(255,255,255,0.15);
}

.cta-icon {
  font-size: 1.5rem;
  color: #f9e0ec;
  margin-bottom: 10px;
}

.cta-card-title {
  font-size: 1rem;
  font-weight: 600;
}

.btn-highlight {
  display: inline-block;
  padding: 14px 40px;
  background-color: #fff;
  color: #d03d84;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-highlight:hover {
  background-color: #E94B8B;
  color: #fff;
}

/* ========================= */
/* Sobre mí                  */
/* ========================= */
.sobre-mi {
  padding: 60px 20px;
  background-color: #fdf8fa;
  color: #2D0A1D;
}

.sobre-mi-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 0 auto;
  align-items: center;
}

.sobre-mi-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.5;
  border-radius: 32px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-mi-img img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 24px 40px rgba(0,0,0,0.2);
}

.sobre-mi-content {
  text-align: center;
  color: #2D0A1D;
}

.sobre-mi .section-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: #9D1D5E; /* título más vibrante */
  font-weight: 700;
  margin-bottom: 16px;
}

.bio {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #3A1A2C; /* tono más fuerte para párrafos */
  opacity: 1;
  text-align: justify;
}

.bio-list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 500px;
}

.bio-list li {
  flex: 1 1 100px;
  text-align: center;
  font-weight: bold;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: #2D0A1D;
  transition: transform 0.3s ease;
}

.bio-list li span {
  display: block;
  font-size: 2.2rem;
  color: #d03d84;
  margin-bottom: 4px;
  transition: transform 0.3s ease, color 0.3s ease;
}


.bio-list li:hover span {
  transform: scale(1.15);
  color: #b0306d;
}


/* ========================= */
/* Funcionamiento            */
/* ========================= */
.funcionamiento {
  padding: 60px 20px;
  background-color: rgba(219, 200, 218, 0.5);
  text-align: center;
  color: #2D0A1D;
}

.funcionamiento .section-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: bold;
  margin-bottom: 8px;
}

.funcionamiento .section-subtitle {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: #4A1D33;
  margin-bottom: 40px;
  line-height: 1.5;
  opacity: 0.8;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  background-color: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(208, 61, 132, 0.12);
}

/* MEJORA: número más visible con color rosa más intenso */
.step-number {
  display: block;
  font-size: 2.4rem;
  font-weight: bold;
  color: #d03d84;
  margin-bottom: 10px;
  opacity: 0.3;
  line-height: 1;
}

.step-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #2D0A1D;
}

.step-text {
  font-size: 0.9rem;
  color: #4A1D33;
  line-height: 1.5;
  opacity: 0.75;
}

/* ========================= */
/* Testimonios               */
/* ========================= */
.testimonios {
  padding: 60px 20px;
  background-color: #fdf8fa;
  text-align: center;
  color: #2D0A1D;
  
}

.testimonios .section-title {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: bold;
  margin-bottom: 10px;
}

.testimonios .section-subtitle {
  font-size: clamp(0.8rem, 2.5vw, 1.0rem);
  color: #4A1D33;
  margin-bottom: 50px;
  line-height: 1.5;
}

/* Wrapper posiciona los botones */
.carousel-wrapper {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

/* Carrusel con overflow visible para ver tarjetas laterales */
.carousel {
  overflow: hidden;
  padding: 30px 0 40px;
}

.carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease;
  gap: 24px;
  will-change: transform;
}

/* Mobile/Tablet: 1 card a la vez, ancho completo del wrapper */
.testimonial-card {
  flex: 0 0 360px;
  background-color: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease;
  opacity: 1;
  transform: scale(1);

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* empuja las estrellas al fondo */
  min-height: 280px;              
  

}

/* Card activa — elevada y a escala completa */
.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 8px 24px rgba(208, 61, 132, 0.15);
  
}

.stars {
  font-size: 1.1rem;
  margin-bottom: 10px;
  align-self: flex-end;
}
.stars i {
  color: #4A1D33;
  margin: 0 2px;
  font-size: 1.1rem;
}

.quote {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #4A1D33;


  flex-grow: 1; /* ocupa espacio y empuja las estrellas hacia abajo */
  display: flex;
  align-items: center; /* centra verticalmente el texto */
}

.testimonial-card .quote {
    display: -webkit-box;
    -webkit-line-clamp: 5; /* cantidad de líneas visibles */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .testimonial-card.expanded .quote {
    -webkit-line-clamp: unset; /* muestra todo el texto */
  }

  .read-more-btn {
    background: none;
    border: none;
    color: #d03d84; /* tu color principal */
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    font-size: 0.85rem;
  }

.author {
  font-weight: bold;
  font-size: 0.9rem;
  color: #2D0A1D;
  display: flex;
  align-items: center;
  gap: 8px;
  
}

.author span {
  display: block;
  font-size: 0.75rem;
  font-weight: normal;
  color: #6A2B8D;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e0b4ce;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background-color: #d03d84;
  transform: scale(1.3);
}

/* Botones prev/next */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #d03d84;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  z-index: 10;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: #b0306d;
}

.carousel-btn.prev { left: -15px; }
.carousel-btn.next { right: -15px; }

/* ========================= */
/* FAQ                       */
/* ========================= */
.faq {
  padding: 60px 20px;
  background-color: #fdf8fa;
  text-align: center;
  color: #2D0A1D;
}

.faq .section-title {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: bold;
  margin-bottom: 36px;
}

.faq-container {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: #fff;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item[open] {
  box-shadow: 0 4px 16px rgba(208, 61, 132, 0.12);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  font-weight: 600;
  color: #2D0A1D;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::marker { display: none; }

.faq-icon {
  font-size: 1.3rem;
  color: #d03d84;
  font-weight: 300;
  transition: transform 0.3s ease;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: clamp(0.8rem, 2.2vw, 0.9rem);
  color: #4A1D33;
  line-height: 1.6;
  text-align: left;
  opacity: 0.8;
}

.faq-cta {
  margin-top: 40px;
  text-align: center;
}

.faq-summary {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

/* MEJORA: botón FAQ con clase propia para no conflictuar */
.faq-btn {
  display: inline-block;
  background-color: #E94B8B;
  color: #fff;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  padding: 14px 48px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.faq-btn:hover {
  background-color: #c73d77;
}

/* ========================= */
/* Footer                    */
/* ========================= */
.footer {
  background-color: #0d0d1a;
  color: #ccc;
  padding: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Marca — sección superior con fondo levemente diferente */
.footer-brand {
  padding: 36px 24px 28px;

}

.footer-logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #E94B8B;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #aaa;
  max-width: 100%;
}

/* Redes — centradas y con más aire */
.footer-col {
  padding: 24px 24px;

}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 14px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: #1e1e2e;
  color: #ccc;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  background-color: #E94B8B;
  color: #fff;
}

/* Contacto e Info — lado a lado en mobile */
.footer-cols-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-cols-bottom .footer-col {
  border-bottom: none;
}


.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #aaa;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s ease;
}

.footer-link:hover { color: #E94B8B; }

.footer-bottom {
  text-align: center;
  padding: 18px 24px;
  font-size: 0.72rem;
  color: #555;
  letter-spacing: 0.5px;
}

/* ========================= */
/* Media Queries             */
/* ========================= */

@media (max-width: 600px){
  .hero{
    min-height: 80vh;
  }
  .header-center { display: none; }

}

@media (max-width: 352px) {
  .header-left img { height: 50px; }
  .header-right .btn {
    font-size: 0.72rem;
    padding: 6px 14px;
    min-width: 100px;
  }
}

/* Tablet */
@media (min-width: 600px) and (max-width: 1023px) {

  .hero{
    min-height: 80vh;
  }

  .header-center { display: none; }
  .sobre-mi-img { max-width: 400px; }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }

  /* Marca ocupa las 2 columnas */
  .footer-brand {
    grid-column: 1 / -1;
    padding: 36px 32px 28px;
  }

  /* Redes ocupa las 2 columnas */
  .footer-main > .footer-col {
    grid-column: 1 / -1;
    padding: 24px 32px;
  }

  /* Contacto e info lado a lado */
  .footer-cols-bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-cols-bottom .footer-col {
    padding: 24px 32px;
  }

  .footer-bottom {
    grid-column: 1 / -1;
  }

   /* Beneficios: 3 columnas */
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Cards compactas en tablet */
  .card {
    padding: 24px 18px;
    gap: 10px;
  }

  .card-title { font-size: 1rem; }
  .card-text  { font-size: 0.85rem; }

  .contenido .cards { grid-template-columns: repeat(2, 1fr); }

  .cta-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }

  .sobre-mi-img { max-width: 800px; }

  .sobre-mi-content {
    flex: 1;
    max-width: 800px;   /* achica el ancho del texto */
    text-align: left;
    order: 1;
  }

  .bio-list {
    justify-content: center;
    gap: 30px;
    max-width: 500px;
    margin: 0 auto;
  }


  /* Testimonios desktop: 3 cards */
  .carousel-wrapper {
    max-width: 640px;
  }

  .carousel {
    padding: 20px 0 30px;
  }

  .testimonial-card {
    flex: 0 0 400px;
    opacity: 0.5;
    transform: scale(0.88);
  }

  .testimonial-card.active {
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 12px 32px rgba(208, 61, 132, 0.2);
  }

  .carousel-btn.prev { left: -18px; }
  .carousel-btn.next { right: -18px; }


}


/* Desktop */
@media (min-width: 1024px) {
  .hero{
    min-height: 95vh;
  }

  .hero-img {
    object-position: center 70%;
  }

  .cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .contenido-container {
    max-width: 80%;          
            
  }

  .contenido .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;                 /* antes 24px → menos separación */
  }

  .contenido .card {
    min-height: 120px;         /* antes 160px → más baja */
    padding: 18px;             /* antes 24px → menos aire interno */
    gap: 12px;
  }

  .contenido .card-title {
    font-size: 0.95rem;        /* un poco más chico */
  }

  .contenido .card-text {
    font-size: 0.85rem;        /* texto más compacto */
    line-height: 1.4;
  }

  .bio-list {
    justify-content: flex-start;
    gap: 28px;
    max-width: 440px;
    margin: 0;
  }

  .bio-list li span { font-size: 2.4rem; }

  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 1400px;
    padding: 0;
  }

  /* Testimonios desktop: 3 cards */
  .carousel-wrapper {
    max-width: 1020px;
  }

  .carousel {
    padding: 30px 0 40px;
  }

  .testimonial-card {
    flex: 0 0 320px;
    opacity: 0.5;
    transform: scale(0.88);
  }

  .testimonial-card.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(208, 61, 132, 0.2);
  }

  .carousel-btn.prev { left: -20px; }
  .carousel-btn.next { right: -20px; }

  .footer-main {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 50px 24px 40px;
  }

  .footer-brand,
  .footer-col {
    padding: 0;
    border-bottom: none;
  }

  .footer-cols-bottom {
    display: contents; /* los hijos se comportan como columnas del grid padre */
  }

  .footer-bottom {
    grid-column: 1 / -1;
  }

  .faq-container {
    max-width: 900px;   /* más ancho en desktop */
  }

  .faq-item {
    padding: 0;         /* mantiene estilo limpio */
  }

  .faq-summary {
    padding: 20px 28px; /* más aire lateral */
    font-size: 1rem;    /* texto un poco más grande */
  }

  .sobre-mi-container {
    flex-direction: row;
    align-items: stretch;   /* ambas columnas misma altura */
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
  }

  .sobre-mi-content,
  .sobre-mi-img {
    flex: 1;                /* mismo peso */
    max-width: 50%;         /* cada columna ocupa la mitad */
    max-height: 700px;
  }

  .sobre-mi-content {
    text-align: left;
    order: 1;               /* texto a la izquierda */
  }

  .sobre-mi-img {
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2;               /* imagen a la derecha */
  }

  .sobre-mi-img img {
    width: 100%;
    height: 100%;           /* que llene la columna */
    object-fit: cover;      /* recorta si hace falta */
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  }

}

@media (max-width: 400px) {
  /* Hero */
  .hero-container {
    max-width: 95%;
    margin-top: 0;
    padding: 16px 10px;
  }
  .hero-title {
    font-size: clamp(1.2rem, 7vw, 1.6rem);
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: clamp(0.75rem, 4.5vw, 0.9rem);
    line-height: 1.4;
  }
  .btn-primary {
    min-width: auto;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* Grillas en una sola columna */
  .cards,
  .contenido .cards,
  .cta-cards,
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Sobre mí */
  .sobre-mi-container {
    flex-direction: column;
    gap: 20px;
    padding: 16px 10px;
  }
  .sobre-mi-content,
  .sobre-mi-img {
    max-width: 100%;
  }

  /* Testimonios */
  .carousel-wrapper {
    max-width: 95%;
  }
  .testimonial-card {
    flex: 0 0 100%; /* se achica proporcionalmente */
  }

  /* Footer */
  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 20px 12px;
  }

  .footer-brand,
  .footer-col,
  .footer-cols-bottom {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
  }

  .footer-cols-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 20px;
    font-size: 0.7rem;
  }
  
}




