/* ==========================================================================
   FEHIVER — Páginas Legales, Banner RGPD de Cookies y Formulario de Contacto
   ========================================================================== */

/* Documentos legales limpios */
.fhv-legal-doc {
	max-width: 900px;
	margin: 6px auto 36px;
	padding: 28px 30px;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(16, 24, 36, 0.96), rgba(10, 16, 25, 0.98));
	border: 1px solid rgba(101, 184, 201, 0.26);
	color: #d3e2f0;
	line-height: 1.7;
	font-size: 14.5px;
}

.fhv-legal-head {
	padding-bottom: 18px;
	margin-bottom: 22px;
	border-bottom: 1px solid rgba(101, 184, 201, 0.22);
}

.fhv-legal-kicker {
	display: block;
	font-family: var(--fv-font-mono, 'JetBrains Mono', monospace);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.11em;
	color: #65b8c9;
	margin-bottom: 5px;
}

.fhv-legal-doc h1 {
	margin: 0 0 6px !important;
	font-size: clamp(24px, 3vw, 32px) !important;
	color: #f3f9ff !important;
}

.fhv-legal-doc h2 {
	margin: 26px 0 10px !important;
	font-size: 18px !important;
	color: #8ee0f0 !important;
}

.fhv-legal-doc a { color: #7fd4e6; }
.fhv-legal-doc ul { padding-left: 20px; }
.fhv-legal-doc li { margin-bottom: 6px; }

.fhv-legal-actionbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 9px;
	background: rgba(101, 184, 201, 0.1);
	border: 1px solid rgba(101, 184, 201, 0.32);
	margin-bottom: 20px;
}

.fhv-legal-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 15px;
	border-radius: 7px;
	background: linear-gradient(135deg, #65b8c9 0%, #489bb0 100%);
	border: 1px solid #84d6e6;
	color: #061018 !important;
	font-family: var(--fv-font-mono, 'JetBrains Mono', monospace);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
}

.fhv-legal-table-wrap {
	overflow-x: auto;
	margin: 14px 0;
}

.fhv-legal-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.fhv-legal-table th,
.fhv-legal-table td {
	padding: 10px 12px;
	border: 1px solid rgba(154, 178, 204, 0.18);
	text-align: left;
}

.fhv-legal-table th {
	background: rgba(8, 13, 21, 0.85);
	font-family: var(--fv-font-mono, 'JetBrains Mono', monospace);
	font-size: 11px;
	color: #8ee0f0;
}

/* Contacto y Sugerencias */
.fhv-contact-wrap {
	width: 100%;
	max-width: 1040px;
	margin: 4px auto 36px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.fhv-contact-hero {
	padding: 22px 24px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(16, 25, 38, 0.96), rgba(9, 14, 22, 0.98));
	border: 1px solid rgba(101, 184, 201, 0.3);
	border-left: 3px solid #65b8c9;
}

.fhv-contact-hero h1 {
	margin: 0 0 6px !important;
	font-size: clamp(22px, 2.8vw, 28px) !important;
	color: #f3f9ff !important;
}

.fhv-contact-hero p {
	margin: 0;
	color: #9cb2c8;
	font-size: 14px;
}

.fhv-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(250px, 0.85fr);
	gap: 18px;
	align-items: start;
}

@media (max-width: 860px) {
	.fhv-contact-grid { grid-template-columns: 1fr; }
}

