/* ==========================================================================
   MG VISUAL SPORT PRO — páginas: Inicio, Portfolio, Nosotros, Contacto
   ========================================================================== */

/* ---------------- HERO INICIO ---------------- */
.mgx-hero {
	position: relative;
	min-height: max(760px, 100svh);
	display: flex; flex-direction: column; justify-content: center;
	padding: calc(var(--hh) + 40px) 0 130px;
	overflow: hidden;
	isolation: isolate;
	background: #000;
}
.mgx-hero__slides { position: absolute; inset: 0; z-index: -3; }
.mgx-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.mgx-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 7.5s linear; will-change: transform; }
.mgx-hero__slide.is-active { opacity: 1; }
.mgx-hero__slide.is-active img { transform: scale(1.02); }
.mgx-hero__shade { position: absolute; inset: 0; z-index: -2; background:
	linear-gradient(90deg, rgba(5,6,5,.94) 0%, rgba(5,6,5,.72) 38%, rgba(5,6,5,.18) 70%, rgba(5,6,5,.5) 100%),
	linear-gradient(0deg, var(--bk) 0%, transparent 32%),
	linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 25%); }
.mgx-hero__grain { position: absolute; inset: -50%; z-index: -1; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: mgxGrain 1.2s steps(6) infinite; }
@keyframes mgxGrain { 0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } 100% { transform: translate(1%,3%); } }
.mgx-hero__lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mgx-hero__lines i { position: absolute; height: 2px; width: 46vw; background: linear-gradient(90deg, transparent, var(--g), transparent); box-shadow: 0 0 18px var(--g); opacity: .5; transform: rotate(-12deg); animation: mgxSweep 7s var(--ease-io) infinite; }
.mgx-hero__lines i:nth-child(1) { top: 24%; left: -50%; }
.mgx-hero__lines i:nth-child(2) { top: 62%; left: -50%; animation-delay: 2.4s; width: 30vw; opacity: .35; }
.mgx-hero__lines i:nth-child(3) { top: 82%; left: -50%; animation-delay: 4.6s; width: 22vw; }
@keyframes mgxSweep { 0% { transform: translateX(0) rotate(-12deg); } 60%, 100% { transform: translateX(260vw) rotate(-12deg); } }

