/* =========================================================
 * Footer Rosvar
 * Fondo azul marino, 3 columnas:
 *   [Mapa de Sitio] | [Logo + descripción] | [Datos de Contacto]
 * Tarjetas laterales con borde verde lima redondeado.
 * Barra inferior de copyright.
 * ========================================================= */

:root {
	--ros-f-bg:       #0b1733;   /* azul marino del fondo */
	--ros-f-bar:      #060e22;   /* barra inferior, un poco más oscura */
	--ros-f-green:    #b6e021;   /* verde lima de bordes / acentos */
	--ros-f-text:     #e6eaf2;   /* texto general claro */
	--ros-f-muted:    #c2c9d6;   /* texto secundario */
	--ros-f-border:   rgba(182, 224, 33, .9);
	--ros-f-trans:    .25s ease;
}

.ros-footer {
	background: var(--ros-f-bg);
	color: var(--ros-f-text);
	font-family: var(--OZ-Font-Base, Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	padding: 0;
}

.ros-footer * { box-sizing: border-box; }

.ros-footer__container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 56px 32px;
}

/* ---------- Grid principal: 3 columnas ---------- */
.ros-footer__grid {
	display: grid;
	grid-template-columns: 1fr 1.5fr 1fr;
	gap: 40px;
	align-items: stretch;
}

/* =========================================================
 *  Tarjetas laterales (borde verde lima)
 * ========================================================= */
.ros-footer__card {
	border: 2px solid var(--ros-f-border);
	border-radius: 18px;
	padding: 28px 32px 32px;
	min-width: 0;
}

.ros-footer__heading {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
}
/* Subrayado verde corto bajo el título */
.ros-footer__heading::after {
	content: "";
	display: block;
	width: 64px;
	height: 2px;
	margin: 12px auto 0;
	background: var(--ros-f-green);
}

/* ---------- Col 1: Mapa de Sitio (menú) ---------- */
.ros-footer__menu,
.ros-footer__card .menu,
.ros-footer__card ul {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}
.ros-footer__menu li {
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ros-footer__menu li:last-child { border-bottom: none; }
.ros-footer__menu a {
	display: block;
	padding: 13px 2px;
	color: var(--ros-f-text);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	transition: color var(--ros-f-trans), padding-left var(--ros-f-trans);
}
.ros-footer__menu a:hover,
.ros-footer__menu .current-menu-item > a {
	color: var(--ros-f-green);
	padding-left: 6px;
}

/* =========================================================
 *  Col 2: Logo + descripción
 * ========================================================= */
.ros-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 0;
	padding: 0 8px;
}
.ros-footer__logo {
	display: flex;
	align-items: center;
	justify-content: center;
}
.ros-footer__logo a { display: inline-flex; }
.ros-footer__logo img {
	max-width: 420px;
	width: 100%;
	height: auto;
	display: block;
}

/* Divisor verde horizontal bajo el logo */
.ros-footer__divider {
	width: 100%;
	max-width: 560px;
	height: 2px;
	background: var(--ros-f-green);
	margin: 22px 0 26px;
}

.ros-footer__about {
	color: var(--ros-f-muted);
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 16px;
	max-width: 560px;
}
.ros-footer__about:last-child { margin-bottom: 0; }

/* =========================================================
 *  Col 3: Datos de Contacto
 * ========================================================= */
.ros-footer__contacts {
	list-style: none;
	margin: 18px 0 0;
	padding: 0 8px 0 0;
	max-height: 200px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--ros-f-green) transparent;
}
/* Scrollbar estilizada (webkit) — igual que el panel de la imagen */
.ros-footer__contacts::-webkit-scrollbar { width: 6px; }
.ros-footer__contacts::-webkit-scrollbar-track { background: rgba(255, 255, 255, .08); border-radius: 4px; }
.ros-footer__contacts::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .35); border-radius: 4px; }
.ros-footer__contacts::-webkit-scrollbar-thumb:hover { background: var(--ros-f-green); }

.ros-footer__contacts li {
	color: var(--ros-f-muted);
	font-size: 14.5px;
	line-height: 1.55;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ros-footer__contacts li:first-child { padding-top: 0; }
.ros-footer__contacts li:last-child { border-bottom: none; }

.ros-footer__contact-label {
	color: #ffffff;
	font-weight: 600;
	margin-right: 4px;
}
.ros-footer__contacts a {
	color: var(--ros-f-muted);
	text-decoration: none;
	transition: color var(--ros-f-trans);
	word-break: break-word;
}
.ros-footer__contacts a:hover { color: var(--ros-f-green); }
/* Correos: cada uno en su línea */
.ros-footer__contacts li a[href^="mailto:"] { display: inline-block; }

/* =========================================================
 *  Barra inferior de copyright
 * ========================================================= */
.ros-footer__bar {
	background: var(--ros-f-bar);
	padding: 18px 16px;
	text-align: center;
}
.ros-footer__bar p {
	margin: 0;
	color: var(--ros-f-muted);
	font-size: 14px;
	font-weight: 500;
}
.ros-footer__bar a {
	color: var(--ros-f-muted);
	text-decoration: none;
	transition: color var(--ros-f-trans);
}
.ros-footer__bar a:hover { color: var(--ros-f-green); }

/* =========================================================
 *  Responsive
 * ========================================================= */
@media (max-width: 1024px) {
	.ros-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.ros-footer__brand { order: -1; } /* logo arriba en columna única */
	.ros-footer__contacts { max-height: none; } /* sin scroll en apilado */
}

@media (max-width: 768px) {
	.ros-footer__container { padding: 40px 20px; }
	.ros-footer__card { padding: 24px 22px 26px; }
	.ros-footer__logo img { max-width: 320px; }
	.ros-footer__heading { font-size: 20px; }
}

@media (max-width: 480px) {
	.ros-footer__container { padding: 32px 16px; }
	.ros-footer__about { font-size: 14px; }
	.ros-footer__contacts li { font-size: 13.5px; }
	.ros-footer__menu a { font-size: 14px; }
	.ros-footer__bar p { font-size: 13px; }
}
