/*
  Theme Name: Wilmer Child
  Description: Child theme for Wilmer.
  Author: Allied Modular
  Template: wilmer
  Version: 1.0.1
  Text Domain: wilmer-child
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */

:root {

  /* --- Primary palette (red) --- */
  --primary-100: #fbd2d3;
  --primary-200: #f8a4a7;
  --primary-300: #f4777c;
  --primary-400: #f14950;
  --primary-500: #ed1c24;
  --primary-600: #d61118;
  --primary-700: #b60e15;
  --primary-800: #960c11;
  --primary-900: #77090e;
  --primary-1000: #57070a;

  /* --- Secondary palette (blue) --- */
  --secondary-100: #acb9ff;
  --secondary-200: #8397ff;
  --secondary-300: #5974ff;
  --secondary-400: #3051ff;
  --secondary-500: #062eff;
  --secondary-600: #0023dc;
  --secondary-700: #001db2;
  --secondary-800: #001689; 
  --secondary-900: #001064;
  --secondary-1000: #000a3f;

  /* --- Neutral palette (grays) --- */
  --neutral-100: #ffffff;
  --neutral-200: #e8e8e8;
  --neutral-300: #d2d2d2;
  --neutral-400: #bbbbbb;
  --neutral-500: #a4a4a4;
  --neutral-600: #8e8e8e;
  --neutral-700: #777777;
  --neutral-800: #606060;
  --neutral-900: #4a4a4a;
  --neutral-1000: #232323;

  /* --- Feedback / status colors --- */
  --fb-red-100: #fb3748;
  --fb-red-200: #d00416;
  --fb-yellow-100: #ffdb43;
  --fb-yellow-200: #dfb400;
  --fb-green-100: #84ebb4;
  --fb-green-200: #1fc16b;

  /* --- Typefaces --- */
  --font-display: "Yantramanav", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body:    "Roboto",      system-ui, -apple-system, Segoe UI, Arial, sans-serif;

  /* --- Layout --- */
  --max-container: 1384px;

  /* --- Fluid spacing tokens: 360px → 1280px viewport, 75% → 100% scale ---
     --space-0 ≈ 2px … --space-15 ≈ 112px                                   */
  --space-0:  clamp(1.5px,  1.304px  + 0.05435vw, 2px);
  --space-1:  clamp(3px,    2.609px  + 0.1087vw,  4px);
  --space-2:  clamp(6px,    5.217px  + 0.2174vw,  8px);
  --space-3:  clamp(9px,    7.826px  + 0.3261vw,  12px);
  --space-4:  clamp(12px,   10.43px  + 0.4348vw,  16px);
  --space-5:  clamp(15px,   13.04px  + 0.5435vw,  20px);
  --space-6:  clamp(18px,   15.65px  + 0.6522vw,  24px);
  --space-7:  clamp(24px,   20.87px  + 0.8696vw,  32px);
  --space-8:  clamp(30px,   26.09px  + 1.087vw,   40px);
  --space-9:  clamp(36px,   31.30px  + 1.304vw,   48px);
  --space-10: clamp(42px,   36.52px  + 1.522vw,   56px);
  --space-11: clamp(48px,   41.74px  + 1.739vw,   64px);
  --space-12: clamp(54px,   46.96px  + 1.957vw,   72px);
  --space-13: clamp(60px,   52.17px  + 2.174vw,   80px);
  --space-14: clamp(72px,   62.61px  + 2.609vw,   96px);
  --space-15: clamp(84px,   73.04px  + 3.043vw,   112px);

  /* --- Fluid font sizes: 360px → 1280px viewport, 85% → 100% scale --- */
  --fs-display-1: clamp(54.4px, 50.64px + 1.043vw, 64px); /* 64px */
  --fs-display-2: clamp(47.6px, 44.31px + 0.913vw, 56px); /* 56px */
  --fs-h1:        clamp(34px,   31.65px + 0.6522vw, 40px); /* 40px */
  --fs-h2:        clamp(28.9px, 26.90px + 0.5543vw, 34px); /* 34px */
  --fs-h3:        clamp(23.8px, 22.16px + 0.4565vw, 28px); /* 28px */
  --fs-h4:        clamp(20.4px, 18.99px + 0.3913vw, 24px); /* 24px */
  --fs-h5:        clamp(17px,   15.83px + 0.3261vw, 20px); /* 20px */
  --fs-b1:        clamp(13.6px, 12.66px + 0.2609vw, 16px); /* 16px */
  --fs-b2:        clamp(11.9px, 11.08px + 0.2283vw, 14px); /* 14px */
  --fs-b3:        clamp(10.2px, 9.495px + 0.1957vw, 12px); /* 12px */
  --fs-b4:        clamp(8.5px,  7.913px + 0.163vw,  10px); /* 10px */
  --fs-b5:        clamp(6.8px,  6.33px  + 0.1304vw, 8px);  /*  8px */

  /* --- Line heights --- */
  --lh-display-1: 1.125;
  --lh-display-2: 1.142857;
  --lh-h1: 1.5;
  --lh-h2: 1.294118;
  --lh-h3: 1.428571;
  --lh-h4: 1.5;
  --lh-h5: 1.5;
  --lh-b1: 1.5;
  --lh-b2: 1.5;
  --lh-b3: 1.5;
  --lh-b4: 1.6;
  --lh-b5: 1.5;

  /* --- Shadows --- */
  --box-shadow: 0 4px 10px 4px #00000025;
}