.mgx-hero__content { z-index: 2; }
.mgx-hero__title {
	margin: 18px 0 18px !important;
	font-family: var(--fd) !important; font-weight: 900 !important; font-style: italic;
	font-size: clamp(68px, 12.4vw, 200px) !important;
	line-height: .82 !important;
	text-transform: uppercase;
	letter-spacing: -.02em;
	color: var(--tx);
	text-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.mgx-hero__title > span:not(.mgx-w) { display: block; }
.mgx-hero__title em { -webkit-text-stroke: 0; }
.mgx-hero__lead { font-size: clamp(19px, 1.7vw, 24px); color: rgba(242,245,239,.82); max-width: 32ch; margin: 0 0 34px; font-weight: 500; }
.mgx-hero__search { position: relative; z-index: 5; width: min(720px, 100%); }
.mgx-tabs { display: inline-flex; gap: 6px; padding: 5px; margin-bottom: 12px; border-radius: 999px; background: rgba(0,0,0,.45); border: 1px solid var(--ln); backdrop-filter: blur(10px); }
.mgx-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--mu) !important; cursor: pointer; font-family: var(--fd); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; transition: all .3s; }
.mgx-tab .mgx-ico { width: 16px; height: 16px; }
.mgx-tab.is-active { background: rgba(141,255,0,.14); color: var(--g) !important; }
.mgx-tab:hover { color: var(--tx) !important; }
.mgx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.mgx-hero__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid var(--ln); background: linear-gradient(0deg, rgba(5,6,5,.85), rgba(5,6,5,0)); }
.mgx-hero__bar-inner { display: flex; align-items: center; gap: 26px; height: 78px; }
.mgx-hero__counter { font-family: var(--fd); font-weight: 700; font-size: 18px; letter-spacing: .1em; color: var(--mu); }
.mgx-hero__counter b { color: var(--g); font-size: 26px; }
.mgx-hero__dots { display: flex; gap: 8px; flex: 1; max-width: 360px; }
.mgx-hero__dot { flex: 1; height: 26px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; }
.mgx-hero__dot i { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; position: relative; }
.mgx-hero__dot i::after { content: ""; position: absolute; inset: 0; background: var(--g); transform-origin: left; transform: scaleX(0); }
.mgx-hero__dot.is-done i::after { transform: scaleX(1); }
.mgx-hero__dot.is-active i::after { animation: mgxFill var(--dur, 6s) linear forwards; }
.mgx-hero.is-paused .mgx-hero__dot.is-active i::after { animation-play-state: paused; }
@keyframes mgxFill { to { transform: scaleX(1); } }
.mgx-hero__cap { font-family: var(--fd); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--mu); margin-left: auto; }
.mgx-hero__pause { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--ln-2); color: var(--tx); cursor: pointer; font-family: var(--fd); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.mgx-hero__pause .mgx-ico { width: 14px; height: 14px; }
.mgx-hero__pause .mgx-ico--play, .mgx-hero.is-paused .mgx-hero__pause .mgx-ico--pause { display: none; }
.mgx-hero.is-paused .mgx-hero__pause .mgx-ico--play { display: inline-flex; }
.mgx-hero__pause:hover { border-color: var(--g); color: var(--g); }
.mgx-hero__scroll { position: absolute; right: 3vw; bottom: 110px; z-index: 3; width: 30px; height: 50px; border-radius: 20px; border: 2px solid rgba(255,255,255,.4); display: flex; justify-content: center; padding-top: 8px; }
.mgx-hero__scroll span { width: 4px; height: 10px; border-radius: 4px; background: var(--g); animation: mgxScroll 1.8s var(--ease) infinite; }
@keyframes mgxScroll { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

/* ---------------- RECONOCIMIENTO FACIAL ---------------- */
.mgx-face { overflow: hidden; }
.mgx-face::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(141,255,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(141,255,0,.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(circle at 30% 40%, #000, transparent 70%); mask-image: radial-gradient(circle at 30% 40%, #000, transparent 70%); }
.mgx-face__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.mgx-face__visual { position: relative; }
.mgx-scan { position: relative; aspect-ratio: 4/5; max-width: 480px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ln-g); box-shadow: 0 50px 100px rgba(0,0,0,.6), 0 0 60px rgba(141,255,0,.1); }
.mgx-scan img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.05); }
.mgx-scan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,5,.75), transparent 45%); }
.mgx-scan__frame { position: absolute; left: 26%; right: 22%; top: 12%; bottom: 40%; z-index: 2; animation: mgxFrame 4s var(--ease) infinite; }
.mgx-scan__frame i { position: absolute; width: 34px; height: 34px; border: 3px solid var(--g); filter: drop-shadow(0 0 8px var(--g)); }
.mgx-scan__frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.mgx-scan__frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.mgx-scan__frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.mgx-scan__frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
@keyframes mgxFrame { 0%, 100% { transform: scale(1.06); opacity: .7; } 40%, 70% { transform: scale(1); opacity: 1; } }
.mgx-scan__line { position: absolute; left: 0; right: 0; top: 0; height: 90px; z-index: 2; background: linear-gradient(180deg, transparent, rgba(141,255,0,.28)); border-bottom: 2px solid var(--g); box-shadow: 0 8px 26px rgba(141,255,0,.55); animation: mgxScanY 3.2s var(--ease-io) infinite alternate; }
@keyframes mgxScanY { from { transform: translateY(-90px); } to { transform: translateY(560px); } }
.mgx-scan__dots i { position: absolute; z-index: 3; left: var(--x); top: var(--y); width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 10px var(--g); animation: mgxDot 3.2s ease-in-out infinite; }
.mgx-scan__dots i:nth-child(2n) { animation-delay: .5s; } .mgx-scan__dots i:nth-child(3n) { animation-delay: 1s; }
@keyframes mgxDot { 0%, 100% { transform: scale(.4); opacity: .2; } 50% { transform: scale(1); opacity: 1; } }
.mgx-scan__badge { position: absolute; z-index: 4; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(5,6,5,.75); border: 1px solid var(--ln-g); backdrop-filter: blur(12px); }
.mgx-scan__badge .mgx-ico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--g); color: #061003; }
.mgx-scan__badge b { display: block; font-family: var(--fd); text-transform: uppercase; font-size: 20px; color: var(--g); line-height: 1; }
.mgx-scan__badge small { color: var(--mu); font-size: 13px; }
.mgx-face__thumbs { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; }
.mgx-face__thumbs img { width: 112px; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 2px solid var(--bk); box-shadow: 0 20px 40px rgba(0,0,0,.6); animation: mgxFloat 5s ease-in-out infinite; }
.mgx-face__thumbs img:nth-child(2) { animation-delay: -1.6s; margin-left: -40px; outline: 2px solid var(--g); outline-offset: 2px; }
.mgx-face__thumbs img:nth-child(3) { animation-delay: -3.2s; }
@keyframes mgxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.mgx-face__steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mgx-face__steps li { padding: 18px; border-radius: 18px; background: var(--bk-2); border: 1px solid var(--ln); transition: border-color .3s, transform .4s var(--ease); }
.mgx-face__steps li:hover { border-color: var(--ln-g); transform: translateY(-4px); }
.mgx-face__steps b { display: block; font-family: var(--fd); font-size: 30px; font-weight: 900; font-style: italic; color: var(--g); line-height: 1; margin-bottom: 8px; }
.mgx-face__steps span { font-family: var(--fd); font-weight: 700; font-size: 18px; text-transform: uppercase; line-height: 1.05; }
.mgx-face__console { margin-top: clamp(40px, 5vw, 70px); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(20,24,20,.9), rgba(9,11,9,.95)); border: 1px solid var(--ln-g); box-shadow: 0 50px 100px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.mgx-face__console-head { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--ln); font-family: var(--fd); font-weight: 800; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; }
.mgx-face__console-head small { margin-left: auto; color: var(--mu-2); font-weight: 600; letter-spacing: .1em; }
.mgx-face__shortcode { padding: clamp(20px, 3vw, 40px); min-height: 120px; color: var(--tx); }
/* Estilo base para lo que dibuje el plugin de búsqueda facial */
.mgx-face__shortcode input[type="file"] { color: var(--mu); }
.mgx-face__shortcode input[type="file"]::file-selector-button { margin-right: 14px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ln-g); background: var(--g-a); color: var(--g); font-family: var(--fd); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.mgx-face__shortcode button, .mgx-face__shortcode input[type="submit"], .mgx-face__shortcode .button {
	height: 52px; padding: 0 26px !important; border-radius: 999px !important; border: 0 !important;
	background: var(--g) !important; color: #061003 !important;
	font-family: var(--fd) !important; font-weight: 800 !important; font-size: 16px !important; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
	transition: transform .3s var(--ease), box-shadow .3s;
}
.mgx-face__shortcode button:hover, .mgx-face__shortcode input[type="submit"]:hover, .mgx-face__shortcode .button:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.mgx-face__shortcode img { border-radius: 14px; }
.mgx-face__shortcode h1, .mgx-face__shortcode h2, .mgx-face__shortcode h3, .mgx-face__shortcode h4 { color: var(--tx); text-transform: uppercase; }

