/* =========================================================================
   ARCORP — Pie del sitio (footer.php del tema hijo)
   Mismo ancho de contenido que la portada (1600px) y la paleta --ar-*.
   ========================================================================= */

.ar-footer {
	--ar-footer-bg: #0b0b0b;
	--ar-footer-text: #b9b9b9;
	--ar-footer-line: rgba(255, 255, 255, .1);
	background: var(--ar-footer-bg);
	color: var(--ar-footer-text);
	font-size: 14px;
	line-height: 1.6;
}
.ar-footer a { color: inherit; text-decoration: none; transition: color .2s ease; }
.ar-footer a:hover { color: #fff; }
.ar-footer a:focus-visible { outline: 2px solid var(--ar-red, #e3131b); outline-offset: 3px; border-radius: 2px; }

.ar-footer__main { padding: 72px 32px 56px; }
.ar-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.3fr);
	gap: 48px;
	max-width: 1600px;
	margin: 0 auto;
}

/* Marca */
.ar-footer__logo { display: inline-block; }
.ar-footer__logo img { display: block; width: auto; height: 52px; }
.ar-footer__about { max-width: 360px; margin: 18px 0 22px; color: var(--ar-footer-text); }
.ar-footer__social { display: flex; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.ar-footer__social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px;
	border: 1px solid var(--ar-footer-line);
	border-radius: 50%;
	color: #fff;
}
.ar-footer__social a:hover { background: var(--ar-red, #e3131b); border-color: var(--ar-red, #e3131b); }
.ar-footer__claims {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 10px 16px 10px 12px;
	border: 1px solid var(--ar-footer-line);
	border-radius: 10px;
	color: #fff;
}
.ar-footer__claims:hover { border-color: rgba(255, 255, 255, .35); }
.ar-footer__claims img { width: 34px; height: 34px; }
.ar-footer__claims span { display: flex; flex-direction: column; line-height: 1.15; }
.ar-footer__claims small { font-size: 12px; color: var(--ar-footer-text); }
.ar-footer__claims strong { font-size: 15px; font-weight: 700; }

/* Columnas */
.ar-footer__title {
	position: relative;
	margin: 6px 0 22px;
	padding-bottom: 12px;
	font-family: var(--ar-font-head, "Montserrat", sans-serif);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #fff;
}
.ar-footer__title::after {
	content: ""; position: absolute; left: 0; bottom: 0;
	width: 32px; height: 2px; background: var(--ar-red, #e3131b);
}
.ar-footer__links { margin: 0; padding: 0; list-style: none; }
.ar-footer__links li { margin: 0 0 10px; }
/* Al pasar el mouse el enlace se corre y aparece un punto rojo a su izquierda
   (fuera del flujo: en reposo el texto queda alineado con el título). */
.ar-footer__links a { position: relative; display: inline-block; transition: color .2s ease, transform .2s ease; }
.ar-footer__links a::before {
	content: ""; position: absolute; left: -12px; top: 50%;
	width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%;
	background: var(--ar-red, #e3131b); opacity: 0; transition: opacity .2s ease;
}
.ar-footer__links a:hover { transform: translateX(12px); }
.ar-footer__links a:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.ar-footer__links a, .ar-footer a { transition: none; }
	.ar-footer__links a:hover { transform: none; }
}

/* Contacto */
.ar-footer__contact { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ar-footer__contact li { display: flex; gap: 14px; margin: 0; }
.ar-footer__contact-ico {
	flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	border: 1px solid var(--ar-footer-line);
	border-radius: 50%;
	color: var(--ar-red, #e3131b);
}
.ar-footer__contact-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.ar-footer__contact-text strong { margin-bottom: 2px; font-size: 13px; font-weight: 600; color: #fff; }
.ar-footer__contact-text a,
.ar-footer__contact-text span { overflow-wrap: anywhere; }

/* Barra inferior */
.ar-footer__bottom { border-top: 1px solid var(--ar-footer-line); padding: 18px 32px; }
.ar-footer__bottom-inner {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
	max-width: 1600px; margin: 0 auto;
	font-size: 13px; color: #8a8a8a;
}
.ar-footer__bottom p { margin: 0; }
/* Crédito discreto: mismo gris que el copyright, se nota solo al pasar el mouse */
.ar-footer__bottom .ar-footer__credit {
	margin-left: 4px;
	color: inherit;
	opacity: .55;
	text-decoration: none;
	transition: opacity .2s ease;
}
.ar-footer__bottom .ar-footer__credit:hover,
.ar-footer__bottom .ar-footer__credit:focus-visible { opacity: 1; color: inherit; }

/* Laptop / tablet horizontal: marca arriba a todo el ancho, 3 columnas debajo */
@media (max-width: 1200px) {
	.ar-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
	.ar-footer__brand {
		grid-column: 1 / -1;
		display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 40px;
		padding-bottom: 32px; border-bottom: 1px solid var(--ar-footer-line);
	}
	.ar-footer__about { margin: 0; }
	.ar-footer__social { margin: 0; }
	.ar-footer__claims { grid-column: 1 / -1; justify-self: start; }
}
/* Tablet vertical: 2 columnas, contacto a todo el ancho */
@media (max-width: 768px) {
	.ar-footer__main { padding: 56px 24px 40px; }
	.ar-footer__bottom { padding: 16px 24px; }
	.ar-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ar-footer__brand { grid-template-columns: 1fr; }
	.ar-footer__col--contact { grid-column: 1 / -1; }
	.ar-footer__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Móvil */
@media (max-width: 480px) {
	.ar-footer__main { padding: 48px 16px 32px; }
	.ar-footer__bottom { padding: 16px; }
	.ar-footer__grid { gap: 32px 20px; }
	.ar-footer__contact { grid-template-columns: 1fr; }
	.ar-footer__bottom-inner { flex-direction: column; }
}
