/* =========================================================
 * Footer OZ-Thema-4.0 — Confeindustria Israel
 * Estructura:
 *   1) Hero (imagen + CTA + barra de métodos de pago)
 *   2) Cuerpo: tarjeta blanca con 4 columnas sobre fondo azul
 *   3) Barra inferior con redes y copyright
 * Colores: azul #171770 · amarillo #FCC62E
 * ========================================================= */

:root {
	--oz-f-blue:        #171770;
	--oz-f-blue-dark:   #0f0f55;
	--oz-f-yellow:      #FCC62E;
	--oz-f-yellow-dark: #e6b021;
	--oz-f-text:        #1f2937;
	--oz-f-text-muted:  #6b7280;
	--oz-f-text-soft:   #9aa3b8;
	--oz-f-radius:      24px;
	--oz-f-trans:       .2s ease;
}

/* ---------- Reset puntual ---------- */
.oz-footer,
.oz-footer * {
	box-sizing: border-box;
}
.oz-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.oz-footer a {
	color: inherit;
	text-decoration: none;
}

.oz-footer {
	background: #ffffff;
	color: var(--oz-f-text);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	margin-top: 60px;
}

/* =========================================================
 *  HERO superior
 * ========================================================= */
.oz-footer__hero {
	position: relative;
	display: flex;            /* 2 columnas: texto (40%) + imagen (60%) */
	align-items: stretch;     /* ambas columnas igualan su altura */
	background: #F8F8F8;
	padding: 0;
	overflow: visible; /* permite que la barra amarilla sobresalga */
}

.oz-footer__hero-inner {
	flex: 0 0 40%;
	max-width: 40%;
	padding: 56px 32px 96px;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 2;
}

.oz-footer__hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	max-width: 480px;
}

.oz-footer__hero-tag {
	display: inline-block;
	padding: 6px 14px;
	background: var(--oz-f-blue);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	border-radius: 4px;
	text-transform: uppercase;
}

.oz-footer__hero-title {
	margin: 12px 0 0;
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 500;
	line-height: 1.1;
	color: var(--oz-f-text);
}
.oz-footer__hero-title strong {
	display: block;
	color: var(--oz-f-blue);
	font-weight: 800;
}

.oz-footer__hero-desc {
	margin: 0;
	font-size: 14px;
	color: var(--oz-f-text-muted);
	line-height: 1.5;
}

.oz-footer__hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	padding: 12px 24px;
	background: var(--oz-f-yellow);
	color: var(--oz-f-text);
	font-size: 14px;
	font-weight: 600;
	border-radius: 999px;
	transition: background-color var(--oz-f-trans), transform var(--oz-f-trans);
}
.oz-footer__hero-cta:hover {
	background: var(--oz-f-yellow-dark);
	transform: translateY(-1px);
}
.oz-footer__hero-cta svg { flex: 0 0 auto; }

/* Imagen del repartidor: banner ancho en la parte derecha del hero
   (ocupa más ancho que la columna de texto) */
.oz-footer__hero-image {
	position: relative;
	flex: 0 0 60%;      /* imagen ocupa el 60% */
	max-width: 60%;
	z-index: 1;
	pointer-events: none;
	display: flex;
	justify-content: flex-end;
	align-items: stretch;
	overflow: hidden;
}
.oz-footer__hero-image img {
	width: 100%;
	height: auto;        /* la imagen define la altura de su columna: se ve completa */
	min-height: 100%;    /* si el texto fuese más alto, la imagen llena todo el alto (cover) */
	max-width: none;
	object-fit: cover;
	object-position: center center;
	display: block;
}

/* ---------- Barra de métodos de pago ---------- */
.oz-footer__payments {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	transform: translateY(50%); /* mitad sobre el hero, mitad sobre el azul */
	padding: 0 32px;
	pointer-events: none;
}

.oz-footer__payments-inner {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	padding: 22px 36px;
	background: var(--oz-f-yellow);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
	pointer-events: auto;
}

.oz-footer__payments-text {
	flex: 0 1 auto;
	text-align: center;
}

.oz-footer__payments-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: var(--oz-f-text);
	line-height: 1.2;
}
.oz-footer__payments-desc {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--oz-f-text);
	font-weight: 500;
}

/* =========================================================
 *  CUERPO: tarjeta blanca sobre fondo azul
 * ========================================================= */