/* ---------------- GALERÍAS (acordeón) ---------------- */
.mgx-gal-accordion { display: flex; gap: 14px; height: clamp(440px, 46vw, 620px); }
.mgx-gal { position: relative; flex: 1; min-width: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ln); color: var(--tx) !important; transition: flex 0.9s var(--ease), border-color .4s; isolation: isolate; }
.mgx-gal.is-open { flex: 3.2; border-color: var(--ln-g); }
.mgx-gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); filter: grayscale(.7) brightness(.7); transition: transform 1.2s var(--ease), filter .8s; }
.mgx-gal.is-open img { transform: scale(1); filter: none; }
.mgx-gal__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,6,5,.95) 0%, rgba(5,6,5,.2) 50%, rgba(5,6,5,.35)); }
.mgx-gal__num { position: absolute; top: 22px; left: 24px; font-family: var(--fd); font-weight: 900; font-style: italic; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--g); }
.mgx-gal__body { position: absolute; left: 24px; right: 24px; bottom: 24px; display: block; }
.mgx-gal__body small { display: inline-block; padding: 5px 10px; margin-bottom: 12px; border-radius: 999px; background: var(--g); color: #061003; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.mgx-gal__body strong { display: block; font-family: var(--fd); font-weight: 900; font-size: clamp(24px, 2.6vw, 44px); line-height: .92; text-transform: uppercase; }
.mgx-gal:not(.is-open) .mgx-gal__body strong { font-size: 22px; writing-mode: initial; }
.mgx-gal__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--fd); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--g); opacity: 0; transform: translateY(12px); transition: all .6s var(--ease) .2s; }
.mgx-gal.is-open .mgx-gal__cta { opacity: 1; transform: none; }

/* ---------------- MARCADOR ---------------- */
.mgx-score { padding: 0 0 clamp(70px, 9vw, 130px); }
.mgx-score__board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 26px clamp(20px, 4vw, 60px); border-radius: var(--r-lg); background: radial-gradient(120% 140% at 50% 0%, #121612, #070807); border: 1px solid var(--ln-g); box-shadow: inset 0 0 60px rgba(141,255,0,.05), 0 40px 80px rgba(0,0,0,.4); position: relative; overflow: hidden; }
.mgx-score__board::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(141,255,0,.13) 1px, transparent 1.4px); background-size: 7px 7px; opacity: .45; pointer-events: none; }
.mgx-score__cell { text-align: center; position: relative; }
.mgx-score__cell small { display: block; font-family: var(--fd); font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--mu); font-size: 15px; }
.mgx-score__cell b { display: block; font-family: var(--fd); font-weight: 900; font-size: clamp(64px, 9vw, 140px); line-height: .9; color: var(--g); text-shadow: 0 0 30px rgba(141,255,0,.55); font-variant-numeric: tabular-nums; }
.mgx-score__vs { font-family: var(--fd); font-weight: 900; font-style: italic; font-size: 34px; color: var(--tx); padding: 10px 16px; border-radius: 12px; border: 1px solid var(--ln-2); position: relative; }
.mgx-score__clock { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px dashed var(--ln-2); font-family: var(--fd); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mu); position: relative; font-size: 15px; }

/* ---------------- PORTFOLIO TEASER ---------------- */
.mgx-pf-teaser { overflow: hidden; }
.mgx-bigword { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -1; font-family: var(--fd); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 26vw; line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(141,255,0,.12); pointer-events: none; }
.mgx-pf-teaser__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.mgx-pf-teaser__cards { position: relative; height: clamp(460px, 48vw, 640px); }
.mgx-pf-card { position: absolute; width: 58%; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ln-2); box-shadow: 0 50px 100px rgba(0,0,0,.6); }
.mgx-pf-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.mgx-pf-card:hover img { transform: scale(1.06); }
.mgx-pf-card figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(5,6,5,.8); border: 1px solid var(--ln-g); font-family: var(--fd); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--g); backdrop-filter: blur(8px); }
.mgx-pf-card--a { left: 0; top: 0; z-index: 2; }
.mgx-pf-card--b { right: 0; bottom: 0; }
.mgx-tilt { transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }

/* ---------------- CÓMO COMPRAR ---------------- */
.mgx-how { background: linear-gradient(180deg, transparent, var(--bk-1) 30%, var(--bk-1) 70%, transparent); }
.mgx-mp { display: flex; align-items: center; gap: 14px; padding: 12px 20px; margin-bottom: 22px; border-radius: 999px; background: #fff; }
.mgx-mp small { color: #1d2a3b; font-weight: 700; font-size: 14px; }
.mgx-mp img { height: 30px; width: auto; }
.mgx-how__track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mgx-how__line { position: absolute; left: 8%; right: 8%; top: 54px; width: 84%; height: 40px; z-index: 0; fill: none; stroke: var(--g); stroke-width: 2; stroke-dasharray: 8 10; opacity: .5; animation: mgxDash 1.5s linear infinite; }
@keyframes mgxDash { to { stroke-dashoffset: -36; } }
.mgx-step { position: relative; z-index: 1; padding: 34px 30px 36px; border-radius: var(--r-lg); background: linear-gradient(180deg, #121612, #0b0d0b); border: 1px solid var(--ln); overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.mgx-step::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 0% 0%, rgba(141,255,0,.14), transparent 70%); opacity: 0; transition: opacity .5s; }
.mgx-step:hover { transform: translateY(-8px); border-color: var(--ln-g); }
.mgx-step:hover::before { opacity: 1; }
.mgx-step__num { position: absolute; right: 18px; top: 4px; font-family: var(--fd); font-weight: 900; font-style: italic; font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(141,255,0,.28); }
.mgx-step__ico { position: relative; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; background: var(--g); color: #061003; margin-bottom: 26px; box-shadow: 0 0 30px rgba(141,255,0,.35); }
.mgx-step__ico .mgx-ico { width: 28px; height: 28px; }
.mgx-step h3 { position: relative; margin: 0 0 10px !important; font-size: 32px !important; font-weight: 800 !important; text-transform: uppercase; line-height: 1 !important; }
.mgx-step p { position: relative; margin: 0; color: var(--mu); }
.mgx-step p a { color: var(--g); border-bottom: 1px solid var(--ln-g); }

/* ---------------- NOSOTROS TEASER ---------------- */
.mgx-about-teaser__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.mgx-about-teaser__media { position: relative; }
.mgx-duo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ln-g); }
.mgx-duo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter 1s var(--ease), transform 1.2s var(--ease); }
.mgx-duo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(141,255,0,.35), transparent 60%); mix-blend-mode: overlay; transition: opacity .8s; }
.mgx-duo:hover img, .is-in .mgx-duo img { filter: none; }
.mgx-duo:hover img { transform: scale(1.04); }
.mgx-about-teaser__tag { position: absolute; right: -24px; bottom: 34px; display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 14px; border-radius: 18px; background: var(--g); color: #061003; box-shadow: 0 30px 60px rgba(0,0,0,.5); animation: mgxFloat 5s ease-in-out infinite; }
.mgx-about-teaser__tag .mgx-ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #061003; color: var(--g); }
.mgx-about-teaser__tag b { display: block; font-family: var(--fd); font-size: 20px; text-transform: uppercase; line-height: 1; }
.mgx-about-teaser__tag small { font-weight: 700; font-size: 13px; }

/* ---------------- CTA FOTO ---------------- */
.mgx-cta { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 200px) 0; isolation: isolate; text-align: left; }
.mgx-cta__bg { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; object-position: center 30%; z-index: -2; }
.mgx-cta__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,6,5,.96) 0%, rgba(5,6,5,.75) 45%, rgba(5,6,5,.25) 100%), linear-gradient(0deg, var(--bk), transparent 25%, transparent 75%, var(--bk)); }
.mgx-cta--slim { padding: clamp(90px, 11vw, 160px) 0; }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.mgx-pfhero { position: relative; min-height: max(780px, 100svh); padding: calc(var(--hh) + 30px) 0 90px; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.mgx-pfhero__words { position: absolute; inset: 0; z-index: -3; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.mgx-pfhero__words span { display: block; font-family: var(--fd); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 19vw; line-height: .78; color: rgba(242,245,239,.05); white-space: nowrap; padding-left: 4vw; }
.mgx-pfhero__words span.is-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(141,255,0,.25); padding-left: 22vw; }
.mgx-pfhero__split { position: absolute; z-index: -2; right: 3vw; top: calc(var(--hh) + 30px); bottom: 70px; width: min(56vw, 820px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mgx-pfhero__ph { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ln-2); clip-path: inset(100% 0 0 0 round 30px); animation: mgxUnveil 1.5s var(--ease) forwards; }
.mgx-pfhero__ph--b { margin-top: 60px; margin-bottom: -40px; animation-delay: .2s; }
@keyframes mgxUnveil { to { clip-path: inset(0 0 0 0 round 30px); } }
.mgx-pfhero__ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); animation: mgxZoomOut 2.2s var(--ease) forwards; }
@keyframes mgxZoomOut { to { transform: scale(1); } }
.mgx-pfhero__ph figcaption { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(5,6,5,.7); border: 1px solid var(--ln-g); color: var(--g); font-family: var(--fd); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; backdrop-filter: blur(6px); }
.mgx-pfhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bk) 0%, rgba(5,6,5,.85) 32%, transparent 62%), linear-gradient(0deg, var(--bk), transparent 30%); pointer-events: none; }
.mgx-pfhero__copy { z-index: 2; }
.mgx-pfhero__sub { font-family: var(--fd); font-weight: 600; font-size: clamp(26px, 3vw, 44px); line-height: 1.05; text-transform: uppercase; color: var(--mu); margin: 0 0 32px; }
.mgx-pfhero__sub b { color: var(--tx); }
.mgx-pfhero__meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 20px 3vw; border-top: 1px solid var(--ln); font-family: var(--fd); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--mu-2); }

