/* Portada The Village */
:root {
	--vc-cream: #fff9ec;
	--vc-white: #ffffff;
	--vc-teal: #0f4c5c;
	--vc-teal-soft: #1ba8b5;
	--vc-orange: #f28c28;
	--vc-orange-strong: #b85400;
	--vc-teal-text: #0b7580;
	--vc-yellow: #ffc93c;
	--vc-text: #4b5a60;
	--vc-radius: 28px;
	--vc-shadow: 0 18px 40px rgba(15, 76, 92, .14);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

.vc-body {
	margin: 0;
	background: var(--vc-cream);
	color: var(--vc-text);
	font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.vc-body { overflow-x: clip; }
.vc-body img { display: block; max-width: 100%; height: auto; }
.vc-hero__inner > *, .vc-about__inner > *, .vc-visit__inner > * { min-width: 0; }
.vc-body a { color: inherit; text-decoration: none; }
:where(.vc-body) :where(h1, h2, h3, p, ul, dl, dd, blockquote) { margin: 0; padding: 0; }
:where(.vc-body) ul { list-style: none; }

.vc-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--vc-teal); color: #fff !important; font-weight: 700; transition: top .2s ease; }
.vc-skip:focus { top: 12px; }

.vc-sr {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

.vc-container { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* Botones */
.vc-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.vc-btn svg { width: 20px; height: 20px; }
.vc-btn:hover { transform: translateY(-2px); }
.vc-btn--primary { background: var(--vc-orange-strong); color: #fff !important; box-shadow: 0 10px 22px rgba(184, 84, 0, .3); }
.vc-btn--primary:hover { background: #9c4600; }
.vc-btn--outline { border-color: var(--vc-teal); color: var(--vc-teal) !important; background: transparent; }
.vc-btn--outline:hover { background: var(--vc-teal); color: #fff !important; }
.vc-btn--ghost { color: var(--vc-teal) !important; padding-inline: 8px; }

.vc-btn:focus-visible, .vc-nav a:focus-visible, .vc-link:focus-visible, .vc-nav-toggle:focus-visible {
	outline: 3px solid var(--vc-teal-soft); outline-offset: 3px;
}

/* Encabezado */
.vc-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 249, 236, .94); backdrop-filter: blur(8px);
	box-shadow: 0 6px 24px rgba(15, 76, 92, .08);
}
.vc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 108px; transition: min-height .25s ease; }
.vc-logo { display: inline-flex; align-items: center; flex: none; }
.vc-logo img { height: 92px; width: auto; transition: height .25s ease; }
.vc-header.is-scrolled .vc-header__inner { min-height: 72px; }
.vc-header.is-scrolled .vc-logo img { height: 58px; }

.vc-nav { display: flex; align-items: center; gap: 24px; }
.vc-nav > a:not(.vc-btn) { font-weight: 700; font-size: 15.5px; color: var(--vc-teal); }
.vc-nav > a:not(.vc-btn):hover { color: var(--vc-orange-strong); }
.vc-nav__cta { padding: 11px 22px; font-size: 15px; }

.vc-nav > a[aria-current="page"] { color: var(--vc-orange-strong); }

.vc-nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.vc-nav-toggle__bar, .vc-nav-toggle__bar::before, .vc-nav-toggle__bar::after {
	content: ""; position: absolute; left: 11px; width: 22px; height: 2.5px; border-radius: 2px; background: var(--vc-teal);
}
.vc-nav-toggle__bar { top: 20px; }
.vc-nav-toggle__bar::before { top: -7px; left: 0; }
.vc-nav-toggle__bar::after { top: 7px; left: 0; }

/* Textos comunes */
.vc-eyebrow {
	display: flex; align-items: center; gap: 12px;
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vc-teal-text);
	margin-bottom: 18px;
}
.vc-eyebrow--bars::before {
	content: ""; width: 30px; height: 14px; flex: none;
	background: linear-gradient(var(--vc-orange) 0 3px, transparent 3px 5.5px, var(--vc-teal-soft) 5.5px 8.5px, transparent 8.5px 11px, var(--vc-yellow) 11px 14px);
}

.vc-title, .vc-heading { font-family: "Fraunces", Georgia, serif; font-weight: 700; color: var(--vc-teal); letter-spacing: -.01em; }
.vc-title { font-size: clamp(42px, 6vw, 72px); line-height: 1.05; margin-bottom: 22px; }
.vc-heading { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin-bottom: 24px; }
.vc-lead { font-size: 20px; max-width: 34ch; margin-bottom: 30px; }
.vc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.vc-section { padding: 88px 0; }
.vc-section__head { margin-bottom: 44px; }
.vc-section__head .vc-heading { margin-bottom: 0; }

/* Hero */
.vc-hero { padding: 56px 0 24px; }
.vc-hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.vc-hero__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--vc-radius); box-shadow: var(--vc-shadow); transform: rotate(1.4deg); }
.vc-hero__photo { object-position: 50% 15%; }

