/*
Theme Name: MF Technology — Hello Child
Description: Brand foundation for MF Technology's bilingual Elementor website.
Author: MF Technology Solutions
Version: 0.2.1
Template: hello-elementor
Text Domain: mf-hello-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Relative asset URLs remain valid when the staging site is migrated. */
@font-face {
  font-family: "MF Montserrat";
  src: url("assets/fonts/montserrat-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MF Montserrat";
  src: url("assets/fonts/montserrat-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MF Montserrat";
  src: url("assets/fonts/montserrat-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MF Montserrat";
  src: url("assets/fonts/montserrat-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --mf-navy: #0e1e35;
  --mf-blue: #5097ff;
  --mf-blue-text: #2872da;
  --mf-white: #ffffff;
  --mf-grey: #cecece;
  --mf-paper: #fafbf9;
  --mf-muted: #5b6574;
  --mf-border: #dce1e6;
  --mf-pale: #e9f1fc;
  --mf-font: "MF Montserrat", Montserrat, Arial, sans-serif;
}

body.mf-brand {
  background-color: var(--mf-paper);
  color: var(--mf-navy);
  font-family: var(--mf-font);
  line-height: 1.7;
}

.mf-brand .mf-page {
  font-family: var(--mf-font);
  color: var(--mf-navy);
}

.mf-brand .mf-heading .elementor-heading-title {
  font-family: var(--mf-font);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.mf-brand .mf-h1 .elementor-heading-title {
  font-size: clamp(40px, 5.1vw, 74px);
  font-weight: 800;
  line-height: 1.025;
  letter-spacing: -0.065em;
}

.mf-brand .mf-h2 .elementor-heading-title {
  font-size: clamp(28px, 3vw, 43px);
}

.mf-brand .mf-heading-accent .elementor-heading-title,
.mf-brand .mf-heading .mf-accent {
  color: var(--mf-blue-text);
}

.mf-brand .mf-intro,
.mf-brand .mf-intro p {
  color: var(--mf-muted);
  font-size: 14px;
  line-height: 1.85;
}

.mf-brand .mf-eyebrow,
.mf-brand .mf-eyebrow .elementor-heading-title {
  font-family: var(--mf-font);
  font-size: 10px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mf-brand .mf-section {
  padding-block: 95px;
}

.mf-brand .mf-bg-navy {
  background-color: var(--mf-navy);
  color: var(--mf-white);
}

.mf-brand .mf-bg-pale {
  background-color: var(--mf-pale);
}

.mf-brand .mf-card {
  background-color: var(--mf-white);
  border: 1px solid var(--mf-border);
  padding: 28px 24px;
}

.mf-brand .mf-button .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  gap: 24px;
  border: 1px solid var(--mf-navy);
  border-radius: 0;
  padding: 14px 24px;
  background-color: var(--mf-navy);
  color: var(--mf-white);
  font-family: var(--mf-font);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.mf-brand .mf-button .elementor-button:hover {
  background-color: #1c3659;
}

.mf-brand .mf-button .elementor-button:focus-visible,
.mf-brand .mf-page a:focus-visible,
.mf-brand .mf-page button:focus-visible {
  outline: 3px solid var(--mf-blue);
  outline-offset: 4px;
}

.mf-brand .mf-logo img {
  width: 154px;
  height: auto;
}

.mf-brand .mf-page section[id],
.mf-brand .mf-page div[id] {
  scroll-margin-top: 110px;
}

@media (max-width: 1024px) {
  .mf-brand .mf-section { padding-block: 70px; }
  .mf-brand .mf-h1 .elementor-heading-title { font-size: clamp(40px, 5.6vw, 62px); }
}

@media (max-width: 767px) {
  .mf-brand .mf-section { padding-block: 52px; }
  .mf-brand .mf-h1 .elementor-heading-title { font-size: clamp(37px, 10.6vw, 58px); }
  .mf-brand .mf-h2 .elementor-heading-title { font-size: 28px; }
  .mf-brand .mf-logo img { width: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  .mf-brand .mf-page { scroll-behavior: auto; }
}
