@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Condensed:wght@600;700&display=swap");

/* ================================================================
   AEROSOSA.CSS
   Hoja de estilos propia del Portal de Manuales Técnicos.
   No depende del CSS del template original (Editorial/HTML5 UP).
   ================================================================ */

/* ---------- 1. Variables de marca ---------- */
:root {
	--navy: #1b1a54;
	--navy-light: #2b3386;
	--navy-deep: #17163f;
	--red: #ef1c2f;
	--ink: #33343d;
	--ink-soft: #5b5d66;
	--bg-page: #ffffff;
	--bg-soft: #f6f7fb;
	--border: #e3e5ec;
	--white: #ffffff;

	--font-body: "IBM Plex Sans", Arial, sans-serif;
	--font-display: "IBM Plex Sans Condensed", Arial, sans-serif;

	--sidebar-width: 24em;
	--radius: 0.5em;
}

/* ---------- 2. Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, section, article, header, footer, nav, ul, li, h1, h2, h3, h4, p, img, a, form, input, button, textarea, select {
	margin: 0;
	padding: 0;
}
html { -webkit-text-size-adjust: none; }
body {
	background: var(--bg-page);
	color: var(--ink-soft);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.65;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: var(--navy-light); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--red); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--navy);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.5em 0;
}
h1 { font-size: 2.4em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.15em; }
p { margin: 0 0 1em 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }

/* ---------- 3. Botones ---------- */
.button, button, input[type="submit"], input[type="button"] {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.85em;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	border-radius: 0.3em;
	border: 2px solid var(--navy);
	background: transparent;
	color: var(--navy);
	padding: 0.85em 1.6em;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.button:hover { background: rgba(27, 26, 84, 0.06); color: var(--navy); }
.button.small { padding: 0.6em 1.2em; font-size: 0.75em; }
.button.primary, .button.alt {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}
.button.primary:hover, .button.alt:hover {
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
}

/* ---------- 4. Estructura de página ---------- */
#wrapper {
	display: flex;
	flex-direction: row-reverse;
	min-height: 100vh;
}
#main {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
}
#main > .inner {
	max-width: 100em;
	margin: 0 auto;
	padding: 2.5em 3em 3em 3em;
}
@media screen and (max-width: 736px) {
	#main > .inner { padding: 1.5em 1.25em 2em 1.25em; }
}

/* ================================================================
   5. Sidebar
   ================================================================ */
#sidebar {
	flex: 0 0 auto;
	width: var(--sidebar-width);
	background: linear-gradient(190deg, var(--navy) 0%, var(--navy-deep) 100%);
	position: relative;
	transition: margin-left 0.4s ease, box-shadow 0.4s ease;
}
#sidebar > .inner {
	position: sticky;
	top: 0;
	max-height: 100vh;
	overflow-y: auto;
	padding: 1.75em 1.75em 2em 1.75em;
}

/* Tarjeta de logo */
.sidebar-logo {
	margin-bottom: 1.4em;
}
.sidebar-logo .logo-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 1.1em 1em;
	box-shadow: 0 0.6em 1.6em rgba(15, 14, 50, 0.28);
}
.sidebar-logo .logo-card img {
	margin: 0 auto;
}

