/* Studio3 — estilos propios */
body{font-weight:300}
img{max-width:100%;height:auto}
.s3-eyebrow{font-size:12px!important;letter-spacing:.3em;text-transform:uppercase;color:var(--wp--preset--color--gris)}
.s3-rule{width:36px;height:1px;background:currentColor;border:0;margin:0}
.s3-tag{font-size:11px!important;letter-spacing:.2em;text-transform:uppercase;color:var(--wp--preset--color--gris);margin:0!important}
.s3-link-line a,.s3-link-line{font-size:12px;letter-spacing:.22em;text-transform:uppercase;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:4px}
/* cabecera */
.s3-header{padding-top:24px;padding-bottom:24px;border-bottom:1px solid var(--wp--preset--color--piedra)}
.s3-logo{text-decoration:none;display:flex;flex-direction:column;gap:6px;line-height:1}
.s3-logo .s3-logo-word{font-size:34px;font-weight:400;letter-spacing:.02em}
.s3-logo .s3-logo-word b{font-weight:500;font-size:40px}
.s3-logo .s3-logo-sub{font-size:10px;letter-spacing:.32em}
.s3-header .wp-block-navigation{font-size:15px;font-weight:400}
.s3-header .wp-block-navigation a{text-decoration:none}
/* carrusel */
.s3-carousel{position:relative;overflow:hidden}
.s3-carousel .s3-slide{display:none;margin:0!important}
.s3-carousel .s3-slide.is-active{display:flex}
.s3-carousel-nav{position:absolute;right:clamp(20px,3vw,40px);bottom:28px;display:flex;align-items:center;gap:10px;color:#fff;z-index:5}
.s3-carousel-nav button{width:44px;height:44px;border:1px solid rgba(255,255,255,.7);background:transparent;color:#fff;font-size:18px;cursor:pointer}
.s3-carousel-nav span{font-size:14px;letter-spacing:.1em;min-width:64px;text-align:center}
.s3-hero .wp-block-cover__inner-container{max-width:1360px;margin:0 auto}
.s3-hero h1{max-width:11ch}
.s3-btn-outline .wp-block-button__link{background:transparent!important;border:1px solid currentColor;color:inherit!important}
.s3-btn-light .wp-block-button__link{background:#fff!important;color:#1A1A18!important}
/* tarjetas */
.s3-card img{width:100%;object-fit:cover;display:block}
.s3-card a{text-decoration:none}
.s3-card .wp-block-image{margin:0}
.s3-ratio-45 img{aspect-ratio:4/5}
.s3-ratio-43 img{aspect-ratio:4/3}
.s3-ratio-32 img{aspect-ratio:3/2}
.s3-fill img{height:100%;min-height:480px}
/* listas con línea */
.s3-lines{list-style:none;padding:0;margin:0}
.s3-lines li{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--wp--preset--color--piedra)}
.s3-lines li a{text-decoration:none}
.s3-steps{list-style:none;padding:0;margin:0;counter-reset:s3}
.s3-steps li{counter-increment:s3;display:grid;grid-template-columns:40px 1fr;gap:4px 20px;padding:22px 0;border-bottom:1px solid var(--wp--preset--color--piedra)}
.s3-steps li::before{content:counter(s3,decimal-leading-zero);color:var(--wp--preset--color--gris);font-size:14px;grid-row:span 2}
.s3-steps li strong{font-weight:400;font-size:20px}
/* preguntas */
.s3-faq details{border-bottom:1px solid var(--wp--preset--color--piedra);padding:20px 0}
.s3-faq summary{font-size:19px;cursor:pointer}
/* páginas antiguas (archivo): legibles con el diseño nuevo */
.s3-legacy .wp-block-post-content img{height:auto}
.s3-legacy .wp-block-post-content table{max-width:100%}
/* pie */
.s3-footer a{color:var(--wp--preset--color--piedra)}
@media (max-width:781px){.s3-fill img{min-height:320px}.s3-carousel-nav{bottom:16px}}
/* v1.2: títulos enlazados sin subrayado (subrayado al pasar el ratón o con teclado) */
.wp-block-post-content h2 a,.wp-block-post-content h3 a{text-decoration:none}
.wp-block-post-content h2 a:hover,.wp-block-post-content h3 a:hover,.wp-block-post-content h2 a:focus-visible,.wp-block-post-content h3 a:focus-visible{text-decoration:underline;text-underline-offset:4px}
/* v1.3: bloque de contacto oscuro legible */
.s3-contacto a{color:#fff}
.s3-contacto a:hover,.s3-contacto a:focus-visible{color:var(--wp--preset--color--piedra)}
.s3-contacto .s3-eyebrow{color:var(--wp--preset--color--piedra)}
.s3-contacto .s3-lines li{border-color:rgba(255,255,255,.2)}
.s3-contacto .s3-lines li>span:first-child{color:var(--wp--preset--color--piedra)}
/* v1.3: etiquetas de las listas sin partir */
.s3-lines li>span:first-child{flex-shrink:0;white-space:nowrap}
.s3-lines li>:last-child:not(:first-child){text-align:right;overflow-wrap:anywhere}
/* Llamada final de páginas antiguas: no en textos legales */
.page-id-2370 .s3-legacy-cta,.page-id-2372 .s3-legacy-cta{display:none}
