/* Los Guájares Reservas — formulario público */
.gjr {
	--gjr-green: #255C56;
	--gjr-green-dark: #1b4541;
	--gjr-olive: #625E23;
	--gjr-cream: #FFFBF4;
	--gjr-ink: #1d1d1d;
	--gjr-text: #5f5f5f;
	--gjr-line: #e6e0d3;
	--gjr-soft: #f6f1e7;
	--gjr-red: #a4332b;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--gjr-ink);
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
	box-sizing: border-box;
}
.gjr *, .gjr *::before, .gjr *::after { box-sizing: border-box; }
.gjr [hidden] { display: none !important; }

/* Franja antes del pie */
.gjr-band {
	background: var(--gjr-cream, #FFFBF4);
	padding: 84px 20px;
	scroll-margin-top: 90px;
	border-top: 1px solid #efe8d9;
}
.gjr-band__inner { max-width: 1180px; margin: 0 auto; }
.gjr--band .gjr__head { text-align: center; margin: 0 auto 32px; max-width: 640px; }

.gjr__eyebrow {
	display: inline-block;
	font-family: "Raleway", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gjr-olive);
}
.gjr .gjr__title {
	font-family: "Marcellus", Georgia, serif;
	font-weight: 500;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.15;
	color: var(--gjr-ink);
	margin: 10px 0 12px;
	text-transform: none;
}
.gjr__lead { margin: 0; color: var(--gjr-text); font-weight: 300; font-size: 16px; }

.gjr__form {
	background: #fff;
	border: 1px solid var(--gjr-line);
	box-shadow: 0 18px 40px -24px rgba(37, 50, 40, .35);
	padding: 22px;
	margin: 0;
}
.gjr--band .gjr__form { padding: 26px; }

