body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #374151;
}

#intro-section {
  background: #fff;
  padding: 40px 20px;
}

.intro-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.intro-img, .intro-text {
  flex: 1 1 48%;
}

.intro-img img {
  max-width: 100%;
  border-radius: 10px;
}

.intro-img figure {
  margin: 0;
  text-align: center;
}

.intro-img figcaption {
  font-size: 1rem;
  color: #6b7280;
  margin-top: 8px;
}

.intro-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.intro-text p {
  font-size: 1.1rem;
  color: #374151;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .intro-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .intro-img, .intro-text {
    width: 100%;
  }
}



body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  margin-left: 20px;
  color: black;
  text-decoration: none;
  font-weight: bold;
}
header {
  background: #ffffff;
  color: black;
  padding: 20px 0;
}
 .header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

/* Ajusta el tamaño porque los favicons suelen ser pequeños (32 × 32 px) */
.logo-icon {
  height: 40px;      /* prueba 40-48 px para que se vea bien */
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;         /* si lo usas como <h1> */
}

/* INTRO */
.intro-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
.intro-grid > .intro-img,
.intro-grid > .intro-text {
  width: 50%;
}
.intro-img img {
  max-width: 100%;
  border-radius: 10px;
}
.intro-img figure {
  margin: 0;
  text-align: center;
}
.intro-img figcaption {
  font-size: 1rem;
  color: #6b7280;
  margin-top: 8px;
}
.intro-text h1 {
  font-size: 3rem;
  line-height: 1.2;
}
.intro-text h2 {
  font-size: 1.5rem;
  margin-top: 10px;
}

/* Responsive intro */
@media (max-width: 768px) {
  .intro-grid > .intro-img,
  .intro-grid > .intro-text {
    width: 100%;
    text-align: center;
  }
}

/* PLANES */
.planes-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.plan {
  flex: 1;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.plan.destacado {
  border: 2px solid #f59e0b;
  box-shadow: 0 0 10px rgba(245,158,11,0.3);
}
.plan .precio {
  font-size: 1.5em;
  font-weight: bold;
  margin: 10px 0;
}
.plan ul {
  list-style: none;
  padding: 0;
}
li.destacado {
  font-weight: bold;
  text-align: center;
}

/* TESTIMONIOS */
.testimonios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.testimonio {
  flex: 1;
  text-align: center;
  background: #f9fafb;
  padding: 20px;
  border-radius: 10px;
}
.testimonio img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

/* SERVICIOS */
.servicios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.servicio {
  flex: 1;
  text-align: center;
  background: #f9fafb;
  padding: 20px;
  border-radius: 10px;
}
.servicio img {
  max-width: 80px;
  margin-bottom: 10px;
}

/* INSIGHTLAB */
#insightlab .diagnosticos-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
  align-items: stretch;
}
#insightlab .card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#insightlab .card h3 {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #111827;
}
#insightlab .card p {
  font-size: 0.95em;
  color: #4b5563;
}
#insightlab .card button {
  margin-top: 15px;
  background-color: #f59e0b;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
#insightlab .card button:hover {
  background-color: #d97706;
}

/* BOTONES */
button {
  background-color: #f59e0b;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

/* RESPONSIVE GENERAL */
@media (max-width: 768px) {
  .header-flex,
  .planes-grid,
  .testimonios-grid,
  .servicios-grid {
    flex-direction: column;
    text-align: center;
  }
}
/* ==== FOOTER ==== */
.site-footer{
  background:#f9fafb;
  color:#131313;
  padding:2rem 1rem;
  font-size:.9rem;
}

/* --- FOOTER DESKTOP --- */
.footer-content{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:2rem;
}
.footer-left{
  flex:1 1 600px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.footer-nav{
  display:flex;
  gap:2rem;
  flex-wrap:wrap;
  justify-content:center;
}
.footer-right{
  flex:0 0 auto;
  text-align:right;
}
.footer-logo{
  max-width:60px;     /* o el tamaño que te guste */
  height:auto;
}

/* --- RESPONSIVE GENERAL (≤ 768 px) --- */
@media (max-width:768px){
  .footer-content{
    flex-direction:column;
  }
  .footer-right{
    order:-1;          /* logo arriba */
    width:100%;
    text-align:center;
    margin-bottom:1rem;
  }
  .footer-nav a{
    display:block;
    margin:.25rem 0;
  }
}