/* =========================================================
   BASE RESET
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* =========================================================
   GLOBAL TYPOGRAPHY — fuerza Roboto en todo el contenido
   ========================================================= */

p,
li,
[class*="__body"],
[class*="__text"],
[class*="__lead"],
[class*="__intro"],
[class*="__cardText"],
[class*="__answer"] {
  font-family: var(--font-body);
}
/* =========================================================
   HEADER
   ========================================================= */

.me-header {
  font-family: var(--font-body);
  color: var(--neutral-100);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

/* Offset page content so it clears the fixed header */
.me-main { padding-top: var(--me-header-height, 0px); }

.me-skip { display: none; }

/* Centered, max-width page wrapper */
.me-container {
  width: 100%;
  max-width: var(--max-container);
  margin: 0 auto;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.me-topbar {
  background: var(--secondary-800);
  color: var(--neutral-100);
  font-size: var(--fs-b3);
  letter-spacing: 0.02em;
}

.me-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 38px;
}

.me-topbar__left {
  display: flex;
  align-items: center;
  gap: var(--space-7);
  flex-wrap: wrap;
}

.me-topbar__label { font-weight: 700; font-size: var(--fs-b3); }

.me-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--neutral-100);
  text-decoration: none;
  font-weight: 500;
}

.me-topbar__link:hover,
.me-topbar__link:focus { color: var(--primary-100); }

.me-topbar__icon { display: inline-flex; align-items: center; }

/* =========================================================
   MAIN NAV
   ========================================================= */

.me-nav {
  background: var(--primary-500);
  color: var(--neutral-100);
  position: relative;
}

.custom-logo-link img {
  max-height: 40px;
  object-fit: contain;
  object-position: left;
}

.me-nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-9);
  min-height: 80px;
}

.me-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--neutral-100);
}

.me-brand img { max-height: 46px; width: auto; display: block; }

.me-brand__text {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
}

.me-menu { flex: 1; }

/* Desktop menu list */
.me-menu__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-6);
  list-style: none;
  position: relative;
  z-index: 99999;
}

.me-menu__list > li { position: relative; }
.me-menu__list > li.menu-item-has-children > a { position: relative; z-index: 2; }

/* Shown only on mobile via JS */
.me-menu__list > li.menu-item-has-children > .me-submenu-toggle { display: none; }

/* Invisible hover bridge — prevents submenu from closing on the gap */
.me-menu__list > li.menu-item-has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.me-menu__list a {
  color: var(--neutral-100);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-b1);
  padding: var(--space-2) 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.me-menu__list > li > a { padding: var(--space-2) var(--space-4); }

.me-menu__list a:hover,
.me-menu__list a:focus { color: var(--primary-100); }

/* Chevron arrow indicator for parent items */
.me-menu__list .menu-item-has-children > a::after {
  content: "";
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-left: var(--space-1);
}

/* Highlight active parent on hover / keyboard focus */
.me-menu__list > li:hover > a,
.me-menu__list > li:focus-within > a {
  background: var(--neutral-100);
  color: var(--primary-600);
}

.me-menu__list > li:hover > a::after,
.me-menu__list > li:focus-within > a::after { transform: rotate(-135deg); }

.me-menu__list > li.is-open > a::after { transform: rotate(-135deg); }

/* Dropdown submenu */
.me-menu__list .sub-menu {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 230px;
  background: var(--neutral-100);
  padding: 0;
  margin: 0;
  list-style: none;
  display: none;
  z-index: 999999;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.me-menu__list .sub-menu li { padding: 0 var(--space-6); }
.me-menu__list .sub-menu li::before { content: none; }

.me-menu__list .sub-menu a {
  display: block;
  width: 100%;
  font-weight: 500;
  font-size: var(--fs-b2);
  padding: var(--space-3) 0;
  color: var(--neutral-1000);
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.me-menu__list .sub-menu li:hover,
.me-menu__list .sub-menu li:focus,
.me-menu__list .sub-menu li:hover a {
  background: var(--primary-100);
  color: var(--primary-600);
}

.me-menu__list > li:hover > .sub-menu,
.me-menu__list > li:focus-within > .sub-menu {
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
}

/* =========================================================
   BANNER (global spacing)
   ========================================================= */
.me-banner { padding: var(--space-9) 0; }

/* =========================================================
   CTA BUTTON
   Slide-up fill on hover via ::after pseudo-element.
   border-top and border-left collapse to 0 on hover to remove
   the white halo caused by mismatched border vs fill color.
   ========================================================= */

.me-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 38px;
  padding: 0 var(--space-6);
  border: 2px solid var(--neutral-100);
  background: var(--neutral-100);
  color: var(--primary-600);
  font-weight: 700;
  text-decoration: none;
  font-size: var(--fs-b1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.4s ease;
      cursor: pointer;
}

/* Navy overlay slides up on hover */
.me-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--secondary-800);
  transform: translateY(100%);
  transition: transform 0.25s ease;
  z-index: -1;
}

.me-cta:hover,
.me-cta:focus {
  color: var(--neutral-100);
  border-color: var(--neutral-100);
  border-top-width: 0;
  border-left-width: 0;
}

