/* =============================================================================
   Manta Vibes — capa moderna sobre Mixtas
   Reutiliza las variables de Mixtas (--site-main-font, --site-secondary-font…)
   ========================================================================== */

:root {
	--manta-ink: #111;
	--manta-text: #555;
	--manta-muted: #8a8a8a;
	--manta-line: #e9e9e9;
	--manta-bg: #fff;
	--manta-sand: #f5f2ec;
	--manta-ocean: #0e3a4a;
	--manta-ocean-soft: #d9e8ec;
	--manta-radius: 18px;
	--manta-ease: cubic-bezier(.22, .61, .36, 1);
	--manta-wrap: 1320px;
	--manta-title-font: var(--site-secondary-font, "ivypresto-display", Georgia, serif);
	--manta-body-font: var(--site-main-font, "Outfit", system-ui, sans-serif);
}

/* ---------- Base ---------- */
.manta-wrap { width: 100%; max-width: var(--manta-wrap); margin-inline: auto; padding-inline: clamp(20px, 6vw, 96px); box-sizing: border-box; }
.manta-page { font-family: var(--manta-body-font); color: var(--manta-text); overflow-x: clip; }
.manta-kicker { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--manta-muted); margin: 0 0 .9rem; }
.manta-section { padding-block: clamp(56px, 9vw, 120px); }
.manta-section--tint { background: var(--manta-sand); }
.manta-section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.manta-section__title,
.manta-cta__title,
.manta-content h2 { font-family: var(--manta-title-font); font-weight: 400; color: var(--manta-ink); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -.01em; margin: 0; }

/* ---------- Botones ---------- */
.manta-btn:not(.elementor-element),
.manta-page .wp-block-button__link,
.elementor-widget-button.manta-btn .elementor-button {
	display: inline-flex; align-items: center; gap: .6em;
	padding: 1em 2em; border: 1px solid var(--manta-ink); border-radius: 999px;
	background: var(--manta-ink); color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
	transition: background-color .4s var(--manta-ease), color .4s var(--manta-ease), border-color .4s var(--manta-ease), transform .4s var(--manta-ease);
}
.manta-btn:not(.elementor-element):hover, .manta-page .wp-block-button__link:hover, .elementor-widget-button.manta-btn .elementor-button:hover { background: transparent; color: var(--manta-ink); transform: translateY(-2px); }
.manta-btn--light:not(.elementor-element), .elementor-widget-button.manta-btn--light .elementor-button { background: #fff; border-color: #fff; color: var(--manta-ink); }
.manta-btn--light:not(.elementor-element):hover, .elementor-widget-button.manta-btn--light .elementor-button:hover { background: transparent; color: #fff; }

.manta-link-arrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--manta-ink); }
.manta-link-arrow::after { content: "→"; transition: transform .4s var(--manta-ease); }
a:hover .manta-link-arrow::after, .manta-link-arrow:hover::after { transform: translateX(6px); }

.manta-badge { display: inline-block; padding: .45em 1em; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--manta-ink); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(6px); }
.manta-badge--proximo { background: var(--manta-ocean); color: #fff; }
.manta-badge--realizado { background: var(--manta-sand); }

/* ---------- Hero ---------- */
.manta-hero { position: relative; min-height: clamp(520px, 86vh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--manta-ocean); overflow: hidden; }
.manta-hero--compact { min-height: clamp(380px, 58vh, 560px); }
.manta-hero__media { position: absolute; inset: -6% 0; }
.manta-hero__media img, .manta-hero__media video { width: 100%; height: 100%; object-fit: cover; animation: manta-kenburns 22s var(--manta-ease) both; }
.manta-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,0) 30%, rgba(5,25,33,.75) 100%), linear-gradient(90deg, rgba(5,25,33,.55) 0%, rgba(5,25,33,0) 65%); pointer-events: none; }
.manta-hero__inner { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(90px, 12vw, 150px); }
.manta-hero .manta-kicker { color: rgba(255,255,255,.8); }
.manta-hero__title { font-family: var(--manta-title-font); font-weight: 400; color: #fff; font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -.02em; max-width: 14ch; margin: 0; }
.manta-hero__text { max-width: 560px; margin: 1.4rem 0 0; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; color: rgba(255,255,255,.88); }
.manta-hero .manta-badge { margin-bottom: 1.2rem; }

@keyframes manta-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ---------- Olas ---------- */
.manta-ola { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 90px); z-index: 3; line-height: 0; pointer-events: none; }
.manta-ola--flip { top: -1px; bottom: auto; transform: scaleY(-1); }
.manta-ola svg { width: 200%; height: 100%; }
.manta-ola__a { animation: manta-ola 18s linear infinite; opacity: .55; }
.manta-ola__b { animation: manta-ola 26s linear infinite reverse; }
@keyframes manta-ola { from { transform: translateX(0); } to { transform: translateX(-25%); } }
.elementor-widget-shortcode .manta-ola, .manta-ola-static .manta-ola { position: relative; bottom: auto; }

