/* ==========================================================================
   Hotel Bahia de Miramar - capa de estilo moderna (se carga después de style.css)
   ========================================================================== */

:root {
	--mar: #0b8f9a;
	--mar-claro: #13b5c1;
	--mar-profundo: #0a2530;
	--arena: #fbf8f3;
	--arena-2: #f3ece1;
	--coral: #f0765f;
	--coral-hover: #e25f47;
	--texto: #1d2a30;
	--texto-suave: #5a6a70;
	--radio: 20px;
	--radio-sm: 12px;
	--sombra: 0 18px 40px -18px rgba(10, 37, 48, .35);
	--sombra-sm: 0 8px 24px -12px rgba(10, 37, 48, .25);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { font-size: 100%; scroll-behavior: smooth; }
body {
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--texto);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .ts-h1, .ts-h2 {
	font-family: var(--serif);
	font-weight: 500;
	letter-spacing: -.01em;
	line-height: 1.15;
}
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; margin-bottom: .6rem; }
a { color: var(--mar); }
a:hover { color: var(--mar-profundo); }

.ts-block { padding-top: 6rem; padding-bottom: 6rem; }
.ts-title { margin-bottom: 2.25rem; }
.section-kicker {
	display: inline-block;
	font-family: var(--sans);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mar);
	margin-bottom: .75rem;
}

