/* Portada (estructura tipo "Jadoo" con los colores de LS Travel). Solo se carga en la portada. */
.home { --hm-soft: #fff4ee; --hm-line: #edf0f4; --hm-shadow: 0 18px 50px rgba(15, 42, 74, .08); }
.hm-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hm-section { padding: 88px 0 0; }
.hm-section:last-of-type { padding-bottom: 96px; }
.home .hm-section h2, .hm-dest-row strong, .hm-float-card strong {
	font-family: "Volkhov", Georgia, "Times New Roman", serif;
	color: var(--navy);
}

/* Títulos de sección */
.hm-head { text-align: center; margin-bottom: 48px; }
.hm-kicker { margin: 0 0 10px; color: var(--text-muted); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hm-left { text-align: left; }
.hm-section h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; margin: 0; }
.hm-h2-left { margin-bottom: 36px !important; }
.hm-center { text-align: center; margin: 40px 0 0; }

/* Servicios */
.hm-servicios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hm-serv {
	position: relative; text-align: center; padding: 36px 24px 32px; border-radius: 28px; background: #fff;
	transition: box-shadow .25s ease, transform .25s ease;
}
.hm-serv:hover { box-shadow: var(--hm-shadow); transform: translateY(-4px); }
.hm-serv:hover::before {
	content: ""; position: absolute; left: -18px; bottom: -18px; width: 90px; height: 90px;
	background: var(--orange); border-radius: 26px 0 10px 0; z-index: -1;
}
.hm-serv-ico {
	display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; margin-bottom: 20px;
	background: var(--hm-soft); color: var(--orange);
}
.hm-serv h3 { margin: 0 0 10px; font-size: 18px; color: var(--navy); }
.hm-serv p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* Excursiones destacadas */
.hm-destinos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hm-dest { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--hm-shadow); transition: transform .25s ease; }
.hm-dest:hover { transform: translateY(-6px); }
.hm-dest-img { display: block; aspect-ratio: 4 / 3.2; background: linear-gradient(135deg, var(--navy), #1f4d7a); }
.hm-dest-img img { width: 100%; height: 100%; object-fit: cover; }
.hm-dest-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .55); }
.hm-dest-body { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 26px; }
.hm-dest-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hm-dest-row strong { font-size: 18px; line-height: 1.35; }
.hm-dest-row em { font-style: normal; font-weight: 700; color: var(--orange); white-space: nowrap; font-size: 14px; }
.hm-dest-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--text-muted); font-size: 13px; }
.hm-dest-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Reserva en 3 pasos */
.hm-pasos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hm-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.hm-pasos li { display: flex; gap: 20px; align-items: flex-start; }
.hm-pasos strong { display: block; color: var(--navy); font-size: 16px; margin-bottom: 4px; }
.hm-pasos p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; max-width: 360px; }
.hm-paso-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; }
.hm-c0 { background: #e0a100; }
.hm-c1 { background: var(--orange); }
.hm-c2 { background: var(--navy); }
.hm-float { position: relative; display: flex; justify-content: center; padding: 20px 0 60px; }
.hm-float::before {
	content: ""; position: absolute; width: 320px; height: 320px; top: 0; right: 10%;
	background: radial-gradient(circle, rgba(31, 77, 122, .18), transparent 70%); filter: blur(10px);
}
.hm-float-card {
	position: relative; display: flex; flex-direction: column; gap: 10px; width: min(370px, 100%);
	background: #fff; border-radius: 26px; padding: 20px 20px 24px; box-shadow: var(--hm-shadow);
}
.hm-float-img { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, var(--navy), #1f4d7a); margin-bottom: 8px; }
.hm-float-img img { width: 100%; height: 100%; object-fit: cover; }
.hm-float-card strong { font-size: 18px; line-height: 1.35; }
.hm-float-meta { color: var(--text-muted); font-size: 13.5px; }
.hm-float-icons { display: flex; gap: 10px; }
.hm-float-icons span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f3f5f8; color: var(--navy); }
.hm-float-foot { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; }
.hm-float-mini {
	position: absolute; right: 0; bottom: 30px; display: flex; gap: 12px; align-items: center;
	background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--hm-shadow);
}
.hm-float-mini-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hm-soft); color: var(--orange); }
.hm-float-mini span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 150px; }
.hm-float-mini small { color: var(--text-muted); font-size: 12px; }
.hm-float-mini strong { color: var(--navy); font-size: 14px; }
.hm-float-mini i { display: block; height: 5px; border-radius: 3px; background: #edf0f4; margin-top: 6px; }
.hm-float-mini b { display: block; width: 80%; height: 100%; border-radius: 3px; background: var(--orange); }

/* Testimonios */
.hm-testi-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hm-dots { display: flex; gap: 10px; }
.hm-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: #d5dbe3; cursor: pointer; }
.hm-dots button.is-on { background: var(--navy); }
.hm-dots button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.hm-testi { position: relative; }
.hm-quote { position: relative; margin: 0; background: #fff; border-radius: 18px; padding: 44px 36px 30px; box-shadow: var(--hm-shadow); }
.hm-avatar {
	position: absolute; top: -28px; left: -20px; display: grid; place-items: center; width: 64px; height: 64px;
	border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; font-size: 24px; border: 4px solid #fff;
}
.hm-quote p { margin: 0 0 22px; color: var(--text-muted); font-size: 16px; line-height: 1.8; }
.hm-quote footer strong { display: block; color: var(--navy); }
.hm-quote footer span { color: var(--text-muted); font-size: 13px; }

/* Tipos de excursión (en lugar de logos) */
.hm-tipos { padding: 72px 0 0; }
.hm-tipos .hm-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
.hm-tipos a {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px;
	background: #fff; border: 1px solid var(--hm-line); color: var(--navy); font-weight: 600;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.hm-tipos a:hover { border-color: var(--orange); box-shadow: var(--hm-shadow); }
.hm-tipos small { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 13px; background: var(--hm-soft); color: var(--orange); font-size: 12px; }

/* Llamado final */
.hm-cta {
	position: relative; text-align: center; padding: 64px 32px; border-radius: 120px 24px 24px 24px;
	background: linear-gradient(180deg, #f3f6fa, #eef2f8);
}
.hm-cta h2 { font-size: clamp(26px, 3vw, 36px) !important; margin-bottom: 12px !important; }
.hm-cta p { margin: 0 auto 30px; color: var(--text-muted); max-width: 520px; }
.hm-cta-ico {
	position: absolute; top: -22px; right: -14px; display: grid; place-items: center; width: 64px; height: 64px;
	border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--hm-shadow);
}

@media (max-width: 1000px) {
	.hm-servicios { grid-template-columns: repeat(2, 1fr); }
	.hm-destinos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
	.hm-pasos-grid, .hm-testi-grid { grid-template-columns: 1fr; gap: 40px; }
	.hm-section { padding-top: 64px; }
	.hm-quote { margin-top: 24px; }
	.hm-avatar { left: 16px; }
}
@media (max-width: 560px) {
	.hm-wrap { padding: 0 16px; }
	.hm-servicios, .hm-destinos { grid-template-columns: 1fr; }
	.hm-float-mini { position: static; margin-top: 16px; }
	.hm-float { flex-direction: column; align-items: center; }
	.hm-cta { border-radius: 60px 20px 20px 20px; padding: 48px 20px; }
	.hm-cta-ico { right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.hm-serv, .hm-dest, .hm-tipos a { transition: none; }
	.hm-serv:hover, .hm-dest:hover { transform: none; }
}

/* ===================== Cabecera de la portada ===================== */
.hx {
	--hx-rail: 76px;
	position: relative; display: grid; grid-template-columns: minmax(340px, 38%) 1fr var(--hx-rail);
	min-height: min(760px, 100vh); background: #fff; border-bottom: 1px solid var(--hm-line);
}
.admin-bar .hx { min-height: min(760px, calc(100vh - 32px)); }

/* Izquierda */
.hx-left { display: flex; flex-direction: column; padding: 34px clamp(24px, 4vw, 64px) 48px; }
.hx-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 19px; letter-spacing: .02em; min-height: 44px; }
.hx-logo .lstg-icon { color: var(--orange); }
.hx-logo .lstg-logo-img { height: var(--lstg-logo-alto, 130px); max-width: 100%; width: auto; display: block; }
@media (max-width: 960px) { .hx-logo .lstg-logo-img { height: calc(var(--lstg-logo-alto, 130px) * .62); } }
.hx-copy { margin: auto 0; padding: 40px 0; max-width: 470px; }
.hx h1 { margin: 0; text-transform: uppercase; line-height: 1.02; letter-spacing: .01em; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-weight: 800; }
.hx-t1 { display: block; color: var(--navy); font-size: clamp(34px, 4.4vw, 60px); }
.hx-t2 { display: block; color: var(--orange); font-size: clamp(24px, 2.9vw, 40px); margin-top: 6px; font-weight: 700; }
.hx-bar { display: block; width: 72px; height: 4px; background: var(--orange); border-radius: 2px; margin: 24px 0 22px; }
.hx-copy p { margin: 0 0 30px; color: var(--text-muted); font-size: 16.5px; line-height: 1.7; }
.hx-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-btn {
	display: inline-flex; align-items: center; justify-content: center; min-width: 170px; min-height: 48px; padding: 0 24px;
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 2px solid var(--navy);
	transition: background .2s ease, color .2s ease;
}
.hx-btn-fill { background: var(--navy); color: #fff; }
.hx-btn-fill:hover { background: var(--orange); border-color: var(--orange); }
.hx-btn-line { color: var(--navy); background: #fff; }
.hx-btn-line:hover { background: var(--navy); color: #fff; }

/* Foto */
.hx-photo { position: relative; overflow: hidden; background: var(--navy); }
.hx-slides, .hx-slide { position: absolute; inset: 0; }
.hx-slide { opacity: 0; overflow: hidden; transition: opacity .9s ease; }
.hx-slide.is-on { opacity: 1; }
.hx-slide img, .hx-slide svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-photo::after { content: ""; position: absolute; inset: 0 0 auto; height: 150px; background: linear-gradient(rgba(10, 30, 56, .6), transparent); pointer-events: none; }
.hx-top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding: 28px 28px 0; }
.hx-nav > ul { gap: 4px 22px; flex-wrap: wrap; justify-content: flex-end; }
.hx-nav > ul > li > a { color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hx-search { display: flex; align-items: center; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 999px; padding: 0 4px 0 14px; height: 36px; flex: none; }
.hx-search input { width: 120px; background: transparent; border: 0; color: #fff; font: inherit; font-size: 13px; outline: none; }
.hx-search input::placeholder { color: rgba(255, 255, 255, .75); }
.hx-search button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; background: none; color: #fff; cursor: pointer; }
.hx-search:focus-within { border-color: var(--orange); }
.hx-dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; }
.hx-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.hx-dots button.is-on { background: #fff; }

/* Franja derecha */
.hx-rail { display: flex; flex-direction: column; align-items: center; background: #fff; border-left: 1px solid var(--hm-line); }
.hx-burger { color: var(--navy) !important; width: 100%; min-height: 78px !important; border: 0 !important; border-bottom: 1px solid var(--hm-line) !important; background: #fff !important; cursor: pointer; }
.hx-burger:hover { color: var(--orange) !important; }
.hx-social { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; position: relative; width: 100%; }
.hx-social::before, .hx-social::after { content: ""; width: 1px; flex: 1; max-height: 160px; background: #cfd6df; }
.hx-social a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--navy); }
.hx-social a:hover { color: var(--orange); }
.hx-count { width: 100%; text-align: center; padding: 16px 0 20px; border-top: 1px solid var(--hm-line); color: var(--navy); font-size: 30px; font-weight: 300; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* Menú abierto con el botón de la franja (computador): panel a la derecha */
@media (min-width: 961px) {
	.hx-nav.is-open {
		position: fixed; top: 0; bottom: 0; right: var(--hx-rail); width: 320px; z-index: 99;
		flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 90px 30px 30px; background: var(--navy);
		box-shadow: -20px 0 40px rgba(0, 0, 0, .2); overflow-y: auto;
	}
	.admin-bar .hx-nav.is-open { top: 32px; }
	.hx-nav.is-open > ul { flex-direction: column; align-items: stretch; gap: 6px; }
	.hx-nav.is-open .mega-menu { position: static; display: grid; box-shadow: none; background: rgba(255, 255, 255, .06); color: #fff; width: auto; max-width: none; padding: 10px 14px; border-top: 0; border-radius: 8px; }
	.hx-nav.is-open .mega-menu a, .hx-nav.is-open .mega-col-title { color: #fff; border-color: rgba(255, 255, 255, .2); }
	.hx-nav.is-open ~ .hx-search { visibility: hidden; }
}

/* Tableta y celular: logo + botón arriba, texto y la foto debajo */
@media (max-width: 960px) {
	.hx { grid-template-columns: 1fr; min-height: 0; }
	.admin-bar .hx { min-height: 0; }
	.hx-left { padding: 18px 20px 36px; order: 1; }
	.hx-photo { order: 2; height: 62vw; max-height: 460px; min-height: 260px; }
	.hx-rail { position: absolute; top: 0; right: 0; z-index: 20; flex-direction: row; background: transparent; border: 0; height: 80px; }
	.hx-burger { min-height: 80px !important; width: 64px; border: 0 !important; background: transparent !important; }
	.hx-social, .hx-count, .hx-search { display: none; }
	.hx-copy { padding: 28px 0 0; }
	.hx-top { padding: 0; }
	.hx-photo::after { display: none; }
	.hx-nav > ul > li > a { font-size: 15px; letter-spacing: .04em; }
}
@media (max-width: 560px) {
	.hx-btn { flex: 1 1 140px; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.hx-slide { transition: none; }
}
.hx-nav { z-index: 100; }
@media (max-width: 960px) {
	.hx-rail { z-index: 110; }
	.hx-nav { padding-top: 84px !important; }
	.hx-burger[aria-expanded="true"] { color: #fff !important; }
}

/* Menú sobre la foto: siempre en una línea. Si no cabe, pasa al botón ☰ (clase hx-compacto, la pone main.js). */
@media (min-width: 961px) {
	.hx-top { gap: 14px; }
	.hx-nav { flex: 1; min-width: 0; justify-content: flex-end; }
	.hx-nav > ul { flex-wrap: nowrap; white-space: nowrap; gap: 17px; }
	.hx-nav > ul > li > a { font-size: 12px; letter-spacing: .08em; }
	.hx-compacto .hx-nav:not(.is-open) { visibility: hidden; position: absolute; pointer-events: none; }
	.hx-nav.is-open > ul { white-space: normal; }
	/* Buscador: solo la lupa; se abre al usarlo */
	.hx-search { width: 38px; padding: 0; justify-content: center; transition: width .25s ease, padding .25s ease; cursor: pointer; }
	.hx-search input { width: 0; padding: 0; opacity: 0; transition: opacity .2s ease; }
	.hx-search:focus-within, .hx-search.is-open { width: 190px; padding: 0 4px 0 14px; justify-content: space-between; }
	.hx-search:focus-within input, .hx-search.is-open input { width: 130px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.hx-search, .hx-search input { transition: none; }
}