/* Usuario con sesión activa */
.sidebar-user {
	display: flex;
	align-items: center;
	gap: 0.7em;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 0.4em;
	padding: 0.7em 0.9em;
	margin-bottom: 1.4em;
}
.sidebar-user .user-icon {
	flex: 0 0 auto;
	width: 2em;
	height: 2em;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--red);
	color: var(--white);
	font-size: 0.85em;
}
.sidebar-user .user-name {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.88em;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Título de sección */
.sidebar-menu-header {
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.78em;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 0.8em 0.2em;
}

/* Navegación */
.sidebar-menu { margin: 0 0 1.8em 0; }
.sidebar-menu li { margin-top: 0.3em; }
.sidebar-menu li:first-child { margin-top: 0; }
.sidebar-menu li.login-item {
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-menu a {
	display: flex;
	align-items: center;
	gap: 0.9em;
	padding: 0.7em 0.75em;
	border-radius: 0 0.4em 0.4em 0;
	border-left: 3px solid transparent;
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95em;
}
.sidebar-menu a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	border-left-color: rgba(255, 255, 255, 0.3);
}
.sidebar-menu li.active a {
	background: rgba(239, 28, 47, 0.16);
	color: var(--white);
	border-left-color: var(--red);
}
.sidebar-menu .nav-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1em;
	height: 2.1em;
	border-radius: 0.5em;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9em;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.sidebar-menu li.active a .nav-icon {
	background: var(--red);
	color: var(--white);
}

/* Contacto */
.sidebar-contact {
	background: rgba(255, 255, 255, 0.05);
	border-radius: var(--radius);
	padding: 1.4em;
	margin: 1.8em 0;
}
.sidebar-contact h3 {
	color: var(--white);
	font-size: 1.1em;
	padding-bottom: 0.6em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	margin-bottom: 1em;
}
.sidebar-contact ul li {
	display: flex;
	align-items: center;
	gap: 0.8em;
	padding: 0.7em 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.92em;
}
.sidebar-contact ul li + li {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-contact ul li i {
	color: var(--red);
	width: 1.3em;
	text-align: center;
}
.sidebar-contact ul li a {
	color: rgba(255, 255, 255, 0.88);
}
.sidebar-contact ul li a:hover { color: var(--white); }

/* Footer del sidebar */
.sidebar-footer {
	text-align: center;
	padding-top: 1.4em;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-footer .footer-mark { width: 3.4em; margin: 0 auto 0.8em auto; opacity: 0.9; }
.sidebar-footer .copyright {
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.85em;
	margin: 0;
}

/* Comportamiento responsive del sidebar — propio, no depende de JS del template */
#sidebar .toggle {
	display: none;
}
@media screen and (max-width: 1280px) {
	#sidebar {
		position: fixed;
		top: 0; left: 0;
		height: 100%;
		z-index: 10000;
		box-shadow: 0 0 4em rgba(0, 0, 0, 0.25);
		transform: translateX(-100%);
		transition: transform 0.35s ease;
	}
	#sidebar.is-open {
		transform: translateX(0);
	}
	#sidebar > .inner {
		position: static;
		height: 100%;
		max-height: none;
	}
	#sidebar .toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		top: 1em;
		left: 1em;
		width: 2.6em;
		height: 2.6em;
		border-radius: 0.5em;
		background: var(--navy);
		color: var(--white);
		font-size: 1.1em;
		z-index: 10001;
		box-shadow: 0 0.3em 0.8em rgba(0, 0, 0, 0.2);
	}
	#main > .inner { padding-top: 5em; }

	.sidebar-overlay {
		position: fixed;
		inset: 0;
		background: rgba(15, 14, 50, 0.45);
		z-index: 9999;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease;
	}
	.sidebar-overlay.is-open {
		opacity: 1;
		pointer-events: auto;
	}
}

/* ================================================================
   6. Hero — Portal de Manuales
   ================================================================ */
.hero-portal {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	border-radius: 0.6em;
	padding: 3em 3em 0 3em;
	margin: 0 0 2.5em 0;
	color: var(--white);
	position: relative;
	overflow: hidden;
}
.hero-portal:before {
	content: '';
	position: absolute;
	top: -30%;
	right: -8%;
	width: 60%;
	padding-bottom: 60%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
}
.hero-portal h1 {
	color: var(--white);
	font-size: 2.4em;
	margin: 0 0 0.3em 0;
}
.hero-portal p.lead {
	max-width: 46em;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.05em;
	margin-bottom: 2em;
	position: relative;
}
.hero-stats {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	position: relative;
}
.hero-stats .stat {
	flex: 1 1 auto;
	padding: 1.4em 2em 1.4em 0;
	min-width: 11em;
}
.hero-stats .stat + .stat {
	border-left: 1px solid rgba(255, 255, 255, 0.16);
	padding-left: 2em;
}
.hero-stats .stat .num {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2em;
	line-height: 1.1;
}
.hero-stats .stat .label {
	display: block;
	font-size: 0.85em;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 0.2em;
}
@media screen and (max-width: 736px) {
	.hero-portal { padding: 2em 1.5em 0 1.5em; }
	.hero-portal h1 { font-size: 1.8em; }
	.hero-stats .stat { flex: 1 1 50%; border-left: none !important; padding-left: 0 !important; }
}

/* ================================================================
   7. Tarjetas de categoría
   ================================================================ */
.category-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	margin-bottom: 1em;
}
.category-card {
	flex: 1 1 20em;
	display: flex;
	align-items: flex-start;
	gap: 1.2em;
	background: var(--white);
	border: 1px solid var(--border);
	border-left: 4px solid var(--navy);
	border-radius: 0.4em;
	padding: 1.6em;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.category-card:hover { background-color: var(--bg-soft); }
.category-card.accent-red { border-left-color: var(--red); }
.category-card .icon-wrap {
	flex: 0 0 auto;
	width: 2.6em;
	height: 2.6em;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-soft);
	color: var(--navy);
	font-size: 1.1em;
}
.category-card.accent-red .icon-wrap { color: var(--red); }
.category-card h3 { margin: 0 0 0.3em 0; }
.category-card p { margin: 0 0 1em 0; font-size: 0.92em; }

/* ================================================================
   8. Secciones genéricas (para páginas internas: manuales, etc.)
   ================================================================ */
.page-section { margin-bottom: 2.5em; }
.page-section .section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 1.2em;
}
.page-section .section-head h2 {
	position: relative;
	padding-bottom: 0.4em;
	margin: 0;
}
.page-section .section-head h2:after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 2.5em;
	height: 3px;
	background: var(--red);
}