.me-cta:hover::after,
.me-cta:focus::after { transform: translateY(0); }

/* Nav CTA (desktop) */
.me-cta--desktop:hover,
.me-cta--desktop:focus {
  background: var(--secondary-800);
  border-color: var(--neutral-100);
  border-top-width: 0;
  border-left-width: 0;
}

/* Hero CTA — red fill, slides to navy on hover */
.me-cta--hero {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: var(--neutral-100);
}

.me-cta--hero:hover,
.me-cta--hero:focus {
  background: var(--secondary-800);
  border-color: var(--neutral-100);
  color: var(--neutral-100);
  border-top-width: 0;
  border-left-width: 0;
}

/* Brochure CTA (inside quote section) */
.me-quote__brochure {
  background: var(--neutral-100);
  border-color: var(--primary-500);
  color: var(--primary-500);
  cursor: pointer;
}

.me-quote__brochure::after { background: var(--secondary-800); }

.me-quote__brochure:hover,
.me-quote__brochure:focus {
  background: var(--secondary-800);
  border-color: var(--neutral-100);
  color: var(--neutral-100);
  border-top-width: 0;
  border-left-width: 0;
}

/* =========================================================
   BURGER BUTTON  (mobile nav toggle)
   ========================================================= */

.me-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--neutral-100);
}

.me-burger__lines,
.me-burger__lines::before,
.me-burger__lines::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.me-burger__lines::before { transform: translateY(-8px); }
.me-burger__lines::after  { transform: translateY(6px); }

/* X when open */
.me-burger[aria-expanded="true"] .me-burger__lines            { background: transparent; }
.me-burger[aria-expanded="true"] .me-burger__lines::before    { transform: translateY(0) rotate(45deg); }
.me-burger[aria-expanded="true"] .me-burger__lines::after     { transform: translateY(-3px) rotate(-45deg); }

.me-cta--mobile { display: none; }

/* =========================================================
   HEADER — MOBILE  (≤ 980px)
   ========================================================= */

@media (max-width: 980px) {
.me-hero .me-container { padding: 0  }
.me-container { padding: 0 var(--space-6); }
  
  .custom-logo-link img { max-width: 200px; }
  .me-topbar__inner  { justify-content: flex-start; }
  .me-topbar__left   { gap: var(--space-4); }
  .me-nav__inner     { min-height: 64px; }

  /* Collapsible mobile nav panel */
  .me-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--primary-600);
    padding: var(--space-6) var(--space-6) var(--space-7);
    display: none;
    z-index: 9999;
    overflow-y: auto;
  }

  /* Submenu scrollable if content overflows */
  .sub-menu {
    overflow-y: auto;
    max-height: 350px;
  }

  .me-menu.is-open { display: block; }

  .me-menu__list { flex-direction: column; align-items: flex-start; gap: var(--space-4); }

  /* Remove desktop hover bridge */
  .me-menu__list > li.menu-item-has-children::after { content: none; }

  /* Disable desktop hover-open behavior — JS handles toggling on mobile */
  .me-menu__list > li:hover > a,
  .me-menu__list > li:focus-within > a { background: transparent; color: var(--neutral-100); }

  .me-menu__list > li:hover > a::after,
  .me-menu__list > li:focus-within > a::after { transform: rotate(45deg); }

  .me-menu__list > li:hover > .sub-menu,
  .me-menu__list > li:focus-within > .sub-menu { display: none; }

  /* Submenus open inline via JS toggle */
  .me-menu__list .sub-menu {
    position: static;
    display: none;
    width: 100%;
    padding: var(--space-3) 0 var(--space-4) var(--space-4);
    box-shadow: none;
  }

  .me-menu__list > li.menu-item-has-children { position: relative; }

  .me-menu__list > li.menu-item-has-children > .me-submenu-toggle {
    display: block;
    position: absolute;
    width: 100%;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 1;
  }

  .me-menu__list > li.is-open > .sub-menu { display: block; }

  .me-cta--desktop { display: none; }

  .me-cta--mobile {
    display: inline-flex;
    margin-top: var(--space-6);
  }

  .me-burger {
    display: inline-flex;
    margin-inline-start: auto;
    padding-inline-end: 42px;
    margin-bottom: 10px;
  }
}

/* =========================================================
   HERO
   ========================================================= */

.me-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--neutral-100);
  background-color: #0b0f1f;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-template-page-laser-rooms .me-main { padding-top: 0; }

.page-template-page-laser-rooms .me-hero__inner {
  padding-top: calc(var(--me-header-height, 0px) + var(--space-10));
}

/* Left-to-right dark gradient */
.me-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(9, 12, 24, 0.85) 0%,
    rgba(9, 12, 24, 0.4)  55%,
    rgba(9, 12, 24, 0.1)  100%
  );
  pointer-events: none;
}

.me-hero__inner {
  position: relative;
  z-index: 1;
  padding: var(--space-10) 0 var(--space-12);
  width: 100%;
}

.me-hero__content { max-width: 560px; }

.me-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display-2);
  line-height: var(--lh-display-2);
  margin: 0 0 var(--space-6);
  color: var(--neutral-100);
  text-transform: none;
}

.me-hero__text {
  font-size: var(--fs-b1);
  line-height: var(--lh-b1);
  color: var(--neutral-200);
  margin-bottom: var(--space-8);
}

