  :root{
    --bg:#F0F2ED;
    --bg-deep:#17231F;
    --surface:#FFFFFF;
    --ink:#1C2A25;
    --ink-soft:#4B5A54;
    --bg-soft:#C7CCC2;
    --accent:#8C3B4A;
    --accent-dark:#6E2F3A;
    --accent-light:#CE97A0;
    --accent-soft:#F4E6E4;
    --line:#DADFD4;
    --font-display:'Newsreader', serif;
    --font-body:'Public Sans', sans-serif;
    --container:1160px;
  }

  *,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:var(--font-body);
    background:var(--bg);
    color:var(--ink);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  img,svg{display:block;max-width:100%;}
  a{color:inherit;}
  ul,ol{list-style:none;}
  h1,h2,h3{font-family:var(--font-display);font-weight:500;line-height:1.15;color:var(--ink);}
  section{scroll-margin-top:84px;}
  ::selection{background:var(--accent);color:#fff;}
  :focus-visible{outline:2.5px solid var(--accent);outline-offset:3px;}

  .container{max-width:var(--container);margin:0 auto;padding:0 28px;}
  .section{padding:clamp(64px,10vw,120px) 0;background:var(--bg);}
  .section-alt{background:var(--surface);}
  .section-dark{background:var(--bg-deep);color:var(--bg);}
  .section-dark h2{color:var(--bg);}

  .eyebrow{
    font-family:var(--font-body);
    text-transform:uppercase;
    font-size:0.78rem;
    font-weight:600;
    letter-spacing:0.14em;
    color:var(--accent);
    margin-bottom:14px;
  }
  .section-dark .eyebrow{color:var(--accent-light);}
  .section-head{max-width:640px;margin-bottom:56px;}
  .section-head h2{font-size:clamp(1.9rem,2.4vw + 1rem,2.6rem);}

  /* Buttons */
  .btn{
    display:inline-flex;align-items:center;gap:10px;
    padding:14px 28px;border-radius:8px;
    font-family:var(--font-body);font-weight:600;font-size:0.95rem;
    text-decoration:none;cursor:pointer;border:1.5px solid transparent;
    transition:background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
    white-space:nowrap;
  }
  .btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  .btn-accent{background:var(--accent);color:#fff;}
  .btn-accent:hover{background:var(--accent-dark);transform:translateY(-1px);}
  .btn-outline{background:transparent;border-color:var(--ink);color:var(--ink);}
  .btn-outline:hover{background:var(--ink);color:var(--bg);}
  .btn-sm{padding:10px 20px;font-size:0.85rem;}

  /* ===== Header ===== */
  .site-header{
    position:sticky;top:0;z-index:50;
    background:rgba(240,242,237,0.9);
    backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 28px;}
  .logo{
    font-family:var(--font-body);font-weight:700;font-size:1rem;
    text-decoration:none;color:var(--ink);letter-spacing:0.01em;
  }
  .logo span{display:block;font-weight:400;font-size:0.72rem;letter-spacing:0.16em;text-transform:uppercase;color:var(--accent);margin-top:2px;}
  .main-nav{display:flex;align-items:center;gap:30px;}
  .main-nav a{font-size:0.93rem;font-weight:500;text-decoration:none;color:var(--ink-soft);transition:color .2s ease;}
  .main-nav a:hover{color:var(--accent);}
  .header-actions{display:flex;align-items:center;gap:18px;}
  .header-phone{font-size:0.92rem;font-weight:600;text-decoration:none;color:var(--ink);}
  .nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;color:var(--ink);}
  .nav-toggle svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;}
  .nav-toggle .icon-close{display:none;}
  .nav-toggle.is-open .icon-menu{display:none;}
  .nav-toggle.is-open .icon-close{display:block;}

  @media (max-width:960px){
    .main-nav{
      position:absolute;top:100%;left:0;right:0;
      background:var(--bg-deep);flex-direction:column;align-items:stretch;
      padding:8px 28px 20px;gap:0;
      transform:translateY(-8px);opacity:0;pointer-events:none;
      transition:transform .25s ease, opacity .25s ease;
    }
    .main-nav.is-open{transform:translateY(0);opacity:1;pointer-events:auto;}
    .main-nav a{color:var(--bg);padding:14px 4px;border-bottom:1px solid rgba(255,255,255,0.09);}
    .main-nav a:hover{color:var(--accent-light);}
    .header-phone{display:none;}
    .nav-toggle{display:flex;}
  }

  /* ===== Hero ===== */
  .hero{padding:64px 0 0;background:var(--bg);}
  .hero-inner{max-width:760px;padding-top:36px;}
  .hero h1{font-size:clamp(2.3rem,3.6vw + 1.2rem,3.85rem);margin-bottom:22px;letter-spacing:-0.01em;}
  .hero-lead{font-size:1.1rem;color:var(--ink-soft);max-width:560px;margin-bottom:34px;}
  .hero-actions{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:8px;}
  .hero-graphic{width:100%;overflow:hidden;margin-top:40px;line-height:0;}
  .hero-graphic svg{width:100%;height:auto;display:block;}
  #hero-line{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}

  /* ===== Trust strip ===== */
  .trust-strip{background:var(--surface);border-bottom:1px solid var(--line);}
  .trust-inner{
    display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
    gap:14px;padding:22px 28px;text-align:center;
  }
  .trust-inner p{font-size:0.87rem;font-weight:600;color:var(--ink-soft);}
  .trust-inner .dot{width:4px;height:4px;border-radius:50%;background:var(--accent);flex-shrink:0;}
  @media (max-width:640px){.trust-inner .dot{display:none;} .trust-inner{gap:6px 0;} .trust-inner p{width:100%;}}

  /* ===== Sobre mí ===== */
  .about-grid{display:grid;grid-template-columns:320px 1fr;gap:72px;align-items:center;}
  .about-visual{display:flex;justify-content:center;}
  .about-photo{position:relative;width:100%;max-width:320px;}
  .about-photo::before{
    content:'';position:absolute;top:18px;left:18px;width:100%;height:100%;
    border:1.5px solid var(--line);border-radius:20px;z-index:0;
  }
  .about-photo img{
    position:relative;z-index:1;width:100%;height:auto;display:block;
    border-radius:20px;box-shadow:0 24px 40px -20px rgba(23,35,31,0.35);
  }
  .about-role{font-weight:600;color:var(--accent);margin-bottom:18px;font-size:0.98rem;}
  .about-content h2{font-size:clamp(1.9rem,2.4vw + 1rem,2.5rem);margin-bottom:6px;}
  .about-content p{color:var(--ink-soft);margin-bottom:16px;max-width:560px;}
  .about-content blockquote{
    font-family:var(--font-display);font-style:italic;font-size:1.35rem;
    color:var(--ink);border-left:2.5px solid var(--accent);
    padding-left:22px;margin-top:26px;max-width:520px;
  }
  @media (max-width:800px){.about-grid{grid-template-columns:1fr;gap:36px;text-align:center;} .about-content p, .about-content blockquote{margin-left:auto;margin-right:auto;} .about-content blockquote{text-align:left;}}

  /* ===== Libros ===== */
  .books-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;}
  .book-card{
    background:var(--surface);border:1px solid var(--line);border-radius:16px;
    overflow:hidden;display:flex;
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .book-card:hover{transform:translateY(-4px);box-shadow:0 16px 28px -12px rgba(23,35,31,0.16);}
  .book-cover{flex:0 0 40%;}
  .book-cover img{width:100%;height:100%;object-fit:cover;display:block;}
  .book-info{padding:26px 24px;flex:1;min-width:0;}
  .book-info h3{font-family:var(--font-body);font-weight:600;font-size:1.1rem;margin-bottom:4px;}
  .book-subtitle{color:var(--accent);font-size:0.83rem;font-weight:600;margin-bottom:12px;}
  .book-info p:not(.book-subtitle){color:var(--ink-soft);font-size:0.94rem;margin-bottom:18px;}
  .affiliate-note{margin-top:28px;font-size:0.82rem;color:var(--ink-soft);text-align:center;}
  @media (max-width:700px){.books-grid{grid-template-columns:1fr;}}
  @media (max-width:480px){.book-card{flex-direction:column;} .book-cover{flex:0 0 auto;aspect-ratio:2/3;}}

  /* ===== Servicios ===== */
  .services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
  .service-card{
    background:var(--surface);border:1px solid var(--line);border-radius:16px;
    padding:32px 28px;transition:transform .25s ease, box-shadow .25s ease;
  }
  .service-card:hover{transform:translateY(-4px);box-shadow:0 16px 28px -12px rgba(23,35,31,0.16);}
  .icon-badge{
    width:52px;height:52px;border-radius:14px;background:var(--accent-soft);
    display:flex;align-items:center;justify-content:center;margin-bottom:20px;
  }
  .icon-badge svg{width:26px;height:26px;stroke:var(--accent);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
  .service-card h3{font-family:var(--font-body);font-weight:600;font-size:1.08rem;margin-bottom:10px;}
  .service-card p{color:var(--ink-soft);font-size:0.95rem;}
  @media (max-width:900px){.services-grid{grid-template-columns:repeat(2,1fr);}}
  @media (max-width:600px){.services-grid{grid-template-columns:1fr;}}

  /* ===== Cómo trabajo ===== */
  .process-list{display:grid;gap:0;max-width:760px;}
  .process-item{
    display:grid;grid-template-columns:64px 1fr;gap:26px;
    padding:28px 0;border-bottom:1px solid var(--line);
  }
  .process-item:first-child{padding-top:0;}
  .process-item:last-child{border-bottom:none;}
  .process-number{font-family:var(--font-display);font-size:2.1rem;color:var(--accent);line-height:1;}
  .process-item h3{font-family:var(--font-body);font-weight:600;font-size:1.08rem;margin-bottom:6px;}
  .process-item p{color:var(--ink-soft);font-size:0.95rem;max-width:480px;}

  /* ===== FAQ ===== */
  .faq-container{max-width:760px;}
  .faq-item{border-bottom:1px solid var(--line);padding:22px 0;}
  .faq-item summary{
    display:flex;align-items:center;justify-content:space-between;gap:20px;
    cursor:pointer;list-style:none;font-weight:600;font-size:1.02rem;color:var(--ink);
  }
  .faq-item summary::-webkit-details-marker{display:none;}
  .faq-icon{position:relative;width:16px;height:16px;flex-shrink:0;transition:transform .25s ease;}
  .faq-icon::before,.faq-icon::after{content:'';position:absolute;background:var(--accent);border-radius:2px;}
  .faq-icon::before{width:100%;height:2px;top:50%;left:0;transform:translateY(-50%);}
  .faq-icon::after{width:2px;height:100%;left:50%;top:0;transform:translateX(-50%);}
  details[open] .faq-icon{transform:rotate(45deg);}
  .faq-item p{color:var(--ink-soft);margin-top:14px;padding-right:30px;font-size:0.96rem;}
  .faq-item p a{color:var(--accent);font-weight:600;text-decoration-thickness:1.5px;text-underline-offset:3px;}

  /* ===== Contacto ===== */
  .contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;}
  .contact-intro p.lead{color:var(--bg-soft);margin:14px 0 30px;max-width:420px;}
  .contact-cards{display:flex;flex-direction:column;gap:14px;}
  .contact-card{
    display:flex;align-items:center;gap:16px;padding:18px 20px;
    background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.16);
    border-radius:12px;text-decoration:none;color:var(--bg);
    font-weight:600;font-size:0.98rem;
    transition:background .2s ease, transform .2s ease;
  }
  .contact-card:hover{background:rgba(255,255,255,0.11);transform:translateX(5px);}
  .contact-card svg{width:20px;height:20px;stroke:var(--accent-light);fill:none;stroke-width:1.6;flex-shrink:0;}
  .contact-form{background:var(--surface);border-radius:20px;padding:38px;color:var(--ink);}
  .field{margin-bottom:20px;}
  .field label{display:block;font-weight:600;font-size:0.85rem;margin-bottom:7px;color:var(--ink);}
  .field input,.field textarea{
    width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:8px;
    font-family:var(--font-body);font-size:0.95rem;color:var(--ink);background:var(--bg);
    transition:border-color .2s ease;resize:vertical;
  }
  .field input:focus,.field textarea:focus{outline:none;border-color:var(--accent);}
  .form-note{font-size:0.82rem;color:var(--ink-soft);margin-top:14px;}
  @media (max-width:860px){.contact-grid{grid-template-columns:1fr;gap:40px;} .contact-form{padding:28px;}}

  /* ===== Footer ===== */
  .site-footer{background:var(--bg-deep);color:var(--bg-soft);border-top:1px solid rgba(255,255,255,0.08);}
  .footer-inner{
    padding:28px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;
    font-size:0.85rem;
  }
  .footer-inner strong{color:var(--bg);font-weight:600;}
  .footer-legal{padding-top:0;gap:20px;}
  .footer-legal a{font-size:0.82rem;color:var(--bg-soft);text-decoration:none;}
  .footer-legal a:hover{color:var(--accent-light);}

  /* ===== Mobile floating call button ===== */
  .mobile-call{
    display:none;position:fixed;bottom:20px;right:20px;z-index:60;
    width:56px;height:56px;border-radius:50%;background:var(--accent);
    align-items:center;justify-content:center;box-shadow:0 10px 24px -6px rgba(140,59,74,0.55);
    text-decoration:none;
  }
  .mobile-call svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  @media (max-width:960px){.mobile-call{display:flex;}}

  /* ===== Reveal on scroll ===== */
  .reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease, transform .7s ease;}
  .reveal.is-visible{opacity:1;transform:none;}
  .services-grid .service-card:nth-child(2){transition-delay:.08s;}
  .services-grid .service-card:nth-child(3){transition-delay:.16s;}
  .services-grid .service-card:nth-child(5){transition-delay:.08s;}
  .services-grid .service-card:nth-child(6){transition-delay:.16s;}

  @media (prefers-reduced-motion: reduce){
    *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important;}
    html{scroll-behavior:auto;}
    .reveal{opacity:1;transform:none;}
  }

  /* ===== Aviso de cookies ===== */
  .cookie-banner{
    position:fixed;left:0;right:0;bottom:0;z-index:100;
    background:var(--bg-deep);color:var(--bg);
    padding:18px 24px;
    display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px;
    box-shadow:0 -8px 24px -8px rgba(0,0,0,0.35);
    transform:translateY(100%);transition:transform .4s ease;
  }
  .cookie-banner.is-visible{transform:translateY(0);}
  .cookie-banner p{font-size:0.88rem;color:var(--bg-soft);max-width:620px;margin:0;line-height:1.55;}
  .cookie-banner p a{color:var(--accent-light);font-weight:600;}
  .cookie-banner-actions{display:flex;gap:12px;flex-shrink:0;}
  @media (max-width:640px){.cookie-banner{justify-content:flex-start;padding:16px 20px;}}

  /* ===== Páginas legales ===== */
  .legal-hero{padding:56px 0 8px;}
  .legal-hero h1{font-size:clamp(2rem,3vw + 1rem,2.8rem);}
  .legal-content{max-width:760px;}
  .legal-content .updated{color:var(--ink-soft);font-size:0.85rem;margin-bottom:8px;}
  .legal-content h2{font-family:var(--font-body);font-size:1.2rem;font-weight:700;color:var(--ink);margin:38px 0 12px;}
  .legal-content h2:first-child{margin-top:0;}
  .legal-content p{color:var(--ink-soft);margin-bottom:14px;}
  .legal-content ul{margin:0 0 14px 20px;color:var(--ink-soft);}
  .legal-content li{list-style:disc;margin-bottom:6px;padding-left:4px;}
  .legal-content strong{color:var(--ink);font-weight:600;}
  .legal-content a{color:var(--accent);font-weight:600;}
  .legal-note{
    margin-top:40px;padding:20px 22px;background:var(--accent-soft);
    border-radius:12px;color:var(--ink);font-size:0.9rem;
  }
