/*!
Theme Name: meycgroup
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: meycgroup
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

meycgroup is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Premium Front Page
--------------------------------------------------------------*/

:root {
	--mg-bg: #080d11;
	--mg-bg-soft: #0f171d;
	--mg-text: #eaf2f7;
	--mg-muted: #9caeb9;
	--mg-gold: #d9a441;
	--mg-gold-soft: #f5c970;
	--mg-line: rgba(255, 255, 255, 0.14);
	--mg-max: 1220px;
}

body.home {
	font-family: "Barlow", sans-serif;
	color: var(--mg-text);
	background: radial-gradient(circle at 88% 12%, rgba(217, 164, 65, 0.18), transparent 38%),
		radial-gradient(circle at 12% 82%, rgba(86, 126, 150, 0.18), transparent 34%),
		linear-gradient(145deg, #070b0f 0%, #0d151b 48%, #070c10 100%);
}

.home .site {
	overflow: hidden;
}

.home .site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 2.2rem;
	background: linear-gradient(180deg, rgba(7, 11, 15, 0.9), rgba(7, 11, 15, 0.6));
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	z-index: 999;
}

.home .site-branding {
	max-width: none;
}

.home .site-title a,
.home .site-title {
	margin: 0;
	font-family: "Rajdhani", sans-serif;
	font-size: 1.55rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff;
	text-decoration: none;
}

.home .site-description {
	display: none;
}

.home .main-navigation {
	width: auto;
}

.home .main-navigation a {
	color: #d9e3ea;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.home .main-navigation a:hover {
	color: var(--mg-gold-soft);
}

.mg-wrap {
	width: min(100% - 2.8rem, var(--mg-max));
	margin-inline: auto;
}

.mg-tag,
.mg-kicker {
	font-family: "Rajdhani", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 700;
	color: var(--mg-gold-soft);
	margin: 0;
}

.mg-cinema {
	min-height: 100svh;
	position: relative;
	display: flex;
	align-items: center;
	padding-top: 5.7rem;
	isolation: isolate;
}