.me-hero__text p { margin: 0 0 var(--space-4); color: var(--neutral-200); }

/* Hero — mobile */
@media (max-width: 980px) {
  .me-hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .me-hero__inner   { padding-bottom: var(--space-10); }
  .me-hero__content { max-width: 100%; padding: var(--space-9) var(--space-6); }

  .me-hero__title {
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    text-transform: none;
  }

  /* Vertical gradient for mobile legibility */
  .me-hero__overlay {
    background: linear-gradient(0deg,
      rgba(9, 12, 24, 0.82) 0%,
      rgba(9, 12, 24, 0.45) 60%,
      rgba(9, 12, 24, 0.15) 100%
    );
  }
}

/* =========================================================
   FOOTER
   ========================================================= */

.me-footer { background: #0b1448; color: var(--neutral-100); font-family: var(--font-body); }
.me-footer__top { padding: var(--space-13) 0 var(--space-10); }

.me-footer__topInner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-12);
}

.me-footer__links {
  display: flex;
  justify-self: end;
  flex-wrap: wrap;
  gap: var(--space-10);
  min-width: 360px;
}

.me-footer__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  letter-spacing: 0.02em;
  color: var(--neutral-100);
  margin: 0 0 var(--space-8);
}
.me-footer__links .me-footer__list li a{   color: var(--primary-500); }
.me-footer__links .me-footer__list li{  font-size: var(--fs-h5); color: var(--primary-500); }
.me-footer__text { margin: 0 0 var(--space-6); color: var(--neutral-100); line-height: var(--lh-b1); font-size: var(--fs-b1); }
.me-footer__text a{ color: var(--neutral-100)}
.me-footer__link { color: var(--primary-500); text-decoration: none; }
.me-footer__link:hover,
.me-footer__link:focus { text-decoration: underline; }


.me-footer__list { list-style: none; display: grid; gap: var(--space-3); }
.me-footer__list a:hover { text-decoration: underline; }
.me-footer__list a { font-size:var(--fs-h5);  }

.me-footer__map img {
  width: 260px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: var(--space-5) 0 var(--space-6);
}

.me-footer__social { display: flex; gap: var(--space-3); }

/* Social icons — border matches bg to avoid color halo */
.me-footer__socialLink {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-500);
  border: 1px solid var(--primary-500); /* matches bg — no halo */
  color: var(--neutral-100);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--fs-b3);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.me-footer__socialLink:hover,
.me-footer__socialLink:focus {
  background: var(--secondary-800);
  border-color: var(--neutral-100);
}

.me-footer__bottom { border-top: 1px solid rgba(255,255,255,0.18); padding: var(--space-6) 0 var(--space-7); }

.me-footer__bottomInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.me-footer__brand { display: inline-flex; align-items: center; }
.me-footer__brand .custom-logo { height: 38px; width: auto; display: block; }
.me-footer__brandText { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em; }
.me-footer__copy{margin-left: auto;}
.me-footer__copy,
.me-footer__legal { color: var(--neutral-300); font-size: var(--fs-b3); }

.me-footer__legal { display: inline-flex; align-items: center; gap: var(--space-3); }
.me-footer__sep { color: var(--neutral-500); }

/* Footer — mobile */
@media (max-width: 980px) {
  .me-footer__topInner    { flex-direction: column; }
  .me-footer__links       { width: 100%; grid-template-columns: 1fr 1fr; min-width: 0; }
  .me-footer__map img     { width: 100%; max-width: 320px; }
  .me-footer__bottomInner { align-items: flex-start; }
}

/* =========================================================
   SECTION: WHY LASER ROOMS MATTER
   ========================================================= */

.me-why { color: var(--neutral-1000); }

.me-why .me-container {
  padding: var(--space-6);
  background-color: var(--primary-500);
  box-shadow: var(--box-shadow);
}

/* Overlap hero bottom edge — desktop only */
@media (min-width: 981px) {
  .me-why .me-container {
    margin-top: -70px;
    position: relative;
    z-index: 1;
  }
}

.me-why__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  text-align: center;
  margin: 0 0 var(--space-7);
  color: var(--neutral-100);
  text-transform: none;
}

.me-why__grid {
  background: var(--primary-500);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.me-why__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background-color: var(--primary-100);
  padding: var(--space-6);
  transition: transform 0.3s ease-in-out;
}

.me-why__card:hover { transform: translateY(-10px); }

.me-why__icon { display: inline-flex; color: var(--neutral-100); opacity: 0.9; }

.me-why__cardTitle {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  margin: 0;
  color: var(--primary-500);
  text-transform: none;
}

.me-why__cardText { font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--neutral-1000); margin: 0; }

/* Why — mobile */
@media (max-width: 980px) {
  .me-why            { padding: 0; }
  .me-why__grid      { grid-template-columns: 1fr; gap: var(--space-8); }
  .me-why__title     { font-size: var(--fs-h2); margin-bottom: var(--space-7); }
  .me-why__cardTitle { font-size: var(--fs-h5); }
}

/* =========================================================
   SECTION: WHICH INDUSTRIES
   Hover: overlay fills full card, label slides up, text fades in.
   No PHP changes needed — works with existing HTML structure.
   ========================================================= */