.fhv-contact-form {
	padding: 24px;
	border-radius: 11px;
	background: linear-gradient(180deg, rgba(15, 23, 35, 0.96), rgba(10, 15, 24, 0.98));
	border: 1px solid rgba(101, 184, 201, 0.24);
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.fhv-cf-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

@media (max-width: 600px) {
	.fhv-cf-row { grid-template-columns: 1fr; }
}

.fhv-cf-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fhv-cf-field label {
	font-family: var(--fv-font-mono, 'JetBrains Mono', monospace);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #96aec6;
}

.fhv-cf-field input,
.fhv-cf-field select,
.fhv-cf-field textarea {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	background: #080e16;
	border: 1px solid rgba(154, 178, 204, 0.26);
	color: #eef5fc;
	font-size: 14px;
	outline: none;
}

.fhv-cf-field input:focus,
.fhv-cf-field select:focus,
.fhv-cf-field textarea:focus {
	border-color: #65b8c9;
	box-shadow: 0 0 0 3px rgba(101, 184, 201, 0.16);
}

.fhv-cf-rgpd {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #b7cbe0;
	cursor: pointer;
}

.fhv-cf-rgpd input { margin-top: 3px; accent-color: #65b8c9; }
.fhv-cf-rgpd a { color: #84d3e3; }

.fhv-cf-submit {
	height: 44px;
	padding: 0 24px;
	border-radius: 8px;
	background: linear-gradient(135deg, #65b8c9 0%, #489bb0 100%);
	border: 1px solid #84d6e6;
	color: #061018;
	font-family: var(--fv-font-mono, 'JetBrains Mono', monospace);
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.fhv-cf-submit:disabled { opacity: 0.55; cursor: wait; }

.fhv-cf-status {
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
}

.fhv-cf-status.is-ok {
	background: rgba(100, 184, 140, 0.16);
	border: 1px solid rgba(100, 184, 140, 0.48);
	color: #a6f2c8;
}

.fhv-cf-status.is-err {
	background: rgba(224, 108, 117, 0.16);
	border: 1px solid rgba(224, 108, 117, 0.52);
	color: #ffb6bc;
}

.fhv-cf-legal-layer {
	padding-top: 12px;
	border-top: 1px solid rgba(154, 178, 204, 0.14);
	font-size: 11.8px;
	line-height: 1.55;
	color: #7f97af;
}

.fhv-cf-legal-layer a { color: #7fcad9; }

.fhv-contact-side {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.fhv-contact-card {
	padding: 20px;
	border-radius: 11px;
	background: rgba(13, 20, 31, 0.94);
	border: 1px solid rgba(101, 184, 201, 0.22);
}

.fhv-contact-card h3 {
	margin: 0 0 8px;
	font-size: 16.5px;
	color: #f0f7ff;
}

.fhv-contact-card p {
	margin: 0 0 12px;
	font-size: 13px;
	color: #9bb1c7;
	line-height: 1.5;
}

.fhv-contact-mail {
	font-family: var(--fv-font-mono, 'JetBrains Mono', monospace);
	font-size: 14px;
	font-weight: 700;
	color: #8ee0f0 !important;
	text-decoration: none;
}

/* Banner RGPD de Cookies */
.fhv-ck-banner {
	position: fixed;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 99980;
	max-width: 960px;
	margin: 0 auto;
	padding: 16px 20px;
	border-radius: 12px;
	background: rgba(10, 16, 26, 0.97);
	border: 1px solid rgba(101, 184, 201, 0.45);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	color: #d6e4f2;
}

.fhv-ck-banner[hidden] { display: none !important; }

.fhv-ck-kicker {
	display: block;
	font-family: var(--fv-font-mono, 'JetBrains Mono', monospace);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #65b8c9;
	margin-bottom: 4px;
}

.fhv-ck-banner__text { flex: 1 1 420px; }
.fhv-ck-banner__text p { margin: 0; font-size: 13px; line-height: 1.5; color: #b7cbe0; }
.fhv-ck-banner__text a { color: #84d3e3; }

.fhv-ck-banner__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.fhv-ck-btn {
	height: 36px;
	padding: 0 14px;
	border-radius: 7px;
	font-family: var(--fv-font-mono, 'JetBrains Mono', monospace);
	font-size: 11.5px;
	font-weight: 700;
	cursor: pointer;
	border: 1px solid rgba(154, 178, 204, 0.3);
	background: rgba(16, 26, 40, 0.92);
	color: #dce9f5;
}

.fhv-ck-btn--primary {
	background: linear-gradient(135deg, #65b8c9 0%, #489bb0 100%);
	border-color: #84d6e6;
	color: #061018;
}

/* Modal preferencias cookies */
.fhv-ck-modal {
	position: fixed;
	inset: 0;
	z-index: 99995;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}

.fhv-ck-modal[hidden] { display: none !important; }

.fhv-ck-modal__bg {
	position: absolute;
	inset: 0;
	background: rgba(4, 8, 14, 0.8);
	backdrop-filter: blur(4px);
}

.fhv-ck-modal__box {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 540px;
	padding: 22px 24px;
	border-radius: 12px;
	background: #0e1623;
	border: 1px solid rgba(101, 184, 201, 0.45);
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.72);
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: #e7eef6;
}

.fhv-ck-modal__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.fhv-ck-modal__head h3 { margin: 0; font-size: 19px; color: #f3f9ff; }

.fhv-ck-close {
	width: 32px;
	height: 32px;
	border-radius: 7px;
	border: 1px solid rgba(154, 178, 204, 0.25);
	background: transparent;
	color: #dce9f5;
	font-size: 20px;
	cursor: pointer;
}

.fhv-ck-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 14px;
	border-radius: 8px;
	background: rgba(7, 12, 19, 0.78);
	border: 1px solid rgba(154, 178, 204, 0.16);
}

.fhv-ck-row strong { display: block; font-size: 13.5px; color: #f0f7ff; margin-bottom: 3px; }
.fhv-ck-row p { margin: 0; font-size: 12px; color: #96aec6; line-height: 1.45; }
.fhv-ck-row--check { cursor: pointer; }
.fhv-ck-row--check input { width: 18px; height: 18px; accent-color: #65b8c9; flex-shrink: 0; }

.fhv-ck-always {
	font-family: var(--fv-font-mono, 'JetBrains Mono', monospace);
	font-size: 10.5px;
	font-weight: 700;
	color: #7ee2ae;
	padding: 3px 8px;
	border-radius: 5px;
	background: rgba(100, 184, 140, 0.14);
	border: 1px solid rgba(100, 184, 140, 0.35);
	white-space: nowrap;
}

.fhv-ck-modal__foot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 6px;
}
