/*
Theme Name: MAG Security
Theme URI: https://magsecurityservices.my/
Author: MAG Security Services
Author URI: https://magsecurityservices.my/
Description: Modern dark-and-gold corporate security theme for MAG Security Services. Ships the full home page (hero, about, services, technology, trust, news, contact), a template for every page, and matching styles for the bundled Elementor home template.
Version: 1.0.5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mag-security
Tags: business, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ------------------------------------------------------------------
   1. Tokens
------------------------------------------------------------------ */
:root {
  --mag-night: #0a0f1b;
  --mag-night-2: #0d1424;
  --mag-panel: #111a2e;
  --mag-ink: #0e1526;
  --mag-mist: #f2f3f6;
  --mag-text: #e7eaf1;
  --mag-muted: #94a0b5;
  --mag-muted-2: #6b7689;
  --mag-line: rgba(255, 255, 255, 0.09);
  --mag-fill: rgba(255, 255, 255, 0.035);
  --mag-fill-hover: rgba(255, 255, 255, 0.055);
  --mag-gold-100: #f8eeda;
  --mag-gold-300: #e9cb92;
  --mag-gold-400: #ddb66b;
  --mag-gold-500: #cfa04a;
  --mag-gold-600: #b8862f;
  --mag-gold-700: #8f6522;
  --mag-slate-body: #5b6577;
  --mag-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 32px -24px rgba(15, 23, 42, 0.28);
  --mag-shadow-card-hover: 0 1px 2px rgba(15, 23, 42, 0.05),
    0 24px 48px -28px rgba(15, 23, 42, 0.38);
  --mag-radius: 16px;
  --mag-radius-lg: 24px;
}

/* ------------------------------------------------------------------
   2. Base
------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--mag-night);
  color: var(--mag-text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
section[id],
.mag-hero[id],
.mag-section[id],
.mag-tech[id],
.mag-contact[id] {
  scroll-margin-top: 76px;
}
::selection {
  background: rgba(207, 160, 74, 0.28);
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  word-wrap: normal !important;
}

/* ------------------------------------------------------------------
   3. Layout & typography helpers
------------------------------------------------------------------ */
.mag-wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.mag-section {
  padding: 84px 0;
  position: relative;
}
.mag-section--dark {
  background: var(--mag-night);
}
.mag-section--dark-2 {
  position: relative;
  background: var(--mag-night-2);
}
/* Square technical grid, strongest at the top of the section and fading out
   towards the bottom (About MAG, Trust credentials). */
.mag-section--dark-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0) 95%
  );
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0) 95%);
  pointer-events: none;
}
.mag-section--light {
  background: var(--mag-mist);
  color: var(--mag-ink);
}
.mag-center {
  text-align: center;
}
.mag-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mag-gold-500);
}
.mag-section--light .mag-eyebrow {
  color: var(--mag-gold-600);
}
.mag-h1 {
  margin: 24px 0 0;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.mag-h1 .mag-gold,
.mag-h1 .elementor-heading-title .mag-gold {
  display: block;
  color: var(--mag-gold-400);
}
.mag-h2 {
  margin: 16px 0 0;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}
.mag-section--light .mag-h2,
.mag-section--light .mag-h2 .elementor-heading-title {
  color: var(--mag-ink);
}
.mag-h2 .mag-br {
  display: block;
}
.mag-lead {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mag-muted);
}
.mag-sub {
  margin: 16px auto 0;
  max-width: 620px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mag-muted);
}
.mag-section--light .mag-lead,
.mag-section--light .mag-sub {
  color: var(--mag-slate-body);
}
.mag-gap {
  margin-top: 48px;
}

/* ------------------------------------------------------------------
   4. Buttons & links
------------------------------------------------------------------ */
.mag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: filter 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}
.mag-btn svg {
  width: 15px;
  height: 15px;
}
.mag-btn--gold {
  background: linear-gradient(90deg, var(--mag-gold-600), var(--mag-gold-400));
  color: #171105;
  box-shadow: 0 10px 24px -14px rgba(143, 101, 34, 0.9);
}
.mag-btn--gold:hover {
  filter: brightness(1.1);
}
.mag-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f4f9;
}
.mag-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}
.mag-btn--sm {
  height: 36px;
  padding: 0 17px;
  font-size: 12.5px;
}
.mag-btn--block {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  font-size: 14px;
}
.mag-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mag-gold-600);
  transition: gap 0.2s ease, color 0.2s ease;
}
.mag-link:hover {
  gap: 10px;
  color: var(--mag-gold-700);
}
.mag-link svg {
  width: 14px;
  height: 14px;
}

