/* ============================================
   ¿QUÉ ES SOMOSLOMAS? — que-es-somoslomas.php
   Todas las fotos van sin texto encima, con el mismo
   radio y los mismos márgenes. Las editoriales comparten
   ancho (960px) y proporción 3:2; el hero es más grande.
   ============================================ */

.qs { padding: 3.5rem 1.25rem 4.5rem; }

/* ---- Encabezado + hero ---- */
.qs-head { max-width: 760px; margin: 0 auto 2.25rem; text-align: center; }
.qs-head h1 {
  font-family: var(--font-d); font-size: clamp(36px, 5.2vw, 56px);
  font-weight: 700; color: var(--dark); line-height: 1.08;
}

.qs-hero,
.qs-foto {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--cream); box-shadow: var(--shadow-md);
}
.qs-hero { max-width: 1200px; margin: 0 auto 3rem; }
.qs-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.qs-foto { margin: 2.25rem 0 0; }
.qs-foto img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---- Columna de lectura ---- */
.qs-body { max-width: 960px; margin: 0 auto; }
.qs-sec { padding: 3.25rem 0; border-top: 1px solid var(--border); }
.qs-sec:first-child { border-top: 0; padding-top: 0; }
.qs-sec > :not(.qs-foto):not(.qs-panel) { max-width: 720px; margin-left: auto; margin-right: auto; }

.qs-sec h2 {
  font-family: var(--font-d); font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700; color: var(--dark); line-height: 1.18; margin-bottom: 1.1rem;
}
.qs-sec p { font-size: 17px; line-height: 1.75; color: var(--text); margin-bottom: 1rem; }
.qs-sec p.qs-lead { font-size: 20px; line-height: 1.65; color: var(--dark); }
.qs-sec strong { color: var(--dark); font-weight: 600; }

.qs-sec p.qs-mas { margin: .25rem auto 0; font-size: 15px; }
.qs-mas a { font-weight: 600; color: var(--red); }
.qs-mas a:hover { color: var(--red-dark); text-decoration: underline; }

/* ---- Listas ---- */
.qs-checks {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: .6rem 1.5rem; margin: .5rem auto 1.5rem;
}
.qs-checks li {
  position: relative; padding-left: 1.75rem;
  font-size: 16px; line-height: 1.5; color: var(--text);
}
.qs-checks li::before {
  content: ''; position: absolute; left: 0; top: .2em;
  width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--red-light);
}
.qs-checks li::after {
  content: ''; position: absolute; left: .38rem; top: .42em;
  width: .3rem; height: .55rem; border: solid var(--red); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.qs-preguntas { list-style: none; margin: .25rem auto 1.5rem; display: grid; gap: .6rem; }
.qs-preguntas li {
  background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--red);
  border-radius: var(--radius-md); padding: .8rem 1.1rem;
  font-family: var(--font-d); font-style: italic; font-size: 18px; color: var(--dark);
}

.qs-temas { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem auto 1.5rem; }
.qs-temas li {
  font-size: 14px; padding: 6px 14px; border-radius: var(--radius-full);
  background: var(--white); border: 1px solid var(--border); color: var(--text);
}

/* ---- SomosLomas para negocios ---- */
.qs-panel {
  background: var(--dark); border-radius: var(--radius-lg);
  padding: 2.75rem clamp(1.5rem, 5vw, 3.5rem);
}
.qs-panel h2 { color: var(--white); }
.qs-panel p { color: rgba(255,255,255,.72); max-width: 640px; }
.qs-panel .btn { margin-top: .75rem; }

/* ---- Nota de actualización ---- */
.qs-nota {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}
.qs-nota p { font-size: 15px; margin-bottom: .5rem; }
.qs-nota p:last-child { margin-bottom: 0; }

/* ---- Preguntas frecuentes ---- */
.qs-faq { display: grid; gap: .6rem; }
.qs-faq details {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.qs-faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-size: 16px; font-weight: 600; color: var(--dark); line-height: 1.4;
}
.qs-faq summary::-webkit-details-marker { display: none; }
.qs-faq summary::after {
  content: '+'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--red); line-height: 1;
}
.qs-faq details[open] summary::after { content: '\2212'; }
.qs-faq summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: var(--radius-md); }
.qs-faq details p { padding: 0 1.25rem 1.1rem; margin: 0; font-size: 16px; }

/* ---- Firma ---- */
.qs-firma { text-align: center; padding-top: 3rem; border-top: 1px solid var(--border); }
.qs-firma__marca { font-family: var(--font-d); font-size: 26px; font-weight: 700; color: var(--dark); }
.qs-firma__marca span { color: var(--red); }
.qs-firma .eyebrow { margin: .5rem 0 0; color: var(--muted); }

@media (max-width: 768px) {
  .qs { padding-top: 2.25rem; }
  .qs-head { margin-bottom: 1.5rem; }
  .qs-hero { margin-bottom: 2.25rem; }
  .qs-hero, .qs-foto, .qs-panel { border-radius: var(--radius-md); }
  .qs-foto { margin-top: 1.75rem; }
  .qs-sec { padding: 2.5rem 0; }
  .qs-sec p { font-size: 16px; }
  .qs-sec p.qs-lead { font-size: 18px; }
  .qs-checks { grid-template-columns: 1fr; }
  .qs-preguntas li { font-size: 17px; }
}
