/* PrecioReal — Estilos compartidos para páginas de contenido SEO */
/* Aplica el design system: Cinzel (headings) + Josefin Sans (body) · paleta teal */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F0FDFA;
  font-family: 'Josefin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #134E4A;
  -webkit-font-smoothing: antialiased;
  line-height: 1.75;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  background: rgba(240,253,250,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #CCFBF1;
  padding: 0 24px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #0F766E;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-cta {
  background: #0F766E;
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
}
.nav-cta:hover { background: #0D6460; transform: translateY(-1px); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.page { max-width: 760px; margin: 0 auto; padding: 52px 24px 96px; }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  font-size: 12px;
  color: #5EEAD4;
  margin-bottom: 28px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: #5EEAD4; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: #99F6E4; }

/* ── BADGE (etiqueta de categoría) ───────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #CCFBF1;
  color: #0F766E;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ── TIPOGRAFÍA ──────────────────────────────────────────── */
h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #134E4A;
  margin: 0 0 20px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #0F766E;
  margin: 52px 0 16px;
  letter-spacing: 0.01em;
  padding-top: 8px;
  border-top: 1px solid #CCFBF1;
}
h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #134E4A;
  margin: 28px 0 10px;
  letter-spacing: 0.01em;
}
.intro {
  font-size: 17px;
  color: #1F6B61;
  line-height: 1.8;
  margin-bottom: 44px;
  font-weight: 300;
  border-left: 3px solid #5EEAD4;
  padding-left: 20px;
}
p { margin: 0 0 16px; font-size: 15px; }
ul, ol { padding-left: 26px; margin: 0 0 18px; }
li { margin-bottom: 9px; font-size: 15px; line-height: 1.65; }
strong { font-weight: 700; color: #0F766E; }
a { color: #0F766E; }
a:hover { text-decoration: underline; }

/* ── CALLOUT ─────────────────────────────────────────────── */
.callout {
  background: #fff;
  border: 1px solid #CCFBF1;
  border-left: 4px solid #0F766E;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}
.callout p { margin: 0; }
.callout.warning { border-left-color: #EAB308; }
.callout.insight { border-left-color: #5EEAD4; }

/* ── STAT GRID ───────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.stat-card {
  background: #fff;
  border: 1px solid #CCFBF1;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
}
.stat-number {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0F766E;
  display: block;
  line-height: 1;
  margin-bottom: 7px;
}
.stat-label {
  font-size: 12px;
  color: #6B9E98;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.45;
}

/* ── COMPARISON TABLE ────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.compare-table thead { background: #0F766E; color: #fff; }
.compare-table th {
  padding: 13px 16px;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #CCFBF1;
  vertical-align: top;
}
.compare-table tr:nth-child(even) td { background: #fff; }
.compare-table tr:nth-child(odd) td { background: #F0FDFA; }
.check { color: #16A34A; font-weight: 700; }
.cross { color: #DC2626; font-weight: 700; }
.neutral { color: #CA8A04; font-weight: 700; }

/* ── PRICE BADGE ─────────────────────────────────────────── */
.price-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.price-high { background: #FEE2E2; color: #DC2626; }
.price-mid  { background: #FEF9C3; color: #CA8A04; }
.price-low  { background: #DCFCE7; color: #16A34A; }

/* ── FEATURE GRID ────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.feature-card {
  background: #fff;
  border: 1px solid #CCFBF1;
  border-radius: 14px;
  padding: 22px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 14px; }
.feature-card p { margin: 0; font-size: 13px; color: #5F9EA0; line-height: 1.6; }

/* ── STEPS LIST ──────────────────────────────────────────── */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #CCFBF1;
  border-radius: 12px;
  padding: 16px 20px;
}
.steps li::before {
  content: counter(step);
  min-width: 30px;
  height: 30px;
  background: #0F766E;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.faq { margin: 52px 0 0; }
.faq-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #0F766E;
  margin: 0 0 8px;
  padding-top: 8px;
  border-top: 1px solid #CCFBF1;
}
details { border-bottom: 1px solid #CCFBF1; padding: 16px 0; }
summary {
  font-size: 15px;
  font-weight: 700;
  color: #134E4A;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.45;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 22px;
  color: #0F766E;
  font-weight: 300;
  flex-shrink: 0;
}
details[open] summary::after { content: '−'; }
.faq-answer { margin-top: 12px; font-size: 15px; color: #1F6B61; line-height: 1.75; }

/* ── CTA BOX ─────────────────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, #0F766E 0%, #115E59 100%);
  border-radius: 18px;
  padding: 44px 36px;
  text-align: center;
  margin: 52px 0;
}
.cta-box h2 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 1.55rem;
  border: none;
  padding: 0;
}
.cta-box p { color: #99F6E4; margin: 0 0 28px; font-size: 15px; line-height: 1.65; }
.cta-btn {
  display: inline-block;
  background: #fff;
  color: #0F766E;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 36px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.02em;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  text-decoration: none;
}
.cta-note {
  font-size: 12px;
  color: #5EEAD4;
  margin-top: 14px;
  margin-bottom: 0;
  letter-spacing: 0.03em;
}

/* ── RELATED LINKS ───────────────────────────────────────── */
.related { margin: 40px 0 0; }
.related h2 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: #0F766E;
  border: none;
  padding: 0;
}
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 10px; font-size: 14px; }
.related a::before { content: '→ '; color: #5EEAD4; font-weight: 700; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid #CCFBF1;
  padding: 36px 24px;
  text-align: center;
  font-size: 13px;
  color: #6B9E98;
}
footer a { color: #6B9E98; margin: 0 10px; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-note { margin-top: 10px; font-size: 11px; color: #99BAB6; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .page { padding: 32px 16px 64px; }
  h1 { font-size: 1.65rem; }
  .cta-box { padding: 32px 20px; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 9px 10px; }
}