/* ------------------------------------------------------------------
   5. Header
------------------------------------------------------------------ */
.mag-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 15, 27, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mag-line);
}
.mag-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.mag-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.mag-logo__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(207, 160, 74, 0.32);
  background: rgba(207, 160, 74, 0.14);
  color: var(--mag-gold-400);
}
.mag-logo__mark svg {
  width: 16px;
  height: 16px;
}
.mag-logo__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.mag-logo__sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--mag-gold-500);
}
.mag-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.mag-nav a,
.mag-nav .menu-item > a {
  font-size: 13px;
  font-weight: 500;
  color: #cbd3e1;
  transition: color 0.2s ease;
}
.mag-nav a:hover {
  color: var(--mag-gold-300);
}
.mag-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mag-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mag-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #cbd3e1;
  transition: color 0.2s ease;
}
.mag-phone:hover {
  color: #fff;
}
.mag-phone svg {
  width: 14px;
  height: 14px;
  color: var(--mag-gold-500);
}
.mag-burger {
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--mag-line);
  background: transparent;
  color: #e7eaf1;
  cursor: pointer;
}
.mag-burger svg {
  width: 16px;
  height: 16px;
}
.mag-mobile-nav {
  display: none;
  border-top: 1px solid var(--mag-line);
  background: rgba(10, 15, 27, 0.97);
  padding: 16px 24px 20px;
}
.mag-mobile-nav.is-open {
  display: block;
}
.mag-mobile-nav a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 500;
  color: #cbd3e1;
}
.mag-mobile-nav a:hover {
  color: var(--mag-gold-300);
}
/* Assigned WP menu rendered inside the drawer keeps the same flat look. */
.mag-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mag-mobile-nav li {
  list-style: none;
}

/* ------------------------------------------------------------------
   6. Hero
------------------------------------------------------------------ */
.mag-hero {
  position: relative;
  overflow: hidden;
  background: var(--mag-night);
  padding: 72px 0 88px;
}
.mag-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}
.mag-hero::after {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  width: 820px;
  height: 420px;
  transform: translateX(-50%);
  background: rgba(143, 101, 34, 0.16);
  filter: blur(120px);
  pointer-events: none;
}
.mag-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: start;
}
.mag-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(207, 160, 74, 0.28);
  background: rgba(207, 160, 74, 0.1);
  font-size: 11px;
}
.mag-hero__badge svg {
  width: 14px;
  height: 14px;
  color: var(--mag-gold-400);
  flex-shrink: 0;
}
.mag-hero__badge b {
  font-weight: 600;
  color: var(--mag-gold-300);
}
.mag-hero__badge span {
  color: var(--mag-muted);
}
.mag-hero__badge i {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
  font-style: normal;
}
.mag-hero__lead {
  margin-top: 22px;
}
.mag-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.mag-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--mag-line);
}
.mag-stat__value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.mag-stat__value.is-gold {
  color: var(--mag-gold-400);
}
.mag-stat__label {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--mag-muted-2);
}

/* media card */
.mag-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.8);
}
.mag-hero__media-art {
  width: 100%;
  height: auto;
}
.mag-hero__media-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 56px 20px 20px;
  background: linear-gradient(
    to top,
    var(--mag-night) 12%,
    rgba(10, 15, 27, 0.72) 58%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.mag-hero__media-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mag-gold-500);
}
.mag-hero__media-title {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.mag-hero__media-text {
  font-size: 11.5px;
  color: var(--mag-muted);
}

/* hero slider (Smart Slider 3 shortcode inside the media card) */
.mag-hero__media .elementor-shortcode,
.mag-hero__media .n2-section-smartslider {
  margin: 0;
}
.mag-hero__media-overlay {
  z-index: 5;
}

/* operations overview */
.mag-ops {
  margin-top: 16px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--mag-line);
  background: var(--mag-fill);
  backdrop-filter: blur(8px);
}
.mag-ops__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mag-ops__title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mag-muted);
}
.mag-ops__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--mag-line);
  background: rgba(255, 255, 255, 0.05);
  font-size: 10.5px;
  font-weight: 500;
  color: #cbd3e1;
}
.mag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  display: inline-block;
}
.mag-ops__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.mag-ops__tile {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--mag-line);
  background: rgba(255, 255, 255, 0.045);
}
.mag-ops__num {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
}
.mag-ops__label {
  font-size: 11px;
  color: var(--mag-muted-2);
}
.mag-progress {
  margin-top: 16px;
}
.mag-progress__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
}
.mag-progress__row span:first-child {
  font-weight: 500;
  color: #cbd3e1;
}
.mag-progress__row span:last-child {
  font-weight: 600;
  color: var(--mag-gold-400);
}
.mag-progress__track {
  margin-top: 8px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.mag-progress__bar {
  display: block;
  height: 100%;
  width: 98.6%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mag-gold-600), var(--mag-gold-400));
}
.mag-ops__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.mag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid var(--mag-line);
  background: rgba(255, 255, 255, 0.045);
  font-size: 10.5px;
  color: var(--mag-muted);
}
.mag-chip__check {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.16);
  color: #34d399;
  font-size: 9px;
  line-height: 1;
}

