@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;
}
