@import url("tokens.css");
@import url("base.css");
@import url("layout.css");
@import url("components.css");
@import url("sections.css");
@import url("extras.css");

/* ============================================
   FIXES + UX · Overrides, botones visibles,
   espaciado uniforme, micro-interacciones
   ============================================ */

/* ───── 0. SEC--DARK background (needed for unified services) ───── */
.sec--dark { background: var(--ink); }

/* ───── 1. SERVICES GRID (unified 4-card) ───── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.service-card {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 280ms cubic-bezier(.2,.7,.3,1),
              box-shadow 280ms cubic-bezier(.2,.7,.3,1),
              border-color 200ms;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.service-card.featured {
  background: rgba(255,255,255,.07);
  border-color: var(--blue);
  border-width: 1.5px;
}
.service-card.featured:hover {
  border-color: var(--blue-sky);
  box-shadow: 0 16px 48px rgba(37,99,235,.15);
}
.service-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--blue-sky);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 0 0 4px 4px;
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 0.2rem;
  line-height: 1;
}
.service-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  margin: 0.3rem 0 0.1rem;
  letter-spacing: 0.02em;
  color: #fff;
}
.service-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.service-price small {
  font-size: 0.85rem;
  color: rgba(255,255,255,.45);
  font-weight: 600;
}
.price-cta {
  font-size: 1rem;
  color: var(--blue);
  font-weight: 600;
}
}
.service-note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 0.4rem;
}
.service-feats {
  list-style: none;
  margin: 0.8rem 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.service-feats li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255,255,255,.75);
}
.sf-ok { color: var(--green); font-weight: 700; flex-shrink: 0; }
.sf-bonus {
  background: rgba(14,165,233,.1);
  border: 1px solid rgba(14,165,233,.2);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--blue-sky) !important;
  font-weight: 600;
  font-size: 0.78rem !important;
  margin-top: 0.2rem;
}
.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  transition: all 200ms;
  width: 100%;
  text-align: center;
}
.service-btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
}
.service-cart-btn {
  margin-top: 0.4rem;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all 200ms;
}
.service-cart-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(37,99,235,.08);
}
.services-foot {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,.35);
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .service-card { padding: 1.5rem 1.2rem; }
  .service-btn, .service-cart-btn { width: 100%; justify-content: center; }
  .service-icon { font-size: 1.6rem; }
  .service-name { font-size: 1.1rem; }
  .services-foot { font-size: 0.65rem; margin-top: 1.5rem; }
}

/* ───── 1. BOTONES VISIBLES EN FONDO OSCURO ───── */
.sec--dark .btn-ghost-white {
  border-color: rgba(255,255,255,.6);
  color: var(--white);
  background: rgba(255,255,255,.06);
}
.sec--dark .btn-ghost-white:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.sec--dark .btn-add-cart,
.solutions-section .btn-add-cart {
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.04);
}
.sec--dark .btn-add-cart:hover,
.solutions-section .btn-add-cart:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.plan-col.featured .btn-add-cart {
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.75);
}
.plan-col.featured .btn-add-cart:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.sec--dark .plan-btn-secondary {
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.sec--dark .plan-btn-secondary:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.sec--dark .sol-btn {
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.8);
}
.sec--dark .sol-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.sec--dark .tool-btn {
  background: var(--blue);
}
.sec--dark .tool-btn:hover {
  background: var(--blue-dark);
}

/* ───── 2. BUTTONS CON SOMBRA / POP ───── */
.btn-blue {
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.btn-white {
  box-shadow: 0 4px 16px rgba(255,255,255,.15);
}
.btn-blue:active,
.btn-white:active,
.plan-btn-primary:active,
.plan-btn-secondary:active {
  transform: scale(0.97) !important;
}

/* ───── 3. ESPACIADO UNIFORME ENTRE SECCIONES ───── */
section + section,
.sec + .sec,
.sec-sm + .sec-sm,
.sec + .sec-sm,
.sec-sm + .sec {
  margin-top: 0;
}

/* Asegurar que todas las secciones principales tengan padding consistente */
.seo-tools-section {
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
}
.testimonials {
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
}

/* Grid gaps consistentes */
.solutions-grid {
  gap: 1rem;
}
.tools-grid {
  gap: 1.2rem;
}
.seo-tools-grid {
  gap: 1.5rem;
}

/* ───── 4. CARDS CON SOMBRA Y BORDE UNIFORME ───── */
.seo-tool-card,
.tool-card,
.addon-card,
.policy-card,
.blog-card {
  transition: transform 280ms cubic-bezier(.2,.7,.3,1),
              box-shadow 280ms cubic-bezier(.2,.7,.3,1),
              border-color 200ms;
}
.seo-tool-card:hover,
.tool-card:hover,
.addon-card:hover,
.policy-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  border-color: var(--blue);
}

