/* ==========================================================================
   TES · Página "Cobertura Nacional"
   Estilos propios de cobertura.php (namespace .tes-cob-*).
   Se carga después de estilos.css; reutiliza los tokens de marca del sitio.
   ========================================================================== */

:root {
	--tes-orange: #c9932b;
	--tes-orange-dark: #b8801f;
	--tes-orange-2: #E35929;
	--tes-ink: #1c1a17;
	--tes-muted: #6f6a63;
	--tes-line: rgba(0, 0, 0, .08);
	--tes-radius: 18px;
	--tes-shadow: 0 24px 50px -24px rgba(0, 0, 0, .45);
	--tes-shadow-sm: 0 10px 28px -14px rgba(0, 0, 0, .38);
	--tes-ease: cubic-bezier(.22, .61, .36, 1);
}

/* El <main> de esta página trae su propio espaciado */
main.tes-cob { margin: 0; }
main.tes-cob > section { margin: 0; }

.tes-cob__ancho { width: min(1200px, 100%); margin-inline: auto; }

.tes-cob__eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--tes-orange-2);
}

/* --------------------------------------------------------------------------
   A) Intro: texto + mapa de México
   -------------------------------------------------------------------------- */

.tes-cob__intro {
	padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 60px) clamp(28px, 4vw, 48px);
	background: #fff;
}

.tes-cob__intro-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.tes-cob__titulo {
	margin: 0 0 18px;
	font-size: clamp(28px, 3.8vw, 46px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.5px;
	color: var(--tes-ink);
}

.tes-cob__texto p {
	margin: 0 0 15px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--tes-ink);
}

.tes-cob__texto .tes-cob__lead {
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.65;
	color: var(--tes-ink);
}

/* Chips de datos */
.tes-cob__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.tes-cob__chips li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 999px;
	background: #DC7215; /* mismo naranja del pie de página */
	border: 1px solid transparent;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 10px 22px -14px rgba(220, 114, 21, .85);
}

.tes-cob__chips svg { width: 16px; height: 16px; flex: 0 0 auto; color: #fff; }

/* Mapa: limpio, sin marco ni fondo (sobre el blanco de la sección) */
.tes-cob__mapa {
	margin: 0;
	text-align: center;
}

.tes-cob__mapa img {
	display: block;
	width: min(100%, 460px);
	height: auto;
	margin: 0 auto;
}

.tes-cob__mapa figcaption {
	margin-top: 16px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--tes-ink);
}

/* --------------------------------------------------------------------------
   B) Destinos: playa · bosque · hotel
   -------------------------------------------------------------------------- */

.tes-cob__destinos {
	padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 60px) clamp(56px, 8vw, 104px);
	background: #fbf9f5;
}

.tes-cob__head {
	max-width: 780px;
	margin: 0 auto clamp(28px, 4vw, 44px);
	padding: 0;
	text-align: center;
}

.tes-cob__head h2 {
	margin: 0;
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.4px;
	color: var(--tes-ink);
}

.tes-cob__head p {
	margin: 12px 0 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--tes-ink);
}

.tes-cob__grid {
	width: min(1200px, 100%);
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2.5vw, 28px);
}

.tes-cob__card {
	position: relative;
	overflow: hidden;
	border-radius: var(--tes-radius);
	background: #14120f;
	box-shadow: var(--tes-shadow-sm);
	transition: transform .35s var(--tes-ease), box-shadow .35s var(--tes-ease);
}

.tes-cob__card:hover,
.tes-cob__card:focus-within { transform: translateY(-6px); box-shadow: var(--tes-shadow); }

.tes-cob__card img {
	display: block;
	width: 100%;
	height: clamp(300px, 34vw, 400px);
	object-fit: cover;
	transition: transform .9s var(--tes-ease);
}

.tes-cob__card:hover img,
.tes-cob__card:focus-within img { transform: scale(1.06); }

.tes-cob__card::after {
	content: "";
	position: absolute;
	inset: 0;
	height: auto;
	clear: none;
	visibility: visible;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, .78) 100%);
	pointer-events: none;
}

.tes-cob__card-body {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 22px 24px 24px;
}

.tes-cob__tag {
	display: inline-block;
	margin-bottom: 10px;
	padding: 7px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: var(--tes-ink);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.tes-cob__card-body h3 {
	margin: 0 0 8px;
	font-size: clamp(20px, 2vw, 24px);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
}

.tes-cob__card-body p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .9);
}

/* --------------------------------------------------------------------------
   C) Mascota: burbuja tipo cómic
   Es un componente compartido (.tes-mascota) definido en css/estilos.css e
   incluido con parciales/mascota.php.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Revelado al hacer scroll (lo activa js/site.js)
   -------------------------------------------------------------------------- */

.tes-cob [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .75s var(--tes-ease), transform .75s var(--tes-ease);
}

.tes-cob [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media screen and (max-width: 1024px) {
	.tes-cob__intro-grid { grid-template-columns: 1fr; }
	.tes-cob__grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 640px) {
	.tes-cob__grid { grid-template-columns: 1fr; }
	.tes-cob__card img { height: clamp(240px, 62vw, 320px); }
}

/* --------------------------------------------------------------------------
   Menos movimiento
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.tes-cob [data-reveal] { opacity: 1; transform: none; transition: none; }
	.tes-cob__card,
	.tes-cob__card img { transition: none; }
	.tes-cob__card:hover,
	.tes-cob__card:hover img,
	.tes-cob__card:focus-within,
	.tes-cob__card:focus-within img { transform: none; }
}