/* ------------------------------------------------------------------
   7. Icon tiles, checklists, shared cards
------------------------------------------------------------------ */
.mag-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(207, 160, 74, 0.26);
  background: rgba(207, 160, 74, 0.1);
  color: var(--mag-gold-400);
  flex-shrink: 0;
}
.mag-ico svg {
  width: 17px;
  height: 17px;
}
.mag-ico--sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.mag-ico--sm svg {
  width: 13px;
  height: 13px;
}
.mag-ico--lg {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.mag-ico--lg svg {
  width: 19px;
  height: 19px;
}
.mag-ico--light {
  border-color: #dde2ea;
  background: #f1f3f6;
  color: var(--mag-ink);
}
.mag-ico--round {
  border-radius: 50%;
}
.mag-checklist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.mag-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #cbd3e1;
}
.mag-section--light .mag-checklist li {
  color: #3d4657;
}
.mag-check {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(207, 160, 74, 0.34);
  background: rgba(207, 160, 74, 0.1);
  flex-shrink: 0;
  margin-top: 1px;
}
.mag-check::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 3.5px;
  width: 4px;
  height: 8px;
  border: solid var(--mag-gold-400);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.mag-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ------------------------------------------------------------------
   8. About
------------------------------------------------------------------ */
.mag-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mag-value {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--mag-line);
  background: var(--mag-fill);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.mag-value:hover {
  border-color: rgba(207, 160, 74, 0.32);
  background: var(--mag-fill-hover);
}
.mag-value--wide {
  grid-column: span 2;
}
.mag-value h3 {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.mag-value p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mag-muted);
}

/* ------------------------------------------------------------------
   9. Services
------------------------------------------------------------------ */
.mag-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.mag-card {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #e3e7ee;
  background: #fff;
  box-shadow: var(--mag-shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mag-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mag-shadow-card-hover);
}
.mag-card__badge {
  position: absolute;
  top: -12px;
  left: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mag-ink);
  color: var(--mag-gold-500);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mag-card h3 {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--mag-ink);
}
.mag-card p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mag-slate-body);
}
.mag-card .mag-link {
  margin-top: 16px;
}

/* ------------------------------------------------------------------
   10. Technology
------------------------------------------------------------------ */
.mag-tech {
  position: relative;
  overflow: hidden;
  background: var(--mag-night);
}
.mag-tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 100%);
  pointer-events: none;
}
.mag-tech > .mag-wrap {
  position: relative;
  z-index: 1;
}
.mag-tech__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.mag-tech-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--mag-line);
  background: var(--mag-fill);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.mag-tech-card:hover {
  border-color: rgba(207, 160, 74, 0.32);
  background: var(--mag-fill-hover);
}
.mag-tech-card h3 {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.mag-tech-card p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mag-muted);
}
.mag-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(207, 160, 74, 0.24);
  background: linear-gradient(90deg, rgba(207, 160, 74, 0.07), rgba(255, 255, 255, 0.02));
}
.mag-banner__body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.mag-banner__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.mag-banner__title svg {
  width: 16px;
  height: 16px;
  color: var(--mag-gold-400);
}
.mag-banner__text {
  margin: 6px 0 0;
  max-width: 640px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mag-muted);
}

/* ------------------------------------------------------------------
   11. Trust
------------------------------------------------------------------ */
.mag-trust-panel {
  padding: 44px;
  border-radius: var(--mag-radius-lg);
  border: 1px solid var(--mag-line);
  background: rgba(255, 255, 255, 0.02);
}
.mag-coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mag-cover {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--mag-line);
  background: var(--mag-fill);
  transition: border-color 0.25s ease;
}
.mag-cover:hover {
  border-color: rgba(207, 160, 74, 0.32);
}
.mag-cover__amount {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--mag-gold-400);
  line-height: 1.25;
}
.mag-cover__label {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--mag-muted);
}