/* Tarjetas simples reutilizables (listados de manuales, etc.) */
.card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 0.4em;
	padding: 1.4em;
}

/* Tablas */
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
table th {
	text-align: left;
	font-size: 0.85em;
	font-weight: 600;
	color: var(--navy);
	padding: 0.75em;
	border-bottom: 2px solid var(--border);
}
table td { padding: 0.75em; border-bottom: 1px solid var(--border); }
table tr:hover td { background: var(--bg-soft); }

/* Formularios */
input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select, textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: 0.95em;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 0.35em;
	padding: 0.7em 0.9em;
}
input[type="text"]:focus, input[type="search"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="tel"]:focus, input[type="url"]:focus, input[type="number"]:focus, input[type="date"]:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--navy-light);
	box-shadow: 0 0 0 3px rgba(43, 51, 134, 0.15);
}
label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.4em; font-size: 0.9em; }

/* ================================================================
   9. Página de listado de manuales
   ================================================================ */

/* Breadcrumb */
.breadcrumb-nav {
	font-size: 0.85em;
	color: var(--ink-soft);
	margin-bottom: 1em;
}
.breadcrumb-nav a { color: var(--navy-light); }
.breadcrumb-nav a:hover { color: var(--red); }
.breadcrumb-nav .sep { margin: 0 0.5em; color: var(--border); }

/* Ícono junto al título */
.title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5em;
	height: 1.5em;
	border-radius: 0.4em;
	background: var(--bg-soft);
	color: var(--navy);
	font-size: 0.7em;
	margin-right: 0.3em;
	vertical-align: middle;
}
.section-sub {
	color: var(--ink-soft);
	font-size: 0.92em;
	margin: 0;
}

/* Buscador */
.manual-search {
	position: relative;
	max-width: 28em;
	margin-top: 1.5em;
}
.manual-search i {
	position: absolute;
	top: 50%;
	left: 1em;
	transform: translateY(-50%);
	color: var(--ink-soft);
	opacity: 0.6;
}
.manual-search input {
	padding-left: 2.6em;
}

/* Título de subcategoría */
.subcat-title {
	display: flex;
	align-items: center;
	gap: 0.7em;
	padding-left: 0.9em;
	border-left: 4px solid var(--navy);
	margin-bottom: 1.2em;
}
.badge-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6em;
	height: 1.6em;
	padding: 0 0.4em;
	border-radius: 1em;
	background: var(--bg-soft);
	color: var(--ink-soft);
	font-family: var(--font-body);
	font-size: 0.65em;
	font-weight: 600;
}

