/* ════════════════════════════════════════════
   ContadorPro — style.css
   Compartido por las 3 páginas
════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,700;0,9..144,800;1,9..144,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --bg: #ffffff;
  --bg2: #f4fcf7;
  --bg3: #eaf8f0;
  --border: #d0eadc;
  --border2: #a2d4b8;
  --mint: #2dbe7a;
  --mint-dark: #209959;
  --mint-light: #c8f2e0;
  --mint-soft: #e6f9f0;
  --text: #0c2218;
  --text2: #1a3a28;
  --muted: #4a7860;
  --muted2: #88b49c;
  --danger: #d83232;
  --danger-soft: #fde8e8;
  --warn: #b56a08;
  --warn-soft: #fef2cc;
  --shadow-xs: 0 1px 4px rgba(0, 0, 0, .06);
  --shadow-sm: 0 2px 14px rgba(45, 190, 122, .09);
  --shadow-md: 0 6px 32px rgba(45, 190, 122, .13);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 7px;
  --max-w: 1300px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f2f2f2;
}

::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--mint);
}

/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
header {
  background: var(--mint);
  border-bottom: 2px solid var(--mint-dark);
  position: sticky;
  top: 0;
  z-index: 300;
  box-shadow: 0 2px 16px rgba(45, 190, 122, .32);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 62px;
  gap: 12px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  border: 2px solid rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-wrap:hover .logo-circle {
  transform: rotate(-10deg) scale(1.08);
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.logo-text span {
  color: rgba(255, 255, 255, .72);
}

/* Nav desktop */
.nav-tabs {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-tab {
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .84);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 30px;
  border: 1.5px solid transparent;
  transition: all .2s;
  background: rgba(255, 255, 255, .12);
  white-space: nowrap;
}

.nav-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .28);
}

.nav-tab.active {
  color: var(--mint-dark);
  background: #ffffff;
  border-color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-hdr {
  background: #fff;
  color: var(--mint-dark);
  border: none;
  border-radius: 30px;
  padding: 8px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-hdr:hover {
  background: var(--mint-soft);
  transform: translateY(-1px);
}

/* Hamburguesa */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .15);
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  cursor: pointer;
  padding: 7px;
  transition: background .2s;
}

.hamburger:hover {
  background: rgba(255, 255, 255, .25);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .25s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav móvil */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--mint-dark);
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding: 6px 0 10px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  background: transparent;
  border: none;
  padding: 13px 20px;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
  text-decoration: none;
  display: block;
}

.mobile-nav-item:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.mobile-nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, .18);
}

/* ════════════════════════════════════════════
   HERO — debajo de la herramienta
════════════════════════════════════════════ */
.hero {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding: 92px 20px 24px;
  text-align: center;
  border-top: none;
  background: linear-gradient(180deg, var(--bg2) 0%, #fff 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--mint-soft);
  color: var(--mint-dark);
  border: 1.5px solid var(--border2);
  border-radius: 30px;
  padding: 5px 16px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--mint);
}

.hero p {
  margin: 14px auto 0;
  max-width: 480px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.hero-chip {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  box-shadow: var(--shadow-xs);
}

/* ════════════════════════════════════════════
   BOTONES
════════════════════════════════════════════ */
.btn {
  border: none;
  cursor: pointer;
  border-radius: 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .77rem;
  font-weight: 600;
  padding: 6px 14px;
  transition: all .18s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1;
}

.btn-ghost {
  background: #fff;
  color: var(--muted);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg3);
  color: var(--text2);
  border-color: var(--border2);
}

.btn-accent {
  background: var(--mint);
  color: #fff;
  box-shadow: 0 2px 8px rgba(45, 190, 122, .22);
}

.btn-accent:hover {
  background: var(--mint-dark);
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1.5px solid #f5c0c0;
}

.btn-danger:hover {
  background: #fdd;
}

.btn-green {
  background: var(--mint-soft);
  color: var(--mint-dark);
  border: 1.5px solid var(--border2);
}

.btn-green:hover {
  background: var(--mint-light);
}

/* ════════════════════════════════════════════
   WORKSPACE — Contador de palabras
════════════════════════════════════════════ */
/* ===== LAYOUT COMO EL DE LA IMAGEN ===== */
.workspace {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 64px 0;
  display: grid;
  grid-template-columns: minmax(0, 860px) 340px;
  gap: 22px;
  align-items: start;
  justify-content: center;
}