.oz-footer__body {
	position: relative;
	background: var(--oz-f-blue);
	padding: 96px 32px 28px;
}

.oz-footer__card {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	background: transparent;
	border-radius: var(--oz-f-radius);
	padding: 48px 56px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 48px;
}

.oz-footer__col {
	min-width: 0;
}

/* Información: pegada al borde izquierdo de la tarjeta */
.oz-footer__col--info {
	flex: 0 0 auto;
}

/* Marca: ocupa el centro y absorbe el espacio sobrante */
.oz-footer__col--brand {
	flex: 1 1 auto;
	max-width: 460px;
}

/* Páginas: pegada al borde derecho de la tarjeta */
.oz-footer__col--pages {
	flex: 0 0 auto;
	text-align: right;
}
.oz-footer__col--pages .oz-footer__title {
	display: inline-block;
}
.oz-footer__col--pages .oz-footer__list li {
	padding-left: 0;
	padding-right: 22px;
}
.oz-footer__col--pages .oz-footer__list li::before {
	left: auto;
	right: 0;
}

/* Col central: marca — logo claro + descripción + dirección, todo centrado */
.oz-footer__col--brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 22px;
}
.oz-footer__col--brand .oz-footer__brand {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.oz-footer__col--brand .oz-footer__brand-link {
	display: inline-block;
}
.oz-footer__col--brand .oz-footer__brand img,
.oz-footer__col--brand .oz-footer__brand .oz-footer__brand-logo,
.oz-footer__col--brand .oz-footer__brand .custom-logo {
	max-width: 320px;
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

@media (max-width: 1023px) {
	.oz-footer__col--brand .oz-footer__brand img,
	.oz-footer__col--brand .oz-footer__brand .oz-footer__brand-logo,
	.oz-footer__col--brand .oz-footer__brand .custom-logo {
		max-width: 280px;
	}
}

@media (max-width: 767px) {
	.oz-footer__col--brand .oz-footer__brand img,
	.oz-footer__col--brand .oz-footer__brand .oz-footer__brand-logo,
	.oz-footer__col--brand .oz-footer__brand .custom-logo {
		max-width: 240px;
		margin: 0 auto;
	}
}
.oz-footer__brand-text {
	font-weight: 800;
	font-size: 1.2rem;
	color: #ffffff;
	display: inline-block;
}
.oz-footer__about {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .88);
	text-align: center;
}
.oz-footer__address {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.5;
}
.oz-footer__address-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--oz-f-yellow);
	flex: 0 0 auto;
}
.oz-footer__address-icon svg { display: block; }

.oz-footer__title {
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 700;
	color: var(--oz-f-yellow);
	letter-spacing: 0;
	position: relative;
	padding-bottom: 8px;
}
.oz-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 2px;
	background: var(--oz-f-yellow);
	border-radius: 2px;
}

/* Listas con bullet "+" amarillo */
.oz-footer__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.oz-footer__list li {
	position: relative;
	padding-left: 22px;
}
.oz-footer__list li::before {
	content: "+";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--oz-f-yellow);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.5;
}
.oz-footer__list a {
	font-size: 14px;
	color: #ffffff;
	transition: color var(--oz-f-trans), padding-left var(--oz-f-trans);
}
.oz-footer__list a:hover {
	color: var(--oz-f-yellow);
	padding-left: 4px;
}

.oz-footer__empty {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, .75);
}

