/* aspe-2026.css — pequeño giro de imagen de aspe-proptech.com (oct-2026).
   Se carga después de main.css. No cambia la identidad (logotipo, azules #0e5288 y #4e85b1,
   tipografía Myriad Pro): afina espacios, contrastes, tarjetas, cabecera y pie. */
:root {
  --aspe-azul: #0e5288;
  --aspe-azul-2: #4e85b1;
  --aspe-azul-claro: #a9c7e4;
  --aspe-tinta: #0b2f4f;
  --aspe-fondo: #f6f4f0;
  --aspe-papel: #ffffff;
  --aspe-linea: #e3e0d9;
  --aspe-texto: #1f2a37;
  --aspe-suave: #5b6675;
  --aspe-degradado: linear-gradient(120deg, #0e5288 0%, #2f6fa5 55%, #4e85b1 100%);
  --aspe-sombra: 0 1px 2px rgba(11, 47, 79, .06), 0 12px 32px -18px rgba(11, 47, 79, .28);
}

body { background: var(--aspe-fondo); color: var(--aspe-texto); -webkit-font-smoothing: antialiased; }
a { color: var(--aspe-azul); }
::selection { background: var(--aspe-azul-claro); color: var(--aspe-tinta); }

/* ── Cabecera: blanca, más ligera, con subrayado azul en la sección activa ── */
.navbar {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--aspe-linea);
  padding: .65rem 3rem;
  box-shadow: 0 6px 24px -20px rgba(11, 47, 79, .5);
}
.navbar .navbar-brand img { width: 4.6rem; }
.navbar .navbar-collapse { font-size: 1rem; }
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
  color: var(--aspe-tinta); position: relative; gap: .35rem; padding-bottom: .55rem; transition: color .25s;
}
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link img { width: 1.9rem; opacity: .9; transition: transform .3s; }
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link:hover img { transform: translateY(-2px); }
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link::after {
  content: ""; position: absolute; left: 25%; right: 25%; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--aspe-degradado); transform: scaleX(0); transition: transform .35s ease;
}
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link:hover::after,
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link.active::after { transform: scaleX(1); }
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link:hover { color: var(--aspe-azul); }

/* ── Banner: más alto, con velo azul para que el lema se lea siempre ── */
.banner { min-height: 24rem; padding: 2rem 6rem; isolation: isolate; overflow: hidden; }
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 47, 79, .82) 0%, rgba(14, 82, 136, .45) 45%, rgba(14, 82, 136, 0) 75%);
}
.banner > span {
  flex-direction: column; align-items: flex-start; justify-content: center;
  font-size: 2.7rem; line-height: 1.05; font-weight: 300; letter-spacing: -.01em;
  text-shadow: 0 2px 18px rgba(11, 47, 79, .45);
}
.banner > span::after {
  content: ""; display: block; width: 4rem; height: 3px; border-radius: 3px; margin-top: 1.1rem;
  background: var(--aspe-azul-claro);
}
@media (max-width: 991.98px) { .banner { min-height: 17rem; padding: 2rem; } .banner > span { font-size: 2rem; } }

/* ── Contenido ── */
.container-layout { padding-top: 3rem; padding-bottom: 2rem; }
.col-left, .container-layout .col-left, .container-layout .col-right { gap: 1.5rem; }
h2, .h2 { color: var(--aspe-tinta); letter-spacing: -.01em; text-wrap: balance; }

/* Tarjetas: sin borde gris, sombra suave y un filete azul en la cabecera */
.panel {
  background: var(--aspe-papel); border: 1px solid var(--aspe-linea); border-radius: 14px;
  padding: 1.5rem 1.6rem; box-shadow: var(--aspe-sombra); transition: box-shadow .3s, transform .3s;
}
.panel:hover { box-shadow: 0 1px 2px rgba(11, 47, 79, .06), 0 18px 40px -20px rgba(11, 47, 79, .35); }
.panel .panel-header { border-bottom: 1px solid var(--aspe-linea); padding: 0 0 1rem 0; position: relative; }
.panel .panel-header::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 3.5rem; height: 2px; border-radius: 2px;
  background: var(--aspe-degradado);
}
.panel .panel-header h3 { font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--aspe-azul); font-weight: 600; }
.panel .panel-content { padding: 1.25rem 0; }
.panel .panel-footer { border-top: 1px solid var(--aspe-linea); padding: 1.1rem 0 0; }
html body .panel .panel-footer .link, html body .panel-footer .link, html body .link {
  color: var(--aspe-azul); font-weight: 600; font-size: 1rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: .45rem; transition: gap .25s, color .25s;
}
html body .panel .panel-footer .link::after { content: "→"; }
html body .panel .panel-footer .link:hover { gap: .75rem; color: var(--aspe-azul-2); }

/* Listas de la tarjeta (noticias, asociados, ofertas) */
.panel .panel-content .media-text, .panel .panel-content .notice,
.panel .panel-content .job-offer, .panel .panel-content .formation-item { border-bottom-color: var(--aspe-linea); }
.panel .panel-content .media-text .media-text-content > img,
.panel .panel-content .notice .title > img { border-radius: 10px; }
.panel .panel-content .notice .title > div h2 a { color: var(--aspe-tinta); }
.panel .panel-content .notice .title > div h2 a:hover { color: var(--aspe-azul); text-decoration: none; }
.panel .panel-content .notice > h2 { color: var(--aspe-azul); }
.panel .panel-content img { max-width: 100%; height: auto; }

/* «Hazte miembro» */
.panel .panel-content .hazte-miembro > div span { color: var(--aspe-azul); font-weight: 300; font-size: 1.5rem; }
.panel .panel-content .hazte-miembro > img { border-radius: 10px; }

