/* ═══════════════════════════════════════════════════
   MosquitData - pages.css
   Estilos para páginas de contenido
═══════════════════════════════════════════════════ */

.page-hero {
  padding: 5rem 3rem 0rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}
.page-hero .eyebrow {
  font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray);
  margin-bottom: 1rem; display: block;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400; line-height: 1.15;
  margin-bottom: 1.5rem;
}
.page-hero .lead {
  font-size: 1.2rem; line-height: 1.7;
  color: #444;
  max-width: 100%;
  text-align: justify;
}

.page-divider {
  border: none; border-top: 1px solid var(--border);
  max-width: 800px; margin: 0 auto;
}

.page-content {
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

.page-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 400;
  margin: 2.5rem 0 1rem;
}
.page-content h2:first-child { margin-top: 0; }

.page-content p {
  font-size: 1.05rem; line-height: 1.8;
  color: #333; margin-bottom: 1.2rem;
  text-align: justify;
}

.page-content ul, .page-content ol {
  padding-left: 1.4rem; margin-bottom: 1.2rem;
}
.page-content li {
  font-size: 1.05rem; line-height: 1.8; color: #333; margin-bottom: 0.4rem;
  text-align: justify;
}

.page-content a { color: var(--ink); }
.page-content a:hover { opacity: 0.7; }

/* ── BLOCKQUOTE ──────────────────────────────────── */
.page-content blockquote {
  border-left: 4px solid var(--border);
  border-radius: 0 4px 4px 0;
  padding: 0.8rem 1.2rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
  text-align: justify;
}
.page-content blockquote strong {
  font-style: normal;
  color: var(--ink);
}

/* ── CARDS GRID (para que sirve, como funciona) ── */
.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 1.2rem 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.card-icon { font-size: 2.5rem; flex-shrink: 0; margin-top: 0.2rem; }
.card-body { display: flex; flex-direction: column; gap: 0.3rem; }
.card h3   { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 400; margin: 0; }
.card p    { font-size: 1rem; line-height: 1.5; color: #555; margin: 0; }

/* ── STEPS (como funciona) ───────────────────────── */
.steps { display: flex; flex-direction: column; gap: 2rem; margin: 2rem 0; }
.step  { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.1rem;
}
.step-body h3   { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 400; margin-bottom: 0.3rem; }
.step-body p    { font-size: 0.95rem; line-height: 1.6; color: #555; }

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; margin: 1rem 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 0; cursor: pointer; text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 500; color: var(--ink);
  gap: 1rem;
}
.faq-q .arrow {
  font-size: 1rem; transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  font-size: 1rem; line-height: 1.7; color: #444;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  text-align: justify;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1.2rem; }

/* ── LEGAL PAGES (privacidad, terminos) ──────────── */
.legal-meta {
  font-size: 0.82rem; color: var(--gray); margin-bottom: 2rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.page-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 400;
  margin: 1.8rem 0 0.6rem;
}

/* ── RESPONSIVE PAGES ────────────────────────────── */
@media (max-width: 720px) {
  .page-hero    { padding: 3rem 1.5rem 0rem; }
  .page-content { padding: 2rem 1.5rem; }
  .cards-grid   { grid-template-columns: 1fr; }
  .page-hero .lead { text-align: left; }
  .page-content p,
  .page-content li,
  .page-content blockquote,
  .faq-a { text-align: left; }
}