/* =====================================================================
   KAISÉ — CORE (producto) v2
   Se carga después de style.css + inicio.css.
   ===================================================================== */

:root {
	--core-grad: linear-gradient(90deg, #EC4599, #F4730D);
}

/* =====================================================================
   HERO
   ===================================================================== */
.core-hero {
	position: relative;
	min-height: 850px; /* antes 600px: con el 1920x1080 original esto cortaba la composición de botánicos por arriba y por abajo */
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
}
.core-hero__content { max-width: 600px; } /* antes 480px: muy angosto para el tamaño real del título */
.core-hero__eyebrow { display: block; color: var(--kaise-accent); font-weight: 700; font-size: 1.75rem; letter-spacing: .04em; margin-bottom: 10px; } /* antes sin tamaño propio (~16px), medido en la referencia: ~28px */
.core-hero__content h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; color: var(--kaise-dark); margin-bottom: 8px; } /* antes 1.4rem fijo */
.core-hero__content .big { display: block; color: var(--kaise-accent); font-weight: 800; text-transform: uppercase; font-size: clamp(2.75rem, 5.5vw, 4.5rem); line-height: 1.08; margin-bottom: 30px; } /* antes clamp(1.7rem,3vw,2.3rem) — medido contra la referencia: debía ser casi el doble */
.core-hero__content .btn-dark { background: #1c1c1c; color: #fff; }
.core-hero__content .btn-dark:hover { background: #000; }

/* =====================================================================
   CORE ES EL CENTRO DE TU ENERGÍA
   ===================================================================== */
.core-intro { position: relative; text-align: center; padding: 80px 0; overflow: hidden; }
/* Decoraciones florales: recortes exactos del XD (266px de ancho sobre un artboard de 1920px), pegados a las
   esquinas superior izquierda e inferior derecha de la sección. El ancho es proporcional a la sección (13.854% = 266/1920),
   así se ven igual que en el diseño en cualquier tamaño de pantalla. Antes eran PNG de 1920px con márgenes
   transparentes, rotados con CSS: pesaban MB y la flor quedaba separada del borde. */
.core-intro__deco { position: absolute; width: 13.854%; height: auto; pointer-events: none; }
.core-intro__deco--left { left: 0; top: 0; }
.core-intro__deco--right { right: 0; bottom: 0; }
.core-intro h2 { color: var(--kaise-accent); font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; }
.core-intro p { max-width: 720px; margin: 0 auto; color: #4a4a4a; font-size: .95rem; line-height: 1.8; }
.core-intro p strong { color: var(--kaise-dark); font-weight: 700; }

/* =====================================================================
   SPLIT (2 fotos)
   ===================================================================== */
.core-split { display: grid; grid-template-columns: 1fr 1fr; }
.core-split img { width: 100%; height: 520px; object-fit: cover; display: block; } /* XD: más altura, se cortaban */

/* =====================================================================
   NOTAS AROMÁTICAS
   ===================================================================== */
.core-notes {
	position: relative;
	padding: 110px 0; /* XD: más altura, se veía todo muy junto */
	background-size: cover;
	background-position: center;
	overflow: hidden;
}
.core-notes__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.core-notes__text h2 { color: var(--kaise-accent); font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
.core-notes__text h3 { font-size: 1.15rem; font-weight: 700; color: var(--kaise-dark); margin-bottom: 16px; line-height: 1.4; }
.core-notes__text p { color: #4a4a4a; font-size: .88rem; line-height: 1.7; margin-bottom: 1.1em; }
.core-notes__text p strong { color: var(--kaise-dark); font-weight: 700; }

.core-notes__bars { display: flex; flex-direction: column; gap: 18px; } /* XD: más espacio entre barras */
.core-note-bar { display: flex; align-items: center; gap: 16px; }
.core-note-bar__track { flex: 1; height: 34px; border-radius: 17px; background: rgba(0,0,0,.05); position: relative; overflow: hidden; }
.core-note-bar__fill {
	position: absolute; inset: 0; width: 0%;
	background: var(--core-grad);
	border-radius: 17px;
	display: flex; align-items: center;
	padding-left: 16px;
	transition: width 1.1s cubic-bezier(.22,.9,.3,1);
}
.core-note-bar.in-view .core-note-bar__fill { width: var(--pct); }
.core-note-bar__pct { color: #fff; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.core-note-bar__label { width: 130px; flex: none; font-size: .88rem; color: var(--kaise-dark); }

/* =====================================================================
   INGREDIENTES (fila con captions)
   ===================================================================== */
.core-ingredients { display: grid; grid-template-columns: repeat(7, 1fr); }
.core-ingredient img { width: 100%; height: 170px; object-fit: cover; display: block; }
.core-ingredient span { display: block; padding: 10px 8px; font-size: .78rem; color: var(--kaise-gray); text-align: left; }

/* =====================================================================
   DIAGRAMA CIRCULAR (bottle + 6 labels) + foto
   ===================================================================== */
.core-diagram { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.core-diagram__left {
	position: relative;
	background: var(--kaise-light-gray);
	display: flex; align-items: center; justify-content: center;
	min-height: 560px;
	overflow: hidden;
}
.core-diagram__image {
	width: 100%; height: 100%;
	object-fit: contain; /* nunca recortar: podría cortar un círculo o una línea del diagrama */
}
.core-diagram__right { min-height: 640px; background-size: cover; background-position: center; } /* XD: más altura */

/* =====================================================================
   FOTOS PRODUCTO (3 en fila)
   ===================================================================== */
.core-photo-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.core-photo-row img { width: 100%; height: 420px; object-fit: cover; display: block; } /* XD: más alto */

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991px) {
	.core-split { grid-template-columns: 1fr; }
	.core-split img { height: 320px; }
	.core-notes__grid { grid-template-columns: 1fr; gap: 30px; }
	.core-note-bar__label { width: 110px; }
	.core-ingredients { grid-template-columns: repeat(4, 1fr); }
	.core-diagram { grid-template-columns: 1fr; }
	.core-diagram__left { min-height: 480px; }
	.core-diagram__right { min-height: 320px; }
	.core-photo-row { grid-template-columns: 1fr; }
	.core-photo-row img { height: 280px; }
	.core-intro__deco { width: 90px; }
}
@media (max-width: 767px) {
	.core-ingredients { grid-template-columns: repeat(3, 1fr); }
	.core-note-bar { flex-wrap: wrap; }
	.core-note-bar__label { width: auto; order: 3; margin-left: 50px; }
	.core-hero__content { max-width: 100%; }
}