/* Botones */
.btn-default, .btn-primary, .submit-btn .btn {
  background: var(--aspe-degradado); border: 0; color: #fff; border-radius: 999px;
  padding: .7rem 1.6rem; font-weight: 600; box-shadow: 0 8px 20px -12px rgba(14, 82, 136, .8);
}
.btn-default:hover, .btn-primary:hover, .submit-btn .btn:hover { color: #fff; filter: brightness(1.07); }

/* Formularios */
.form-control, .form-select { border-color: var(--aspe-linea); border-radius: 10px; }
.form-control:focus, .form-select:focus { border-color: var(--aspe-azul-2); box-shadow: 0 0 0 .2rem rgba(78, 133, 177, .2); }

/* ── Pie: degradado azul, más aire ── */
footer { border-top: 0; padding: 0; }
footer > div { background: var(--aspe-tinta); background-image: linear-gradient(160deg, #0b2f4f 0%, #0e5288 70%, #1b6299 100%); padding: 3.2rem 0 2.6rem; }
footer > div .menu { margin-bottom: 2.4rem; }
footer > div .menu li a { opacity: .92; transition: opacity .25s; }
footer > div .menu li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
footer > div .contact li a { font-size: 1.05rem; }
footer > div .legal li a { opacity: .75; }
footer > div .legal li a:hover { opacity: 1; }
footer > span { color: var(--aspe-suave); margin: 1.2rem 0; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--aspe-azul-2); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ═══ Capa «más fina, más elegante» (oct-2026) ═══════════════════════════════════════════
   Menos peso visual: titulares en Myriad ligera, etiquetas pequeñas y espaciadas, líneas de
   1 px, sin iconos en el menú, más aire entre bloques y un azul profundo como color de texto. */
:root { --aspe-linea: #e8e5df; --aspe-fondo: #f7f6f3; }
body { font-size: 1rem; line-height: 1.7; letter-spacing: .005em; }
p { color: #2b3644; }

/* Menú: solo texto, en mayúsculas finas */
.navbar { padding: .9rem 3.2rem; box-shadow: none; }
.navbar .navbar-brand img { width: 3.9rem; }
html body .navbar .navbar-collapse .navbar-nav .nav-item .nav-link img { display: none; }
html body .navbar .navbar-collapse .navbar-nav .nav-item .nav-link span {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.25; font-weight: 400;
}
html body .navbar .navbar-collapse .navbar-nav .nav-item .nav-link span br { display: none; }
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link::after { height: 1px; left: 1.5rem; right: 1.5rem; }

/* Banner: lema en ligera, filete fino */
.banner { min-height: 26rem; }
.banner > span { font-weight: 300; font-size: 3rem; letter-spacing: -.015em; }
.banner > span::after { height: 1px; width: 5rem; background: rgba(255, 255, 255, .7); }
.banner > img { opacity: .95; }

/* Bloques: más aire, sin sombras pesadas */
.container-layout { padding-top: 4rem; padding-bottom: 3rem; }
.col-left, .container-layout .col-left, .container-layout .col-right { gap: 2rem; }
.panel { border-radius: 6px; padding: 2rem 2.1rem; box-shadow: 0 1px 0 rgba(11, 47, 79, .04); }
.panel:hover { box-shadow: 0 1px 0 rgba(11, 47, 79, .04), 0 20px 44px -30px rgba(11, 47, 79, .35); }
html body .panel .panel-header { padding-bottom: 1.1rem; }
html body .panel .panel-header img { width: 2.2rem; opacity: .85; }
html body .panel .panel-header h3 { font-size: .74rem; letter-spacing: .22em; font-weight: 600; color: var(--aspe-tinta); }
html body .panel .panel-header::after { width: 2.5rem; height: 1px; }
h2, .h2 { font-weight: 300; letter-spacing: -.015em; line-height: 1.18; }
html body .panel .panel-content .notice > h2 { font-weight: 300; font-size: 2rem; line-height: 1.2; }
html body .panel .panel-content .notice .title > div h2 a { font-weight: 400; }
html body .panel .panel-content .notice p strong, html body .panel .panel-content .notice p b,
html body .panel .panel-content .notice p a { color: var(--aspe-azul); font-weight: 600; }

/* Fichas de asociados: retrato con aro fino */
html body .panel .panel-content .media-text .media-text-content > img.rounded-circle {
  width: 5.2rem; padding: 3px; background: #fff; border: 1px solid var(--aspe-linea);
}
html body .panel .panel-content .media-text .media-text-content .text > span a { color: var(--aspe-azul); font-weight: 600; }
html body .panel .panel-content .media-text .media-text-content .text > span { font-size: .95rem; color: #3a4553; }
html body .panel .panel-content .company-members .member .media-text-content:before,
html body .panel .panel-content .company-members .member .media-text-content:after { opacity: .35; }

/* «Hazte miembro» */
html body .panel .panel-content .hazte-miembro > div span { font-size: 1.35rem; line-height: 1.35; }

/* Botones finos */
.btn-default, .btn-primary, .submit-btn .btn {
  background: var(--aspe-azul); box-shadow: none; letter-spacing: .12em; text-transform: uppercase;
  font-size: .78rem; padding: .85rem 1.8rem;
}
.btn-default:hover, .btn-primary:hover, .submit-btn .btn:hover { background: var(--aspe-tinta); filter: none; }

/* Pie: tipografía pequeña y espaciada */
footer > div { padding: 4rem 0 3.2rem; }
html body footer > div .menu li a { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
html body footer > div .menu li a br { display: none; }
html body footer > div .social p { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; margin-bottom: .6rem; }
html body footer > div .contact li a { font-size: .95rem; letter-spacing: .04em; }
html body footer > div .legal li a { font-size: .72rem; letter-spacing: .06em; }
html body footer > div .logo img { width: 8rem; }
footer > span { font-size: .78rem; letter-spacing: .08em; }

/* Listas dentro de los textos (p. ej. fines de la asociación) */
html body .panel .panel-content .notice ul { margin: 0 0 1rem; padding-left: 1.1rem; }
html body .panel .panel-content .notice ul li { margin: .45rem 0; padding-left: .3rem; color: #2b3644; }
html body .panel .panel-content .notice ul li::marker { color: var(--aspe-azul-2); }
html body .panel .panel-content .notice ul li strong { color: var(--aspe-azul); font-weight: 600; }

/* Llamamientos de la columna derecha (Atlas y entrevistas) */
html body .panel .panel-content .llamamiento .ll-titulo { font-size: 1.25rem; font-weight: 300; color: var(--aspe-azul); line-height: 1.3; margin-bottom: .5rem; }
html body .panel .panel-content .llamamiento p { font-size: .95rem; color: var(--aspe-suave); }
html body .panel .panel-content .llamamiento .link::after { content: "→"; }

/* Formulario de entrevistas */
.form-entrevista label { font-size: .92rem; color: var(--aspe-texto); margin-bottom: .35rem; display: block; }
.form-entrevista .ent-seccion { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--aspe-azul); font-weight: 600; margin: 2.2rem 0 1rem; padding-top: 1.2rem; border-top: 1px solid var(--aspe-linea); }
.form-entrevista .ent-pregunta { margin-bottom: 1.4rem; }
.form-entrevista .ent-pregunta label { font-size: 1.05rem; color: var(--aspe-tinta); display: flex; gap: .8rem; align-items: baseline; }
.form-entrevista .ent-num { font-size: .78rem; letter-spacing: .12em; color: var(--aspe-azul-2); flex: none; }
.form-entrevista .ent-consentimiento { margin: 1.6rem 0; }
.form-entrevista .ent-consentimiento label { display: inline; }
.form-entrevista .ent-acciones { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.form-entrevista .btn-link-ent { background: none; border: 0; color: var(--aspe-azul); font-weight: 600; padding: 0; text-decoration: underline; text-underline-offset: 4px; }
.form-entrevista .ent-estado { margin-top: 1rem; color: var(--aspe-azul); min-height: 1.4em; }

/* Llamamientos de la columna derecha: sin hueco bajo el enlace (oct-2026) */
html body .panel-content:has(> .llamamiento){padding-bottom:0}

/* ───────── Capa «toque elegante» (oct-2026) ─────────
   Más aire, menos foto de archivo, líneas finas y una cabecera translúcida. Misma identidad. */
html body .navbar{background:rgba(246,244,240,.86)!important;-webkit-backdrop-filter:saturate(1.5) blur(12px);backdrop-filter:saturate(1.5) blur(12px);border-bottom:1px solid rgba(11,47,79,.10)!important;padding:.6rem 3.2rem}
html body .navbar .navbar-brand img{width:3.3rem}
html body .navbar .navbar-collapse .navbar-nav .nav-item .nav-link span{font-size:.72rem;letter-spacing:.24em}

/* Portada: la foto queda como textura bajo un velo azul tinta, con el lema protagonista */
html body .banner{min-height:30rem;padding:4rem 7vw;display:flex;align-items:center;justify-content:space-between;background-size:cover;background-position:center;position:relative}
html body .banner::before{background:linear-gradient(100deg,rgba(11,47,79,.94) 0%,rgba(11,47,79,.78) 45%,rgba(14,82,136,.45) 100%)!important;opacity:1!important}
html body .banner::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.14;
  background-image:linear-gradient(rgba(255,255,255,.5) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.5) 1px,transparent 1px);background-size:56px 56px;
  -webkit-mask-image:linear-gradient(90deg,transparent 20%,#000 90%);mask-image:linear-gradient(90deg,transparent 20%,#000 90%)}
html body .banner > span{font-size:clamp(2.2rem,4.2vw,3.6rem);font-weight:300;line-height:1.08;letter-spacing:-.02em;max-width:14ch}
html body .banner > span::after{width:4rem;margin-top:1.6rem;background:rgba(191,224,255,.8)}
html body .banner > img{width:clamp(8rem,13vw,11rem)!important;height:auto;opacity:.9;position:static!important;transform:none!important;margin:0 0 0 auto!important;inset:auto!important}
@media (max-width:991.98px){html body .banner{min-height:18rem;padding:2.5rem 1.5rem}html body .banner > img{display:none}}

/* Contenido: tipografía más ligera, más aire, imágenes con esquinas y sombra suaves */
html body .container-layout{padding-top:3.5rem;padding-bottom:4rem}
html body .home > h2{font-weight:300;font-size:clamp(1.9rem,2.6vw,2.5rem);line-height:1.18;letter-spacing:-.015em;color:var(--aspe-tinta);max-width:28ch;margin-bottom:1.6rem}
html body .home p{font-size:1.06rem;line-height:1.75;color:#3a4552;max-width:66ch}
html body .home img,html body .panel .panel-content .notice img{border-radius:16px;box-shadow:0 24px 48px -32px rgba(11,47,79,.55)}

/* Bloques: tarjetas con esquinas amplias, línea finísima y sombra apenas perceptible */
html body .panel{border-radius:16px;border:1px solid rgba(11,47,79,.08);box-shadow:0 1px 2px rgba(11,47,79,.04),0 18px 40px -34px rgba(11,47,79,.35);padding:2.1rem 2.2rem;transition:box-shadow .3s}
html body .panel:hover{box-shadow:0 1px 2px rgba(11,47,79,.05),0 24px 48px -30px rgba(11,47,79,.4)}
html body .col-right .panel{margin-bottom:1.4rem}
html body .panel .panel-content .media-text .media-text-content > img.rounded-circle{border:1px solid rgba(11,47,79,.10);padding:3px;background:#fff}
/* Sin la ilustración de archivo de «Hazte miembro»: el mensaje y el logotipo bastan */
html body .panel .panel-content .hazte-miembro > img{display:none}

/* Pie: azul tinta liso, separadores finos */
html body footer > div{background:#0b2f4f;background-image:none;padding:3.6rem 0 2.4rem}
html body footer > div .menu{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.12)}
html body footer > div .menu li a{font-size:.72rem;letter-spacing:.24em}
html body footer > div .row.logo img{width:6.5rem;opacity:.95}
html body footer > div .legal{margin-top:1.4rem;padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.12)}
html body footer > span{font-size:.78rem;letter-spacing:.06em}
html body main{margin-top:79px}
@media (max-width:1199.98px){html body main{margin-top:72px}}

/* ───────── Asociados en tarjetas (oct-2026) ─────────
   Cada socio es una tarjeta: logotipo, nombre, sede y actividad arriba; sus profesionales abajo, en fila compacta. */
html body .panel .panel-content .members-form > div:has(> .company-members){display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:1.2rem;margin-top:1.4rem}
html body .panel .panel-content .company-members,
html body .panel .panel-content .company-members:last-child{margin:0;padding:1.5rem 1.5rem 1.2rem;border:1px solid rgba(11,47,79,.09);border-radius:16px;background:linear-gradient(180deg,#fff 0%,#fbfaf7 100%);display:flex;flex-direction:column;gap:1rem;transition:transform .25s,box-shadow .25s,border-color .25s;position:relative;overflow:hidden}
html body .panel .panel-content .company-members::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#0e5288,#4e85b1);opacity:.85}
html body .panel .panel-content .company-members:hover{transform:translateY(-3px);box-shadow:0 22px 40px -28px rgba(11,47,79,.5);border-color:rgba(14,82,136,.25)}
/* La propia asociación ocupa toda la fila */
html body .panel .panel-content .company-members:has(a[href*="1-aspe-asociacion-proptech-espana"]){grid-column:1/-1}
/* Empresa */
html body .panel .panel-content .company-members .company .media-text-content{display:flex;flex-direction:column;align-items:flex-start;gap:.9rem;padding:0;margin:0;border:0}
html body .panel .panel-content .company-members .company .media-text-content > img{width:72px!important;height:72px;object-fit:contain;border-radius:16px!important;border:1px solid rgba(11,47,79,.08)!important;background:#fff;padding:8px!important;margin:0;box-shadow:0 8px 18px -14px rgba(11,47,79,.6)}
html body .panel .panel-content .company-members .company .text{padding:0;margin:0;display:flex;flex-direction:column;gap:.15rem}
html body .panel .panel-content .company-members .company .text span:first-child a{font-size:1.18rem;font-weight:600;color:#0b2f4f;line-height:1.25}
html body .panel .panel-content .company-members .company .text span:nth-child(2){font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:#4e85b1;margin-bottom:.35rem}
html body .panel .panel-content .company-members .company .text span:nth-child(3){font-size:.95rem;line-height:1.5;color:#5b6675}
html body .panel .panel-content .company-members .company .actions{display:none}
/* Profesionales */
html body .panel .panel-content .company-members .members{display:flex;flex-direction:column;gap:.55rem;margin-top:auto;padding-top:.9rem;border-top:1px solid rgba(11,47,79,.08)}
html body .panel .panel-content .company-members .member .media-text-content{display:flex;align-items:center;gap:.75rem;padding:0!important;margin:0}
html body .panel .panel-content .company-members .member .media-text-content::before,
html body .panel .panel-content .company-members .member .media-text-content::after{display:none!important}
html body .panel .panel-content .company-members .member .media-text-content > img{width:44px!important;height:44px;object-fit:cover;border-radius:50%!important;padding:2px!important;border:1px solid rgba(11,47,79,.12)!important;margin:0}
html body .panel .panel-content .company-members .member .text{padding:0;margin:0;display:flex;flex-direction:column;line-height:1.3}
html body .panel .panel-content .company-members .member .text span{font-size:.85rem;color:#5b6675}
html body .panel .panel-content .company-members .member .text span:first-child a{font-size:.95rem;font-weight:600;color:#0e5288}
html body .panel .panel-content .company-members .member .text span:nth-child(2),
html body .panel .panel-content .company-members .member .text span:nth-child(3),
html body .panel .panel-content .company-members .member .actions{display:none}

/* ───────── Bolsa de trabajo (oct-2026) ───────── */
html body .bt-titulo{font-weight:300;font-size:clamp(1.8rem,2.4vw,2.3rem);line-height:1.15;color:#0b2f4f;margin:.2rem 0 1rem;letter-spacing:-.015em}
html body .bt-entradilla{font-size:1.04rem;line-height:1.7;color:#3a4552;max-width:62ch;margin-bottom:1.8rem}
html body .bt-opciones{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem;margin-bottom:1.6rem}
@media (max-width:640px){html body .bt-opciones{grid-template-columns:1fr}}
html body .bt-opcion{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:.45rem;padding:1.6rem 1.5rem 1.4rem;border-radius:16px;border:1px solid rgba(11,47,79,.10);background:linear-gradient(160deg,#fff 0%,#f6f9fc 100%);transition:transform .25s,box-shadow .25s,border-color .25s;position:relative;overflow:hidden}
html body .bt-opcion::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#0e5288,#4e85b1)}
html body .bt-opcion:hover,html body .bt-opcion[aria-expanded="true"]{transform:translateY(-3px);box-shadow:0 22px 40px -28px rgba(11,47,79,.55);border-color:rgba(14,82,136,.3)}
html body .bt-opcion[aria-expanded="true"]{background:linear-gradient(160deg,#0b2f4f 0%,#0e5288 100%)}
html body .bt-opcion[aria-expanded="true"] *{color:#fff!important;stroke:#fff!important}
html body .bt-opcion:focus-visible{outline:2px solid #c9740a;outline-offset:3px}
html body .bt-icono{width:44px;height:44px;border-radius:12px;background:#dbe7f2;display:flex;align-items:center;justify-content:center;margin-bottom:.35rem}
html body .bt-opcion[aria-expanded="true"] .bt-icono{background:rgba(255,255,255,.15)}
html body .bt-icono svg{width:24px;height:24px;fill:none;stroke:#0e5288;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html body .bt-opcion-etq{font-size:1.3rem;font-weight:600;color:#0b2f4f}
html body .bt-opcion-txt{font-size:.95rem;color:#5b6675;line-height:1.45}
html body .bt-opcion-cta{margin-top:.6rem;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:#0e5288}
html body .bt-opcion-cta::after{content:" →"}
html body .bt-form{border:1px solid rgba(11,47,79,.10);border-radius:16px;background:#fff;padding:1.6rem 1.6rem 1.3rem;margin-bottom:1.8rem;animation:bt-abre .3s ease}
@keyframes bt-abre{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
html body .bt-form-tit{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;font-weight:700;color:#0b2f4f;margin:0 0 1.1rem;padding-bottom:.8rem;border-bottom:1px solid rgba(11,47,79,.08)}
html body .bt-rejilla{display:grid;grid-template-columns:1fr 1fr;gap:.9rem 1rem}
@media (max-width:640px){html body .bt-rejilla{grid-template-columns:1fr}}
html body .bt-rejilla label{display:flex;flex-direction:column;gap:.35rem;margin:0;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:#5b6675}
html body .bt-ancho{grid-column:1/-1}
html body .bt-form input:not([type=checkbox]),html body .bt-form select,html body .bt-form textarea{font:inherit;font-size:.98rem;letter-spacing:0;text-transform:none;padding:.65rem .8rem;border:1px solid #dcd8cf;border-radius:10px;background:#fbfaf7;color:#1f2a37;width:100%;resize:vertical}
html body .bt-form input:focus,html body .bt-form select:focus,html body .bt-form textarea:focus{outline:2px solid #4e85b1;outline-offset:0;background:#fff}
html body .bt-form .bt-error{border-color:#b3261e!important;background:#fdf3f2!important}
html body .bt-check{display:flex;gap:.6rem;align-items:flex-start;margin:1.1rem 0 0;font-size:.88rem;color:#3a4552;line-height:1.45}
html body .bt-check input{margin-top:.2rem}
html body .bt-pie{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1.2rem}
html body .bt-boton{font:inherit;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:#fff;background:#0e5288;border:0;border-radius:999px;padding:.85rem 1.6rem;cursor:pointer;transition:background .2s}
html body .bt-boton:hover{background:#0b2f4f}
html body .bt-estado{font-size:.9rem;color:#0e5288}
html body .bt-nota{font-size:.82rem;color:#5b6675;margin:.7rem 0 0}
html body .bt-ofertas{border-top:1px solid rgba(11,47,79,.08);padding-top:1.5rem}
html body .bt-ofertas h3{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;font-weight:700;color:#0b2f4f;margin-bottom:1rem}
html body .bt-vacio{border:1px dashed #cfd8e2;border-radius:14px;padding:1.6rem;text-align:center;color:#5b6675}
html body .bt-vacio p{margin:0 0 .5rem}
html body .bt-enlace{all:unset;cursor:pointer;color:#0e5288;font-weight:600}
html body .bt-enlace:hover{text-decoration:underline}

/* ───────── Asesoramiento PropTech (oct-2026) ───────── */
html body .as-titulo{font-weight:300;font-size:clamp(1.8rem,2.4vw,2.3rem);line-height:1.15;color:#0b2f4f;margin:.2rem 0 1rem;letter-spacing:-.015em;max-width:24ch}
html body .as-entradilla{font-size:1.04rem;line-height:1.7;color:#3a4552;max-width:62ch;margin-bottom:2rem}
html body .as-seccion{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;font-weight:700;color:#0b2f4f;margin:2.2rem 0 1rem;padding-bottom:.7rem;border-bottom:1px solid rgba(11,47,79,.08)}
html body .as-servicios{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}
html body .as-servicio{padding:1.3rem 1.3rem 1.1rem;border:1px solid rgba(11,47,79,.09);border-radius:14px;background:linear-gradient(160deg,#fff 0%,#f6f9fc 100%);transition:transform .25s,box-shadow .25s}
html body .as-servicio:hover{transform:translateY(-3px);box-shadow:0 20px 36px -28px rgba(11,47,79,.55)}
html body .as-num{font-size:.75rem;letter-spacing:.14em;color:#4e85b1;font-weight:700}
html body .as-servicio h3{font-size:1.08rem;font-weight:600;color:#0b2f4f;margin:.45rem 0 .4rem}
html body .as-servicio p{font-size:.92rem;line-height:1.5;color:#5b6675;margin:0}
html body .as-pasos{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;counter-reset:paso}
@media (max-width:700px){html body .as-pasos{grid-template-columns:1fr}}
html body .as-pasos li{counter-increment:paso;position:relative;padding:1.1rem 0 0 0;border-top:2px solid #dbe7f2}
html body .as-pasos li::before{content:counter(paso);position:absolute;top:-1rem;left:0;width:2rem;height:2rem;border-radius:50%;background:#0e5288;color:#fff;font-weight:700;font-size:.9rem;display:flex;align-items:center;justify-content:center}
html body .as-pasos li b{display:block;margin-top:.9rem;color:#0b2f4f;font-weight:600}
html body .as-pasos li span{display:block;font-size:.92rem;color:#5b6675;line-height:1.5;margin-top:.25rem}
html body .as-cta{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:2.2rem 0 1.2rem;padding:1.4rem 1.6rem;border-radius:16px;background:linear-gradient(135deg,#0b2f4f,#0e5288);color:#fff}
html body .as-cta p{margin:0;color:rgba(255,255,255,.85)}
html body .as-cta .as-cta-tit{font-size:1.35rem;font-weight:300;color:#fff}
html body .as-cta .bt-boton{background:#fff;color:#0e5288}
html body .as-cta .bt-boton:hover{background:#dbe7f2}
/* Profesionales asociados en rejilla */
html body .advice-form.as ~ div{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.9rem}
html body .advice-form.as ~ div .media-text.member{margin:0;padding:1rem;border:1px solid rgba(11,47,79,.08);border-radius:14px;background:#fff}
html body .advice-form.as ~ div .media-text-content{display:flex;align-items:center;gap:.85rem;padding:0;margin:0;border:0}
html body .advice-form.as ~ div .media-text-content > img{width:56px!important;height:56px;object-fit:cover;border-radius:50%!important;padding:2px;border:1px solid rgba(11,47,79,.12);margin:0}
html body .advice-form.as ~ div .text{padding:0;margin:0;display:flex;flex-direction:column;line-height:1.3}
html body .advice-form.as ~ div .text span{font-size:.85rem;color:#5b6675}
html body .advice-form.as ~ div .text span:nth-child(1) a{font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:#4e85b1;font-weight:700}
html body .advice-form.as ~ div .text span:nth-child(2) a{font-size:1rem;font-weight:600;color:#0b2f4f}
html body .advice-form.as ~ div .text span:nth-child(3),html body .advice-form.as ~ div .actions{display:none}
html body .advice-form.as ~ div{border-top:0!important;padding-top:0!important;margin-top:0!important}

/* ───────── Formación (oct-2026) ───────── */
html body .fo-cifras{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid rgba(11,47,79,.10);border-bottom:1px solid rgba(11,47,79,.10);margin:0 0 .5rem}
@media (max-width:700px){html body .fo-cifras{grid-template-columns:1fr}}
html body .fo-cifras div{padding:1.1rem 1rem 1.1rem 0;display:flex;flex-direction:column;gap:.25rem}
html body .fo-cifras div + div{padding-left:1.2rem;border-left:1px solid rgba(11,47,79,.10)}
html body .fo-cifras b{font-size:1.5rem;font-weight:300;color:#0e5288;letter-spacing:-.01em}
html body .fo-cifras span{font-size:.85rem;color:#5b6675;line-height:1.4}
html body .fo-socio{display:flex;align-items:center;gap:1.1rem;padding:1.1rem 1.3rem;border:1px solid rgba(11,47,79,.09);border-radius:16px;background:#fff;text-decoration:none!important;transition:transform .25s,box-shadow .25s}
html body .fo-socio:hover{transform:translateY(-3px);box-shadow:0 20px 36px -28px rgba(11,47,79,.55)}
html body .fo-socio-logo{width:150px;flex:none;display:flex;align-items:center}
html body .fo-socio-logo img{max-width:100%;height:auto;border-radius:0!important;box-shadow:none!important}
html body .fo-socio-txt{display:flex;flex-direction:column;gap:.15rem;flex:1}
html body .fo-socio-etq{font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:#4e85b1;font-weight:700}
html body .fo-socio-txt b{font-size:1.15rem;color:#0b2f4f}
html body .fo-socio-txt > span:last-child{font-size:.92rem;color:#5b6675}
html body .fo-socio-flecha{font-size:1.3rem;color:#0e5288}

/* ───────── Sobre ASPE: carácter exclusivo (oct-2026) ───────── */
html body .sb{--sb-tinta:#0b2f4f;--sb-azul:#0e5288;--sb-oro:#b8913a;--sb-oro-claro:#e6cf96;--sb-linea:rgba(11,47,79,.10);--sb-suave:#5b6675;color:#1f2a37}
html body .sb p{line-height:1.65}
html body .sb-etq{font-size:.72rem;letter-spacing:.24em;text-transform:uppercase;font-weight:700;color:var(--sb-oro);margin:0 0 .8rem}
html body .sb-seccion{font-size:.72rem;letter-spacing:.24em;text-transform:uppercase;font-weight:700;color:var(--sb-oro);margin:0 0 1rem;display:flex;align-items:center;gap:.8rem}
html body .sb-seccion::after{content:"";flex:1;height:1px;background:var(--sb-linea)}
html body .sb-hero{position:relative;overflow:hidden;border-radius:18px;padding:clamp(2rem,4.5vw,3.5rem);margin:0 0 2.5rem;color:#fff;
  background:radial-gradient(circle at 88% 15%,rgba(184,145,58,.28),transparent 45%),linear-gradient(140deg,#071f36 0%,#0b2f4f 55%,#0e5288 100%);
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2rem;align-items:center}
html body .sb-hero::before{content:"";position:absolute;inset:14px;border:1px solid rgba(230,207,150,.28);border-radius:12px;pointer-events:none}
html body .sb-hero>*{position:relative}
html body .sb-hero h2{color:#fff;font-weight:300;font-size:clamp(1.8rem,3.4vw,2.7rem);line-height:1.12;margin:0 0 1rem;letter-spacing:-.01em;text-wrap:balance}
html body .sb-entradilla{color:rgba(255,255,255,.82);font-size:1.05rem;max-width:58ch;margin:0 0 1.6rem}
html body .sb-botones{display:flex;gap:.8rem;flex-wrap:wrap}html body .sb-botones .sb-boton{white-space:nowrap}
html body .sb-boton{display:inline-block;font:inherit;font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;padding:.85rem 1.6rem;border-radius:999px;border:1px solid rgba(255,255,255,.6);color:#fff;background:transparent;text-decoration:none;cursor:pointer;transition:background .2s,color .2s}
html body .sb-boton:hover{background:rgba(255,255,255,.12);color:#fff;text-decoration:none}
html body .sb-boton-oro{background:var(--sb-oro);border-color:var(--sb-oro);color:#0b2f4f}
html body .sb-boton-oro:hover{background:#e6cf96;border-color:#e6cf96;color:#0b2f4f}
html body .sb-hero-sello{display:flex;flex-direction:column;align-items:center;gap:.6rem;padding:0 1rem}
html body .sb-hero-sello img{width:170px;height:auto;display:block;filter:drop-shadow(0 18px 30px rgba(0,0,0,.45))}
html body .sb-hero-sello span{font-size:.68rem;letter-spacing:.22em;text-transform:uppercase;color:var(--sb-oro-claro)}
@media (max-width:760px){html body .sb-hero{grid-template-columns:1fr}html body .sb-hero-sello{flex-direction:row;padding:0}html body .sb-hero-sello img{width:110px}}
html body .sb-socios{margin:0 0 2.5rem}
html body .sb-socios-fila{display:flex;flex-wrap:wrap;gap:.9rem}
html body .sb-socio{display:flex;align-items:center;gap:.7rem;padding:.55rem 1rem .55rem .55rem;border:1px solid var(--sb-linea);border-radius:999px;background:#fff;color:var(--sb-tinta);text-decoration:none;font-size:.9rem;font-weight:600;transition:border-color .2s,box-shadow .2s}
html body .sb-socio:hover{border-color:var(--sb-oro);box-shadow:0 10px 24px -18px rgba(11,47,79,.5);text-decoration:none;color:var(--sb-tinta)}
html body .sb-socio img{width:38px;height:38px;border-radius:50%;object-fit:contain;background:#fff;border:1px solid var(--sb-linea)}
html body .sb-bloque{margin:0 0 2.8rem}
html body .sb-dos{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:2rem;align-items:center}
@media (max-width:860px){html body .sb-dos{grid-template-columns:1fr}}
html body .sb-tit{font-size:1.45rem;font-weight:300;color:var(--sb-tinta);line-height:1.25;margin:0 0 1rem}
html body .sb-foto{margin:0;border-radius:14px;overflow:hidden;box-shadow:0 24px 48px -30px rgba(11,47,79,.6)}
html body .sb-foto img{display:block;width:100%;height:100%;aspect-ratio:4/3;object-fit:cover}
html body .sb-cita{margin:0;padding:1.6rem 0 0 2.2rem;position:relative;font-size:clamp(1.15rem,2vw,1.45rem);font-weight:300;line-height:1.5;color:var(--sb-tinta);border:0}
html body .sb-cita::before{content:"“";position:absolute;left:0;top:.2rem;font-size:4rem;line-height:1;color:var(--sb-oro);font-family:Georgia,serif}
html body .sb-fines{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--sb-linea);border:1px solid var(--sb-linea);border-radius:14px;overflow:hidden}
html body .sb-fines li{background:#fff;padding:1.3rem 1.3rem 1.2rem}
html body .sb-fines li:last-child{grid-column:1/-1;background:#fbf7ee}
@media (max-width:760px){html body .sb-fines{grid-template-columns:1fr}}
html body .sb-fines span{display:block;font-size:.8rem;font-weight:700;color:var(--sb-oro);letter-spacing:.1em;margin-bottom:.5rem;font-variant-numeric:tabular-nums}
html body .sb-fines h4{font-size:1.05rem;font-weight:700;color:var(--sb-tinta);margin:0 0 .35rem}
html body .sb-fines p{font-size:.92rem;color:var(--sb-suave);margin:0;line-height:1.5}
html body .sb-sello{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2rem;align-items:center;margin:0 0 2.8rem;padding:2rem 2.2rem;border-radius:16px;background:linear-gradient(135deg,#fbf7ee,#f4ead2);border:1px solid #e6d6ad}
html body .sb-sello img{width:130px;height:auto}
html body .sb-sello h3{font-size:1.6rem;font-weight:300;color:var(--sb-tinta);margin:0 0 .7rem}
html body .sb-sello .sb-etq{color:#8a6a22}
html body .sb-sello ul{margin:.4rem 0 0;padding:0;list-style:none;display:grid;gap:.45rem}
html body .sb-sello li{position:relative;padding-left:1.4rem}
html body .sb-sello li::before{content:"";position:absolute;left:0;top:.6em;width:.55rem;height:.55rem;border-radius:50%;background:var(--sb-oro)}
@media (max-width:700px){html body .sb-sello{grid-template-columns:1fr}html body .sb-sello img{width:90px}}
html body .sb-adhesion{border-radius:18px;padding:clamp(1.6rem,3.5vw,2.6rem);background:linear-gradient(140deg,#071f36,#0b2f4f 60%,#0e5288);color:#fff}
html body .sb-adhesion h3{color:#fff;font-weight:300;font-size:1.7rem;margin:0 0 .6rem}
html body .sb-adhesion p{color:rgba(255,255,255,.82)}
html body .sb-ad-cab{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.5rem;align-items:center}
@media (max-width:700px){html body .sb-ad-cab{grid-template-columns:1fr}}
html body .sb-pasos{list-style:none;counter-reset:p;margin:1.6rem 0 0;padding:1.4rem 0 0;border-top:1px solid rgba(230,207,150,.3);display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
@media (max-width:700px){html body .sb-pasos{grid-template-columns:1fr}}
html body .sb-pasos li{counter-increment:p;display:flex;flex-direction:column;gap:.25rem}
html body .sb-pasos li::before{content:counter(p,decimal-leading-zero);font-size:.8rem;font-weight:700;color:var(--sb-oro-claro);letter-spacing:.1em}
html body .sb-pasos b{color:#fff;font-size:1.02rem}
html body .sb-pasos span{color:rgba(255,255,255,.75);font-size:.92rem;line-height:1.5}
html body .sb-adhesion .bt-form{margin-top:1.6rem;background:#fff;color:#1f2a37;border-radius:14px}
html body .sb-adhesion .bt-form p{color:inherit}

/* ───────── Fichas de socios (oct-2026) ───────── */
html body .so-ficha{--sb-oro:#b8913a;--sb-linea:rgba(11,47,79,.10);margin-top:1.4rem;font-size:1rem;line-height:1.7;color:#1f2a37}
html body .so-ficha p{margin:0 0 1rem;max-width:68ch}
html body .so-lema{font-size:1.35rem!important;font-weight:300;color:#0b2f4f;line-height:1.35!important;margin-bottom:1.2rem!important;text-wrap:balance}
html body .so-ficha .sb-seccion{margin-top:1.8rem}
html body .so-areas{list-style:none;margin:0 0 1.8rem;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:.6rem}
html body .so-areas li{background:#fff;border:1px solid var(--sb-linea);border-radius:12px;padding:.75rem 1rem .75rem 2.2rem;position:relative;font-size:.95rem;line-height:1.45}
html body .so-areas li::before{content:"";position:absolute;left:1rem;top:1.15rem;width:.5rem;height:.5rem;border-radius:50%;background:var(--sb-oro)}
html body .so-web{display:inline-block;text-decoration:none}
html body .so-web::after{content:" →"}
html body .so-dominio{color:#0e5288;font-weight:600;text-decoration:none}
html body .so-dominio:hover{text-decoration:underline}

/* ───────── Móvil y tableta (oct-2026): texto legible, menú de verdad, portada con presencia y pie ordenado ─────────
   main.css baja la letra base a 12px (<992px) y 11px (<576px): aquí se devuelve a un tamaño legible. */
@media (max-width:991.98px){
  html,body{font-size:14px}
  html body main{margin-top:64px}
  /* Cabecera compacta; el botón del menú es un botón de verdad */
  html body header .navbar{padding:.55rem 1rem}
  html body .navbar .navbar-brand img{width:3.3rem}
  html body .navbar .navbar-toggler{display:inline-flex;align-items:center;justify-content:center;width:2.7rem;height:2.7rem;padding:0;border-radius:999px;border:1px solid rgba(11,47,79,.14);background:#fff;box-shadow:0 6px 16px -12px rgba(11,47,79,.6)}
  html body .navbar .navbar-toggler:focus{box-shadow:0 0 0 3px rgba(14,82,136,.18)}
  /* Menú desplegado: una lista con iconos, no una columna de letras diminutas */
  html body .navbar .navbar-collapse{margin-top:.7rem;padding:.3rem 0 .5rem;border-top:1px solid var(--aspe-linea);font-size:1rem}
  html body .navbar .navbar-collapse .navbar-nav{flex-direction:column;align-items:stretch;gap:0;width:100%}
  html body .navbar .navbar-collapse .navbar-nav .nav-item .nav-link{display:flex;flex-direction:row;align-items:center;gap:.95rem;padding:.85rem .35rem;border-bottom:1px solid rgba(11,47,79,.07);text-align:left}
  html body .navbar .navbar-collapse .navbar-nav .nav-item:last-child .nav-link{border-bottom:0}
  html body .navbar .navbar-collapse .navbar-nav .nav-item .nav-link img{width:1.75rem;margin:0}
  html body .navbar .navbar-collapse .navbar-nav .nav-item .nav-link span{font-size:1.02rem;letter-spacing:.02em;text-transform:none;font-weight:500;line-height:1.2}
  html body .navbar .navbar-collapse .navbar-nav .nav-item .nav-link span br{display:none}
  html body .navbar .navbar-collapse .navbar-nav .nav-item .nav-link::after{display:none}
  html body .navbar .navbar-collapse .navbar-nav .nav-item .nav-link.active{color:var(--aspe-azul)}
  html body .navbar .navbar-collapse .navbar-nav .nav-item .nav-link.active span::after{content:"→";margin-left:.5rem;color:var(--aspe-azul-2)}
  /* Portada: más alta, con el lema abajo sobre un velo que se oscurece y el logotipo arriba a la derecha */
  html body .banner{min-height:clamp(21rem,64vw,30rem);padding:2.4rem 1.4rem 2.2rem;display:flex;align-items:flex-end;background-position:center 30%}
  html body .banner::before{background:linear-gradient(180deg,rgba(11,47,79,.30) 0%,rgba(11,47,79,.66) 50%,rgba(11,47,79,.96) 100%)!important}
  html body .banner::after{display:none}
  html body .banner > span{position:static;height:auto;font-size:clamp(1.9rem,8vw,2.5rem);line-height:1.08;max-width:13ch}
  html body .banner > span::after{width:3rem;margin-top:1rem}
  html body .banner > img{display:block!important;position:absolute!important;inset:1.2rem 1.2rem auto auto!important;width:5.4rem!important;height:auto;margin:0!important;opacity:.95;filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}
  /* Contenido */
  html body .container-layout{padding-top:1.6rem;padding-bottom:2.4rem}
  html body .panel{padding:1.5rem 1.3rem;border-radius:14px}
  html body .home > h2{font-size:clamp(1.55rem,5.6vw,1.9rem);line-height:1.22}
  html body .home p{font-size:1.02rem;line-height:1.7}
  html body .panel .panel-header h3{font-size:.78rem}
}
@media (max-width:767.98px){
  html body .container-layout .col-left,html body .container-layout .col-right{padding-left:1rem;padding-right:1rem}
  /* Pie: logotipo centrado arriba, menú a dos columnas, contacto y legales ordenados (antes el logo pisaba el teléfono) */
  html body footer > div{padding:2.6rem 0 1.8rem}
  html body footer > div .row.logo{position:static;height:auto;justify-content:center;margin:0 0 1.6rem}
  html body footer > div .row.logo .col-2{flex:0 0 auto;width:auto;max-width:none}
  html body footer > div .row.logo img{margin:0;width:7rem}
  html body footer > div .row.justify-content-center > .col-8{flex:0 0 100%;width:100%;max-width:100%;padding:0 1.4rem}
  html body footer > div .menu{display:grid;grid-template-columns:1fr 1fr;gap:1rem .6rem;max-width:none;text-align:center;margin-bottom:1.6rem;padding-bottom:1.6rem}
  html body footer > div .menu li a{font-size:.8rem;letter-spacing:.14em;line-height:1.3}
  html body footer > div .menu li a br{display:none}
  html body footer > div .social{margin:0 0 1.2rem}
  html body footer > div .social p{font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;opacity:.8}
  html body footer > div .contact{flex-direction:column;align-items:center;gap:.6rem;margin-bottom:1.4rem}
  html body footer > div .contact li a{font-size:1.08rem}
  html body footer > div .legal{gap:.5rem 1rem}
  html body footer > span{display:block;padding:1rem 1.4rem;text-align:center}
}
@media (max-width:575.98px){
  html,body{font-size:15px}
}

/* ───────── Capa móvil 2 (oct-2026): barra inferior, sección en portada, volver arriba, carruseles y base robusta ───────── */
.am-barra,.am-arriba,.am-seccion{display:none}
@media (max-width:991.98px){
  /* Base robusta: nada se sale de la pantalla, todo lo tocable es cómodo, sin efectos pensados para el ratón */
  html{overflow-x:hidden;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
  html body{overflow-x:clip;-webkit-tap-highlight-color:transparent}
  html body img,html body video,html body iframe,html body svg{max-width:100%;height:auto}
  html body iframe{aspect-ratio:16/9;height:auto}
  html body table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  html body a,html body button,html body .link,html body .bt-boton{touch-action:manipulation}
  html body input,html body select,html body textarea{font-size:16px!important;max-width:100%}
  html body .bt-boton,html body button.bt-boton,html body .at-filtros select{min-height:48px}
  html body .panel .panel-footer .link,html body .link{padding:.45rem 0;display:inline-flex;align-items:center;min-height:44px}
  html body .panel:hover,html body .panel .panel-content .company-members:hover{transform:none;box-shadow:0 1px 2px rgba(11,47,79,.04),0 18px 40px -34px rgba(11,47,79,.35)}
  html body .home p img,html body .home > img{width:100%;border-radius:14px}
  /* Hueco para la barra inferior (respetando el borde inferior del iPhone) */
  html body.am-con-barra{padding-bottom:calc(4.4rem + env(safe-area-inset-bottom,0px))}
  html body.am-con-barra footer > span{margin-bottom:.4rem}
  html body.am-con-barra .navbar .navbar-toggler{display:none}
  /* Barra inferior: siempre a mano, un toque y estás en la sección */
  .am-barra{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:1040;background:rgba(255,255,255,.96);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-top:1px solid rgba(11,47,79,.10);box-shadow:0 -10px 30px -22px rgba(11,47,79,.55);padding:.35rem .25rem calc(.35rem + env(safe-area-inset-bottom,0px))}
  .am-barra-item{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.22rem;padding:.35rem .1rem;border-radius:12px;color:#5b6675;text-decoration:none;font-size:.66rem;line-height:1.1;letter-spacing:.01em;font-weight:500;position:relative;transition:color .2s,background .2s}
  .am-barra-item img{width:1.55rem;height:1.55rem;object-fit:contain;opacity:.75;transition:transform .2s,opacity .2s}
  .am-barra-item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .am-barra-item.activo{color:var(--aspe-azul)}
  .am-barra-item.activo img{opacity:1;transform:translateY(-1px)}
  .am-barra-item.activo::before{content:"";position:absolute;top:-.35rem;left:28%;right:28%;height:3px;border-radius:0 0 3px 3px;background:var(--aspe-degradado)}
  .am-barra-item:active{background:rgba(14,82,136,.08)}
  /* Sección actual en la portada: se sabe dónde se está sin leer el menú */
  .am-seccion{display:inline-block;margin:0;position:absolute;left:1.4rem;top:1.35rem;z-index:1;padding:.4rem .75rem;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);color:#fff;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
  /* Volver arriba: encima de la barra, a la derecha */
  .am-arriba{display:flex;align-items:center;justify-content:center;position:fixed;right:1rem;bottom:calc(5.2rem + env(safe-area-inset-bottom,0px));z-index:1039;width:2.9rem;height:2.9rem;border-radius:999px;border:0;background:var(--aspe-tinta);color:#fff;box-shadow:0 14px 30px -14px rgba(11,47,79,.7);opacity:0;transform:translateY(12px) scale(.9);pointer-events:none;transition:opacity .25s,transform .25s}
  .am-arriba.visible{opacity:.94;transform:none;pointer-events:auto}
  /* Carruseles: las filas largas se deslizan con el dedo y se detienen en cada tarjeta */
  html body .am-carrusel{display:flex;flex-wrap:nowrap;gap:.8rem;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:.25rem 1rem .9rem;margin-left:-1rem;margin-right:-1rem;scrollbar-width:none}
  html body .am-carrusel::-webkit-scrollbar{display:none}
  html body .am-carrusel > *{flex:0 0 auto;scroll-snap-align:start}
  /* Los bloques de la columna derecha (llamamientos) van en cadena, con separación clara */
  html body .container-layout .col-right{margin-top:.5rem}
  html body .container-layout .col-right .panel{margin-bottom:1.1rem}
  /* La portada deja sitio a la etiqueta de sección */
  html body .banner{padding-top:4.2rem}
}
@media (max-width:575.98px){
  .am-barra-item{font-size:.62rem}
  .am-barra-item img{width:1.45rem;height:1.45rem}
}
@media (hover:none){
  html body .panel .panel-content .company-members:hover{transform:none}
}
