/*
Theme Name: ZECELL Wellness
Theme URI: https://ze-cell.com
Author: ZECELL Wellness Center
Description: Tema a la medida para ZECELL (medicina regenerativa: células madre, exosomas y sueroterapia). Todas las secciones están hechas con bloques nativos de WordPress, así que se editan desde Apariencia → Editor sin tocar código. También incluye patrones reutilizables (categoría "ZECELL") para armar páginas de tratamientos.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zecell
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
:where(body) { -webkit-font-smoothing: antialiased; }
[id] { scroll-margin-top: 96px; }
.wp-site-blocks > main { margin-block-start: 0; }
.wp-site-blocks > footer { margin-block-start: 0; }

/* Énfasis en titulares: itálica Bodoni en dorado */
h1 em, h2 em, .wp-block-heading em {
	font-family: 'Bodoni Moda', Georgia, serif;
	font-style: italic;
	font-weight: 400;
	color: var(--wp--preset--color--dorado);
}
.z-dark h1 em, .z-dark h2 em { color: #C9AE89; }

.z-eyebrow {
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--bronce);
	margin: 0;
}
.z-dark .z-eyebrow { color: #C9AE89; }
.z-lead { font-size: 19px; line-height: 1.6; color: var(--wp--preset--color--gris); max-width: 560px; }
.z-muted { color: var(--wp--preset--color--gris); }
.z-small { font-size: 14px; }
.z-tight > * { margin-block-start: 0; }
.z-tight { gap: 12px !important; }

/* ---------- Encabezado ---------- */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}
.z-head {
	background: rgba(250, 248, 245, 0.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #E7E1D9;
	padding-top: 12px;
	padding-bottom: 12px;
}
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.z-brand { gap: 2px !important; align-items: center !important; }
.z-brand > * { margin: 0 !important; }
.z-logo {
	font-family: 'Bodoni Moda', Georgia, serif;
	font-size: 25px;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
}
.z-logo::before {
	content: "";
	display: block;
	width: 26px;
	height: 13px;
	background: url("assets/images/logo-mark.svg") center / contain no-repeat;
}
.z-logo a { color: var(--wp--preset--color--tinta); text-decoration: none; }
.z-logo-sub {
	font-size: 8px !important;
	font-weight: 500;
	letter-spacing: 0.34em;
	color: var(--wp--preset--color--bronce);
	line-height: 1;
	padding-left: 0.34em;
}
.z-nav { font-size: 14px; font-weight: 500; gap: 28px; }
.z-nav a { color: var(--wp--preset--color--tinta); text-decoration: none; }
.z-nav a:hover { color: var(--wp--preset--color--bronce); }
.z-head .wp-block-button__link { padding: 12px 20px; font-size: 14px; white-space: nowrap; }
@media (max-width: 600px) { .z-head-cta { display: none !important; } }

/* ---------- Secciones ---------- */
.z-section { padding-top: 112px !important; padding-bottom: 112px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
@media (max-width: 700px) { .z-section { padding-top: 72px !important; padding-bottom: 72px !important; } }
.z-white { background: #FFFFFF; border-top: 1px solid #EDE8E1; border-bottom: 1px solid #EDE8E1; }
.z-sand { background: #F3EEE7; }
.z-dark { background: #161514; color: #FFFFFF; }
.z-dark .z-muted, .z-dark p { color: #BFB8AF; }
.z-section-head { gap: 16px !important; }
.z-section-head > * { margin: 0 !important; }

/* Hero con células animadas */
.z-hero {
	position: relative;
	min-height: 760px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: url("assets/images/hero-cells.svg") right center / auto 100% no-repeat;
	padding-top: 96px !important;
	padding-bottom: 96px !important;
	margin-top: 0 !important;
}
@media (max-width: 900px) {
	.z-hero { min-height: 0; background-size: cover; background-position: 70% center; }
	.z-hero::before { content: ""; position: absolute; inset: 0; background: rgba(250, 248, 245, 0.72); }
	.z-hero > * { position: relative; }
}
.z-hero-text { max-width: 620px; gap: 28px !important; }
.z-hero-text > * { margin: 0 !important; }
.z-trust { gap: 12px 28px !important; font-size: 14px; color: var(--wp--preset--color--gris); padding-top: 12px; }
.z-trust p { margin: 0; display: flex; align-items: center; gap: 8px; }
.z-trust p::before { content: ""; width: 18px; height: 18px; background: url("assets/images/icon-check.svg") center / contain no-repeat; flex: none; }

/* Botones */
.wp-block-button__link { transition: filter .2s ease, transform .2s ease; min-height: 44px; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: rgba(255, 255, 255, 0.6);
	color: var(--wp--preset--color--tinta);
	border: 1px solid #CFC5B8;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #FFFFFF; }
.z-btn-sm .wp-block-button__link { padding: 12px 22px; font-size: 14px; }

/* Tarjetas */
.z-card {
	background: #FDFCFA;
	border: 1px solid #E7E1D9;
	border-radius: 20px;
	padding: 36px 32px;
	gap: 16px !important;
}
.z-card > * { margin: 0 !important; }
.z-card h3 { margin: 0; }
.z-card p { font-size: 15px; line-height: 1.65; }
.z-icon { margin: 0 !important; }
.z-icon img { width: 40px; height: 40px; display: block; }

/* Tarjetas con foto (padecimientos) */
.z-photo-card {
	background: #FFFFFF;
	border: 1px solid #E7E1D9;
	border-radius: 18px;
	overflow: hidden;
	gap: 0 !important;
	transition: transform .3s ease, box-shadow .3s ease;
}
.z-photo-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(33, 31, 32, .38); }
.z-photo-card > .wp-block-image { margin: 0 !important; }
.z-photo-card > .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.z-photo-card .z-card-body { padding: 20px 22px 24px; gap: 8px !important; }
.z-photo-card .z-card-body > * { margin: 0 !important; }
.z-photo-card h3 { font-size: 19px; font-weight: 600; }
.z-photo-card p { font-size: 14px; line-height: 1.55; }
.z-more a { font-weight: 600; text-decoration: none; }
.z-more a:hover { text-decoration: underline; }

/* Tarjetas de tratamiento (con video) */
.z-treat { padding: 0; overflow: hidden; gap: 0 !important; }
.z-treat > .wp-block-image, .z-treat > .wp-block-embed { margin: 0 !important; }
.z-treat > .wp-block-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.z-treat .z-card-body { padding: 28px; gap: 16px !important; flex: 1; }
.z-treat .z-card-body > * { margin: 0 !important; }
.z-dash { list-style: none; padding: 0; margin: 0; font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.z-dash li { display: flex; gap: 10px; }
.z-dash li::before { content: "—"; color: var(--wp--preset--color--bronce); }
.z-price-row {
	margin-top: auto !important;
	padding-top: 18px;
	border-top: 1px solid #EDE8E1;
	align-items: flex-end !important;
}
.z-price-row > * { margin: 0 !important; }
.z-price { font-size: 20px; font-weight: 600; text-align: right; line-height: 1.3; }
.z-price em { font-style: normal; font-size: 13px; font-weight: 400; color: var(--wp--preset--color--gris); }
.z-time { font-size: 13px; color: var(--wp--preset--color--gris); }

/* Chips */
.z-chips { gap: 12px !important; font-size: 14px; }
.z-chips > p { margin: 0; padding: 9px 16px; border-radius: 999px; border: 1px solid #D9D2C9; background: #FFFFFF; }
.z-chips > p.z-chips-label { border: 0; background: none; padding-left: 0; color: var(--wp--preset--color--gris); }
.z-chips-soft { gap: 8px !important; font-size: 13px; }
.z-chips-soft > p { margin: 0; padding: 7px 14px; border-radius: 999px; background: #F1ECE5; }

/* Sueroterapia: columna fija + tarjetas apiladas */
.z-sticky-col { align-self: flex-start; position: sticky; top: 110px; }
.z-sticky-col > * { margin-top: 0; }
.z-stack-list { gap: 28px !important; }
.z-stack {
	position: sticky;
	background: #FFFFFF;
	border: 1px solid #E7E1D9;
	border-radius: 22px;
	padding: 36px;
	gap: 22px !important;
	box-shadow: 0 -10px 30px -24px rgba(33, 31, 32, .4);
}
.z-stack > * { margin: 0 !important; }
.z-stack:nth-child(1) { top: 112px; }
.z-stack:nth-child(2) { top: 128px; }
.z-stack:nth-child(3) { top: 144px; }
.z-stack:nth-child(4) { top: 160px; }
.z-stack:nth-child(5) { top: 176px; }
.z-stack:nth-child(6) { top: 192px; }
.z-stack:nth-child(n+7) { top: 208px; }
.z-stack h3 { font-size: 26px; font-weight: 500; }
.z-kicker { font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--gris); }
.z-stack-head { align-items: flex-start !important; }
.z-stack-head > * { margin: 0 !important; }
.z-stack-title > * { margin: 0 !important; }
.z-stack-title { gap: 2px !important; }
.z-ingredients { gap: 12px 28px !important; font-size: 14px; line-height: 1.5; }
.z-ingredients > p { margin: 0; }
@media (max-width: 900px) {
	.z-sticky-col { position: static; }
	.z-stack { position: relative; top: auto !important; }
}

/* Tu estancia: línea de tiempo */
.z-timeline { border-left: 1px solid #3E3833; padding-left: 36px !important; gap: 32px !important; }
.z-step {
	position: relative;
	background: rgba(255, 255, 255, .04);
	border: 1px solid #36312C;
	border-radius: 20px;
	padding: 32px;
	gap: 16px !important;
}
.z-step > * { margin: 0 !important; }
.z-step::before {
	content: "";
	position: absolute;
	left: -45px;
	top: 30px;
	width: 17px;
	height: 17px;
	border-radius: 999px;
	background: #161514;
	border: 1px solid #C9AE89;
}
.z-step.is-highlight { background: rgba(201, 174, 137, .08); border-color: #8C7558; }
.z-step.is-highlight::before { background: #C9AE89; }
.z-step h3 { font-size: 24px; color: #FFFFFF; }
.z-step-head { align-items: baseline !important; }
.z-step-head > * { margin: 0 !important; }
.z-step-when { font-size: 13px !important; color: #C9AE89 !important; }
.z-step ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.55; color: #D9D2C9; }
.z-checks > p { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.z-checks > p::before { content: ""; width: 18px; height: 18px; background: url("assets/images/icon-check-gold.svg") center / contain no-repeat; flex: none; }
.z-checks { gap: 12px !important; padding-top: 12px; }

/* Videos */
.z-video { gap: 10px !important; }
.z-video > * { margin: 0 !important; }
.z-video .wp-block-image img, .z-video .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; display: block; }
.z-video h3 { font-size: 17px; font-weight: 600; }
.z-video p { font-size: 14px; }

/* Seguimiento */
.z-follow { border-top: 1px solid #D9D2C9; gap: 0 !important; }
.z-follow-item { position: relative; padding: 28px 24px 8px 0; gap: 10px !important; }
.z-follow-item > * { margin: 0 !important; }
.z-follow-item::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 999px; background: var(--wp--preset--color--tinta); }
.z-follow-big { font-family: 'Bodoni Moda', Georgia, serif; font-style: italic; font-size: 40px !important; line-height: 1.1; }
.z-follow-item p:not(.z-follow-big) { font-size: 15px; line-height: 1.55; color: var(--wp--preset--color--gris); }

/* Seguridad */
.z-safe { background: #FFFFFF; border-radius: 18px; padding: 28px; gap: 14px !important; }
.z-safe .z-icon img { width: 34px; height: 34px; }
.z-safe h3 { font-size: 17px; font-weight: 600; }
.z-safe p { font-size: 14px; line-height: 1.55; }

/* Preguntas frecuentes */
.z-faq-list { border-top: 1px solid #E7E1D9; gap: 0 !important; }
.z-faq-list > * { margin: 0 !important; }
.z-faq { border-bottom: 1px solid #E7E1D9; }
.z-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 24px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-size: 18px;
	font-weight: 500;
	min-height: 44px;
}
.z-faq summary::-webkit-details-marker { display: none; }
.z-faq summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--wp--preset--color--bronce); transition: transform .25s ease; line-height: 1; }
.z-faq[open] summary::after { transform: rotate(45deg); }
.z-faq p { margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: var(--wp--preset--color--gris); max-width: 640px; }

/* Contacto */
.z-contact-card { background: #FFFFFF; border: 1px solid #E7E1D9; border-radius: 22px; padding: 36px; gap: 18px !important; }
.z-contact-card > * { margin: 0 !important; }
.z-placeholder { border: 1px dashed #CFC5B8; border-radius: 14px; padding: 20px; font-size: 14px; color: var(--wp--preset--color--gris); background: #FDFCFA; }
.z-contact-lines > p { margin: 0; font-size: 15px; }

/* Pie de página */
.z-footer { background: #161514; color: #BFB8AF; padding-top: 72px !important; padding-bottom: 40px !important; margin-top: 0 !important; }
.z-footer a { color: #D9D2C9; text-decoration: none; }
.z-footer a:hover { color: #FFFFFF; }
.z-footer .z-logo a { color: #FFFFFF; }
.z-footer .z-logo { font-size: 32px; align-items: flex-start; }
.z-footer .z-logo::before { background-image: url("assets/images/logo-mark-light.svg"); width: 30px; height: 15px; margin-left: 50px; }
.z-footer .z-logo-sub { font-size: 10px !important; color: #C9AE89; padding-left: 0; }
.z-footer-links { gap: 12px 48px !important; font-size: 14px; }
.z-footer-links > p { margin: 0; }
.z-legal { margin-top: 0; padding-top: 28px; border-top: 1px solid #36312C; font-size: 12px !important; line-height: 1.7; max-width: 900px; }

/* Páginas interiores */
.z-page-head { padding-top: 80px !important; padding-bottom: 24px !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.z-photo-card, .wp-block-button__link { transition: none; }
}
.z-footer-brand{max-width:320px}

/* Encabezados de sección y columnas */
.z-head-row { gap: 32px !important; }
.z-head-row > .z-section-head { max-width: 600px; }
.z-side { max-width: 440px; margin: 0 !important; }
.z-section > .alignwide + .alignwide { margin-top: 48px; }
.z-cols { gap: 56px !important; }
.z-sticky-col { display: flex; flex-direction: column; gap: 20px; }
.z-sticky-col > * { margin: 0 !important; }
.z-note { padding-top: 8px; border-top: 1px solid #E7E1D9; }
.z-hero .wp-block-buttons { gap: 14px; }
.z-hero .wp-block-button.is-style-outline .wp-block-button__link::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; background: url("assets/images/icon-play.svg") center / contain no-repeat; }
.z-ingredients { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.z-ingredients > p { margin: 0 !important; }
.wp-block-column { min-width: 0; }
.z-footer .z-brand { align-items: flex-start !important; }