/* ---------- Botones ---------- */
.btn { border-radius: 999px; font-weight: 700; letter-spacing: .01em; padding: .7rem 1.6rem; box-shadow: none; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn-lg { padding: .95rem 2.1rem; font-size: 1.05rem; }
.btn-primary,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active { background-color: var(--coral); border-color: var(--coral); color: #fff; }
.btn-primary:hover, .btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus { background-color: var(--coral-hover); border-color: var(--coral-hover); box-shadow: 0 10px 24px -10px rgba(240, 118, 95, .8); transform: translateY(-1px); }

/* ---------- Navbar ---------- */
.navbar { padding-top: 1.5rem; padding-bottom: 1.5rem; font-family: var(--sans); font-size: .95rem; transition: padding .3s ease, background-color .3s ease, box-shadow .3s ease; }
.navbar-brand img { max-height: 54px; width: auto; transition: max-height .3s ease; }
.navbar.is-scrolled, .navbar.in {
	padding-top: .6rem; padding-bottom: .6rem;
	background-color: rgba(10, 37, 48, .82);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .5);
}
.navbar.is-scrolled .navbar-brand img { max-height: 42px; }
.navbar-dark .navbar-nav .nav-link { color: rgba(255, 255, 255, .85); padding-left: .9rem; padding-right: .9rem; }
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active { color: #fff; }
.navbar-dark .navbar-nav .nav-link.nav-cta {
	border: 1.5px solid rgba(255, 255, 255, .7);
	border-radius: 999px;
	margin-left: .5rem;
	padding-left: 1.2rem; padding-right: 1.2rem;
}
.navbar-dark .navbar-nav .nav-link.nav-cta:hover { background: #fff; color: var(--mar-profundo); }
@media (max-width: 991.98px) {
	.navbar { background-color: rgba(10, 37, 48, .9); padding-top: .75rem; padding-bottom: .75rem; }
	.navbar-collapse { padding: .75rem 0 .5rem; }
	.navbar-dark .navbar-nav .nav-link.nav-cta { margin: .5rem 0 0; text-align: center; }
}

/* ---------- Hero con video ---------- */
#ts-hero { background: var(--mar-profundo) url("https://i.ytimg.com/vi/rOPzGnsq9qM/maxresdefault.jpg") center / cover no-repeat; overflow: hidden; min-height: 560px; }
.hero-video { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-video iframe {
	position: absolute;
	top: 50%; left: 50%;
	width: 100vw; height: 56.25vw;          /* 16:9 */
	min-width: 177.78vh; min-height: 100vh; /* cubrir siempre el alto */
	transform: translate(-50%, -50%) scale(1.25); /* esconde bordes/logos del reproductor */
	border: 0;
	opacity: 0;
	transition: opacity 1.2s ease;
}
.hero-video.is-playing iframe { opacity: 1; }
.hero-overlay {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(10, 37, 48, .55) 0%, rgba(10, 37, 48, .25) 45%, rgba(10, 37, 48, .6) 100%);
}
#ts-hero > .ts-mask-bottom-wn { z-index: 1; }
.hero-content { position: relative; z-index: 2; padding-top: 4rem; }
#ts-hero h1 {
	font-size: clamp(2.8rem, 7vw, 5.5rem);
	font-weight: 500;
	margin: .5rem 0 1rem;
	text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero-kicker, .hero-season {
	font-size: .85rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: rgba(255, 255, 255, .85); margin: 0;
}
.hero-season { margin-bottom: 2rem; }
.hero-btn { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }

/* ---------- Intro ---------- */
#what-youll-get { background: var(--arena); }
.intro-text { max-width: 760px; margin: 0 auto 3.5rem; color: var(--texto-suave); font-size: 1.1rem; }
.intro-text p { margin-bottom: 1.1rem; }
.intro-firma { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--mar); margin-top: 1.5rem; }

.feature-cards > div { margin-bottom: 1.5rem; }
.feature-card {
	height: 100%;
	margin: 0;
	padding: 2.2rem 1.75rem;
	background: #fff;
	border-radius: var(--radio);
	box-shadow: var(--sombra-sm);
	transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.feature-card i {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; margin-bottom: 1.1rem;
	border-radius: 50%;
	background: rgba(19, 181, 193, .12);
	color: var(--mar);
	font-size: 1.3rem;
}
.feature-card p { color: var(--texto-suave); margin: 0; font-size: 1rem; }

/* ---------- Números ---------- */
.ts-promo-numbers h2 { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 500; }
.ts-promo-numbers h3 { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }

/* ---------- Servicios ---------- */
.lead-soft { color: var(--texto-suave); font-size: 1.1rem; margin-bottom: 2rem; }
.servicios-list { list-style: none; padding: 0; margin: 0 0 3rem; }
.servicios-list li {
	display: flex; gap: 1rem; align-items: flex-start;
	padding: 1rem 0;
	border-bottom: 1px solid var(--arena-2);
	color: var(--texto);
	font-size: 1rem;
}
.servicios-list li:last-child { border-bottom: 0; }
.servicios-list i {
	flex: 0 0 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--arena);
	color: var(--mar);
	font-size: .95rem;
}
.servicios-list span { padding-top: .45rem; line-height: 1.55; }

.foto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.foto { margin: 0; overflow: hidden; border-radius: var(--radio); box-shadow: var(--sombra); aspect-ratio: 4 / 3; }
.foto-1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.foto:hover img { transform: scale(1.04); }
@media (min-width: 992px) { .foto-grid { position: sticky; top: 110px; } }

/* ---------- Mapa ---------- */
.mapa-card {
	position: relative;
	border-radius: var(--radio);
	overflow: hidden;
	box-shadow: var(--sombra);
	background: var(--arena-2);
}
.mapa-card .mapa { width: 100%; height: 440px; }
.mapa-pin {
	width: 44px; height: 54px;
	background: url("../img/map-marker.png") center bottom / contain no-repeat;
	filter: drop-shadow(0 6px 8px rgba(10, 37, 48, .35));
}
.mapa-card .maplibregl-ctrl-group { border-radius: var(--radio-sm); overflow: hidden; box-shadow: var(--sombra-sm); }
.mapa-card .maplibregl-ctrl-attrib { font-size: 11px; }
.mapa-info {
	position: absolute; left: 1.25rem; bottom: 1.25rem;
	display: flex; flex-direction: column; gap: .15rem;
	max-width: calc(100% - 2.5rem);
	padding: 1.1rem 1.4rem;
	background: #fff;
	border-radius: var(--radio-sm);
	box-shadow: var(--sombra-sm);
	font-size: .95rem;
}
.mapa-info strong { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.mapa-info span { color: var(--texto-suave); }
.mapa-info a { font-weight: 700; margin-top: .35rem; text-decoration: none; }
.mapa-info a i { font-size: .8em; margin-left: .25rem; transition: transform .2s ease; }
.mapa-info a:hover i { transform: translateX(3px); }
@media (max-width: 575.98px) {
	.mapa-card .mapa { height: 340px; }
	.mapa-info { position: static; max-width: none; border-radius: 0; box-shadow: none; }
}

/* ---------- Contacto ---------- */
#contact h3 { margin-bottom: 1.75rem; }
.contacto-datos, .contacto-datos span { color: rgba(255, 255, 255, .85); }
.contacto-datos p { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contacto-datos i {
	flex: 0 0 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: var(--mar-claro);
}
.contacto-datos span, .contacto-datos a { padding-top: .45rem; line-height: 1.45; }
.contacto-datos a { color: #fff; word-break: break-word; }
.contacto-datos a:hover { color: var(--mar-claro); }

.form-card {
	padding: 2.25rem;
	border-radius: var(--radio);
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .1);
}
@media (max-width: 575.98px) { .form-card { padding: 1.5rem 1.25rem; } }
.form-card label { font-size: .85rem; font-weight: 700; letter-spacing: .04em; opacity: .85; }
.form-card .form-control,
.ts-background-is-dark .form-card .form-control {
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: var(--radio-sm);
	box-shadow: none;
	padding: .75rem 1rem;
	height: auto;
	background: rgba(255, 255, 255, .04);
	color: #fff;
	transition: border-color .2s ease, background-color .2s ease;
}
.form-card .form-control::placeholder { color: rgba(255, 255, 255, .45); }
.form-card .form-control:focus,
.ts-background-is-dark .form-card .form-control:focus { border-color: var(--mar-claro); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 3px rgba(19, 181, 193, .25); }
.form-ok { color: #fff; font-size: 1.1rem; margin: 0; }
.form-ok i { color: var(--mar-claro); margin-right: .35rem; }

.footer-bottom { background: #061920; color: rgba(255, 255, 255, .6); padding: 1.5rem 1rem 2rem; }
.footer-bottom a { color: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa {
	float: none;
	right: 1.25rem; bottom: 1.25rem;
	width: 60px; height: 60px;
	padding: 0;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .45);
	transition: transform .2s ease;
}
.wa:hover { transform: scale(1.07); }
.wa img { width: 36px !important; height: 36px !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.feature-card, .foto img, .btn { transition: none; }
}

/* Honeypot anti-spam del formulario (invisible para personas) */
.hp-campo { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* H1 semántico (nombre del hotel) + slogan con el estilo grande del hero */
#ts-hero h1.hero-kicker { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin: 0; text-shadow: none; }
#ts-hero .hero-title {
	color: #fff;
	font-family: var(--serif);
	font-size: clamp(2.8rem, 7vw, 5.5rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -.01em;
	margin: .5rem 0 1rem;
	text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