/* Por qué The Village */
.vc-about__inner { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.vc-about__media { position: relative; }
.vc-about__media > img { width: 100%; border-radius: var(--vc-radius); box-shadow: var(--vc-shadow); transform: rotate(-1.5deg); }
.vc-badge {
	position: absolute; right: -18px; bottom: -22px; width: 138px; height: 138px; border-radius: 50%;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	background: var(--vc-yellow); color: var(--vc-teal); box-shadow: 0 12px 26px rgba(15, 76, 92, .2);
	font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
}
.vc-badge strong { font-family: "Fraunces", Georgia, serif; font-size: 40px; letter-spacing: 0; line-height: 1.05; }

.vc-quote {
	border-left: 4px solid var(--vc-orange); padding-left: 22px; margin-bottom: 26px;
	font-family: "Fraunces", Georgia, serif; font-size: 24px; line-height: 1.35; font-weight: 600; color: var(--vc-teal);
}
.vc-about__text p + p, .vc-about__text .vc-quote + p { margin-top: 14px; }
.vc-people { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.vc-people li {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px;
	background: #fff; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--vc-teal);
	box-shadow: 0 6px 16px rgba(15, 76, 92, .08);
}
.vc-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 12px; }
.vc-avatar--teal { background: var(--vc-teal-text); }
.vc-avatar--orange { background: var(--vc-orange); }

/* Somos únicos */
.vc-unique { margin-top: 72px; }
.vc-unique__head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.vc-unique__head p { margin-top: 10px; font-size: 18px; }
.vc-unique__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vc-feature {
	position: relative; background: #fff; border-radius: var(--vc-radius); padding: 72px 28px 32px;
	text-align: center; box-shadow: 0 10px 28px rgba(15, 76, 92, .08); border-top: 6px solid var(--vc-feature, var(--vc-teal-soft));
	transition: transform .25s ease, box-shadow .25s ease;
}
.vc-feature:hover { transform: translateY(-6px); box-shadow: var(--vc-shadow); }
.vc-feature--pink { --vc-feature: #e8467c; }
.vc-feature--orange { --vc-feature: var(--vc-orange); }
.vc-feature--teal { --vc-feature: var(--vc-teal-text); }
.vc-feature__icon {
	position: absolute; top: -34px; left: 50%; transform: translateX(-50%); display: grid; place-items: center;
	width: 68px; height: 68px; border-radius: 50%; background: var(--vc-feature); color: #fff; border: 5px solid var(--vc-cream);
}
.vc-feature__icon svg { width: 32px; height: 32px; }
.vc-feature h4 { font-family: "Fraunces", Georgia, serif; font-size: 22px; color: var(--vc-teal); margin-bottom: 10px; }

/* Programas */
.vc-programs { background: #fff; border-radius: 48px 48px 0 0; }
.vc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vc-card { display: flex; flex-direction: column; background: var(--vc-cream); border-radius: 24px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.vc-card:hover { transform: translateY(-6px); box-shadow: var(--vc-shadow); }
.vc-card__image { display: block; aspect-ratio: 6 / 5; overflow: hidden; }
.vc-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
/* Encuadre de fotos específicas en las tarjetas de programas */
.vc-card__image img[src*="playtime-cuento"] { object-position: 50% 20%; }
.vc-card__image img[src*="baby-village-card"] { object-position: 50% 12%; }
.vc-card__image img[src*="estimulacion-oportuna"] { object-position: 50% 0%; }
.vc-card__image img[src*="masaje-infantil"] { object-position: 50% 30%; }
.vc-card__image img[src*="curso-parto"] { object-position: 65% 50%; }
.vc-card__image img[src*="eco-village"] { object-position: 50% 40%; }
.vc-card__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; background: #fff5f5; border: 3px dashed currentColor; box-sizing: border-box; text-align: center; }
.vc-card__placeholder svg { width: 48px; height: 48px; }
.vc-card:hover .vc-card__image img { transform: scale(1.05); }
.vc-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 28px; }
.vc-card h3 { font-family: "Fraunces", Georgia, serif; font-size: 24px; line-height: 1.2; color: var(--vc-teal); margin-bottom: 10px; }
.vc-card p { font-size: 15.5px; margin-bottom: 18px; }
.vc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--vc-orange-strong); }
.vc-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.vc-link:hover svg { transform: translateX(4px); }

/* Visita */
.vc-visit { background: #fff; padding-top: 24px; }
.vc-visit__inner {
	display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
	background: var(--vc-cream); border-radius: 36px; padding: 48px;
}
.vc-visit__media img { width: 100%; border-radius: 24px; box-shadow: var(--vc-shadow); }
.vc-info { display: grid; gap: 16px; margin-bottom: 28px; }
.vc-info dt { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vc-teal-text); }
.vc-info dd a { color: var(--vc-teal); font-weight: 700; }
.vc-info dd a:hover { color: var(--vc-orange-strong); }

/* Pie */
.vc-footer { background: var(--vc-teal); color: #d6e7ea; }
.vc-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.vc-logo--footer { background: #fff; border-radius: 18px; padding: 6px 16px; }
.vc-logo--footer img { height: 62px; }
.vc-footer__copy { font-size: 14.5px; flex: 1 1 260px; }
.vc-social { display: flex; gap: 10px; }
.vc-social__link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); color: #fff; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.vc-social__link svg { width: 20px; height: 20px; fill: currentColor; }
.vc-social__link:hover { transform: translateY(-2px); border-color: transparent; }
.vc-social__link--facebook:hover { background: #1877f2; }
.vc-social__link--instagram:hover { background: #e4405f; }
.vc-social__link--youtube:hover { background: #ff0000; }
.vc-social__link--whatsapp:hover { background: #25d366; }

/* Redes sociales y WhatsApp flotantes (borde derecho) */
.vc-float-social {
	position: fixed; right: 16px; top: 50%; z-index: 60; transform: translateY(-50%);
	display: flex; flex-direction: column; gap: 10px;
}
.vc-float-social__link {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: #fff; color: var(--vc-teal); box-shadow: 0 8px 20px rgba(15, 76, 92, .22);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.vc-float-social__link svg { width: 22px; height: 22px; fill: currentColor; }
.vc-float-social__link:hover { color: #fff; transform: scale(1.1); }
.vc-float-social__link--facebook:hover { background: #1877f2; }
.vc-float-social__link--instagram:hover { background: #e4405f; }
.vc-float-social__link--youtube:hover { background: #ff0000; }
.vc-float-social__link--whatsapp:hover { background: #25d366; }
.vc-float-social__link:focus-visible { outline: 3px solid var(--vc-teal-soft); outline-offset: 3px; }

/* Tablet */
@media (max-width: 991px) {
	.vc-section { padding: 64px 0; }
	.vc-hero__inner, .vc-about__inner, .vc-visit__inner { grid-template-columns: 1fr; gap: 40px; }
	.vc-hero__media { order: -1; }
	.vc-cards { grid-template-columns: repeat(2, 1fr); }
	.vc-unique__grid { grid-template-columns: 1fr; gap: 52px; }
	.vc-unique { margin-top: 56px; }
	.vc-visit__inner { padding: 32px; }
	.vc-badge { right: 10px; }

	.vc-nav-toggle { display: block; }
	.vc-nav {
		position: absolute; top: 100%; left: 0; right: 0; flex-wrap: wrap; align-items: center; gap: 0;
		background: var(--vc-cream); padding: 8px 24px 24px; box-shadow: 0 18px 30px rgba(15, 76, 92, .12);
		display: none;
	}
	.vc-nav.is-open { display: flex; }
	.vc-nav > a:not(.vc-btn) { flex: 0 0 100%; padding: 14px 0; border-bottom: 1px solid rgba(15, 76, 92, .1); }
	.vc-nav__cta { flex: 0 0 100%; justify-content: center; margin-top: 18px; }
}

/* Móvil */
@media (max-width: 600px) {
	body.vc-body { font-size: 16px; }
	.vc-container { width: calc(100% - 32px); }
	.vc-cards { grid-template-columns: 1fr; }
	.vc-lead { font-size: 18px; }
	.vc-quote { font-size: 20px; }
	.vc-visit__inner { padding: 20px; border-radius: 28px; }
	.vc-footer__inner { flex-direction: column; align-items: flex-start; }
	.vc-float-social { right: 12px; top: auto; bottom: 16px; transform: none; flex-direction: row; gap: 6px; }
	.vc-float-social__link { width: 38px; height: 38px; }
	.vc-float-social__link svg { width: 19px; height: 19px; }
	.vc-badge { width: 112px; height: 112px; right: 6px; bottom: -18px; }
	.vc-badge strong { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

/* Pie de página ampliado */
.vc-footer { padding: 56px 0 0; }
.vc-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; }
.vc-footer__brand p { margin: 16px 0 18px; font-size: 15px; max-width: 34ch; }
.vc-footer__col h2 { margin: 0 0 14px; font-family: "Fraunces", Georgia, serif; font-size: 18px; color: #fff; }
.vc-footer__col ul { display: grid; gap: 8px; font-size: 15px; }
.vc-footer__col a { color: #d6e7ea; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.vc-footer__col a:hover { color: #fff; text-decoration-color: currentColor; }
.vc-footer__bar { border-top: 1px solid rgba(255, 255, 255, .18); padding: 18px 0 22px; font-size: 14px; }
.vc-footer .vc-logo--footer { display: inline-block; }
.vc-footer__bar { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.vc-footer__bar p { margin: 0; }
.vc-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.vc-footer__legal a { color: #d6e7ea; text-decoration: underline; text-underline-offset: 3px; }
.vc-footer__legal a:hover { color: #fff; }

/* Páginas legales */
.vc-legal { padding: 56px 0 80px; }
.vc-legal__inner { max-width: 820px; }
.vc-legal__date { color: var(--vc-text); font-size: 14px; margin: 0 0 28px; }
.vc-legal .vc-heading { margin: 32px 0 10px; font-size: 24px; }
.vc-legal p { margin: 0 0 14px; line-height: 1.7; }

/* La etiqueta de texto del WhatsApp flotante no se usa: todos los botones flotantes son círculos iguales */
.vc-float-social__label { display: none; }

/* Aparición suave (solo con JavaScript) */
.vc-js .vc-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.vc-js .vc-reveal.is-in { opacity: 1; transform: none; }


@media (max-width: 991px) {
	.vc-footer__grid { grid-template-columns: 1fr 1fr; }
	.vc-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.vc-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.vc-footer__bar { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
	.vc-js .vc-reveal { opacity: 1; transform: none; }
}

/* Logo en tablet y móvil */
@media (max-width: 991px) {
	.vc-header__inner { min-height: 92px; }
	.vc-logo img { height: 76px; }
	.vc-header.is-scrolled .vc-header__inner { min-height: 68px; }
	.vc-header.is-scrolled .vc-logo img { height: 52px; }
}

/* Aviso temporal de contenido pendiente (quitar al tener la información) */
.vc-pending-note { color: #d62828; font-weight: 700; }

/* Aviso del próximo proyecto: Senior Village */
.vc-sv-banner { padding: 24px 0 0; }
.vc-sv-banner__inner {
	display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 20px 28px; border-radius: 28px;
	background: #fff; box-shadow: var(--vc-shadow); border: 2px dashed var(--vc-teal-soft); text-decoration: none; color: var(--vc-text);
}
.vc-sv-banner__inner img { width: 96px; height: 96px; object-fit: contain; border-radius: 18px; flex: none; }
.vc-sv-banner__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 260px; }
.vc-sv-banner__text strong { font-family: "Fraunces", Georgia, serif; font-size: 26px; color: var(--vc-teal); }
.vc-sv-banner__tag { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--vc-yellow); color: var(--vc-teal); font-weight: 700; font-size: 13px; }
@media (max-width: 600px) {
	.vc-sv-banner__inner { padding: 18px; gap: 16px; }
	.vc-sv-banner__btn { width: 100%; justify-content: center; }
}
