/* ===================================================================
   native-ui.css
   Reemplazo propio de Bootstrap (CSS) para el sitio publico
   (index.php, frmreservar.php). Sin dependencias externas.
   =================================================================== */

/* ===== Reset minimo ===== */

* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
img { max-width: 100%; }
a { color: inherit; }
ul { margin: 0; }

/* ===== Utilidades ===== */

.container { width: 100%; padding-left: 0.75rem; padding-right: 0.75rem; margin-left: auto; margin-right: auto; }
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-md-row { }
@media (min-width: 768px) { .flex-md-row { flex-direction: row; } }

.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.justify-content-md-start { }
.justify-content-md-center { }
.justify-content-md-between { }
.justify-content-md-end { }
.justify-content-md-evenly { }
@media (min-width: 768px) {
	.justify-content-md-start { justify-content: flex-start; }
	.justify-content-md-center { justify-content: center; }
	.justify-content-md-between { justify-content: space-between; }
	.justify-content-md-end { justify-content: flex-end; }
	.justify-content-md-evenly { justify-content: space-evenly; }
}

.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }
.align-items-md-center { }
.align-items-md-start { }
.align-items-lg-center { }
@media (min-width: 768px) {
	.align-items-md-center { align-items: center; }
	.align-items-md-start { align-items: flex-start; }
}
@media (min-width: 992px) { .align-items-lg-center { align-items: center; } }
.align-self-end { align-self: flex-end; }
.align-middle { vertical-align: middle; }