/* ───── 5. MICRO-INTERACCIONES AVANZADAS ───── */

/* Smooth underline reveal on all nav links */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 280ms cubic-bezier(.2,.7,.3,1), left 280ms cubic-bezier(.2,.7,.3,1);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
  left: 0;
}

/* Cart button shake on add */
.cart-btn.has-items {
  animation: cartShake 500ms ease;
}

/* All buttons press feedback */
button:active,
.btn-blue:active,
.btn-white:active,
.plan-btn-primary:active,
.plan-btn-secondary:active,
.btn-add-cart:active,
.sol-btn:active,
.tool-btn:active,
.seo-tool-btn:active,
.nav-cta:active {
  transform: scale(0.96);
}

/* Smooth image loading */
img {
  transition: opacity 400ms, filter 400ms;
}
img[loading="lazy"] {
  opacity: 0;
}
img[loading="lazy"].is-loaded,
img[loading="lazy"]:not([data-src]) {
  opacity: 1;
}

/* ───── 6. FLOATING ACTIONS MEJORADOS ───── */
.wa-float {
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: transform 280ms cubic-bezier(.2,.7,.3,1),
              box-shadow 280ms;
}
.wa-float:hover {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
}

.scroll-top {
  box-shadow: 0 4px 20px rgba(10,10,10,.25);
  transition: opacity 300ms, transform 300ms, background 200ms, box-shadow 200ms;
}
.scroll-top:hover {
  background: var(--blue);
  box-shadow: 0 6px 24px rgba(37,99,235,.35);
}

/* ───── 7. THEME TOGGLE ───── */
.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 200ms, border-color 200ms, transform 200ms;
  color: var(--white);
}
.theme-toggle:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); transform: rotate(15deg); }
html.is-light .theme-toggle { border-color: rgba(0,0,0,.12); color: var(--ink); }
html.is-light .theme-toggle:hover { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.2); }