/* ---------- Grillas y tarjetas ---------- */
.manta-grid { display: grid; gap: clamp(20px, 2.6vw, 36px); }
.manta-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.manta-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.manta-grid--historias { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: clamp(56px, 8vw, 110px); }
@media (max-width: 1024px) {
	.manta-grid--3, .manta-grid--historias { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.manta-grid--2, .manta-grid--3, .manta-grid--historias { grid-template-columns: 1fr; }
}

.manta-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.manta-card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--manta-radius); overflow: hidden; background: var(--manta-sand); }
.manta-grid--historias .manta-card__media { aspect-ratio: 4 / 3; }

/* Proyectos en marcha: ficha horizontal, foto contenida a la izquierda. */
.manta-grid--feature { grid-template-columns: 1fr; max-width: 1100px; margin-inline: auto; }
.manta-grid--feature .manta-card__link { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.manta-grid--feature .manta-card__media { aspect-ratio: 4 / 3; }
.manta-grid--feature .manta-card__body { padding-top: 0; }
.manta-grid--feature .manta-card__title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.manta-grid--feature .manta-card__excerpt { font-size: 1.05rem; line-height: 1.7; max-width: 46ch; }
@media (max-width: 760px) {
	.manta-grid--feature .manta-card__link { grid-template-columns: 1fr; gap: 0; }
	.manta-grid--feature .manta-card__body { padding-top: 1.2rem; }
}

/* Próximos y realizados: 2 columnas con fotos apaisadas. */
.manta-grid--proyectos { max-width: 1100px; margin-inline: auto; }

/* Página de proyectos: títulos de sección centrados sobre sus fichas. */
.manta-proyectos .manta-section__head { margin-inline: auto; text-align: center; }
.manta-proyectos .manta-section__title { margin-inline: auto; }
.manta-grid--proyectos .manta-card__media { aspect-ratio: 3 / 2; }
.manta-card__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; transition: transform 1.1s var(--manta-ease); }
.manta-card__media .manta-badge { position: absolute; top: 16px; left: 16px; }
.manta-card:hover .manta-card__media img { transform: scale(1.06); }
.manta-card__body { padding-top: 1.2rem; }
.manta-card__meta { margin: 0 0 .4rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--manta-muted); }
.manta-card__title { font-family: var(--manta-title-font); font-weight: 400; color: var(--manta-ink); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.15; margin: 0 0 .6rem; }
.manta-card__excerpt { margin: 0 0 1rem; line-height: 1.6; }

/* ---------- Ficha de proyecto ---------- */
.manta-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 0; padding: 0; border-bottom: 1px solid var(--manta-line); }
.manta-datos > div { padding: 1.6rem 1.2rem 1.6rem 0; }
.manta-datos dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--manta-muted); margin-bottom: .35rem; }
.manta-datos dd { margin: 0; color: var(--manta-ink); font-size: 1.05rem; }

