/* Generado desde style/conocenos.css — selectores encapsulados en #sq-app */
/* =============================================
   conocenos.css  –  Página Conócenos · GINES
   Destino: style/conocenos.css
============================================= */

#sq-app {
  --rosa-fondo:       #f3e7f1;
  --rosa-fondo-2:     #ecdcea;
  --dorado:           #a17613;
  --texto-principal:  #3A3A3A;
  --texto-secundario: #6B6B6B;
  /* SVG de líneas onduladas reutilizable */
  --ondas: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q15 0 30 30 Q45 60 60 30' fill='none' stroke='%23e3d3e0' stroke-width='1.5'/%3E%3C/svg%3E");
}

#sq-app * { box-sizing: border-box; margin: 0; padding: 0; }

/* -----------------------------------------------
   HERO PARALLAX
----------------------------------------------- */
#sq-app .parallax-hero {
  position: sticky;
  top: 0;
  height: 100vh;
  /* Velo rosado sobre la foto para que el texto oscuro siga siendo legible */
  background:
    linear-gradient(155deg, rgba(243,231,241,0.78) 0%, rgba(236,220,234,0.70) 100%),
    url("https://cdn.jsdelivr.net/gh/ginestsquarespace-stack/gines-assets@main/img/ginest-recepcion.webp") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  z-index: 0;
  overflow: hidden;
}
#sq-app .parallax-hero::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: rgba(161,118,19,0.07);
  top: -80px; right: -100px;
  pointer-events: none;
}
#sq-app .parallax-hero::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(161,118,19,0.05);
  bottom: -60px; left: -60px;
  pointer-events: none;
}
#sq-app .hero-badge {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dorado);
  font-weight: 700;
  margin-bottom: 20px;
}
#sq-app .hero-titulo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--texto-principal);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 20px;
}
#sq-app .hero-titulo span { color: var(--dorado); }
#sq-app .hero-linea {
  width: 60px; height: 3px;
  background: var(--dorado);
  border-radius: 2px;
  margin: 0 auto 24px;
}
#sq-app .hero-subtitulo {
  font-size: 1.05rem;
  color: var(--texto-secundario);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 36px;
}
#sq-app .hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--dorado);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
#sq-app .hero-scroll-hint svg { width: 20px; height: 20px; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* -----------------------------------------------
   CONTENIDO – sube encima del hero
----------------------------------------------- */
#sq-app .conocenos-contenido {
  position: relative;
  z-index: 10;
  background: #fff;
  border-radius: 28px 28px 0 0;
  margin-top: -40px;
  box-shadow: 0 -8px 40px rgba(100,72,95,0.10);
}

/* -----------------------------------------------
   BLOQUE INTRO (ginecología y obstetricia)
   Fondo rosa + líneas onduladas
----------------------------------------------- */
#sq-app .intro-bloque {
  width: 100%;
  padding: 80px 28px 70px;
  text-align: left;
  background-image: var(--ondas);
  background-size: 60px 60px;
}
#sq-app .intro-titulo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--dorado);       /* teal suave, como en la foto */
  margin-bottom: 20px;
  line-height: 1.25;
}
#sq-app .intro-titulo strong {
  font-weight: 900;
  color: var(--texto-principal);
}
#sq-app .intro-linea {
  width: 220px; height: 3px;
  background: var(--dorado);
  border-radius: 2px;
  margin: 0 auto 28px;
}
#sq-app .intro-subtitulo {
  font-size: 1rem;
  font-weight: 400;
  color: var(--texto-secundario);
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: center;
}
#sq-app .intro-texto {
  font-size: 0.95rem;
  color: var(--texto-secundario);
  line-height: 1.78;
  text-align: left;
  margin-bottom: 32px;
}
/* Aviso de protocolo sanitario */
#sq-app .intro-aviso {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #f5eee0;
  border-radius: 10px;
  padding: 20px 24px;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}
#sq-app .intro-aviso-icono {
  color: var(--dorado);
  flex-shrink: 0;
  margin-top: 2px;
}
#sq-app .intro-aviso p {
  font-size: 0.92rem;
  color: var(--texto-secundario);
  line-height: 1.65;
}