/* ───── Theme variables ───── */
html.is-light {
  --ink: #0A0A0A;
  --gray: #4B5563;
  --light: #F9FAFB;
  --white: #FFFFFF;
  --gray-line: #E5E7EB;
  --nav-bg: rgba(255,255,255,.92);
  --card-bg: #FFFFFF;
  --card-shadow: 0 4px 24px rgba(0,0,0,.06);
  --serp-bg: #FFFFFF;
  --serp-border: #E5E7EB;
}
html.is-light .nav { backdrop-filter: blur(16px); }
html.is-light .plan-col { background: #FFFFFF; }
html.is-light .plan-col.featured { background: linear-gradient(135deg,#EFF6FF,#FFFFFF); }
html.is-light .addon-card.dark { background: #FFFFFF; border-color: var(--gray-line); }
html.is-light .seo-tool-card { background: #fff; }
html.is-light .testimonial-card { background: #fff; border-color: var(--gray-line); }
html.is-light .testimonial-card:hover { border-color: var(--blue); }
html.is-light .testimonial-text { color: var(--ink); }
html.is-light .testimonial-name { color: var(--ink); }
html.is-light .testimonial-role { color: var(--gray); }
html.is-light .testimonial-author { border-color: var(--gray-line); }
html.is-light .testimonials { background: var(--light); }
html.is-light .testimonials h2 { color: var(--ink) !important; }
html.is-light .testimonials h2 em { color: var(--blue); }
html.is-light .sec-label[style*="color:#0EA5E9"] { color: var(--blue) !important; }
html.is-light .seo-tools-section { background: #F3F4F6; }

/* ───── 8. COOKIE BAR ───── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: rgba(255,255,255,.85);
  padding: 1rem 1.5rem;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform 500ms cubic-bezier(.2,.7,.3,1);
  box-shadow: 0 -8px 32px rgba(0,0,0,.15);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar p { margin: 0; max-width: 700px; font-size: 0.82rem; }
.cookie-bar a { color: var(--blue-sky); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  border: 1px solid;
  cursor: pointer;
  transition: all 200ms;
  white-space: nowrap;
}
.cookie-btn--accept { background: var(--blue); color: var(--white); border-color: var(--blue); }
.cookie-btn--accept:hover { background: var(--blue-dark); }
.cookie-btn--decline { background: transparent; color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.2); }
.cookie-btn--decline:hover { color: var(--white); border-color: var(--white); }
@media (max-width: 600px) {
  .cookie-bar { flex-direction: column; text-align: center; padding: 0.8rem 1rem; gap: 0.8rem; }
  .cookie-bar p { font-size: 0.78rem; }
}

/* ───── 9. MOBILE STICKY CTA ───── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-line);
  padding: 0.6rem 1rem;
  z-index: 80;
  gap: 0.6rem;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}
.mobile-cta__text { font-size: 0.7rem; color: var(--gray); flex: 1; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.mobile-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 200ms;
}
.mobile-cta__btn:hover { transform: scale(1.03); }
.mobile-cta__btn:active { transform: scale(0.97); }
@media (max-width: 768px) {
  body { padding-bottom: 56px; }
  .mobile-cta { display: flex; }
  .wa-float { bottom: 68px; }
  .scroll-top { bottom: 72px; }
}

/* ───── 10. SCROLL PROGRESS ───── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-sky));
  width: 0%;
  z-index: 100;
  transition: width 50ms linear;
  pointer-events: none;
}

/* ───── 11. SCROLL TOP ───── */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 85;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 300ms, transform 300ms, background 200ms;
  box-shadow: 0 4px 16px rgba(10,10,10,.2);
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--blue); }
@media (max-width: 768px) {
  .scroll-top { bottom: 80px; right: 16px; width: 40px; height: 40px; font-size: 1rem; }
}

/* ───── 12. TOAST ───── */
.toast-container {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast-item {
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-size: 0.82rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  animation: toastIn 400ms cubic-bezier(.2,.7,.3,1) forwards;
  pointer-events: auto;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.toast-item.toast-out { animation: toastOut 300ms ease forwards; }
@keyframes toastOut {
  to { opacity: 0; transform: translateY(8px) scale(0.95); }
}

/* ───── 13. GLASSMORPHISM ───── */
.glass {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
}

/* ───── 14. TYPEWRITER ───── */
.typewriter { border-right: 2px solid var(--blue); padding-right: 2px; animation: blink 0.8s step-end infinite; }
@keyframes blink { 50% { border-color: transparent; } }

/* ───── 15. COPY TO CLIPBOARD ───── */
.copy-trigger {
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.copy-trigger .copy-tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--ink);
  color: var(--white);
  font-size: 0.65rem;
  font-family: var(--font-body);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms, transform 200ms;
}
.copy-trigger .copy-tip.is-visible { opacity: 1; transform: translateX(-50%) scale(1); }

/* ───── 16. TESTIMONIALS ───── */
.testimonials-track-wrap {
  overflow: hidden;
  margin-top: 3rem;
}
.testimonials-track {
  display: flex;
  gap: 2rem;
  transition: transform 500ms cubic-bezier(.2,.7,.3,1);
  will-change: transform;
}
.testimonial-card {
  min-width: 340px;
  max-width: 400px;
  flex-shrink: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 300ms, border-color 300ms;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.12);
}
.testimonial-stars { color: #FBBF24; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--blue),var(--blue-sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.85rem; color: #fff; }
.testimonial-role { font-size: 0.75rem; color: rgba(255,255,255,.4); }
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 0;
  cursor: pointer;
  transition: all 300ms;
  padding: 0;
}
.testimonials-dot.is-active { background: var(--blue); width: 28px; border-radius: 5px; }
.testimonials-dot:hover { background: rgba(255,255,255,.3); }

/* ───── 17. SEO TOOLS ───── */
.seo-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.seo-tool-card {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gray-line);
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
}
.seo-tool-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.3rem;
  letter-spacing: 0.03em;
}
.seo-tool-card p { font-size: 0.82rem; color: var(--gray); margin: 0 0 1rem; }
.seo-tool-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 0.3rem;
}
.seo-tool-input, .seo-tool-textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color 200ms;
  margin-bottom: 0.8rem;
}
.seo-tool-input:focus, .seo-tool-textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.seo-tool-textarea { resize: vertical; min-height: 80px; }
.seo-tool-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: all 200ms;
  background: var(--blue);
  color: var(--white);
  align-self: flex-start;
  margin-top: auto;
}
.seo-tool-btn:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.seo-tool-btn:disabled { opacity: 0.4; cursor: default; transform: none; box-shadow: none; }