/* Información de contacto */
.oz-footer__contacts {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.oz-footer__contact {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.oz-footer__contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--oz-f-yellow);
	color: var(--oz-f-blue);
	flex: 0 0 auto;
}
.oz-footer__contact-icon svg { display: block; }
.oz-footer__contact-text {
	font-size: 13.5px;
	color: #ffffff;
	line-height: 1.5;
	padding-top: 4px;
}
.oz-footer__contact-text a {
	color: #ffffff;
	transition: color var(--oz-f-trans);
}
.oz-footer__contact-text a:hover { color: var(--oz-f-yellow); }
.oz-footer__contact-text--stack {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* =========================================================
 *  BARRA INFERIOR: redes + copyright
 * ========================================================= */
.oz-footer__bottom {
	background: var(--oz-f-blue);
	padding: 8px 32px 36px;
}
.oz-footer__bottom-inner {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.oz-footer__social {
	display: flex;
	gap: 12px;
	align-items: center;
}
.oz-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #ffffff;
	transition: background-color var(--oz-f-trans), transform var(--oz-f-trans);
}
.oz-footer__social a:hover {
	background: var(--oz-f-yellow);
	color: var(--oz-f-blue);
	transform: translateY(-2px);
}

/* =========================================================
 *  RESPONSIVE
 * ========================================================= */

/* --- Desktop ancho (≥ 1280px): nada extra --- */

/* --- Desktop normal (≥ 1024px y < 1280px) --- */
@media (max-width: 1279px) {
	.oz-footer__card {
		padding: 40px 40px;
		gap: 32px;
	}
}

/* --- Tablet (< 1024px) --- */
@media (max-width: 1023px) {
	.oz-footer__hero-inner {
		padding: 40px 24px;
	}
	.oz-footer__payments-inner {
		padding: 18px 24px;
		gap: 16px;
	}
	.oz-footer__payments-title { font-size: 19px; }

	.oz-footer__card {
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 32px 40px;
		padding: 40px 32px;
	}
	/* Marca arriba, ocupando todo el ancho; Información y Páginas debajo */
	.oz-footer__col--brand {
		order: -1;
		flex: 1 1 100%;
		max-width: none;
	}
	.oz-footer__col--info,
	.oz-footer__col--pages {
		flex: 0 1 auto;
	}
}

/* --- Móvil (< 768px) --- */
@media (max-width: 767px) {
	.oz-footer { margin-top: 40px; }

	/* En móvil la imagen es un banner que ocupa la parte superior,
	   el texto va debajo y la barra amarilla flota al final del hero. */
	.oz-footer__hero {
		display: flex;
		flex-direction: column;
		overflow: visible; /* permite que la barra amarilla sobresalga abajo */
	}
	.oz-footer__hero-image {
		position: relative;
		inset: auto;
		flex: 0 0 auto;      /* reset del flex 60% de escritorio */
		max-width: none;
		width: 100%;
		height: auto; /* antes 280px fijo: recortaba (se comía al repartidor y la caja) */
		order: 1;
	}
	.oz-footer__hero-image img {
		position: relative;
		inset: auto;
		width: 100%;
		height: auto;        /* imagen COMPLETA, sin recorte */
		min-height: 0;       /* reset del min-height:100% de escritorio */
		object-fit: contain; /* (irrelevante con height:auto, pero por seguridad) */
		object-position: center center;
	}
	.oz-footer__hero-inner {
		order: 2;
		flex: 0 0 auto;      /* reset del flex 40% de escritorio */
		max-width: none;
		width: 100%;
		min-height: 0;
		padding: 24px 20px 32px;
	}
	.oz-footer__hero-content {
		max-width: none;
	}

	/* Barra amarilla en móvil: apilada al final del hero, sin solapar el azul */
	.oz-footer__payments {
		order: 3;
		position: static;
		left: auto;
		right: auto;
		bottom: auto;
		transform: none;
		z-index: auto;
		margin-top: 0;
		margin-bottom: 0;
		padding: 0 16px 24px;
	}
	.oz-footer__payments-inner {
		text-align: center;
		gap: 14px;
		padding: 18px 20px;
		box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
	}

	.oz-footer__body {
		padding: 32px 16px 20px;
	}
	.oz-footer__card {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		gap: 32px;
		padding: 32px 24px;
		border-radius: 18px;
	}
	.oz-footer__col {
		flex: 0 0 auto;
		width: 100%;
		text-align: center;
	}
	.oz-footer__col--brand { order: -1; max-width: none; }
	/* En móvil centramos también Información y Páginas */
	.oz-footer__col--info,
	.oz-footer__col--pages { text-align: center; }
	/* Cada ítem se ajusta a su contenido y se centra, así el "+" queda
	   pegado al texto del enlace y no flotando al borde de la columna. */
	.oz-footer__col--pages .oz-footer__list {
		align-items: center;
	}
	.oz-footer__col--pages .oz-footer__list li {
		padding-left: 0;
		padding-right: 18px;
	}
	.oz-footer__about { font-size: 13.5px; }
	.oz-footer__address { font-size: 13.5px; }

	.oz-footer__bottom {
		padding: 8px 16px 28px;
	}
	.oz-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}