.editor-panel {
  width: 100%;
  max-width: 860px;
}

.stats-panel {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
}

textarea#editor {
  min-height: 420px;
}

/* opcional: un poco más de aire debajo del menú */
.header-inner {
  height: 66px;
}

/* responsive */
@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: 1fr;
    max-width: 920px;
  }

  .editor-panel {
    max-width: 100%;
  }

  .stats-panel {
    display: flex !important;
  }
}

/* Editor */
.editor-panel {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg2);
  flex-wrap: wrap;
  gap: 6px;
}

.toolbar-l,
.toolbar-r {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

textarea#editor {
  width: 100%;
  min-height: 360px;
  resize: vertical;
  background: #fff;
  color: var(--text);
  border: none;
  outline: none;
  padding: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .96rem;
  line-height: 1.8;
  caret-color: var(--mint);
}

textarea#editor::placeholder {
  color: var(--muted2);
  font-style: italic;
}

.editor-footer {
  padding: 9px 16px;
  border-top: 1.5px solid var(--border);
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .76rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 6px;
}

.reading-time {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.rt-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.rt-item strong {
  color: var(--text2);
}

.rt-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Stats */
.stats-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg2);
}

.card-title {
  font-family: 'Fraunces', serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.big-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.big-stat {
  background: #fff;
  padding: 18px 12px;
  text-align: center;
  transition: background .15s;
  cursor: default;
}

.big-stat:hover {
  background: var(--bg2);
}

.big-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
  transition: transform .2s;
}

.big-stat-num.pop {
  transform: scale(1.2);
}

.big-stat-label {
  font-size: .7rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-row:hover {
  background: var(--bg2);
}

.stat-label {
  font-size: .84rem;
  color: var(--muted);
}

.stat-value {
  background: var(--mint-soft);
  color: var(--mint-dark);
  border: 1px solid var(--border2);
  font-weight: 700;
  font-size: .76rem;
  padding: 2px 11px;
  border-radius: 20px;
  min-width: 38px;
  text-align: center;
}

.sw-display {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  padding: 18px;
  letter-spacing: .05em;
  color: var(--mint);
  background: var(--bg2);
}

.sw-controls {
  display: flex;
  gap: 7px;
  padding: 0 14px 14px;
}

.sw-controls .btn {
  flex: 1;
  justify-content: center;
}

.goal-section {
  padding: 14px 16px;
}

.goal-label {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}

.goal-label strong {
  color: var(--mint-dark);
}

.goal-bar-wrap {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 10px;
  overflow: hidden;
}

.goal-bar {
  height: 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--mint), #5de8a8);
  transition: width .4s;
  width: 0%;
}

.goal-input-row {
  display: flex;
  gap: 7px;
  margin-top: 10px;
  align-items: center;
}

.goal-input {
  flex: 1;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 30px;
  padding: 7px 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .84rem;
  outline: none;
  transition: all .2s;
}

.goal-input:focus {
  border-color: var(--mint);
  background: #fff;
}

.goal-input::placeholder {
  color: var(--muted2);
}

.tab-nav {
  display: flex;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg2);
}

.tab-btn {
  flex: 1;
  padding: 9px 6px;
  text-align: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .77rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
}

.tab-btn:hover {
  color: var(--mint-dark);
  background: var(--mint-soft);
}

.tab-btn.active {
  color: var(--mint-dark);
  border-bottom-color: var(--mint);
  background: var(--mint-soft);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.density-list {
  padding: 4px 0;
}

.density-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: .82rem;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.density-row:last-child {
  border-bottom: none;
}

.density-row:hover {
  background: var(--bg2);
}

.density-word {
  flex: 1;
  color: var(--text2);
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.density-bar-wrap {
  flex: 2;
  background: var(--bg3);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.density-bar {
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--mint), #5de8a8);
  transition: width .4s;
}

.density-pct {
  color: var(--muted);
  font-size: .74rem;
  min-width: 52px;
  text-align: right;
  font-weight: 500;
}

.density-empty {
  padding: 18px;
  text-align: center;
  color: var(--muted2);
  font-size: .84rem;
  font-style: italic;
}

.seo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .84rem;
}

.seo-row:last-child {
  border-bottom: none;
}

.seo-label {
  color: var(--muted);
}

.seo-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}

.seo-ok {
  background: var(--mint-soft);
  color: var(--mint-dark);
  border: 1px solid var(--border2);
}

.seo-warn {
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid #f0d080;
}