/* Campos del paso 1 */
.gjr__fields { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.gjr__fields .gjr__btn--cta { grid-column: 1 / -1; }

@media (min-width: 900px) {
	.gjr--band .gjr__fields {
		grid-template-columns: 1fr 1fr .7fr .7fr auto;
		align-items: stretch;
	}
	.gjr--band .gjr__fields .gjr__btn--cta { grid-column: auto; }
}

.gjr .gjr__field {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	min-height: 62px;
	margin: 0;
	padding: 9px 14px !important;
	background: #fff !important;
	border: 1px solid var(--gjr-line) !important;
	border-radius: 0 !important;
	color: var(--gjr-ink) !important;
	text-align: left;
	font: inherit;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
	width: 100%;
}
.gjr .gjr__field:hover,
.gjr .gjr__field:focus-within,
.gjr .gjr__field:focus-visible {
	background: #fff !important;
	color: var(--gjr-ink) !important;
	border-color: var(--gjr-green) !important;
	outline: none;
}
.gjr.is-open .gjr__field--date[data-open] { border-color: var(--gjr-line) !important; }

.gjr .gjr__label {
	display: block;
	font-family: "Raleway", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gjr-olive);
	line-height: 1.3;
}
.gjr .gjr__value { font-size: 15px; font-weight: 500; color: #9a9a9a; line-height: 1.35; }
.gjr.has-in [data-show=in],
.gjr.has-out [data-show=out] { color: var(--gjr-ink); }

.gjr .gjr__field select.gjr__control {
	appearance: none;
	-webkit-appearance: none;
	width: 100% !important;
	border: 0 !important;
	padding: 0 22px 0 0 !important;
	margin: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23625E23' stroke-width='1.6' d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right center !important;
	font: 500 15px/1.35 "Inter", system-ui, sans-serif !important;
	color: var(--gjr-ink) !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	cursor: pointer;
}
.gjr .gjr__field select.gjr__control:focus { outline: none; }
.gjr .gjr__field select:disabled { color: #b5b5b5 !important; cursor: default; }

/* Botones */
.gjr .gjr__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 54px;
	padding: 14px 28px !important;
	border: 1px solid var(--gjr-green) !important;
	border-radius: 0 !important;
	background: var(--gjr-green) !important;
	color: #fff !important;
	font: 500 14px/1.2 "Raleway", sans-serif !important;
	letter-spacing: .12em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: background-color .15s ease, border-color .15s ease;
	white-space: nowrap;
}
.gjr .gjr__btn:hover,
.gjr .gjr__btn:focus-visible {
	background: var(--gjr-green-dark) !important;
	border-color: var(--gjr-green-dark) !important;
	color: #fff !important;
}
.gjr .gjr__btn:disabled { opacity: .6; cursor: wait; }
.gjr .gjr__btn--block { width: 100%; white-space: normal; }
.gjr .gjr__btn--ghost { background: transparent !important; color: var(--gjr-green) !important; }
.gjr .gjr__btn--ghost:hover { color: #fff !important; }
.gjr .gjr__btn--pick { min-height: 44px; padding: 11px 20px !important; font-size: 13px !important; }

/* Calendario */
.gjr__cal {
	margin-top: 12px;
	border: 1px solid var(--gjr-line);
	background: #fff;
	padding: 14px 14px 10px;
}
.gjr-cal__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.gjr-cal__hint { margin: 0; font-size: 13px; font-weight: 500; color: var(--gjr-olive); text-align: center; }
.gjr .gjr-cal__nav {
	width: 38px; height: 38px; min-height: 0;
	padding: 0 !important;
	border: 1px solid var(--gjr-line) !important;
	background: #fff !important;
	color: var(--gjr-ink) !important;
	font-size: 20px !important; line-height: 1 !important;
	border-radius: 0 !important;
	cursor: pointer;
}
.gjr .gjr-cal__nav:hover { border-color: var(--gjr-green) !important; background: #fff !important; color: var(--gjr-green) !important; }
.gjr .gjr-cal__nav:disabled { opacity: .3; cursor: default; }

.gjr-cal__months { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.gjr-cal__title { margin: 0 0 8px; text-align: center; font-family: "Marcellus", Georgia, serif; font-size: 18px; text-transform: capitalize; color: var(--gjr-ink); }
.gjr-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.gjr-cal__wd { text-align: center; font-size: 11px; font-weight: 600; color: #9a9a9a; padding: 4px 0; text-transform: uppercase; }

.gjr .gjr-cal__day {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	aspect-ratio: 1 / 1;
	min-height: 40px;
	width: 100%;
	padding: 2px 0 !important;
	margin: 0;
	border: 1px solid transparent !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--gjr-ink) !important;
	font: 500 14px/1.1 "Inter", system-ui, sans-serif !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: pointer;
}
.gjr .gjr-cal__day small { font-size: 10px; font-weight: 400; color: var(--gjr-olive); line-height: 1.1; margin-top: 2px; }
.gjr .gjr-cal__day.is-free { background: #f3f7f5 !important; }
.gjr .gjr-cal__day:not(:disabled):hover { border-color: var(--gjr-green) !important; background: #e6efeb !important; color: var(--gjr-ink) !important; }
.gjr .gjr-cal__day:disabled { cursor: default; color: #c3c3c3 !important; background: #fff !important; }
.gjr .gjr-cal__day.is-full:disabled { text-decoration: line-through; color: #c6a3a0 !important; }
.gjr .gjr-cal__day.is-loading { color: #d5d5d5 !important; }
.gjr .gjr-cal__day.is-today span { text-decoration: underline; text-underline-offset: 3px; }
.gjr .gjr-cal__day.in-range { background: #dbe8e3 !important; color: var(--gjr-ink) !important; }
.gjr .gjr-cal__day.is-in,
.gjr .gjr-cal__day.is-out,
.gjr .gjr-cal__day.is-in:hover,
.gjr .gjr-cal__day.is-out:hover { background: var(--gjr-green) !important; color: #fff !important; border-color: var(--gjr-green) !important; }
.gjr .gjr-cal__day.is-in small,
.gjr .gjr-cal__day.is-out small { color: #dfe9e3; }

.gjr-cal__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gjr-cal__legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gjr-text); }
.gjr-cal__legend i { display: inline-block; width: 12px; height: 12px; border: 1px solid var(--gjr-line); margin-left: 8px; }
.gjr-cal__legend i:first-child { margin-left: 0; }
.gjr-cal__legend i.is-free { background: #f3f7f5; }
.gjr-cal__legend i.is-full { background: #fff; background-image: linear-gradient(135deg, transparent 45%, #c6a3a0 45%, #c6a3a0 55%, transparent 55%); }
.gjr .gjr-cal__clear {
	padding: 4px 0 !important; border: 0 !important; background: none !important;
	color: var(--gjr-green) !important; font: 500 13px "Inter", sans-serif !important;
	text-decoration: underline; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; box-shadow: none !important; min-height: 0;
}

/* Resultados: disponibilidad y precio de las fechas elegidas */
.gjr__results { margin-top: 14px; border-top: 1px solid var(--gjr-line); padding-top: 12px; }
.gjr__loading { margin: 0; font-size: 14px; color: var(--gjr-text); }
.gjr__hint { margin: 0; font-size: 14px; color: var(--gjr-green); }

.gjr__reshead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; }
.gjr__reshead p { margin: 0; font-size: 14px; color: var(--gjr-text); }
.gjr__reshead strong { color: var(--gjr-ink); font-weight: 500; }

.gjr .gjr__link {
	padding: 0 !important; border: 0 !important; background: none !important;
	color: var(--gjr-green) !important; font: 500 13px "Inter", sans-serif !important;
	text-decoration: underline; text-transform: none !important; letter-spacing: 0 !important;
	cursor: pointer; box-shadow: none !important; min-height: 0;
}

.gjr__rooms { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.gjr__rooms li {
	display: grid; gap: 6px 14px; align-items: center; margin: 0;
	grid-template-columns: 1fr;
	border: 1px solid var(--gjr-line); background: #fff; padding: 12px 14px;
}
.gjr__room.is-off { background: var(--gjr-soft); }
.gjr__roominfo strong { display: block; font-family: "Marcellus", Georgia, serif; font-size: 18px; font-weight: 500; color: var(--gjr-ink); }
.gjr__roominfo small { display: block; margin-top: 2px; font-size: 13px; color: var(--gjr-text); }
.gjr__badge {
	display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 2px;
	background: var(--gjr-soft); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--gjr-green);
}
.gjr__roomprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.gjr__roomprice strong { font-family: "Marcellus", Georgia, serif; font-size: 24px; font-weight: 500; color: var(--gjr-green); white-space: nowrap; }
.gjr__roomprice small { display: block; font-size: 12px; color: var(--gjr-text); }
.gjr__nope { font-size: 14px; font-weight: 500; color: var(--gjr-red); }
.gjr__resnote { margin: 12px 0 0; font-size: 14px; color: var(--gjr-text); }

.gjr__room .gjr__btn--pick { width: 100%; }

/* La franja a lo ancho sí cabe en una línea; la tarjeta lateral va apilada. */
@media (min-width: 620px) {
	.gjr--band .gjr__rooms li { grid-template-columns: 1fr auto auto; }
	.gjr--band .gjr__roomprice { flex-direction: column; align-items: flex-end; text-align: right; gap: 0; }
	.gjr--band .gjr__room .gjr__btn--pick { width: auto; }
}

.gjr__msg { margin: 12px 0 0; padding: 10px 14px; font-size: 14px; background: #eef4f1; border-left: 3px solid var(--gjr-green); }
.gjr__msg--error { background: #fbeeed; border-left-color: var(--gjr-red); color: #7d241e; }

/* Paso 2 */
.gjr__summary { background: var(--gjr-soft); padding: 14px 16px; margin-bottom: 16px; font-size: 14px; }
.gjr__summary p { margin: 4px 0 0; color: var(--gjr-text); }
.gjr__sumhead { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.gjr__sumhead strong { font-family: "Marcellus", Georgia, serif; font-size: 18px; font-weight: 500; }
.gjr__sumhead a { color: var(--gjr-green); font-size: 13px; text-decoration: underline; }
.gjr__summary .gjr__sumtotal { color: var(--gjr-ink); }

/* Número de habitación (paso 2). */
.gjr__unit { margin-bottom: 16px; }
.gjr__unit-desc { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--gjr-text); }

.gjr__grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) {
	.gjr--band .gjr__grid { grid-template-columns: 1fr 1fr; }
	.gjr--band .gjr__input--wide { grid-column: 1 / -1; }
}
.gjr__input { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.gjr .gjr__input input,
.gjr .gjr__input select,
.gjr .gjr__input textarea {
	width: 100% !important;
	border: 1px solid var(--gjr-line) !important;
	border-radius: 0 !important;
	background: #fff !important;
	padding: 11px 13px !important;
	font: 400 15px/1.4 "Inter", system-ui, sans-serif !important;
	color: var(--gjr-ink) !important;
	box-shadow: none !important;
	height: auto !important;
	min-height: 46px;
	margin: 0 !important;
}
.gjr .gjr__input textarea { min-height: 84px; resize: vertical; }
.gjr .gjr__input input:focus,
.gjr .gjr__input select:focus,
.gjr .gjr__input textarea:focus { border-color: var(--gjr-green) !important; outline: 2px solid rgba(37, 92, 86, .15); outline-offset: 0; }

.gjr__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.gjr__check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 6px; font-size: 13px; color: var(--gjr-text); cursor: pointer; }
.gjr .gjr__check input { width: 18px !important; height: 18px !important; margin: 1px 0 0 !important; accent-color: var(--gjr-green); flex: 0 0 auto; }
.gjr__check a, .gjr__trust a { color: var(--gjr-green); text-decoration: underline; }
.gjr__policy { margin: 6px 0 14px; font-size: 12.5px; color: #8a8a8a; }
.gjr__trust { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 12.5px; color: var(--gjr-text); text-align: center; }
.gjr__trust--left { justify-content: flex-start; text-align: left; display: block; }

/* Hecho */
.gjr__done { text-align: center; padding: 20px 6px; }
.gjr__doneicon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--gjr-green); color: #fff; font-size: 28px; line-height: 56px; }
.gjr__done h3 { font-family: "Marcellus", Georgia, serif; font-weight: 500; font-size: 26px; margin: 0 0 8px; }
.gjr__done p { margin: 0 0 8px; color: var(--gjr-text); }

/* Tarjeta en la columna de las fichas de habitación */
.gjr--card { scroll-margin-top: 110px; }
.gjr--card .gjr__form { box-shadow: none; }
.gjr--card .gjr__cal { padding: 10px 8px 8px; margin-left: -6px; margin-right: -6px; }
.gjr--card .gjr-cal__day { min-height: 34px; }

/* Avisos arriba de la página */
.gjr-topnote {
	font-family: "Inter", system-ui, sans-serif;
	max-width: 1180px;
	margin: 18px auto;
	padding: 14px 18px;
	background: #eef4f1;
	border-left: 4px solid #255C56;
	font-size: 15px;
	color: #1d1d1d;
}
.gjr-topnote strong { margin-right: 6px; }
.gjr-topnote a { color: #255C56; font-weight: 600; }
.gjr-topnote--warn { background: #fdf5e6; border-left-color: #b7791f; }
.gjr-topnote--wait { background: #fdf8ec; border-left-color: #625E23; }
body > .gjr-topnote { margin: 0; max-width: none; position: relative; z-index: 50; }

/* Ficha del huésped */
.gjr--view { max-width: 720px; margin: 30px auto 60px; padding: 0 16px; }
.gjr--view .gjr-topnote { margin: 0 0 18px; }
.gjr-card { background: #fff; border: 1px solid #e6e0d3; padding: 26px; }
.gjr-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.gjr .gjr-card__title { font-family: "Marcellus", Georgia, serif; font-weight: 500; font-size: 28px; margin: 6px 0 0; }
.gjr-badge { display: inline-block; padding: 5px 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gjr-badge--ok { background: #e3efe9; color: #1b4541; }
.gjr-badge--wait { background: #fbf1dc; color: #7a5a12; }
.gjr-badge--bad { background: #f7e3e1; color: #7d241e; }
.gjr-card__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.gjr-card__dates div { background: #FFFBF4; border: 1px solid #efe8d9; padding: 14px; }
.gjr-card__dates span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #625E23; font-weight: 600; }
.gjr-card__dates strong { display: block; font-size: 15px; margin: 4px 0 2px; font-weight: 600; }
.gjr-card__dates small { color: #7a7a7a; font-size: 12.5px; }
.gjr-card__rows { margin: 0 0 18px; }
.gjr-card__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f1ede4; font-size: 14.5px; }
.gjr-card__rows dt { color: #6f6f6f; font-weight: 400; margin: 0; }
.gjr-card__rows dd { margin: 0; font-weight: 600; text-align: right; }
.gjr-card__rows .is-total dd { color: #255C56; font-size: 18px; }
.gjr-card__rows .is-due dd { color: #a4332b; }
.gjr-card__notes { background: #f6f1e7; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.gjr-card__notes span { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #625E23; }
.gjr-card__notes p { margin: 4px 0 0; }
.gjr-note { max-width: 720px; margin: 30px auto; padding: 16px 18px; background: #fdf5e6; border-left: 4px solid #b7791f; font-family: "Inter", sans-serif; }

@media (max-width: 480px) {
	.gjr-band { padding: 56px 16px; }
	.gjr__form, .gjr--band .gjr__form { padding: 16px; }
	.gjr-card { padding: 18px; }
	.gjr-card__dates { grid-template-columns: 1fr; }
	.gjr .gjr__btn { white-space: normal; }
}

/* En la columna de la ficha ya hay una caja con borde: el formulario va sin marco propio. */
.gjr--card .gjr__form { border: 0; padding: 0; background: transparent; }

/* El kit del tema pone las etiquetas en negrita y los títulos en mayúsculas iniciales. */
.gjr .gjr__check, .gjr .gjr__check span { font-weight: 400 !important; line-height: 1.5 !important; font-size: 13px !important; text-transform: none !important; letter-spacing: 0 !important; }
.gjr .gjr__done h3, .gjr .gjr-card__title, .gjr .gjr__sumhead strong { text-transform: none !important; }
