/* Do Web · Blog — estilos base copiados del sitio + estilos de artículo */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue: #4A71B2;
    --blue-dark: #2E4F8A;
    --blue-light: #EBF0F8;
    --blue-pale: #F4F7FC;
    --ink: #0F1117;
    --ink-2: #2A2D35;
    --muted: #6B7080;
    --muted-2: #9AA0AE;
    --border: #E2E5ED;
    --bg: #FAFAF8;
    --white: #FFFFFF;
    --green: #22C55E;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; }
  ul { list-style: none; }

  /* ── TOPBAR ── */
  .topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5.5rem;
    height: 68px;
    background: rgba(250,250,248,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .topbar-logo {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 8px;
    cursor: pointer; background: none; border: none;
  }
  .logo-img { height: 24px; width: auto; display: block; }
  .footer-logo { height: 18px; width: auto; display: block; }
  @media (max-width: 760px) { .logo-img { height: 22px; } }
  .topbar-logo span.dot {
    display: inline-block; width: 8px; height: 8px;
    background: var(--blue); border-radius: 50%;
  }
  .nav-links {
    display: flex; align-items: center; gap: 30px;
  }
  .nav-item { position: relative; }
  .nav-link {
    font-size: 13.5px; font-weight: 500; color: var(--ink-2);
    background: none; border: none; cursor: pointer;
    padding: 8px 0; display: flex; align-items: center; gap: 4px;
    font-family: var(--sans);
    transition: color .15s;
  }
  .nav-link:hover, .nav-link.active { color: var(--blue); }
  .nav-dropdown {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: var(--white); border: 1px solid var(--border); border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15,17,23,0.1);
    padding: 8px; min-width: 240px;
    opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(6px);
    transition: all .15s;
  }
  .nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .nav-dropdown button {
    display: block; width: 100%; text-align: left;
    font-family: var(--sans); font-size: 13px; color: var(--ink-2);
    background: none; border: none; cursor: pointer;
    padding: 10px 12px; border-radius: 6px;
  }
  .nav-dropdown button:hover { background: var(--blue-pale); color: var(--blue-dark); }
  .topbar-right { display: flex; align-items: center; gap: 16px; }
  .topbar-cta {
    font-family: var(--sans);
    font-size: 13px; font-weight: 500;
    background: var(--blue); color: #fff;
    border: none; border-radius: 6px;
    padding: 8px 18px; cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    white-space: nowrap;
  }
  .topbar-cta:hover { background: var(--blue-dark); }
  .menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

  @media (max-width: 1100px) { .topbar { padding: 0 3rem; } }
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
  }

  .mobile-menu {
    display: none;
    position: fixed; top: 68px; left: 0; right: 0; z-index: 199;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 12px 1.5rem 20px;
    flex-direction: column; gap: 2px;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu button {
    text-align: left; font-family: var(--sans); font-size: 14.5px; font-weight: 500;
    color: var(--ink-2); background: none; border: none; padding: 12px 4px;
    border-bottom: 1px solid var(--border); cursor: pointer;
  }
  .mobile-menu button.sub { padding-left: 20px; font-weight: 400; font-size: 13.5px; color: var(--muted); }

  .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue); color: #fff;
    font-family: var(--sans); font-size: 14.5px; font-weight: 500;
    padding: 13px 26px; border-radius: 8px;
    border: none; cursor: pointer; text-decoration: none;
    transition: background .15s, transform .15s;
  }
  .btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
  .btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); color: var(--ink);
    font-family: var(--sans); font-size: 14.5px; font-weight: 500;
    padding: 13px 26px; border-radius: 8px;
    border: 1px solid var(--border); cursor: pointer; text-decoration: none;
    transition: all .15s;
  }
  .btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
  /* ── SECTIONS ── */
  .section { max-width: 860px; margin: 0 auto; padding: 0 2rem 80px; }
  .section.narrow { max-width: 780px; }
  .section-label {
    font-size: 11px; font-weight: 500; letter-spacing: .1em;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
  }
  .section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--blue); }
  .section-title {
    font-family: var(--serif);
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 400; line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .section-title em { font-style: italic; color: var(--blue); }
  .section-intro { font-size: 15px; color: var(--muted); max-width: 620px; margin-bottom: 40px; line-height: 1.65; }
  /* ── CTA FINAL ── */
  #aplicar, #aplicar-marca, #aplicar-negocios, #aplicar-asesorias { scroll-margin-top: 68px; }
  .cta-section { background: var(--ink); color: white; padding: 76px 2rem; text-align: center; }
  .cta-inner { max-width: 580px; margin: 0 auto; }
  .cta-section h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); font-weight: 400; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em; }
  .cta-section h2 em { color: #7BA4D9; font-style: italic; }
  .cta-section p { font-size: 14.5px; color: rgba(255,255,255,.55); margin-bottom: 30px; line-height: 1.65; }
  .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .cta-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: white; font-family: var(--sans); font-size: 14.5px; font-weight: 500; padding: 15px 28px; border-radius: 8px; border: none; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s; }
  .cta-btn:hover { background: #5A83C8; transform: translateY(-1px); }
  .cta-btn.outline { background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; }
  .cta-btn.outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }

  /* ── DIAGNÓSTICO GRATIS ── */
  .diag-banner { background: var(--ink); color: #fff; border-radius: 16px; padding: 32px 36px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; }
  .diag-banner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(74,113,178,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(74,113,178,.10) 1px, transparent 1px); background-size: 36px 36px; pointer-events: none; }
  .diag-banner > * { position: relative; }
  .diag-tag { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #7BA4D9; margin-bottom: 10px; }
  .diag-banner h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.2; margin-bottom: 8px; }
  .diag-banner h3 em { color: #7BA4D9; font-style: italic; }
  .diag-banner p { font-size: 14px; color: rgba(255,255,255,.65); max-width: 460px; line-height: 1.6; }
  .diag-banner .btn-primary { background: var(--blue); white-space: nowrap; }
  .diag-banner .btn-primary:hover { background: #5A83C8; }
  @media (max-width: 760px) { .diag-banner { padding: 24px; } .diag-banner .btn-primary { width: 100%; justify-content: center; } }

  /* ── FLOATING WHATSAPP ── */
  .wa-float { position: fixed; bottom: 22px; right: 22px; z-index: 150; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,0.22); text-decoration: none; transition: transform .15s; }
  .wa-float:hover { transform: scale(1.06); }

  /* ── FOOTER ── */
  footer { padding: 30px 2rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--bg); flex-wrap: wrap; gap: 16px; }
  footer span { font-size: 12px; color: var(--muted-2); }
  .footer-links { display: flex; gap: 16px; align-items: center; }
  .footer-links a { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-2); text-decoration: none; transition: color .15s; }
  .footer-links a:hover { color: var(--blue); }

  /* ── BLOG ── */
  .blog-main { padding-top: 68px; }
  .blog-hero { padding: 80px 2rem 48px; max-width: 820px; margin: 0 auto; text-align: center; }
  .blog-hero .hero-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--blue-light); border: 1px solid #C5D5EC; border-radius: 20px; padding: 4px 14px; margin-bottom: 24px; }
  .blog-hero h1 { font-family: var(--serif); font-size: clamp(34px, 5.5vw, 52px); font-weight: 400; line-height: 1.14; letter-spacing: -0.02em; margin-bottom: 18px; }
  .blog-hero h1 em { font-style: italic; color: var(--blue); }
  .blog-hero p { font-size: 17px; color: var(--muted); font-weight: 300; max-width: 580px; margin: 0 auto; line-height: 1.65; }

  .post-list { max-width: 860px; margin: 0 auto; padding: 0 2rem 64px; display: grid; gap: 16px; }
  .post-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px; text-decoration: none; transition: border-color .15s, transform .15s; }
  .post-card:hover { border-color: var(--blue); transform: translateY(-2px); }
  .post-tag { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; display: block; }
  .post-card h2 { font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.25; color: var(--ink); margin-bottom: 8px; }
  .post-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
  .post-meta { font-size: 12.5px; color: var(--muted-2); }

  .breadcrumb { max-width: 760px; margin: 0 auto; padding: 40px 2rem 0; font-size: 12.5px; color: var(--muted-2); }
  .breadcrumb a { color: var(--muted); text-decoration: none; }
  .breadcrumb a:hover { color: var(--blue); }

  .article { max-width: 760px; margin: 0 auto; padding: 24px 2rem 40px; }
  .article h1 { font-family: var(--serif); font-size: clamp(32px, 5vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
  .byline { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 28px; flex-wrap: wrap; }
  .byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
  .byline a { color: var(--ink); font-weight: 500; text-decoration: none; }
  .byline a:hover { color: var(--blue); }
  .answer { background: var(--blue-pale); border: 1px solid #C5D5EC; border-left: 3px solid var(--blue); border-radius: 10px; padding: 20px 22px; margin-bottom: 36px; }
  .answer-label { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; display: block; }
  .answer p { font-size: 16px; color: var(--ink-2); line-height: 1.65; margin: 0; }

  .article h2 { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 30px); font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; margin: 40px 0 14px; }
  .article h3 { font-size: 16px; font-weight: 500; margin: 24px 0 8px; }
  .article p { font-size: 16px; color: var(--ink-2); line-height: 1.75; margin-bottom: 16px; }
  .article ul, .article ol { margin: 0 0 18px 0; padding-left: 0; }
  .article ul li, .article ol li { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin-bottom: 8px; padding-left: 22px; position: relative; }
  .article ul li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
  .article ol { counter-reset: n; list-style: none; }
  .article ol li { counter-increment: n; padding-left: 28px; }
  .article ol li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--blue); font-weight: 500; }
  .article a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
  .article strong { font-weight: 500; color: var(--ink); }
  .formula { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin: 0 0 18px; text-align: center; }
  .table-wrap { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
  .article table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
  .article th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12.5px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--blue-pale); }
  .article td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--ink-2); }
  .article tr:last-child td { border-bottom: none; }

  .faq { margin-top: 44px; border-top: 1px solid var(--border); padding-top: 8px; }
  .faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
  .faq summary { font-size: 16px; font-weight: 500; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: '+'; color: var(--blue); font-size: 20px; line-height: 1; }
  .faq details[open] summary::after { content: '–'; }
  .faq details p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }

  .sources { margin-top: 36px; font-size: 13px; color: var(--muted); }
  .sources h2 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
  .sources ul li { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
  .sources ul li::before { top: 9px; width: 4px; height: 4px; background: var(--muted-2); }

  .post-cta { max-width: 760px; margin: 0 auto 40px; padding: 0 2rem; }
  .related { max-width: 760px; margin: 0 auto; padding: 0 2rem 72px; }
  .related h2 { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
  .related .post-list { padding: 0; max-width: none; }
  .related .post-card h2 { font-size: 21px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; }

  .author-card { max-width: 760px; margin: 0 auto; padding: 24px 2rem 32px; display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
  .author-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
  .author-card .who { flex: 1; min-width: 240px; }
  .author-card h1 { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1.15; margin-bottom: 6px; }
  .author-role { font-size: 13px; color: var(--blue); font-weight: 500; margin-bottom: 14px; }
  .author-card p { font-size: 15.5px; color: var(--ink-2); line-height: 1.7; margin-bottom: 14px; }
  .author-card a.btn-secondary { font-size: 13px; padding: 9px 16px; }

  @media (max-width: 760px) {
    .topbar { padding: 0 1.75rem; }
    .blog-hero { padding-top: 56px; }
    .post-list, .article, .breadcrumb, .post-cta, .related, .author-card { padding-left: 1rem; padding-right: 1rem; }
    footer { flex-direction: column; text-align: center; }
    .diag-banner { padding: 24px; }
    .diag-banner .btn-primary { width: 100%; justify-content: center; }
  }
