/*
Theme Name: Trivilink Airlines
Theme URI: https://fog-nice-55419739.figma.site/
Author: Trivilink Airlines
Description: Theme para Trivilink Airlines: portada con buscador de viajes, sorteo con registro de participantes, destinos destacados, quiénes somos, cómo funciona, FAQ y footer. Textos editables en Apariencia → Personalizar → Trivilink.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trivilink
Tags: dark, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #0a0a0f;
	--bg-alt: #14121e;
	--bg-header: rgba(10, 10, 15, 0.92);
	--card: #1a1727;
	--card-2: #211d31;
	--input: #221f2e;
	--line: #2c2840;
	--line-strong: #3a3552;

	--text: #ffffff;
	--text-soft: #d6d4e4;
	--muted: #a19eba;

	--pink: #e0218a;
	--magenta: #c026d3;
	--purple: #8b3fe6;
	--blue: #3b9cf7;
	--cyan: #22c7e3;

	--grad-btn: linear-gradient(90deg, var(--pink) 0%, var(--purple) 100%);
	--grad-full: linear-gradient(90deg, var(--blue) 0%, var(--purple) 50%, var(--pink) 100%);
	--grad-warm: linear-gradient(90deg, var(--pink) 0%, var(--magenta) 55%, var(--purple) 100%);

	--font-display: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;

	--container: 1800px;
	--gutter: clamp(20px, 3vw, 56px);
	--header-h: 88px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	overflow-x: clip;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
svg.icon { flex-shrink: 0; }

a { color: var(--pink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ff4fb0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--pink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 1320px; }
.container--faq { max-width: 720px; }
.container--content { max-width: 820px; }

/* Texto con degradado */
.grad {
	background: var(--grad-full);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--purple);
}
.grad--warm { background-image: var(--grad-warm); }

