/**
 * Vivero Daliz — Estilos del Footer
 *
 * Nomenclatura: BEM con prefijo vivero-
 * Enfoque: mobile-first
 */

/* ==========================================================================
   Footer
   ========================================================================== */
.vivero-footer {
	width: 100%;
	background-color: #2A4428;
	color: #FFFFFF;
	padding: 3rem 1.5rem 0;
}

.vivero-footer__container {
	max-width: 1280px;
	margin: 0 auto;
}

/* Columnas */
.vivero-footer__columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: none;
}

.vivero-footer__heading {
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	font-weight: 600;
	color: #FFFFFF;
	margin: 0 0 0.75rem 0;
}

/* Dropdown en mobile */
.vivero-footer__col--dropdown .vivero-footer__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	margin-bottom: 0;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.vivero-footer__arrow {
	transition: transform 0.3s;
	flex-shrink: 0;
}

.vivero-footer__col--dropdown.is-open .vivero-footer__arrow {
	transform: rotate(180deg);
}

.vivero-footer__col--dropdown .vivero-footer__list {
	display: none;
	padding-top: 0.75rem;
}

.vivero-footer__col--dropdown.is-open .vivero-footer__list {
	display: flex;
}

.vivero-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.vivero-footer__list li {
	font-family: 'Open Sans', sans-serif;
	font-size: 11px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.4;
}

.vivero-footer__list a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.2s;
}

.vivero-footer__list a:hover {
	color: #FFFFFF;
}

/* Contacto con iconos */
.vivero-footer__list--contact li a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.vivero-footer__list--contact svg {
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.8);
}

/* Redes sociales */
.vivero-footer__social {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.vivero-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.15);
	color: #FFFFFF;
	transition: background-color 0.2s;
}

.vivero-footer__social-link:hover {
	background-color: rgba(255, 255, 255, 0.3);
	color: #FFFFFF;
}

/* Barra inferior */
.vivero-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 0;
	text-align: center;
}

.vivero-footer__bottom-left span {
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.6);
}

.vivero-footer__logo {
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vivero-footer__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.vivero-footer__slogan {
	font-family: 'Playfair Display', serif;
	font-size: 14px;
	font-weight: 400;
	font-style: italic;
	color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Responsive — Tablet (768px)
   ========================================================================== */
@media (min-width: 768px) {
	.vivero-footer__columns {
		grid-template-columns: repeat(2, 1fr);
	}

	.vivero-footer__heading {
		font-size: 19px;
	}

	/* Desactivar dropdowns en tablet+ */
	.vivero-footer__col--dropdown .vivero-footer__heading {
		cursor: default;
		border-bottom: none;
		margin-bottom: 0.75rem;
		padding-bottom: 0;
	}

	.vivero-footer__arrow {
		display: none;
	}

	.vivero-footer__col--dropdown .vivero-footer__list {
		display: flex;
		padding-top: 0;
	}

	.vivero-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
	}

	.vivero-footer__bottom-center {
		order: 0;
	}
}

/* ==========================================================================
   Responsive — Desktop (1024px)
   ========================================================================== */
@media (min-width: 1024px) {
	.vivero-footer {
		padding: 3.5rem 2rem 0;
	}

	.vivero-footer__columns {
		grid-template-columns: repeat(4, 1fr);
		gap: 2.5rem;
	}

	.vivero-footer__heading {
		font-size: 20px;
	}

	.vivero-footer__list li,
	.vivero-footer__list a {
		font-size: 12px;
	}

	.vivero-footer__logo {
		width: 100px;
		height: 100px;
	}

	.vivero-footer__slogan {
		font-size: 15px;
	}
}