.seo-bad {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #f5c0c0;
}

/* ════════════════════════════════════════════
   SEO PAGE
════════════════════════════════════════════ */
.seo-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 20px 0;
}

.seo-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 22px;
}

.seo-card-hdr {
  padding: 14px 20px;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.seo-card-hdr-title {
  font-family: 'Fraunces', serif;
  font-size: .96rem;
  font-weight: 700;
  color: var(--text2);
}

.seo-card-hdr-sub {
  font-size: .76rem;
  color: var(--muted);
}

.seo-editor-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.seo-col {
  padding: 18px 20px;
  border-bottom: 1.5px solid var(--border);
}

.seo-col:last-child {
  border-bottom: none;
}

.field-wrap {
  margin-bottom: 16px;
}

.field-wrap:last-child {
  margin-bottom: 0;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 6px;
}

.char-counter {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mint);
  transition: color .2s;
}

.char-counter.warn {
  color: var(--warn);
}

.char-counter.over {
  color: var(--danger);
}

.field-input {
  width: 100%;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .86rem;
  outline: none;
  transition: all .2s;
  resize: none;
}

.field-input:focus {
  border-color: var(--mint);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 190, 122, .1);
}

.field-input::placeholder {
  color: var(--muted2);
  font-style: italic;
}

textarea.field-input {
  min-height: 78px;
}

.char-bar-wrap {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin-top: 4px;
  overflow: hidden;
}

.char-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--mint);
  transition: width .3s, background .3s;
  width: 0%;
}

.field-hint {
  font-size: .71rem;
  color: var(--muted2);
  margin-top: 3px;
}

.opts-title {
  font-family: 'Fraunces', serif;
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.opt-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  cursor: pointer;
  font-size: .84rem;
  color: var(--text2);
  font-weight: 500;
  transition: color .2s;
}

.opt-item:hover {
  color: var(--mint-dark);
}

.opt-item input[type=checkbox] {
  width: 15px;
  height: 15px;
  accent-color: var(--mint);
  cursor: pointer;
  flex-shrink: 0;
}

.btn-clear-seo {
  width: 100%;
  margin-top: 11px;
  background: var(--mint);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 2px 10px rgba(45, 190, 122, .22);
}

.btn-clear-seo:hover {
  background: var(--mint-dark);
  transform: translateY(-1px);
}

.notes-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 13px;
  font-size: .81rem;
  color: var(--muted);
  line-height: 1.72;
}

.notes-box strong {
  color: var(--text2);
}

.notes-tip {
  color: var(--mint-dark);
  font-weight: 600;
  margin-top: 9px;
  display: block;
}