/* SERP Preview */
.serp-preview {
  background: var(--serp-bg, #fff);
  border: 1px solid var(--serp-border, #E5E7EB);
  border-radius: 12px;
  padding: 1.2rem 1.2rem 1rem;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.serp-url { font-size: 0.75rem; color: #006621; margin-bottom: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: arial, sans-serif; }
.serp-title { font-size: 1.1rem; font-weight: 400; color: #1a0dab; line-height: 1.3; margin-bottom: 0.15rem; font-family: arial, sans-serif; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.serp-desc { font-size: 0.8rem; color: #545454; line-height: 1.4; font-family: arial, sans-serif; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.serp-stats { display: flex; gap: 1rem; font-size: 0.72rem; margin-top: 0.6rem; color: var(--gray); }
.serp-stat.ok { color: var(--green, #10B981); }
.serp-stat.warn { color: #F59E0B; }
.serp-stat.bad { color: #EF4444; }

/* Keyword density */
.kw-results { margin-top: 0.8rem; max-height: 200px; overflow-y: auto; }
.kw-row { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid var(--gray-line); font-size: 0.82rem; }
.kw-row:last-child { border-bottom: 0; }
.kw-word { font-weight: 500; }
.kw-count { color: var(--gray); font-family: var(--font-mono); }
.kw-bar { height: 4px; background: var(--blue); border-radius: 2px; align-self: center; min-width: 4px; }
.kw-bar-wrap { flex: 1; max-width: 80px; background: var(--gray-line); border-radius: 2px; align-self: center; margin: 0 0.6rem; }

/* Readability */
.readability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.5rem; }
.readability-item { background: var(--light); border-radius: 8px; padding: 0.7rem; text-align: center; }
.readability-item-value { font-size: 1.4rem; font-weight: 700; font-family: var(--font-display); }
.readability-item-label { font-size: 0.68rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.15rem; }
.readability-score { font-size: 2rem; font-weight: 900; font-family: var(--font-display); text-align: center; padding: 0.8rem 0; }
.readability-score.good { color: var(--green, #10B981); }
.readability-score.mid { color: #F59E0B; }
.readability-score.bad { color: #EF4444; }
.readability-score-label { text-align: center; font-size: 0.75rem; color: var(--gray); margin-bottom: 0.5rem; }

/* Content Score */
.content-score-ring { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1rem 0; }
.content-score-circle { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 900; font-family: var(--font-display); position: relative; flex-shrink: 0; }
.content-score-circle svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.content-score-circle svg circle { fill: none; stroke-width: 4; cx: 40; cy: 40; r: 36; }
.content-score-circle svg circle.bg { stroke: var(--gray-line); }
.content-score-circle svg circle.fg { stroke: var(--blue); stroke-dasharray: 226.19; stroke-dashoffset: 226.19; transition: stroke-dashoffset 800ms cubic-bezier(.2,.7,.3,1), stroke 300ms; }
.content-score-details { font-size: 0.82rem; line-height: 1.6; }
.content-score-details span { display: block; }
.content-score-details .ok { color: var(--green, #10B981); }
.content-score-details .warn { color: #F59E0B; }
.content-score-details .bad { color: #EF4444; }

/* ───── 18. RESPONSIVE — todas las secciones ───── */

/* Tablet */
@media (max-width: 1024px) {
  .nav-right .theme-toggle { margin-right: 0.5rem; }
}
@media (max-width: 900px) {
  .seo-tools-grid { grid-template-columns: 1fr; }
}
/* Mobile */
@media (max-width: 768px) {
  .seo-tool-card { padding: 1.2rem; }
  .seo-tool-input, .seo-tool-textarea { font-size: 16px; padding: 0.55rem 0.7rem; }
  .seo-tool-btn { width: 100%; text-align: center; padding: 0.7rem 1rem; }
  .testimonial-card { min-width: 270px; padding: 1.4rem; }
  .solutions-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  section, .sec, .sec-sm, .seo-tools-section, .testimonials, .cta-final { padding: 2.5rem 0; }
  .browser { transform: scale(0.85); transform-origin: top center; }
  .browser-bar .b-url { font-size: 0.6rem; }
  .hero-stats { flex-wrap: wrap; gap: 0.6rem; }
  .hstat-n { font-size: 1.4rem; }
  .hstat-l { font-size: 0.65rem; }
  .bonus-inner { flex-wrap: wrap; justify-content: center; text-align: center; gap: 0.4rem; }
  .bonus-text { font-size: 0.85rem; }
  .bonus-note { font-size: 0.7rem; }
  .strip--partner { flex-wrap: wrap; justify-content: center; text-align: center; gap: 0.5rem; }
  .strip--partner .partner-logo { height: 24px; }
  .seo-visual { font-size: 0.72rem; padding: 1rem; }
  .seo-row { padding: 0.5rem 0; gap: 0.5rem; flex-wrap: wrap; }
  .seo-badge { font-size: 0.55rem; padding: 0.1rem 0.3rem; }
  .plan-btn-primary, .plan-btn-secondary, .btn-add-cart, .btn-blue, .btn-ghost-white, .btn-white { width: 100%; justify-content: center; }
  .cta-final { padding: 3rem 1rem; }
  .cta-final h2 { font-size: clamp(1.6rem,5vw,2.2rem); }
  .cta-final .btn-white { width: 100%; justify-content: center; }
  .toast-container { bottom: 72px; right: 12px; left: 12px; }
  .toast-item { font-size: 0.75rem; padding: 0.6rem 1rem; text-align: center; }
  .cookie-bar { flex-direction: column; text-align: center; padding: 0.8rem 1rem; gap: 0.8rem; }
  .cookie-bar p { font-size: 0.78rem; }
  .serp-preview { padding: 0.8rem; }
  .serp-title { font-size: 0.95rem; }
  .serp-desc { font-size: 0.72rem; }
  .serp-url { font-size: 0.68rem; }
  .serp-stats { flex-wrap: wrap; gap: 0.4rem; font-size: 0.65rem; }
  .kw-results { max-height: 160px; font-size: 0.75rem; }
  .kw-bar-wrap { max-width: 50px; }
  .kw-row { padding: 0.25rem 0; }
  .readability-grid { grid-template-columns: 1fr 1fr; gap: 0.35rem; }
  .readability-item { padding: 0.5rem; }
  .readability-item-value { font-size: 1.1rem; }
  .readability-item-label { font-size: 0.6rem; }
  .readability-score { font-size: 1.5rem; padding: 0.4rem 0; }
  .content-score-ring { flex-direction: column; text-align: center; }
  .content-score-circle { width: 64px; height: 64px; font-size: 1.2rem; }
  .content-score-details { font-size: 0.75rem; }
  .footer-grid { gap: 1.5rem; }
  .footer-col-title { font-size: 0.82rem; margin-bottom: 0.5rem; }
  .footer-link { font-size: 0.78rem; padding: 0.2rem 0; }
  .footer-brand { font-size: 1rem; }
  .footer-desc { font-size: 0.75rem; }
}
@media (max-width: 480px) {
  section, .sec, .sec-sm, .seo-tools-section, .testimonials, .cta-final { padding: 2rem 0; }
  .theme-toggle { width: 34px; height: 34px; font-size: 0.85rem; }
  .nav-cta { font-size: 0.65rem; padding: 0.4rem 0.6rem; gap: 0.3rem; }
  .nav-logo { font-size: 1rem; }
  .nav-logo span { font-size: 0.75rem; }
  .cart-btn { font-size: 1rem; }
  .cart-drawer { width: 100%; right: -100%; }
  .cart-drawer.is-open { right: 0; }
  .container { padding-left: 1rem; padding-right: 1rem; }
  .ticker { font-size: 0.6rem; height: 26px; }
  .hero-badge { font-size: 0.65rem; padding: 0.25rem 0.5rem; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 0.6rem; }
  .browser { transform: scale(0.7); }
  .strip { padding: 0.5rem 1rem; }
  .strip-label { font-size: 0.6rem; }
  .price-amount { font-size: 1.1rem; }
  .price-amount span { font-size: 0.7rem; }
  .price-item { padding: 0.3rem 0.4rem; }
  .sec-label { font-size: 0.65rem; margin-bottom: 0.5rem; }
  .solutions-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .seo-tool-card h3 { font-size: 0.95rem; }
  .seo-tool-card p { font-size: 0.75rem; }
  .testimonials { padding: 2rem 0; }
  .testimonial-card { min-width: 220px; padding: 1.2rem; }
  .testimonial-text { font-size: 0.82rem; }
  .testimonials-dots { gap: 0.35rem; }
  .testimonials-dot { width: 8px; height: 8px; }
  .testimonials-dot.is-active { width: 22px; }
  .plan-col { padding: 1.5rem; }
  .plan-col-price { font-size: 2.2rem; }
  .plan-col-price small { font-size: 0.9rem; }
  .plan-feats { font-size: 0.78rem; }
  .plan-badge { font-size: 0.55rem; padding: 0.2rem 0.5rem; top: -1px; }
  .plans-row-2 { gap: 1rem; }
  .faq-btn { padding: 0.8rem 0; gap: 0.8rem; }
  .faq-q { font-size: 0.82rem; }
  .faq-a { font-size: 0.78rem; }
  .policy-card { padding: 1.2rem; }
  .policy-toggle { font-size: 0.72rem; }
  .calc-counter { flex-wrap: wrap; justify-content: center; }
  .calc-btn-n { width: 36px; height: 36px; font-size: 0.8rem; }
  .calc-input { width: 60px; height: 36px; font-size: 0.85rem; }
  .inc-table { font-size: 0.78rem; }
  .inc-row { padding: 0.5rem 0.6rem; }
  .prod-calc-head-emoji { font-size: 1.5rem; }
  .prod-calc-head h3 { font-size: 0.95rem; }
  .prod-calc-head-sub { font-size: 0.72rem; }
  .prod-calc-head-price { font-size: 1.1rem; }
  .calc-breakdown { font-size: 0.78rem; }
  .calc-example-tile-h .calc-example-n { font-size: 1.4rem; }
  .calc-example-txt { font-size: 0.72rem; }
  .tool-select, .calc-select { font-size: 16px; }
  .bonus-pill { font-size: 0.65rem; padding: 0.15rem 0.45rem; }
  .tn-callout { font-size: 0.78rem; padding: 0.5rem 0.6rem; }
  .sh-foot { font-size: 0.7rem; }
  .pack-combo-body { gap: 1rem; }
  .pack-combo-title { font-size: 0.95rem; }
  .pack-combo-tag { font-size: 0.6rem; padding: 0.15rem 0.45rem; }
  .pack-combo-old-price { font-size: 1rem; }
  .pack-combo-new-price { font-size: 1.5rem; }
  .calc-check { font-size: 0.78rem; }
  .calc-check input { width: 18px; height: 18px; }
  .seo-header { font-size: 0.75rem; }
  .day-row { font-size: 0.75rem; padding: 0.4rem 0; }
  .wa-float { width: 48px; height: 48px; font-size: 1.2rem; bottom: 66px; right: 16px; }
  .blog-card .blog-thumb { height: 120px; }
  .blog-body { padding: 0.8rem; }
  .blog-body h3 { font-size: 0.9rem; }
  .blog-excerpt { font-size: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid > div:first-child { order: -1; }
  .footer-grid > div:last-child { order: 0; }
  .footer-wa { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.3rem; font-size: 0.7rem; }
}

/* ───── 19. REDUCED MOTION ───── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker-inner { animation: none; }
  html.js [data-reveal],
  html.js [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ───── 20. PRINT ───── */
@media print {
  .nav, .ticker, .wa-float, .cart-drawer, .cart-overlay, .scroll-progress, .nav-toggle, .cart-btn, .scroll-top, .cookie-bar, .mobile-cta { display: none !important; }
  body { padding-bottom: 0 !important; }
}

/* ───── 21. FOCUS VISIBLE ───── */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

/* ───── 22. LAZY BLUR ───── */
img[data-src] { filter: blur(12px); transition: filter 400ms; }
img[data-src].is-loaded { filter: blur(0); }

/* ───── 23. SCROLL PADDING ───── */
html { scroll-padding-top: calc(var(--nav-h) + var(--ticker-h) + 12px); }

/* ───── Scroll to top ───── */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 85;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 300ms, transform 300ms, background 200ms;
  box-shadow: 0 4px 16px rgba(10,10,10,.2);
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--blue); }
@media (max-width: 768px) {
  .scroll-top { bottom: 80px; right: 16px; width: 40px; height: 40px; font-size: 1rem; }
}

/* ───── Cookie consent ───── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: rgba(255,255,255,.85);
  padding: 1rem 1.5rem;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform 500ms cubic-bezier(.2,.7,.3,1);
  box-shadow: 0 -8px 32px rgba(0,0,0,.15);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar p { margin: 0; max-width: 700px; font-size: 0.82rem; }
.cookie-bar a { color: var(--blue-sky); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  border: 1px solid;
  cursor: pointer;
  transition: all 200ms;
  white-space: nowrap;
}
.cookie-btn--accept { background: var(--blue); color: var(--white); border-color: var(--blue); }
.cookie-btn--accept:hover { background: var(--blue-dark); }
.cookie-btn--decline { background: transparent; color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.2); }
.cookie-btn--decline:hover { color: var(--white); border-color: var(--white); }
@media (max-width: 600px) {
  .cookie-bar { flex-direction: column; text-align: center; padding: 0.8rem 1rem; gap: 0.8rem; }
  .cookie-bar p { font-size: 0.78rem; }
}

/* ───── Sticky mobile CTA ───── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-line);
  padding: 0.6rem 1rem;
  z-index: 80;
  gap: 0.6rem;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}
.mobile-cta__text { font-size: 0.7rem; color: var(--gray); flex: 1; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.mobile-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 200ms;
}
.mobile-cta__btn:hover { transform: scale(1.03); }
.mobile-cta__btn:active { transform: scale(0.97); }
@media (max-width: 768px) {
  body { padding-bottom: 56px; }
  .mobile-cta { display: flex; }
  .wa-float { bottom: 68px; }
  .scroll-top { bottom: 72px; }
}

/* ───── Anchor smooth scroll offset ───── */
html { scroll-padding-top: calc(var(--nav-h) + var(--ticker-h) + 12px); }

/* ───── Image lazy blur ───── */
img[data-src] { filter: blur(12px); transition: filter 400ms; }
img[data-src].is-loaded { filter: blur(0); }

/* ───── Hover cards: subtle scale ───── */
@media (hover: hover) {
  .sol-card, .tool-card, .blog-card, .addon-card, .plan-col {
    will-change: transform;
  }
}

/* ───── Focus visible ring ───── */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

/* ───── Reduced motion über alles ───── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker-inner { animation: none; }
  html.js [data-reveal],
  html.js [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ───── Print cleanup ───── */
@media print {
  .nav, .ticker, .wa-float, .cart-drawer, .cart-overlay, .scroll-progress, .nav-toggle, .cart-btn, .scroll-top, .cookie-bar, .mobile-cta { display: none !important; }
  body { padding-bottom: 0 !important; }
}
