/* ==========================================================================
   Landing propia del Colegio Malvar: cabecera, hero, confianza y pie.
   Esta plantilla no usa la estructura del tema padre.
   ========================================================================== */

.malvar-landing {
	margin: 0;
	background: var(--malvar-cream);
	font-family: var(--malvar-sans);
	color: var(--malvar-ink);
	/* Fondo sutil de cuaderno, como en el diseño aprobado. */
	background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(27, 54, 127, 0.045) 31px 32px);
}

.malvar-landing .mv-skip {
	position: absolute;
	left: -9999px;
}

.malvar-landing .mv-skip:focus {
	left: 20px;
	top: 20px;
	z-index: 999;
	background: #fff;
	padding: 12px 18px;
	border-radius: 8px;
}

/* --------------------------------------------------------------- Cabecera */

.mv-header {
	background: var(--malvar-paper);
	border-bottom: 1px solid var(--malvar-line);
	position: sticky;
	top: 0;
	z-index: 50;
}

body.admin-bar .mv-header {
	top: 32px;
}

.mv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 14px;
	padding-bottom: 14px;
	min-width: 0;
}

.mv-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.mv-brand img {
	height: 38px;
	width: auto;
	display: block;
}

.mv-brand__tag {
	background: var(--malvar-navy);
	color: #fff;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

.mv-nav {
	display: flex;
	gap: 20px;
	flex: 1 1 auto;
	min-width: 0;
	justify-content: center;
	flex-wrap: wrap;
}

.mv-nav a {
	font-weight: 700;
	font-size: 14px;
	color: var(--malvar-ink);
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}

.mv-nav a:hover {
	color: var(--malvar-red);
	border-color: var(--malvar-red);
}

.mv-header__aside {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 1 auto;
	min-width: 0;
}

.mv-search {
	position: relative;
	background: var(--malvar-sand);
	border: 1.5px solid var(--malvar-line);
	border-radius: 999px;
	display: flex;
	align-items: center;
	transition: border-color 0.15s, background 0.15s;
}

.mv-search:focus-within {
	background: #fff;
	border-color: var(--malvar-navy);
}

.mv-search input[type="search"] {
	background: transparent;
	border: 0;
	outline: none;
	height: 40px;
	width: 190px;
	max-width: 100%;
	padding: 0 42px 0 16px;
	font-size: 13.5px;
	font-family: var(--malvar-sans);
	color: var(--malvar-ink);
}

.mv-search input::placeholder {
	color: var(--malvar-muted);
}

.mv-search button {
	position: absolute;
	right: 4px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: var(--malvar-red);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
}

.mv-search button:hover {
	background: var(--malvar-red-dark);
}

.mv-search button svg {
	width: 15px;
	height: 15px;
}

.mv-account {
	font-weight: 700;
	font-size: 13.5px;
	color: var(--malvar-ink);
	white-space: nowrap;
}

.mv-account:hover {
	color: var(--malvar-red);
}

.mv-cart {
	position: relative;
	display: flex;
	align-items: center;
	gap: 7px;
	font-weight: 800;
	font-size: 13.5px;
	color: var(--malvar-navy);
	white-space: nowrap;
}

.mv-cart svg {
	width: 21px;
	height: 21px;
}

.mv-cart i {
	position: absolute;
	top: -8px;
	right: -12px;
	background: var(--malvar-red);
	color: #fff;
	font-style: normal;
	font-size: 10.5px;
	font-weight: 800;
	min-width: 18px;
	height: 18px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	padding: 0 5px;
}

/* ------------------------------------------------------------ Hero visual */

.mv-hero__pills {
	margin: 0 0 14px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.mv-hero h1 em {
	font-style: italic;
	color: var(--malvar-red);
}

.mv-hero__stage {
	position: relative;
	min-height: 440px;
	display: grid;
	place-items: center;
}

.mv-blob {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 370px;
	height: 370px;
	max-width: 100%;
	border-radius: 50%;
	background: var(--malvar-navy);
	box-shadow: 0 30px 60px rgba(20, 41, 74, 0.25);
}

.mv-blob::after {
	content: "";
	position: absolute;
	inset: -18px;
	border-radius: 50%;
	border: 2px dashed rgba(156, 16, 30, 0.45);
}

.mv-garment {
	position: relative;
	width: 280px;
	max-width: 70%;
	filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.28));
}