.me-industries { padding: var(--space-13) 0; background: var(--neutral-100); }

.me-industries__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: start;
  margin-bottom: var(--space-9);
}

.me-industries__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  margin: 0;
  color: var(--secondary-800);
  text-transform: none;
}

.me-industries__lead { font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--neutral-1000); margin: 0; padding-top: var(--space-3); }

.me-industries__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

/* Card container — Figma spec: 684×300px ≈ 16/7 */
.me-industries__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: var(--neutral-400);
  cursor: pointer;
}

.me-industries__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.me-industries__item:hover img { transform: scale(1.04); }

/* Overlay via ::before:
   at rest  → gradient bottom 30% only
   on hover → solid navy covers full card  */
.me-industries__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, #001064 0%, rgba(0, 16, 100, 0) 30%);
  transition: background 0.4s ease;
}

.me-industries__item:hover::before {
  background: rgba(0, 16, 100, 0.80);
}

/* Industry heading:
   at rest  → anchored to bottom
   on hover → slides up to reveal description text below */
.me-industries__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-1);      /* tight to bottom */
  padding: 0 var(--space-5);
  color: var(--neutral-100);
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  z-index: 2;
  line-height: 1.3;
  text-transform: none;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.me-industries__item:hover .me-industries__label {
  transform: translateY(-26px); /* just enough space for one text line */
}

/* Description text — appears below label on hover */
.me-industries__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-4);      /* tight below label */
  padding: 0 var(--space-5);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: var(--fs-b2);
  line-height: 1.3;
  z-index: 2;
  margin: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease 0.05s, transform 0.4s ease;
}

.me-industries__item:hover .me-industries__text {
  opacity: 1;
  transform: translateY(0);
}

/* Industries — mobile: overlay always visible, text always visible */
@media (max-width: 980px) {
  .me-industries         { padding: var(--space-10) 0; }
  .me-industries__header { grid-template-columns: 1fr; gap: var(--space-5); margin-bottom: var(--space-7); }
  .me-industries__title  { font-size: var(--fs-h3); }
  .me-industries__grid   { grid-template-columns: 1fr; gap: var(--space-4); }
  .me-industries__item   { aspect-ratio: 16 / 7; }

  /* Always show full overlay on mobile */
  .me-industries__item::before { background: rgba(0, 16, 100, 0.70); }

  /* Label shifted up on mobile (mirrors hover state) */
  .me-industries__label {
   
    transform: translateY(-26px);
  }

  /* Text always visible on mobile */
  .me-industries__text { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SECTION: FEATURES & APPLICATIONS
   ========================================================= */

.me-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.me-features__heading {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--secondary-800);
  margin: 0 0 var(--space-5);
  text-transform: none;
}

.me-features__intro { font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--neutral-1000); margin: 0 0 var(--space-6); }
.me-features__body  { font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--neutral-1000); margin: 0 0 var(--space-5); }

/* Checklist with blue square + white SVG checkmark */
.me-features__list { list-style: none; display: grid; gap: var(--space-4); }

.me-features__list li {
  font-size: var(--fs-b1);
  line-height: var(--lh-b1);
  color: var(--neutral-900);
  padding-left: var(--space-7);
  position: relative;
  min-height: 28px;
  display: flex;
  align-items: flex-start;
}

/* SVG checkmark — # encoded as %23 in data URIs */
.me-features__list li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpolyline points='6,14 11,19 22,9' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Features — mobile */
@media (max-width: 980px) {
  .me-features          { padding: var(--space-1) 0; }
  .me-features__grid    { gap: var(--space-5); }
  .me-features__heading { font-size: var(--fs-h4); }

  /* Shift checkmark down to align with larger text line-height */
  .me-features__list li { padding-left: var(--space-8); }
  .me-features__list li::after { top: 10px; }
}

/* =========================================================
   SECTION: FULL-WIDTH BANNER IMAGE
   ========================================================= */

.me-banner {
  position: relative;
  width: 100%;
  max-height: 580px;
  overflow: hidden;
  line-height: 0;
  margin: 0 auto;
}

.me-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Banner — mobile */
@media (max-width: 980px) {
  .me-banner { max-height: 220px; }
}

/* =========================================================
   SECTION: MODULAR VS TRADITIONAL / SAFETY & COMPLIANCE
   ========================================================= */

.me-modular { padding: var(--space-8) 0; background: var(--neutral-100); }

.me-modular__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.me-modular__heading {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--secondary-800);
  margin: 0 0 var(--space-6);
  text-transform: none;
}

.me-modular__body { font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--neutral-1000); margin: 0 0 var(--space-5); }

/* Checklist — same SVG checkmark as features list */
.me-modular__checklist { list-style: none; margin: 0 0 var(--space-6); display: grid; gap: var(--space-3); }

.me-modular__checklist li {
  font-size: var(--fs-b1);
  line-height: var(--lh-b1);
  color: var(--neutral-1000);
  padding-left: var(--space-7);
  position: relative;
  min-height: 20px;
}

.me-modular__checklist li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpolyline points='6,14 11,19 22,9' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Modular — mobile */
@media (max-width: 980px) {
.me-modular{
  padding-bottom: 0;
}
  .me-modular__grid    {  gap: var(--space-4); }
  .me-modular__heading { font-size: var(--fs-h4); }
}