/* SERP */
.serp-title-bar {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.serp-badge {
  background: var(--mint-soft);
  color: var(--mint-dark);
  border: 1px solid var(--border2);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.serp-browser {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.serp-bar {
  background: #f1f3f4;
  border-bottom: 1px solid #dadce0;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.serp-dots {
  display: flex;
  gap: 5px;
}

.serp-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.serp-url-bar {
  flex: 1;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 20px;
  padding: 5px 13px;
  font-size: .74rem;
  color: #555;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-header {
  padding: 10px 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #ebebeb;
}

.g-logo {
  font-size: 1.45rem;
  font-weight: 700;
  font-family: arial, sans-serif;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.g-b {
  color: #4285f4
}

.g-r {
  color: #ea4335
}

.g-y {
  color: #fbbc05
}

.g-gg {
  color: #34a853
}

.g-sbar {
  flex: 1;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  padding: 7px 14px;
  font-size: .85rem;
  color: #333;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 480px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  min-width: 0;
}

.g-search-icon {
  color: #9aa0a6;
  flex-shrink: 0;
}

#sSearchText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #202124;
  font-size: .85rem;
}

.g-sbar-end {
  margin-left: auto;
  display: flex;
  gap: 7px;
  color: #9aa0a6;
  font-size: .8rem;
  flex-shrink: 0;
}

.g-tabs-bar {
  display: flex;
  align-items: center;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.g-tabs-bar::-webkit-scrollbar {
  display: none;
}

.g-tab {
  padding: 8px 12px;
  font-size: .76rem;
  color: #5f6368;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all .15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.g-tab.act {
  color: #1a73e8;
  border-bottom-color: #1a73e8;
}

.g-tab:hover {
  color: #202124;
}

.ml-auto {
  margin-left: auto;
}

.g-body {
  padding: 8px 16px 24px;
  position: relative;
}

.g-stats {
  font-size: .75rem;
  color: #70757a;
  padding: 7px 0 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.g-ad-block {
  background: #fffce8;
  border: 1px solid #f0e090;
  border-radius: 8px;
  padding: 11px 14px;
  margin-bottom: 10px;
}

.g-ad-lbl {
  display: inline-block;
  border: 1px solid #c0a000;
  color: #7a5800;
  font-size: .6rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  margin-bottom: 4px;
}

.g-ad-t {
  font-size: .94rem;
  color: #1a0dab;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
}

.g-ad-t:hover {
  text-decoration: underline;
}

.g-ad-url {
  font-size: .75rem;
  color: #006621;
  margin: 2px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.g-ad-d {
  font-size: .78rem;
  color: #545454;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.5;
}

.g-ads-side {
  display: none;
}

.g-result {
  padding: 11px 0;
  border-bottom: 1px solid #ebebeb;
}

.g-result:last-child {
  border-bottom: none;
}

.g-res-url {
  font-size: .74rem;
  color: #202124;
  margin-bottom: 2px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bc {
  color: #5f6368;
  font-size: .72rem;
}

.g-res-t {
  font-size: 1.08rem;
  color: #1a0dab;
  cursor: pointer;
  font-family: arial, sans-serif;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 3px;
}

.g-res-t:hover {
  text-decoration: underline;
}

.g-res-d {
  font-size: .8rem;
  color: #545454;
  line-height: 1.55;
  font-family: arial, sans-serif;
}

.g-rich {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
}

.g-stars {
  color: #fbbc05;
  font-size: .8rem;
}

.g-rat {
  font-size: .75rem;
  color: #545454;
}

.g-date {
  color: #70757a;
  font-size: .75rem;
}

.g-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 10px;
  flex-wrap: wrap;
  gap: 2px;
  font-family: arial, sans-serif;
}

.g-pg-logo {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-right: 4px;
  font-family: arial, sans-serif;
}

.g-pn {
  padding: 3px 8px;
  font-size: .86rem;
  border-radius: 3px;
  cursor: pointer;
  color: #1a0dab;
}

.g-pn:hover {
  background: #f1f3f4;
}

.g-pn.cur {
  color: #202124;
  font-weight: 700;
  pointer-events: none;
}

.g-next {
  font-size: .86rem;
  color: #1a0dab;
  cursor: pointer;
  padding: 3px 6px;
}

.g-next:hover {
  text-decoration: underline;
}

/* ════════════════════════════════════════════
   NOSOTROS
════════════════════════════════════════════ */
.about-hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 52px 20px 0;
  text-align: center;
}

.about-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-top: 14px;
  line-height: 1.15;
  color: var(--text);
}

.about-hero h1 em {
  font-style: italic;
  color: var(--mint);
}

.about-hero p {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.75;
}

.about-grid-wrap {
  max-width: var(--max-w);
  margin: 36px auto 0;
  padding: 0 20px;
}

.about-grid {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
}

.about-col {
  padding: 28px 24px;
  border-bottom: 1.5px solid var(--border);
}

.about-col:last-child {
  border-bottom: none;
}

.about-col h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.about-col p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.85;
  margin-bottom: 10px;
}

.about-col p:last-child {
  margin-bottom: 0;
}

.about-col strong {
  color: var(--mint-dark);
}

.feat-list {
  list-style: none;
}

.feat-list-title {
  font-family: 'Fraunces', serif;
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
  display: block;
}

.feat-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text2);
  font-size: .87rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.feat-list li:last-child {
  border-bottom: none;
}

.feat-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint-soft);
  border: 1.5px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--mint-dark);
  flex-shrink: 0;
}

.cta-section {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding: 0 20px;
}

.cta-box {
  background: var(--mint);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
}

.cta-box h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.cta-box p {
  color: rgba(255, 255, 255, .85);
  font-size: .94rem;
  margin-bottom: 24px;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-white {
  background: #fff;
  color: var(--mint-dark);
  border: none;
  border-radius: 30px;
  padding: 11px 26px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  display: inline-flex;
  align-items: center;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}

.btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 30px;
  padding: 10px 26px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
footer {
  background: var(--mint);
  border-top: 2px solid var(--mint-dark);
  padding: 28px 20px;
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.footer-copy {
  font-size: .82rem;
  color: rgba(255, 255, 255, .8);
}

.footer-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.footer-nav a {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .88);
  border-radius: 20px;
  padding: 5px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s;
}

.footer-nav a:hover {
  background: rgba(255, 255, 255, .26);
  color: #fff;
}

/* Toast */
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--mint-dark);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: .84rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
  z-index: 999;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(21, 138, 82, .42);
  max-width: calc(100vw - 32px);
  text-align: center;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ════════════════════════════════════════════
   RESPONSIVE — Tablet ≥ 640px