.mgx-feat { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: clamp(560px, 62vw, 860px); }
.mgx-feat__item { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ln); isolation: isolate; color: var(--tx) !important; }
.mgx-feat__item--1 { grid-row: span 2; }
.mgx-feat__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease), filter .6s; }
.mgx-feat__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,6,5,.85), transparent 45%); }
.mgx-feat__item:hover img { transform: scale(1.06); }
.mgx-feat__num { position: absolute; top: 18px; left: 22px; font-family: var(--fd); font-weight: 900; font-style: italic; font-size: 60px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--g); }
.mgx-feat__cap { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-family: var(--fd); font-weight: 800; font-size: clamp(24px, 2.4vw, 38px); text-transform: uppercase; line-height: .95; }
.mgx-feat__cap .mgx-ico { width: 46px; height: 46px; padding: 11px; flex: none; border-radius: 50%; background: var(--g); color: #061003; transform: scale(.6) rotate(-45deg); opacity: 0; transition: all .5s var(--ease); }
.mgx-feat__item:hover .mgx-feat__cap .mgx-ico { transform: none; opacity: 1; }

.mgx-look__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.mgx-avatar { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin-inline: auto; }
.mgx-avatar img { position: absolute; inset: 13%; width: 74%; height: 74%; object-fit: cover; border-radius: 50%; border: 3px solid var(--g); box-shadow: 0 0 0 10px rgba(141,255,0,.08), 0 40px 80px rgba(0,0,0,.6); }
.mgx-avatar__ring { position: absolute; inset: 0; animation: mgxSpin 22s linear infinite; }
.mgx-avatar__ring svg { width: 100%; height: 100%; overflow: visible; }
.mgx-avatar__ring text { font-family: var(--fd); font-weight: 800; font-size: 13.4px; letter-spacing: .33em; fill: var(--g); }
.mgx-avatar__card { width: fit-content; margin: -26px auto 0; position: relative; z-index: 2; display: grid; justify-items: center; gap: 2px; padding: 16px 28px; border-radius: 22px; background: rgba(12,15,12,.92); border: 1px solid var(--ln-g); box-shadow: 0 30px 60px rgba(0,0,0,.5); backdrop-filter: blur(12px); text-align: center; }
.mgx-avatar__card strong { font-family: var(--fd); font-weight: 900; font-size: 30px; text-transform: uppercase; line-height: 1; }
.mgx-avatar__card small { color: var(--mu); }
.mgx-avatar__card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--g) !important; font-weight: 700; font-size: 14px; }
.mgx-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.mgx-tags span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ln-g); background: var(--g-a); color: var(--g); font-family: var(--fd); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; }
.mgx-look__wide { position: relative; margin-top: clamp(50px, 7vw, 100px) !important; border-radius: var(--r-lg); overflow: hidden; height: clamp(320px, 42vw, 600px); border: 1px solid var(--ln); }
.mgx-look__wide img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.mgx-look__wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,5,.85), transparent 50%); }
.mgx-look__wide figcaption { position: absolute; z-index: 2; left: clamp(20px, 4vw, 50px); bottom: clamp(20px, 3vw, 40px); font-family: var(--fd); font-weight: 900; font-style: italic; font-size: clamp(40px, 6vw, 96px); text-transform: uppercase; line-height: .9; color: var(--tx); }