/* ------------------------------------------------------------------
   12. News
------------------------------------------------------------------ */
.mag-news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.mag-news__note {
  max-width: 320px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mag-slate-body);
  text-align: right;
}
.mag-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.mag-post {
  display: block;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #e3e7ee;
  background: #fff;
  box-shadow: var(--mag-shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mag-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--mag-shadow-card-hover);
}
.mag-post__date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mag-slate-body);
}
.mag-post__date svg {
  width: 14px;
  height: 14px;
  color: var(--mag-gold-600);
}
.mag-post h3 {
  margin: 12px 0 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--mag-ink);
}
.mag-post .mag-link {
  margin-top: 20px;
}

/* ------------------------------------------------------------------
   13. Contact
------------------------------------------------------------------ */
.mag-contact {
  position: relative;
  overflow: hidden;
  background: var(--mag-night);
}
.mag-contact::after {
  content: "";
  position: absolute;
  top: -130px;
  right: -80px;
  width: 620px;
  height: 380px;
  background: rgba(143, 101, 34, 0.18);
  filter: blur(130px);
  pointer-events: none;
}
.mag-contact > .mag-wrap {
  position: relative;
  z-index: 1;
}
.mag-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--mag-line);
  background: var(--mag-fill);
  transition: border-color 0.25s ease, background 0.25s ease;
}
a.mag-info:hover {
  border-color: rgba(207, 160, 74, 0.32);
  background: var(--mag-fill-hover);
}
.mag-info + .mag-info,
.mag-info-pair {
  margin-top: 16px;
}
.mag-info__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mag-muted-2);
}
.mag-info__value {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.mag-info-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mag-info--stack {
  display: block;
}
.mag-info--stack .mag-ico {
  margin-bottom: 12px;
}
.mag-info--stack .mag-info__value {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
  color: #cbd3e1;
}
.mag-form-card {
  padding: 30px;
  border-radius: var(--mag-radius-lg);
  background: #fff;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.75);
  color: var(--mag-ink);
}
.mag-form-card h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--mag-ink);
}
.mag-form-card__sub {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mag-slate-body);
}
.mag-form {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mag-field--full {
  grid-column: span 2;
}
.mag-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--mag-ink);
}
.mag-field input,
.mag-field select,
.mag-field textarea {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #dde2ea;
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--mag-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mag-field textarea {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}
.mag-field input:focus,
.mag-field select:focus,
.mag-field textarea:focus {
  outline: none;
  border-color: var(--mag-gold-500);
  box-shadow: 0 0 0 3px rgba(207, 160, 74, 0.22);
}
.mag-field input::placeholder,
.mag-field textarea::placeholder {
  color: #98a1b3;
}
.mag-form__submit {
  grid-column: span 2;
}
.mag-form__note {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: -4px 0 0;
  font-size: 11.5px;
  color: #8b93a5;
}
.mag-form__note svg {
  width: 12px;
  height: 12px;
}
.mag-form__success {
  display: grid;
  place-items: center;
  padding: 56px 12px;
  text-align: center;
}
.mag-form__success-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(207, 160, 74, 0.15);
  color: var(--mag-gold-600);
  font-size: 24px;
}
.mag-form__success h3 {
  margin: 20px 0 0;
  font-size: 20px;
  color: var(--mag-ink);
}
.mag-form__success p {
  margin: 8px auto 0;
  max-width: 340px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mag-slate-body);
}

/* ------------------------------------------------------------------
   14. Footer
------------------------------------------------------------------ */
.mag-footer {
  background: var(--mag-night);
  border-top: 1px solid var(--mag-line);
}
.mag-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  padding: 56px 0;
}
.mag-footer__desc {
  margin: 16px 0 0;
  max-width: 360px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mag-muted-2);
}
.mag-footer__contact {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--mag-muted);
}
.mag-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mag-footer__contact svg {
  width: 14px;
  height: 14px;
  color: var(--mag-gold-500);
  flex-shrink: 0;
  margin-top: 4px;
}
.mag-footer__contact a:hover {
  color: var(--mag-gold-300);
}
.mag-footer__title {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mag-gold-500);
}
.mag-footer__links {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.mag-footer__links a {
  font-size: 13px;
  color: var(--mag-muted);
  transition: color 0.2s ease;
}
.mag-footer__links a:hover {
  color: var(--mag-gold-300);
}
.mag-status {
  margin-top: 24px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--mag-line);
  background: var(--mag-fill);
}
.mag-status__label {
  font-size: 11px;
  color: var(--mag-muted-2);
}
.mag-status__value {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}
.mag-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--mag-line);
  font-size: 11.5px;
  color: var(--mag-muted-2);
}
.mag-footer__bottom p {
  margin: 0;
}