════════════════════════════════════════════ */
@media (min-width: 640px) {
  .seo-editor-grid {
    grid-template-columns: 1fr 1fr;
  }

  .seo-col:nth-child(1) {
    grid-column: 1 / -1;
  }

  .seo-col {
    border-right: none;
  }

  .g-body {
    padding: 8px 24px 24px;
  }

  .g-tabs-bar {
    padding: 0 24px;
  }
}

/* ════════════════════════════════════════════
   RESPONSIVE — Desktop ≥ 900px
════════════════════════════════════════════ */
@media (min-width: 900px) {
  .header-inner {
    padding: 0 32px;
    height: 66px;
  }

  .nav-tabs {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .workspace {
    grid-template-columns: 1fr 350px;
    padding: 40px 32px 0;
    gap: 22px;
  }

  .seo-main {
    padding: 40px 32px 0;
  }

  .seo-editor-grid {
    grid-template-columns: 1fr 210px 230px;
  }

  .seo-col:nth-child(1) {
    grid-column: auto;
  }

  .seo-col {
    border-right: 1.5px solid var(--border);
    border-bottom: none;
  }

  .seo-col:last-child {
    border-right: none;
  }

  .g-body {
    padding: 8px 88px 26px;
  }

  .g-tabs-bar {
    padding: 0 88px;
  }

  .g-ads-side {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 220px;
    background: #fffce8;
    border: 1px solid #f0e090;
    border-radius: 8px;
    padding: 11px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-col {
    border-bottom: none;
    border-right: 1.5px solid var(--border);
  }

  .about-col:last-child {
    border-right: none;
  }

  .about-grid-wrap {
    padding: 0 32px;
  }

  .about-hero {
    padding: 52px 32px 0;
  }

  .cta-section {
    padding: 0 32px;
  }

  .hero {
    padding: 52px 32px 64px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-nav {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .workspace {
    grid-template-columns: 1fr 365px;
  }
}

.footer-copy {
  font-size: .82rem;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: .2s ease;
}

.footer-copy:hover {
  color: #fff;
  text-decoration: underline;
}

/* ════════════════════════════════════════════
   MENÚ — ajuste para 4 tabs
════════════════════════════════════════════ */

/* En desktop los 4 tabs pueden quedar apretados,
   reducimos el padding para que entren bien */
@media (min-width: 900px) and (max-width: 1100px) {
  .nav-tab {
    padding: 7px 13px;
    font-size: .8rem;
  }
}

/* ════════════════════════════════════════════
   FOOTER — 4 enlaces
════════════════════════════════════════════ */

/* El footer ya funciona con flex-wrap, no necesita
   cambios estructurales. Solo aseguramos que en
   desktop los 4 links queden en línea */
@media (min-width: 900px) {
  .footer-nav {
    flex-wrap: nowrap;
    gap: 6px;
  }
}

/* ════════════════════════════════════════════
   PÁGINA DE CONTACTO
════════════════════════════════════════════ */

.contact-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 52px 20px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* ── Tarjeta del formulario ── */
.contact-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-card-hdr {
  padding: 18px 24px;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg2);
}

.contact-card-hdr h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 2px;
}

.contact-card-hdr p {
  font-size: .8rem;
  color: var(--muted);
}

/* ── Formulario ── */
.contact-form {
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text2);
  display: flex;
  align-items: center;
}

.form-label span.required {
  color: var(--mint);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .88rem;
  outline: none;
  transition: all .2s;
}

.form-input:focus {
  border-color: var(--mint);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 190, 122, .1);
}

.form-input::placeholder {
  color: var(--muted2);
  font-style: italic;
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a7860' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-hint {
  font-size: .71rem;
  color: var(--muted2);
}

.char-count {
  font-size: .71rem;
  color: var(--muted2);
  text-align: right;
  margin-left: auto;
  font-weight: 400;
}

.char-count.warn {
  color: var(--warn);
}

.char-count.over {
  color: var(--danger);
}