/* Tarjeta de manual */
.manual-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 0.5em;
	padding: 1.4em;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.manual-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.8em 1.6em rgba(27, 26, 84, 0.1);
	border-color: rgba(27, 26, 84, 0.25);
}
.manual-card-icon {
	width: 2.4em;
	height: 2.4em;
	border-radius: 0.5em;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-soft);
	color: var(--navy);
	font-size: 1.1em;
	margin-bottom: 0.8em;
}
.manual-card-title {
	font-family: var(--font-display);
	color: var(--navy);
	font-weight: 700;
	font-size: 1em;
	margin-bottom: 0.9em;
	line-height: 1.35;
}
.manual-meta {
	margin: 0 0 1.1em 0;
	padding-top: 0.9em;
	border-top: 1px solid var(--border);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6em 0.8em;
	flex-grow: 1;
}
.manual-meta dt {
	font-size: 0.72em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ink-soft);
	opacity: 0.75;
	margin: 0 0 0.15em 0;
}
.manual-meta dd {
	font-size: 0.85em;
	color: var(--ink);
	font-weight: 600;
	margin: 0;
}
.manual-card-download {
	align-self: flex-start;
	width: 100%;
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.manual-card-download:hover,
.manual-card-download:focus {
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 0.6em 1.2em rgba(239, 28, 47, 0.28);
}

/* Variante compacta / minimalista */
.manual-card.is-minimal {
	padding: 1.25em 1.4em;
}
.manual-card.is-minimal .manual-card-icon {
	display: none;
}
.manual-card.is-minimal:hover {
	transform: none;
	box-shadow: none;
	border-color: var(--navy-light);
}
.manual-card.is-minimal .manual-card-title {
	display: flex;
	align-items: baseline;
	gap: 0.5em;
	font-size: 0.98em;
	margin-bottom: 0.5em;
}
.manual-card.is-minimal .manual-card-title i {
	font-size: 0.85em;
	color: var(--ink-soft);
	opacity: 0.6;
}
.manual-card.is-minimal .manual-meta {
	display: block;
	border-top: none;
	padding-top: 0;
	margin-bottom: 0.9em;
	font-size: 0.85em;
	color: var(--ink-soft);
}
.manual-card.is-minimal .manual-meta div {
	display: inline;
}
.manual-card.is-minimal .manual-meta dt {
	display: inline;
	text-transform: none;
	letter-spacing: normal;
	font-size: 1em;
	opacity: 1;
	color: var(--ink-soft);
}
.manual-card.is-minimal .manual-meta dt:after { content: ": "; }
.manual-card.is-minimal .manual-meta dd {
	display: inline;
	font-weight: 500;
	color: var(--ink);
}
.manual-card.is-minimal .manual-meta div:not(:last-child):after {
	content: " · ";
	color: var(--border);
}
.manual-card.is-minimal .manual-card-download {
	align-self: flex-start;
	width: auto;
	background: none;
	border: none;
	box-shadow: none;
	color: var(--navy-light);
	text-decoration: none !important;
	padding: 0.35em 0.6em;
	margin-left: -0.6em;
	border-radius: 0.35em;
	text-transform: none;
	font-family: var(--font-body);
	font-weight: 600;
	letter-spacing: normal;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.manual-card.is-minimal .manual-card-download:hover,
.manual-card.is-minimal .manual-card-download:focus {
	background: rgba(239, 28, 47, 0.08);
	color: var(--red);
	text-decoration: none !important;
	transform: none;
	box-shadow: none;
}

/* Sin resultados / vacío */
.empty-state, .no-results-msg {
	text-align: center;
	padding: 3em 1em;
	color: var(--ink-soft);
}
.empty-state i, .no-results-msg i {
	display: block;
	font-size: 2em;
	margin-bottom: 0.5em;
	color: var(--border);
}
.no-results-msg { display: none; }

/* ================================================================
   10. Página de login
   ================================================================ */
body.login-page {
	min-height: 100vh;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	padding: 2em;
}
.login-card {
	width: 100%;
	max-width: 23em;
	background: var(--white);
	border-radius: 0.7em;
	padding: 2.4em 2.2em;
	box-shadow: 0 1.5em 3em rgba(15, 14, 50, 0.35);
	text-align: center;
}
.login-logo { margin-bottom: 1.4em; }
.login-logo img { max-width: 11em; margin: 0 auto; }
.login-card h1 {
	font-size: 1.5em;
	margin-bottom: 0.2em;
}
.login-sub {
	color: var(--ink-soft);
	font-size: 0.9em;
	margin-bottom: 1.6em;
}
.login-alert {
	display: flex;
	align-items: center;
	gap: 0.6em;
	background: rgba(239, 28, 47, 0.08);
	color: var(--red);
	border: 1px solid rgba(239, 28, 47, 0.25);
	border-radius: 0.4em;
	padding: 0.7em 0.9em;
	font-size: 0.85em;
	margin-bottom: 1.4em;
	text-align: left;
}
.login-card form { text-align: left; }
.login-card label {
	margin-top: 1em;
}
.login-card label:first-child { margin-top: 0; }
.login-submit {
	width: 100%;
	margin-top: 1.6em;
}
.login-back {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	margin-top: 1.6em;
	font-size: 0.85em;
	color: var(--ink-soft);
}
.login-back:hover { color: var(--navy-light); }

/* ================================================================
   11. Formulario de reporte SMS (página standalone)
   ================================================================ */
body.report-page {
	min-height: 100vh;
	margin: 0;
	background: var(--bg-soft);
	padding: 3em 1.5em;
}
.report-wrap {
	max-width: 50em;
	margin: 0 auto;
}
.report-header {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	border-radius: 0.6em 0.6em 0 0;
	padding: 2.4em 2.2em;
	color: var(--white);
	text-align: center;
}
.report-header-icon {
	width: 3em;
	height: 3em;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.8em auto;
	font-size: 1.3em;
	color: var(--white);
}
.report-header h1 {
	color: var(--white);
	font-size: 1.6em;
	margin-bottom: 0.3em;
}
.report-header p {
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	font-size: 0.95em;
}
.report-card {
	background: var(--white);
	border-radius: 0 0 0.6em 0.6em;
	padding: 2.4em 2.2em 2.8em 2.2em;
	box-shadow: 0 1em 2.5em rgba(15, 14, 50, 0.08);
}
.report-intro {
	color: var(--ink-soft);
	font-size: 0.95em;
	margin-bottom: 2em;
	padding-bottom: 1.6em;
	border-bottom: 1px solid var(--border);
}
.form-section { margin-bottom: 2.2em; }
.form-section-title {
	display: flex;
	align-items: center;
	gap: 0.6em;
	color: var(--navy);
	font-size: 1.05em;
	margin-bottom: 1.1em;
	padding-bottom: 0.6em;
	border-bottom: 1px solid var(--border);
}
.form-section-title i { color: var(--navy-light); font-size: 0.9em; }
.optional-tag {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 0.75em;
	color: var(--ink-soft);
	opacity: 0.7;
	margin-left: 0.2em;
}
.form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
	gap: 1.2em;
}
.form-grid .span-full { grid-column: 1 / -1; }

/* Chips de selección para "Área" */
.area-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(11em, 1fr));
	gap: 0.7em;
}
.area-option { position: relative; }
.area-checkbox {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.area-option label {
	display: block;
	cursor: pointer;
	text-align: center;
	padding: 0.65em 1em;
	border: 1px solid var(--border);
	border-radius: 2em;
	font-size: 0.88em;
	font-weight: 500;
	color: var(--ink);
	margin: 0;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.area-checkbox:checked + label {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}
.area-checkbox:focus-visible + label {
	outline: 2px solid var(--navy-light);
	outline-offset: 2px;
}

/* Campo trampa anti-spam (honeypot) */
.honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.report-submit { text-align: center; margin-top: 0.5em; }
.report-submit .button { padding: 0.9em 2.6em; }

@media screen and (max-width: 600px) {
	body.report-page { padding: 1.5em 1em; }
	.report-header, .report-card { padding: 1.6em 1.4em; }
}

/* Pantalla de resultado (éxito / error tras enviar el reporte) */
.result-card {
	background: var(--white);
	border-radius: 0.6em;
	padding: 3em 2.4em;
	text-align: center;
	box-shadow: 0 1em 2.5em rgba(15, 14, 50, 0.08);
}
.result-icon {
	width: 3.6em;
	height: 3.6em;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.2em auto;
	font-size: 1.4em;
	color: var(--white);
}
.result-icon.is-success { background: var(--navy); }
.result-icon.is-error { background: var(--red); }
.result-card h1 {
	font-size: 1.4em;
	margin-bottom: 0.4em;
}
.result-card p {
	color: var(--ink-soft);
	margin-bottom: 1.8em;
}

/* ================================================================
   12. Header / navbar horizontal (proyecto de carga — landing)
   ================================================================ */
body.carga-page {
	padding-top: 4.75em; /* espacio para el header fijo */
}

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1000;
	background: var(--white);
	box-shadow: 0 0.2em 1em rgba(15, 14, 50, 0.08);
}
.site-header-inner {
	max-width: 78em;
	margin: 0 auto;
	padding: 0.85em 1.5em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2em;
}
.site-logo { display: flex; align-items: center; }
.site-logo img {
	height: 2.5em;
	display: block;
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.3em;
	color: var(--navy);
	cursor: pointer;
	padding: 0.2em;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 2em;
}
.site-nav ul {
	display: flex;
	gap: 1.8em;
}
.site-nav ul a {
	position: relative;
	display: inline-block;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.95em;
	padding: 0.4em 0;
}
.site-nav ul a::after {
	content: '';
	position: absolute;
	left: 0; bottom: -2px;
	width: 0;
	height: 2px;
	background: var(--red);
	transition: width 0.2s ease;
}
.site-nav ul a:hover { color: var(--navy); }
.site-nav ul a:hover::after,
.site-nav ul a.active::after { width: 100%; }
.site-nav ul a.active { color: var(--navy); }

.site-nav-cta {
	white-space: nowrap;
	padding: 0.7em 1.5em;
	font-size: 0.8em;
}

/* Menú móvil */
@media screen and (max-width: 900px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed;
		top: 4.75em;
		left: 0; right: 0;
		background: var(--white);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5em 1.5em 1.5em 1.5em;
		box-shadow: 0 0.6em 1.2em rgba(15, 14, 50, 0.12);
		transform: translateY(-130%);
		opacity: 0;
		transition: transform 0.3s ease, opacity 0.3s ease;
	}
	.site-nav.is-open {
		transform: translateY(0);
		opacity: 1;
	}
	.site-nav ul {
		flex-direction: column;
		gap: 0;
	}
	.site-nav ul a {
		display: block;
		padding: 0.9em 0;
		border-bottom: 1px solid var(--border);
	}
	.site-nav ul a::after { display: none; }
	.site-nav-cta {
		margin-top: 1em;
		text-align: center;
	}
}