/* ------------------------------------------------------------------
   15. Inner pages / WP loops
------------------------------------------------------------------ */
.mag-page-hero {
  position: relative;
  overflow: hidden;
  background: var(--mag-night);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--mag-line);
}
.mag-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 20%, transparent 100%);
}
.mag-page-hero > .mag-wrap {
  position: relative;
  z-index: 1;
}
.mag-page-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(32px, 4.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.mag-page-hero p {
  margin: 14px 0 0;
  max-width: 620px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mag-muted);
}
.mag-content {
  background: var(--mag-mist);
  color: var(--mag-ink);
  padding: 72px 0;
}
.mag-content .entry-content {
  max-width: 760px;
}
.mag-content .entry-content h2,
.mag-content .entry-content h3 {
  color: var(--mag-ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.mag-content .entry-content h2 {
  font-size: 26px;
  margin: 34px 0 12px;
}
.mag-content .entry-content h3 {
  font-size: 19px;
  margin: 28px 0 10px;
}
.mag-content .entry-content p,
.mag-content .entry-content li {
  font-size: 15px;
  line-height: 1.75;
  color: #48526a;
}
.mag-content .entry-content a {
  color: var(--mag-gold-700);
  text-decoration: underline;
}
.mag-entry {
  padding: 56px 0;
  background: var(--mag-mist);
  color: var(--mag-ink);
}
.mag-entry__meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mag-gold-600);
}
.mag-entry h1 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--mag-ink);
}
.mag-entry .entry-content {
  max-width: 760px;
  margin-top: 24px;
}
.mag-entry .entry-content p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #48526a;
}
.mag-entry .entry-content h2,
.mag-entry .entry-content h3 {
  color: var(--mag-ink);
  margin-top: 30px;
}
.mag-entry .entry-content a {
  color: var(--mag-gold-700);
  text-decoration: underline;
}
.mag-loop {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.mag-loop-card {
  display: block;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #e3e7ee;
  background: #fff;
  box-shadow: var(--mag-shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mag-loop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--mag-shadow-card-hover);
}
.mag-loop-card h2 {
  margin: 10px 0 0;
  font-size: 19px;
  color: var(--mag-ink);
  line-height: 1.35;
}
.mag-loop-card h2 a:hover {
  color: var(--mag-gold-700);
}
.mag-loop-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mag-slate-body);
}
.mag-pagination {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  font-size: 13px;
}
.mag-pagination a,
.mag-pagination span {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid #dde2ea;
  background: #fff;
  color: var(--mag-ink);
  font-weight: 500;
}
.mag-empty {
  padding: 40px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e3e7ee;
  color: var(--mag-slate-body);
  font-size: 14.5px;
}
.mag-404 {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}
.mag-404 h1 {
  font-size: 64px;
  margin: 0;
  color: var(--mag-gold-400);
}
.mag-404 p {
  color: var(--mag-muted);
  margin: 12px 0 24px;
}