/* ── Botón enviar ── */
.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.btn-submit {
  background: var(--mint);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 32px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 3px 14px rgba(45, 190, 122, .3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit:hover {
  background: var(--mint-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(45, 190, 122, .38);
}

.btn-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.form-privacy {
  font-size: .75rem;
  color: var(--muted2);
  max-width: 340px;
  line-height: 1.5;
}

/* ── Estados del formulario ── */
.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
}

.form-status.success {
  display: flex;
  background: var(--mint-soft);
  border: 1.5px solid var(--border2);
  color: var(--mint-dark);
}

.form-status.error {
  display: flex;
  background: var(--danger-soft);
  border: 1.5px solid #f5c0c0;
  color: var(--danger);
}

.status-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ── Sidebar ── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
}

.info-card-hdr {
  padding: 12px 18px;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg2);
  font-family: 'Fraunces', serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item:hover {
  background: var(--bg2);
}

.info-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--mint-soft);
  border: 1.5px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: .76rem;
  color: var(--muted);
  font-weight: 500;
}

.info-value {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  transition: color .2s;
}

.info-value:hover {
  color: var(--mint-dark);
}

/* ── FAQ acordeón ── */
.faq-item {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  background: var(--bg2);
}

.faq-q {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  user-select: none;
  line-height: 1.4;
}

.faq-q::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--mint);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.65;
  display: none;
  margin-top: 7px;
}

.faq-item.open .faq-a {
  display: block;
}

/* ── Hero de la página de contacto ── */
.contact-hero {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding: 52px 20px 64px;
  text-align: center;
  border-top: 1.5px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--bg2) 100%);
}

.contact-hero .hero-badge {
  margin-bottom: 16px;
}

.contact-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text);
}

.contact-hero h1 em {
  font-style: italic;
  color: var(--mint);
}

.contact-hero p {
  margin: 14px auto 0;
  max-width: 480px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   RESPONSIVE — Contacto
════════════════════════════════════════════ */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr 300px;
    padding: 64px 32px 0;
    align-items: start;
  }

  .contact-hero {
    padding: 52px 32px 64px;
  }
}

@media (min-width: 1200px) {
  .contact-wrap {
    grid-template-columns: 1fr 320px;
  }
}

/* ════════════════════════════════════════════
   CONTENIDO SEO — index.html
   Agregar al final de css/style.css
════════════════════════════════════════════ */

.seo-content {
  background: #fff;
  border-top: none;
  margin-top: 0;
}

.seo-content-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ── Intro H1 ── */
.sc-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sc-h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.15;
}

.sc-intro p {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.82;
}

.sc-intro strong {
  color: var(--text2);
  font-weight: 600;
}

/* ── Bloque genérico ── */
.sc-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sc-block p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.82;
}

.sc-block p strong {
  color: var(--text2);
  font-weight: 600;
}

.sc-block-alt {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

/* ── H2 con icono ── */
.sc-h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--text);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-h2-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── H3 ── */
.sc-h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text2);
  margin-top: 6px;
}

/* ── Tarjetas de características ── */
.sc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.sc-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow .2s, transform .2s;
  box-shadow: var(--shadow-xs);
}

.sc-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.sc-card-icon {
  width: 42px;
  height: 42px;
  background: var(--mint-soft);
  border: 1.5px solid var(--border2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sc-card-title {
  font-family: 'Fraunces', serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text2);
}

.sc-card-text {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Dos columnas (métricas + visual) ── */
.sc-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.sc-two-col-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sc-two-col-text p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.8;
}

.sc-two-col-text strong {
  color: var(--text2);
  font-weight: 600;
}

/* Lista de métricas */
.sc-metric-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-top: 4px;
}

.sc-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .87rem;
  color: var(--text2);
  font-weight: 500;
}

.sc-metric-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
}

/* Preview visual de stats */
.sc-stat-preview {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sc-stat-preview-hdr {
  padding: 12px 18px;
  background: var(--mint);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.sc-stat-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.sc-sp-item {
  background: #fff;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.sc-sp-num {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
}

.sc-sp-label {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 500;
}

.sc-sp-bar-section {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.sc-sp-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: .76rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
}

.sc-sp-bar-wrap {
  background: var(--bg3);
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
}

.sc-sp-bar {
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--mint), #5de8a8);
}

.sc-sp-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

.sc-sp-tag {
  background: var(--mint-soft);
  color: var(--mint-dark);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .73rem;
  font-weight: 600;
}

/* ── Pasos (cómo usar) ── */
.sc-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 6px;
}

