/*
Theme Name: Estudio Textil
Theme URI: https://example.com/estudio-textil
Author: Estudio Textil
Description: Tema de una sola página para Estudio Textil, taller de estampado en Querétaro. Estampado, serigrafía, DTF y uniformes.
Version: 1.1.2
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: estudio-textil
*/
:root{--bg:#F5F0E3;--band:#EFE8D8;--card:#FAF7F0;--ink:#0B2545;--muted:#4F5B6B;--line:#E6DECB;--teal:#0A727B;--teal-d:#085E66;--pill:#D6EDEA;--navy:#0B2545;--sans:"DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--serif:"Playfair Display",Georgia,"Times New Roman",serif;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#081A30;--band:#0C2340;--card:#0F2A4A;--ink:#F1F6FA;--muted:#B4C3D4;--line:#1F3D5F;--teal:#2EC4C4;--teal-d:#5ED6D6;--pill:#12365A;--navy:#05121F}}
:root[data-theme="dark"]{--bg:#081A30;--band:#0C2340;--card:#0F2A4A;--ink:#F1F6FA;--muted:#B4C3D4;--line:#1F3D5F;--teal:#2EC4C4;--teal-d:#5ED6D6;--pill:#12365A;--navy:#05121F}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(80px + env(safe-area-inset-top,0px))}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1rem/1.6 var(--sans)}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--bg);z-index:60}
h1,h2,h3{font-family:var(--serif);margin:0;line-height:1.1}
p{margin:0}a{color:inherit}
.wrap{width:min(1120px,100% - 2.5rem);margin-inline:auto}
:focus-visible{outline:3px solid #2EC4C4;outline-offset:3px;border-radius:8px}
.skip{position:absolute;left:-999px;top:0;background:var(--navy);color:#fff;padding:.8rem 1rem;z-index:100}
.skip:focus{left:.5rem;top:.5rem}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:48px;padding:.7rem 1.6rem;border-radius:999px;font:500 .98rem var(--sans);text-decoration:none;border:1.5px solid transparent;cursor:pointer}
.btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn-p{background:var(--teal);color:#fff;box-shadow:0 12px 24px -12px rgba(11,122,131,.8)}
.btn-p:hover{background:var(--teal-d)}
.btn-o{border-color:var(--teal);color:var(--teal)}
.btn-o:hover{background:var(--pill)}
.btn-w{background:#fff;color:#0B6B73;box-shadow:0 12px 24px -12px rgba(0,0,0,.4)}
.btn-g{border-color:rgba(255,255,255,.55);color:#fff}
.btn-w:hover,.btn-g:hover{background:#E4F6F6;color:#0B2545}
header{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:var(--bg)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:72px}
.logo{display:flex;align-items:center;gap:.55rem;font:700 1.15rem var(--serif);text-decoration:none;white-space:nowrap}
.logo svg{width:26px;height:26px}
.nav ul{display:none;list-style:none;margin:0;padding:0;gap:.1rem}
.nav ul a{display:inline-flex;align-items:center;min-height:44px;padding:0 .85rem;border-radius:999px;text-decoration:none;font-size:.88rem;color:var(--muted)}
.nav ul a:hover,.nav ul a[aria-current]{background:var(--pill);color:var(--teal)}
.tel{display:none;align-items:center;gap:.4rem;min-height:44px;text-decoration:none;font-size:.88rem;color:var(--muted)}
.tel svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.nav .btn{min-height:44px;padding:.5rem 1.2rem}
@media(min-width:1100px){.nav ul{display:flex}}
@media(min-width:1180px){.tel{display:inline-flex}}
.nav-r{display:flex;align-items:center;gap:1rem}
.hero{padding:2.5rem 0 4.5rem}
.hero .wrap{display:grid;gap:2.5rem;align-items:center}
@media(min-width:900px){.hero .wrap{grid-template-columns:1fr 1fr;gap:3rem}}
.badge{display:inline-flex;align-items:center;gap:.45rem;background:var(--pill);color:var(--teal);font-size:.8rem;font-weight:500;padding:.3rem .8rem;border-radius:999px;margin-bottom:1.4rem}
.badge svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
h1{font-size:clamp(2.6rem,9vw,4.2rem);font-weight:700;line-height:1.05}
h1 em{display:block;color:var(--teal);font-weight:700}
.lead{color:var(--muted);font-size:1.08rem;max-width:34ch;margin:1.5rem 0 2rem}
.row{display:flex;flex-wrap:wrap;gap:.9rem}
.hero-img{border-radius:26px;overflow:hidden;box-shadow:0 30px 60px -28px rgba(11,37,69,.5);aspect-ratio:1/.98;width:100%}
.hero-img svg,.thumb svg{display:block;width:100%;height:100%}
.band{background:var(--band);padding:3rem 0}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(min-width:800px){.tiles{grid-template-columns:repeat(4,1fr)}}
.tile{background:var(--pill);border-radius:16px;padding:1.4rem 1rem;text-align:center;font-size:.85rem;font-weight:500;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:.6rem}
.tile svg{width:24px;height:24px;fill:none;stroke:var(--teal);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
section.s{padding:5rem 0}
.eyebrow{display:block;text-align:center;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--teal);margin-bottom:.6rem;font-weight:500}
h2{font-size:clamp(1.8rem,5vw,2.7rem);font-weight:700;text-align:center}
.sub{color:var(--muted);text-align:center;max-width:56ch;margin:1rem auto 0}
.cards{display:grid;gap:1.2rem;margin-top:2.8rem}
@media(min-width:620px){.cards{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.cards{grid-template-columns:repeat(4,1fr)}}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 24px -16px rgba(11,37,69,.35)}
.thumb{aspect-ratio:16/10}
.card .b{padding:1.1rem 1.2rem 1.3rem;display:flex;flex-direction:column;flex:1}
.card .ic{width:22px;height:22px;fill:none;stroke:var(--teal);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-bottom:.7rem}
.card h3{font-size:1.1rem}
.card p{color:var(--muted);font-size:.88rem;margin:.4rem 0 .8rem;flex:1}
.more{display:inline-flex;align-items:center;gap:.35rem;min-height:44px;color:var(--teal);font-size:.88rem;font-weight:500;text-decoration:none}
.more:hover{text-decoration:underline}
.why{display:grid;gap:1rem;margin:2.6rem auto 0;max-width:780px}
@media(min-width:700px){.why{grid-template-columns:1fr 1fr}}
.f{display:flex;gap:1rem;align-items:flex-start;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.2rem}
.f .c{flex:none;width:44px;height:44px;border-radius:50%;background:var(--pill);display:grid;place-items:center}
.f .c svg{width:20px;height:20px;fill:none;stroke:var(--teal);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.f h3{font-size:1.02rem}.f p{color:var(--muted);font-size:.88rem;margin-top:.25rem}
.proof{max-width:780px;margin:1rem auto 0;border:2px dashed var(--teal);border-radius:16px;padding:1.2rem;text-align:center}
.proof strong{font:700 1.2rem var(--serif);display:block}
.proof span{color:var(--muted);font-size:.88rem}
.testi{display:grid;gap:1.2rem;margin-top:2.8rem}
@media(min-width:800px){.testi{grid-template-columns:repeat(3,1fr)}}
.t{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:1.6rem;margin:0;box-shadow:0 8px 24px -16px rgba(11,37,69,.35)}
.t blockquote{margin:0 0 1.2rem;font:italic 1rem/1.65 var(--serif);color:var(--muted)}
.t b{display:block;font-size:.92rem}.t span{font-size:.82rem;color:var(--muted)}
.faq{max-width:760px;margin:2.6rem auto 0}
details{background:var(--card);border:1px solid var(--line);border-radius:14px;margin-bottom:.7rem}
summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:56px;padding:.6rem 1.3rem;font-weight:500}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font:400 1.6rem/1 var(--sans);color:var(--teal);flex:none}
details[open] summary::after{content:"\2212"}
details p{padding:0 1.3rem 1.2rem;color:var(--muted);font-size:.95rem}
.cta{background:#0A727B;color:#fff;text-align:center;padding:5rem 0}
.cta h2{color:#fff}
.cta p{color:#E6F6F6;max-width:44ch;margin:1.1rem auto 2rem}
.cta .row{justify-content:center}
footer{background:var(--navy);color:#C9D6E6;padding:3.5rem 0 7rem;font-size:.9rem}
footer .wrap{display:grid;gap:2.2rem}
@media(min-width:800px){footer .wrap{grid-template-columns:1.2fr 1fr 1fr 1.3fr}}
footer h3{color:#fff;font-size:1rem;margin-bottom:.7rem}
footer .logo{color:#fff;margin-bottom:.8rem}
footer ul{list-style:none;margin:0;padding:0}
footer li a,footer li span{display:inline-flex;align-items:center;gap:.6rem;min-height:40px;text-decoration:none}
footer li a:hover{color:#fff;text-decoration:underline}
footer svg.k{width:16px;height:16px;flex:none;fill:none;stroke:#2EC4C4;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.copy{grid-column:1/-1;border-top:1px solid #1B3A60;padding-top:1.5rem;text-align:center;font-size:.82rem;color:#A9BBD0}
.fab{position:fixed;right:max(1rem,env(safe-area-inset-right,0px));bottom:calc(1rem + env(safe-area-inset-bottom,0px));z-index:55;box-shadow:0 14px 30px -8px rgba(0,0,0,.45);background:#0A727B;color:#fff}
.t::before{content:"★★★★★" / "";display:block;color:#F2A65A;letter-spacing:.15em;margin-bottom:.9rem;font-size:.95rem}
.soc{display:flex;gap:.6rem;margin-top:1.1rem}.soc a{width:44px;height:44px;border-radius:50%;background:#1B3A60;display:grid;place-items:center}.soc a:hover{background:#24507F}.soc svg{width:18px;height:18px;fill:none;stroke:#C9D6E6;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:1000px){.cards.three{grid-template-columns:repeat(3,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ===== Contenido editable (bloques) ===== */
.wp-block-image.thumb,.wp-block-image.hero-img{margin:0}
.wp-block-image.thumb img,.wp-block-image.hero-img img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:.9rem;margin:0}
.wp-block-button{margin:0}
.wp-block-button .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.7rem 1.6rem;border-radius:999px;font:500 .98rem var(--sans);text-decoration:none;border:1.5px solid transparent;background:none;color:inherit;box-shadow:none}
.wp-block-button.btn-p .wp-block-button__link{background:var(--teal);color:#fff;box-shadow:0 12px 24px -12px rgba(11,122,131,.8)}
.wp-block-button.btn-p .wp-block-button__link:hover{background:var(--teal-d)}
.wp-block-button.btn-o .wp-block-button__link{border-color:var(--teal);color:var(--teal)}
.wp-block-button.btn-o .wp-block-button__link:hover{background:var(--pill)}
.wp-block-button.btn-w .wp-block-button__link{background:#fff;color:#0B6B73;box-shadow:0 12px 24px -12px rgba(0,0,0,.4)}
.wp-block-button.btn-g .wp-block-button__link{border-color:rgba(255,255,255,.55);color:#fff}
.wp-block-button.btn-w .wp-block-button__link:hover,.wp-block-button.btn-g .wp-block-button__link:hover{background:#E4F6F6;color:#0B2545}
.cta .wp-block-buttons{justify-content:center}
.hero p.badge{display:inline-flex;margin-bottom:1.4rem}
.hero p.lead{max-width:34ch;margin:1.5rem 0 2rem}
p.eyebrow{display:block}
.card p.more{flex:none;margin:0}
.more a{display:inline-flex;align-items:center;min-height:44px;color:var(--teal);font-size:.88rem;font-weight:500;text-decoration:none}
.more a:hover{text-decoration:underline}
.t .q{margin:0 0 1.2rem;font:italic 1rem/1.65 var(--serif);color:var(--muted)}
.t .n{font-size:.92rem;font-weight:700;margin:0}
.t .r{font-size:.82rem;color:var(--muted)}
.proof p{margin:0}
.proof .ps{color:var(--muted);font-size:.88rem}
.wp-block-details summary{color:inherit}
.card .b[class*="ic-"]::before{content:"";display:block;width:22px;height:22px;margin-bottom:.7rem;background-repeat:no-repeat;background-position:center;background-size:contain}
.tile[class*="ic-"]::before{content:"";width:24px;height:24px;background-repeat:no-repeat;background-position:center;background-size:contain}
.f[class*="ic-"]::before{content:"";flex:none;width:44px;height:44px;border-radius:50%;background-color:var(--pill);background-repeat:no-repeat;background-position:center;background-size:20px}
.ic-tee::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M8%203%203%206l2%204%203-1v12h8V9l3%201%202-4-5-3a4%204%200%200%201-8%200Z'/%3E%3C/svg%3E")}
.ic-grid::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='4'%20y='4'%20width='16'%20height='16'%20rx='2'/%3E%3Cpath%20d='M4%2012h16M12%204v16'/%3E%3C/svg%3E")}
.ic-tag::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2012V4h8l10%2010-8%208Zm5-5h.01'/%3E%3C/svg%3E")}
.ic-sticker::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2012a8%208%200%201%200-8%208l8-8Z'/%3E%3C/svg%3E")}
.ic-building::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2021V8l8-5%208%205v13M9%2021v-6h6v6'/%3E%3C/svg%3E")}
.ic-trophy::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M8%204h8v5a4%204%200%200%201-8%200Zm0%202H4v2a3%203%200%200%200%204%202m8-4h4v2a3%203%200%200%201-4%202M12%2013v4m-4%204h8'/%3E%3C/svg%3E")}
.ic-gift::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='4'%20y='9'%20width='16'%20height='11'%20rx='1'/%3E%3Cpath%20d='M12%209v11M3%206h18v3H3Zm9%200c-3%200-5-1-4-3s4%201%204%203Zm0%200c3%200%205-1%204-3s-4%201-4%203Z'/%3E%3C/svg%3E")}
.ic-medal::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='9'%20r='5'/%3E%3Cpath%20d='m9%2013-1%208%204-2%204%202-1-8'/%3E%3C/svg%3E")}
.ic-calendar::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='4'%20y='5'%20width='16'%20height='16'%20rx='2'/%3E%3Cpath%20d='M8%203v4m8-4v4M4%2011h16'/%3E%3C/svg%3E")}
.ic-whatsapp::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2020l1.2-4A8%208%200%201%201%208%2018.8Z'/%3E%3C/svg%3E")}
.ic-check::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m5%2012%205%205L20%207'/%3E%3C/svg%3E")}
.ic-user::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%230A727B'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='8'%20r='4'/%3E%3Cpath%20d='M4%2021a8%208%200%200%201%2016%200'/%3E%3C/svg%3E")}
.admin-bar header{top:32px}
@media(max-width:782px){.admin-bar header{top:46px}}

/* ===== Correcciones 1.0.1 ===== */
/* Las clases btn-* del bloque contenedor no deben pintar fondo (solo el enlace interior). */
.wp-block-button.btn-p,.wp-block-button.btn-o,.wp-block-button.btn-w,.wp-block-button.btn-g{display:block;min-height:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;color:inherit}
.wp-block-buttons.wp-block-buttons{gap:.9rem;margin:0}
/* Editor: sin título de página, sin límite de ancho. */
.edit-post-visual-editor__post-title-wrapper,.editor-visual-editor__post-title-wrapper{display:none}
.wp-block.wp-block{max-width:none}

/* Logo */
.logo img{display:block;height:40px;width:auto}
footer .logo img{height:52px}

/* ===== 1.1.0: menú editable, logo, blog ===== */
.logo img,.logo picture{display:block}
.logo img{height:40px;width:auto}
footer .logo img{height:52px}
.nav ul li.menu-item-object-page.current-menu-item>a,.nav ul li.menu-item-object-page.current_page_parent>a{background:var(--pill);color:var(--teal)}
.nav-toggle{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border:1.5px solid var(--line);border-radius:999px;background:none;color:var(--ink);cursor:pointer}
.nav-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(min-width:1100px){.nav-toggle{display:none}}
@media(max-width:1099px){
.nav #primary-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--bg);border-bottom:1px solid var(--line);padding:.5rem 1.25rem 1rem;box-shadow:0 24px 30px -24px rgba(11,37,69,.45)}
.nav.open #primary-nav{display:block}
.nav #primary-nav ul{display:flex;flex-direction:column}
.nav #primary-nav ul a{min-height:48px;font-size:1rem;width:100%}
}
.wrap.narrow{width:min(760px,100% - 2.5rem)}
.blog-head{padding:3.5rem 0 1rem;text-align:center}
.blog-head h1,.post-head h1{font-size:clamp(2rem,6vw,3.2rem);text-align:center}
.blog-head .sub p{margin:0}
.posts-wrap{padding-top:2rem}
.posts{margin-top:1rem}
a.thumb{display:block}
.thumb img{display:block;width:100%;height:100%;object-fit:cover}
.thumb.ph{background:var(--band);display:grid;place-items:center}
.thumb.ph img{width:46%;height:auto;object-fit:contain;opacity:.85}
.card p.meta,.post-head .meta{flex:none;font-size:.8rem;color:var(--muted);margin:0 0 .4rem}
.card h3 a{text-decoration:none}
.card h3 a:hover{text-decoration:underline}
.navigation.pagination{margin-top:2.5rem}
.nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 .9rem;border-radius:999px;border:1px solid var(--line);text-decoration:none;font-weight:500;background:var(--card)}
.page-numbers.current{background:var(--teal);border-color:var(--teal);color:#fff}
a.page-numbers:hover{border-color:var(--teal);color:var(--teal)}
.post-head{padding:3.5rem 0 1.5rem;text-align:center}
.post-head .meta{text-align:center;margin-top:1rem}
.post-cover{margin:0 auto 2rem;border-radius:22px;overflow:hidden}
.post-cover img{display:block;width:100%;height:auto}
.entry{font-size:1.05rem;line-height:1.75}
.entry>*+*{margin-top:1.2rem}
.entry h2{font-size:1.7rem;text-align:left;margin-top:2.4rem}
.entry h3{font-size:1.3rem;margin-top:1.8rem}
.entry a{color:var(--teal);text-decoration:underline}
.entry img{max-width:100%;height:auto;border-radius:14px}
.entry figure{margin-left:0;margin-right:0}
.entry ul,.entry ol{padding-left:1.4rem}
.entry blockquote{margin-left:0;padding-left:1.2rem;border-left:4px solid var(--teal);font:italic 1.1rem/1.7 var(--serif);color:var(--muted)}
.post-cta{background:var(--navy);color:#fff;border-radius:22px;padding:2rem 1.5rem;text-align:center;margin:3rem 0 1.5rem}
.post-cta h2{color:#fff;font-size:1.6rem}
.post-cta p{color:#C9D6E6;margin:.8rem auto 1.4rem;max-width:44ch}
.back{text-align:center;padding-bottom:4rem}
.back a{display:inline-flex;align-items:center;min-height:44px;color:var(--teal);font-weight:500}

/* ===== 1.1.1: navegación más estable ===== */
.logo{flex:none}
.nav ul a{white-space:nowrap;padding:0 .7rem}
@media(min-width:1100px){#primary-nav{flex:1 1 auto;min-width:0;display:flex;justify-content:center}}
@media(min-width:1180px) and (max-width:1359px){.tel{display:none}}

/* ===== 1.1.2: titular del hero en tres líneas ===== */
.hero h1{font-size:clamp(2.2rem,4.6vw,3.3rem)}
@media(max-width:899px){.hero h1{font-size:clamp(2.2rem,9vw,3rem)}}