/* Etiquetas pequeñas */
.eyebrow {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin: 0 0 12px;
	line-height: 1.3;
}
.eyebrow--pink { color: var(--pink); }
.eyebrow--cyan { color: var(--cyan); }

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 12px 24px;
	border: 0; border-radius: var(--radius);
	font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.2;
	text-decoration: none; cursor: pointer; color: #fff;
	transition: filter .2s ease, transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { color: #fff; }
.btn--grad { background: var(--grad-btn); box-shadow: 0 10px 30px -12px rgba(224, 33, 138, .7); }
.btn--grad:hover { filter: brightness(1.1); }
.btn--grad:active { transform: translateY(1px); }
.btn--outline { background: transparent; border: 1px solid var(--line-strong); padding: 16px 34px; font-size: 18px; }
.btn--outline:hover { border-color: var(--pink); }
.btn--lg { padding: 17px 42px; font-size: 19px; }
.btn--sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn--caps { text-transform: uppercase; font-weight: 700; letter-spacing: .01em; }

.icon-btn {
	display: inline-grid; place-items: center;
	width: 48px; height: 48px;
	background: #16141f; color: #fff;
	border: 1px solid var(--line); border-radius: 12px;
	cursor: pointer; transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--pink); color: #fff; }

/* ==========================================================================
   Cabecera
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--bg-header);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, .05);
	transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .8); }
.admin-bar .site-header { top: 32px; }

.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: var(--header-h);
	max-width: 1820px;
	padding-left: clamp(20px, 5vw, 100px);
	padding-right: clamp(20px, 5vw, 96px);
}

.site-logo img,
.custom-logo { width: auto; max-height: 64px; }
.custom-logo-link { display: inline-block; }

.main-nav__list { display: flex; gap: clamp(12px, 2.4vw, 46px); list-style: none; margin: 0; padding: 0; }
.main-nav__list a {
	position: relative; display: block; padding: 18px 20px;
	font-family: var(--font-display); font-size: 17px; font-weight: 500;
	color: var(--text-soft); text-decoration: none;
}
.main-nav__list a:hover { color: #fff; }
.main-nav__list .current-menu-item > a,
.main-nav__list a[aria-current="page"] { color: var(--pink); font-weight: 600; }
.main-nav__list .current-menu-item > a::after,
.main-nav__list a[aria-current="page"]::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
	background: var(--pink); border-radius: 2px;
}

.header-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline; }

.header-search { border-top: 1px solid var(--line); padding: 16px 0; background: var(--bg); }

/* ==========================================================================
   Formularios
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 14px; font-weight: 500; color: var(--text-soft);
}
.field label .icon { color: var(--cyan); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="search"],
input[type="url"],
input[type="password"],
select,
textarea {
	width: 100%;
	min-height: 58px;
	padding: 14px 20px;
	background: var(--input);
	color: #fff;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	font: 400 18px/1.3 var(--font-body);
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
textarea { min-height: 140px; }
input::placeholder, textarea::placeholder { color: #8f8ca6; }
input:focus, select:focus, textarea:focus {
	outline: none; border-color: var(--pink);
	box-shadow: 0 0 0 3px rgba(224, 33, 138, .25);
}
input[type="date"] { color-scheme: dark; }
select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a19eba' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
select option { background: var(--card); }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-soft); line-height: 1.5; cursor: pointer; }
.check input {
	flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pink);
}

.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; min-height: 52px; font-size: 16px; }

.notice { padding: 14px 18px; border-radius: 12px; font-size: 15px; margin: 0 0 20px; border: 1px solid; }
.notice--success { background: rgba(34, 199, 227, .1); border-color: rgba(34, 199, 227, .45); color: #b8f1fb; }
.notice--info { background: rgba(139, 63, 230, .12); border-color: rgba(139, 63, 230, .5); color: #dcc8fb; }
.notice--error { background: rgba(224, 33, 138, .12); border-color: rgba(224, 33, 138, .5); color: #ffc2e3; }

/* ==========================================================================
   Tarjetas base
   ========================================================================== */
.card {
	background: rgba(22, 19, 34, .82);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

.mini-icon {
	display: inline-grid; place-items: center;
	width: 32px; height: 32px; flex-shrink: 0;
	color: var(--pink);
	background: rgba(224, 33, 138, .12);
	border: 1px solid rgba(224, 33, 138, .3);
	border-radius: 8px;
}
.mini-icon--lg { width: 54px; height: 54px; border-radius: 12px; margin-bottom: 24px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 120px 0 170px; isolation: isolate; }
.hero__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(60% 70% at 38% 30%, rgba(61, 42, 120, .55), transparent 70%),
		radial-gradient(50% 60% at 85% 85%, rgba(140, 30, 110, .25), transparent 70%),
		linear-gradient(180deg, #120f1d 0%, #1a1530 45%, #150f22 100%);
}
/* Arcos tipo ventanilla de avión */
.hero__bg::before,
.hero__bg::after {
	content: ""; position: absolute; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .05);
}
.hero__bg::before {
	width: 1300px; height: 1300px; left: 50%; top: -140px; transform: translateX(-62%);
	background: radial-gradient(circle at 50% 30%, rgba(80, 60, 150, .25), transparent 60%);
	box-shadow: inset 0 0 120px rgba(0, 0, 0, .4);
}
.hero__bg::after {
	width: 1000px; height: 1000px; left: 50%; top: 10px; transform: translateX(-55%);
	border-color: rgba(255, 255, 255, .035);
}

.hero__grid {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(32px, 3.5vw, 64px); align-items: start;
	max-width: 1820px; padding-left: clamp(20px, 5vw, 96px); padding-right: clamp(20px, 5vw, 96px);
}
.hero--solo .hero__grid { grid-template-columns: minmax(0, 1fr); max-width: 1180px; }
.hero__main { padding-top: 70px; }

.pill {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 12px 20px; margin: 0 0 44px;
	border: 1px solid rgba(224, 33, 138, .45); border-radius: 999px;
	background: rgba(224, 33, 138, .14);
	color: var(--pink); font-family: var(--font-display); font-weight: 600; font-size: 17px;
	text-transform: uppercase; letter-spacing: .02em;
}
.pill .icon { color: #fff; }

.hero__title {
	font-size: clamp(46px, 4.4vw, 86px);
	font-weight: 700; line-height: 1.06; letter-spacing: -0.02em;
	margin-bottom: 36px;
}
.hero__title .grad { display: inline-block; padding-bottom: .08em; }

.hero__lead { font-size: clamp(18px, 1.35vw, 23px); line-height: 1.75; color: var(--text-soft); max-width: 600px; margin-bottom: 56px; }

/* Buscador */
.trip-search { padding: 36px 30px 30px; border-radius: var(--radius-lg); max-width: 912px; }
.trip-search .eyebrow { font-size: 15px; margin-bottom: 26px; font-family: var(--font-display); font-weight: 700; letter-spacing: .03em; }
.trip-search__fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.trip-search .btn--lg { padding: 17px 40px; }

/* Sorteo */
.sorteo { padding: 40px 40px 36px; position: relative; scroll-margin-top: calc(var(--header-h) + 16px); }
.sorteo .eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .03em; }
.sorteo__title { font-size: clamp(26px, 2vw, 34px); margin-bottom: 14px; letter-spacing: -0.015em; }
.sorteo__text { color: var(--muted); font-size: 16px; line-height: 1.6; }
.sorteo__perks {
	list-style: none; margin: 22px 0 26px; padding: 0 0 26px;
	display: grid; gap: 10px; border-bottom: 1px solid var(--line);
}
.sorteo__perks li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--text-soft); }
.sorteo__form { display: grid; gap: 22px; }
.sorteo__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sorteo__form .check a { color: var(--pink); }
.sorteo__fine { text-align: center; font-size: 14px; color: var(--text-soft); margin: -4px 0 0; }