.sc-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.sc-step:last-child {
  border-bottom: none;
}

.sc-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(45, 190, 122, .3);
}

.sc-step-body {
  flex: 1;
}

.sc-step-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 6px;
}

.sc-step-body p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.75;
}

.sc-step-body strong {
  color: var(--text2);
  font-weight: 600;
}

/* ── Para quién sirve ── */
.sc-audience {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.sc-audience-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.sc-audience-item:last-child {
  border-bottom: none;
}

.sc-audience-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--mint-soft);
  border: 1.5px solid var(--border2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-audience-title {
  font-family: 'Fraunces', serif;
  font-size: .96rem;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 5px;
}

.sc-audience-item p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.72;
}

.sc-audience-item strong {
  color: var(--text2);
  font-weight: 600;
}

/* ── FAQ con <details> ── */
.sc-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 8px;
}

.sc-faq-item {
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: background .15s;
}

.sc-faq-item:last-child {
  border-bottom: none;
}

.sc-faq-item[open] {
  background: var(--bg2);
}

.sc-faq-item summary {
  padding: 15px 18px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  transition: color .2s;
}

.sc-faq-item summary::-webkit-details-marker {
  display: none;
}

.sc-faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--mint);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .2s;
}

.sc-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.sc-faq-item summary:hover {
  color: var(--mint-dark);
}

.sc-faq-item p {
  padding: 0 18px 16px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.75;
}

.sc-faq-item p strong {
  color: var(--text2);
  font-weight: 600;
}

/* ── CTA final ── */
.sc-cta {
  background: var(--mint);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(45, 190, 122, .28);
}

.sc-cta-inner {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sc-cta-text h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.sc-cta-text p {
  color: rgba(255, 255, 255, .85);
  font-size: .94rem;
  line-height: 1.72;
}

.sc-cta-text strong {
  color: #fff;
  font-weight: 600;
}

.sc-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.sc-cta-btn {
  background: #fff;
  color: var(--mint-dark);
  border: none;
  border-radius: 30px;
  padding: 12px 26px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.sc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}

.sc-cta-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 30px;
  padding: 11px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all .2s;
}

.sc-cta-btn-outline:hover {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
}

/* ════════════════════════════════════════════
   RESPONSIVE — Contenido SEO
════════════════════════════════════════════ */
@media (max-width: 600px) {
  .sc-cards {
    grid-template-columns: 1fr;
  }

  .sc-metric-list {
    grid-template-columns: 1fr;
  }

  .sc-block-alt {
    padding: 22px 18px;
  }

  .sc-cta-inner {
    padding: 28px 20px;
  }

  .seo-content-inner {
    padding: 44px 16px 60px;
    gap: 48px;
  }
}