.mgx-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; padding: 8px; border-radius: 999px; background: var(--bk-2); border: 1px solid var(--ln); width: fit-content; max-width: 100%; position: sticky; top: calc(var(--hh) + 12px); z-index: 20; backdrop-filter: blur(12px); }
.mgx-filter { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: var(--mu); cursor: pointer; font-family: var(--fd); font-weight: 800; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; transition: all .35s var(--ease); }
.mgx-filter sup { font-size: 11px; color: var(--g); top: -.6em; }
.mgx-filter:hover { color: var(--tx); }
.mgx-filter.is-active { background: var(--g); color: #061003; box-shadow: 0 8px 24px rgba(141,255,0,.3); }
.mgx-filter.is-active sup { color: #061003; }
.mgx-filters__count { padding: 0 16px; font-size: 14px; color: var(--mu-2); }
.mgx-filters__count b { color: var(--tx); }
.mgx-masonry { columns: 4 260px; column-gap: 14px; }
.mgx-tile { position: relative; display: block; margin: 0 0 14px; break-inside: avoid; border-radius: 18px; overflow: hidden; border: 1px solid var(--ln); background: var(--bk-2); color: var(--tx) !important; isolation: isolate; transform: translateZ(0); }
.mgx-tile img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.mgx-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,5,.9), transparent 55%); opacity: 0; transition: opacity .5s; }
.mgx-tile:hover img { transform: scale(1.07); }
.mgx-tile:hover::after { opacity: 1; }
.mgx-tile__num { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(5,6,5,.65); font-family: var(--fd); font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--g); backdrop-filter: blur(6px); }
.mgx-tile__cap { position: absolute; z-index: 2; left: 16px; right: 60px; bottom: 14px; font-family: var(--fd); font-weight: 800; font-size: 20px; text-transform: uppercase; line-height: 1; transform: translateY(16px); opacity: 0; transition: all .5s var(--ease); }
.mgx-tile__go { position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: #061003; transform: scale(.4); opacity: 0; transition: all .5s var(--ease); }
.mgx-tile__go .mgx-ico { width: 18px; height: 18px; }
.mgx-tile:hover .mgx-tile__cap, .mgx-tile:focus-visible .mgx-tile__cap { transform: none; opacity: 1; }
.mgx-tile:hover .mgx-tile__go, .mgx-tile:focus-visible .mgx-tile__go { transform: none; opacity: 1; }
.mgx-tile.is-hidden { display: none; }
.mgx-tile.is-pop { animation: mgxPop .7s var(--ease) both; }
@keyframes mgxPop { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.mgx-note { margin: 24px 0 0; text-align: center; color: var(--mu-2); font-size: 14px; }

.mgx-water { position: relative; overflow: hidden; padding: clamp(120px, 15vw, 220px) 0; isolation: isolate; }
.mgx-water__bg { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; z-index: -3; }
.mgx-water__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,6,5,.95), rgba(5,6,5,.55) 55%, rgba(0,40,60,.2)), linear-gradient(0deg, var(--bk), transparent 25%, transparent 75%, var(--bk)); }
.mgx-water__ripples { position: absolute; right: 12%; top: 50%; z-index: -1; }
.mgx-water__ripples i { position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; border-radius: 50%; border: 1.5px solid rgba(141,255,0,.45); animation: mgxRipple 4.5s ease-out infinite; }
.mgx-water__ripples i:nth-child(2) { animation-delay: 1.5s; } .mgx-water__ripples i:nth-child(3) { animation-delay: 3s; }
@keyframes mgxRipple { from { transform: scale(.2); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

.mgx-pfcontact { text-align: center; overflow: hidden; }
.mgx-pfcontact::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(141,255,0,.13), transparent 60%); z-index: -1; }
.mgx-pfcontact__inner { display: flex; flex-direction: column; align-items: center; }
.mgx-pfcontact .mgx-lead { margin-inline: auto; }
.mgx-pfcontact__foot { margin-top: 40px; font-family: var(--fd); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--mu-2); }