/* ==========================================================================
   Secciones
   ========================================================================== */
.section { padding: clamp(80px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg); }

.section-head { margin-bottom: clamp(48px, 6vw, 90px); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { font-size: 15px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 70px; }
.section-head--split .eyebrow { font-size: 15px; }

.section-title { font-size: clamp(34px, 3.4vw, 60px); margin: 0; letter-spacing: -0.02em; }
.section-title--xl { font-size: clamp(38px, 3.6vw, 64px); }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

/* Ventajas */
.feature {
	background: #1b1829;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 40px 40px 56px;
}
.feature__icon {
	display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 28px;
	border-radius: 14px; color: var(--pink);
	background: linear-gradient(145deg, rgba(224, 33, 138, .22), rgba(139, 63, 230, .14));
	border: 1px solid rgba(224, 33, 138, .25);
}
.feature__title { font-size: 21px; margin-bottom: 14px; line-height: 1.3; }
.feature__text { color: var(--muted); font-size: 18px; line-height: 1.65; margin: 0; }

/* Destinos */
.grid-4--dest { gap: 20px; }
.dest-card {
	display: flex; flex-direction: column;
	background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
}
.dest-card__media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #2a1d45, #4a1f4a); }
.dest-card__media img { width: 100%; height: 100%; object-fit: cover; }
.dest-card__tag {
	position: absolute; top: 14px; left: 14px;
	padding: 4px 12px; border-radius: 999px;
	background: rgba(18, 10, 28, .55); border: 1px solid rgba(224, 33, 138, .6);
	color: #ff7cc6; font-size: 13px; font-weight: 500;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.dest-card__body { padding: 22px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.dest-card__title { font-size: 20px; margin-bottom: 4px; }
.dest-card__place { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.dest-card .btn { margin-top: auto; }

/* Quiénes somos */
.about {
	position: relative;
	background:
		radial-gradient(30% 50% at 6% 20%, rgba(70, 45, 150, .35), transparent 70%),
		radial-gradient(35% 55% at 95% 85%, rgba(150, 30, 100, .25), transparent 70%),
		linear-gradient(180deg, #120e1e 0%, #1a0f22 100%);
}
.about .section-head { margin-bottom: 60px; }
.about-card { padding: 34px 34px 36px; border-radius: var(--radius-lg); border: 1px solid; }
.about-card .eyebrow { font-size: 12px; font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; }
.about-card p { margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.75; }
.about-card--cyan { background: linear-gradient(160deg, #131c34 0%, #10142a 100%); border-color: rgba(34, 199, 227, .3); }
.about-card--cyan .mini-icon { color: var(--cyan); background: rgba(34, 199, 227, .1); border-color: rgba(34, 199, 227, .3); }
.about-card--pink { background: linear-gradient(160deg, #241232 0%, #1c0f26 100%); border-color: rgba(224, 33, 138, .3); }

/* Cómo funciona */
.steps {
	list-style: none; margin: 0 auto; padding: 0; max-width: 1240px;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.step { position: relative; text-align: center; }
.step__num {
	display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px;
	border-radius: 50%; border: 1px solid rgba(224, 33, 138, .4);
	background: rgba(224, 33, 138, .1); color: var(--pink);
	font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.step:not(:last-child)::after {
	content: ""; position: absolute; top: 12px; right: -14px; width: 28px; height: 1px;
	background: linear-gradient(90deg, var(--pink), var(--purple));
}
.step__title { font-size: 17px; margin-bottom: 8px; }
.step__text { color: var(--muted); font-size: 13px; margin: 0; }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: 80px 0 80px; text-align: center; }
.cta__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(40% 70% at 0% 50%, rgba(120, 20, 120, .35), transparent 70%),
		radial-gradient(40% 70% at 100% 100%, rgba(150, 20, 90, .3), transparent 70%),
		linear-gradient(180deg, #1d1438 0%, #221539 50%, #1b1230 100%);
}
.cta__bg::before {
	content: ""; position: absolute; left: 34%; top: 12%; width: 60%; height: 80%;
	background: linear-gradient(170deg, rgba(255, 255, 255, .03), transparent 60%);
	clip-path: polygon(0 0, 100% 30%, 60% 55%, 100% 100%, 20% 60%);
}
.cta__inner { max-width: 620px; }
.cta__icon {
	display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 30px;
	border-radius: 50%; background: var(--grad-btn); color: #fff;
	box-shadow: 0 10px 30px -10px rgba(224, 33, 138, .8);
}
.cta__title { font-size: clamp(32px, 3vw, 46px); line-height: 1.15; margin-bottom: 22px; }
.cta__text { color: var(--text-soft); font-size: 15px; margin-bottom: 34px; }
.cta .btn--lg { font-size: 15px; padding: 16px 40px; border-radius: 12px; }

/* FAQ */
.faq { border-top: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 0; cursor: pointer; list-style: none;
	font-family: var(--font-display); font-weight: 600; font-size: 15px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--pink); transition: transform .25s ease; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:hover { color: #fff; }
.faq__answer { padding: 0 32px 20px 0; color: var(--muted); font-size: 15px; }
.faq__answer p { margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg); border-top: 1px solid rgba(255, 255, 255, .04); padding: 56px 0 28px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer__brand .site-logo img,
.site-footer__brand .custom-logo { max-height: 48px; margin-bottom: 18px; }
.site-footer__brand p { color: #8c8aa7; font-size: 13px; line-height: 1.55; max-width: 190px; }
.site-footer__title { font-size: 13px; margin-bottom: 22px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a { color: #8c8aa7; font-size: 13px; text-decoration: none; }
.footer-menu a:hover { color: #fff; }
.footer-menu--inline { display: flex; gap: 14px; }
.site-footer__bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
}
.site-footer__bottom p { margin: 0; color: #8c8aa7; font-size: 12px; }

/* Botón flotante de ayuda */
.help-fab {
	position: fixed; right: 40px; bottom: 40px; z-index: 90;
	display: inline-flex; align-items: center; gap: 14px;
	padding: 16px 26px; border-radius: 999px;
	background: var(--grad-btn); color: #fff; text-decoration: none;
	font-family: var(--font-display); font-weight: 700; font-size: 17px;
	box-shadow: 0 14px 34px -10px rgba(224, 33, 138, .7);
	transition: filter .2s, transform .2s;
}
.help-fab:hover { color: #fff; filter: brightness(1.1); transform: translateY(-2px); }

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-hero {
	padding: clamp(64px, 8vw, 110px) 0 clamp(36px, 4vw, 56px);
	background:
		radial-gradient(50% 80% at 20% 0%, rgba(61, 42, 120, .45), transparent 70%),
		var(--bg-alt);
}
.page-hero--center { text-align: center; }
.page-hero--center .hero__lead { margin-left: auto; margin-right: auto; margin-bottom: 32px; }
.page-hero--center .search-form { max-width: 520px; margin: 32px auto 0; }
.page-hero__title { font-size: clamp(36px, 4.4vw, 68px); margin: 0; letter-spacing: -0.02em; }

.dest-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; padding: 60px 0; overflow: hidden; background: var(--bg-alt); }
.dest-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dest-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 15, .1) 0%, rgba(10, 10, 15, .9) 100%); }
.dest-hero__inner { position: relative; z-index: 1; }
.dest-hero .dest-card__tag { position: static; display: inline-block; margin-bottom: 14px; }
.dest-hero .dest-card__place { margin: 12px 0 0; }

.entry-content { font-size: 17px; color: var(--text-soft); }
.entry-content h2 { font-size: 32px; margin-top: 1.6em; color: #fff; }
.entry-content h3 { font-size: 24px; margin-top: 1.4em; color: #fff; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--pink); color: #fff; }
.entry-content .wp-block-button__link { background: var(--grad-btn); border-radius: var(--radius); font-family: var(--font-display); font-weight: 600; }
.entry-thumb { margin: 0 0 32px; }
.entry-thumb img { border-radius: var(--radius-lg); }

.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.post-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card__date { color: var(--cyan); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.post-card__title { font-size: 22px; }
.post-card__title a { color: #fff; text-decoration: none; }
.post-card__title a:hover { color: var(--pink); }
.post-card__excerpt { color: var(--muted); font-size: 15px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 12px; color: #fff; text-decoration: none;
}
.pagination .page-numbers.current { background: var(--grad-btn); border-color: transparent; }
.empty { text-align: center; color: var(--muted); max-width: 520px; margin: 0 auto; }

/* Comentarios */
.comment-list { list-style: none; padding: 0; }
.comment-body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.comment-respond { margin: 40px 0 80px; }
.form-submit .submit { background: var(--grad-btn); color: #fff; border: 0; border-radius: var(--radius); padding: 14px 28px; font: 600 16px var(--font-display); cursor: pointer; }

/* Alineaciones de WordPress */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { color: var(--muted); font-size: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1400px) {
	.main-nav__list a { padding: 18px 8px; }
	.feature { padding: 32px 28px 40px; }
	.feature__text { font-size: 16px; }
}

@media (max-width: 1200px) {
	.hero { padding: 64px 0 100px; }
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__main { padding-top: 0; }
	.sorteo { max-width: 760px; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-4--dest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
	/* Sin backdrop-filter: si no, el menú fijo se posiciona dentro de la cabecera. */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
	.nav-toggle { display: inline-grid; }
	.main-nav {
		position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
		background: var(--bg); padding: 24px var(--gutter);
		transform: translateX(100%); visibility: hidden;
		transition: transform .3s ease, visibility .3s;
		overflow-y: auto;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 32px); }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.main-nav__list { flex-direction: column; gap: 0; }
	.main-nav__list a { padding: 18px 4px; font-size: 22px; border-bottom: 1px solid var(--line); }
	.main-nav__list .current-menu-item > a::after,
	.main-nav__list a[aria-current="page"]::after { display: none; }
}

@media (max-width: 860px) {
	:root { --header-h: 72px; }
	.site-logo img, .custom-logo { max-height: 50px; }
	.icon-btn { width: 42px; height: 42px; }
	.trip-search__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
	.grid-4--dest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
	.step:nth-child(2)::after { display: none; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.help-fab { right: 16px; bottom: 16px; padding: 14px 20px; font-size: 15px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
	.header-actions .icon-btn:not(.nav-toggle):not([data-toggle="search"]) { display: none; }
	.pill { font-size: 14px; margin-bottom: 28px; }
	.hero__title { font-size: 44px; }
	.hero__lead { margin-bottom: 36px; }
	.trip-search { padding: 26px 18px 20px; }
	.trip-search__fields { grid-template-columns: minmax(0, 1fr); }
	.trip-search .btn { width: 100%; }
	.sorteo { padding: 28px 20px; border-radius: var(--radius-lg); }
	.sorteo__row { grid-template-columns: minmax(0, 1fr); }
	.grid-4, .grid-4--dest { grid-template-columns: minmax(0, 1fr); }
	.steps { grid-template-columns: minmax(0, 1fr); }
	.step::after { display: none; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.help-fab span { display: none; }
	.help-fab { padding: 16px; }
	.search-form .btn span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