.mv-hero__photo img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	display: block;
}

.mv-tag {
	position: absolute;
	background: #fff;
	border: 1px solid var(--malvar-line);
	border-radius: 14px;
	padding: 10px 14px;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--malvar-navy);
	box-shadow: 0 10px 24px rgba(20, 41, 74, 0.12);
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	line-height: 1.25;
}

.mv-tag small {
	display: block;
	width: 100%;
	font-weight: 600;
	color: var(--malvar-muted);
	font-size: 11.5px;
}

.mv-tag .woocommerce-Price-amount {
	font-weight: 800;
	color: var(--malvar-navy);
}

.mv-tag--a { left: 0; top: 48px; }
.mv-tag--b { right: 0; top: 96px; }
.mv-tag--c { left: 10px; bottom: 76px; }
.mv-tag--d { right: 10px; bottom: 44px; }

/* --------------------------------- Barra de confianza, debajo del hero */

.mv-trust {
	background: var(--malvar-navy);
	color: #fff;
}

.mv-trust .mv-trust__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	padding: 20px 28px;
}

.mv-trust__item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13.5px;
}

.mv-trust__item svg {
	width: 26px;
	height: 26px;
	flex: none;
	fill: none;
	stroke: #fff;
	stroke-width: 1.8;
}

.mv-trust__item b {
	display: block;
	font-weight: 800;
}

.mv-trust__item small {
	display: block;
	color: #aebad0;
	font-size: 12px;
}

/* ------------------------------------- Ilustracion en tarjetas de etapa */

.mv-etapa {
	position: relative;
	overflow: hidden;
	min-height: 235px;
}

.mv-etapa p {
	max-width: 62%;
}

.mv-etapa .mv-ico {
	position: absolute;
	right: -14px;
	bottom: -18px;
	width: 118px;
	opacity: 0.95;
	pointer-events: none;
}

/* -------------------------------------------------------------------- Pie */

.mv-footer {
	background: var(--malvar-navy);
	color: #cfd8e6;
	padding: 52px 0 22px;
}

.mv-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 32px;
	font-size: 13.5px;
}

.mv-footer h4 {
	color: #fff;
	font-family: var(--malvar-serif);
	font-size: 15px;
	margin: 0 0 14px;
}

.mv-footer a {
	color: #cfd8e6;
	display: block;
	margin-bottom: 9px;
}

.mv-footer a:hover {
	color: #fff;
}

.mv-footer__logo {
	background: #fff;
	border-radius: 12px;
	padding: 10px 14px;
	display: inline-block;
	margin-bottom: 16px;
}

.mv-footer__logo img {
	height: 66px;
	width: auto;
	display: block;
}

.mv-footer__contacto p {
	margin: 0 0 7px;
	color: #aab6c8;
}

.mv-footer__contacto a {
	display: inline;
	margin: 0;
}

.mv-footer__pagos {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.mv-footer__nota {
	color: #aab6c8;
	margin: 0;
	font-size: 12.5px;
}

.mv-footer__bottom {
	margin-top: 30px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12px;
	color: #8995aa;
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 1100px) {
	.mv-nav { display: none; }
	.mv-search input[type="search"] { width: 180px; }
}

@media (max-width: 760px) {
	.mv-header__inner { flex-wrap: wrap; gap: 14px; }
	.mv-header__aside { width: 100%; justify-content: space-between; }
	.mv-search { flex: 1; }
	.mv-search input[type="search"] { width: 100%; }
	.mv-hero__stage { min-height: 320px; }
	.mv-tag { display: none; }
	.mv-trust__inner { grid-template-columns: 1fr 1fr; }
	.mv-footer__grid { grid-template-columns: 1fr 1fr; }
	.mv-etapa p { max-width: 100%; }
	.mv-etapa .mv-ico { opacity: 0.35; }
}

@media (max-width: 520px) {
	.mv-trust__inner { grid-template-columns: 1fr; }
	.mv-footer__grid { grid-template-columns: 1fr; }
}