/* ------------------------------------------------------------------
   16. Elementor compatibility
------------------------------------------------------------------ */
.mag-el-page .elementor-widget {
  margin: 0 !important;
  padding: 0 !important;
  width: auto;
}
.mag-el-page .elementor-widget-container {
  margin: 0;
}
.mag-el-page .elementor-heading-title {
  margin: 0;
  font-family: inherit;
}
.mag-el-page .mag-h1 .elementor-heading-title {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.mag-el-page .mag-h1 .elementor-heading-title .mag-gold {
  display: block;
  color: var(--mag-gold-400);
}
.mag-el-page .mag-h2 .elementor-heading-title {
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}
.mag-el-page .mag-section--light .mag-h2 .elementor-heading-title,
.mag-el-page .mag-h2.is-dark .elementor-heading-title {
  color: var(--mag-ink);
}
.mag-el-page .mag-h3 .elementor-heading-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.mag-el-page .elementor-widget-text-editor p {
  margin: 0;
}
.mag-el-page .elementor-widget-text-editor + .elementor-widget-text-editor {
  margin-top: 14px;
}
.mag-el-page .elementor-widget-button .elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  transition: filter 0.2s ease, background 0.2s ease;
}
.mag-el-page .mag-btn--gold .elementor-button {
  background: linear-gradient(90deg, var(--mag-gold-600), var(--mag-gold-400));
  color: #171105;
  box-shadow: 0 10px 24px -14px rgba(143, 101, 34, 0.9);
}
.mag-el-page .mag-btn--gold .elementor-button:hover {
  filter: brightness(1.1);
}
.mag-el-page .mag-btn--ghost .elementor-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f4f9;
}
.mag-el-page .mag-btn--sm .elementor-button {
  height: 36px;
  padding: 0 17px;
  font-size: 12.5px;
}
.mag-el-page .mag-btn--block .elementor-button {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  font-size: 14px;
}
.mag-el-page .elementor-icon-box-wrapper {
  gap: 0;
}
.mag-el-page .elementor-icon-box-icon {
  margin-bottom: 16px;
}
.mag-el-page .elementor-icon {
  color: var(--mag-gold-400);
}
.mag-el-page .elementor-icon-box-title {
  margin: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0;
}
.mag-el-page .mag-section--light .elementor-icon-box-title,
.mag-el-page .mag-card .elementor-icon-box-title {
  color: var(--mag-ink);
}
.mag-el-page .mag-section--light .elementor-icon {
  color: var(--mag-gold-600);
}
.mag-el-page .elementor-icon-box-description {
  margin-top: 8px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mag-muted);
}
.mag-el-page .mag-section--light .elementor-icon-box-description {
  color: var(--mag-slate-body);
}
.mag-el-page .elementor-widget-icon-box .elementor-icon-box-wrapper {
  display: block;
}
.mag-el-page .mag-card .elementor-icon-box-wrapper .elementor-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid #dde2ea;
  background: #f1f3f6;
  font-size: 18px;
}

/* ------------------------------------------------------------------
   16b. Elementor layout parity
   Elementor generates its own container/widget CSS at higher
   specificity, so the design rules are re-asserted with !important
   inside the Elementor build only.
------------------------------------------------------------------ */
/* Widgets keep no default spacing; intentional margins are re-added below. */
.mag-el-page .elementor-widget {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}
.mag-el-page .elementor-widget-container {
  margin: 0 !important;
}
.mag-el-page .elementor-heading-title,
.mag-el-page .elementor-widget-text-editor p,
.mag-el-page .elementor-icon-box-title,
.mag-el-page .elementor-icon-box-description {
  margin: 0 !important;
}

/* Sections */
.mag-el-page .mag-hero {
  padding: 72px 0 88px !important;
  background: var(--mag-night) !important;
}
.mag-el-page .mag-section {
  padding: 84px 0 !important;
  position: relative !important;
}
.mag-el-page .mag-section--light {
  background: var(--mag-mist) !important;
}
.mag-el-page .mag-section--dark-2 {
  background: var(--mag-night-2) !important;
}
.mag-el-page .mag-tech,
.mag-el-page .mag-contact {
  background: var(--mag-night) !important;
}

/* Container width and centering in Elementor */
.mag-el-page .mag-hero > .e-con,
.mag-el-page .mag-section > .e-con,
.mag-el-page .mag-hero__grid,
.mag-el-page .mag-grid-2,
.mag-el-page .mag-cards,
.mag-el-page .mag-tech__grid,
.mag-el-page .mag-trust-panel,
.mag-el-page .mag-news__head,
.mag-el-page .mag-news__grid,
.mag-el-page .mag-center,
.mag-el-page .mag-values,
.mag-el-page .mag-coverage {
  max-width: 1140px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

body.mag-el-page,
.elementor-editor-active body,
.mag-el-page {
  background-color: var(--mag-night) !important;
}

/* Layout blocks */
.mag-el-page .mag-hero__grid {
  display: grid !important;
  grid-template-columns: 1.02fr 0.98fr !important;
  gap: 56px !important;
  align-items: start !important;
  position: relative !important;
  z-index: 1 !important;
}
.mag-el-page .mag-grid-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 56px !important;
  align-items: center !important;
}
.mag-el-page .mag-hero__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 30px !important;
}
.mag-el-page .mag-stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  margin: 42px 0 0 !important;
  padding-top: 28px !important;
  border-top: 1px solid var(--mag-line) !important;
}
.mag-el-page .mag-values,
.mag-el-page .mag-coverage {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}
.mag-el-page .mag-cards,
.mag-el-page .mag-tech__grid,
.mag-el-page .mag-news__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}
.mag-el-page .mag-cards {
  margin-top: 48px !important;
}
.mag-el-page .mag-tech__grid {
  margin-top: 48px !important;
}
.mag-el-page .mag-news__grid {
  margin-top: 40px !important;
}
.mag-el-page .mag-news__head {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px !important;
}
.mag-el-page .mag-trust-panel {
  padding: 44px !important;
  display: block !important;
}
.mag-el-page .mag-center {
  text-align: center !important;
}
.mag-el-page .mag-value--wide {
  grid-column: span 2 !important;
}

