/*
Theme Name: tuseoconIA
Theme URI: https://tuseoconia.com
Author: tuseoconIA
Description: Tema oficial de tuseoconIA — Agencia de SEO local con IA para pymes del sur de España.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: tuseoconia
Tags: custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ============================================================
   RESET & VARIABLES
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg:     #0a0a0f;
  --bg2:    #111118;
  --bg3:    #16161f;
  --border: #1e1e2e;
  --border2:#2a2a3e;
  --purple: #6c47ff;
  --cyan:   #00d4ff;
  --text:   #ffffff;
  --text2:  #a0a0b8;
  --text3:  #606075;
  --grad:   linear-gradient(135deg, #6c47ff, #00d4ff);
  --ff:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow: none;
  --radius: 12px;
  --max-w:  960px;
}

body.light-mode {
  --bg:     #f8f8fc;
  --bg2:    #ffffff;
  --bg3:    #f0f0f8;
  --border: #e2e2ec;
  --border2:#d0d0e0;
  --text:   #0a0a1a;
  --text2:  #555570;
  --text3:  #9090a8;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* GRID BG */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,71,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,71,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}
body.light-mode .grid-bg {
  background-image:
    linear-gradient(rgba(108,71,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,71,255,0.06) 1px, transparent 1px);
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s;
}
body.light-mode .site-header {
  background: rgba(248,248,252,0.9);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}
.site-logo .logo-ia {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.82rem;
  color: var(--text2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--purple) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-size: 0.82rem !important;
  font-weight: 500;
}