/* ================================================================
   13. Footer (proyecto de carga — landing)
   ================================================================ */
.site-footer {
	background: linear-gradient(190deg, var(--navy) 0%, var(--navy-deep) 100%);
	color: rgba(255, 255, 255, 0.72);
	padding: 4em 1.5em 0 1.5em;
}
.site-footer-inner {
	max-width: 78em;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
	gap: 2.5em;
	padding-bottom: 3em;
}
.footer-wordmark {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.3em;
	color: var(--white);
	margin-bottom: 0.8em;
}
.site-footer .footer-info p {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.92em;
	max-width: 22em;
}
.footer-social {
	display: flex;
	gap: 0.7em;
	margin-top: 1.2em;
}
.footer-social a {
	width: 2.3em;
	height: 2.3em;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
	font-size: 0.95em;
}
.footer-social a:hover {
	background: var(--red);
	color: var(--white);
}
.site-footer h4 {
	color: var(--white);
	font-size: 1.05em;
	margin-bottom: 1.1em;
}
.footer-links ul li { margin-bottom: 0.7em; }
.footer-links ul a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.92em;
}
.footer-links ul a:hover { color: var(--white); }
.footer-contact p {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.92em;
	line-height: 1.9;
}
.footer-contact strong { color: rgba(255, 255, 255, 0.9); }
.footer-bottom {
	max-width: 78em;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1.5em;
	justify-content: space-between;
	padding: 1.4em 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.82em;
	color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: var(--white); }

