/* Aldecamar — hoja de estilos propia (sustituye a Betheme, Elementor, Slider Revolution y LayerSlider).
   Medidas y colores calcados del original a 1280 px (27/09/2026). */

:root {
  --dorado: #A18116;
  --dorado-hover: #E39733;
  --gris: #5B5B5B;
  --texto: #48516A;
  --texto-lista: #737E86;
  --titulo: #5B5B5B;
  --antetitulo: #565F77;
  --azul: #203A7C;
  --azul-boton: #213B7C;
  --fondo-servicios: none;
  --claro-servicios: #F7F9FC;
  --claro-cifras: #F9FAFD;
  --subcab: #F7F7F7;
  --borde: #E6E6E9;
  --ancho: 1060px;
  --fuente: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--fuente); font-size: 15px; line-height: 28px; color: var(--texto); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dorado); text-decoration: none; }
a:hover { color: var(--dorado-hover); }
h1, h2, h3, h4, h5, h6 { font-family: var(--fuente); color: var(--titulo); margin: 0 0 15px; }
h2 { font-size: 70px; line-height: 70px; font-weight: 700; }
h3 { font-size: 40px; line-height: 40px; font-weight: 500; }
h4 { font-size: 20px; line-height: 30px; font-weight: 500; color: var(--dorado); }
h5 { font-size: 16px; line-height: 30px; font-weight: 700; }
h6 { font-size: 14px; line-height: 28px; font-weight: 700; color: var(--antetitulo); }
p { margin: 0 0 15px; }
ul { margin: 0 0 15px; }
button { font: inherit; }
.icono { width: 1em; height: 1em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.oculto { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.saltar { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 10px 16px; }
.saltar:focus { left: 10px; top: 10px; }
.contenedor { width: 100%; max-width: calc(var(--ancho) + 40px); margin: 0 auto; padding: 0 20px; }
.dorado { color: var(--dorado); }
:focus-visible { outline: 2px solid var(--dorado); outline-offset: 2px; }

/* ---------------------------------------------------------------- botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 40px;
  border: 0; border-radius: 25px; background: var(--dorado); color: #fff; font-size: 16px; font-weight: 500; line-height: 1.2;
  text-align: center; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.boton:hover, .boton:focus-visible { background: var(--dorado-hover); color: #fff; }
.boton--blanco { background: #fff; color: var(--azul-boton); }
.boton--blanco:hover, .boton--blanco:focus-visible { background: #e99a30; color: #fff; }
.boton--grande { min-height: 51px; padding: 18px 33px; font-size: 15px; font-weight: 400; line-height: 15px; }
.boton--claro { background: #fff; color: var(--dorado); box-shadow: inset 0 0 0 2px var(--dorado); }
.boton--claro:hover { background: var(--dorado); color: #fff; }
.boton--ancho { width: 100%; }
.boton[disabled] { opacity: .6; cursor: wait; }

/* ---------------------------------------------------------------- cabecera (#Top_bar del original) */
.cab { position: sticky; top: 0; z-index: 50; background: var(--gris); transition: background-color .3s ease, box-shadow .3s ease; }
.cab__dentro { display: flex; align-items: center; gap: 20px; max-width: 1280px; margin: 0 auto; padding: 10px 20px; transition: padding .3s ease; }
.cab__logo { flex: none; }
.cab__logo img { width: auto; height: 60px; transition: height .3s ease; }
.menu { margin-left: 10px; }
.menu__lista { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.menu__lista a { display: block; padding: 0 20px; color: #fff; font-size: 16px; line-height: 60px; white-space: nowrap; transition: color .2s ease; }
.menu__lista a:hover, .interior .menu__lista a[aria-current="page"] { color: var(--dorado); }
.cab__menu-boton { display: none; }
/* portada: cabecera transparente sobre el carrusel; al bajar se queda fija en gris, como en el original */
.portada .cab { position: fixed; left: 0; right: 0; background: transparent; }
.portada .cab__dentro { padding-top: 30px; padding-bottom: 30px; }
.portada .cab.cab--pegada { background: var(--gris); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.portada .cab.cab--pegada .cab__dentro { padding-top: 0; padding-bottom: 0; }
.cab.cab--pegada .cab__logo img { height: 50px; }
.cab.cab--pegada .menu__lista a { line-height: 61px; }
.cab--pegada .cab__dentro { padding-top: 5px; padding-bottom: 5px; }

@media (max-width: 1139px) {
  .cab__dentro { justify-content: center; position: relative; min-height: 76px; }
  .portada .cab__dentro { padding-top: 10px; padding-bottom: 10px; }
  .cab__menu-boton { display: block; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
    border: 0; background: transparent; cursor: pointer; padding: 0; }
  .cab__menu-boton span, .cab__menu-boton span::before, .cab__menu-boton span::after { position: absolute; left: 10px; width: 24px; height: 2px;
    background: #fff; transition: transform .2s ease, top .2s ease, opacity .2s ease; content: ""; }
  .cab__menu-boton span { top: 21px; }
  .cab__menu-boton span::before { left: 0; top: -8px; }
  .cab__menu-boton span::after { left: 0; top: 8px; }
  .menu-abierto .cab__menu-boton span { background: transparent; }
  .menu-abierto .cab__menu-boton span::before { top: 0; transform: rotate(45deg); }
  .menu-abierto .cab__menu-boton span::after { top: 0; transform: rotate(-45deg); }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--gris); box-shadow: 0 8px 16px rgba(0, 0, 0, .2);
    max-height: calc(100vh - 76px); overflow-y: auto; }
  .menu-abierto .menu { display: block; }
  .menu-abierto.portada .cab { background: var(--gris); }
  .menu__lista { flex-direction: column; padding: 10px 0; }
  .menu__lista a { line-height: 48px; padding: 0 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .cab.cab--pegada .menu__lista a { line-height: 48px; }
  .cab__logo img { height: 56px; }
}

/* ---------------------------------------------------------------- portada: carrusel (Slider Revolution) */
.hero { position: relative; height: clamp(560px, 78vw, 1000px); overflow: hidden; background: #555; color: #fff; }
.hero__fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__dentro { position: relative; padding-top: 194px; }
.hero__saludo { font-size: 23px; line-height: 33px; font-weight: 700; margin: 0 0 66px; padding-left: 9px; }
.hero__titulo { max-width: 558px; color: #fff; font-size: 38px; line-height: 44px; font-weight: 700; margin: 0; }
.hero__botones { display: flex; flex-wrap: wrap; gap: 30px; margin: 119px 0 0; }
.hero__saludo, .hero__titulo, .hero__botones .boton { animation: entra-izq 1s cubic-bezier(.2, .7, .3, 1) both; }
.hero__titulo { animation-delay: .3s; animation-duration: .9s; }
.hero__saludo { animation-delay: .4s; }
.hero__botones .boton:first-child { animation-delay: .5s; }
.hero__botones .boton:last-child { animation-delay: .6s; }
@keyframes entra-izq { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__saludo, .hero__titulo, .hero__botones .boton { animation: none; } }
@media (max-width: 1139px) { .hero__dentro { padding-top: 150px; } .hero__saludo { margin-bottom: 40px; } .hero__botones { margin-top: 70px; } }
@media (max-width: 767px) {
  .hero { height: 600px; }
  .hero__fondo { object-position: 32% 50%; }
  .hero__dentro { padding-top: 120px; }
  .hero__saludo { font-size: 18px; line-height: 20px; margin-bottom: 30px; padding-left: 0; }
  .hero__titulo { font-size: 31px; line-height: 38px; max-width: 330px; }
  .hero__botones { gap: 16px; margin-top: 40px; }
  .hero__botones .boton { padding: 0 30px; }
}

/* ---------------------------------------------------------------- secciones de la portada */
.seccion { padding: 80px 0; }
.titulo-grande { font-size: 70px; line-height: 70px; font-weight: 700; color: var(--titulo); margin-bottom: 15px; }
.antetitulo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.antetitulo h6 { margin: 0; }
.antetitulo__icono { width: 30px; height: 30px; }
.texto-grande p { font-size: 17px; line-height: 31px; }

.nosotros { padding: 110px 0 90px; }
.nosotros__rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.nosotros__foto img { border-radius: 16px; width: 100%; }
.rayos { padding-top: 20px; }
.rayos p { display: flex; align-items: center; gap: 30px; margin: 0 0 10px; }
.rayos .icono { color: var(--dorado); width: 18px; height: 18px; }
.nosotros__boton { margin: 40px 0 0; }

.servicios { background: var(--claro-servicios) var(--fondo-servicios) no-repeat 50% 100%; text-align: center; }
.servicios__cabeza { max-width: 682px; margin: 0 auto; }
.servicios__cabeza .antetitulo__icono { margin: 0 auto 10px; }
.servicios__cabeza h6 { margin-bottom: 10px; }
.servicios__rejilla { display: grid; gap: 20px; padding-top: 20px; }
.servicios__rejilla--3 { grid-template-columns: repeat(3, 1fr); padding-top: 60px; }
.servicios__rejilla--2 { grid-template-columns: repeat(2, 1fr); }
.servicio { padding: 20px 10px; }
.servicio__icono { width: 80px; height: 80px; margin: 0 auto 40px; border-radius: 45px; box-shadow: 0 0 0 2px var(--dorado); }
.servicio h5 { margin-bottom: 10px; }
.servicios__rejilla--3 .servicio p { max-width: 280px; margin: 0 auto; }
.servicios__rejilla--2 .servicio p { max-width: 460px; margin: 0 auto; }
.servicios__boton { margin: 40px 0 0; }

.galeria { background: var(--gris); color: #fff; }
.galeria h6, .galeria .titulo-grande { color: #fff; }
.galeria__cabeza p { color: #fff; margin: 0; }
.galeria__carrusel { width: 52%; margin: 100px auto 0; }

/* carrusel genérico (galería y opiniones): fundido entre elementos, con puntos */
.carrusel { position: relative; }
.carrusel__pista { list-style: none; margin: 0; padding: 0; display: grid; }
.carrusel__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.carrusel__item.es-activa { opacity: 1; visibility: visible; }
html:not(.js) .carrusel__item:first-child { opacity: 1; visibility: visible; }
.galeria__carrusel .carrusel__item img { width: 100%; aspect-ratio: 1630 / 860; object-fit: contain; background: #4f4f4f; border-radius: 10px; }
.carrusel__puntos { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.carrusel__puntos button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .35); cursor: pointer; }
.carrusel__puntos button[aria-current="true"] { background: var(--dorado); }
.carrusel__puntos button:hover { background: #fff; }

.marcas { margin: 36px 0; text-align: center; }
.marcas__titulo { font-size: 40px; line-height: 40px; font-weight: 500; padding: 10px 10px 0; margin-bottom: 20px; }
.marcas__carrusel { position: relative; padding: 0 10px; }
.marcas__pista { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.marcas__pista::-webkit-scrollbar { display: none; }
.marcas__pista li { flex: 0 0 25%; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; padding: 0 10px; min-height: 178px; }
.marcas__pista img { width: 229px; height: 178px; object-fit: contain; }
.marcas__flecha { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; display: grid; place-items: center;
  border: 0; background: transparent; color: #999; cursor: pointer; font-size: 22px; }
.marcas__flecha:hover { color: var(--dorado); }
.marcas__flecha--izq { left: 0; }
.marcas__flecha--der { right: 0; }

.cifras-opiniones { background: var(--claro-cifras); padding-top: 80px; position: relative; z-index: 1; }
.cifras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 110px; text-align: center; }
.cifra__numero { color: var(--dorado); font-size: 90px; line-height: 90px; font-weight: 400; margin: 0; }
.cifra__numero::after { content: ""; display: block; width: 82px; height: 1px; margin: 15px auto 0; background: var(--borde); }
.cifra h5 { padding-top: 15px; margin: 0; }
.opiniones { background: var(--dorado); color: #fff; text-align: center; padding: 90px 40px 100px; margin-bottom: -250px; position: relative; }
.opiniones h6 { color: #fff; margin-bottom: 0; }
.opiniones .titulo-grande { color: #fff; max-width: 900px; margin: 0 auto; }
.opiniones__carrusel { max-width: 860px; margin: 50px auto 0; }
.opinion__foto { width: 85px; height: 85px; border-radius: 50%; margin: 0 auto 30px; }
.opinion__cita { position: relative; padding: 20px 40px; background: rgba(255, 255, 255, .04); }
.opinion__comillas { position: absolute; left: 0; top: 10px; width: 34px; height: 34px; color: rgba(0, 0, 0, .18); }
.opinion__cita blockquote { margin: 0; font-size: 17px; line-height: 31px; text-align: left; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.opinion__autor { color: #fff; margin: 40px 0 0; }
.opiniones .carrusel__puntos { margin-top: 20px; }

.acordeon-seccion { padding: 320px 0 70px; }
.acordeon { border: 1px solid #d5d8dc; }
.acordeon__titulo { display: flex; align-items: center; gap: 10px; padding: 15px 20px; font-weight: 700; font-size: 15px; line-height: 15px; color: var(--texto); cursor: pointer; list-style: none; }
.acordeon__titulo::-webkit-details-marker { display: none; }
.acordeon__mas { width: 12px; height: 12px; transition: transform .2s ease; }
.acordeon[open] .acordeon__mas { transform: rotate(45deg); }
.acordeon__contenido { border-top: 1px solid #d5d8dc; padding: 15px 20px; }
.acordeon__contenido ul { padding-left: 20px; }
.acordeon__contenido li { color: var(--texto-lista); }
.acordeon__contenido strong { color: var(--texto); }

/* bloque «¿Necesitas ayuda?» (pie de la portada y de contacto) */
.ayuda { background: var(--gris); color: #fff; }
.ayuda--azul { background: var(--azul) var(--fondo-ayuda) no-repeat 100% 100% / 1920px auto; }
.ayuda__logo { padding-bottom: 50px; }
.ayuda__logo img { width: 350px; }
.ayuda__rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: center; }
.ayuda__titulo { color: #fff; font-size: 40px; line-height: 50px; font-weight: 500; margin-bottom: 15px; }
.ayuda__tel { margin: 0; }
.ayuda__tel a { color: var(--dorado); }
.ayuda--azul .ayuda__tel a { color: #F29B1D; }
.ayuda__tel a:hover { color: #fff; }
.ayuda__etiqueta { color: #FFD896; margin-bottom: 10px; }
.ayuda p { color: #fff; margin: 0; }

/* ---------------------------------------------------------------- pie (footer_copy del original) */
.pie { background: var(--gris); color: #ccc; }
.pie__dentro { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 31px; padding-bottom: 32px; }
.pie__copy { margin: 0; }
.pie__copy a { color: var(--dorado); }
.pie__copy a:hover { color: #fff; }
.pie__arriba { color: #65666C; font-size: 20px; display: grid; place-items: center; width: 42px; height: 42px; }
.pie__arriba:hover { color: #fff; }

/* ---------------------------------------------------------------- botones flotantes (Quick Call Button y Joinchat) */
.flotante { position: fixed; bottom: 20px; z-index: 40; display: flex; align-items: center; color: #fff; }
.flotante--llamar { left: 20px; }
.flotante__circulo { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #21B346;
  box-shadow: 0 0 0 8px rgba(33, 179, 70, .18); animation: latido 2.2s ease-in-out infinite; }
.flotante__circulo .icono { width: 26px; height: 26px; }
.flotante__texto { margin-left: -22px; padding: 0 16px 0 34px; height: 50px; display: flex; align-items: center; background: #1b1b1b; border-radius: 25px;
  font-size: 13px; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; }
.flotante--llamar:hover { color: #fff; }
.flotante--llamar:hover .flotante__texto { background: #000; }
.flotante--wa { right: 20px; width: 60px; height: 60px; justify-content: center; border-radius: 50%; background: #25D366; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.flotante--wa .icono { width: 34px; height: 34px; }
.flotante--wa:hover { color: #fff; background: #1ebe5b; }
@keyframes latido { 0%, 100% { box-shadow: 0 0 0 6px rgba(33, 179, 70, .18); } 50% { box-shadow: 0 0 0 13px rgba(33, 179, 70, .08); } }
@media (prefers-reduced-motion: reduce) { .flotante__circulo { animation: none; } }
@media (max-width: 767px) { .flotante__texto { font-size: 12px; padding-right: 12px; } .flotante--wa { width: 54px; height: 54px; } }

/* ---------------------------------------------------------------- páginas interiores */
.subcab { background: var(--subcab); padding: 30px 0; text-align: center; }
.subcab__titulo { font-size: 30px; line-height: 35px; font-weight: 400; font-style: italic; letter-spacing: 1px; color: #444; margin: 0 0 10px; }
.migas { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; color: rgba(68, 68, 68, .6); }
.migas li + li::before { content: "›"; margin: 0 12px; }
.migas a { color: rgba(68, 68, 68, .6); }
.migas a:hover { color: var(--dorado); }

.articulo { padding: 40px 0 50px; }
.articulo__meta { color: #a8a8a8; margin-bottom: 25px; }
.articulo__meta a { color: var(--dorado); }
.articulo__destacada { margin: 0 0 40px; }
.articulo__destacada img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.articulo__cuerpo h2 { font-size: 32px; line-height: 1.25; margin: 35px 0 15px; }
.articulo__cuerpo h3 { font-size: 24px; line-height: 1.3; margin: 30px 0 12px; }
.articulo__cuerpo h4 { margin: 25px 0 10px; }
.articulo__cuerpo ul, .articulo__cuerpo ol { padding-left: 30px; }
.articulo__cuerpo li { color: var(--texto-lista); margin-bottom: 8px; }
.articulo__cuerpo figure { margin: 25px 0; }
.articulo__cuerpo img { margin: 25px 0; }
.articulo__cuerpo figure img { margin: 0; }
.articulo__cuerpo a { text-decoration: none; }
.articulo__compartir { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 18px 0; margin: 30px 0 0; border-top: 1px solid var(--borde); }
.articulo__compartir span { color: var(--titulo); font-weight: 500; }
.articulo__compartir a { color: #8a8a8a; }
.articulo__compartir a:hover { color: var(--dorado); }
.articulo__cta { margin: 20px 0 30px; padding: 26px 30px; background: var(--claro-servicios); border-left: 4px solid var(--dorado); border-radius: 4px; }
.articulo__cta-titulo { font-size: 20px; font-weight: 700; color: var(--titulo); margin-bottom: 8px; }
.articulo__cta-botones { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-nav a { display: block; padding: 16px 20px; border: 1px solid var(--borde); border-radius: 6px; color: var(--titulo); font-weight: 500; line-height: 1.4; }
.post-nav a:hover { border-color: var(--dorado); color: var(--dorado); }
.post-nav span { display: block; font-size: 13px; font-weight: 400; color: #a8a8a8; margin-bottom: 4px; }
.post-nav__sig { grid-column: 2; text-align: right; }
.relacionados { padding: 50px 0 70px; background: var(--claro-cifras); }
.relacionados__titulo { font-size: 28px; line-height: 1.2; font-weight: 500; margin-bottom: 30px; }

.listado { padding-top: 50px; padding-bottom: 70px; }
.posts-rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-tarjeta { display: flex; flex-direction: column; background: #fff; border: 1px solid #ececec; }
.post-tarjeta__foto img { width: 100%; aspect-ratio: 960 / 667; object-fit: cover; }
.post-tarjeta__texto { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-tarjeta__meta { color: #a8a8a8; font-size: 14px; margin-bottom: 8px; }
.post-tarjeta__meta a { color: #a8a8a8; }
.post-tarjeta__meta a:hover { color: var(--dorado); }
.post-tarjeta__titulo { font-size: 20px; line-height: 28px; font-weight: 500; margin-bottom: 12px; }
.post-tarjeta__titulo a { color: var(--titulo); }
.post-tarjeta__titulo a:hover { color: var(--dorado); }
.post-tarjeta__extracto { flex: 1; }
.post-tarjeta__mas { font-weight: 500; }

/* contacto */
.contacto__rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.formulario { display: grid; gap: 10px; }
.campo { display: grid; gap: 4px; }
.campo span { font-size: 15px; color: var(--texto); }
.campo input, .campo textarea { width: 100%; font: inherit; font-size: 15px; line-height: 1.4; color: #1f2124; background: #fff; border: 1px solid #69727D;
  border-radius: 3px; padding: 6px 14px; }
.campo input:focus, .campo textarea:focus { outline: 2px solid var(--dorado); outline-offset: 0; border-color: var(--dorado); }
.campo [aria-invalid="true"], .casilla [aria-invalid="true"] { border-color: #c0392b; outline-color: #c0392b; }
.casilla { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.casilla input { margin-top: 4px; }
.formulario .boton { min-height: 40px; margin-top: 6px; font-size: 15px; font-weight: 400; }
.formulario__estado:empty { display: none; }
.formulario__estado { padding: 12px 16px; border-radius: 4px; background: #eef7ee; line-height: 1.5; }
.formulario__estado p { margin: 0 0 6px; }
.formulario__estado p:last-child { margin: 0; }
.formulario__estado.es-error { background: #fdf1e3; border-left: 4px solid var(--dorado-hover); }
.mapa { position: relative; height: 300px; margin-top: 30px; background: #e9ecef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d6dade' stroke-width='1'/%3E%3C/svg%3E"); display: grid; place-items: center; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa__cargar { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 25px; background: var(--dorado); color: #fff; cursor: pointer; }
.mapa__cargar:hover { background: var(--dorado-hover); }
.mapa__cargar .icono { width: 20px; height: 20px; }

/* legales */
.legal h4 { margin-top: 25px; }
.pendiente { background: #fff3a0; border-left: 4px solid #e0b400; padding: 12px 16px; color: #5a4a00; font-weight: 500; }

/* 404 */
.error-404 { text-align: center; padding: 100px 0; }
.error-404__codigo { font-size: 120px; line-height: 1; font-weight: 700; color: var(--dorado); margin-bottom: 10px; }
.error-404 h1 { font-size: 36px; line-height: 1.2; }
.error-404__botones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------------------------------------------------------------- aparición al entrar en pantalla (fadeIn de Elementor) */
.js [data-anim] { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.js [data-anim="izq"] { transform: translateX(-40px); }
.js [data-anim="der"] { transform: translateX(40px); }
.js [data-anim].visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-anim] { opacity: 1; transform: none; transition: none; } }
main { overflow-x: clip; }  /* las animaciones laterales no pueden crear scroll horizontal */
@media (max-width: 767px) { .js [data-anim="izq"], .js [data-anim="der"] { transform: translateY(30px); } }

/* ---------------------------------------------------------------- tableta y móvil */
@media (max-width: 1139px) {
  h2, .titulo-grande { font-size: 56px; line-height: 58px; }
  .posts-rejilla { grid-template-columns: repeat(2, 1fr); }
  .marcas__pista li { flex-basis: 33.333%; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  h2, .titulo-grande { font-size: 42px; line-height: 42px; }
  h3, .marcas__titulo { font-size: 28px; line-height: 32px; }
  .seccion { padding: 60px 0; }
  .nosotros { padding: 60px 0; }
  .nosotros__rejilla, .servicios__rejilla--3, .servicios__rejilla--2, .cifras, .ayuda__rejilla, .contacto__rejilla, .posts-rejilla, .post-nav { grid-template-columns: 1fr; }
  .nosotros__rejilla { gap: 40px; }
  .servicios__rejilla--3 { padding-top: 30px; }
  .galeria__carrusel { width: 100%; margin-top: 40px; }
  .marcas__pista li { flex-basis: 50%; min-height: 140px; }
  .marcas__pista img { width: 100%; height: 130px; }
  .cifra__numero { font-size: 70px; line-height: 70px; }
  .cifras { padding-bottom: 60px; gap: 40px; }
  .opiniones { padding: 50px 20px 60px; margin: 0 -20px -150px; }
  .opinion__cita { padding: 20px 10px 10px 30px; }
  .acordeon-seccion { padding-top: 210px; }
  .ayuda__logo { text-align: center; }
  .ayuda__logo img { margin: 0 auto; width: 280px; }
  .ayuda__titulo { font-size: 32px; line-height: 40px; }
  .ayuda--azul { background-size: 1100px auto; }
  .post-nav__sig { grid-column: auto; }
  .pie__dentro { flex-direction: column; text-align: center; padding-bottom: 100px; }
  .subcab__titulo { font-size: 26px; line-height: 32px; }
  .articulo__cuerpo h2 { font-size: 26px; }
  .articulo__cuerpo h3 { font-size: 21px; }
}