@media (min-width: 700px) {
  .sc-two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .seo-content-inner {
    padding: 72px 32px 88px;
  }

  .sc-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .sc-cta-text {
    flex: 1;
  }

  .sc-cta-actions {
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ════════════════════════════════════════════
   CONTENIDO SEO — seo.html
   Agregar al final de css/style.css
   (después del bloque de index.html)
════════════════════════════════════════════ */

/* ── Preview SERP mini (sidebar visual) ── */
.sc-serp-preview {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sc-serp-preview-hdr {
  padding: 11px 16px;
  background: var(--mint);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.sc-serp-preview-body {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.sc-serp-url-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.sc-serp-favicon {
  width: 18px;
  height: 18px;
  background: #4285f4;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sc-serp-domain {
  font-size: .75rem;
  color: #202124;
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.sc-serp-breadcrumb {
  font-size: .7rem;
  color: #5f6368;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.sc-serp-title {
  font-size: 1rem;
  color: #1a0dab;
  line-height: 1.3;
  margin-bottom: 5px;
  font-family: arial, sans-serif;
  cursor: pointer;
}

.sc-serp-title:hover { text-decoration: underline; }

.sc-serp-desc {
  font-size: .8rem;
  color: #545454;
  line-height: 1.55;
  font-family: arial, sans-serif;
}

/* Barras de longitud */
.sc-serp-bars {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-serp-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-serp-bar-label {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
  min-width: 72px;
  flex-shrink: 0;
}

.sc-serp-bar-wrap {
  flex: 1;
  background: var(--bg3);
  border-radius: 4px;
  height: 7px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.sc-serp-bar {
  height: 7px;
  border-radius: 4px;
  transition: width .4s ease;
}

.sc-serp-bar-val {
  font-size: .72rem;
  font-weight: 700;
  min-width: 46px;
  text-align: right;
  flex-shrink: 0;
}

.sc-ok   { color: var(--mint-dark); }
.sc-warn { color: var(--warn); }
.sc-over { color: var(--danger); }

/* ── Ajustes hero de seo.html ── */
.hero-seo {
  border-top: none;
  background: linear-gradient(180deg, var(--bg2) 0%, #fff 100%);
  padding-bottom: 8px;
}

/* ════════════════════════════════════════════
   legal.css — Páginas legales
   Privacidad · Términos · Cookies
   Guardar en: css/legal.css
════════════════════════════════════════════ */

/* ── Layout principal ── */
.legal-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 52px 20px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Sidebar ── */
.legal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-sidebar-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 82px;
}

.legal-sidebar-title {
  padding: 13px 18px;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg2);
  font-family: 'Fraunces', serif;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.legal-index {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.legal-index a {
  padding: 9px 18px;
  font-size: .84rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all .18s;
  line-height: 1.4;
}

.legal-index a:hover {
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-left-color: var(--mint);
}

.legal-sidebar-meta {
  padding: 14px 18px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .78rem;
  color: var(--muted);
}

.legal-meta-date {
  font-family: 'Fraunces', serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--text2);
  margin-top: 3px;
}

/* ── Cuerpo ── */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Cabecera del documento ── */
.legal-header {
  padding-bottom: 36px;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 0;
}

.legal-tag {
  display: inline-block;
  background: var(--mint-soft);
  color: var(--mint-dark);
  border: 1.5px solid var(--border2);
  border-radius: 30px;
  padding: 4px 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.legal-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 12px;
}

.legal-subtitle {
  font-size: .96rem;
  color: var(--muted);
  line-height: 1.72;
  max-width: 600px;
}

/* ── Secciones ── */
.legal-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -.02em;
  scroll-margin-top: 90px;
}

.legal-section h3 {
  font-family: 'Fraunces', serif;
  font-size: .98rem;
  font-weight: 700;
  color: var(--text2);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-section p {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 12px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section strong { color: var(--text2); font-weight: 600; }

.legal-section a {
  color: var(--mint-dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border2);
  transition: color .18s, border-color .18s;
}

.legal-section a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section ul li {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

/* ── Tabla de cookies ── */
.legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.legal-table thead tr {
  background: var(--bg2);
  border-bottom: 1.5px solid var(--border);
}

.legal-table th {
  padding: 11px 16px;
  text-align: left;
  font-family: 'Fraunces', serif;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
}

.legal-table td {
  padding: 11px 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
}

.legal-table tbody tr:last-child td { border-bottom: none; }

.legal-table tbody tr:hover td { background: var(--bg2); }

.legal-table code {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .8rem;
  color: var(--mint-dark);
  font-family: 'Courier New', monospace;
  white-space: nowrap;
}

.legal-note {
  font-size: .8rem;
  color: var(--muted2);
  font-style: italic;
  margin-top: 8px;
}

/* ── Navegación entre documentos ── */
.legal-nav-bottom {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 36px;
  margin-top: 12px;
  border-top: 1.5px solid var(--border);
}

.legal-nav-btn {
  background: var(--bg2);
  color: var(--text2);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 9px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}

.legal-nav-btn:hover {
  background: var(--mint-soft);
  border-color: var(--border2);
  color: var(--mint-dark);
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (min-width: 900px) {
  .legal-wrap {
    grid-template-columns: 220px 1fr;
    gap: 48px;
    padding: 64px 32px 80px;
  }

  /* El sidebar va primero en DOM pero segundo visualmente */
  .legal-sidebar { order: -1; }
}

@media (min-width: 1100px) {
  .legal-wrap { grid-template-columns: 240px 1fr; }
}

@media (max-width: 899px) {
  /* En móvil el sidebar va al final */
  .legal-sidebar { order: 1; }
  .legal-sidebar-card { position: static; }
  .legal-index { flex-direction: row; flex-wrap: wrap; padding: 10px 10px; gap: 4px; }
  .legal-index a { padding: 6px 12px; border-left: none; border-radius: 20px; border: 1.5px solid var(--border); font-size: .78rem; }
  .legal-index a:hover { border-color: var(--border2); }
}