.scroll-top {
	position: fixed;
	right: 1.5em;
	bottom: 1.5em;
	width: 2.7em;
	height: 2.7em;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--navy);
	color: var(--white);
	font-size: 1.1em;
	box-shadow: 0 0.4em 1em rgba(15, 14, 50, 0.25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.5em);
	transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
	z-index: 999;
}
.scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.scroll-top:hover { background: var(--red); }

@media screen and (max-width: 900px) {
	.site-footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}
@media screen and (max-width: 600px) {
	.site-footer-inner {
		grid-template-columns: 1fr;
	}
}

/* ================================================================
   14. Hero + buscador de encomiendas (index del proyecto de carga)
   ================================================================ */
.hero-carga {
	position: relative;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, var(--navy-deep) 100%);
	padding: 5em 1.5em 7em 1.5em;
	color: var(--white);
	overflow: hidden;
}
.hero-carga::before {
	content: '';
	position: absolute;
	top: -18%;
	right: -8%;
	width: 28em;
	height: 28em;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	pointer-events: none;
}
.hero-carga::after {
	content: '';
	position: absolute;
	bottom: 4%;
	left: -8%;
	width: 16em;
	height: 16em;
	border-radius: 50%;
	background: rgba(239, 28, 47, 0.14);
	pointer-events: none;
}
.hero-carga-ribbon {
	position: absolute;
	top: 42%;
	left: -10%;
	width: 140%;
	height: 4.5em;
	background: linear-gradient(90deg, transparent 0%, rgba(239, 28, 47, 0.16) 35%, rgba(239, 28, 47, 0.26) 50%, rgba(239, 28, 47, 0.16) 65%, transparent 100%);
	transform: rotate(-5deg);
	pointer-events: none;
}
.hero-carga-wave {
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	line-height: 0;
	pointer-events: none;
}
.hero-carga-wave svg {
	display: block;
	width: 100%;
	height: 4.5em;
}
.hero-carga-wave path { fill: var(--bg-page); }
.hero-carga-inner {
	position: relative;
	z-index: 2;
	max-width: 78em;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 3em;
	flex-wrap: wrap;
}
.hero-carga-text { flex: 1 1 26em; }
.hero-carga-text h1 {
	color: var(--white);
	font-size: 2.4em;
	margin-bottom: 0.3em;
}
.hero-carga-text > p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.05em;
	margin-bottom: 1.8em;
	max-width: 30em;
}
.hero-carga-img { flex: 1 1 18em; text-align: center; }
.hero-carga-img img { max-width: 100%; }

.tracking-form {
	display: flex;
	background: var(--white);
	border-radius: 0.6em;
	padding: 0.4em;
	box-shadow: 0 1em 2.5em rgba(15, 14, 50, 0.3);
	max-width: 30em;
}
.tracking-form input {
	border: none;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.75em 1em;
	font-size: 0.95em;
	border-radius: 0;
	box-shadow: none;
}
.tracking-form input:focus { box-shadow: none; }
.tracking-form button {
	flex: 0 0 auto;
	border-radius: 0.4em;
	padding: 0.75em 1.5em;
	white-space: nowrap;
}

@media screen and (max-width: 500px) {
	.tracking-form { flex-direction: column; background: transparent; box-shadow: none; padding: 0; gap: 0.6em; }
	.tracking-form input { border-radius: 0.4em; border: 1px solid var(--border); background: var(--white); }
}

/* ================================================================
   15. Sección de oficinas
   ================================================================ */
