/* ==========================================================================
   MeduLock – fonts, design tokens, global resets
   Tokens come from the Figma file "Medulock Landing Page".
   Avenir (used in Figma) is not web-licensed, so Nunito Sans stands in for it.
   ========================================================================== */

@font-face { font-family: "Bai Jamjuree"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/BaiJamjuree-400.woff2") format("woff2"); }
@font-face { font-family: "Bai Jamjuree"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/BaiJamjuree-700.woff2") format("woff2"); }

@font-face { font-family: "Be Vietnam Pro"; font-weight: 100; font-style: normal; font-display: swap; src: url("../fonts/BeVietnamPro-100.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/BeVietnamPro-300.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 300; font-style: italic; font-display: swap; src: url("../fonts/BeVietnamPro-300i.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/BeVietnamPro-400.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/BeVietnamPro-500.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/BeVietnamPro-700.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/BeVietnamPro-800.woff2") format("woff2"); }

@font-face { font-family: "Nunito Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/NunitoSans-300.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/NunitoSans-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/NunitoSans-800.woff2") format("woff2"); }

@font-face { font-family: "Be Vietnam Pro"; font-weight: 200; font-style: normal; font-display: swap; src: url("../fonts/BeVietnamPro-200.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 200; font-style: italic; font-display: swap; src: url("../fonts/BeVietnamPro-200i.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/BeVietnamPro-600.woff2") format("woff2"); }

@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/Inter-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/Inter-900.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Poppins-400.woff2") format("woff2"); }

:root {
	/* Colors */
	--ml-bg: #141026;
	--ml-cream: #ebdfd3;
	--ml-lilac: #d09bff;
	--ml-violet: #842dff;
	--ml-blue: #192bd1;
	--ml-blue-fill: rgba(25, 43, 209, 0.59);
	--ml-white: #ffffff;

	/* Type */
	--ml-font-display: "Bai Jamjuree", sans-serif;
	--ml-font-body: "Be Vietnam Pro", sans-serif;
	--ml-font-ui: "Nunito Sans", "Avenir Next", Avenir, sans-serif;
	--ml-font-big: "Inter", "Helvetica Neue", Arial, sans-serif; /* stands in for Figma "Delight" */

	/* Layout (Figma canvas is 1440 wide, content 100px in from each side) */
	--ml-canvas: 1440px;
}

body.elementor-template-canvas,
body.page-template-elementor_canvas {
	background: var(--ml-bg);
	color: var(--ml-cream);
	font-family: var(--ml-font-body);
	overflow-x: hidden;
}

/* ==========================================================================
   Shared layout: every section is a fixed-height 1440px stage whose children
   are positioned from Figma coordinates (see layout.css, generated).
   ========================================================================== */

.ml-section.e-con {
	--gap: 0px;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	position: relative;
	overflow: hidden;
}

.ml-stage.e-con {
	--gap: 0px;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	position: relative;
	display: block;
	width: 100%;
	max-width: var(--ml-canvas);
	margin: 0 auto;
}

.ml-stage > .elementor-widget,
.ml-stage > .e-con,
.ml-card > .elementor-widget,
.ml-contact-card > .elementor-widget {
	position: absolute;
	margin: 0;
	width: auto;
}

.ml-section .elementor-widget-container { margin: 0; padding: 0; }
.ml-section .elementor-widget-image a { display: block; width: 100%; height: 100%; }
.ml-section.e-con .elementor-widget-image img,
.ml-section.e-con .elementor-widget-image a img[src$=".svg"] { display: block; width: 100%; height: 100%; max-width: none; }
.ml-section .elementor-heading-title,
.ml-section .elementor-widget-text-editor p { margin: 0; }

/* Eyebrow + section label pairs */
.ml-eyebrow p {
	white-space: nowrap;
	font: 400 24px/1.43 var(--ml-font-body);
	letter-spacing: 1.65px;
	text-transform: uppercase;
	color: var(--ml-lilac);
}
.ml-section .ml-label .elementor-heading-title {
	white-space: nowrap;
	font: 400 32px/1.3 var(--ml-font-display);
	text-transform: uppercase;
	color: var(--ml-cream);
}
.ml-section .ml-about-label .elementor-heading-title,
.ml-section .ml-services-label .elementor-heading-title,
.ml-section .ml-clientele-label .elementor-heading-title { text-align: right; }
.ml-section .ml-contact-eyebrow p,
.ml-section .ml-contact-label .elementor-heading-title { text-align: center; }

/* Small outlined violet button ("Learn more", "Contact form") */
.ml-btn-sm .elementor-widget-container,
.ml-btn-sm .elementor-button-wrapper { height: 100%; }
.ml-btn-sm .elementor-button {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 15px 20px;
	border: 1px solid var(--ml-violet);
	border-radius: 10px;
	background: radial-gradient(51% 98% at 50% 2.5%, #842dff 0%, rgba(79, 44, 232, 0.5) 50%, rgba(25, 43, 209, 0) 100%);
	font: 400 16px/1.3 var(--ml-font-ui);
	text-transform: uppercase;
	color: var(--ml-white);
}
.ml-btn-sm .elementor-button:hover { color: var(--ml-white); filter: brightness(1.2); }

/* Figma's "Be Vietnam" sits ~3px lower in its line box than Google's "Be Vietnam Pro" */
.ml-eyebrow p,
.ml-about .ml-about-h2 .elementor-heading-title,
.ml-about .ml-about-sub p,
.ml-about .ml-about-t p,
.ml-services .ml-card__title .elementor-heading-title,
.ml-services .ml-card3__copy p,
.ml-services .ml-card3__name .elementor-heading-title,
.ml-clientele .ml-cli-text p,
.ml-clientele .ml-cli-h3 .elementor-heading-title {
	position: relative;
	top: 3px;
}