/* Intentional widget margins (declared after the reset above on purpose) */
.mag-el-page .mag-h1 { margin: 24px 0 0 !important; }
.mag-el-page .mag-h2 { margin: 16px 0 0 !important; }
.mag-el-page .mag-lead { margin: 18px 0 0 !important; max-width: 560px !important; }
.mag-el-page .mag-sub { margin: 16px auto 0 !important; max-width: 620px !important; }
.mag-el-page .mag-hero__lead { margin-top: 22px !important; }
.mag-el-page .mag-ops { margin-top: 16px !important; }
.mag-el-page .mag-checklist { margin-top: 28px !important; }
.mag-el-page .mag-banner { margin-top: 24px !important; }
.mag-el-page .mag-card .mag-link,
.mag-el-page .mag-post .mag-link,
.mag-el-page .mag-tech-card .mag-link { margin-top: 16px !important; }
.mag-el-page .mag-post__title { margin: 12px 0 0 !important; }
.mag-el-page .mag-form-card { margin-top: 0 !important; }

/* Cards keep their look regardless of Elementor defaults */
.mag-el-page .mag-card,
.mag-el-page .mag-post,
.mag-el-page .mag-value,
.mag-el-page .mag-tech-card,
.mag-el-page .mag-cover {
  padding: 24px !important;
  position: relative !important;
}
.mag-el-page .mag-value,
.mag-el-page .mag-cover { padding: 20px !important; }

/* Responsive parity */
@media (max-width: 1024px) {
  .mag-el-page .mag-hero__grid,
  .mag-el-page .mag-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 44px !important;
  }
  .mag-el-page .mag-cards,
  .mag-el-page .mag-tech__grid,
  .mag-el-page .mag-news__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 760px) {
  .mag-el-page .mag-section { padding: 64px 0 !important; }
  .mag-el-page .mag-hero { padding: 52px 0 64px !important; }
  .mag-el-page .mag-stats { grid-template-columns: 1fr 1fr !important; gap: 18px !important; }
  .mag-el-page .mag-cards,
  .mag-el-page .mag-tech__grid,
  .mag-el-page .mag-news__grid,
  .mag-el-page .mag-values,
  .mag-el-page .mag-coverage {
    grid-template-columns: 1fr !important;
  }
  .mag-el-page .mag-value--wide { grid-column: auto !important; }
  .mag-el-page .mag-news__head { flex-direction: column !important; align-items: flex-start !important; }
  .mag-el-page .mag-trust-panel { padding: 26px !important; }
}

/* ------------------------------------------------------------------
   18. Elementor hard overrides (typography, buttons, icon boxes)
   These must win over Elementor kit/global styles.
------------------------------------------------------------------ */
.mag-el-page .mag-h1 .elementor-heading-title {
  font-size: clamp(38px, 5vw, 56px) !important;
  line-height: 1.04 !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}
.mag-el-page .mag-h1 .elementor-heading-title .mag-gold {
  display: block !important;
  color: var(--mag-gold-400) !important;
}
.mag-el-page .mag-h2 .elementor-heading-title {
  font-size: clamp(26px, 3.4vw, 34px) !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  color: #fff !important;
}
.mag-el-page .mag-section--light .mag-h2 .elementor-heading-title {
  color: var(--mag-ink) !important;
}
.mag-el-page .mag-post__title .elementor-heading-title {
  font-size: 15.5px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: var(--mag-ink) !important;
}

.mag-el-page .elementor-widget-button .elementor-button {
  font-family: inherit !important;
}
.mag-el-page .mag-btn--gold .elementor-button {
  background: linear-gradient(90deg, var(--mag-gold-600), var(--mag-gold-400)) !important;
  background-image: linear-gradient(90deg, var(--mag-gold-600), var(--mag-gold-400)) !important;
  color: #171105 !important;
  border: 0 !important;
  border-radius: 999px !important;
  height: 44px !important;
  padding: 0 24px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  box-shadow: 0 10px 24px -14px rgba(143, 101, 34, 0.9) !important;
}
.mag-el-page .mag-btn--gold .elementor-button:hover {
  filter: brightness(1.1) !important;
}
.mag-el-page .mag-btn--ghost .elementor-button {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #f1f4f9 !important;
  border-radius: 999px !important;
  height: 44px !important;
  padding: 0 24px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}