.text-center { text-align: center; }
.text-start { text-align: left; }
.text-end { text-align: right; }
.text-lg-end { }
@media (min-width: 992px) { .text-lg-end { text-align: right; } }
.text-white { color: #fff; }
.text-dark { color: #212529; }
.text-muted { color: #6c757d; }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.fs-5 { font-size: 1.25rem; }

.gap-2 { gap: 0.5rem; }
.m-0 { margin: 0; } .mx-0 { margin-left: 0; margin-right: 0; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-5 { margin-bottom: 3rem; }
.mb-md-0 { }
@media (min-width: 768px) { .mb-md-0 { margin-bottom: 0; } }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; }
.me-2 { margin-right: 0.5rem; } .me-3 { margin-right: 1rem; }
.ms-2 { margin-left: 0.5rem; } .ms-3 { margin-left: 1rem; } .ms-4 { margin-left: 1.5rem; }
.ms-auto { margin-left: auto; }
.ms-md-0 { }
.ms-lg-auto { }
@media (min-width: 768px) { .ms-md-0 { margin-left: 0; } }
@media (min-width: 992px) { .ms-lg-auto { margin-left: auto; } }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-lg-2 { }
@media (min-width: 992px) { .mx-lg-2 { margin-left: 0.5rem; margin-right: 0.5rem; } }

.p-0 { padding: 0; } .p-2 { padding: 0.5rem; } .p-3 { padding: 1rem; } .p-4 { padding: 1.5rem; }
.pb-3 { padding-bottom: 1rem; } .pb-5 { padding-bottom: 3rem; }
.px-0 { padding-left: 0; padding-right: 0; }
.ps-md-0 { } .ps-md-4 { } .ps-md-5 { }
.pe-md-1 { } .pe-md-3 { }
.py-md-1 { } .pb-md-2 { }
@media (min-width: 768px) {
	.ps-md-0 { padding-left: 0; }
	.ps-md-4 { padding-left: 1.5rem; }
	.ps-md-5 { padding-left: 3rem; }
	.pe-md-1 { padding-right: 0.25rem; }
	.pe-md-3 { padding-right: 1rem; }
	.py-md-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
	.pb-md-2 { padding-bottom: 0.5rem; }
}
.px-md-4 { } .px-md-5 { }
@media (min-width: 768px) {
	.px-md-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
	.px-md-5 { padding-left: 3rem; padding-right: 3rem; }
}

.w-100 { width: 100%; }
.d-none { display: none !important; }
.d-block { display: block; }
.d-md-block { }
@media (min-width: 768px) { .d-md-block { display: block; } }

.rounded { border-radius: 0.375rem; }
.rounded-3 { border-radius: 0.5rem; }
.shadow { box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }
.bg-white { background-color: #fff; }

.h2 { font-size: 2rem; font-weight: 500; line-height: 1.2; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ===== Grid (row / col-*) ===== */

.row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -0.75rem;
	margin-right: -0.75rem;
}
.row > [class*="col"] { padding-left: 0.75rem; padding-right: 0.75rem; width: 100%; }
.row.g-4 > [class*="col"] { margin-bottom: 1.5rem; }

.row > .col-5 { width: 41.6667%; }
.row > .col-7 { width: 58.3333%; }
.row > .col-sm-12 { width: 100%; }
@media (min-width: 768px) {
	.row > .col-md-3 { width: 25%; }
	.row > .col-md-4 { width: 33.3333%; }
	.row > .col-md-6 { width: 50%; }
	.row > .col-md-8 { width: 66.6667%; }
	.row > .col-md-9 { width: 75%; }
}

/* ===== Botones ===== */

.btn {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	border-radius: 0.375rem;
	border: 1px solid #ced4da;
	background-color: #fff;
	color: #212529;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.btn-primary { background-color: #0d6efd; border-color: #0d6efd; color: #fff; }
.btn-primary:hover { background-color: #0b5ed7; border-color: #0a58ca; color: #fff; }
.btn-outline-primary { background-color: transparent; border-color: #0d6efd; color: #0d6efd; }
.btn-outline-primary:hover { background-color: #0d6efd; color: #fff; }
.btn-outline-secondary { background-color: transparent; border-color: #6c757d; color: #6c757d; }
.btn-outline-secondary:hover { background-color: #6c757d; color: #fff; }
.btn-sm { padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 0.25rem; }
#btnIdioma, #btnDivisaMonetaria { border: none; }

/* ===== Formularios ===== */

.form-label { display: inline-block; margin-bottom: 0.25rem; font-size: 0.95rem; }
.form-control, .form-select {
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	border: 1px solid #ced4da;
	border-radius: 0.375rem;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control:focus, .form-select:focus {
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .25);
}
.form-control.is-invalid, .form-select.is-invalid {
	border-color: #dc3545;
}
.form-control.is-invalid:focus, .form-select.is-invalid:focus {
	border-color: #dc3545;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, .25);
}
.form-control-sm, .form-select-sm {
	padding: 0.1rem 0.5rem;
	font-size: 0.85rem;
	border-radius: 0.25rem;
}

.input-group { display: flex; align-items: stretch; }
.input-group .form-control { flex: 1 1 auto; width: 1%; border-radius: 0; }
.input-group .btn { border-radius: 0; }
.input-group > :first-child { border-top-left-radius: 0.375rem; border-bottom-left-radius: 0.375rem; }
.input-group > :last-child { border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem; }

/* ===== Navbar ===== */

.navbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	position: relative;
	background-color: #fff;
}
.navbar-brand { margin-right: 1rem; font-size: 1.25rem; text-decoration: none; white-space: nowrap; }

.navbar-toggler {
	padding: 0.25rem 0.75rem;
	font-size: 1.25rem;
	line-height: 1;
	background-color: transparent;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 0.375rem;
	cursor: pointer;
}
.navbar-toggler-icon {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-collapse { display: none; width: 100%; }
.nav-collapse.open { display: block; }
@media (min-width: 992px) {
	.nav-collapse { display: flex !important; width: auto; }
	.navbar-toggler { display: none; }
}

.navbar-nav { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
@media (min-width: 992px) { .navbar-nav { flex-direction: row; } }
.nav-link { display: block; padding: 0.5rem 1rem; text-decoration: none; }

/* ===== Dropdown (idioma / moneda) ===== */

.dropdown { position: relative; }
.dropdown-toggle::after {
	content: "";
	display: inline-block;
	margin-left: 0.4em;
	vertical-align: 0.15em;
	border-top: 0.3em solid;
	border-right: 0.3em solid transparent;
	border-left: 0.3em solid transparent;
}
.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: none;
	min-width: 10rem;
	padding: 0.5rem 0;
	margin: 0.125rem 0 0;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 0.375rem;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
	list-style: none;
}
.dropdown-menu.show { display: block; }
.dropdown-item {
	display: block;
	width: 100%;
	padding: 0.25rem 1rem;
	clear: both;
	font-weight: 400;
	color: #212529;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
	background-color: transparent;
	border: 0;
	cursor: pointer;
}
.dropdown-item:hover { background-color: #e9ecef; }

/* ===== Tabs ===== */

.nav-tabs { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #dee2e6; }
.nav-tabs .nav-link {
	display: block;
	padding: 0.5rem 1rem;
	border: 1px solid transparent;
	border-top-left-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
	background: none;
	cursor: pointer;
	color: #0d6efd;
	text-decoration: none;
	font: inherit;
}
.nav-tabs .nav-link.active { color: #495057; background-color: #fff; border-color: #dee2e6 #dee2e6 #fff; }
.tab-pane { display: none; }
.tab-pane.active.show { display: block; }

/* ===== Cards ===== */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, .125);
	border-radius: 0.375rem;
}
.card-title { margin-bottom: 0.5rem; font-size: 1.1rem; }
.h-100 { height: 100%; }
.img-fluid { max-width: 100%; height: auto; }

/* ===== Tablas ===== */

.table-responsive { overflow-x: auto; }
.table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.table th, .table td { padding: 0.5rem; vertical-align: middle; border-bottom: 1px solid #dee2e6; }
.table-bordered th, .table-bordered td { border: 1px solid #dee2e6; }
.table-borderless th, .table-borderless td { border: 0; }
.table-light th, .table-light td { background-color: #f8f9fa; }
.table-hover tbody tr:hover { background-color: rgba(0, 0, 0, .04); }

/* ===== Hero slider (reemplaza Bootstrap Carousel) ===== */

.hero-slider { position: relative; }
.hero-slide { display: none; }
.hero-slide.active { display: block; }

.hero-slider__control {
	position: absolute;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 15%;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity .15s ease;
}
.hero-slider__control:hover { opacity: 1; }
.hero-slider__control--prev { left: 0; }
.hero-slider__control--next { right: 0; }
.hero-slider__icon {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: 100% 100%;
}
.hero-slider__icon--prev {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.hero-slider__icon--next {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ===== Combobox de lugares (reemplaza bootstrap-select) ===== */

.combo { position: relative; }
.combo__list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1000;
	display: none;
	max-height: 260px;
	overflow-y: auto;
	margin-top: 0.125rem;
	padding: 0.25rem 0;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 0.375rem;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
	list-style: none;
}
.combo__list.show { display: block; }
.combo__list li {
	padding: 0.375rem 0.75rem;
	cursor: pointer;
	white-space: normal;
}
.combo__list li:hover,
.combo__list li.active-option { background-color: #e9ecef; }
.combo__list li.combo__empty { color: #6c757d; cursor: default; }
.combo__list li.combo__empty:hover { background-color: transparent; }

/* ===== Footer: columnas (antes "accordion-item") ===== */

.footer-column ul { list-style: none; padding-left: 0; }
.footer-column li { margin-bottom: 0.5rem; }
.footer-column a { text-decoration: none; }
.footer-column a:hover { text-decoration: underline; color: #0d6efd; }