/* =========================================================
   SECTION: GET A QUOTE
   The .me-container holds the bg image + overlay, not .me-quote itself
   ========================================================= */

.me-quote { padding-block: var(--space-9); }

.me-quote .me-container {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--neutral-100);
  padding: var(--space-13);
  scroll-margin-top: 80px;
}

/* Semi-transparent navy overlay over bg image */
.me-quote .me-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--secondary-900);
  opacity: 0.85;
  z-index: 0;
}

/* Grid and all content sit above the overlay */
.me-quote__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-12);
  align-items: start;
  position: relative;
  z-index: 2;
}

.me-quote__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  margin: 0 0 var(--space-6);
  color: var(--neutral-100);
  text-transform: none;
}

.me-quote__text { font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--neutral-200); margin: 0 0 var(--space-8); }

/* =========================================================
   QUOTE FORM  (Microsoft Dynamics Marketing Form)
   ========================================================= */

/* Reset Dynamics table layout to flexbox */
.me-quote__form th.inner {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--space-5) !important;
  border: none !important;
  padding: 0 !important;
  width: 100% !important;
  font-weight: normal !important;
}

/* Hide hidden Dynamics option fields */
.me-quote__form .optionSetFormFieldBlock { display: none !important; }

/* Full width by default */
.me-quote__form .textFormFieldBlock,
.me-quote__form .phoneFormFieldBlock {   flex: 0 0 calc(50% - var(--space-5) / 2) !important;}


.me-quote__form .textFormFieldBlock[  data-editorblocktype="TextAreaFormField"]{
    flex: 0 0 100% !important;
    margin-bottom: 20px;
}
/* Textarea */
.me-quote__form textarea {
  display: block;
  width: 100%;
  background: var(--neutral-100);
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: var(--fs-b1);
  color: var(--neutral-1000);
  padding: var(--space-3) var(--space-4);
  min-height: 130px;
  resize: vertical;
  outline: none;
  transition: box-shadow 0.2s ease;
  appearance: none;
  flex: 0 0 100% !important;
}

.me-quote__form input:focus,
.me-quote__form textarea:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); }

/* Hide phone country code prefix */
.me-quote__form .phoneCountryCode      { display: block; width: 100%; }
.me-quote__form .phoneCountryCodeLabel { display: none !important; }

/* Submit button wrapper */
.me-quote__form .submitButtonWrapper {
  margin: var(--space-2) 0 0 !important;
  text-align: unset !important;
  width: 100%;
  padding: 0;
}

/* Submit button — same slide-up pattern as .me-cta */
.me-quote__form .submitButton {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 48px !important;
  padding: 0 !important;
  background: var(--secondary-800) !important;
  border: 2px solid var(--neutral-100) !important;
  border-radius: 0 !important;
  color: var(--neutral-100) !important;
  font-family: var(--font-body) !important;
  font-size: var(--fs-b1) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.25s ease;
}

.me-quote__form .submitButton span {
  position: relative;
  z-index: 1;
  font-family: var(--font-body) !important;
  font-size: var(--fs-b1) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit !important;
  text-decoration: none !important;
}

/* Red overlay slides up on hover */
.me-quote__form .submitButton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-600);
  transform: translateY(100%);
  transition: transform 0.25s ease;
  z-index: 0;
}

.me-quote__form .submitButton:hover::after,
.me-quote__form .submitButton:focus::after { transform: translateY(0); }
.me-quote__form .submitButton:hover,
.me-quote__form .submitButton:focus        { outline: none; }

/* Quote — mobile */
@media (max-width: 980px) {
  .me-quote                { padding: var(--space-10) 0; }
  .me-quote .me-container  { padding: var(--space-9) var(--space-6); }
  .me-quote__grid          { grid-template-columns: 1fr; gap: var(--space-8); }
  .me-quote__title         { font-size: var(--fs-h3); }
  .me-quote__form th.inner { gap: var(--space-4) !important; }
}

/* All form fields stacked on small screens */
@media (max-width: 600px) {
  .me-quote__form .textFormFieldBlock[data-targetproperty="firstname"],
  .me-quote__form .textFormFieldBlock[data-targetproperty="lastname"],
  .me-quote__form .textFormFieldBlock[data-targetproperty="emailaddress1"],
  .me-quote__form .phoneFormFieldBlock[data-targetproperty="telephone1"],
  .me-quote__form .textFormFieldBlock[data-targetproperty="companyname"],
  .me-quote__form .textFormFieldBlock[data-targetproperty="new_leadformzipcode"] {
    flex: 0 0 100% !important;
  }

  #g-recaptcha div,
  .g-recaptcha div { max-width: 220px !important; }

  .me-quote__form .submitButton { height: 52px !important; }
}
/* =========================================================
   RANK MATH FAQ — estilos adaptados al sistema me-faq
   ========================================================= */
 
.me-faq{
  .rank-math-list {
  margin: 0 auto;
  display: grid;
  gap: var(--space-5);
    padding: var(--space-13) 0; 
    background: var(--neutral-100);
}
.me-faq__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  text-align: center;
  color: var(--secondary-800);
  margin:  var(--space-10) 0 0;
  text-transform: none;
}

.rank-math-list-item {
  border: 1px solid var(--neutral-300);
  overflow: hidden;
}