/* Lightbox */
.mgx-lightbox { position: fixed; inset: 0; z-index: 1008; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; background: rgba(3,4,3,.96); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.mgx-lightbox.is-open { opacity: 1; visibility: visible; }
.mgx-lightbox__fig { margin: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 70px 0 30px; }
.mgx-lightbox__fig img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 14px; box-shadow: 0 40px 100px rgba(0,0,0,.8); transform: scale(.94); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.mgx-lightbox__fig img.is-loaded { transform: none; opacity: 1; }
.mgx-lightbox__fig figcaption { display: flex; gap: 16px; align-items: baseline; margin-top: 18px; font-family: var(--fd); font-weight: 800; font-size: 26px; text-transform: uppercase; }
.mgx-lightbox__fig figcaption small { color: var(--g); font-size: 16px; letter-spacing: .1em; }
.mgx-lightbox__nav { width: 60px; height: 60px; margin: auto; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--ln-2); color: var(--tx); cursor: pointer; transition: all .3s var(--ease); }
.mgx-lightbox__nav .mgx-ico { width: 24px; height: 24px; }
.mgx-lightbox__nav:hover { background: var(--g); color: #061003; border-color: var(--g); transform: scale(1.08); }
.mgx-lightbox__close { position: absolute; top: 20px; right: 24px; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--ln-2); color: var(--tx); cursor: pointer; font-family: var(--fd); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mgx-lightbox__close:hover { border-color: var(--g); color: var(--g); }

/* ==========================================================================
   NOSOTROS
   ========================================================================== */
.mgx-pagehero { position: relative; min-height: 86svh; display: flex; align-items: flex-end; padding: calc(var(--hh) + 60px) 0 clamp(60px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.mgx-pagehero__bg { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: center 35%; z-index: -2; }
.mgx-pagehero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bk) 0%, rgba(5,6,5,.6) 50%, rgba(5,6,5,.75) 100%), linear-gradient(90deg, rgba(5,6,5,.85), transparent 70%); }
.mgx-pagehero__index { position: absolute; right: 2vw; bottom: -4vw; z-index: -1; font-family: var(--fd); font-weight: 900; font-style: italic; font-size: 34vw; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(141,255,0,.2); pointer-events: none; }
.mgx-about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.mgx-about__visual { position: relative; padding: 0 12% 14% 0; }
.mgx-about__main img { aspect-ratio: 1; }
.mgx-about__small { position: absolute; right: 0; bottom: 0; width: 46%; margin: 0; border-radius: 22px; overflow: hidden; border: 4px solid var(--bk); box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.mgx-about__small img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.mgx-badge-float { position: absolute; left: -16px; top: 30px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: rgba(5,6,5,.85); border: 1px solid var(--ln-g); font-family: var(--fd); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; backdrop-filter: blur(10px); animation: mgxFloat 5s ease-in-out infinite; }
.mgx-signature { display: inline-flex; align-items: center; gap: 14px; margin-top: 14px; padding: 10px 22px 10px 10px; border-radius: 999px; border: 1px solid var(--ln); background: var(--bk-2); }
.mgx-signature img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--g); }
.mgx-signature b { display: block; font-family: var(--fd); font-size: 20px; text-transform: uppercase; line-height: 1; }
.mgx-signature small { color: var(--mu); }
.mgx-pillars { padding-top: 0; }
.mgx-pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mgx-pillar { position: relative; height: clamp(380px, 36vw, 520px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ln); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.mgx-pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) brightness(.6); transform: scale(1.06); transition: filter .8s, transform 1.2s var(--ease); }
.mgx-pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,6,5,.95), rgba(5,6,5,.1) 60%); }
.mgx-pillar:hover img { filter: none; transform: scale(1); }
.mgx-pillar:hover { border-color: var(--ln-g); }
.mgx-pillar__num { font-family: var(--fd); font-weight: 900; font-style: italic; font-size: 90px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--g); }
.mgx-pillar h3 { margin: 10px 0 0 !important; font-size: clamp(30px, 3vw, 44px) !important; font-weight: 900 !important; text-transform: uppercase; line-height: .92 !important; }
.mgx-pillar > .mgx-ico { position: absolute; top: 24px; right: 24px; width: 54px; height: 54px; padding: 13px; border-radius: 16px; background: var(--g); color: #061003; transition: transform .5s var(--ease); }
.mgx-pillar:hover > .mgx-ico { transform: rotate(-10deg) scale(1.08); }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.mgx-contact__wrap { position: relative; min-height: 100svh; padding: calc(var(--hh) + 60px) 0 clamp(70px, 8vw, 120px); overflow: hidden; isolation: isolate; }
.mgx-contact__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.mgx-contact__bg img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 70% 30%; filter: grayscale(.6); }
.mgx-contact__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,6,5,.97) 0%, rgba(5,6,5,.88) 45%, rgba(5,6,5,.7) 100%), linear-gradient(0deg, var(--bk), transparent 30%); }
.mgx-contact .mgx-display { font-size: clamp(54px, 7.4vw, 118px) !important; }
.mgx-contact__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.mgx-contact__cards { display: grid; gap: 12px; margin-top: 30px; max-width: 460px; }
.mgx-ccard { display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--ln); color: var(--tx) !important; transition: all .4s var(--ease); }
.mgx-ccard__ico .mgx-ico { width: 52px; height: 52px; padding: 13px; border-radius: 16px; background: var(--g-a); color: var(--g); transition: all .4s var(--ease); }
.mgx-ccard small { display: block; font-family: var(--fd); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mu-2); font-size: 12px; }
.mgx-ccard b { font-family: var(--fd); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; }
.mgx-ccard > .mgx-ico { margin-left: auto; width: 22px; height: 22px; color: var(--g); transition: transform .4s var(--ease); }
.mgx-ccard:hover { border-color: var(--g); transform: translateX(8px); background: var(--g-a); }
.mgx-ccard:hover .mgx-ccard__ico .mgx-ico { background: var(--g); color: #061003; }
.mgx-ccard:hover > .mgx-ico { transform: translate(3px, -3px); }

.mgx-form { position: relative; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(18,22,18,.92), rgba(9,11,9,.96)); border: 1px solid var(--ln-g); box-shadow: 0 60px 120px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(16px); }
.mgx-form::before { content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--g), transparent); box-shadow: 0 0 14px var(--g); }
.mgx-form__head h2 { margin: 0 0 6px !important; font-size: clamp(34px, 3.4vw, 50px) !important; font-weight: 900 !important; font-style: italic; text-transform: uppercase; line-height: 1 !important; }
.mgx-form__head p { margin: 0 0 26px; color: var(--mu); }
.mgx-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.mgx-field { position: relative; display: block; margin: 0; }
.mgx-field input, .mgx-field textarea {
	width: 100% !important; height: 62px; padding: 24px 18px 8px !important;
	border-radius: 16px !important; border: 1px solid var(--ln-2) !important;
	background: rgba(255,255,255,.035) !important; color: var(--tx) !important;
	font-family: var(--fb) !important; font-size: 16px !important; box-shadow: none !important;
	transition: border-color .3s, background .3s, box-shadow .3s;
}
.mgx-field textarea { height: 140px; resize: vertical; padding-top: 30px !important; }
.mgx-field > span { position: absolute; left: 19px; top: 21px; color: var(--mu); pointer-events: none; transition: all .3s var(--ease); font-size: 16px; }
.mgx-field input:focus, .mgx-field textarea:focus { border-color: var(--g) !important; background: rgba(141,255,0,.05) !important; box-shadow: 0 0 0 4px rgba(141,255,0,.1) !important; outline: 0; }
.mgx-field input:focus + span, .mgx-field input:not(:placeholder-shown) + span,
.mgx-field textarea:focus + span, .mgx-field textarea:not(:placeholder-shown) + span { top: 9px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); font-weight: 700; }
.mgx-field.is-error input, .mgx-field.is-error textarea { border-color: #ff6262 !important; }
.mgx-field--chips { border: 0; padding: 0; margin: 4px 0 16px; }
.mgx-field--chips legend { margin-bottom: 10px; font-family: var(--fd); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mu); font-size: 13px; }
.mgx-chip--radio { position: relative; padding: 0; }
.mgx-chip--radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mgx-chip--radio span { display: block; padding: 9px 15px; font-size: 14px; }
.mgx-chip--radio:has(input:checked) { background: var(--g); border-color: var(--g); color: #061003 !important; }
.mgx-chip--radio:has(input:focus-visible) { outline: 2px solid var(--g); outline-offset: 2px; }
.mgx-field--chips.is-error .mgx-chip { border-color: #ff6262; }
.mgx-form__error { color: #ff8a8a; margin: 0 0 14px; font-weight: 600; }
.mgx-form .mgx-btn--block { --bh: 62px; font-size: 19px; }
.mgx-form .mgx-btn .mgx-ico { width: 22px; height: 22px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	.mgx-face__grid, .mgx-pf-teaser__grid, .mgx-about-teaser__grid, .mgx-look__grid, .mgx-about__grid, .mgx-contact__grid { grid-template-columns: 1fr; }
	.mgx-face__visual { max-width: 560px; }
	.mgx-pfhero__split { opacity: .5; width: 70vw; }
	.mgx-about-teaser__tag { right: 10px; }
	.mgx-pillars__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.mgx-hero { padding-bottom: 120px; }
	.mgx-hero__shade { background: linear-gradient(0deg, var(--bk) 5%, rgba(5,6,5,.55) 60%, rgba(5,6,5,.75) 100%); }
	.mgx-hero__cap, .mgx-hero__scroll { display: none; }
	.mgx-hero__bar-inner { gap: 14px; }
	.mgx-gal-accordion { flex-direction: column; height: auto; }
	.mgx-gal { flex: none !important; height: 120px; transition: height .8s var(--ease); }
	.mgx-gal.is-open { height: 380px; }
	.mgx-how__track { grid-template-columns: 1fr; }
	.mgx-how__line { display: none; }
	.mgx-hero__title { font-size: clamp(52px, 16.5vw, 200px) !important; }
	.mgx-face__steps li { padding: 14px 12px; }
	.mgx-face__steps b { font-size: 24px; }
	.mgx-face__steps span { font-size: 15px; }
	.mgx-face__console-head small { display: none; }
	.mgx-gal:not(.is-open) .mgx-gal__num, .mgx-gal:not(.is-open) .mgx-gal__body small { display: none; }
	.mgx-gal__num { font-size: 40px; }
	.mgx-face__thumbs { display: none; }
	.mgx-score__board { grid-template-columns: 1fr 1fr; }
	.mgx-score__vs { display: none; }
	.mgx-pf-teaser__cards { height: 120vw; max-height: 560px; }
	.mgx-pf-card { width: 64%; }
	.mgx-feat { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
	.mgx-feat__item { height: 72vw; max-height: 520px; }
	.mgx-feat__item--1 { grid-row: auto; height: 110vw; max-height: 640px; }
	.mgx-pfhero { align-items: flex-end; }
	.mgx-pfhero__split { left: 4vw; right: 4vw; width: auto; top: calc(var(--hh) + 10px); bottom: 45%; opacity: .9; }
	.mgx-pfhero::after { background: linear-gradient(0deg, var(--bk) 42%, rgba(5,6,5,.4) 70%, rgba(5,6,5,.2)); }
	.mgx-pfhero__meta span:last-child { display: none; }
	.mgx-masonry { columns: 2 150px; column-gap: 10px; }
	.mgx-tile { margin-bottom: 10px; border-radius: 14px; }
	.mgx-tile__cap { font-size: 16px; opacity: 1; transform: none; right: 12px; }
	.mgx-tile::after { opacity: .9; }
	.mgx-tile__go { display: none; }
	.mgx-filters { border-radius: 22px; }
	.mgx-filter { height: 40px; padding: 0 14px; font-size: 14px; }
	.mgx-filters__count { display: none; }
	.mgx-lightbox { grid-template-columns: 1fr; }
	.mgx-lightbox__nav { position: absolute; bottom: 24px; width: 54px; height: 54px; z-index: 2; }
	.mgx-lightbox__nav--prev { left: calc(50% - 70px); }
	.mgx-lightbox__nav--next { right: calc(50% - 70px); }
	.mgx-lightbox__fig { padding: 80px 12px 100px; }
	.mgx-lightbox__fig figcaption { font-size: 20px; }
	.mgx-pillars__grid { grid-template-columns: 1fr; }
	.mgx-pillar { height: 320px; }
	.mgx-form__grid { grid-template-columns: 1fr; }
	.mgx-about__visual { padding: 0 8% 12% 0; }
	.mgx-badge-float { left: 8px; }
	.mgx-cta__shade { background: linear-gradient(0deg, rgba(5,6,5,.97) 20%, rgba(5,6,5,.65)), linear-gradient(0deg, var(--bk), transparent 25%, transparent 75%, var(--bk)); }
}