/* -----------------------------------------------
   BLOQUE CUADRO MÉDICO (tarjetas × 2)
   Fondo blanco limpio – SIN ondas en las tarjetas
----------------------------------------------- */
#sq-app .cuadro-bloque {
  padding: 70px 28px 80px;
  text-align: left;
  background: #fff var(--ondas);
  background-size: 60px 60px;
}
#sq-app .cuadro-titulo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--texto-principal);
  margin-bottom: 10px;
}
#sq-app .cuadro-subtitulo {
  font-size: 1rem;
  color: var(--dorado);
  font-weight: 500;
  margin-bottom: 14px;
}
#sq-app .cuadro-texto {
  font-size: 0.92rem;
  color: var(--texto-secundario);
  max-width: 100%;
  margin: 0 0 10px;
  line-height: 1.7;
}
#sq-app .cuadro-linea {
  width: 80px; height: 3px;
  background: var(--dorado);
  border-radius: 2px;
  margin: 0 0 48px;
}

/* Grid 2 columnas */
#sq-app .doctoras-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  #sq-app .doctoras-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tarjeta – sin fondo de ondas, fondo rosa en info */
#sq-app .doctora-card {
  border-radius: 0;           /* esquinas rectas como en la foto */
  overflow: hidden;
  background: #faf3e7;
  box-shadow: 0 2px 16px rgba(150,120,145,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}
#sq-app .doctora-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(168,124,165,0.18);
}
#sq-app .doctora-foto {
  width: 100%; height: 320px;
  object-fit: cover; object-position: top;
  display: block;
}
#sq-app .doctora-info {
  padding: 20px 20px 24px;
  background: var(--rosa-fondo);   /* rosa – sin ondas */
  flex: 1;
}
#sq-app .doctora-nombre {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto-principal);
  margin-bottom: 10px;
}
#sq-app .doctora-desc {
  font-size: 0.85rem;
  color: var(--texto-secundario);
  line-height: 1.65;
}

/* ── BLOG CTA ── */
#sq-app .blog-cta-bloque {
  margin: 0 auto;
  max-width: 100%;
  padding: 48px 28px;
  background: #fff var(--ondas);
  background-size: 60px 60px;
}
#sq-app .blog-cta-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, #f6edf5 0%, #efe3ee 100%);
  border: 1px solid #dcc2da;
  border-radius: 18px;
  padding: 36px 40px;
}
#sq-app .blog-cta-icono {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: #faf3e7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a87ca5;
  box-shadow: 0 4px 12px rgba(168,124,165,.15);
}
#sq-app .blog-cta-texto {
  flex: 1;
}
#sq-app .blog-cta-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 8px;
  line-height: 1.3;
}
#sq-app .blog-cta-desc {
  font-size: .88rem;
  color: #6b6b6b;
  line-height: 1.65;
}
#sq-app .blog-cta-btn {
  flex-shrink: 0;
  background: #a87ca5;
  color: #faf3e7;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 30px;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s;
}
#sq-app .blog-cta-btn:hover {
  background: #8f5f8c;
}

@media (max-width: 640px) {
  #sq-app .blog-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
  #sq-app .blog-cta-btn { width: 100%; text-align: center; }
}

/* -----------------------------------------------
   CTA FINAL
----------------------------------------------- */
#sq-app .cta-seccion {
  background: linear-gradient(135deg, var(--rosa-fondo) 0%, var(--rosa-fondo-2) 100%);
  text-align: center;
  padding: 80px 28px;
}
#sq-app .cta-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--texto-principal);
  margin-bottom: 12px;
}
#sq-app .cta-texto {
  font-size: 1rem;
  color: var(--texto-secundario);
  margin-bottom: 32px;
}
#sq-app .cta-btn {
  display: inline-block;
  border: 2px solid var(--dorado);
  color: var(--dorado);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 40px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
#sq-app .cta-btn:hover { background: var(--dorado); color: #faf3e7; }

/* -----------------------------------------------
   ANIMACIONES fade-up
----------------------------------------------- */
#sq-app .fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
#sq-app .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* El hero es sticky (z-index 0): el footer compartido y la línea de créditos
   deben ir por encima para no quedar tapados por él al final de la página. */
#sq-app #footer,
#sq-app > footer {
  position: relative;
  z-index: 10;
}