.manta-content { font-size: 1.08rem; line-height: 1.75; }
.manta-content > * { max-width: 760px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); box-sizing: content-box; }
.manta-content > .alignwide { max-width: var(--manta-wrap); box-sizing: border-box; }
.manta-content > .alignfull { max-width: none; padding-inline: 0; box-sizing: border-box; }
.manta-content > :first-child { margin-top: clamp(48px, 7vw, 90px); }
.manta-content > :last-child { margin-bottom: clamp(56px, 8vw, 110px); }
.manta-content h2 { margin: 2.2em auto .6em; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.manta-content h3 { font-family: var(--manta-body-font); font-weight: 500; color: var(--manta-ink); font-size: 1.15rem; margin: 0 0 .4em; }
.manta-content .manta-lead { font-family: var(--manta-title-font); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; color: var(--manta-ink); }
/* Fotos dentro de relatos y páginas: acompañan al texto, no lo tapan.
   Aunque en el editor se elija "ancho amplio" o "ancho completo", quedan contenidas. */
.manta-content > .wp-block-image,
.manta-content > .wp-block-image.alignwide,
.manta-content > .wp-block-image.alignfull,
.manta-content > .wp-block-gallery,
.manta-content > figure { max-width: 760px !important; margin: 2.6em auto !important; padding-inline: clamp(16px, 4vw, 40px); box-sizing: content-box; text-align: center; }
.manta-content > .wp-block-image img,
.manta-content > figure img { display: block; width: auto !important; max-width: 100%; height: auto !important; max-height: 540px; margin: 0 auto; border-radius: var(--manta-radius); object-fit: cover; }
.manta-content > .wp-block-gallery img { border-radius: calc(var(--manta-radius) * .7); }
.manta-content > .wp-block-gallery { gap: 12px; }

.manta-quote { position: relative; text-align: center; padding-block: clamp(56px, 8vw, 100px) !important; margin-block: 2.5em; background: var(--manta-ocean); color: #fff; }
.manta-quote p { font-family: var(--manta-title-font); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.15; max-width: 18ch; margin: 0 auto; color: #fff; }
.manta-quote cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

.manta-pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 2em; }
.manta-pilar { padding: 1.6rem; border: 1px solid var(--manta-line); border-radius: var(--manta-radius); background: #fff; transition: transform .5s var(--manta-ease), box-shadow .5s var(--manta-ease); }
.manta-pilar:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -24px rgba(14,58,74,.45); }
.manta-pilar__num { display: block; font-family: var(--manta-title-font); font-size: 2rem; color: var(--manta-ocean); line-height: 1; margin-bottom: .8rem; }
.manta-pilar p { margin: 0; font-size: .98rem; line-height: 1.6; }
.manta-pilares--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .manta-pilares, .manta-pilares--2 { grid-template-columns: 1fr; } }
.manta-page .wp-block-buttons { gap: 14px; }
.manta-page .is-style-outline .wp-block-button__link { background: transparent; color: var(--manta-ink); }
.manta-page .is-style-outline .wp-block-button__link:hover { background: var(--manta-ink); color: #fff; }

.manta-pasos { counter-reset: paso; list-style: none; padding-left: 0 !important; display: grid; gap: 0; }
.manta-pasos li { counter-increment: paso; position: relative; padding: 1.2rem 0 1.2rem 4rem; border-top: 1px solid var(--manta-line); }
.manta-pasos li::before { content: counter(paso, decimal-leading-zero); position: absolute; left: 0; top: 1.1rem; font-family: var(--manta-title-font); font-size: 1.8rem; color: var(--manta-ocean); }
.manta-pasos strong { color: var(--manta-ink); font-weight: 500; }

/* ---------- Cinta en movimiento ---------- */
.manta-marquee { overflow: hidden; border-block: 1px solid var(--manta-line); padding-block: 1.1rem; white-space: nowrap; }
.manta-marquee__track { display: inline-flex; gap: 3rem; animation: manta-marquee 40s linear infinite; font-family: var(--manta-title-font); font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--manta-ink); }
.manta-marquee__track span::after { content: "✦"; margin-left: 3rem; font-size: .6em; vertical-align: middle; color: var(--manta-ocean); }
@keyframes manta-marquee { to { transform: translateX(-50%); } }

/* ---------- CTA, filtros, vacío ---------- */
.manta-cta { text-align: center; padding-block: clamp(64px, 10vw, 130px); }
.manta-cta p { max-width: 520px; margin: 1rem auto 2rem; line-height: 1.6; }

.manta-filtros { display: flex; flex-wrap: wrap; gap: .6rem; padding-block: clamp(28px, 4vw, 48px); }
.manta-filtros a { padding: .6em 1.3em; border: 1px solid var(--manta-line); border-radius: 999px; color: var(--manta-ink); font-size: .85rem; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.manta-filtros a:hover, .manta-filtros a.is-active { background: var(--manta-ink); border-color: var(--manta-ink); color: #fff; }
.manta-vacio { text-align: center; padding-block: clamp(40px, 8vw, 100px) clamp(64px, 10vw, 130px); }
.manta-vacio h2 { font-family: var(--manta-title-font); font-weight: 400; color: var(--manta-ink); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.manta-vacio p { margin-bottom: 2rem; }

/* Home: si no hay historias, la sección que las contiene se oculta. */
.manta-if-historias:has(.manta-sin-historias) { display: none !important; }

/* ---------- Header más moderno ---------- */
.nova-header.headroom--not-top { background-color: rgba(255,255,255,.82) !important; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.main-navigation .menu > li > a { position: relative; }
.main-navigation .menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--manta-ease); }
.main-navigation .menu > li > a:hover::after,
.main-navigation .menu > li.current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
/* Menú siempre en una línea: el espacio entre ítems se achica en pantallas medianas. */
.nova-header.header-type-default > div { flex-wrap: nowrap !important; }
.nova-header .header-center-items { min-width: 0; }
.header-primary-nav .menu { flex-wrap: nowrap !important; align-items: center; }
.header-primary-nav .menu > li { padding-right: clamp(12px, 1.7vw, 30px) !important; white-space: nowrap; }
.header-primary-nav .menu > li:last-child { padding-right: 0 !important; }
@media (max-width: 1360px) { .header-primary-nav .menu > li > a { font-size: 13px !important; letter-spacing: .02em; } }
@media (max-width: 1200px) {
	.header-primary-nav .menu > li { padding-right: 12px !important; }
	.header-primary-nav .menu > li > a { font-size: 12px !important; letter-spacing: 0; }
	.main-navigation .menu > li.manta-menu-tienda > a { padding: .65em 1.1em !important; }
}
.main-navigation .menu > li.manta-menu-tienda { display: flex; align-items: center; margin-left: clamp(4px, .8vw, 14px); }
.main-navigation .menu > li.manta-menu-tienda > a { display: inline-flex; align-items: center; height: auto !important; line-height: 1 !important; padding: .75em 1.4em !important; border: 1px solid currentColor; border-radius: 999px; transition: background .3s, color .3s; }
.main-navigation .menu > li.manta-menu-tienda > a:hover { background: var(--manta-ink); color: #fff; }
.main-navigation .menu > li.manta-menu-tienda > a::after { display: none; }

/* ---------- Home (Elementor) ---------- */
.manta-home-hero { position: relative; overflow: hidden; }
.manta-home-hero .manta-kicker, .manta-on-dark .manta-kicker { color: rgba(255,255,255,.78); }
.manta-home-hero .manta-home-title .elementor-heading-title,
.manta-home-hero__title .elementor-heading-title { font-family: var(--manta-title-font); font-weight: 400; color: #fff; font-size: clamp(2.8rem, 7.4vw, 6.4rem); line-height: 1.02; letter-spacing: -.02em; max-width: 13ch; }
.manta-home-hero__text { max-width: 560px; color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; }
.manta-home-hero > .e-con-inner { position: static; }
.manta-ola-abs { position: absolute !important; left: 0; right: 0; bottom: 0; width: 100% !important; margin: 0 !important; z-index: 3; }
.manta-ola-abs .manta-ola { position: relative; }

.manta-home-title .elementor-heading-title { font-family: var(--manta-title-font); font-weight: 400; color: var(--manta-ink); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.01em; max-width: 18ch; }
.manta-on-dark .elementor-heading-title, .manta-on-dark, .manta-on-dark p { color: #fff !important; }
.manta-home-text { max-width: 620px; font-size: 1.06rem; line-height: 1.7; color: var(--manta-text); }
.manta-home-text p:last-child { margin-bottom: 0; }
.manta-home-grid { margin-top: 24px; }
.manta-home-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--manta-radius); }
.manta-btn--ghost .elementor-button { background: transparent !important; color: var(--manta-ink) !important; transition: background-color .4s var(--manta-ease), color .4s var(--manta-ease) !important; }
.manta-btn--ghost .elementor-button:hover { background: var(--manta-ink) !important; color: #fff !important; }
.manta-btn--light.manta-btn--ghost .elementor-button { color: #fff !important; border-color: rgba(255,255,255,.6) !important; }
.manta-btn--light.manta-btn--ghost .elementor-button:hover { background: #fff !important; color: var(--manta-ink) !important; }

.manta-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 16vw, 230px); gap: clamp(10px, 1.4vw, 18px); margin-top: 24px; }
.manta-mosaic__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--manta-radius); }
.manta-mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

.manta-mosaic__item img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; transition: transform 1.2s var(--manta-ease); }
.manta-mosaic__item:hover img { transform: scale(1.07); }
@media (max-width: 680px) {
	.manta-mosaic { grid-template-columns: repeat(2, 1fr); }
	.manta-mosaic__item:nth-child(1) { grid-row: span 1; }
}

.manta-home-tienda ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin: 24px 0 0 !important; }
.manta-home-tienda ul.products::before, .manta-home-tienda ul.products::after { display: none !important; }
.manta-home-tienda ul.products li.product { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.manta-home-tienda ul.products li.product img { border-radius: var(--manta-radius); }
@media (max-width: 860px) { .manta-home-tienda ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Textos del producto en blanco sobre el fondo oscuro; los botones circulares
   sobre la foto (favoritos, vista rápida, carrito) mantienen su ícono oscuro. */
.manta-home-tienda li.product .product-item__description,
.manta-home-tienda li.product .product-item__description a,
.manta-home-tienda li.product .woocommerce-loop-product__title,
.manta-home-tienda li.product .price,
.manta-home-tienda li.product .price * { color: #fff !important; }
.manta-home-tienda li.product .product-item__description a:hover .woocommerce-loop-product__title { color: rgba(255,255,255,.75) !important; }

/* ---------- Historia individual ---------- */
.manta-historia__meta { max-width: 760px; margin: clamp(32px, 5vw, 56px) auto 0; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--manta-muted); }
.manta-historia__meta span { margin: 0 .6em; }
.manta-historia .manta-content > :first-child { margin-top: 1.4rem; }
.manta-content > blockquote.wp-block-quote { box-sizing: border-box; max-width: 760px !important; margin: 2.4em auto !important; padding: .2em 0 .2em 1.6rem !important; border: 0 !important; border-left: 2px solid var(--manta-ocean) !important; background: none !important; }
.manta-content > blockquote.wp-block-quote::before, .manta-content > blockquote.wp-block-quote::after { display: none !important; }
.manta-content > blockquote.wp-block-quote p { font-family: var(--manta-title-font); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.35; color: var(--manta-ink); font-style: normal !important; margin: 0; }
@media (max-width: 800px) { .manta-content > blockquote.wp-block-quote { margin-inline: 16px !important; } }
.manta-dato-box { background: var(--manta-sand); border-radius: var(--manta-radius); padding: clamp(22px, 3vw, 36px) !important; }
.manta-dato-box h3 { margin-bottom: .8em; }
.manta-dato-box ul { margin: 0; padding-left: 1.1em; }
.manta-dato-box li { margin-bottom: .45em; }
.manta-content .wp-block-image figcaption { font-size: .85rem; color: var(--manta-muted); text-align: center; margin-top: .6em; }

/* ---------- Grilla de productos: siempre cuadrada ----------
   WooCommerce ya recorta las miniaturas 1:1; esto es el respaldo para fotos
   sin recorte (recién subidas, en regeneración o con otra proporción). */
.product-item__thumbnail { aspect-ratio: 1 / 1; overflow: hidden; }
.product-item__thumbnail img { width: 100%; height: 100% !important; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }

/* ---------- Páginas de ancho completo ---------- */
.manta-page--full > .manta-content > :first-child { margin-top: clamp(48px, 7vw, 90px); }
.manta-split-2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.manta-split-2 p { line-height: 1.7; }
@media (max-width: 900px) { .manta-split-2 { grid-template-columns: 1fr; } }

/* ---------- Formularios (SureForms) dentro de nuestras páginas ---------- */
.manta-form-card { background: #fff; border-radius: var(--manta-radius); padding: clamp(24px, 4vw, 48px); box-shadow: 0 30px 60px -40px rgba(14,58,74,.35); }
.manta-form-card .srfm-form-container { background: transparent !important; padding: 0 !important; --srfm-input-field-border-radius: 12px; --srfm-input-field-padding: 13px 16px; }
.manta-form-card .srfm-form { display: flex; flex-direction: column; gap: 22px; padding: 0 !important; }
.manta-form-card .srfm-block { margin: 0 !important; padding: 0 !important; }

/* Etiquetas */
.manta-form-card .srfm-block-label,
.manta-form-card .srfm-block-legend { display: block; margin-bottom: 8px !important; font-family: var(--manta-body-font); font-size: .72rem !important; font-weight: 500 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--manta-ink) !important; }
.manta-form-card .srfm-required { color: var(--manta-ocean) !important; }
.manta-form-card .srfm-description { font-size: .82rem; color: var(--manta-muted); margin-top: 6px; }

/* Campos */
.manta-form-card .srfm-input-common:not(textarea),
.manta-form-card .ts-wrapper.srfm-dropdown-common,
.manta-form-card textarea.srfm-input-common {
	background: #fff !important; border: 1px solid #dcdcdc !important; border-radius: 12px !important;
	font-family: var(--manta-body-font); font-size: 1rem !important; color: var(--manta-ink) !important;
	box-shadow: none !important; transition: border-color .25s, box-shadow .25s;
}
.manta-form-card .srfm-input-common:not(textarea) { min-height: 52px; padding-right: 16px !important; }
/* El teléfono no: el plugin calcula su relleno izquierdo según el largo del prefijo. */
.manta-form-card .srfm-input-common:not(textarea):not(.srfm-input-phone) { padding-left: 16px !important; }
.manta-form-card textarea.srfm-input-common { min-height: 120px; padding: 14px 16px !important; resize: vertical; }
.manta-form-card .srfm-form .ts-wrapper.srfm-dropdown-common { min-height: 52px; height: 52px !important; padding: 0 !important; border-radius: 12px !important; overflow: visible; }
.manta-form-card .srfm-form .ts-wrapper .ts-control { min-height: 50px; height: 50px; border-radius: 12px !important; padding-left: 16px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; align-items: center; }
.manta-form-card .srfm-input-common::placeholder, .manta-form-card .ts-control input::placeholder { color: #a7a7a7; }
.manta-form-card .srfm-input-common:focus,
.manta-form-card textarea.srfm-input-common:focus,
.manta-form-card .ts-wrapper.focus { border-color: var(--manta-ocean) !important; box-shadow: 0 0 0 3px rgba(14,58,74,.12) !important; outline: none !important; }
.manta-form-card .srfm-error .srfm-input-common, .manta-form-card .srfm-error .ts-wrapper { border-color: #c0392b !important; }
.manta-form-card .ts-dropdown,
.manta-form-card .ts-dropdown .ts-dropdown-content { background: #fff !important; color: var(--manta-ink) !important; }
.manta-form-card .ts-dropdown { border: 1px solid #dcdcdc !important; border-radius: 12px !important; box-shadow: 0 18px 40px -20px rgba(0,0,0,.25) !important; overflow: hidden; margin-top: 6px; }
.manta-form-card .ts-dropdown .option { padding: 12px 16px !important; background: #fff !important; color: var(--manta-ink) !important; font-size: 1rem; }
.manta-form-card .ts-dropdown .option:hover,
.manta-form-card .ts-dropdown .option.active { background: var(--manta-sand) !important; color: var(--manta-ink) !important; }
.manta-form-card .ts-dropdown .option.selected { font-weight: 500; }

/* Título y texto al lado del formulario: un poco de aire entre ambos. */
.manta-split-2 .manta-section__title { margin-bottom: 1rem; }

/* Casillas */
.manta-form-card input[type="checkbox"] { accent-color: var(--manta-ocean); width: 18px; height: 18px; }
.manta-form-card .srfm-checkbox-block label, .manta-form-card .srfm-gdpr-block label,
.manta-form-card .srfm-checkbox-block .srfm-block-label, .manta-form-card .srfm-gdpr-block .srfm-block-label { font-size: .9rem; line-height: 1.5; text-transform: none; letter-spacing: 0; font-weight: 400 !important; color: var(--manta-text) !important; }
/* SureForms dibuja la casilla con un span y su color de borde queda vacío: sin esto no se ve. */
.srfm-form-container .srfm-cbx > .srfm-span-wrap:first-child { flex: none; box-sizing: border-box; border: 1.5px solid var(--manta-ink) !important; border-radius: 4px; background: #fff; }
.srfm-form-container .srfm-input-checkbox:checked + .srfm-cbx > .srfm-span-wrap:first-child { background: var(--manta-ink) !important; }
.srfm-form-container .srfm-input-checkbox:focus-visible + .srfm-cbx > .srfm-span-wrap:first-child { outline: 2px solid var(--manta-ocean); outline-offset: 2px; }

/* Desplegable de país del teléfono: venía oscuro y con letra gris, ilegible. */
.iti__dropdown-content { background: #fff !important; border: 1px solid #e4e1da !important; border-radius: 12px !important; box-shadow: 0 12px 32px rgba(0, 0, 0, .12) !important; overflow: hidden; }
.iti__country-list { background: #fff !important; scrollbar-width: thin; scrollbar-color: #c9c5bc transparent; }
.iti__search-input { background: #fff !important; color: var(--manta-ink) !important; border: 0 !important; border-bottom: 1px solid #e4e1da !important; border-radius: 0 !important; box-shadow: none !important; }
.iti__search-input::placeholder { color: #8a8a8a !important; opacity: 1; }
.iti__country { background: transparent !important; color: var(--manta-ink) !important; }
.iti__country .iti__country-name { color: var(--manta-ink) !important; }
.iti__country .iti__dial-code { color: #6b6b6b !important; }
.iti__country:hover, .iti__country.iti__highlight { background: var(--manta-sand) !important; }

/* Botón */
.manta-form-card .srfm-submit-container { margin-top: 6px; }
.manta-form-card .srfm-submit-button {
	width: auto !important; min-width: 220px; padding: 1.05em 2.2em !important; border: 1px solid var(--manta-ink) !important; border-radius: 999px !important;
	background: var(--manta-ink) !important; color: #fff !important; font-family: var(--manta-body-font); font-size: .8rem !important; letter-spacing: .16em; text-transform: uppercase;
	transition: background-color .35s var(--manta-ease), color .35s var(--manta-ease), transform .35s var(--manta-ease);
}
.manta-form-card .srfm-submit-button:hover { background: transparent !important; color: var(--manta-ink) !important; transform: translateY(-2px); }
.manta-form-card .srfm-submit-button * { color: inherit !important; }

/* Mensaje de "¡Gracias!" */
.manta-form-card .srfm-success-box { border-radius: var(--manta-radius); background: var(--manta-sand) !important; padding: 32px !important; }

/* ---------- Movimiento: aparición al hacer scroll ---------- */
.manta-js .manta-reveal,
.manta-js .elementor-element.manta-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--manta-ease), transform .9s var(--manta-ease); transition-delay: var(--manta-delay, 0s); }
.manta-js .manta-reveal.manta-in { opacity: 1; transform: none; }
.manta-split .manta-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.manta-split .manta-word > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--manta-ease); transition-delay: var(--manta-delay, 0s); }
.manta-split.manta-in .manta-word > span { transform: none; }

[data-manta-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	.manta-js .manta-reveal, .manta-split .manta-word > span { opacity: 1 !important; transform: none !important; transition: none !important; }
	.manta-hero__media img, .manta-hero__media video, .manta-ola__a, .manta-ola__b, .manta-marquee__track { animation: none !important; }
	[data-manta-parallax] { transform: none !important; }
}

/* ---------- Redes sociales ---------- */
.manta-redes { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.manta-redes a { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; padding: 0 14px; border: 1px solid currentColor; border-radius: 999px; color: inherit; text-decoration: none; font-size: .85rem; transition: background-color .3s, color .3s; }
.manta-redes a:hover { background: var(--manta-ink); border-color: var(--manta-ink); color: #fff; }
.manta-redes svg { width: 18px; height: 18px; flex: none; }
.manta-redes--footer a { width: 44px; padding: 0; justify-content: center; border-color: rgba(255,255,255,.35); }
.manta-redes--footer a:hover { background: #fff; border-color: #fff; color: var(--manta-ocean); }

/* ---------- Pie de página ---------- */
.manta-footer { background: var(--manta-ocean); color: rgba(255,255,255,.78); font-family: var(--manta-body-font); }
.manta-footer a { color: #fff; text-decoration: none; }
.manta-footer a:hover { opacity: .75; }
.manta-footer__news { border-bottom: 1px solid rgba(255,255,255,.14); }
.manta-footer__news-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.manta-footer__news .manta-kicker { color: rgba(255,255,255,.6); }
.manta-footer__news-title { font-family: var(--manta-title-font); font-weight: 400; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; margin: 0 0 .7rem; }
.manta-footer__news-text p:last-child { margin: 0; line-height: 1.6; }
.manta-footer__main { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 80px); }
.manta-footer__logo img { width: 92px; height: auto; }
.manta-footer__logo span { font-family: var(--manta-title-font); font-size: 1.6rem; color: #fff; }
.manta-footer__brand p { margin: 1rem 0 1.2rem; max-width: 28ch; line-height: 1.6; }
.manta-footer__col h3 { font-family: var(--manta-body-font); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 1.1rem; }
.manta-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.manta-footer__col a { font-size: .98rem; }
.manta-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; color: rgba(255,255,255,.55); }
.manta-footer__bottom p { margin: 0; }
@media (max-width: 960px) {
	.manta-footer__news-inner { grid-template-columns: 1fr; }
	.manta-footer__main { grid-template-columns: 1fr 1fr; }
	.manta-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .manta-footer__main { grid-template-columns: 1fr; } }

/* Formulario de suscripción sobre fondo oscuro */
.manta-footer .srfm-form-container { background: transparent !important; padding: 0 !important; --srfm-input-field-border-radius: 999px; }
.manta-footer .srfm-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 0 !important; }
.manta-footer .srfm-block { flex: 1 1 200px; margin: 0 !important; padding: 0 !important; width: auto !important; }
.manta-footer .srfm-block-label { font-size: .7rem !important; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6) !important; margin-bottom: 6px !important; }
.manta-footer .srfm-required { color: rgba(255,255,255,.6) !important; }
.manta-footer .srfm-input-common { min-height: 50px; background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.3) !important; border-radius: 999px !important; color: #fff !important; padding: 0 20px !important; }
.manta-footer .srfm-input-common::placeholder { color: rgba(255,255,255,.45); }
.manta-footer .srfm-input-common:focus { border-color: #fff !important; box-shadow: 0 0 0 3px rgba(255,255,255,.15) !important; outline: none; }
.manta-footer .srfm-submit-container, .manta-footer .srfm-block-wrap:has(.srfm-submit-button) { flex: 0 0 auto; margin: 0 !important; }
.manta-footer .srfm-submit-button { min-height: 50px; padding: 0 1.8em !important; border-radius: 999px !important; border: 1px solid #fff !important; background: #fff !important; color: var(--manta-ocean) !important; font-size: .78rem !important; letter-spacing: .16em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.manta-footer .srfm-submit-button:hover { background: transparent !important; color: #fff !important; }
.manta-footer .srfm-submit-button * { color: inherit !important; }
.manta-footer .srfm-success-box { background: rgba(255,255,255,.08) !important; color: #fff !important; border-radius: 18px; font-size: 1rem; line-height: 1.5; }
/* La confirmación viene en títulos h6, que Mixtas deja diminutos. */
.manta-footer .srfm-success-box h6 { margin: 0 0 .5em !important; font-family: var(--manta-heading-font, inherit); font-size: 1.05rem !important; font-weight: 400 !important; line-height: 1.35; letter-spacing: 0; text-transform: none; }
.manta-footer .srfm-success-box h6:first-of-type { font-size: 1.5rem !important; }
.manta-footer .srfm-success-box p { margin-bottom: .5em; }

/* Mixtas agrega relleno al footer original: lo anulamos. */
.site-footer.manta-footer .nova-footer { display: none; }

/* ---------- Aviso de cookies ---------- */
.manta-cookies { position: fixed; z-index: 9999; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-radius: 16px; background: rgba(17,17,17,.94); color: #fff; font-size: .88rem; line-height: 1.5; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); backdrop-filter: blur(8px); }
.manta-cookies[hidden] { display: none; }
.manta-cookies p { margin: 0; }
.manta-cookies a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.manta-cookies__ok { flex: none; min-height: 40px; padding: 0 1.3em; border: 0; border-radius: 999px; background: #fff; color: var(--manta-ink); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

/* ---------- Destinos ---------- */
.manta-filtros--destinos { padding-top: 0; align-items: center; }
.manta-filtros__label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--manta-muted); margin-right: .4rem; }
.manta-destinos-otros { padding-block: clamp(32px, 5vw, 56px); text-align: center; }
.manta-destinos-otros .manta-filtros { justify-content: center; padding-top: 1rem; }
.manta-historia__meta a { color: var(--manta-ink); text-decoration: none; border-bottom: 1px solid var(--manta-line); }
.manta-historia__meta a:hover { border-color: var(--manta-ink); }

/* ---------- Patrocinio ---------- */
.manta-sponsor-tag { max-width: 760px; margin: .8rem auto 0; display: flex; align-items: center; gap: .5em; font-size: .85rem; color: var(--manta-muted); }
.manta-sponsor-tag a, .manta-sponsor-tag strong { color: var(--manta-ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--manta-line); }
.manta-content > .manta-sponsor { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 32px); align-items: center; max-width: 760px; margin: 3em auto !important; padding: clamp(22px, 3vw, 32px) !important; box-sizing: border-box; border: 1px solid var(--manta-line); border-radius: var(--manta-radius); background: #fff; }
.manta-sponsor__media { width: 110px; display: flex; align-items: center; justify-content: center; }
.manta-sponsor__logo { max-width: 110px; max-height: 80px; width: auto; height: auto; object-fit: contain; border-radius: 0 !important; }
.manta-sponsor__body p { margin: 0 0 .6rem; font-size: 1rem; }
.manta-sponsor__body .manta-kicker { margin-bottom: .4rem; }
.manta-sponsor__title { font-family: var(--manta-title-font); font-size: 1.3rem !important; color: var(--manta-ink); line-height: 1.3; }
@media (max-width: 560px) { .manta-content > .manta-sponsor { grid-template-columns: 1fr; } }

/* ---------- Invitación a marcas ---------- */
.manta-banda-marcas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 90px); padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--manta-line); border-radius: var(--manta-radius); background: #fff; }
.manta-banda-marcas p { margin: 0; line-height: 1.6; }
.manta-banda-marcas .manta-kicker { margin-bottom: .4rem; }
.manta-banda-marcas__title { font-family: var(--manta-title-font); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--manta-ink); line-height: 1.2; margin-bottom: .4rem !important; }
.manta-section--tint .manta-banda-marcas { margin-bottom: 0; }
.manta-pasos--wide { max-width: 860px; }
.manta-pasos--wide li { font-size: 1.05rem; line-height: 1.65; }

/* Celular: etiquetas de formularios un poco más grandes y área de toque cómoda en la búsqueda del header */
@media (max-width: 680px) {
	.manta-form-card .srfm-block-label,
	.manta-form-card .srfm-block-legend,
	.manta-footer .srfm-block-label { font-size: .78rem !important; }
	.header_search_button { position: relative; }
	.header_search_button::after { content: ""; position: absolute; inset: -12px; }
}

/* Galerías dentro de historias y proyectos: grilla pareja de fotos recortadas */
.manta-content > .wp-block-gallery.has-nested-images { --manta-cols: 3; display: grid !important; grid-template-columns: repeat(var(--manta-cols), 1fr); gap: 12px; }
.manta-content > .wp-block-gallery.columns-2 { --manta-cols: 2; }
.manta-content > .wp-block-gallery.columns-4 { --manta-cols: 4; }
.manta-content > .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0; }
.manta-content > .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100% !important; height: 100% !important; max-height: none; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 600px) { .manta-content > .wp-block-gallery.has-nested-images { gap: 8px; } }
/* Galerías de 2: fotos horizontales, se ven casi completas */
.manta-content > .wp-block-gallery.columns-2.has-nested-images figure.wp-block-image img { aspect-ratio: 3 / 2; }
/* Crédito de fotos dentro de un proyecto o historia */
.manta-content > .manta-credito { font-size: .88rem; color: var(--manta-muted); font-style: italic; }

/* Portada de la home: fotos que se alternan con el video de fondo (manta-motion.js). */
.manta-hero-fotos { display: none; }
.manta-hero-capa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 7s ease-out; }
.manta-hero-capa.is-on { opacity: 1; transform: scale(1); }
.elementor-element-mantafot { display: none; }

/* Nuestra historia: fotos más chicas para que manden los textos. */
.manta-content--fotos > .wp-block-group__inner-container > .wp-block-image,
.manta-content--fotos > .wp-block-group__inner-container > .wp-block-gallery { max-width: 600px !important; margin-left: auto !important; margin-right: auto !important; }
.manta-content--fotos > .wp-block-group__inner-container > .wp-block-image img { max-height: 420px !important; }

/* Botones de bloque: Mixtas les pone su color de botón (blanco) con más prioridad y deja el texto blanco con !important. */
.manta-page .wp-block-button a.wp-block-button__link { background-color: var(--manta-ink); border-color: var(--manta-ink); border-radius: 999px; text-transform: uppercase; }
.manta-page .wp-block-button a.wp-block-button__link:hover { background-color: transparent; color: var(--manta-ink) !important; }
.manta-page .wp-block-button.is-style-outline a.wp-block-button__link { background-color: transparent; color: var(--manta-ink) !important; }
.manta-page .wp-block-button.is-style-outline a.wp-block-button__link:hover { background-color: var(--manta-ink); color: #fff !important; }

/* Botón y formulario de arrepentimiento */
.manta-footer .manta-footer__arrepentimiento { display: inline-block; margin-top: 18px; padding: .7em 1.5em; border: 1px solid #fff; border-radius: 999px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.manta-footer .manta-footer__arrepentimiento:hover { background: #fff; color: var(--manta-ink); opacity: 1; }
.manta-arrep { max-width: 620px; margin: 32px auto; scroll-margin-top: 110px; }
.manta-arrep p { margin: 0 0 20px; }
.manta-arrep h2 { margin-top: 0; }
.manta-arrep label { display: block; margin-bottom: 8px; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--manta-ink); }
.manta-arrep input[type="text"], .manta-arrep input[type="email"], .manta-arrep textarea { width: 100%; box-sizing: border-box; padding: 13px 16px; border: 1px solid #d9d6cf; border-radius: 12px; background: #fff; color: var(--manta-ink); }
.manta-arrep input[type="text"]:focus, .manta-arrep input[type="email"]:focus, .manta-arrep textarea:focus { border-color: var(--manta-ink); outline: 2px solid var(--manta-ocean); outline-offset: 1px; }
.manta-arrep__nota { font-size: .85rem; color: var(--manta-muted); }
.manta-arrep__error { padding: 12px 16px; border-radius: 12px; background: #fbeae8; color: #8f2a1e; }
.manta-arrep__trampa { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.manta-arrep .manta-arrep__enviar { padding: 1em 2em; border: 1px solid var(--manta-ink); border-radius: 999px; background: var(--manta-ink); color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.manta-arrep .manta-arrep__enviar:hover { background: transparent; color: var(--manta-ink); }