.rank-math-list-item.is-open {
  background: var(--neutral-200);
  border: 1px solid var(--secondary-800);
  box-shadow: var(--box-shadow);
}

.rank-math-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  background: transparent;
  border: none;
  padding: var(--space-6);
  font-family: var(--font-body);
  font-size: var(--fs-b1);
  font-weight: 700;
  color: var(--secondary-800);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
  margin: 0;
    text-transform: none;
    line-height: var(--lh-b1);
}

.rank-math-question:hover { color: var(--primary-600); }

.rank-math-faq-icon {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--secondary-800);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.2s ease;
}

.rank-math-faq-icon::before,
.rank-math-faq-icon::after {
  content: "";
  position: absolute;
  background: var(--neutral-100);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.rank-math-faq-icon::before { width: 14px; height: 2px; }
.rank-math-faq-icon::after  { width: 2px;  height: 14px; }

.rank-math-list-item.is-open .rank-math-faq-icon::before,
.rank-math-list-item.is-open .rank-math-faq-icon::after {
  transform: rotate(45deg);
}

.rank-math-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--space-6);
}

.rank-math-answer.is-open {
  max-height: 600px;
  padding: 0 var(--space-6) var(--space-6);
}

.rank-math-answer p {
  margin: 0;
  font-size: var(--fs-b1);
  line-height: var(--lh-b1);
  color: var(--neutral-800);
  max-width: 700px;
}

@media (max-width: 980px) {
  .rank-math-question { padding: var(--space-5); }
  .rank-math-answer   { padding: 0 var(--space-5); }
  .rank-math-answer.is-open { padding: 0 var(--space-5) var(--space-5); }
  .me-faq__title { margin-top: 0; }
}}
/* =========================================================
   GLOBAL MOBILE OVERFLOW GUARD
   ========================================================= */

@media (max-width: 980px) {
  .me-hero,
  .me-why,
  .me-industries,
  .me-features,
  .me-banner,
  .me-modular,
  .me-quote,
  .me-faq {
    overflow-x: hidden;
    width: 100%;
  }

  /* Prevent long words from breaking layout */
  .me-industries__lead,
  .me-features__intro,
  .me-features__body,
  .me-modular__body,
  .me-quote__text,
  .me-why__cardText {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
  }
}

/* =========================================================
   MODAL — Brochure form
   Triggered by .js-modal-open[data-modal="brochure"]
   ========================================================= */

/* Full-screen backdrop + centering container */
.me-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

/* Hide via hidden attribute — JS removes it to open */
.me-modal[hidden] { display: none; }

/* Semi-transparent backdrop — click closes modal */
.me-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 63, 0.75);
  cursor: pointer;
}

/* Dialog panel */
.me-modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--neutral-100);
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - var(--space-13));
  overflow-y: auto;
  padding: var(--space-9) var(--space-9) var(--space-8);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

/* Close button — top right corner */
.me-modal__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--neutral-700);
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0;
}

.me-modal__close:hover,
.me-modal__close:focus { color: var(--primary-500); outline: none; }

/* Header */
.me-modal__header { margin-bottom: var(--space-7); padding-right: var(--space-8); }

.me-modal__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--secondary-800);
  margin: 0 0 var(--space-3);
  text-transform: none;
}

.me-modal__subtitle {
  font-size: var(--fs-b1);
  line-height: var(--lh-b1);
  color: var(--neutral-700);
  margin: 0;
}

/* Body — Dynamics form renders here */
.me-modal__body { width: 100%; }

/* Prevent page scroll when modal is open */
body.me-modal-open {
  overflow: hidden;
}

/* Modal — mobile */
@media (max-width: 980px) {
  .me-modal { padding: var(--space-4); align-items: flex-end; }

  .me-modal__dialog {
    max-width: 100%;
    max-height: 90dvh;
    padding: var(--space-7) var(--space-6) var(--space-6);
    border-radius: 0;
  }
}

/* =========================================================
   MODAL — Dynamics form / red theme
   ========================================================= */

/* Dialog → red background */
.me-modal__dialog { background: var(--primary-500); }

/* Header text → white */
.me-modal__title    { color: var(--neutral-100); }
.me-modal__subtitle { color: rgba(255, 255, 255, 0.85); }

/* Close button → white circle with red icon */
.me-modal__close {
  background: var(--neutral-100);
  color: var(--primary-500);
  border-radius: 50%;
}
.me-modal__close:hover,
.me-modal__close:focus { background: var(--neutral-100); color: var(--primary-700); outline: none; }
.me-modal .marketingForm .textFormFieldBlock, .me-modal .marketingForm .phoneFormFieldBlock {margin-right:5px;}
/* Textarea — space before captcha */
.me-modal .marketingForm textarea { margin-bottom: var(--space-6) !important; }
.me-modal .marketingForm input::placeholder,
.me-modal .marketingForm textarea::placeholder { color: transparent !important; }
.me-modal .marketingForm > div {

 padding:0; 
}
/* Submit button — same slide-up style as quote form */
.me-modal .marketingForm .submitButton {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 48px !important;
  padding: 0 !important;
  background: var(--secondary-800) !important;
  border: 2px solid var(--neutral-100) !important;
  border-radius: 0 !important;
  color: var(--neutral-100) !important;
  font-family: var(--font-body) !important;
  font-size: var(--fs-b1) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.25s ease;
}