.mag-el-page .mag-btn--sm .elementor-button {
  height: 36px !important;
  padding: 0 17px !important;
  font-size: 12.5px !important;
}
.mag-el-page .mag-btn--block .elementor-button {
  width: 100% !important;
  height: 48px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
}

.mag-el-page .elementor-icon-box-wrapper {
  display: block !important;
}
.mag-el-page .elementor-icon-box-icon {
  margin-bottom: 16px !important;
}
.mag-el-page .elementor-icon {
  color: var(--mag-gold-400) !important;
}
.mag-el-page .elementor-icon-box-title {
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #fff !important;
}
.mag-el-page .mag-card .elementor-icon-box-title {
  color: var(--mag-ink) !important;
}
.mag-el-page .elementor-icon-box-description {
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: var(--mag-muted) !important;
  margin-top: 8px !important;
}
.mag-el-page .mag-card .elementor-icon-box-description {
  color: var(--mag-slate-body) !important;
}
.mag-el-page .mag-value .elementor-icon-box-wrapper .elementor-icon {
  display: grid !important;
  place-items: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(207, 160, 74, 0.26) !important;
  background: rgba(207, 160, 74, 0.1) !important;
  font-size: 16px !important;
}
.mag-el-page .mag-tech-card .elementor-icon-box-wrapper .elementor-icon {
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(207, 160, 74, 0.26) !important;
  background: rgba(207, 160, 74, 0.1) !important;
  font-size: 17px !important;
}
.mag-el-page .mag-card .elementor-icon-box-wrapper .elementor-icon {
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 13px !important;
  border: 1px solid #dde2ea !important;
  background: #f1f3f6 !important;
  color: var(--mag-gold-600) !important;
  font-size: 18px !important;
}
.mag-el-page .elementor-widget-text-editor {
  font-family: inherit !important;
}

/* Elementor paints its own icon SVGs with fill: var(--e-global-color-primary),
   which is Elementor's stock blue (#6EC1E4) and clashes with the design.
   The glyphs must take the token colour carried by .elementor-icon. */
.mag-el-page .elementor-icon .e-font-icon-svg,
.mag-el-page .elementor-icon svg {
  fill: currentColor !important;
}

/* The .mag-link class sits on the Elementor widget, not on the anchor, so the
   anchor inherits the widget's body colour; and the base `svg { display: block }`
   drops the arrow onto its own line. */
.mag-el-page .mag-link p a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mag-gold-600) !important;
}

/* Elementor declares `.e-con::before { content: var(--background-overlay) }`.
   That variable is undefined unless a container has a background overlay, so the
   declaration is invalid at computed-value time, resolves to `none`, and deletes
   the pseudo-element the theme draws its background grids on. */
.mag-el-page .mag-hero::before,
.mag-el-page .mag-tech::before,
.mag-el-page .mag-page-hero::before,
.mag-el-page .mag-section--dark-2::before {
  content: "" !important;
}

/* ------------------------------------------------------------------
   17. Responsive
------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .mag-nav,
  .mag-phone {
    display: none;
  }
  .mag-burger {
    display: grid;
  }
  .mag-hero__grid,
  .mag-grid-2 {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .mag-cards,
  .mag-tech__grid,
  .mag-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mag-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .mag-section {
    padding: 64px 0;
  }
  .mag-hero {
    padding: 52px 0 64px;
  }
  .mag-stats {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .mag-cards,
  .mag-tech__grid,
  .mag-news__grid,
  .mag-values,
  .mag-coverage,
  .mag-info-pair,
  .mag-form {
    grid-template-columns: 1fr;
  }
  .mag-value--wide,
  .mag-field--full,
  .mag-form__submit,
  .mag-form__note {
    grid-column: auto;
  }
  .mag-trust-panel {
    padding: 26px;
  }
  .mag-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .mag-news__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .mag-news__note {
    text-align: left;
  }
  .mag-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0;
  }
  .mag-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .mag-hero__media-overlay {
    flex-direction: column;
    align-items: flex-start;
  }
  .mag-form-card {
    padding: 22px;
  }
}
