/* Landing Voluntariado corporativo — page-voluntariado-corporativo.php */

.vc-page {
	--vc-blue: #006eff;
	--vc-btn: #005ce9;
	--vc-line: #075cd8;
	--vc-navy: #143499;
	--vc-navy-deep: #143499;
	--vc-ink: #4a4548;
	--vc-yellow: #ffeda5;
	--vc-radius: 14px;
	font-family: var(--secondary-font);
	color: var(--vc-ink);
	overflow-x: clip;
}
.vc-page h1, .vc-page h2, .vc-page h3 { margin: 0; letter-spacing: normal; }
.vc-page .swiper-wrapper { margin-bottom: 0; }
.vc-container { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- Botones / pastillas ---------- */
.vc-btn {
	display: inline-block;
	padding: 12px 34px;
	border-radius: 999px;
	font-weight: 700;
	font-size: .95rem;
	text-decoration: none;
	text-align: center;
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.vc-btn:hover { transform: translateY(-2px); }
.vc-page a.vc-btn--outline { background: var(--vc-blue); color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.vc-page a.vc-btn--outline:hover, .vc-page a.vc-btn--outline:focus { background: #fff; color: var(--vc-blue); }
.vc-page a.vc-btn--yellow { background: var(--vc-yellow); color: var(--vc-navy); }
.vc-page a.vc-btn--yellow:hover, .vc-page a.vc-btn--yellow:focus { background: #fff; color: var(--vc-blue); }
.vc-pill {
	display: inline-block;
	padding: 8px 26px;
	border-radius: 999px;
	background: var(--vc-blue);
	color: #fff;
	font-family: var(--primary-font);
	font-weight: bold;
	font-size: .8rem;
	letter-spacing: .32em;
	text-transform: uppercase;
}

/* ---------- 1. Hero ---------- */
.vc-hero__media { position: relative; background: var(--vc-navy); }
.vc-hero__img { display: block; width: 100%; height: clamp(300px, 36vw, 520px); object-fit: cover; }
.vc-hero__tag { position: absolute; left: 0; bottom: 0; }
.vc-hero__title {
	background: var(--vc-blue);
	color: #fff;
	font-family: var(--primary-font);
	font-weight: bold;
	font-size: clamp(1.4rem, 2.6vw, 2.2rem);
	line-height: 1.1;
	padding: 14px 44px 14px max(24px, 4vw);
	border-top-right-radius: 40px;
}
.vc-hero__arrow {
	position: absolute;
	right: -26px;
	top: -34px;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	background: var(--vc-navy-deep);
	color: #fff;
	border-radius: 14px 14px 14px 0;
	transition: transform .25s ease;
}
.vc-page a.vc-hero__arrow, .vc-page a.vc-hero__arrow:hover, .vc-page a.vc-hero__arrow:focus { color: #fff; }
.vc-hero__arrow:hover { transform: translateY(4px); }
.vc-hero__body { background: var(--vc-navy); color: #fff; padding: clamp(32px, 4vw, 56px) 0 clamp(90px, 9vw, 130px); }
.vc-hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.vc-hero__copy h2 { color: #fff; font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 700; margin-bottom: 18px; }
.vc-hero__text p { color: #fff; margin: 0 0 4px; font-size: .95rem; line-height: 1.55; max-width: 620px; }
.vc-hero__cta { text-align: right; }

/* ---------- 2. Formulario ---------- */
.vc-form-section { position: relative; z-index: 2; margin-top: clamp(-90px, -6vw, -60px); padding-inline: 24px; }
.vc-form-card {
	max-width: 680px;
	margin-inline: auto;
	background: #fff;
	border-radius: var(--vc-radius);
	box-shadow: 0 16px 50px rgba(20, 40, 110, .14);
	padding: 28px clamp(20px, 4vw, 40px) 36px;
}
.vc-form-card__label {
	margin: 0 0 20px;
	text-align: center;
	font-family: var(--primary-font);
	font-weight: bold;
	font-size: .72rem;
	letter-spacing: .5em;
	color: #111;
}
.vc-form-card__title { font-size: .85rem; font-weight: 700; color: var(--vc-blue); margin-bottom: 14px !important; }
.vc-form p { margin: 0; }
.vc-form br { display: none; }
.vc-form .vc-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.vc-form .wpcf7-form-control-wrap { display: block; }
.vc-form input[type="text"],
.vc-form input[type="email"],
.vc-form input[type="tel"],
.vc-form textarea {
	width: 100%;
	border: 1px solid var(--vc-blue);
	border-radius: 6px;
	padding: 14px 14px;
	font-size: .85rem;
	background: #fff;
	color: var(--vc-ink);
	outline: 0;
}
.vc-form input::placeholder, .vc-form textarea::placeholder { color: #8c8c96; }
.vc-form input:focus, .vc-form textarea:focus { box-shadow: 0 0 0 3px rgba(0, 91, 234, .18); }
.vc-form textarea { height: 150px; resize: vertical; margin-bottom: 12px; }
.vc-form input[type="submit"] {
	width: 100%;
	border: 0;
	border-radius: 999px;
	background: var(--vc-btn);
	color: #fff;
	font-weight: 700;
	padding: 13px 20px;
	cursor: pointer;
	transition: background-color .2s ease;
}
.vc-form input[type="submit"]:hover { background: var(--vc-navy); }
.vc-form .wpcf7-not-valid-tip { font-size: .75rem; margin-top: 4px; }
.vc-form .wpcf7-response-output { margin: 14px 0 0 !important; border-radius: 6px; font-size: .85rem; }
.vc-form .wpcf7-spinner { display: block; margin: 8px auto 0; }

/* ---------- 3. ¿Cómo funciona? ---------- */
.vc-how { padding: clamp(40px, 5vw, 70px) 0 clamp(40px, 5vw, 70px); }
.vc-how__title {
	width: min(1180px, 100% - 48px);
	margin: 0 auto clamp(40px, 6vw, 90px) !important;
	font-family: var(--primary-font);
	font-weight: bold;
	font-size: clamp(2.2rem, 5.4vw, 4.4rem);
	line-height: 1;
	color: var(--vc-blue);
	letter-spacing: -.01em;
}
.vc-how__title span { display: block; }
.vc-how__title-2 { padding-left: 1.8em; }

.vc-steps {
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}
.vc-steps::-webkit-scrollbar { display: none; }
.vc-steps.is-dragging { cursor: grabbing; user-select: none; }
.vc-steps__track {
	position: relative;
	display: flex;
	gap: clamp(36px, 5vw, 70px);
	width: max-content;
	min-width: 100%;
	margin: 0;
	padding: 0 max(24px, 12vw) 8px clamp(24px, 15vw, 210px);
	list-style: none;
}
.vc-steps__track::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 24px;
	height: 2px;
	background: var(--vc-line);
}
.vc-step { position: relative; flex: 0 0 clamp(190px, 17vw, 230px); }
.vc-step__shape { position: relative; display: block; width: 46px; height: 48px; margin-bottom: 18px; }
.vc-step__num {
	display: block;
	font-family: var(--primary-font);
	font-weight: 300;
	font-size: clamp(1.9rem, 2.6vw, 2.5rem);
	color: #4a4548;
	margin-bottom: 14px;
	padding-left: 6px;
}
.vc-step__title { font-size: 1.1rem; font-weight: 700; line-height: 1.15; max-width: 9em; color: #4a4548; margin-bottom: 10px !important; }
.vc-step__text { font-size: .86rem; line-height: 1.45; color: #5d5760; margin: 0; }

/* colores y formas del ícono */
.vc-color--oscuro { --shape: #253ea4; }
.vc-color--azul { --shape: #005bea; }
.vc-color--claro { --shape: #265ce9; }
.vc-step__shape::before, .vc-step__shape::after { content: ""; position: absolute; background: var(--shape); }
.vc-shape--circulo::before { inset: 2px 0 2px 0; width: 44px; border-radius: 50%; }
.vc-shape--d::before { left: 0; top: 2px; width: 44px; height: 44px; border-radius: 4px 100% 100% 4px; }
.vc-shape--semicirculo::before { left: 0; top: 10px; width: 80px; height: 38px; border-radius: 4px 4px 40px 40px; }
.vc-shape--hoja::before { left: 0; top: 2px; width: 44px; height: 44px; border-radius: 4px 100% 4px 4px; }
.vc-shape--circulo-cuadrado::before { left: 0; top: 0; width: 44px; height: 44px; border-radius: 4px; opacity: .8; background: #3b6af0; }
.vc-shape--circulo-cuadrado::after { left: 0; top: 4px; width: 44px; height: 44px; border-radius: 50%; background: var(--shape); }

.vc-steps__dots {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
	width: min(1180px, 100% - 48px);
	margin: 26px auto 0;
}
.vc-steps__dots button {
	width: 52px;
	height: 14px;
	padding: 0;
	border: 0;
	background: none;
	position: relative;
	cursor: pointer;
}
.vc-steps__dots button::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	transform: translateY(-50%);
	background: var(--vc-line);
	transition: height .25s ease;
}
.vc-steps__dots button.is-active::after { height: 5px; }
.vc-steps__dots:empty { display: none; }

/* ---------- 4. Impacto ---------- */
.vc-impact {
	position: relative;
	padding-top: clamp(30px, 3vw, 50px);
	border-top: 40px solid #fff;
	background-color: #9cc3ee;
	background-image: var(--vc-impact-bg, none);
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
	min-height: clamp(640px, 56vw, 1000px);
	margin-bottom: clamp(100px, 9vw, 130px);
}
.vc-impact__top { padding-bottom: clamp(260px, 26vw, 400px); }
.vc-impact__top .vc-pill { display: block; width: fit-content; margin-left: clamp(0px, 3vw, 40px); margin-top: -62px; }
.vc-impact__lead { margin: 22px 0 28px clamp(0px, 3vw, 40px); font-size: clamp(1.1rem, 1.9vw, 1.6rem); line-height: 1.35; max-width: 640px; color: #111; font-weight: 400; }
.vc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0 0 0 clamp(0px, 3vw, 40px); padding: 0; list-style: none; max-width: 980px; }
.vc-stat { padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, .75); }
.vc-stat:first-child { border-left: 0; padding-left: 0; }
.vc-stat__label { display: block; min-height: 2.4em; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: #333; }
.vc-stat__prefix { margin-right: .12em; }
.vc-stat__value { display: block; margin-top: 8px; font-family: 'PP Neue Machina', var(--primary-font); font-weight: normal; font-size: clamp(1.7rem, 2.6vw, 2.4rem); color: #111; overflow-wrap: break-word; word-break: normal; hyphens: none; }

.vc-testimonials { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 55%); }
.vc-testimonials__track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 6px 4px 20px;
}
.vc-testimonials__track::-webkit-scrollbar { display: none; }
.vc-quote {
	flex: 0 0 calc((100% - 36px) / 3);
	scroll-snap-align: start;
	min-width: 0;
	height: auto;
	background: #f2f4f7;
	border-radius: var(--vc-radius);
	padding: 14px 26px 18px;
	box-shadow: 0 8px 24px rgba(20, 40, 110, .08);
	display: flex;
	flex-direction: column;
}
.vc-quote__mark { display: block; width: 36px; height: 27px; fill: #111; margin-bottom: 4px; }
.vc-quote__text { flex: 1; margin: 8px 0 14px; font-size: .78rem; line-height: 1.45; text-align: justify; color: #444; }
.vc-quote__footer { display: flex; align-items: center; gap: 8px; }
.vc-quote__avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.vc-quote__who { display: flex; flex-direction: column; line-height: 1.15; font-size: .62rem; }
.vc-quote__who strong { font-size: .66rem; }
.vc-quote__footer { border: 0; margin: 0; padding: 0; }
.vc-quote__logo { margin-left: auto; max-height: 30px; width: auto; max-width: 80px; object-fit: contain; }
.vc-dashes { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.vc-dashes button {
	width: 28px; height: 14px; margin: 0; padding: 0; border: 0; background: none; position: relative; cursor: pointer;
}
.vc-dashes button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: var(--vc-line); }
.vc-dashes button.is-active::after { height: 5px; }
.vc-dashes:empty { display: none; }

/* ---------- 5. Del compromiso a la acción ---------- */
.vc-commit { padding-top: clamp(50px, 5vw, 80px); background: #fff; }
.vc-commit__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.vc-commit__title {
	font-family: var(--primary-font);
	font-weight: bold;
	font-size: clamp(2rem, 4.6vw, 3.8rem);
	line-height: 1.05;
	color: var(--vc-blue);
	position: relative;
}
.vc-commit__title span { display: block; }
.vc-commit__l2 { padding-left: 1.25em; }
.vc-commit__arrow { position: absolute; left: .03em; bottom: .06em; width: .95em; height: .95em; color: var(--vc-blue); }
.vc-commit__text, .vc-commit__text p { color: var(--vc-blue); font-size: .8rem; line-height: 1.5; }
.vc-commit__text p { margin: 0 0 4px; }

/* Galería: las fotos caben todas; la que recibe el mouse se expande */
.vc-gallery { margin-top: clamp(30px, 4vw, 50px); padding-bottom: clamp(36px, 5vw, 70px); background: linear-gradient(#fff 0, #fff 42%, var(--vc-blue) 42%); }
.vc-gallery__row { display: flex; gap: 14px; height: clamp(300px, 36vw, 500px); }
.vc-gallery__item {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	outline: 0;
	transition: flex-grow .6s cubic-bezier(.22, 1, .36, 1);
}
.vc-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.vc-gallery__item:hover, .vc-gallery__item:focus-visible { flex-grow: 3.2; }
.vc-gallery__item:hover img, .vc-gallery__item:focus-visible img { transform: scale(1.04); }
.vc-gallery__item:focus-visible { box-shadow: 0 0 0 3px #fff; }

/* ---------- 6. Cierre ---------- */
.vc-cta { background: var(--vc-blue); color: #fff; text-align: center; padding: clamp(50px, 6vw, 90px) 0; }
.vc-cta__inner h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2.1rem); font-weight: 700; line-height: 1.2; max-width: 620px; text-wrap: balance; margin-inline: auto !important; }
.vc-cta__inner p { color: #fff; max-width: 760px; margin: 22px auto 28px; font-size: clamp(.95rem, 1.35vw, 1.15rem); line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
	.vc-quote { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 991px) {
	.vc-hero__grid, .vc-commit__head { grid-template-columns: 1fr; gap: 24px; }
	.vc-hero__cta { text-align: left; }
	.vc-testimonials { width: 100%; }
}
@media (max-width: 767px) {
	.vc-quote { flex-basis: 88%; }
	.vc-form .vc-form__grid { grid-template-columns: 1fr; }
	.vc-hero__arrow { display: none; }
	.vc-how__title-2 { padding-left: 1em; }
	.vc-impact { min-height: 0; margin-bottom: 0; }
	.vc-impact__top { padding-bottom: 40px; }
	.vc-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
	.vc-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
	.vc-impact::after { content: ""; display: block; height: 260px; background: var(--vc-impact-bg, none) center / cover; }
	.vc-testimonials { position: relative; left: 0; bottom: auto; transform: none; margin: -50px auto 0; padding-bottom: 30px; z-index: 2; }
	.vc-impact { background-image: linear-gradient(180deg, #e3effd, #e3effd); }
	.vc-commit { padding-top: 40px; }
}
@media (max-width: 767px) {
	.vc-gallery__row { overflow-x: auto; scroll-snap-type: x mandatory; height: 360px; scrollbar-width: none; }
	.vc-gallery__row::-webkit-scrollbar { display: none; }
	.vc-gallery__item { flex: 0 0 72%; scroll-snap-align: center; }
	.vc-gallery__item:hover, .vc-gallery__item:focus-visible { flex-grow: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.vc-gallery__item, .vc-gallery__item img { transition: none; }
	.vc-btn, .vc-hero__arrow { transition: none; }
}