.me-modal .marketingForm .submitButton span {
  position: relative;
  z-index: 1;
  font-family: var(--font-body) !important;
  font-size: var(--fs-b1) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit !important;
}

.me-modal .marketingForm .submitButton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-700);
  transform: translateY(100%);
  transition: transform 0.25s ease;
  z-index: 0;
}

.me-modal .marketingForm .submitButton:hover::after,
.me-modal .marketingForm .submitButton:focus::after { transform: translateY(0); }
.me-modal .marketingForm .submitButton:hover,
.me-modal .marketingForm .submitButton:focus        { outline: none; }

/* =========================================================
   CTA MODIFIERS — extra variants
   ========================================================= */

/* Navy fill button (used in brochure card) */
.wp-block-buttons .me-cta--navy {
  background: var(--secondary-800);
  border-color: var(--secondary-800);
  color: var(--neutral-100);
  margin-top:var(--space-4);
  cursor:pointer;
}
.me-cta__label--download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.me-cta__label--download::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: url("/wp-content/uploads/2026/03/download-icon.png") center/contain no-repeat;
}
.me-cta--navy::after { background: var(--primary-500); }

.me-cta--navy:hover,
.me-cta--navy:focus {
  color: var(--neutral-100);
  border-color: var(--primary-500);
}

/* Outline button (transparent bg, white border — for dark backgrounds) */
.me-cta--outline {
  background: transparent;
  border-color: var(--neutral-100);
  color: var(--neutral-100);
}

.me-cta--outline::after { background: var(--primary-500); }

.me-cta--outline:hover,
.me-cta--outline:focus {
  color: var(--neutral-100);
  border-color: var(--primary-500);
}

/* =========================================================
   SECTION: BROCHURE PAGE
   ========================================================= */

/* ---- Header (title + intro text) ---- */
.me-brochure-header { padding: var(--space-10) 0; }

.me-brochure-header .me-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-0);

}
.me-brochure-header .is-layout-flow{
  align-self: center;
} 
.me-brochure-header__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--secondary-900);
  margin: 0;
  text-transform: none;
}

.me-brochure-header__text {
  font-size: var(--fs-b1);
  line-height: var(--lh-b1);
  color: var(--neutral-900);
  margin: 0;
}

/* ---- Pink card (brochure preview + info) ---- */
.me-brochure-card {
  background: var(--primary-100);
  border: 1px solid var(--primary-200);
  padding: var(--space-10);
  margin: 0 0 var(--space-10);
}

.me-brochure-card__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-10);
  align-items: center;
}

.me-brochure-card__img-col { display: flex; align-items: center; justify-content: center; }

.me-brochure-card__img { max-width: 240px; width: 100%; display: block; }

.me-brochure-card__heading {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--primary-600);
  margin: 0 0 var(--space-5);
  text-transform: none;
}

.me-brochure-card__text {
  font-size: var(--fs-b1);
  line-height: var(--lh-b1);
  color: var(--neutral-1000);
  margin: 0 0 var(--space-5);
}

/* ---- Dark CTA (Leave your Enclosure in Expert Hands) ---- */
.me-brochure-cta {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--neutral-100);
  padding: var(--space-13) 0;
}

.me-brochure-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--secondary-900);
  opacity: 0.88;
  z-index: 0;
}

.me-brochure-cta .me-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  align-items: center;
}

.me-brochure-cta__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  color: var(--neutral-100);
  margin: 0;
  text-transform: none;
}

.me-brochure-cta__text {
  font-size: var(--fs-b1);
  line-height: var(--lh-b1);
  color: var(--neutral-200);
  margin: 0 0 var(--space-6);
}

.me-brochure-cta__checklist {
  list-style: none;
  margin: 0 0 var(--space-8);
  display: grid;
  gap: var(--space-3);
  padding: 0;
}

.me-brochure-cta__checklist li {
  font-size: var(--fs-b1);
  line-height: var(--lh-b1);
  color: var(--neutral-100);
  padding-left: var(--space-7);
  position: relative;
  min-height: 20px;
}

.me-brochure-cta__checklist li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background-color: var(--primary-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpolyline points='6,14 11,19 22,9' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 50%;
}

/* ---- Additional modifiers for brochure page ---- */
.me-talk-expert{margin-bottom:var(--space-10)}
.me-brochure-cta__title-col .me-brochure-cta__title {font-family: var(--font-display) !important;
    font-size: var(--fs-h1) !important;
    line-height: var(--lh-h1) !important;}
.me-brochure-cta__title-col {
	justify-content: center;
    display: flex;
}
.page-template-page-brochure-php .me-container h2{
	text-transform:initial;
}
/* Brochure page — mobile */
@media (max-width: 980px) {
  .me-brochure-header .me-container { grid-template-columns: 1fr; gap: var(--space-5); }
  .me-brochure-header__title { font-size: var(--fs-h3); }

  .me-brochure-card { padding: var(--space-7) var(--space-5);  }
  .me-brochure-card__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .me-brochure-card__heading { font-size: var(--fs-h4); }

  .me-brochure-cta { padding: var(--space-10) 0; }
  .me-brochure-cta .me-container { grid-template-columns: 1fr; gap: var(--space-8); }
  .me-brochure-cta__title { font-size: var(--fs-h2); }
}