/* Fuentes servidas desde el propio servidor.
   Antes venían de Google con un <link> en la plantilla, que encadenaba tres
   peticiones bloqueantes (documento -> fonts.googleapis.com ->
   fonts.gstatic.com) y costaba 842 ms de primer pintado.
   Solo latino y latino extendido. Montserrat es variable y cabe en un
   fichero por subconjunto; Poppins no, y lleva uno por grosor. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin.311d352d9323.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.d16dfe26bcd7.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin.9212f6f9860f.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.72993dddf88a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin.25b0e113ca7c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-800-latin.af4d371a1027.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin-ext.90926c36b712.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin-ext.a575b6d9df98.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin-ext.367d2aa05bf0.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-800-latin-ext.6b2835047d68.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Montserrat',sans-serif;color:#1A1A1A;background:#fff;overflow-x:hidden}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}

:root{
  --p:#4AADD6;
  --pd:#3A9ABF;
  --deep:#0F3347;
  --navy:#1A4F6E;
  --mid:#236B8A;
  --txt:#1A1A1A;
  --muted:#4A5568;
  --bg:#F4F8FB;
  --border:#E2EDF5;
  --r:12px;
  --sh:0 4px 24px rgba(15,51,71,.08);
  --sh-lg:0 12px 48px rgba(15,51,71,.14);
}

/* ── BASE ── */
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ── BUTTONS ── */
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;border-radius:8px;font-family:'Montserrat',sans-serif;font-size:14px;font-weight:600;transition:all .25s;cursor:pointer;border:none}
.btn-p{background:var(--p);color:#fff}
.btn-p:hover{background:var(--pd);transform:translateY(-2px);box-shadow:0 8px 24px rgba(74,173,214,.35)}
.btn-o{background:transparent;color:var(--p);border:2px solid var(--p)}
.btn-o:hover{background:var(--p);color:#fff;transform:translateY(-2px)}
.btn-lg{padding:15px 32px;font-size:15px;border-radius:10px}

/* ── HEADER ── */
.hdr{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-bottom:1px solid transparent;transition:border-color .3s,box-shadow .3s}
.hdr.on{border-color:var(--border);box-shadow:0 2px 20px rgba(15,51,71,.07)}
.hdr__in{display:flex;align-items:center;justify-content:space-between;height:60px}
.logo{display:flex;align-items:center}
.logo img{height:50px;width:auto}

/* Nav: mobile = hidden drawer, opens with .open */
.nav{
  display:none;
  position:fixed;
  top:60px;left:0;right:0;
  background:#fff;
  flex-direction:column;
  padding:8px 20px 20px;
  border-bottom:1px solid var(--border);
  box-shadow:0 8px 32px rgba(15,51,71,.12);
  z-index:99;
  gap:0;
}
.nav.open{display:flex}
.nav a{font-size:15px;font-weight:500;padding:13px 0;border-bottom:1px solid var(--border);color:var(--deep);transition:color .2s}
.nav a:last-child{border-bottom:none}
.nav a:hover,.nav a.active{color:var(--p)}

/* Hamburger: visible on mobile */
.nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;background:none;border:none;cursor:pointer;padding:6px;margin-left:8px}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--deep);border-radius:2px;transition:transform .3s,opacity .3s}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0;transform:scaleX(0)}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Header CTA: hidden on mobile */
.hdr .btn-p{display:none}

/* ── SECTION HEADINGS ── */
.section__eyebrow{font-size:11px;font-weight:600;color:var(--p);text-transform:uppercase;letter-spacing:2px;margin-bottom:12px}
.section__h2{font-family:'Poppins',sans-serif;font-size:26px;font-weight:700;color:var(--deep);line-height:1.2;margin-bottom:14px}
.section__sub{font-size:15px;color:var(--muted);line-height:1.7}
.section__hdr{margin-bottom:40px}
.section__hdr--c{text-align:center}
.section__hdr--c .section__sub{margin:0 auto}

/* ── HERO ── */
.hero{padding:82px 0 56px;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-80px;right:-80px;width:320px;height:320px;background:radial-gradient(circle,rgba(74,173,214,.09) 0%,transparent 70%);pointer-events:none}
.hero::after{content:'';position:absolute;bottom:-50px;left:-50px;width:240px;height:240px;background:radial-gradient(circle,rgba(74,173,214,.06) 0%,transparent 70%);pointer-events:none}

/* Mobile: single column, no photo */
.hero__grid{display:flex;flex-direction:column;gap:0}
.hero__photo-wrap{display:none}

.hero__tag{display:inline-flex;align-items:center;gap:7px;background:rgba(74,173,214,.1);color:var(--mid);padding:5px 13px;border-radius:100px;font-size:12px;font-weight:600;margin-bottom:18px}
.hero__dot{width:7px;height:7px;background:var(--p);border-radius:50%;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.4)}}

.hero__h1{font-family:'Poppins',sans-serif;font-size:30px;font-weight:800;line-height:1.15;color:var(--deep);margin-bottom:14px}
.hero__h1 em{color:var(--p);font-style:normal}
.hero__sub{font-size:15px;color:var(--muted);line-height:1.75;margin-bottom:28px}
.hero__btns{display:flex;flex-direction:column;gap:10px;margin-bottom:36px}
.hero__btns .btn{width:100%;justify-content:center}
.hero__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:22px;border-top:1px solid var(--border);text-align:center}
.hero__stats>*{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}
.stat__n{font-family:'Poppins',sans-serif;font-size:clamp(12px,3.4vw,20px);font-weight:800;color:var(--p);line-height:1}
.stat__l{font-size:clamp(9px,2.1vw,11px);color:var(--muted);line-height:1.35;text-align:center}

