/* ==========================================================================
   Alma Guatapé · tema
   Verde de la represa, franja de zócalos, morado del logo y amarillo para destacar.
   ========================================================================== */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
	--lago: #0f3b3c;
	--lago-2: #1d5f5f;
	--lago-oscuro: #0b2c2d;
	--niebla: #f3f6f4;
	--niebla-2: #e6eeea;
	--linea: #dfe7e3;
	--tinta: #142221;
	--gris: #4d5f5c;
	--morado: #6a3d8f;
	--amarillo: #f2a93b;
	--rojo: #e5483f;
	--azul: #2a8fd6;
	--verde: #3bb273;
	--rosa: #e45fa1;
	--display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
	--texto: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--ancho: 1240px;
	--cabecera: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cabecera) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--niebla); color: var(--tinta); font: 400 17px/1.55 var(--texto); -webkit-font-smoothing: antialiased; }
body.pagelayer-body, body { font-family: var(--texto) !important; }
img { max-width: 100%; height: auto; }
a { color: var(--lago); }
a:hover { color: var(--lago-2); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.05; color: var(--tinta); text-wrap: balance; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 2px; }
.alma-saltar { position: absolute; left: -9999px; top: 8px; z-index: 100000; background: #fff; padding: 10px 14px; border-radius: 8px; }
.alma-saltar:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- Encabezado ---------- */
.alma-cabecera { position: sticky; top: 0; z-index: 9000; background: var(--lago); color: #fff; transition: box-shadow .2s ease; }
.admin-bar .alma-cabecera { top: 32px; }
.alma-cabecera.is-scroll { box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.alma-cabecera__in { max-width: var(--ancho); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 24px; min-height: var(--cabecera); }
.alma-cabecera__logo { display: flex; flex: none; }
.alma-cabecera .alma-logo { width: 76px; height: 76px; display: block; transition: width .2s ease, height .2s ease; }
.alma-cabecera.is-scroll .alma-logo { width: 58px; height: 58px; }
.alma-nav { flex: 1; display: flex; justify-content: center; }
.alma-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.alma-menu a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.alma-menu a:hover, .alma-menu .current-menu-item > a { color: #fff; border-bottom-color: var(--amarillo); }
.alma-cabecera__acciones { display: flex; align-items: center; gap: 12px; flex: none; }
.alma-cabecera .alma-carrito-btn { color: #fff; border-color: rgba(255,255,255,.45); }
.alma-cabecera__cta { background: var(--amarillo); color: var(--lago) !important; text-decoration: none; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 999px; }
.alma-cabecera__cta:hover { background: #f6bb5c; }
.alma-hamburguesa { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.alma-hamburguesa span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.alma-hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.alma-hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.alma-hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Franja de zócalos ---------- */
.alma-zocalo { display: flex; height: 12px; }
.alma-zocalo i { flex: 1; }
.alma-zocalo i:nth-child(1) { background: var(--rojo); }
.alma-zocalo i:nth-child(2) { background: var(--amarillo); }
.alma-zocalo i:nth-child(3) { background: var(--azul); }
.alma-zocalo i:nth-child(4) { background: var(--verde); }
.alma-zocalo i:nth-child(5) { background: var(--rosa); }
.alma-zocalo i:nth-child(6) { background: var(--morado); }

/* ---------- Pie ---------- */
.alma-pie { background: var(--lago-oscuro); color: rgba(255,255,255,.82); font-size: 15px; }
.alma-pie__in { max-width: var(--ancho); margin: 0 auto; padding: 48px 24px 28px; display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; }
.alma-pie__marca { display: flex; flex-direction: column; gap: 8px; }
.alma-pie__marca p { margin: 0; }
.alma-pie__marca .alma-logo { width: 88px; height: 88px; }
.alma-pie__rnt { font-size: 13px; opacity: .8; }
.alma-pie__col { display: flex; flex-direction: column; gap: 6px; }
.alma-pie__col strong { color: #fff; margin-bottom: 4px; }
.alma-pie a { color: rgba(255,255,255,.82); text-decoration: none; }
.alma-pie a:hover { color: #fff; text-decoration: underline; }
.alma-pie__redes { display: flex; gap: 14px; }
.alma-pie__legal { max-width: var(--ancho); margin: 0 auto; padding: 16px 24px 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; opacity: .7; }

/* ---------- Páginas normales ---------- */
.alma-pagina { max-width: 900px; margin: 0 auto; padding: 56px 24px 80px; }
.alma-pagina--ancha { max-width: var(--ancho); padding-top: 40px; }
.alma-pagina__titulo { font-size: clamp(34px, 5vw, 52px); margin: 0 0 24px; }
.alma-texto { font-size: 17px; }
.alma-texto h2 { font-size: 28px; margin: 36px 0 12px; }
.alma-texto table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; background: #fff; border-radius: 12px; overflow: hidden; }
.alma-texto th, .alma-texto td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.alma-texto th { background: var(--niebla-2); font-weight: 600; }
.alma-texto .wp-block-table { margin: 0; overflow-x: auto; }
.alma-texto ul { padding-left: 20px; }
.alma-texto li { margin-bottom: 6px; }

/* ==========================================================================
   Portada en Pagelayer (cada fila lleva la clase alma-sec + su sección)
   ========================================================================== */
.alma-pl { overflow-x: clip; }
.alma-pl .alma-sec { position: relative; padding: 96px 0; }
.alma-pl .alma-sec > .pagelayer-row-holder,
.alma-pl .pagelayer-inner_row > .pagelayer-row-holder {
	display: flex !important; flex-wrap: wrap; gap: 32px 48px; align-items: stretch;
}
.alma-pl .alma-sec > .pagelayer-row-holder { max-width: var(--ancho) !important; margin: 0 auto !important; padding: 0 24px; }
.alma-pl .pagelayer-col { width: auto !important; min-width: 0; float: none !important; }
.alma-pl .pagelayer-col-holder { padding: 0 !important; display: flex; flex-direction: column; gap: 18px; height: 100%; }
.alma-pl .pagelayer-col-holder > div:not(:last-child) { margin-bottom: 0 !important; }
.alma-pl .pagelayer-col-12 { flex: 1 1 100%; }
.alma-pl .pagelayer-col-8 { flex: 2 1 520px; }
.alma-pl .pagelayer-col-7 { flex: 7 1 460px; }
.alma-pl .pagelayer-col-6 { flex: 1 1 420px; }
.alma-pl .pagelayer-col-5 { flex: 5 1 360px; }
.alma-pl .pagelayer-col-4 { flex: 1 1 280px; }
.alma-pl .pagelayer-col-3 { flex: 1 1 200px; }

/* Tipografía de los elementos */
.alma-pl .alma-titulo .pagelayer-heading-holder,
.alma-pl .alma-titulo .pagelayer-heading-holder * { color: inherit !important; margin: 0; }
.alma-pl .alma-titulo h1 { font: 800 clamp(44px, 6.2vw, 80px)/0.98 var(--display) !important; letter-spacing: -.035em; color: inherit; }
.alma-pl .alma-titulo h2 { font: 700 clamp(34px, 4.4vw, 52px)/1.02 var(--display) !important; letter-spacing: -.025em; }
.alma-pl .alma-titulo h3 { font: 700 26px/1.1 var(--display) !important; }
.alma-pl .alma-sec { color: var(--tinta); }
.alma-pl .alma-txt p { margin: 0; }
.alma-pl .alma-txt { font-size: 17px; }
.alma-pl .alma-ceja p { font: 600 13px/1.2 var(--texto); letter-spacing: .16em; text-transform: uppercase; color: var(--lago-2); }
.alma-pl .alma-txt--grande { font-size: 20px; }
.alma-pl .alma-txt--gris { color: var(--gris); }
.alma-pl .alma-txt--suave { color: rgba(255,255,255,.82); }
.alma-pl .alma-foto img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.alma-pl .alma-foto .pagelayer-image-holder { height: 100%; }
.alma-pl .alma-encabezado > .pagelayer-row-holder { align-items: flex-end; }
.alma-pl .alma-encabezado .pagelayer-col-4 .alma-txt { max-width: 360px; }

/* Botones de Pagelayer */
.alma-pl .alma-boton .pagelayer-btn-holder { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px !important; border-radius: 999px !important; font: 700 17px/1.2 var(--texto) !important; text-decoration: none !important; border: 0; transition: transform .15s ease; }
.alma-pl .alma-boton .pagelayer-btn-holder:hover { transform: translateY(-1px); }
.alma-pl .alma-boton--lago .pagelayer-btn-holder { background: var(--lago) !important; color: #fff !important; }
.alma-pl .alma-boton--blanco .pagelayer-btn-holder { background: #fff !important; color: var(--lago) !important; }
.alma-pl .alma-boton--borde .pagelayer-btn-holder { background: #fff !important; color: var(--lago) !important; border: 1.5px solid var(--lago) !important; }

/* 1 · Portada */
.alma-pl .alma-hero { background: var(--lago); color: #fff; padding: 36px 0 0; }
.alma-pl .alma-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; z-index: 2; background: linear-gradient(90deg, var(--rojo) 0 16.66%, var(--amarillo) 16.66% 33.33%, var(--azul) 33.33% 50%, var(--verde) 50% 66.66%, var(--rosa) 66.66% 83.33%, var(--morado) 83.33%); }
.alma-pl .alma-hero > .pagelayer-row-holder { align-items: flex-end; }
.alma-pl .alma-hero__texto > .pagelayer-col-holder { justify-content: center; padding-bottom: 64px !important; gap: 22px; }
.alma-pl .alma-hero .alma-ceja p { color: var(--amarillo); }
.alma-pl .alma-hero .alma-txt--grande { color: rgba(255,255,255,.86); max-width: 30em; }
.alma-pl .alma-hero .alma-pieza { margin-top: 6px; }
.alma-pl .alma-foto--hero img { height: 600px; border-radius: 24px 24px 0 0; }

/* 2 · Datos */
.alma-pl .alma-datos { background: #fff; padding: 0; border-bottom: 1px solid var(--linea); }
.alma-pl .alma-datos > .pagelayer-row-holder { gap: 0; padding-top: 12px; }
.alma-pl .alma-dato > .pagelayer-col-holder { padding: 26px 20px !important; gap: 2px; border-right: 1px solid var(--linea); }
.alma-pl .alma-dato:last-child > .pagelayer-col-holder { border-right: 0; }
.alma-pl .alma-dato__n h3 { font: 700 30px/1.1 var(--display) !important; color: var(--lago); }
.alma-pl .alma-dato__t p { font-size: 14px; color: var(--gris); }

/* 3 · Planes */
.alma-pl .alma-planes-sec > .pagelayer-row-holder > .pagelayer-col > .pagelayer-col-holder { gap: 40px; }
.alma-pl .alma-pasos > .pagelayer-row-holder { gap: 16px; }
.alma-pl .alma-paso, .alma-pl .alma-paso .pagelayer-text-holder { height: 100%; }
.alma-pl .alma-paso p { position: relative; background: var(--niebla-2); border-radius: 14px; padding: 18px 20px 18px 70px; height: 100%; min-height: 76px; display: flex; flex-direction: column; justify-content: center; }
.alma-pl .alma-paso p strong { display: inline; }
.alma-pl .alma-paso__n { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--lago); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* 4 · La finca (oscura) */
.alma-pl .alma-sec--oscura { background: var(--lago); color: #fff; }
.alma-pl .alma-sec--oscura .alma-ceja p { color: var(--amarillo); }
.alma-pl .alma-finca > .pagelayer-row-holder { align-items: center; gap: 56px; }
.alma-pl .alma-mosaico > .pagelayer-row-holder { gap: 14px; flex-wrap: nowrap; }
.alma-pl .alma-mosaico .pagelayer-col-7 { flex: 3 1 0; }
.alma-pl .alma-mosaico .pagelayer-col-5 { flex: 2 1 0; }
.alma-pl .alma-mosaico .pagelayer-col-holder { gap: 14px; }
.alma-pl .alma-foto--alta img { height: 460px; border-radius: 18px; }
.alma-pl .alma-foto--media img { height: 223px; border-radius: 18px; }
.alma-pl .alma-finca .pagelayer-col-6:last-child > .pagelayer-col-holder { gap: 22px; }
.alma-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.alma-lista li { display: flex; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.18); }
.alma-lista li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.alma-lista i { flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 3px; }
.alma-c1 { background: var(--amarillo); } .alma-c2 { background: var(--rosa); } .alma-c3 { background: var(--azul); } .alma-c4 { background: var(--verde); } .alma-c5 { background: #c9a3f0; }

/* 5 · La casa por dentro */
.alma-pl .alma-casa { padding-bottom: 0; }
.alma-pl .alma-casa > .pagelayer-row-holder > .pagelayer-col > .pagelayer-col-holder { gap: 32px; }
.alma-pl .alma-pisos > .pagelayer-row-holder { gap: 20px; }
.alma-pl .alma-piso { background: #fff; border: 1px solid var(--linea); border-radius: 20px; padding: 28px; height: 100%; }
.alma-pl .alma-piso h3 { font: 700 26px/1.1 var(--display); margin: 14px 0 12px; letter-spacing: -.02em; }
.alma-piso__n { display: flex; align-items: center; gap: 12px; font-size: 13px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); background: none !important; }
.alma-piso__n b { width: 44px; height: 44px; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center; font: 800 22px var(--display); letter-spacing: 0; }
.alma-bg-lago b { background: var(--lago); } .alma-bg-morado b { background: var(--morado); } .alma-bg-azul b { background: var(--azul); }
.alma-piso__lista { list-style: none; margin: 0; padding: 0; }
.alma-piso__lista li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #eef2f0; }
.alma-piso__lista li span:last-child { color: var(--gris); text-align: right; }

/* 6 · Fotos */
.alma-pl .alma-fotos > .pagelayer-row-holder > .pagelayer-col > .pagelayer-col-holder { gap: 14px; }
.alma-pl .alma-fotos .alma-titulo { margin-bottom: 18px; }
.alma-pl .alma-galeria > .pagelayer-row-holder { gap: 12px; }
.alma-pl .alma-galeria--a .alma-foto img { height: 400px; border-radius: 14px; }
.alma-pl .alma-galeria--b .alma-foto img { height: 260px; border-radius: 14px; }
.alma-pl .alma-galeria .pagelayer-col-4 { flex: 1 1 240px; }
.alma-video { position: relative; height: 400px; border-radius: 14px; overflow: hidden; background: var(--lago); }
.alma-video video, .alma-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.alma-video__txt { position: absolute; left: 14px; bottom: 14px; background: rgba(15,59,60,.78); color: #fff; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(4px); }

/* 7 · Cómo llegar */
.alma-pl .alma-llegar { padding-top: 0; }
.alma-pl .alma-llegar > .pagelayer-row-holder { align-items: center; }
.alma-distancias { margin: 0; display: flex; flex-direction: column; }
.alma-distancias div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.alma-distancias dd { margin: 0; font-weight: 700; color: var(--lago); text-align: right; }
.alma-pl .alma-foto--llegar img { height: 440px; }

/* 8 · Cierre */
.alma-pl .alma-cta { padding-top: 0; }
.alma-pl .alma-cta > .pagelayer-row-holder { background: var(--amarillo); color: var(--lago); border-radius: 28px; padding: 56px; max-width: calc(var(--ancho) - 48px) !important; align-items: center; }
.alma-pl .alma-cta .alma-titulo h2 { font-weight: 800 !important; }
.alma-pl .alma-cta .alma-txt { font-size: 18px; }
.alma-pl .alma-cta__botones > .pagelayer-col-holder { flex-direction: row; flex-wrap: wrap; gap: 12px; justify-content: flex-end; align-items: center; }

/* ---------- Plugin dentro del tema ---------- */
.alma-hero .alma-buscador { box-shadow: none; }

/* ==========================================================================
   Tableta y celular
   ========================================================================== */
@media (max-width: 1080px) {
	.alma-cabecera__in { gap: 14px; }
	.alma-menu { gap: 6px 18px; }
}
@media (max-width: 900px) {
	:root { --cabecera: 72px; }
	.alma-cabecera .alma-logo, .alma-cabecera.is-scroll .alma-logo { width: 56px; height: 56px; }
	.alma-hamburguesa { display: flex; }
	.alma-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--lago); padding: 8px 24px 20px; display: none; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 16px 24px rgba(0,0,0,.2); }
	.alma-nav.is-abierto { display: block; }
	.alma-menu { flex-direction: column; gap: 0; }
	.alma-menu a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.1); }
	.alma-cabecera__acciones { margin-left: auto; }
	.alma-cabecera__cta { padding: 10px 16px; }
	.alma-pl .alma-sec { padding: 64px 0; }
	.alma-pl .alma-hero { padding-top: 12px; }
	.alma-pl .alma-hero__texto > .pagelayer-col-holder { padding-bottom: 8px !important; }
	.alma-pl .alma-foto--hero img { height: 300px; }
	.alma-pl .alma-dato > .pagelayer-col-holder { border-right: 0; border-bottom: 1px solid var(--linea); padding: 18px 8px !important; }
	.alma-pl .alma-datos .pagelayer-col-3 { flex: 1 1 45%; }
	.alma-pl .alma-foto--alta img { height: 320px; }
	.alma-pl .alma-foto--media img { height: 153px; }
	.alma-pl .alma-galeria--a .alma-foto img, .alma-pl .alma-galeria--b .alma-foto img { height: 230px; }
	.alma-video { height: 420px; }
	.alma-pl .alma-foto--llegar img { height: 280px; }
	.alma-pl .alma-cta > .pagelayer-row-holder { padding: 32px 24px; margin: 0 16px !important; }
	.alma-pl .alma-cta__botones > .pagelayer-col-holder { justify-content: flex-start; }
	.alma-pie__in { padding-top: 36px; }
}
@media (max-width: 520px) {
	.alma-cabecera__in { padding: 8px 16px; }
	.alma-cabecera__cta { display: none; }
	.alma-pl .alma-sec > .pagelayer-row-holder { padding: 0 16px; }
	.alma-pl .alma-txt--grande { font-size: 18px; }
	.alma-pl .alma-mosaico > .pagelayer-row-holder { flex-wrap: wrap; }
	.alma-pl .alma-mosaico .pagelayer-col-7, .alma-pl .alma-mosaico .pagelayer-col-5 { flex: 1 1 100%; }
	.alma-pl .alma-piso { padding: 22px; }
	.alma-pl .alma-boton, .alma-pl .alma-boton .pagelayer-btn-holder { width: 100%; }
}
@media (max-width: 782px) { .admin-bar .alma-cabecera { top: 46px; } }

/* El texto junto al botón de WhatsApp solo en la portada, para no tapar formularios. */
body:not(.alma-portada) .alma-wa-flotante__texto { display: none; }
