/* ==========================================================================
   MG Elementor Widgets — Les Gémeaux
   Shared base styles. Colors/fonts here are FALLBACKS only —
   every widget instance overrides them inline from its own
   Elementor controls, so multiple instances with different
   colors can live on the same page.
   ========================================================================== */

.mgew-hero,
.mgew-protocolo,
.mgew-cta-final,
.mgew-facts-bar,
.mgew-rv-card {
	--mgew-navy: #143F57;
	--mgew-teal-mid: #284D62;
	--mgew-accent: #2B93CB;
	--mgew-white: #FFFFFF;
	box-sizing: border-box;
}
.mgew-hero *,
.mgew-protocolo *,
.mgew-cta-final *,
.mgew-facts-bar *,
.mgew-rv-card * {
	box-sizing: border-box;
}

/* ---------- HERO NIEBLA ---------- */
.mgew-hero{
	position: relative;
	overflow: hidden;
	height: 600px;
	color: #fff;
}
.mgew-hero .mgew-hero-bg{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
	z-index: 0;
}
.mgew-hero .mgew-hero-overlay{
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(100deg, rgba(10,30,44,.82) 0%, rgba(10,30,44,.55) 42%, rgba(10,30,44,.18) 75%);
}
.mgew-hero{
	--mgew-fog-color: #ffffff;
	--mgew-fog-opacity: .82;
	--mgew-fog-blur: 18px;
	--mgew-fog-speed: 28s;
}
.mgew-hero .mgew-hero-fog{
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 260px;
	z-index: 2;
	overflow: hidden;
	pointer-events: none;
	isolation: isolate;
}
.mgew-hero .mgew-fog-layer,
.mgew-hero .mgew-fog-base{
	position: absolute;
	pointer-events: none;
}
.mgew-hero .mgew-fog-layer{
	left: -18%;
	width: 136%;
	height: 78%;
	bottom: -22%;
	opacity: var(--mgew-fog-opacity);
	filter: blur(var(--mgew-fog-blur));
	will-change: transform;
}
.mgew-hero .mgew-fog-layer-1{
	background:
		radial-gradient(ellipse at 12% 72%, color-mix(in srgb, var(--mgew-fog-color) 92%, transparent) 0 20%, transparent 49%),
		radial-gradient(ellipse at 45% 62%, color-mix(in srgb, var(--mgew-fog-color) 86%, transparent) 0 22%, transparent 53%),
		radial-gradient(ellipse at 82% 75%, color-mix(in srgb, var(--mgew-fog-color) 90%, transparent) 0 18%, transparent 50%);
	animation: mgewFogDriftA var(--mgew-fog-speed) ease-in-out infinite alternate;
}
.mgew-hero .mgew-fog-layer-2{
	height: 66%;
	bottom: -12%;
	opacity: calc(var(--mgew-fog-opacity) * .66);
	filter: blur(calc(var(--mgew-fog-blur) * 1.25));
	background:
		radial-gradient(ellipse at 30% 70%, color-mix(in srgb, var(--mgew-fog-color) 88%, transparent) 0 19%, transparent 51%),
		radial-gradient(ellipse at 68% 64%, color-mix(in srgb, var(--mgew-fog-color) 82%, transparent) 0 24%, transparent 55%),
		radial-gradient(ellipse at 98% 78%, color-mix(in srgb, var(--mgew-fog-color) 78%, transparent) 0 15%, transparent 46%);
	animation: mgewFogDriftB calc(var(--mgew-fog-speed) * 1.35) ease-in-out infinite alternate-reverse;
}
.mgew-hero .mgew-fog-layer-3{
	height: 48%;
	bottom: 8%;
	opacity: calc(var(--mgew-fog-opacity) * .38);
	filter: blur(calc(var(--mgew-fog-blur) * 1.7));
	background:
		radial-gradient(ellipse at 18% 62%, color-mix(in srgb, var(--mgew-fog-color) 76%, transparent) 0 16%, transparent 48%),
		radial-gradient(ellipse at 57% 68%, color-mix(in srgb, var(--mgew-fog-color) 72%, transparent) 0 18%, transparent 50%),
		radial-gradient(ellipse at 88% 58%, color-mix(in srgb, var(--mgew-fog-color) 70%, transparent) 0 17%, transparent 49%);
	animation: mgewFogDriftC calc(var(--mgew-fog-speed) * 1.7) ease-in-out infinite alternate;
}
.mgew-hero .mgew-fog-base{
	inset: 26% 0 0;
	z-index: -1;
	background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--mgew-fog-color) 18%, transparent) 30%, color-mix(in srgb, var(--mgew-fog-color) 70%, transparent) 68%, var(--mgew-fog-color) 100%);
}
@keyframes mgewFogDriftA{ from{ transform: translate3d(-2.5%, 4%, 0) scale(1.02); } to{ transform: translate3d(3%, -2%, 0) scale(1.07); } }
@keyframes mgewFogDriftB{ from{ transform: translate3d(3%, 2%, 0) scale(1.04); } to{ transform: translate3d(-3.5%, -3%, 0) scale(1.09); } }
@keyframes mgewFogDriftC{ from{ transform: translate3d(-1%, 1%, 0) scale(1); } to{ transform: translate3d(2.5%, -4%, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce){
	.mgew-hero .mgew-fog-layer{ animation: none !important; transform: none !important; }
}
.mgew-hero .mgew-hero-content{
	position: relative;
	z-index: 3;
	max-width: 1240px;
	margin: 0 auto;
	height: 100%;
	padding: 0 32px 108px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.mgew-hero .mgew-eyebrow{
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: "DM Sans", Arial, sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: #9FD4EE;
}
.mgew-hero .mgew-eyebrow .mgew-line{
	width: 28px; height: 2px;
	background: #9FD4EE;
	display: inline-block;
}
.mgew-hero h1{
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	font-size: 56px;
	line-height: 1.08;
	text-transform: uppercase;
	letter-spacing: .02em;
	margin: 18px 0 0;
	color: #fff;
	text-wrap: balance;
}
.mgew-hero .mgew-subtitle{
	display: block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
	font-size: 22px;
	text-transform: none;
	letter-spacing: 0;
	color: #CBE4EF;
	margin-top: 8px;
}
.mgew-hero .mgew-lead{
	font-family: "DM Sans", Arial, sans-serif;
	margin: 20px 0 0;
	font-size: 15.5px;
	line-height: 1.65;
	max-width: 460px;
	color: rgba(255,255,255,.82);
}
.mgew-hero .mgew-hero-ctas{
	display: flex;
	gap: 14px;
	margin-top: 30px;
	flex-wrap: wrap;
}
.mgew-hero .mgew-btn{
	font-family: "DM Sans", Arial, sans-serif;
	display: inline-block;
	padding: 14px 26px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .4px;
	white-space: nowrap;
	text-decoration: none;
	border: 1.5px solid transparent;
	cursor: pointer;
}
.mgew-hero .mgew-btn-primary{
	background: var(--mgew-accent);
	color: #fff;
}
.mgew-hero .mgew-btn-outline{
	border-color: rgba(255,255,255,.65);
	color: #fff;
	padding: 12.5px 24px;
}
.mgew-hero .mgew-wa-float{
	position: fixed;
	right: 26px; bottom: 26px;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 26px rgba(0,0,0,.25);
	z-index: 999;
}
.mgew-hero .mgew-wa-float svg{ width: 26px; height: 26px; }

@media(max-width: 980px){
	.mgew-hero{ height: 520px; }
	.mgew-hero .mgew-hero-content{ padding-bottom: 70px; }
	.mgew-hero h1{ font-size: 36px; }
}

/* ---------- PROTOCOLO ---------- */
.mgew-protocolo{
	background: var(--mgew-navy);
	border-radius: 24px;
	padding: 56px 48px;
	font-family: "DM Sans", Arial, sans-serif;
}
.mgew-protocolo .mgew-eyebrow{
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: var(--mgew-accent);
}
.mgew-protocolo h2{
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	font-size: 34px;
	line-height: 1.2;
	color: #fff;
	margin: 12px 0 0;
}
.mgew-protocolo .mgew-steps-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 32px;
	margin-top: 44px;
}
.mgew-protocolo .mgew-step{
	border-left: 2px solid var(--mgew-accent);
	padding-left: 18px;
}
.mgew-protocolo .mgew-step-num{
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
	font-size: 22px;
	color: var(--mgew-accent);
	display: block;
	margin-bottom: 10px;
}
.mgew-protocolo .mgew-step-title{
	font-weight: 700;
	font-size: 16px;
	color: #fff;
	margin: 0 0 8px;
}
.mgew-protocolo .mgew-step-title.mgew-step-title-italic{
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
	font-weight: 500;
	color: var(--mgew-accent);
	font-size: 19px;
}
.mgew-protocolo .mgew-step-text{
	font-size: 14.5px;
	line-height: 1.6;
	color: #B9CFD9;
	margin: 0;
}
@media(max-width: 980px){
	.mgew-protocolo{ padding: 40px 24px; border-radius: 18px; }
	.mgew-protocolo .mgew-steps-grid{ grid-template-columns: 1fr; gap: 32px; }
	.mgew-protocolo h2{ font-size: 27px; }
}
@media(min-width: 981px) and (max-width: 1200px){
	.mgew-protocolo .mgew-steps-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ---------- CTA FINAL ---------- */
.mgew-cta-final{
	background: var(--mgew-navy);
	border-radius: 24px;
	padding: 44px 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	font-family: "DM Sans", Arial, sans-serif;
}
.mgew-cta-final .mgew-cta-text h2{
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	font-size: 30px;
	line-height: 1.22;
	color: #fff;
	margin: 0;
}
.mgew-cta-final .mgew-cta-text p{
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
	font-size: 15.5px;
	color: #9FD4EE;
	margin: 10px 0 0;
}
.mgew-cta-final .mgew-btn{
	font-family: "DM Sans", Arial, sans-serif;
	display: inline-block;
	white-space: nowrap;
	background: var(--mgew-accent);
	color: #fff;
	padding: 15px 30px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .4px;
	text-decoration: none;
	flex-shrink: 0;
}
@media(max-width: 700px){
	.mgew-cta-final{ padding: 32px 28px; text-align: left; border-radius: 18px; }
	.mgew-cta-final .mgew-cta-text h2{ font-size: 24px; }
}

/* ---------- FACTS BAR (flotante) ---------- */
.mgew-facts-bar{
	position: relative;
	z-index: 5;
	font-family: "DM Sans", Arial, sans-serif;
}
.mgew-facts-bar.mgew-facts-bar-overlap{
	margin-top: -56px;
}
.mgew-facts-card{
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 14px 40px rgba(20,63,87,.14);
	padding: 26px 30px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
	max-width: 1240px;
	margin: 0 auto;
}
.mgew-fact-item{
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.mgew-fact-icon{
	color: var(--mgew-accent);
	font-size: 20px;
	margin-bottom: 8px;
	line-height: 1;
}
.mgew-fact-icon svg{ width: 1em; height: 1em; fill: currentColor; }
.mgew-fact-item h4{
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: #1E7DAF;
	margin: 0 0 6px;
}
.mgew-fact-item p{
	font-size: 15px;
	color: var(--mgew-navy);
	font-weight: 600;
	margin: 0;
	line-height: 1.4;
}
@media(max-width: 980px){
	.mgew-facts-card{ grid-template-columns: repeat(2, 1fr); padding: 22px 22px; gap: 22px; }
	.mgew-facts-bar.mgew-facts-bar-overlap{ margin-top: -36px; }
}
@media(max-width: 560px){
	.mgew-facts-card{ grid-template-columns: 1fr; }
}

/* ---------- RITUAL + VIDEO ---------- */
.mgew-rv-card{
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 20px 50px rgba(20,63,87,.1);
	padding: 52px;
	font-family: "DM Sans", Arial, sans-serif;
}
.mgew-rv-grid{
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: 52px;
	align-items: center;
}
.mgew-rv-video-slot{
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 14px 30px rgba(20,63,87,.16);
	aspect-ratio: 9/16;
	background: #0E384D;
	position: relative;
}
.mgew-rv-video-slot video,
.mgew-rv-video-slot iframe{
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border: 0;
}
.mgew-rv-eyebrow{
	display: flex;
	align-items: center;
	gap: 10px;
	color: #1E7DAF;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .4px;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.mgew-rv-eyebrow .mgew-line{
	width: 24px; height: 2px;
	background: #1E7DAF;
	display: inline-block;
}
.mgew-rv-title{
	font-family: "Cormorant Garamond", Georgia, serif;
	color: var(--mgew-navy);
	font-size: 30px;
	font-weight: 500;
	margin: 0 0 22px;
}
.mgew-rv-steps{
	list-style: none;
	margin: 0;
	padding: 0;
}
.mgew-rv-steps li{
	position: relative;
	padding-left: 26px;
	font-size: 15.5px;
	color: var(--mgew-navy);
	font-weight: 500;
	margin-bottom: 14px;
	line-height: 1.45;
}
.mgew-rv-steps li::before{
	content: "";
	position: absolute;
	left: 0; top: 8px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--mgew-accent);
}
@media(max-width: 820px){
	.mgew-rv-grid{ grid-template-columns: 1fr; }
	.mgew-rv-card{ padding: 32px; }
}

/* ---------- PRODUCTOS — ARCHIVO ---------- */
.mgew-products-archive-grid,
.mgew-products-archive-grid *{ box-sizing:border-box; }
.mgew-products-archive-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:28px;
}
.mgew-product-card{
	display:flex;
	flex-direction:column;
	overflow:hidden;
	background:#fff;
	border-radius:18px;
	box-shadow:0 10px 28px rgba(20,63,87,.08);
	min-width:0;
}
.mgew-product-card-image{
	display:block;
	height:360px;
	overflow:hidden;
	background:#eef2f4;
}
.mgew-product-card-image img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
	transition:transform .55s cubic-bezier(.2,.7,.2,1);
}
.mgew-product-card:hover .mgew-product-card-image img{ transform:scale(1.035); }
.mgew-product-card-body{
	padding:22px;
	flex:1;
}
.mgew-product-category{
	font-family:"DM Sans",Arial,sans-serif;
	font-size:12px;
	font-weight:700;
	letter-spacing:.08em;
	text-transform:uppercase;
	color:#2B93CB;
	margin:0 0 10px;
}
.mgew-product-title{
	font-family:"Cormorant Garamond",Georgia,serif;
	font-size:28px;
	font-weight:500;
	line-height:1.08;
	margin:0;
	color:#143F57;
}
.mgew-product-title a{ color:inherit; text-decoration:none; }
.mgew-product-price{
	font-family:"DM Sans",Arial,sans-serif;
	font-size:15px;
	font-weight:600;
	line-height:1.4;
	color:#284D62;
	margin-top:16px;
}
.mgew-product-price del{ opacity:.55; margin-right:5px; }
.mgew-product-price ins{ text-decoration:none; }
.mgew-product-price-prefix{ font-weight:500; opacity:.78; }
.mgew-product-button{
	dis:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	width:100%;
	padding:15px 18px;
	background:#143F57;
	color:#fff;
	font-family:"DM Sans",Arial,sans-serif;
	font-size:13px;
	font-weight:700;
	letter-spacing:.02em;
	text-decoration:none;
	transition:background .25s ease,color .25s ease;
}
.mgew-product-button:hover{ background:#2B93CB; color:#fff; }
.mgew-products-notice{
	padding:22px;
	border:1px solid #dfe8ec;
	border-radius:12px;
	font-family:"DM Sans",Arial,sans-serif;
	color:#284D62;
}
@media(max-width:1024px){
	.mgew-products-archive-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:767px){
	.mgew-products-archive-grid{ grid-template-columns:1fr; gap:20px; }
	.mgew-product-card-image{ height:320px; }
	.mgew-product-title{ font-size:26px; }
}

/* ---------- PRODUCTOS — ARCHIVO 1.6 ---------- */
.mgew-product-card{ transition:transform .25s ease, box-shadow .25s ease; }
.mgew-product-card-image img{ object-position:center center; }
.mgew-product-button{ display:flex; }
.mgew-product-button-icon{ display:inline-flex; align-items:center; justify-content:center; line-height:1; }
.mgew-product-button-icon svg{ display:block; fill:currentColor; }
.mgew-product-no-price{ font-style:normal; }
.mgew-products-pagination{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:center; }
.mgew-products-pagination .page-numbers{ display:inline-flex; min-width:36px; height:36px; padding:0 10px; align-items:center; justify-content:center; text-decoration:none; border-radius:999px; border:1px solid currentColor; opacity:.8; }
.mgew-products-pagination .current{ opacity:1; font-weight:700; }