/* Photo markup (hidden on mobile, revealed on desktop) */
.hero__photo-deco{position:absolute;width:380px;height:460px;border-radius:24px;border:3px solid rgba(74,173,214,.18);top:20px;left:20px;z-index:1}
.hero__photo{width:380px;height:460px;border-radius:24px;object-fit:cover;position:relative;z-index:2;box-shadow:var(--sh-lg);background:linear-gradient(135deg,#daeef8,#f0f8fd);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}
.hero__photo span{font-size:13px;color:var(--mid);font-weight:600}
.hero__photo svg{width:64px;height:64px;stroke:var(--p);opacity:.4}

.badge{position:absolute;background:#fff;border-radius:16px;padding:14px 18px;box-shadow:var(--sh-lg);z-index:3;display:flex;align-items:center;gap:12px}
.badge--a{bottom:48px;left:-20px;animation:float 3.5s ease-in-out infinite}
.badge--b{top:48px;right:-20px;animation:float 3.5s ease-in-out infinite 1.8s;background:var(--p);color:#fff;flex-direction:column;align-items:flex-start;padding:18px 22px}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.badge__ico{width:44px;height:44px;background:rgba(74,173,214,.1);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.badge__txt strong{display:block;font-size:14px;color:var(--deep);font-weight:700}
.badge__txt span{font-size:12px;color:var(--muted)}
.badge--b .badge__n{font-family:'Poppins',sans-serif;font-size:26px;font-weight:800;line-height:1}
.badge--b .badge__l{font-size:11px;opacity:.85}

/* ── FRASE ── */
.frase{padding:52px 0;background:var(--bg)}
.frase__in{display:flex;flex-direction:column;gap:20px}
.frase__big{font-family:'Poppins',sans-serif;font-size:28px;font-weight:800;color:var(--p);line-height:1.15}
.frase__text{font-size:15px;color:var(--muted);line-height:1.8}
.frase__text p+p{margin-top:14px}

/* ── NÚMEROS ── */
.numeros{padding:44px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.numeros__grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;text-align:center}
.numeros__n{font-family:'Poppins',sans-serif;font-size:30px;font-weight:800;color:var(--p);line-height:1}
.numeros__l{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.4}

/* ── AUGE ── */
.auge{padding:60px 0;background:#fff}
.auge__steps{display:flex;flex-direction:column;gap:14px}
.auge__step{background:#fff;border-radius:var(--r);padding:26px 22px;border:1px solid var(--border);position:relative;overflow:hidden;transition:transform .35s,box-shadow .35s;cursor:default}
.auge__step:hover{transform:translateY(-6px);box-shadow:var(--sh-lg)}
.auge__step::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:var(--p)}
.auge__letter{font-family:'Poppins',sans-serif;font-size:64px;font-weight:800;color:rgba(74,173,214,.08);position:absolute;top:-6px;right:10px;line-height:1;user-select:none}
.auge__ico{width:46px;height:46px;background:rgba(74,173,214,.1);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:14px}
.auge__title{font-family:'Poppins',sans-serif;font-size:17px;font-weight:700;color:var(--deep);margin-bottom:8px}
.auge__desc{font-size:14px;color:var(--muted);line-height:1.7}

/* ── RESULTADOS ── */
.resultados{padding:60px 0;background:var(--bg)}
.res__grid{display:flex;flex-direction:column;gap:20px}
.res__card{background:#fff;border-radius:var(--r);overflow:hidden;border:1px solid var(--border);position:relative;transition:transform .35s,box-shadow .35s;display:flex;flex-direction:column}
.res__card:hover{transform:translateY(-6px);box-shadow:var(--sh-lg)}
.res__imgs{position:relative;height:190px;flex-shrink:0;overflow:hidden;background:linear-gradient(135deg,#daeef8 0%,#eaf5fb 100%)}
.res__imgs img{position:absolute;width:76%;height:84%;object-fit:cover;border-radius:8px;border:3px solid #fff;box-shadow:0 6px 20px rgba(15,51,71,.2)}
.res__imgs img:nth-child(1){top:9%;left:-1%;transform:rotate(-6deg);z-index:1}
.res__imgs img:nth-child(2){top:3%;left:12%;transform:rotate(1deg);z-index:3}
.res__imgs img:nth-child(3){top:9%;left:26%;transform:rotate(7deg);z-index:2}
.res__body{padding:22px;position:relative;flex:1;display:flex;flex-direction:column}
.res__sector{font-size:11px;font-weight:700;color:var(--p);text-transform:uppercase;letter-spacing:2px;margin-bottom:14px}
.res__nums{display:flex;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.res__num{font-family:'Poppins',sans-serif;font-size:24px;font-weight:800;line-height:1}
.res__num--b{color:#E53E3E}
.res__num--a{color:#38A169}
.res__numlbl{font-size:11px;color:var(--muted);margin-top:3px}
.res__arrow{font-size:18px;color:var(--muted)}
.res__desc{font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:14px;flex:1}
.res__pill{background:rgba(74,173,214,.08);border-radius:8px;padding:10px 14px;font-size:13px;color:var(--deep);font-weight:600}
.res__note{font-size:11px;color:var(--muted);margin-top:10px;font-style:italic}
.res__deco{position:absolute;bottom:-24px;right:-24px;width:100px;height:100px;background:rgba(74,173,214,.05);border-radius:50%}

/* ── SERVICIOS ── */
.servicios{padding:60px 0;background:#fff}
.svc__grid{display:flex;flex-direction:column;gap:16px}
.svc{background:#fff;border:1px solid var(--border);border-radius:var(--r);padding:28px 22px;display:flex;flex-direction:column;transition:transform .35s,box-shadow .35s}
.svc:hover{transform:translateY(-6px);box-shadow:var(--sh-lg)}
.svc--mid{background:var(--p);border-color:var(--p);color:#fff}
.svc__tag{display:inline-block;background:rgba(74,173,214,.1);color:var(--p);font-size:11px;font-weight:700;padding:4px 12px;border-radius:100px;text-transform:uppercase;letter-spacing:1px;margin-bottom:18px}
.svc--mid .svc__tag{background:rgba(255,255,255,.2);color:#fff}
.svc__ico{width:50px;height:50px;background:var(--bg);border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:14px}
.svc--mid .svc__ico{background:rgba(255,255,255,.2)}
.svc__h3{font-family:'Poppins',sans-serif;font-size:18px;font-weight:700;color:var(--deep);margin-bottom:10px}
.svc--mid .svc__h3{color:#fff}
.svc__p{font-size:14px;color:var(--muted);line-height:1.7;flex:1;margin-bottom:22px}
.svc--mid .svc__p{color:rgba(255,255,255,.85)}
.svc__link{font-size:14px;font-weight:600;color:var(--p);display:inline-flex;align-items:center;gap:6px;transition:gap .2s}
.svc--mid .svc__link{color:#fff}
.svc__link:hover{gap:12px}

/* ── QUIEN SOY ── */
.quien{padding:60px 0;background:var(--bg)}
.quien__grid{display:flex;flex-direction:column;gap:28px}
.quien__photo{width:100%;max-height:280px;border-radius:16px;object-fit:cover;object-position:top;box-shadow:var(--sh-lg);background:linear-gradient(135deg,#daeef8,#f0f8fd);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}
.quien__photo span{font-size:13px;color:var(--mid);font-weight:600}
.quien__creds{display:flex;flex-direction:column;gap:14px;margin-top:24px}
.cred{display:flex;align-items:flex-start;gap:12px}
.cred__ico{width:44px;height:44px;flex-shrink:0;background:rgba(74,173,214,.1);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px}
.cred__txt{font-size:14px;color:var(--muted);line-height:1.6}
.cred__txt strong{color:var(--deep);font-weight:600;display:block;margin-bottom:2px}

/* ── LIBROS ── */
.libros{padding:60px 0;background:#fff}
.libros__grid{display:flex;flex-direction:column;gap:20px}
.libro{display:flex;flex-direction:column;gap:18px;align-items:flex-start;background:var(--bg);border-radius:var(--r);padding:24px 20px;border:1px solid var(--border);transition:transform .35s,box-shadow .35s}
.libro:hover{transform:translateY(-4px);box-shadow:var(--sh-lg)}
.libro--featured{background:linear-gradient(135deg,#eaf5fb 0%,var(--bg) 100%);border-color:rgba(74,173,214,.25)}
.libro__cover{flex-shrink:0;width:130px;height:182px;border-radius:10px;box-shadow:0 8px 32px rgba(15,51,71,.15);object-fit:cover;background:linear-gradient(135deg,var(--p),var(--navy));display:flex;align-items:center;justify-content:center;padding:16px;text-align:center}
.libro--featured .libro__cover{width:150px;height:210px}
.libro__cover-txt{font-family:'Poppins',sans-serif;font-size:13px;font-weight:700;color:#fff;line-height:1.3}
.libro__cover-sub{font-size:10px;color:rgba(255,255,255,.7);margin-top:6px;font-weight:500}
.libro__badge{display:inline-block;background:rgba(74,173,214,.12);color:var(--mid);font-size:11px;font-weight:700;padding:4px 12px;border-radius:100px;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}
.libro__title{font-family:'Poppins',sans-serif;font-size:19px;font-weight:700;color:var(--deep);margin-bottom:8px;line-height:1.3}
.libro--featured .libro__title{font-size:20px}
.libro__desc{font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:14px}
.libro__meta{font-size:13px;color:var(--muted);margin-bottom:16px}
.libro__meta strong{color:var(--deep)}
.libro__soon{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);font-weight:600;background:var(--border);padding:8px 16px;border-radius:8px}

/* ── BLOG ── */
.blog{padding:60px 0;background:var(--bg)}
.blog__grid{display:flex;flex-direction:column;gap:18px}
.post{background:#fff;border-radius:var(--r);overflow:hidden;border:1px solid var(--border);transition:transform .35s,box-shadow .35s;display:flex;flex-direction:column}
.post:hover{transform:translateY(-4px);box-shadow:var(--sh-lg)}
.post__thumb{height:170px;background:linear-gradient(135deg,#daeef8,#eaf5fb);display:flex;align-items:center;justify-content:center;font-size:44px;flex-shrink:0;position:relative;overflow:hidden}
.post__thumb img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.post__body{padding:22px;flex:1;display:flex;flex-direction:column}
.post__cat{font-size:11px;font-weight:700;color:var(--p);text-transform:uppercase;letter-spacing:1.5px;margin-bottom:8px}
.post__title{font-family:'Poppins',sans-serif;font-size:16px;font-weight:700;color:var(--deep);line-height:1.4;margin-bottom:8px}
.post__excerpt{font-size:13px;color:var(--muted);line-height:1.7;flex:1;margin-bottom:14px}
.post__footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:12px}
.post__date{font-size:12px;color:var(--muted)}
.post__link{font-size:13px;font-weight:600;color:var(--p);display:inline-flex;align-items:center;gap:5px;transition:gap .2s}
.post__link:hover{gap:9px}
.blog__cta{text-align:center;margin-top:36px}

/* ── CTA FINAL ── */
.cta-final{padding:64px 0;background:#fff;text-align:center;position:relative;overflow:hidden}
.cta-final::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:400px;height:400px;background:radial-gradient(circle,rgba(74,173,214,.1) 0%,transparent 68%);pointer-events:none}
.cta-final__h2{font-family:'Poppins',sans-serif;font-size:28px;font-weight:800;color:var(--deep);margin-bottom:14px;position:relative}
.cta-final__h2 em{color:var(--p);font-style:normal}
.cta-final__p{font-size:15px;color:var(--muted);margin-bottom:28px;position:relative}
.cta-final__btns{display:flex;flex-direction:column;align-items:center;gap:12px;position:relative}
.cta-final__btns .btn{width:100%;max-width:300px;justify-content:center}

/* ── FOOTER ── */
.footer{background:var(--bg);border-top:1px solid var(--border);padding:24px 0}
.footer__in{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.footer__copy{font-size:13px;color:var(--muted)}
.footer__links{display:flex;gap:18px;flex-wrap:wrap;justify-content:center}
.footer__link{font-size:13px;color:var(--muted);transition:color .2s}
.footer__link:hover{color:var(--p)}
.footer__back{font-size:13px;font-weight:600;color:var(--p)}
.footer__back:hover{text-decoration:underline}

/* ── REVEAL ANIMATIONS ── */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:translateY(0)}
.d1{transition-delay:.1s}.d2{transition-delay:.2s}.d3{transition-delay:.3s}.d4{transition-delay:.4s}

/* ════════════════════════════════════════
   SMALL TABLET  min-width: 600px
   ════════════════════════════════════════ */
@media(min-width:600px){
  .container{padding:0 28px}
  .hero__h1{font-size:36px}
  .hero__btns{flex-direction:row;flex-wrap:wrap}
  .hero__btns .btn{width:auto}
  .stat__n{font-size:22px}
  .stat__l{font-size:11px}
  .frase__big{font-size:34px}
  .section__h2{font-size:30px}
  .numeros__n{font-size:38px}
  /* 2-col grid for AUGE steps */
  .auge__steps{display:grid;grid-template-columns:1fr 1fr;gap:14px}
  .auge__step{padding:24px 20px}
  /* blog 2-col */
  .blog__grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
}

/* ════════════════════════════════════════
   TABLET  min-width: 768px
   ════════════════════════════════════════ */
@media(min-width:768px){
  .hdr__in{height:68px}
  .nav{top:68px}

  /* Hero */
  .hero{padding:100px 0 68px}
  .hero__h1{font-size:42px}
  .hero__sub{font-size:16px}
  .hero__btns{margin-bottom:44px}
  .hero__stats{gap:20px}
  .stat__n{font-size:28px}
  .stat__l{font-size:12px}

  /* Frase: 2-col */
  .frase{padding:68px 0}
  .frase__in{flex-direction:row;gap:48px;align-items:center}
  .frase__big{font-size:40px;flex:1;min-width:0}
  .frase__text{font-size:16px;flex:2;min-width:0}

  /* Números: 4-col */
  .numeros{padding:52px 0}
  .numeros__grid{grid-template-columns:repeat(4,1fr);gap:28px}
  .numeros__n{font-size:46px}
  .numeros__l{font-size:13px}

  /* AUGE */
  .auge{padding:76px 0}
  .section__h2{font-size:34px}
  .section__hdr{margin-bottom:48px}

  /* Resultados */
  .resultados{padding:76px 0}

  /* Servicios: 2-col (middle card spans full width if 3 items) */
  .servicios{padding:76px 0}
  .svc__grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}

  /* Quien */
  .quien{padding:76px 0}
  .quien__grid{flex-direction:row;gap:48px;align-items:center}
  .quien__grid>*:first-child{flex:5;min-width:0}
  .quien__grid>*:last-child{flex:6;min-width:0}
  .quien__photo{max-height:none;aspect-ratio:4/5}

  /* Libros: featured gets row layout */
  .libros{padding:76px 0}
  .libro--featured{flex-direction:row;gap:36px;align-items:center}
  .libro--featured .libro__cover{width:170px;height:238px}
  .libro--featured .libro__title{font-size:22px}

  /* Blog: 3-col */
  .blog{padding:76px 0}
  .blog__grid{grid-template-columns:repeat(3,1fr)}

  /* CTA */
  .cta-final{padding:88px 0}
  .cta-final__h2{font-size:36px}
  .cta-final__p{font-size:17px;margin-bottom:36px}
  .cta-final__btns{flex-direction:row;justify-content:center}
  .cta-final__btns .btn{width:auto;max-width:none}

  /* Footer */
  .footer{padding:30px 0}
  .footer__in{flex-direction:row;justify-content:space-between;text-align:left}
}

/* ════════════════════════════════════════
   DESKTOP  min-width: 1024px
   ════════════════════════════════════════ */
@media(min-width:1024px){
  /* Header: show horizontal nav + CTA, hide hamburger */
  .hdr__in{height:72px}
  .nav-toggle{display:none}
  .hdr .btn-p{display:inline-flex}
  .nav{
    display:flex;
    position:static;
    top:auto;
    flex-direction:row;
    padding:0;
    border:none;
    box-shadow:none;
    background:transparent;
    gap:32px;
  }
  .nav a{font-size:14px;font-weight:500;color:var(--muted);padding:0;border:none}
  .nav a:hover{color:var(--p)}

  /* Hero: 2-col, show photo */
  .hero{min-height:100vh;display:flex;align-items:center;padding:120px 0 80px}
  .hero__grid{flex-direction:row;gap:80px;align-items:center}
  .hero__grid>*{flex:1;min-width:0}
  .hero__photo-wrap{display:flex;position:relative;justify-content:center;align-items:center}
  .hero__h1{font-size:48px}
  .hero__sub{font-size:17px;max-width:460px}
  .hero__btns{flex-direction:row}
  .hero__btns .btn{width:auto}
  .hero__stats{display:flex;gap:28px;text-align:left}
  .hero__stats>*{min-width:0;flex:0 1 auto;align-items:flex-start}
  .stat__n{font-size:28px}

  /* Sections */
  .section__h2{font-size:38px}
  .section__hdr{margin-bottom:56px}
  .frase{padding:80px 0}
  .frase__big{font-size:46px}
  .frase__text{font-size:17px}
  .numeros{padding:60px 0}
  .numeros__n{font-size:52px}

  /* AUGE: 4-col row */
  .auge{padding:100px 0}
  .auge__steps{display:flex;flex-direction:row;gap:22px}
  .auge__step{flex:1;min-width:0;padding:34px 26px}
  .auge__letter{font-size:84px}

  /* Resultados: 3-col row */
  .resultados{padding:100px 0}
  .res__grid{flex-direction:row;gap:24px}
  .res__card{flex:1;min-width:0}
  .res__num{font-size:28px}
  .res__body{padding:26px}

  /* Servicios: 3-col row */
  .servicios{padding:100px 0}
  .svc__grid{display:flex;flex-direction:row;gap:24px}
  .svc{flex:1;min-width:0;padding:38px 28px}

  /* Quien */
  .quien{padding:100px 0}
  .quien__grid{gap:72px}

  /* Libros */
  .libros{padding:100px 0}
  .libros__grid{gap:32px}
  .libro:not(.libro--featured){flex-direction:row;gap:28px;align-items:flex-start}
  .libro--featured .libro__cover{width:190px;height:266px}
  .libro--featured .libro__title{font-size:24px}

  /* Blog */
  .blog{padding:100px 0}

  /* CTA */
  .cta-final{padding:110px 0}
  .cta-final__h2{font-size:44px}
  .cta-final__p{font-size:18px;margin-bottom:44px}

  /* Footer */
  .footer{padding:36px 0}
}

/* ════════════════════════════════════════
   LARGE DESKTOP  min-width: 1200px
   ════════════════════════════════════════ */
@media(min-width:1200px){
  .hero__h1{font-size:54px}
  .hero__sub{max-width:500px}
  .hero__stats{gap:44px}
  .stat__n{font-size:34px}
  .hero__photo{width:420px;height:520px}
  .hero__photo-deco{width:420px;height:520px}
  .frase__big{font-size:52px}
  .section__h2{font-size:40px}
  .numeros__n{font-size:56px}
  .cta-final__h2{font-size:48px}
  .res__num{font-size:30px}
  .badge--a{left:-32px}
  .badge--b{right:-32px}
  .badge--b .badge__n{font-size:30px}
}

/* ══════════════════════════════════════════════════════════════════════════
   PÁGINAS
   ══════════════════════════════════════════════════════════════════════════
   Cada página del Laravel llevaba su CSS metido en un <style> dentro del
   propio HTML (el @section('styles') del Blade). Aquí baja a esta hoja, en
   secciones con el nombre de la página: mismo resultado visual, una sola
   descarga cacheada, y cero estilos dentro de las plantillas.

   Los puntos de corte de estas secciones son en `max-width` y los del resto
   de la hoja en `min-width`. Viene así de la maqueta original y no se toca
   por cuenta propia: unificarlos cambia cómo se reordena cada página y eso
   es una decisión visual, no una limpieza.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Blog: listado ──────────────────────────────────────────────────────── */
.blog-hero{padding:140px 0 80px;background:var(--bg);text-align:center}
.blog-hero__eyebrow{font-size:12px;font-weight:700;color:var(--p);text-transform:uppercase;letter-spacing:2px;margin-bottom:16px}
.blog-hero__h1{font-family:'Poppins',sans-serif;font-size:48px;font-weight:800;color:var(--deep);margin-bottom:16px}
.blog-hero__sub{font-size:17px;color:var(--muted);max-width:560px;margin:0 auto;line-height:1.7}
.filtros{padding:32px 0;border-bottom:1px solid var(--border)}
.filtros__in{display:flex;gap:12px;flex-wrap:wrap}
.filtro{padding:8px 20px;border-radius:100px;font-size:13px;font-weight:600;border:2px solid var(--border);color:var(--muted);cursor:pointer;transition:all .2s;background:#fff;min-height:44px}
.filtro:hover,.filtro.active{border-color:var(--p);color:var(--p);background:rgba(74,173,214,.06)}
.blog-main{padding:60px 0 100px}
/* minmax(0,1fr) y no 1fr pelado: con 1fr, un título largo sin espacios
   ensancha su columna y saca la página de la pantalla. */
.posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.post{opacity:0;transform:translateY(20px);animation:fadeUp .5s ease forwards;animation-delay:var(--retardo,0ms);min-width:0}
@keyframes fadeUp{to{opacity:1;transform:translateY(0)}}
.loader{text-align:center;padding:48px 0;color:var(--muted);font-size:14px;display:none}
.loader.show{display:block}
.spinner{width:36px;height:36px;border:3px solid var(--border);border-top-color:var(--p);border-radius:50%;animation:spin .7s linear infinite;margin:0 auto 12px}
@keyframes spin{to{transform:rotate(360deg)}}
#sentinel{height:1px}
.empty{text-align:center;padding:80px 0;color:var(--muted);font-size:15px}
.empty--oculto{display:none}
@media(max-width:900px){.posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.blog-hero__h1{font-size:36px}}
@media(max-width:600px){.posts-grid{grid-template-columns:minmax(0,1fr)}}

/* ── Blog: entrada ──────────────────────────────────────────────────────── */
/* Aquí el `max-width` en píxeles SÍ es una decisión de diseño y se respeta:
   es la columna de lectura de un artículo, no el ancho de una pantalla de
   datos. */
.container--article{max-width:740px;margin:0 auto;padding:0 28px}
.art-hero{padding:130px 0 60px;background:var(--bg);border-bottom:1px solid var(--border)}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-bottom:24px;flex-wrap:wrap}
.breadcrumb a{color:var(--p);font-weight:600}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb span{opacity:.5}
.art-hero__cat{display:inline-block;background:rgba(74,173,214,.12);color:var(--mid);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;padding:5px 14px;border-radius:100px;margin-bottom:18px}
.art-hero__h1{font-family:'Poppins',sans-serif;font-size:40px;font-weight:800;color:var(--deep);line-height:1.2;margin-bottom:20px}
.art-hero__meta{display:flex;align-items:center;gap:20px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.art-cover{padding:0 0 48px;background:var(--bg)}
.art-cover img{width:100%;max-width:740px;height:400px;object-fit:cover;border-radius:var(--r);display:block;margin:0 auto;box-shadow:var(--sh-lg)}
.art-body{padding:64px 0 80px}
.art-body p{font-size:17px;line-height:1.8;color:#2D3748;margin-bottom:24px}
.art-body h2{font-family:'Poppins',sans-serif;font-size:26px;font-weight:700;color:var(--deep);margin:52px 0 20px;line-height:1.3}
.art-body h3{font-family:'Poppins',sans-serif;font-size:20px;font-weight:700;color:var(--mid);margin:36px 0 14px}
.art-body strong{color:var(--deep);font-weight:600}
.art-body img{max-width:100%;height:auto}
/* Lo que Roberto pegue en el editor y no tenga espacios (una URL larga) no
   puede ensanchar la columna. */
.art-body{overflow-wrap:anywhere}
.blockquote{background:rgba(74,173,214,.07);border-left:4px solid var(--p);border-radius:0 var(--r) var(--r) 0;padding:24px 28px;margin:36px 0}
.blockquote p{font-size:18px;font-style:italic;color:var(--deep);margin:0;line-height:1.7}
.blockquote cite{display:block;font-size:13px;color:var(--muted);margin-top:12px;font-style:normal;font-weight:600}
.divider{height:1px;background:var(--border);margin:48px 0}
.numbers-row{display:flex;gap:20px;margin:40px 0;flex-wrap:wrap}
.number-card{flex:1 1 140px;min-width:0;background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:24px 20px;text-align:center}
.number-card__n{font-family:'Poppins',sans-serif;font-size:32px;font-weight:800;color:var(--p);line-height:1}
.number-card__label{font-size:13px;color:var(--muted);margin-top:6px;line-height:1.4}
.highlight-box{background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:28px 32px;margin:36px 0}
.highlight-box__title{font-family:'Poppins',sans-serif;font-size:14px;font-weight:700;color:var(--p);text-transform:uppercase;letter-spacing:1px;margin-bottom:14px}
.highlight-box ul{padding-left:20px;list-style:disc}
.highlight-box ul li{font-size:16px;color:#2D3748;line-height:1.7;margin-bottom:8px;padding-left:4px}
.auge-steps{display:flex;flex-direction:column;gap:4px;margin:40px 0}
.auge-step{display:flex;align-items:flex-start;gap:20px;background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:24px 28px;transition:border-color .2s}
.auge-step:hover{border-color:var(--p)}
.auge-step__letter{font-family:'Poppins',sans-serif;font-size:28px;font-weight:800;color:var(--p);line-height:1;flex-shrink:0;width:36px}
.auge-step__body{min-width:0}
.auge-step__name{font-family:'Poppins',sans-serif;font-size:16px;font-weight:700;color:var(--deep);margin-bottom:6px}
.auge-step__desc{font-size:14px;color:var(--muted);line-height:1.65}
.auge-step--ia{border-color:rgba(74,173,214,.3);background:rgba(74,173,214,.04)}
.auge-step--ia .auge-step__letter{color:var(--deep)}
.two-col{display:flex;gap:20px;margin:36px 0;flex-wrap:wrap}
.two-col__block{flex:1 1 240px;min-width:0;border-radius:var(--r);padding:24px 28px}
.two-col__block--yes{background:rgba(74,173,214,.07);border:1px solid rgba(74,173,214,.25)}
.two-col__block--no{background:rgba(255,100,80,.04);border:1px solid rgba(255,100,80,.2)}
.two-col__block__title{font-family:'Poppins',sans-serif;font-size:14px;font-weight:700;margin-bottom:14px;text-transform:uppercase;letter-spacing:1px}
.two-col__block--yes .two-col__block__title{color:var(--mid)}
.two-col__block--no .two-col__block__title{color:#c0392b}
.two-col__block ul{padding-left:18px;list-style:disc}
.two-col__block ul li{font-size:14px;color:#2D3748;line-height:1.7;margin-bottom:6px}
.art-cta{background:linear-gradient(135deg,var(--deep) 0%,var(--mid) 100%);border-radius:20px;padding:52px 48px;text-align:center;margin:60px 0 0}
.art-cta h2{font-family:'Poppins',sans-serif;font-size:28px;font-weight:800;color:#fff;margin-bottom:14px}
.art-cta p{font-size:16px;color:rgba(255,255,255,.8);margin-bottom:32px;line-height:1.7}
.art-cta .btn-p{font-size:15px;padding:14px 36px}
.related{padding:60px 0 80px;border-top:1px solid var(--border)}
.related__title{font-family:'Poppins',sans-serif;font-size:22px;font-weight:700;color:var(--deep);margin-bottom:32px}
.related__grid{display:flex;gap:24px;flex-wrap:wrap}
.related__card{flex:1 1 260px;min-width:0;background:#fff;border:1px solid var(--border);border-radius:var(--r);padding:28px;transition:transform .3s,box-shadow .3s}
.related__card:hover{transform:translateY(-4px);box-shadow:var(--sh-lg)}
.related__card__cat{font-size:11px;font-weight:700;color:var(--p);text-transform:uppercase;letter-spacing:1.5px;margin-bottom:10px}
.related__card__title{font-family:'Poppins',sans-serif;font-size:16px;font-weight:700;color:var(--deep);line-height:1.4;margin-bottom:14px}
.related__card__link{font-size:13px;font-weight:600;color:var(--p);display:inline-flex;align-items:center;gap:5px;transition:gap .2s}
.related__card__link:hover{gap:9px}
.back-bar{padding:28px 0;border-top:1px solid var(--border)}
.back-bar__in{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.back-link{font-size:14px;font-weight:600;color:var(--p);display:inline-flex;align-items:center;gap:6px;transition:gap .2s;min-height:44px}
.back-link:hover{gap:10px}
@media(max-width:768px){.art-hero__h1{font-size:28px}.art-body p{font-size:16px}.art-cta{padding:36px 24px}.numbers-row{gap:12px}}

/* ── Página no encontrada ───────────────────────────────────────────────── */
.e404{padding:180px 0 120px;text-align:center;background:var(--bg)}
.e404__n{font-family:'Poppins',sans-serif;font-size:clamp(56px,12vw,80px);font-weight:800;color:var(--p);line-height:1}
.e404__h1{font-family:'Poppins',sans-serif;font-size:clamp(22px,5vw,28px);font-weight:700;color:var(--deep);margin:16px 0 12px}
.e404__p{font-size:16px;color:var(--muted);margin-bottom:36px}

/* ── Páginas legales y baja del boletín ─────────────────────────────────── */
.legal-hero{padding:160px 0 60px;background:var(--bg)}
.legal-hero__h1{font-family:'Poppins',sans-serif;font-size:clamp(26px,6vw,36px);font-weight:800;color:var(--deep)}
.legal-body{padding:0 0 100px;background:#fff}
.legal-body__in{max-width:720px;margin:0 auto}
/* La baja es una sola frase y un botón: columna más corta y centrada. */
.legal-body__in--aviso{max-width:560px;text-align:center;padding-bottom:20px}
.legal-notice{background:rgba(74,173,214,.08);border:1px solid rgba(74,173,214,.25);border-radius:var(--r);padding:20px;margin-bottom:32px;font-size:14px;color:var(--muted)}
.legal-body h2{font-family:'Poppins',sans-serif;font-size:19px;font-weight:700;color:var(--deep);margin:32px 0 12px}
.legal-body h3{font-family:'Poppins',sans-serif;font-size:16px;font-weight:700;color:var(--mid);margin:24px 0 10px}
.legal-body p{font-size:15px;color:var(--txt);line-height:1.8;margin-bottom:16px}
.legal-body ul{margin:0 0 16px;padding-left:20px}
.legal-body li{font-size:15px;color:var(--txt);line-height:1.8}
.legal-body a{color:var(--p);overflow-wrap:anywhere}
.legal-body__in--aviso p{font-size:16px;margin-bottom:24px}
/* El formulario de baja y el botón de volver, uno bajo otro y separados. */
.baja-acciones{display:flex;flex-direction:column;align-items:center;gap:16px}

/* ── Contacto ───────────────────────────────────────────────────────────── */
.contacto-hero{padding:160px 0 80px;background:var(--bg);position:relative;overflow:hidden}
.contacto-hero::before{content:'';position:absolute;top:-200px;right:-200px;width:700px;height:700px;background:radial-gradient(circle,rgba(74,173,214,.08) 0%,transparent 70%);pointer-events:none}
.contacto-hero__eyebrow{font-size:12px;font-weight:600;color:var(--p);text-transform:uppercase;letter-spacing:2px;margin-bottom:16px}
.contacto-hero__h1{font-family:'Poppins',sans-serif;font-size:48px;font-weight:800;color:var(--deep);line-height:1.15;margin-bottom:20px}
.contacto-hero__h1 em{color:var(--p);font-style:normal}
.contacto-hero__sub{font-size:17px;color:var(--muted);line-height:1.75;max-width:520px}
.contacto-body{padding:80px 0 120px;background:#fff}
.contacto-layout{display:flex;gap:80px;align-items:flex-start;flex-wrap:wrap}
.contacto-form-wrap{flex:3 1 320px;min-width:0}
.contacto-aside{flex:2 1 260px;min-width:0}
.form{display:flex;flex-direction:column;gap:20px}
.form__row{display:flex;gap:20px;flex-wrap:wrap}
.form__row .form__field{flex:1 1 220px;min-width:0}
.form__field{display:flex;flex-direction:column;gap:8px}
.form__label{font-size:13px;font-weight:600;color:var(--deep)}
.form__label span{color:var(--p)}
.form__input,.form__textarea{font-family:'Montserrat',sans-serif;font-size:15px;color:var(--txt);background:#fff;border:1.5px solid var(--border);border-radius:8px;padding:14px 16px;transition:border-color .2s,box-shadow .2s;outline:none;width:100%}
.form__input:focus,.form__textarea:focus{border-color:var(--p);box-shadow:0 0 0 3px rgba(74,173,214,.12)}
.form__input::placeholder,.form__textarea::placeholder{color:#aab8c5}
.form__textarea{resize:vertical;min-height:140px}
.form__submit{align-self:flex-start;padding:16px 44px;font-size:16px;min-height:44px}
.form__msg{display:none;border-radius:8px;padding:16px 20px;font-size:14px;font-weight:600;margin-top:4px}
.form__msg--ok{background:rgba(56,161,105,.1);color:#276749;border:1px solid rgba(56,161,105,.25)}
.form__msg--err{background:rgba(229,62,62,.08);color:#9b2c2c;border:1px solid rgba(229,62,62,.2)}
.form__msg.visible{display:block}
.hp-field{position:absolute;left:-9999px;top:-9999px;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.form__check{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--muted);line-height:1.5;cursor:pointer}
.form__check input{margin-top:3px;flex-shrink:0;width:16px;height:16px;accent-color:var(--p)}
.captcha-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.captcha-question{font-size:15px;font-weight:600;color:var(--deep);white-space:nowrap}
.captcha-input{max-width:110px !important}
.captcha-loading{font-size:14px;color:var(--muted)}
.aside__block{display:flex;align-items:flex-start;gap:16px;padding:28px;background:var(--bg);border-radius:var(--r);border:1px solid var(--border);margin-bottom:20px}
.aside__ico{width:48px;height:48px;flex-shrink:0;background:rgba(74,173,214,.1);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px}
.aside__title{font-family:'Poppins',sans-serif;font-size:15px;font-weight:700;color:var(--deep);margin-bottom:6px}
.aside__text{font-size:14px;color:var(--muted);line-height:1.6}
.aside__quote{padding:32px;background:var(--deep);border-radius:var(--r);color:#fff;margin-top:8px}
.aside__quote__text{font-family:'Poppins',sans-serif;font-size:18px;font-weight:600;line-height:1.5;margin-bottom:16px;opacity:.95}
.aside__quote__author{font-size:13px;opacity:.6}
@media(max-width:900px){.contacto-layout{flex-direction:column}.contacto-layout>*{width:100%}.form__row{flex-direction:column}.contacto-hero__h1{font-size:34px}}

/* ── El libro «No es la IA, eres tú» ────────────────────────────────────── */
.libro-hero{padding:160px 0 80px;background:var(--bg);position:relative;overflow:hidden}
.libro-hero::before{content:'';position:absolute;top:-200px;right:-200px;width:700px;height:700px;background:radial-gradient(circle,rgba(74,173,214,.08) 0%,transparent 70%);pointer-events:none}
.libro-hero__grid{display:flex;flex-direction:column;gap:48px;align-items:center}
.libro-hero__cover{width:220px;flex-shrink:0;border-radius:12px;box-shadow:0 20px 50px rgba(15,51,71,.25)}
.libro-hero__body{text-align:center}
.libro-hero__eyebrow{font-size:12px;font-weight:600;color:var(--p);text-transform:uppercase;letter-spacing:2px;margin-bottom:16px}
.libro-hero__h1{font-family:'Poppins',sans-serif;font-size:40px;font-weight:800;color:var(--deep);line-height:1.15;margin-bottom:20px}
.libro-hero__h1 em{color:var(--p);font-style:normal}
.libro-hero__quote{font-family:'Poppins',sans-serif;font-size:18px;font-weight:500;color:var(--muted);font-style:italic;line-height:1.6;max-width:560px;margin:0 auto 32px}
.libro-hero__buy{display:flex;flex-direction:column;align-items:center;gap:16px}
.libro-hero__price{font-family:'Poppins',sans-serif;font-size:32px;font-weight:800;color:var(--deep)}
.libro-hero__price span{font-size:14px;font-weight:500;color:var(--muted);display:block;margin-top:2px}

.libro-sinopsis{padding:80px 0;background:#fff}
.libro-sinopsis__text{max-width:680px;margin:0 auto;font-size:16px;color:var(--txt);line-height:1.9}
.libro-sinopsis__text p{margin-bottom:20px}
.libro-sinopsis__text strong{color:var(--deep)}

.libro-testi{padding:80px 0;background:var(--bg)}
.libro-testi__grid{display:grid;grid-template-columns:1fr;gap:24px}
.libro-testi__card{background:#fff;border:1px solid var(--border);border-radius:var(--r);padding:28px}
.libro-testi__quote{font-size:14.5px;color:var(--txt);line-height:1.75;margin-bottom:18px}
.libro-testi__author{font-size:13px;font-weight:700;color:var(--deep)}
.libro-testi__role{font-size:12px;color:var(--muted)}

.libro-pedido{padding:80px 0 120px;background:#fff}
.libro-pedido__hdr{text-align:center;margin-bottom:40px}
.libro-pedido__box{max-width:560px;margin:0 auto;background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:40px}
.form{display:flex;flex-direction:column;gap:20px}
.form__row{display:flex;gap:20px}
.form__row .form__field{flex:1;min-width:0}
.form__field{display:flex;flex-direction:column;gap:8px}
.form__label{font-size:13px;font-weight:600;color:var(--deep)}
.form__label span{color:var(--p)}
.form__input,.form__textarea{font-family:'Montserrat',sans-serif;font-size:15px;color:var(--txt);background:#fff;border:1.5px solid var(--border);border-radius:8px;padding:14px 16px;transition:border-color .2s,box-shadow .2s;outline:none;width:100%}
.form__input:focus,.form__textarea:focus{border-color:var(--p);box-shadow:0 0 0 3px rgba(74,173,214,.12)}
.form__input::placeholder{color:#aab8c5}
.form__submit{align-self:stretch;justify-content:center;padding:16px 44px;font-size:16px;margin-top:12px}
.form__msg{display:none;border-radius:8px;padding:16px 20px;font-size:14px;font-weight:600;margin-top:16px}
.form__msg--ok{background:rgba(56,161,105,.1);color:#276749;border:1px solid rgba(56,161,105,.25)}
.form__msg--err{background:rgba(229,62,62,.08);color:#9b2c2c;border:1px solid rgba(229,62,62,.2)}
.form__msg.visible{display:block}
.hp-field{position:absolute;left:-9999px;top:-9999px;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.captcha-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.captcha-question{font-size:15px;font-weight:600;color:var(--deep);white-space:nowrap}
.captcha-input{max-width:110px !important}
.captcha-loading{font-size:14px;color:var(--muted)}
.libro-pedido__total{text-align:center;font-size:14px;color:var(--muted);margin-top:-4px}
.libro-pedido__total strong{color:var(--deep);font-size:16px}
.form__coupon-row{display:flex;gap:10px;align-items:stretch}
.form__coupon-row .form__input{flex:1}
.form__coupon-row .btn{padding:0 20px;font-size:14px;white-space:nowrap}
.form__note{font-size:13px;color:var(--muted);line-height:1.5;background:#f4f7fb;border-left:3px solid var(--p);padding:10px 14px;border-radius:4px}
.form__coupon-msg{font-size:13px;font-weight:600;margin-top:2px;min-height:16px}
.form__coupon-msg--ok{color:#276749}
.form__coupon-msg--err{color:#9b2c2c}
.form__check{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--muted);line-height:1.5;cursor:pointer}
.form__check input{margin-top:3px;flex-shrink:0;width:16px;height:16px;accent-color:var(--p)}

@media(min-width:900px){
  .libro-hero__grid{flex-direction:row;align-items:center;text-align:left}
  .libro-hero__cover{width:260px}
  .libro-hero__body{text-align:left}
  .libro-hero__quote{margin:0 0 32px}
  .libro-hero__buy{align-items:flex-start}
  .libro-testi__grid{grid-template-columns:repeat(2,1fr)}
}
/* ── Utilidades ─────────────────────────────────────────────────────────────
   Los patrones de aire y de estado que si no acaban en un style="" dentro de
   las plantillas o puestos desde JavaScript. */
.oculto{display:none}
.numeros__item{text-align:center}
.res__num--mid{color:var(--mid)}
.quien__p{font-size:16px;color:var(--muted);line-height:1.8;margin:20px 0}
.quien__p--ultimo{margin:20px 0 32px}
.libro--centrado{align-items:center}
.libro__cover--chica{width:min(140px,100%);height:auto;aspect-ratio:140/196}
.libro__title--chico{font-size:19px}
.libro__badge--ya{background:rgba(56,161,105,.12);color:#276749;border:1px solid rgba(56,161,105,.3)}
.libro__badge--pronto{background:rgba(74,173,214,.06);color:var(--muted)}

/* Los textos legales vienen de WordPress y traen listas numeradas y una tabla
   de cookies; la hoja original solo contemplaba <ul>. */
.legal-body ol{margin:0 0 16px;padding-left:22px}
.legal-body ol li{font-size:15px;color:var(--txt);line-height:1.8;font-weight:600}
.legal-body__in .tabla-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 20px}
/* La tabla del listado de cookies viene con width=1025 clavado desde
   WordPress: se le quita y se deja que scrolle su caja, nunca la página. */
.legal-body table{width:100%;min-width:520px;border-collapse:collapse;font-size:13px}
.legal-body th,.legal-body td{border:1px solid var(--border);padding:8px 10px;vertical-align:top}
.legal-body td p{margin:0;font-size:13px;line-height:1.5}