.offices-section {
	max-width: 78em;
	margin: 0 auto;
	padding: 4.5em 1.5em;
}
.offices-header {
	text-align: center;
	margin-bottom: 2.5em;
}
.offices-header .eyebrow {
	display: block;
	color: var(--red);
	font-weight: 600;
	font-size: 0.85em;
	margin-bottom: 0.4em;
}
.offices-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
	gap: 1.5em;
}
.office-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 0.5em;
	padding: 1.6em;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.office-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.8em 1.6em rgba(27, 26, 84, 0.1);
	border-color: rgba(27, 26, 84, 0.25);
}
.office-card .icon-wrap {
	width: 2.6em;
	height: 2.6em;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-soft);
	color: var(--navy);
	font-size: 1.1em;
	margin-bottom: 0.9em;
}
.office-card h4 {
	margin-bottom: 0.4em;
	font-size: 1.1em;
}
.office-card p {
	color: var(--ink-soft);
	font-size: 0.88em;
	margin: 0 0 0.2em 0;
}
.office-card .readmore {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	margin-top: 0.9em;
	font-size: 0.88em;
	font-weight: 600;
	color: var(--navy-light);
	padding: 0.2em 0;
	text-decoration: none;
}
.office-card .readmore:hover { color: var(--red); }
.office-card .readmore i {
	font-size: 0.8em;
	transition: transform 0.2s ease;
}
.office-card .readmore:hover i { transform: translateX(3px); }

/* ================================================================
   16. Página interna: header compacto + breadcrumb (Políticas, Servicios, oficinas...)
   ================================================================ */
.page-hero {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	padding: 4em 1.5em 3em 1.5em;
	text-align: center;
	color: var(--white);
}
.page-hero h1 {
	color: var(--white);
	font-size: 2em;
	margin-bottom: 0.3em;
}
.page-hero p {
	color: rgba(255, 255, 255, 0.82);
	max-width: 34em;
	margin: 0 auto;
}
.page-breadcrumb {
	background: var(--white);
	border-bottom: 1px solid var(--border);
	padding: 0.9em 1.5em;
}
.page-breadcrumb ol {
	max-width: 78em;
	margin: 0 auto;
	display: flex;
	gap: 0.5em;
	font-size: 0.85em;
	color: var(--ink-soft);
}
.page-breadcrumb ol li:not(:last-child)::after {
	content: '/';
	margin-left: 0.5em;
	color: var(--border);
}
.page-breadcrumb a { color: var(--navy-light); }
.page-breadcrumb a:hover { color: var(--red); }

/* ================================================================
   17. Políticas — selector de idioma + lista numerada
   ================================================================ */
.policy-section {
	max-width: 50em;
	margin: 0 auto;
	padding: 3.5em 1.5em 5em 1.5em;
}
.policy-tabs {
	display: flex;
	justify-content: center;
	gap: 0.6em;
	margin-bottom: 2.2em;
}
.policy-tab-btn {
	padding: 0.7em 1.7em;
	border-radius: 2em;
	border: 1px solid var(--border);
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.88em;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.policy-tab-btn:hover { border-color: var(--navy-light); }
.policy-tab-btn.is-active {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}
.policy-panel { display: none; }
.policy-panel.is-active { display: block; }
.policy-panel h2 {
	text-align: center;
	font-size: 1.3em;
	margin-bottom: 1.6em;
}
.policy-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.policy-list li {
	display: flex;
	align-items: flex-start;
	gap: 1em;
	padding: 1.1em 0;
	border-bottom: 1px solid var(--border);
}
.policy-list li:last-child { border-bottom: none; }
.policy-list .num {
	flex: 0 0 auto;
	width: 1.9em;
	height: 1.9em;
	border-radius: 50%;
	background: var(--bg-soft);
	color: var(--navy);
	font-weight: 700;
	font-size: 0.82em;
	display: flex;
	align-items: center;
	justify-content: center;
}
.policy-list p {
	margin: 0;
	color: var(--ink);
	font-size: 0.95em;
	line-height: 1.65;
}

/* ================================================================
   18. Páginas de oficina (La Ceiba, San Pedro Sula, Tegucigalpa, Roatán)
   ================================================================ */
.contact-section {
	max-width: 78em;
	margin: 0 auto;
	padding: 3.5em 1.5em 5em 1.5em;
}
.office-block {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 2.5em;
	align-items: start;
	padding: 2.8em 0;
}
.office-block:first-child { padding-top: 0; }
.office-block + .office-block {
	border-top: 1px solid var(--border);
}
.office-info h3 {
	font-size: 1.2em;
	margin-bottom: 1.3em;
}
.office-info-item {
	display: flex;
	gap: 0.9em;
	margin-bottom: 1.3em;
}
.office-info-item:last-child { margin-bottom: 0; }
.office-info-item .icon-wrap {
	flex: 0 0 auto;
	width: 2.3em;
	height: 2.3em;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-soft);
	color: var(--navy);
	font-size: 0.95em;
}
.office-info-item h4 {
	font-family: var(--font-body);
	font-size: 0.78em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ink-soft);
	opacity: 0.75;
	margin: 0 0 0.2em 0;
}
.office-info-item p {
	margin: 0;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.95em;
}
.office-map {
	border-radius: 0.6em;
	overflow: hidden;
	box-shadow: 0 0.8em 2em rgba(15, 14, 50, 0.12);
	line-height: 0;
}
.office-map iframe {
	display: block;
	width: 100%;
	height: 320px;
	border: 0;
}
@media screen and (max-width: 900px) {
	.office-block {
		grid-template-columns: 1fr;
	}
}