/* Theme toggle */
#theme-toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  background: var(--border2);
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
#theme-toggle .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s;
  pointer-events: none;
}
body.light-mode #theme-toggle { background: var(--purple); border-color: var(--purple); }
body.light-mode #theme-toggle .knob { transform: translateX(16px); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  -webkit-text-fill-color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 400;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--purple); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 7rem 2rem 5rem;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(108,71,255,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
body.light-mode .hero-glow {
  background: radial-gradient(ellipse, rgba(108,71,255,0.08) 0%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border2);
  background: var(--bg2);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--text2);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-section h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.hero-section .hero-sub {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   HERO DEMO (WhatsApp mockup)
   ============================================================ */
.hero-demo {
  position: relative;
  z-index: 1;
  padding: 0 2rem 4rem;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
}

.phone-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.phone-title { font-size: 0.78rem; font-weight: 500; color: var(--text); }
.phone-sub   { font-size: 0.65rem; color: var(--text3); }

.msg {
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.msg-in  { background: var(--bg3); border: 1px solid var(--border); color: var(--text2); }
.msg-out {
  background: var(--purple);
  color: #fff;
  -webkit-text-fill-color: #fff;
  margin-left: auto;
  max-width: 80%;
  display: block;
}

.pill {
  display: inline-block;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--cyan);
  -webkit-text-fill-color: initial;
  font-size: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.3rem;
}
body.light-mode .pill {
  background: rgba(108,71,255,0.08);
  border-color: rgba(108,71,255,0.2);
  color: var(--purple);
  -webkit-text-fill-color: var(--purple);
}

.phone-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.pstat {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
}
.pstat-num {
  font-size: 1rem;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pstat-lbl { font-size: 0.6rem; color: var(--text3); margin-top: 0.1rem; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text3);
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   SECTIONS (generic)
   ============================================================ */
.site-section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
}
.site-section.no-pt { padding-top: 0; }

.inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.inner-narrow { max-width: 680px; margin: 0 auto; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.how-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.how-step {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--purple);
  margin-bottom: 1rem;
}
.how-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text); }
.how-card p  { font-size: 0.82rem; color: var(--text2); line-height: 1.6; }

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  font-size: 0.82rem;
}
.compare-table th {
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 500;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-table th:nth-child(2) { color: var(--text); background: rgba(108,71,255,0.06); }
.compare-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}
.compare-table td:first-child { color: var(--text); }
.compare-table td:nth-child(2) {
  color: var(--text);
  font-weight: 500;
  background: rgba(108,71,255,0.04);
}
.check { color: #00c080; }
.cross { color: #ff5555; }

/* ============================================================
   PRICING PLANS
   ============================================================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.plan-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow);
}
.plan-card.featured {
  border-color: var(--purple);
  background: rgba(108,71,255,0.04);
}

.plan-pop {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 0.5rem;
}
.plan-price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.plan-price span { font-size: 0.85rem; font-weight: 300; color: var(--text2); }
.plan-desc { font-size: 0.78rem; color: var(--text3); margin-bottom: 1.2rem; line-height: 1.5; }

.plan-card ul { font-size: 0.78rem; color: var(--text2); }
.plan-card ul li { padding: 0.3rem 0; display: flex; gap: 0.5rem; }
.plan-card ul li::before { content: "—"; color: var(--purple); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.faq-q { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--text); }
.faq-a { font-size: 0.82rem; color: var(--text2); line-height: 1.6; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}
.cta-box {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,71,255,0.12), transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.cta-box p { font-size: 0.9rem; color: var(--text2); margin-bottom: 2rem; line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text3);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-links a { color: var(--text3); margin-left: 1rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ============================================================
   BLOG — ARCHIVE
   ============================================================ */
.blog-archive {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
}
.blog-archive .inner { max-width: var(--max-w); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.post-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}
.post-card:hover { border-color: var(--purple); }

.post-card-img { width: 100%; height: 180px; object-fit: cover; }
.post-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 0.75rem;
}

.post-card-body { padding: 1.2rem; }
.post-card-meta {
  font-size: 0.68rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.post-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.post-card-excerpt {
  font-size: 0.78rem;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.post-card-link {
  font-size: 0.78rem;
  color: var(--purple);
  font-weight: 500;
}
.post-card-link:hover { text-decoration: underline; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text2);
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--purple); color: var(--text); }
.pagination .current { border-color: var(--purple); color: var(--text); background: rgba(108,71,255,0.08); }

/* ============================================================
   BLOG — SINGLE POST
   ============================================================ */
.single-post {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem 5rem;
}
.post-header { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.post-header .post-meta {
  font-size: 0.75rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.post-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--text);
}

.post-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text2);
}
.post-content h2 { font-size: 1.4rem; font-weight: 600; color: var(--text); margin: 2rem 0 0.8rem; letter-spacing: -0.5px; }
.post-content h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 1.5rem 0 0.5rem; }
.post-content p  { margin-bottom: 1.2rem; }
.post-content a  { color: var(--purple); }
.post-content a:hover { text-decoration: underline; }
.post-content ul, .post-content ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 0.4rem; }
.post-content blockquote {
  border-left: 3px solid var(--purple);
  padding: 0.5rem 1.2rem;
  margin: 1.5rem 0;
  color: var(--text2);
  background: var(--bg2);
  border-radius: 0 8px 8px 0;
}
.post-content img {
  border-radius: 8px;
  margin: 1.5rem auto;
  border: 1px solid var(--border);
}
.post-content code {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.85em;
  font-family: 'Fira Code', monospace;
}
.post-content pre {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.post-content pre code { background: none; border: none; padding: 0; }

/* ============================================================
   GENERIC PAGE CONTENT
   ============================================================ */
.page-content-wrap {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem 5rem;
}
.page-content-wrap .inner { max-width: 720px; }
.page-content-wrap h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 2rem;
}
.page-content-wrap .entry-content { font-size: 0.95rem; line-height: 1.8; color: var(--text2); }
.page-content-wrap .entry-content h2 { font-size: 1.4rem; font-weight: 600; color: var(--text); margin: 2rem 0 0.8rem; }
.page-content-wrap .entry-content h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 1.5rem 0 0.5rem; }
.page-content-wrap .entry-content p  { margin-bottom: 1.2rem; }
.page-content-wrap .entry-content a  { color: var(--purple); }
.page-content-wrap .entry-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.2rem; }
.page-content-wrap .entry-content ol { list-style: decimal; padding-left: 1.4rem; margin-bottom: 1.2rem; }

/* ============================================================
   CONTACT FORM (compatible con CF7 y WPForms)
   ============================================================ */
.contact-wrap { max-width: 560px; margin: 2rem auto 0; }
.contact-wrap input[type="text"],
.contact-wrap input[type="email"],
.contact-wrap input[type="tel"],
.contact-wrap textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--text);
  font-family: var(--ff);
  margin-bottom: 0.8rem;
  transition: border-color 0.2s;
}
.contact-wrap input:focus,
.contact-wrap textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--purple);
}
.contact-wrap input[type="submit"],
.wpcf7 input[type="submit"] {
  background: var(--grad);
  color: #fff;
  -webkit-text-fill-color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--ff);
  width: 100%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 2rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .how-grid,
  .plans-grid { grid-template-columns: 1fr; }
  .stats-bar  { gap: 1.5rem; }

  .compare-table { font-size: 0.72rem; }
  .compare-table th, .compare-table td { padding: 0.6rem 0.5rem; }

  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-section { padding: 4rem 1.2rem 3rem; }
  .site-section  { padding: 3rem 1.2rem; }
  .blog-archive  { padding: 3rem 1.2rem; }
  .single-post   { padding: 2.5rem 1.2rem; }
}
