/* =============================================================================
   PÁGINA DE VENTA «Publicá tu alojamiento» — copia de inc/publicar.php de guiadecabanias.com
   (24/10/2026). inc/front/publicar.php. Paleta del portal: --fs-color-primary.
   ========================================================================== */
.gpub {
	--gp-acento: var(--fs-color-primary, #329ac1);
	--gp-oscuro: color-mix(in srgb, var(--gp-acento) 75%, #000);
	--gp-suave: color-mix(in srgb, var(--gp-acento) 10%, #fff);
	--gp-texto: color-mix(in srgb, var(--gp-acento) 70%, #000);
	--gp-borde-suave: color-mix(in srgb, var(--gp-acento) 40%, #fff);
	color: #2b2a27;
}
/* Sin el banner de página del portal: el hero es la cabecera */
body.mdpd-publicar .mdpd-page-banner { display: none; }
/* Ancho completo: la página viene dentro del contenedor de Flatsome */
body.mdpd-publicar #content.page-wrapper, body.mdpd-publicar .page-wrapper { padding-top: 0; }
body.mdpd-publicar .row-main > .large-12.col, body.mdpd-publicar .page-inner > .col { padding: 0; }
.gpub { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); overflow-x: hidden; }
.gpub .mdpd-icon, .gpub svg.mdpd-icon { width: 1em; height: 1em; vertical-align: -.15em; }

/* Base «gh» (portada de la guía) */
.gh-hero { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--gp-oscuro) center / cover no-repeat; }
.gh-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.6)); }
.gh-hero__in { position: relative; z-index: 1; max-width: 980px; padding: 60px 16px; }
.gh-hero h1 { color: #fff; font-size: clamp(1.8em, 4.5vw, 2.8em); line-height: 1.15; margin: 0 0 14px; }
.gh-hero__sub { color: #fff; font-size: 1.15em; max-width: 760px; margin: 0 auto 22px; line-height: 1.5; }
.gh-sec { max-width: 1180px; margin: 0 auto; padding: 48px 16px 8px; }
.gh-sec h2 { font-size: clamp(1.4em, 3vw, 1.9em); margin: 0 0 22px; color: #2b2a27; }
.gh-cta__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gp-acento); color: #fff !important; font-weight: 700; padding: 14px 22px; border-radius: 999px; text-decoration: none; font-size: 1.05em; border: 0; line-height: 1; text-transform: none; letter-spacing: 0; }
.gh-cta__btn:hover { filter: brightness(.93); color: #fff; }
.gh-cta { max-width: 1180px; margin: 48px auto 0; padding: 36px 28px; border-radius: 20px; background: var(--gp-oscuro); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gh-cta__t { margin: 0 0 6px; font-size: 1.5em; font-weight: 800; color: #fff; }
.gh-cta__d { margin: 0; opacity: .92; }
.gh-cta .gh-cta__btn { background: #fff; color: var(--gp-texto) !important; }
.gh-dir__reg { border: 1px solid #e3ddd0; border-radius: 12px; padding: 14px 18px; margin: 0 0 10px; background: #fff; }
.gh-dir__reg summary { cursor: pointer; font-weight: 700; }

/* La página de venta */
.gpub-hero .gh-hero__in { max-width: 980px; }
.gpub-kicker { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.45); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .9em; margin-bottom: 14px; backdrop-filter: blur(4px); }
.gpub-hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.gpub-hero__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 0; }
.gpub-btn-wa-grande { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff !important; font-weight: 700; padding: 14px 22px; border-radius: 999px; text-decoration: none; font-size: 1.05em; }
.gpub-btn-wa-grande:hover { background: #1fb858; }
.gpub-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 1180px; margin: -34px auto 0; padding: 0 16px; position: relative; z-index: 2; gap: 12px; }
.gpub-nums div { background: #fff; border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.1); padding: 16px 14px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.gpub-nums b { font-size: 1.6em; color: var(--gp-oscuro); line-height: 1.1; }
.gpub-nums span { font-size: .88em; color: #5f5c55; }
.gpub h2 { text-align: center; }
.gpub-nota { color: #5f5c55; line-height: 1.6; }
.gpub-nota--centro { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.gpub-ficha__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.gpub-ficha__col { display: flex; flex-direction: column; gap: 12px; }
.gpub-ficha__tag { align-self: flex-start; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: .9em; display: inline-flex; align-items: center; gap: 6px; }
.gpub-ficha__tag--si { background: var(--gp-acento); color: #fff; }
.gpub-ficha__tag--no { background: #e9e5dc; color: #5f5c55; }
.gpub-card { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12); border: 2px solid var(--gp-acento); }
.gpub-card__img { aspect-ratio: 16/9; background: #ccc center / cover no-repeat; position: relative; }
.gpub-card__img span { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: .8em; padding: 3px 8px; border-radius: 999px; }
.gpub-card__cuerpo { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.gpub-card__cuerpo b { font-size: 1.15em; }
.gpub-card__cuerpo small { color: #5f5c55; }
.gpub-card__btns { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.gpub-btn-wa, .gpub-btn-mail, .gpub-btn-web { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: .92em; }
.gpub-btn-wa { background: #25D366; color: #fff; }
.gpub-btn-mail { background: var(--gp-acento); color: #fff; }
.gpub-btn-web { background: #f4f2ec; color: #3d3b36; }
.gpub-fila { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 10px; padding: 12px 14px; border: 1px solid #e3ddd0; border-radius: 10px; background: #fff; font-size: .95em; }
.gpub-fila--gris { opacity: .55; }
.gpub-fila__n { font-weight: 600; }
.gpub-fila__d, .gpub-fila__t { color: #5f5c55; }
.gpub-ficha__pts { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; }
.gpub-ficha__pts li { padding-left: 26px; position: relative; }
.gpub-ficha__pts li::before { content: "\2713"; position: absolute; left: 0; color: #2e7d32; font-weight: 800; }
.gpub-ficha__pts--no li::before { content: "\2715"; color: #b3261e; }
.gpub-recibis__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gpub-recibis__grid div { background: #fff; border: 1px solid #e3ddd0; border-radius: 16px; padding: 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.gpub-recibis__grid > div > .mdpd-icon, .gpub-recibis__grid > div > svg, .gpub-recibis__grid > div > i { font-size: 1.8em; width: 1em; height: 1em; color: var(--gp-acento); }
.gpub-recibis__grid b { font-size: 1.05em; }
.gpub-recibis__grid p { margin: 0; color: #5f5c55; line-height: 1.5; font-size: .95em; }
.gpub-planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.gpub-plan { border: 1px solid #e3ddd0; border-radius: 18px; overflow: hidden; position: relative; display: flex; flex-direction: column; background: #fff; transition: transform .15s, box-shadow .15s; }
.gpub-plan:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.gpub-plan--top { border: 2px solid var(--gp-acento); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.gpub-plan__tag { position: absolute; top: 12px; right: 12px; background: #fff; color: var(--gp-texto); font-size: .78em; font-weight: 800; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--gp-acento); z-index: 1; }
.gpub-plan__cab { background: var(--pc); color: #fff; padding: 22px 20px 18px; }
.gpub-plan__cab > .mdpd-icon, .gpub-plan__cab > svg { font-size: 1.7em; width: 1em; height: 1em; opacity: .95; }
.gpub-plan__cab h3 { margin: 8px 0 4px; color: #fff; font-size: 1.3em; }
.gpub-plan__cab p { margin: 0; opacity: .95; font-size: .92em; line-height: 1.4; }
.gpub-plan__precio { font-size: 2em; font-weight: 800; margin: 18px 20px 6px; }
.gpub-plan__precio small { font-size: .45em; font-weight: 500; color: #5f5c55; }
.gpub-plan__anual { margin: 0 20px 10px; color: #2e7d32; font-size: .95em; }
.gpub-plan ul { list-style: none; padding: 0 20px; margin: 0 0 18px; line-height: 1.6; flex: 1; }
.gpub-plan li .mdpd-icon, .gpub-plan li svg { color: #2e7d32; margin-right: 4px; }
.gpub-plan__btn { margin: 0 20px 20px; text-align: center; }
.gpub-mail { max-width: 660px; margin: 0 auto 12px; border: 1px solid #e3ddd0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.gpub-mail__cab { background: #f4f2ec; padding: 12px 16px; font-size: .92em; display: flex; flex-direction: column; gap: 3px; }
.gpub-mail__de { color: #5f5c55; }
.gpub-mail__tabla { width: 100%; border-collapse: collapse; margin: 0; }
.gpub-mail__tabla th { text-align: left; width: 120px; color: #5f5c55; font-weight: 600; padding: 9px 16px; border-top: 1px solid #f0ece3; }
.gpub-mail__tabla td { padding: 9px 16px; border-top: 1px solid #f0ece3; }
.gpub-mail__btns { display: flex; gap: 10px; padding: 16px; flex-wrap: wrap; }
.gpub-f__caja { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid #e3ddd0; border-radius: 20px; padding: 28px 28px 22px; box-shadow: 0 10px 36px rgba(0,0,0,.08); }
.gpub-f__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.gpub-f label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.gpub-f input[type=text], .gpub-f input[type=tel], .gpub-f input[type=email], .gpub-f textarea { border: 1px solid #d9d3c6; border-radius: 10px; padding: 11px 12px; font-weight: 400; box-shadow: none; margin: 0; }
.gpub-f__planes { border: 0; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gpub-f__planes legend { font-weight: 700; margin-bottom: 8px; text-transform: none; letter-spacing: 0; font-size: 1em; }
.gpub-f .gpub-f__plan { flex-direction: row; align-items: center; gap: 12px; font-weight: 500; border: 1px solid #d9d3c6; border-radius: 12px; padding: 12px 14px; cursor: pointer; margin: 0; }
.gpub-f__plan:has(input:checked) { border-color: var(--gp-acento); background: var(--gp-suave); }
.gpub-f .gpub-f__plan input { margin: 0; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--gp-acento); }
.gpub-f__plan span { display: flex; flex-direction: column; font-size: .92em; text-align: left; }
.gpub-f__plan em { font-style: normal; color: #5f5c55; font-size: .9em; white-space: nowrap; }
.gpub-f__periodo { grid-template-columns: 1fr 1fr; }
.gpub-f__periodo .gpub-f__plan em { white-space: normal; }
.gpub-f__msg { margin-bottom: 14px; }
.gpub-f__aloj { background: #f4f2ec; border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; color: #3d3b36; }
.gpub-f__aloj .mdpd-icon { color: var(--gp-acento); margin-right: 4px; }
.gpub-f__btn { width: 100%; text-align: center; font-size: 1.05em; }
.gpub-f__pie { text-align: center; color: #8a8a8a; font-size: .88em; margin: 12px 0 0; }
.gpub-hp { position: absolute; left: -9999px; }
.gpub-ok { background: #f1f8ee; border: 1px solid #bfdcb0; border-radius: 12px; padding: 16px; font-size: 1.05em; }
.gpub-ok .mdpd-icon { color: #2e7d32; }
.gpub-err { background: #fff1f0; border: 1px solid #f3c2bd; border-radius: 12px; padding: 16px; }
.gpub-wa-link { font-weight: 700; color: #1a8a48; }
.gpub-faq { max-width: 860px; }
.gpub-faq details p { margin: 8px 0 0; line-height: 1.6; }
.gpub-pasos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gpub-pasos__grid div { position: relative; background: #fff; border: 1px solid #e3ddd0; border-radius: 16px; padding: 26px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.gpub-paso__n { position: absolute; top: -14px; left: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--gp-oscuro); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.gpub-pasos__grid > div > .mdpd-icon, .gpub-pasos__grid > div > svg, .gpub-pasos__grid > div > i { font-size: 1.9em; width: 1em; height: 1em; color: var(--gp-acento); }
.gpub-pasos__grid b { font-size: 1.08em; }
.gpub-pasos__grid p { margin: 0; color: #5f5c55; line-height: 1.5; font-size: .95em; }
.gpub-cta-final { margin-bottom: 0; }
@media (max-width: 860px) {
	.gpub-pasos__grid, .gpub-f__periodo { grid-template-columns: 1fr; }
	.gpub-nums { grid-template-columns: 1fr 1fr; }
	.gpub-ficha__grid, .gpub-recibis__grid, .gpub-planes, .gpub-f__grid, .gpub-f__planes { grid-template-columns: 1fr; }
	.gpub-f__caja { padding: 20px 16px; }
	.gpub-fila { grid-template-columns: 1fr; }
	.gh-hero { min-height: 440px; }
	.gh-cta { margin: 36px 16px 0; }
}