/* ================================================================
   19. Rastreo de encomiendas (resultado del tracking)
   ================================================================ */
.tracking-page-section {
	max-width: 78em;
	margin: 0 auto;
	padding: 3.5em 1.5em 5em 1.5em;
}
.tracking-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.8em;
	align-items: start;
}
@media screen and (max-width: 900px) {
	.tracking-grid { grid-template-columns: 1fr; }
}

.tracking-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 0.6em;
	overflow: hidden;
	box-shadow: 0 0.8em 2em rgba(15, 14, 50, 0.08);
}
.tracking-card-header {
	background: var(--navy);
	color: var(--white);
	padding: 1em 1.4em;
	display: flex;
	align-items: center;
	gap: 0.6em;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.05em;
}
.tracking-card-header i { color: rgba(255, 255, 255, 0.75); font-size: 0.9em; }
.tracking-card-body { padding: 1.6em 1.4em; }

/* Filas de datos */
.data-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.4em;
	margin-bottom: 1.3em;
	padding-bottom: 1.3em;
	border-bottom: 1px solid var(--border);
}
.data-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.data-field label {
	display: block;
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ink-soft);
	opacity: 0.75;
	font-weight: 600;
	margin-bottom: 0.4em;
}
.data-field .value {
	color: var(--ink);
	font-weight: 600;
	font-size: 0.95em;
	display: flex;
	align-items: center;
	gap: 0.5em;
}
.data-field .value i { color: var(--navy-light); font-size: 0.85em; }
.data-field .sub {
	color: var(--ink-soft);
	font-size: 0.85em;
	margin-top: 0.4em;
	display: flex;
	align-items: center;
	gap: 0.4em;
}

.tracking-code {
	display: inline-block;
	background: var(--bg-soft);
	color: var(--navy);
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 0.4em 0.8em;
	border-radius: 0.4em;
	font-size: 0.95em;
}
.route-display {
	display: flex;
	align-items: center;
	gap: 0.6em;
	font-weight: 700;
	color: var(--navy);
	font-family: var(--font-display);
	font-size: 1.05em;
}
.route-display i { color: var(--red); font-size: 0.8em; }

/* Badges de estado */
.status-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.4em 0.9em;
	border-radius: 2em;
	font-size: 0.85em;
	font-weight: 600;
}
.status-badge--info { background: var(--bg-soft); color: var(--navy); }
.status-badge--transit { background: rgba(43, 51, 134, 0.12); color: var(--navy-light); }
.status-badge--pending { background: rgba(239, 28, 47, 0.1); color: var(--red); }
.status-badge--delivered { background: var(--navy); color: var(--white); }

/* Línea de tiempo del rastreo */
.tracking-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tracking-item {
	display: flex;
	gap: 1.1em;
	position: relative;
	padding-bottom: 1.8em;
}
.tracking-item:last-child { padding-bottom: 0; }
.tracking-item:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 1.15em;
	top: 2.4em;
	bottom: 0;
	width: 2px;
	background: var(--border);
}
.tracking-icon {
	flex: 0 0 auto;
	width: 2.4em;
	height: 2.4em;
	border-radius: 50%;
	background: var(--bg-soft);
	color: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9em;
	z-index: 2;
}
.tracking-item.active .tracking-icon {
	background: var(--navy);
	color: var(--white);
	box-shadow: 0 0 0 4px rgba(27, 26, 84, 0.14);
}
.tracking-content { padding-top: 0.2em; }
.tracking-content h6 {
	margin: 0 0 0.4em 0;
	font-size: 0.98em;
	color: var(--ink);
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.5em;
}
.tracking-content .meta {
	color: var(--ink-soft);
	font-size: 0.85em;
}
.tracking-content .meta + .meta { margin-top: 0.3em; }
.badge-actual {
	background: var(--red);
	color: var(--white);
	font-size: 0.68em;
	padding: 0.2em 0.65em;
	border-radius: 1em;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.tracking-alert {
	display: flex;
	align-items: center;
	gap: 0.6em;
	background: rgba(239, 28, 47, 0.08);
	color: var(--red);
	border: 1px solid rgba(239, 28, 47, 0.25);
	border-radius: 0.4em;
	padding: 0.9em 1.1em;
	font-size: 0.9em;
}

/* Estado vacío / sin resultados */
.tracking-empty {
	text-align: center;
	padding: 4em 1.5em;
}
.tracking-empty i {
	font-size: 2.6em;
	color: var(--red);
	margin-bottom: 0.6em;
	display: block;
}
.tracking-empty h3 { margin-bottom: 0.3em; }
.tracking-empty h4 {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 1em;
	color: var(--ink-soft);
	margin: 0;
}