.mg-cinema__noise,
.mg-cinema__beam {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.mg-cinema__noise {
	background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 52px 52px;
	opacity: 0.55;
}

.mg-cinema__beam {
	background: radial-gradient(circle at 76% 36%, rgba(217, 164, 65, 0.24), transparent 42%),
		linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
	animation: mg-drift 10s ease-in-out infinite alternate;
}

.mg-cinema__inner {
	position: relative;
	z-index: 2;
	max-width: 800px;
}

.mg-cinema h1 {
	font-family: "Rajdhani", sans-serif;
	font-size: clamp(2.5rem, 8.8vw, 6.3rem);
	line-height: 0.88;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0.8rem 0 0;
	max-width: 12ch;
}

.mg-sub {
	margin: 1.35rem 0 0;
	max-width: 56ch;
	color: var(--mg-muted);
	font-size: clamp(1.02rem, 2.3vw, 1.28rem);
}

.mg-actions {
	display: flex;
	gap: 0.9rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.mg-btn {
	display: inline-block;
	padding: 0.82rem 1.35rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.mg-btn:hover {
	transform: translateY(-2px);
}

.mg-btn--gold {
	background: linear-gradient(90deg, #d29a35, #f2c66f);
	color: #1b1306;
	box-shadow: 0 14px 34px rgba(210, 154, 53, 0.28);
}

.mg-btn--line {
	border: 1px solid var(--mg-line);
	color: #dbe7ee;
}

.mg-cinema__frame {
	position: absolute;
	right: min(6vw, 86px);
	top: 50%;
	translate: 0 -50%;
	width: min(34vw, 430px);
	aspect-ratio: 1;
	border: 1px solid rgba(217, 164, 65, 0.46);
	transform: rotate(45deg);
	opacity: 0.85;
	pointer-events: none;
}

.mg-cinema__frame span {
	position: absolute;
	inset: 14%;
	border: 1px solid rgba(255, 255, 255, 0.16);
	animation: mg-pulse 4.5s ease-in-out infinite;
}

.mg-cinema__frame span:nth-child(2) {
	inset: 26%;
	animation-delay: 0.7s;
}

.mg-cinema__frame span:nth-child(3) {
	inset: 38%;
	animation-delay: 1.4s;
}

.mg-signature,
.mg-flow,
.mg-showcase,
.mg-final {
	padding: clamp(3.7rem, 9vw, 7rem) 0;
}

.mg-signature {
	border-top: 1px solid var(--mg-line);
	border-bottom: 1px solid var(--mg-line);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.mg-signature__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: end;
}

.mg-signature h2,
.mg-showcase h2,
.mg-final h2 {
	font-family: "Rajdhani", sans-serif;
	font-size: clamp(2rem, 4.8vw, 4rem);
	line-height: 0.92;
	text-transform: uppercase;
	margin: 0.75rem 0 0;
}

.mg-signature p,
.mg-flow p,
.mg-showcase li,
.mg-final p {
	color: var(--mg-muted);
	font-size: 1.06rem;
}

.mg-flow__rail {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.1rem;
	margin-top: 1.25rem;
}

.mg-flow article {
	padding: 1.2rem 1.1rem;
	border-top: 1px solid rgba(217, 164, 65, 0.5);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(180deg, rgba(217, 164, 65, 0.08), rgba(255, 255, 255, 0.02));
}

.mg-flow h3 {
	font-family: "Rajdhani", sans-serif;
	font-size: 1.38rem;
	line-height: 1;
	margin: 0 0 0.55rem;
	text-transform: uppercase;
	color: #f4f7f9;
}

.mg-showcase__grid {
	display: grid;
	grid-template-columns: 1.06fr 1fr;
	gap: 2.1rem;
	align-items: center;
}

.mg-showcase__visual {
	min-height: 540px;
	position: relative;
	border: 1px solid var(--mg-line);
	background: radial-gradient(circle at 20% 20%, rgba(217, 164, 65, 0.3), transparent 34%),
		radial-gradient(circle at 80% 78%, rgba(112, 144, 164, 0.32), transparent 44%),
		linear-gradient(140deg, #121f27 0%, #0c151b 52%, #0a0f14 100%);
}

.mg-showcase__visual::before,
.mg-showcase__visual::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.mg-showcase__visual::before {
	inset: 10%;
}

.mg-showcase__visual::after {
	inset: 20%;
	border-color: rgba(217, 164, 65, 0.3);
}

.mg-showcase__copy ul {
	list-style: none;
	margin: 1.15rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.72rem;
}

.mg-showcase__copy li {
	position: relative;
	padding-left: 1.3rem;
}

.mg-showcase__copy li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5rem;
	width: 0.55rem;
	height: 0.55rem;
	background: linear-gradient(180deg, #f0c066, #bc8625);
}

.mg-final {
	text-align: center;
	border-top: 1px solid var(--mg-line);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.mg-final .mg-btn {
	margin-top: 0.7rem;
}

.home .site-footer {
	padding: 1.2rem 0;
	border-top: 1px solid var(--mg-line);
}

.home .site-info,
.home .site-info a {
	color: #8da2b0;
}

@keyframes mg-drift {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-18px);
	}
}

@keyframes mg-pulse {
	0%,
	100% {
		opacity: 0.22;
	}
	50% {
		opacity: 0.72;
	}
}

@media (max-width: 1080px) {
	.home .site-header {
		padding: 0.8rem 1rem;
	}

	.mg-cinema__frame {
		opacity: 0.38;
	}
}

@media (max-width: 860px) {
	.home .site-header {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.mg-signature__grid,
	.mg-flow__rail,
	.mg-showcase__grid {
		grid-template-columns: 1fr;
	}

	.mg-cinema {
		padding-top: 8rem;
	}

	.mg-showcase__visual {
		min-height: 370px;
	}
}

@media (max-width: 600px) {
	.mg-wrap {
		width: min(100% - 1.35rem, var(--mg-max));
	}

	.mg-btn {
		width: 100%;
		text-align: center;
	}

	.mg-cinema__frame {
		display: none;
	}
}

/*--------------------------------------------------------------
# Products Page
--------------------------------------------------------------*/

.mg-products-page {
	padding-top: 5rem;
}

.mg-products-hero {
	padding: clamp(3rem, 8vw, 5.5rem) 0 2rem;
	border-bottom: 1px solid var(--mg-line);
	background: linear-gradient(180deg, rgba(217, 164, 65, 0.08), rgba(255, 255, 255, 0));
}

.mg-products-hero h1 {
	font-family: "Rajdhani", sans-serif;
	font-size: clamp(2.4rem, 7vw, 5.2rem);
	line-height: 0.9;
	margin: 0.75rem 0;
	text-transform: uppercase;
}

.mg-products-hero p {
	max-width: 62ch;
	color: var(--mg-muted);
}

.mg-products-content {
	padding: 2rem 0 5rem;
}

.mg-products {
	display: grid;
	gap: 2.2rem;
}

.mg-products__head h2 {
	font-family: "Rajdhani", sans-serif;
	font-size: clamp(1.8rem, 4.5vw, 3rem);
	text-transform: uppercase;
	line-height: 0.95;
	margin: 0.6rem 0;
}

.mg-products__head p {
	color: var(--mg-muted);
	max-width: 70ch;
}

.mg-product-group {
	border-top: 1px solid var(--mg-line);
	padding-top: 1.1rem;
}

.mg-product-group__title {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 1rem;
}

.mg-product-group__title h3 {
	margin: 0;
	font-family: "Rajdhani", sans-serif;
	font-size: clamp(1.35rem, 2.8vw, 2rem);
	text-transform: uppercase;
}

.mg-product-group__title span {
	color: var(--mg-gold-soft);
	font-size: 0.92rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.mg-products-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.mg-product-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
	border: 1px solid var(--mg-line);
	overflow: hidden;
}

.mg-product-card__media {
	aspect-ratio: 4 / 3;
	background: #0f171d;
}

.mg-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mg-product-card__body {
	padding: 0.95rem;
}

.mg-product-card__body h4 {
	margin: 0 0 0.45rem;
	font-family: "Rajdhani", sans-serif;
	font-size: 1.2rem;
	line-height: 1;
	text-transform: uppercase;
}

.mg-product-card__body p {
	margin: 0;
	color: var(--mg-muted);
	font-size: 0.98rem;
}

@media (max-width: 1000px) {
	.mg-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.mg-products-grid {
		grid-template-columns: 1fr;
	}

	.mg-product-group__title {
		flex-direction: column;
		align-items: flex-start;
	}
}

/*--------------------------------------------------------------
# Global Header Visibility
--------------------------------------------------------------*/

body:not(.home) {
	background: #070d12;
	color: #eaf2f7;
	font-family: "Barlow", sans-serif;
}

body:not(.home) .site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.85rem 1.2rem;
	background: linear-gradient(180deg, rgba(7, 12, 16, 0.95), rgba(7, 12, 16, 0.78));
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
}

body:not(.home) .site-branding {
	max-width: none;
}

body:not(.home) .site-title,
body:not(.home) .site-title a {
	margin: 0;
	font-family: "Rajdhani", sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
}

body:not(.home) .site-description {
	display: none;
}

body:not(.home) .main-navigation {
	width: auto;
}

body:not(.home) .main-navigation ul,
body:not(.home) .main-navigation .menu-list {
	gap: 0.4rem;
}

body:not(.home) .main-navigation a {
	color: #d7e5ee;
	font-weight: 600;
	padding: 0.5rem 0.75rem;
	border: 1px solid transparent;
	border-radius: 999px;
}

body:not(.home) .main-navigation a:hover {
	border-color: rgba(217, 164, 65, 0.45);
	color: #f5c970;
}

body:not(.home) .menu-toggle {
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: transparent;
	color: #fff;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
}

/*--------------------------------------------------------------
# Products Redesign
--------------------------------------------------------------*/

.mg-products-page {
	padding-top: 0;
}

.mg-products-hero {
	padding: clamp(2.8rem, 8vw, 5.8rem) 0 2.2rem;
	border-bottom: 1px solid var(--mg-line);
	background: radial-gradient(circle at 82% 12%, rgba(217, 164, 65, 0.2), transparent 40%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.mg-products {
	display: grid;
	gap: 2.8rem;
}

.mg-product-group {
	padding-top: 1.25rem;
}

.mg-products-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem;
}

.mg-product-card {
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
	border: 1px solid rgba(255, 255, 255, 0.14);
	transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.mg-product-card:hover {
	transform: translateY(-3px);
	border-color: rgba(217, 164, 65, 0.55);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
}

.mg-product-card__media {
	aspect-ratio: 16 / 11;
}

.mg-product-card__body {
	padding: 1rem;
}

.mg-product-card__chip {
	display: inline-block;
	margin-bottom: 0.55rem;
	padding: 0.24rem 0.62rem;
	border: 1px solid rgba(217, 164, 65, 0.5);
	border-radius: 999px;
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #f5c970;
}

@media (max-width: 860px) {
	body:not(.home) .site-header {
		flex-wrap: wrap;
		gap: 0.45rem;
	}

	body:not(.home) .main-navigation {
		width: 100%;
	}

	body:not(.home) .main-navigation ul,
	body:not(.home) .main-navigation .menu-list {
		padding-top: 0.45rem;
	}
}

/*--------------------------------------------------------------
# Editable Areas
--------------------------------------------------------------*/

.header-cta {
	display: inline-block;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(217, 164, 65, 0.52);
	color: #f5c970;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.86rem;
}

.header-cta:hover {
	background: rgba(217, 164, 65, 0.16);
}

.site-footer .footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	padding: 1.3rem 0;
}

.site-footer .footer-column .widget {
	margin: 0;
}

.site-footer .widget-title {
	margin: 0 0 0.45rem;
	font-family: "Rajdhani", sans-serif;
	font-size: 1.05rem;
	text-transform: uppercase;
}

.site-footer .footer-nav {
	padding-bottom: 1rem;
}

.site-footer .footer-nav ul {
	display: flex;
	gap: 0.9rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.mg-editor-content {
	padding: 2rem 0 1rem;
}

.mg-editor-content > * {
	max-width: 100%;
}

.mg-editor-content .wp-block-group,
.mg-editor-content .wp-block-columns,
.mg-editor-content .wp-block-cover,
.mg-editor-content .wp-block-media-text {
	margin-bottom: 1.2rem;
}

@media (max-width: 860px) {
	.site-footer .footer-widgets {
		grid-template-columns: 1fr;
	}
}

/*--------------------------------------------------------------
# SEO UX
--------------------------------------------------------------*/

.mg-breadcrumbs {
	margin-bottom: 0.8rem;
	font-size: 0.9rem;
	color: #94a9b6;
}

.mg-breadcrumbs a {
	color: #c8d7e1;
	text-decoration: none;
}

.mg-breadcrumbs a:hover {
	color: #f5c970;
}

.mg-product-card__media a,
.mg-product-card__body h4 a {
	display: block;
	color: inherit;
	text-decoration: none;
}

/*--------------------------------------------------------------
# Product Detail SEO Template
--------------------------------------------------------------*/

.mg-product-detail {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.2rem;
}

.mg-product-summary {
	color: #9fb4c1;
	max-width: 70ch;
}

.mg-product-featured {
	margin: 1rem 0 1.4rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.mg-product-featured picture,
.mg-product-featured img {
	display: block;
	width: 100%;
	height: auto;
}

.mg-product-section {
	padding: 1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mg-product-section h2 {
	font-family: "Rajdhani", sans-serif;
	font-size: clamp(1.25rem, 3.2vw, 2rem);
	text-transform: uppercase;
	margin: 0 0 0.7rem;
}

.mg-product-section ul {
	margin: 0;
	padding-left: 1rem;
}

.mg-product-section li {
	margin: 0.3rem 0;
	color: #b7c6d0;
}

.mg-product-faq details {
	border: 1px solid rgba(255, 255, 255, 0.14);
	padding: 0.65rem 0.75rem;
	margin-bottom: 0.55rem;
	background: rgba(255, 255, 255, 0.03);
}

.mg-product-faq summary {
	cursor: pointer;
	font-weight: 700;
}

.mg-product-faq p {
	margin: 0.45rem 0 0;
	color: #b7c6d0;
}

/*--------------------------------------------------------------
# Innovation Page
--------------------------------------------------------------*/

.mg-innovation-page {
	padding: 1.2rem 0 3rem;
}

.mg-innovation {
	display: grid;
	gap: 1.2rem;
}

.mg-innovation__hero {
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	padding-bottom: 1rem;
}

.mg-innovation__hero h1 {
	font-family: "Rajdhani", sans-serif;
	font-size: clamp(2rem, 6vw, 4rem);
	line-height: 0.95;
	margin: 0.5rem 0;
	text-transform: uppercase;
}

.mg-innovation__hero p {
	max-width: 72ch;
	color: #abc0cd;
}

.mg-innovation__sections {
	display: grid;
	gap: 0.9rem;
}

.mg-innovation-item {
	padding: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.02);
}

.mg-innovation-item h2 {
	margin: 0 0 0.5rem;
	font-family: "Rajdhani", sans-serif;
	font-size: clamp(1.2rem, 2.8vw, 1.8rem);
	text-transform: uppercase;
}

.mg-innovation-item p {
	margin: 0;
	color: #b4c6d1;
}

.mg-innovation-gallery h2 {
	font-family: "Rajdhani", sans-serif;
	font-size: clamp(1.2rem, 2.8vw, 1.8rem);
	text-transform: uppercase;
}

.mg-innovation-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
}

.mg-innovation-grid figure {
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.mg-innovation-grid img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 900px) {
	.mg-innovation-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.mg-innovation-grid {
		grid-template-columns: 1fr;
	}
}

/*--------------------------------------------------------------
# Innovation Page Premium Refresh
--------------------------------------------------------------*/

.mg-innovation {
	gap: 2rem;
}

.mg-innovation__hero {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 1.2rem;
	align-items: stretch;
	border: 1px solid rgba(255, 255, 255, 0.13);
	padding: 0;
	overflow: hidden;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.mg-innovation__hero-media {
	min-height: 420px;
}

.mg-innovation__hero-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mg-innovation__hero-copy {
	padding: 1.3rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.mg-innovation__hero-copy h1 {
	font-size: clamp(2.1rem, 5.2vw, 4.4rem);
	line-height: 0.9;
	margin: 0.55rem 0;
}

.mg-innovation__sections {
	gap: 0;
	border: 1px solid rgba(255, 255, 255, 0.13);
}

.mg-innovation-item {
	position: relative;
	padding: 1.2rem 1.2rem 1.2rem 4rem;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(90deg, rgba(217, 164, 65, 0.08), rgba(255, 255, 255, 0.01));
}

.mg-innovation-item:first-child {
	border-top: 0;
}

.mg-innovation-item__index {
	position: absolute;
	left: 1.1rem;
	top: 1.15rem;
	font-family: "Rajdhani", sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	color: #f5c970;
}

.mg-innovation-gallery h2 {
	margin: 0 0 0.8rem;
}

.mg-innovation-grid {
	gap: 0.95rem;
}

.mg-innovation-grid figure {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.mg-innovation-grid img {
	transition: transform 0.35s ease;
}

.mg-innovation-grid figure:hover img {
	transform: scale(1.04);
}

@media (max-width: 940px) {
	.mg-innovation__hero {
		grid-template-columns: 1fr;
	}

	.mg-innovation__hero-media {
		min-height: 300px;
	}
}

@media (max-width: 640px) {
	.mg-innovation-item {
		padding-left: 3.2rem;
	}
}

/*--------------------------------------------------------------
# Premium Global Menu
--------------------------------------------------------------*/

.site-header {
	position: sticky;
	top: 0;
	z-index: 1200;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem;
	padding: 0.8rem 1.1rem;
	background: linear-gradient(180deg, rgba(7, 12, 16, 0.94), rgba(7, 12, 16, 0.78));
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
}

.site-branding {
	max-width: none;
}

.site-title,
.site-title a {
	margin: 0;
	font-family: "Rajdhani", sans-serif;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
}

.site-description {
	display: none;
}

.main-navigation {
	justify-self: center;
	width: auto;
}

.main-navigation .menu-list,
.main-navigation .menu,
.main-navigation ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation li {
	margin: 0;
}

.main-navigation a {
	display: block;
	padding: 0.48rem 0.78rem;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #d7e5ee;
	text-decoration: none;
	border: 1px solid transparent;
	transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: #f5c970;
	border-color: rgba(217, 164, 65, 0.48);
	background: rgba(217, 164, 65, 0.11);
}

.menu-toggle {
	display: none;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	padding: 0.5rem 0.88rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	font-size: 0.74rem;
	text-transform: uppercase;
}

.header-cta {
	justify-self: end;
}

@media (max-width: 920px) {
	.site-header {
		grid-template-columns: 1fr auto;
		gap: 0.7rem;
	}

	.site-branding {
		grid-column: 1 / 2;
	}

	.main-navigation {
		grid-column: 2 / 3;
		justify-self: end;
		position: relative;
	}

	.menu-toggle {
		display: inline-block;
	}

	.main-navigation .menu-list,
	.main-navigation .menu,
	.main-navigation ul {
		display: none;
	}

	.main-navigation.toggled .menu-list,
	.main-navigation.toggled .menu,
	.main-navigation.toggled ul {
		display: flex;
		position: fixed;
		top: 72px;
		left: 12px;
		right: 12px;
		z-index: 1300;
		flex-direction: column;
		align-items: stretch;
		gap: 0.32rem;
		padding: 0.75rem;
		border: 1px solid rgba(255, 255, 255, 0.14);
		background: rgba(9, 15, 20, 0.98);
		backdrop-filter: blur(8px);
	}

	.main-navigation.toggled a {
		padding: 0.72rem 0.85rem;
		border-radius: 8px;
	}

	.header-cta {
		display: none;
	}
}

/*--------------------------------------------------------------
# Contact Form
--------------------------------------------------------------*/

.mg-contact-block {
	margin-top: 1rem;
	padding: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.02);
}

.mg-contact-alert {
	padding: 0.65rem 0.75rem;
	margin: 0 0 0.85rem;
	border-radius: 6px;
}

.mg-contact-alert--success {
	background: rgba(81, 179, 102, 0.16);
	border: 1px solid rgba(81, 179, 102, 0.42);
}

.mg-contact-alert--error {
	background: rgba(212, 86, 86, 0.15);
	border: 1px solid rgba(212, 86, 86, 0.44);
}

.mg-contact-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 700;
}

.mg-contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem;
}

.mg-contact-form input,
.mg-contact-form select,
.mg-contact-form textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #e8eff4;
	padding: 0.62rem;
	border-radius: 6px;
}

.mg-contact-form button {
	border: 1px solid rgba(217, 164, 65, 0.5);
	background: linear-gradient(90deg, #d29a35, #f2c66f);
	color: #1b1306;
	font-weight: 700;
	padding: 0.7rem 1rem;
	border-radius: 999px;
}

@media (max-width: 760px) {
	.mg-contact-grid {
		grid-template-columns: 1fr;
	}
}

/*--------------------------------------------------------------
# Footer Premium
--------------------------------------------------------------*/

.site-footer {
	margin-top: 2rem;
	background: linear-gradient(180deg, rgba(7, 12, 16, 0.95), rgba(6, 10, 14, 1));
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer .footer-widgets {
	padding-top: 1.5rem;
	padding-bottom: 1rem;
}

.site-footer .footer-column {
	padding: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.015);
}

.site-footer .footer-nav {
	padding-top: 0.2rem;
	padding-bottom: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-nav ul {
	justify-content: center;
}

.site-footer .footer-nav a {
	color: #d4e3ec;
	text-decoration: none;
	padding: 0.3rem 0.55rem;
	border-radius: 999px;
}

.site-footer .footer-nav a:hover {
	color: #f5c970;
	background: rgba(217, 164, 65, 0.12);
}

.site-info.footer-bottom-center {
	text-align: center;
	padding: 1rem 0 1.15rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #d9e7ef;
}

/*--------------------------------------------------------------
# Footer Showcase
--------------------------------------------------------------*/

.site-footer {
	position: relative;
	overflow: hidden;
	background: radial-gradient(circle at 10% 18%, rgba(217, 164, 65, 0.22), transparent 35%),
		radial-gradient(circle at 88% 80%, rgba(112, 149, 168, 0.2), transparent 36%),
		linear-gradient(150deg, #060b0f 0%, #0a1319 56%, #050a0d 100%);
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 64px 64px;
	opacity: 0.38;
	pointer-events: none;
}

.site-footer > * {
	position: relative;
	z-index: 1;
}

.footer-top {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 0.95fr;
	gap: 1rem;
	padding: 1.5rem 0 1rem;
}

.footer-brand-panel,
.footer-quick-nav,
.footer-contact-card {
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.03);
	padding: 1rem;
}

.footer-kicker {
	margin: 0;
	font-family: "Rajdhani", sans-serif;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: #f5c970;
}

.footer-brand-panel h2 {
	margin: 0.5rem 0;
	font-family: "Rajdhani", sans-serif;
	font-size: clamp(1.25rem, 3vw, 2rem);
	line-height: 1;
	text-transform: uppercase;
}

.footer-brand-panel p,
.footer-contact-card li,
.footer-quick-nav a {
	color: #c2d2db;
}

.footer-quick-nav h3,
.footer-contact-card h3 {
	margin: 0 0 0.5rem;
	font-family: "Rajdhani", sans-serif;
	text-transform: uppercase;
	font-size: 1.05rem;
}

.footer-quick-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.3rem;
}

.footer-quick-nav a {
	display: inline-block;
	padding: 0.25rem 0;
	text-decoration: none;
}

.footer-quick-nav a:hover {
	color: #f5c970;
}

.footer-contact-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}

.footer-contact-card strong {
	color: #f5c970;
}

.site-footer .footer-widgets {
	padding-top: 0.7rem;
	padding-bottom: 1rem;
}

.site-info.footer-bottom-center {
	margin-top: 0.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 980px) {
	.footer-top {
		grid-template-columns: 1fr;
	}
}

/*--------------------------------------------------------------
# Mobile Hamburger
--------------------------------------------------------------*/

.menu-toggle {
	position: relative;
	width: 46px;
	height: 40px;
	padding: 0;
	font-size: 0;
	line-height: 0;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 50%;
	width: 20px;
	height: 2px;
	background: #fff;
	transform: translateX(-50%);
	transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.menu-toggle__bars {
	top: 50%;
}

.menu-toggle__bars::before {
	top: -7px;
}

.menu-toggle__bars::after {
	top: 7px;
}

.main-navigation.toggled .menu-toggle__bars {
	background: transparent;
}

.main-navigation.toggled .menu-toggle__bars::before {
	top: 0;
	transform: translateX(-50%) rotate(45deg);
}

.main-navigation.toggled .menu-toggle__bars::after {
	top: 0;
	transform: translateX(-50%) rotate(-45deg);
}

.mg-home-machines {
	padding: clamp(52px, 7vw, 86px) 0;
	background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
}

.mg-home-machines__title {
	margin: 0 0 26px;
	font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

.mg-home-machines__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.mg-home-machine {
	background: #fff;
	border: 1px solid #dde5f0;
	border-radius: 18px;
	padding: 16px;
	box-shadow: 0 14px 34px rgba(10, 30, 63, 0.08);
}

.mg-home-machine img {
	display: block;
	width: 100%;
	border-radius: 12px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin-bottom: 12px;
}

.mg-home-machine h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
}

.mg-home-machine p {
	margin: 0;
	color: #445064;
}

.mg-home-quality {
	padding: clamp(56px, 8vw, 92px) 0;
	background: #fff;
}

.mg-home-quality__visual img {
	display: block;
	width: 100%;
	border-radius: 22px;
	box-shadow: 0 22px 44px rgba(9, 25, 52, 0.18);
}

.mg-home-references {
	padding: 34px 0 48px;
	background: #0d1b2f;
	color: #fff;
}

.mg-home-references .mg-kicker {
	color: #b9c8de;
}

.mg-home-references__row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.mg-home-references__row span {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	font-weight: 600;
	font-size: 0.9rem;
}

@media (max-width: 980px) {
	.mg-home-machines__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.mg-home-machines__grid {
		grid-template-columns: 1fr;
	}
}

/* Home Refresh: premium dark layout without white cards */
.mg-cinema h1 {
	font-size: clamp(2rem, 4.6vw, 3.3rem);
	line-height: 1.08;
	max-width: 15ch;
}

.mg-signature {
	background: radial-gradient(circle at 18% 20%, rgba(23, 90, 138, 0.22), transparent 40%), #0a1322;
	color: #edf3ff;
	padding: clamp(76px, 10vw, 128px) 0;
}

.mg-signature p {
	color: #c4d1e6;
}

.mg-signature .mg-kicker {
	color: #8eb9ff;
	letter-spacing: 0.12em;
}

.mg-signature h2 {
	font-size: clamp(1.8rem, 3.5vw, 3rem);
	line-height: 1.06;
	max-width: 12ch;
	margin: 0;
	color: #fff;
}

.mg-signature__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(24px, 4.5vw, 56px);
	align-items: start;
}

.mg-signature__right {
	position: relative;
	padding-left: clamp(14px, 2vw, 22px);
}

.mg-signature__right::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 2px;
	background: linear-gradient(180deg, #74b4ff 0%, rgba(116, 180, 255, 0.08) 100%);
}

.mg-signature__right p {
	margin: 0 0 14px;
	font-size: clamp(1rem, 1.35vw, 1.12rem);
	line-height: 1.72;
}

.mg-signature__right p:last-child {
	margin-bottom: 0;
}

.mg-home-machines {
	padding: clamp(64px, 8vw, 98px) 0;
	background: linear-gradient(180deg, #091224 0%, #0d1a31 55%, #0a1322 100%);
	color: #eef4ff;
}

.mg-home-machines .mg-kicker {
	color: #8eb9ff;
}

.mg-home-machines__title {
	margin: 0 0 34px;
	color: #fff;
}

.mg-home-machines__grid {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.mg-home-machine {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
	border: 1px solid rgba(146, 178, 228, 0.24);
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 18px 34px rgba(4, 12, 26, 0.42);
}

.mg-home-machine img {
	width: 100%;
	height: clamp(180px, 24vw, 280px);
	border-radius: 14px;
	object-fit: contain;
	background: transparent;
	padding: 0;
	border: 1px solid rgba(158, 183, 218, 0.32);
}

.mg-home-machine h3 {
	order: 1;
	color: #fff;
	font-size: 1.22rem;
	margin: 0;
}

.mg-home-machine .mg-home-machine__zoom {
	order: 2;
	width: 100%;
}

.mg-home-machine p {
	order: 3;
	margin: 0;
	color: #cfdbef;
}

.mg-home-quality {
	background: #0d172b;
	padding: clamp(72px, 10vw, 118px) 0;
}

.mg-home-quality .mg-showcase__copy h2,
.mg-home-quality .mg-showcase__copy p,
.mg-home-quality .mg-showcase__copy li {
	color: #eaf2ff;
}

.mg-home-quality .mg-showcase__copy .mg-kicker {
	color: #8eb9ff;
	letter-spacing: 0.11em;
}

.mg-home-quality .mg-showcase__copy h2 {
	font-size: clamp(1.8rem, 3.2vw, 2.8rem);
	line-height: 1.08;
	margin: 0 0 12px;
}

.mg-home-quality .mg-showcase__copy p {
	font-size: clamp(1rem, 1.3vw, 1.1rem);
	line-height: 1.72;
	max-width: 58ch;
}

.mg-home-quality .mg-showcase__copy ul {
	margin-top: 16px;
	display: grid;
	gap: 10px;
}

.mg-home-quality .mg-showcase__copy li {
	position: relative;
	padding-left: 18px;
}

.mg-home-quality .mg-showcase__copy li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #7fb3ff;
}

.mg-home-quality__visual img {
	object-fit: cover;
	background: #fff;
	min-height: 420px;
	border-radius: 18px;
	border: 1px solid rgba(158, 183, 218, 0.3);
}

.mg-home-quality .mg-showcase__grid {
	align-items: stretch;
	gap: clamp(22px, 3vw, 34px);
}

.mg-home-quality__visual {
	overflow: hidden;
	border-radius: 18px;
}

@media (max-width: 980px) {
	.mg-signature__grid {
		grid-template-columns: 1fr;
	}

	.mg-signature h2 {
		max-width: none;
	}

	.mg-home-quality__visual img {
		min-height: 0;
	}
}

/* Global premium motion */
.is-reveal {
	opacity: 1;
	transform: none;
}

.motion-ready .is-reveal {
	opacity: 0;
	transform: translate3d(0, 26px, 0) scale(0.99);
	transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}

.motion-ready .is-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Safety: never hide product catalog content */
.mg-products-page .is-reveal,
.mg-products-page .motion-ready .is-reveal,
.motion-ready .mg-products-page .is-reveal {
	opacity: 1 !important;
	transform: none !important;
}

/* Premium micro interactions */
.mg-btn {
	position: relative;
	overflow: hidden;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.mg-btn::after {
	content: "";
	position: absolute;
	inset: -120% auto auto -10%;
	width: 36%;
	height: 320%;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
	transform: rotate(18deg) translateX(-180%);
	transition: transform 0.75s ease;
	pointer-events: none;
}

.mg-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 28px rgba(0, 0, 0, 0.26);
}

.mg-btn:hover::after {
	transform: rotate(18deg) translateX(470%);
}

.mg-btn:active {
	transform: translateY(-1px) scale(0.985);
}

.mg-product-card,
.mg-home-machine,
.mg-innovation-grid figure {
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.mg-product-card:hover,
.mg-home-machine:hover,
.mg-innovation-grid figure:hover {
	transform: translateY(-6px);
}

/* Mobile-first hard fixes for products pages */
@media (max-width: 1024px) {
	.mg-products-page .mg-products-hero {
		padding: clamp(40px, 7vw, 64px) 0;
	}

	.mg-products-page .mg-products-hero h1 {
		font-size: clamp(1.7rem, 6.2vw, 2.3rem);
		line-height: 1.08;
	}

	.mg-products-page .mg-products-content {
		padding-inline: clamp(14px, 4vw, 22px);
	}

	.mg-products-page .mg-product-group__title {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.mg-products-page .mg-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 14px !important;
	}

	.mg-products-page .mg-product-card__media {
		aspect-ratio: 4 / 3;
	}

	.mg-products-page .mg-product-card__media img,
	.mg-products-page .mg-product-card__media picture {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	.mg-product-detail {
		padding-inline: clamp(14px, 4vw, 24px);
	}

	.mg-product-featured img,
	.mg-product-featured picture {
		width: 100%;
		height: auto;
	}
}

@media (max-width: 767px) {
	.mg-cinema {
		padding-top: max(82px, env(safe-area-inset-top));
	}

	.mg-cinema h1 {
		font-size: clamp(1.58rem, 8vw, 2.08rem);
		line-height: 1.12;
		max-width: none;
	}

	.mg-cinema .mg-sub {
		font-size: 0.96rem;
		line-height: 1.6;
	}

	.mg-signature,
	.mg-home-machines,
	.mg-home-quality,
	.mg-home-references,
	.mg-final {
		padding-top: clamp(44px, 9vw, 62px);
		padding-bottom: clamp(44px, 9vw, 62px);
	}

	.mg-home-machines__title,
	.mg-signature h2,
	.mg-home-quality .mg-showcase__copy h2,
	.mg-final h2 {
		font-size: clamp(1.34rem, 7vw, 1.95rem);
		line-height: 1.15;
	}

	.mg-home-machine {
		padding: 12px;
		border-radius: 14px;
	}

	.mg-home-machine img {
		padding: 6px;
		border-radius: 10px;
	}

	.mg-products-page .mg-products-grid {
		grid-template-columns: 1fr !important;
	}

	.mg-products-page .mg-product-card__body {
		padding: 14px 13px 15px !important;
	}

	.mg-products-page .mg-product-card__body h4 {
		font-size: 1rem;
		line-height: 1.3;
	}

	.mg-product-section h2 {
		font-size: 1.2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.is-reveal,
	.mg-btn,
	.mg-btn::after,
	.mg-product-card,
	.mg-home-machine,
	.mg-innovation-grid figure {
		transition: none !important;
		animation: none !important;
		transform: none !important;
	}

	.is-reveal {
		opacity: 1 !important;
	}
}

.mg-home-references {
	background: #070e1a;
	border-top: 1px solid rgba(153, 181, 226, 0.2);
}

@media (max-width: 980px) {
	.mg-home-machine img {
		max-height: none;
	}
}

.mg-home-machine__zoom {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.mg-home-machine__zoom img {
	display: block;
}

.mg-image-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 18px;
	background: rgba(2, 8, 20, 0.9);
}

.mg-image-lightbox.is-open {
	display: flex;
}

.mg-image-lightbox__inner {
	position: relative;
	max-width: min(1000px, 96vw);
	max-height: 92vh;
}

.mg-image-lightbox img {
	display: block;
	max-width: 100%;
	max-height: 92vh;
	border-radius: 12px;
	background: #fff;
}

.mg-image-lightbox__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #0a1322;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
	.mg-home-machine {
		gap: 10px;
	}

	.mg-home-machine h3 {
		order: 1;
		margin-bottom: 10px;
	}

	.mg-home-machine .mg-home-machine__zoom {
		order: 2;
		width: 100%;
		margin-bottom: 10px;
	}

	.mg-home-machine img {
		height: auto;
		max-height: 220px;
	}

	.mg-home-machine p {
		order: 3;
		margin: 0;
	}

	.mg-image-lightbox {
		padding: 12px;
	}

	.mg-image-lightbox__close {
		top: -8px;
		right: -8px;
	}
}
