/* src/styles/macutech-fonts.css */
/* Stretch Pro — self-hosted only (no Google Fonts: CSP blocks fonts.googleapis.com) */
@font-face {
  font-family: "StretchPro";
  src: url("/uploads/EYrmfuZPEG2Y1a9L-eio2-StretchPro.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-stretch: "StretchPro", Outfit, system-ui, sans-serif;
}

/* Display + titulares: Stretch Pro solo en brutal (default).
   Bento usa Outfit via --mt-font-display en macutech-theme-tokens.css */
html:not([data-theme]) .font-display,
html:not([data-theme]) .mt-stretch,
html:not([data-theme]) .mt-stitch-root .font-display,
html:not([data-theme]) .mt-stitch-root .mt-stretch,
html:not([data-theme]) .mt-stitch-root h1,
html:not([data-theme]) .mt-stitch-root h2,
html:not([data-theme]) .mt-stitch-root h3,
html:not([data-theme]) .mt-stitch-root h4,
html:not([data-theme]) .mt-stitch-root header a.font-display,
html:not([data-theme]) .mt-brand,
html[data-theme="brutal"] .font-display,
html[data-theme="brutal"] .mt-stretch,
html[data-theme="brutal"] .mt-stitch-root .font-display,
html[data-theme="brutal"] .mt-stitch-root .mt-stretch,
html[data-theme="brutal"] .mt-stitch-root h1,
html[data-theme="brutal"] .mt-stitch-root h2,
html[data-theme="brutal"] .mt-stitch-root h3,
html[data-theme="brutal"] .mt-stitch-root h4,
html[data-theme="brutal"] .mt-stitch-root header a.font-display,
html[data-theme="brutal"] .mt-brand {
  font-family: var(--font-stretch) !important;
  font-feature-settings: "liga" 1, "dlig" 1, "kern" 1;
  -webkit-font-feature-settings: "liga" 1, "dlig" 1, "kern" 1;
  font-variant-ligatures: common-ligatures discretionary-ligatures;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

html[data-theme="bento"] .font-display,
html[data-theme="bento"] .mt-stretch,
html[data-theme="bento"] .mt-stitch-root .font-display,
html[data-theme="bento"] .mt-stitch-root .mt-stretch,
html[data-theme="bento"] .mt-stitch-root h1,
html[data-theme="bento"] .mt-stitch-root h2,
html[data-theme="bento"] .mt-stitch-root h3,
html[data-theme="bento"] .mt-stitch-root h4,
html[data-theme="bento"] .mt-stitch-root header a.font-display,
html[data-theme="bento"] .mt-brand {
  font-family: var(--mt-font-display) !important;
  font-feature-settings: normal;
  -webkit-font-feature-settings: normal;
  font-variant-ligatures: normal;
  letter-spacing: var(--mt-display-tracking);
  font-weight: var(--mt-display-weight) !important;
  text-rendering: optimizeLegibility;
}

/* Marca: Stretch + ligatures en brutal; Outfit black en bento */
html:not([data-theme]) .mt-brand,
html:not([data-theme]) .mt-stitch-root .mt-brand,
html[data-theme="brutal"] .mt-brand,
html[data-theme="brutal"] .mt-stitch-root .mt-brand {
  text-transform: uppercase;
  font-weight: 400;
}

html[data-theme="bento"] .mt-brand,
html[data-theme="bento"] .mt-stitch-root .mt-brand {
  text-transform: uppercase;
  font-weight: 900 !important;
  transform: none !important;
}

/* Cuerpo: Inter/Outfit ya vienen self-hosted por el framework de Instatic */
.font-body,
.mt-stitch-root .font-body {
  font-family: var(--font-body), Inter, system-ui, sans-serif;
}

/* Icons: Material Symbols is CSP-blocked; keep class for layout, use emoji/text glyphs */
.mt-icon,
.material-symbols-outlined {
  font-family: inherit;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}


/* src/styles/macutech-theme-tokens.css */
/* MACUTECH theme tokens
 * Shared brand colors come from Instatic framework vars
 * (--primary / --secondary / --tertiary / --surface / --on-surface / --success / --error).
 * This file only owns skin-structural tokens. Default = brutal (no data-theme or =brutal).
 * Flip: Settings → Visual theme, or html[data-theme="bento|brutal"] once publisher bakes it.
 */

:root {
  --mt-brand-primary: var(--primary);
  --mt-brand-secondary: var(--secondary);
  --mt-brand-tertiary: var(--tertiary);
  --mt-brand-surface: var(--surface);
  --mt-brand-on-surface: var(--on-surface);
  --mt-brand-success: var(--success);
  --mt-brand-error: var(--error);

  --mt-radius: 0px;
  --mt-radius-lg: 0px;
  --mt-radius-xl: 0px;
  --mt-border-w: 4px;
  --mt-shadow: 8px 8px 0 0 var(--on-surface);
  --mt-shadow-hover: 12px 12px 0 0 var(--on-surface);
  --mt-shadow-lift: translate(-4px, -4px);
  --mt-frame-margin: 1rem;
  --mt-section-gap: 0px;
  --mt-cell-gap: 0px;
  --mt-nav-height: 5rem;
  --mt-font-display: var(--font-stretch, "StretchPro", Outfit, system-ui, sans-serif);
  --mt-font-body: var(--font-body, Inter, system-ui, sans-serif);
  --mt-font-mono: var(--font-body, Inter, system-ui, sans-serif);
  --mt-label-tracking: 0.12em;
  --mt-display-tracking: 0em;
  --mt-display-weight: 400;
  --mt-skew: -12deg;
}

html:not([data-theme]),
html[data-theme="brutal"] {
  --mt-radius: 0px;
  --mt-radius-lg: 0px;
  --mt-radius-xl: 0px;
  --mt-border-w: 4px;
  --mt-shadow: 8px 8px 0 0 var(--on-surface);
  --mt-shadow-hover: 12px 12px 0 0 var(--on-surface);
  --mt-shadow-lift: translate(-4px, -4px);
  --mt-frame-margin: 1rem;
  --mt-section-gap: 0px;
  --mt-cell-gap: 0px;
  --mt-font-display: var(--font-stretch, "StretchPro", Outfit, system-ui, sans-serif);
  --mt-font-body: var(--font-body, Inter, system-ui, sans-serif);
  --mt-font-mono: var(--font-body, Inter, system-ui, sans-serif);
  --mt-label-tracking: 0.12em;
  --mt-display-tracking: 0em;
  --mt-display-weight: 400;
  --mt-skew: -12deg;
}

/* Bento — same brand; mock structural tokens (rounded cells, hard shadow, Outfit/Inter/mono) */
html[data-theme="bento"] {
  /* Soft neutral page surface — keep brand tertiary yellow for accents only */
  --surface: hsla(12, 33%, 98.5%, 1);
  --mt-radius: 0.5rem;
  --mt-radius-lg: 0.75rem;
  --mt-radius-xl: 0.75rem;
  --mt-border-w: 4px;
  --mt-shadow: 8px 8px 0 0 var(--on-surface);
  --mt-shadow-hover: 12px 12px 0 0 var(--on-surface);
  --mt-shadow-lift: translate(-4px, -4px);
  --mt-frame-margin: 1rem;
  --mt-section-gap: 1rem;
  --mt-cell-gap: 1rem;
  --mt-font-display: "Outfit", system-ui, sans-serif;
  --mt-font-body: "Inter", system-ui, sans-serif;
  --mt-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --mt-label-tracking: 0.1em;
  --mt-display-tracking: -0.04em;
  --mt-display-weight: 900;
  --mt-skew: 0deg;
}

.mt-stitch-root {
  margin: var(--mt-frame-margin) !important;
  border-width: var(--mt-border-w) !important;
  border-radius: var(--mt-radius) !important;
}

.mt-stitch-root .brutal-border,
.mt-brutal-btn,
.neo-border {
  border-width: var(--mt-border-w) !important;
  border-style: solid !important;
  border-color: var(--on-surface) !important;
  border-radius: var(--mt-radius) !important;
}

.mt-stitch-root .brutal-border-b {
  border-bottom-width: var(--mt-border-w) !important;
  border-bottom-style: solid !important;
  border-bottom-color: var(--on-surface) !important;
}

.mt-stitch-root .brutal-border-t {
  border-top-width: var(--mt-border-w) !important;
  border-top-style: solid !important;
  border-top-color: var(--on-surface) !important;
}

.mt-stitch-root .brutal-border-r {
  border-right-width: var(--mt-border-w) !important;
  border-right-style: solid !important;
  border-right-color: var(--on-surface) !important;
}

.mt-stitch-root .brutal-border-l {
  border-left-width: var(--mt-border-w) !important;
  border-left-style: solid !important;
  border-left-color: var(--on-surface) !important;
}

.mt-stitch-root .brutal-shadow,
.mt-brutal-btn,
.mt-service-card,
.mt-project-card {
  box-shadow: var(--mt-shadow) !important;
  border-radius: var(--mt-radius-lg) !important;
}

.mt-stitch-root .brutal-shadow-hover:hover,
.mt-brutal-btn:hover {
  box-shadow: var(--mt-shadow-hover) !important;
  transform: var(--mt-shadow-lift) !important;
}

.font-display,
.mt-stretch,
.mt-stitch-root .font-display,
.mt-stitch-root .mt-stretch {
  font-family: var(--mt-font-display) !important;
}

html[data-theme="bento"] .font-display,
html[data-theme="bento"] .mt-stretch,
html[data-theme="bento"] .mt-stitch-root .font-display,
html[data-theme="bento"] .mt-stitch-root .mt-stretch,
html[data-theme="bento"] .mt-brand {
  letter-spacing: var(--mt-display-tracking) !important;
  font-weight: var(--mt-display-weight) !important;
}

.font-body,
.mt-stitch-root .font-body {
  font-family: var(--mt-font-body) !important;
}

.mt-font-mono,
.mt-label-mono {
  font-family: var(--mt-font-mono) !important;
  letter-spacing: var(--mt-label-tracking);
  text-transform: uppercase;
  font-weight: 700;
}


/* src/styles/macutech-stitch-layout.css */
/* MACUTECH Stitch layout — mobile base + desktop from 768px */

/* Footer logo: visible <img> (no CSS background — publish rewrites bg to broken image-set) */
.mt-footer-logo {
  display: inline-flex;
  align-items: center;
  width: 240px;
  max-width: 100%;
  height: 3.5rem;
  overflow: hidden;
  background-image: none !important;
}
.mt-footer-logo img,
.mt-footer-logo-img {
  position: static !important;
  display: block !important;
  width: 240px !important;
  max-width: 100% !important;
  height: 3.5rem !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  clip: auto !important;
  overflow: visible !important;
  pointer-events: auto !important;
}


/* ——— HOVER CONTRAST ———
   mt-text-* / mt-bg-* usan !important y anulan hover:text-* / group-hover:* */
.mt-stitch-root [class*="hover:bg-primary"]:hover {
  background-color: #3D30A2 !important;
  color: #fff !important;
}
.mt-stitch-root [class*="hover:bg-primary"]:hover .mt-text-on-surface,
.mt-stitch-root [class*="hover:bg-primary"]:hover .mt-text-white,
.mt-stitch-root [class*="hover:bg-primary"]:hover h3,
.mt-stitch-root [class*="hover:bg-primary"]:hover h4,
.mt-stitch-root [class*="hover:bg-primary"]:hover p,
.mt-stitch-root [class*="hover:bg-primary"]:hover a,
.mt-stitch-root [class*="hover:bg-primary"]:hover span:not([class*="mt-bg"]),
.mt-stitch-root [class*="hover:bg-primary"]:hover .mt-icon,
.mt-stitch-root [class*="hover:bg-primary"]:hover .material-symbols-outlined {
  color: #fff !important;
}

.mt-stitch-root [class*="hover:bg-on-surface"]:hover {
  background-color: #2D2727 !important;
  color: #FAFCDA !important;
}
.mt-stitch-root [class*="hover:bg-on-surface"]:hover .mt-text-on-surface,
.mt-stitch-root [class*="hover:bg-on-surface"]:hover .mt-icon,
.mt-stitch-root [class*="hover:bg-on-surface"]:hover .material-symbols-outlined,
.mt-stitch-root [class*="hover:bg-on-surface"]:hover span:not([class*="mt-bg"]) {
  color: #FAFCDA !important;
}

.mt-stitch-root [class*="hover:bg-secondary"]:hover {
  background-color: #B15EFF !important;
  color: #fff !important;
}
.mt-stitch-root [class*="hover:bg-secondary"]:hover .mt-text-on-surface,
.mt-stitch-root [class*="hover:bg-secondary"]:hover .mt-icon,
.mt-stitch-root [class*="hover:bg-secondary"]:hover .material-symbols-outlined {
  color: #fff !important;
}

.mt-stitch-root [class*="hover:bg-tertiary"]:hover {
  background-color: #FFD000 !important;
  color: #2D2727 !important;
}
.mt-stitch-root [class*="hover:bg-tertiary"]:hover .mt-text-on-surface,
.mt-stitch-root [class*="hover:bg-tertiary"]:hover .mt-icon,
.mt-stitch-root [class*="hover:bg-tertiary"]:hover .material-symbols-outlined {
  color: #2D2727 !important;
}

.mt-stitch-root [class*="hover:bg-white"]:hover {
  background-color: #fff !important;
  color: #2D2727 !important;
}
.mt-stitch-root [class*="hover:bg-white"]:hover .mt-text-on-surface,
.mt-stitch-root [class*="hover:bg-white"]:hover .mt-icon,
.mt-stitch-root [class*="hover:bg-white"]:hover .material-symbols-outlined,
.mt-stitch-root [class*="hover:bg-white"]:hover span:not([class*="mt-bg"]) {
  color: #2D2727 !important;
}

.mt-stitch-root [class*="hover:bg-surface"]:hover {
  background-color: #FAFCDA !important;
}

.mt-stitch-root [class*="hover:text-white"]:hover,
.mt-stitch-root [class*="hover:text-white"]:hover .mt-icon,
.mt-stitch-root [class*="hover:text-white"]:hover .material-symbols-outlined {
  color: #fff !important;
}
.mt-stitch-root [class*="hover:text-on-surface"]:hover,
.mt-stitch-root [class*="hover:text-on-surface"]:hover .mt-icon,
.mt-stitch-root [class*="hover:text-on-surface"]:hover .material-symbols-outlined {
  color: #2D2727 !important;
}
.mt-stitch-root [class*="hover:text-primary"]:hover,
.mt-stitch-root [class*="hover:text-primary"]:hover .mt-icon {
  color: #3D30A2 !important;
}

/* group-hover: cajas de icono e inversión de color */
.mt-stitch-root .group:hover [class*="group-hover:bg-white"] {
  background-color: #fff !important;
  color: #3D30A2 !important;
}
.mt-stitch-root .group:hover [class*="group-hover:bg-white"] .mt-icon,
.mt-stitch-root .group:hover [class*="group-hover:bg-white"] .material-symbols-outlined,
.mt-stitch-root .group:hover [class*="group-hover:text-primary"] {
  color: #3D30A2 !important;
}

.mt-stitch-root .group:hover [class*="group-hover:bg-primary"] {
  background-color: #3D30A2 !important;
  color: #fff !important;
}
.mt-stitch-root .group:hover [class*="group-hover:bg-primary"] .mt-icon,
.mt-stitch-root .group:hover [class*="group-hover:bg-primary"] .material-symbols-outlined,
.mt-stitch-root .group:hover [class*="group-hover:text-white"] {
  color: #fff !important;
}

.mt-stitch-root .group:hover [class*="group-hover:bg-tertiary"] {
  background-color: #FFD000 !important;
  color: #2D2727 !important;
}
.mt-stitch-root .group:hover [class*="group-hover:bg-tertiary"] .mt-icon,
.mt-stitch-root .group:hover [class*="group-hover:bg-tertiary"] .material-symbols-outlined {
  color: #2D2727 !important;
}

.mt-stitch-root .group:hover [class*="group-hover:bg-secondary"] {
  background-color: #B15EFF !important;
  color: #fff !important;
}
.mt-stitch-root .group:hover [class*="group-hover:bg-secondary"] .mt-icon,
.mt-stitch-root .group:hover [class*="group-hover:bg-secondary"] .material-symbols-outlined {
  color: #fff !important;
}

.mt-stitch-root .group:hover [class*="group-hover:bg-on-surface"] {
  background-color: #2D2727 !important;
  color: #FAFCDA !important;
}
.mt-stitch-root .group:hover [class*="group-hover:bg-on-surface"] .mt-icon,
.mt-stitch-root .group:hover [class*="group-hover:bg-on-surface"] .material-symbols-outlined {
  color: #FAFCDA !important;
}

/* ——— SERVICES TITLES ———
   StretchPro + dlig ensancha DEVELOPMENT / IDENTITY fuera de la carta */
.mt-stitch-root #servicios .grid > div > .flex,
.mt-stitch-root #services .grid > div > .flex {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 0.75rem !important;
  align-items: flex-start !important;
}

.mt-stitch-root #servicios .grid > div > .flex > div[class*="w-16"],
.mt-stitch-root #services .grid > div > .flex > div[class*="w-16"],
.mt-stitch-root #servicios .grid > div > .flex > div[class*="w-20"],
.mt-stitch-root #services .grid > div > .flex > div[class*="w-20"] {
  flex-shrink: 0 !important;
  width: 3.25rem !important;
  height: 3.25rem !important;
}

.mt-stitch-root #servicios .grid > div > .flex > div[class*="w-20"],
.mt-stitch-root #services .grid > div > .flex > div[class*="w-20"] {
  width: 3.75rem !important;
  height: 3.75rem !important;
}

.mt-stitch-root #servicios h3,
.mt-stitch-root #services h3 {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: calc(100% - 3.75rem) !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  transform: scaleX(0.84);
  transform-origin: left top;
  font-feature-settings: "liga" 0, "dlig" 0, "kern" 1 !important;
  -webkit-font-feature-settings: "liga" 0, "dlig" 0, "kern" 1 !important;
  font-variant-ligatures: none !important;
}

.mt-stitch-root #servicios h3[class*="text-right"],
.mt-stitch-root #services h3[class*="text-right"] {
  transform-origin: right top;
}

.mt-stitch-root #servicios .grid > div > p,
.mt-stitch-root #services .grid > div > p,
.mt-stitch-root #servicios .grid > div > a,
.mt-stitch-root #services .grid > div > a {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ——— MOBILE (base ≤767px) ——— */
@media (max-width: 767px) {
  .mt-stitch-root {
    margin: 0 !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    border-width: 3px !important;
  }

  .mt-stitch-root *,
  .mt-stitch-root *::before,
  .mt-stitch-root *::after {
    box-sizing: border-box;
  }

  /* Header mobile — barra brutal limpia */
  .mt-stitch-root header {
    mix-blend-mode: normal !important;
    overflow: visible !important;
    background: #FAFCDA !important;
  }

  .mt-stitch-root header > div {
    min-height: 64px !important;
    height: 64px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .mt-stitch-root header .mt-brand,
  .mt-stitch-root header a.font-display {
    font-size: 16px !important;
    padding: 0 !important;
    transform: skewX(-8deg) !important;
  }

  .mt-stitch-root header > div > div:first-child {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .mt-header-actions {
    flex-shrink: 0 !important;
    border-left: 3px solid #2D2727 !important;
  }

  .mt-stitch-root header .mt-lang-switch {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    padding: 0 0.35rem !important;
    min-height: 0 !important;
    height: auto !important;
    border: 0 !important;
    border-right: none !important;
    background: transparent !important;
    flex-shrink: 0 !important;
  }

  .mt-stitch-root header .mt-lang-switch a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    padding: 0.35rem 0.55rem !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em !important;
    text-decoration: none !important;
    color: #201a1a !important;
    background: #ffffff !important;
  }

  .mt-stitch-root header .mt-lang-switch a.is-active {
    background: #FFD000 !important;
    color: #2D2727 !important;
  }

  .mt-stitch-root header .mt-lang-sep {
    display: none !important;
  }

  .mt-stitch-root header .mt-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    background: #3D30A2 !important;
    color: #FFD000 !important;
    border: 0 !important;
    cursor: pointer;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
  }

  .mt-stitch-root header nav[class*="hidden"] {
    display: none !important;
  }

  .mt-stitch-root header button[class*="hidden"][class*="md:flex"] {
    display: none !important;
  }

  .mt-mobile-nav {
    position: static !important;
    display: block !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    flex-shrink: 0 !important;
  }

  .mt-nav-check {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    pointer-events: none !important;
  }

  .mt-mobile-nav > .mt-menu-btn {
    display: flex !important;
  }

  .mt-nav-check:checked + .mt-menu-btn {
    background: #2D2727 !important;
    color: #FFD000 !important;
  }

  .mt-nav-check:checked + .mt-menu-btn::after {
    content: "✕";
    font-size: 22px;
  }

  .mt-nav-check:checked + .mt-menu-btn {
    font-size: 0 !important;
  }

  /* Drawer full-bleed bajo el header */
  .mt-mobile-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 80;
    width: 100%;
    min-width: 100%;
    flex-direction: column;
    border: 0;
    border-bottom: 4px solid #2D2727;
    box-shadow: 0 10px 0 #2D2727;
    background: #FAFCDA;
  }

  .mt-mobile-nav[open] .mt-mobile-drawer,
  .mt-nav-check:checked ~ .mt-mobile-drawer {
    display: flex !important;
  }

  .mt-mobile-drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.05rem 1.25rem;
    font-family: var(--font-body), Inter, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #2D2727;
    border-bottom: 3px solid #2D2727;
    background: #FAFCDA;
  }

  .mt-mobile-drawer a::after {
    content: "→";
    font-family: var(--font-stretch), StretchPro, Outfit, sans-serif;
    font-size: 18px;
    opacity: 0.85;
  }

  .mt-mobile-drawer a.mt-d-home { background: #B15EFF; }
  .mt-mobile-drawer a.mt-d-svc { background: #FAFCDA; }
  .mt-mobile-drawer a.mt-d-work { background: #3D30A2; color: #fff; }
  .mt-mobile-drawer a.mt-d-blog { background: #ff3333; color: #fff; }
  .mt-mobile-drawer a.mt-d-about { background: #FFD000; }
  .mt-mobile-drawer a.mt-d-contact { background: #25D366; }

  .mt-mobile-drawer a.mt-drawer-cta {
    background: #2D2727 !important;
    color: #FFD000 !important;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-stretch), StretchPro, Outfit, sans-serif;
    font-size: 18px;
    letter-spacing: 0;
    border-bottom: 0;
    padding: 1.25rem;
  }

  .mt-mobile-drawer a.mt-drawer-cta::after {
    content: none;
  }

  .mt-mobile-drawer a:active {
    filter: brightness(0.92);
  }

  /* Hero */
  .mt-stitch-root section.grid {
    grid-template-columns: 1fr !important;
  }

  .mt-stitch-root .mt-col-8,
  .mt-stitch-root .mt-col-4 {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .mt-stitch-root .mt-col-8 {
    padding: 1.25rem !important;
    border-right-width: 0 !important;
  }

  .mt-stitch-root .mt-col-4 {
    height: 280px !important;
    min-height: 280px !important;
    border-top: 4px solid #2D2727 !important;
  }

  .mt-stitch-root .mt-col-8 h1,
  .mt-stitch-root section.grid h1.font-display {
    font-size: clamp(44px, 13vw, 56px) !important;
    line-height: 0.82 !important;
    margin-bottom: 1rem !important;
    word-break: break-word;
  }

  .mt-stitch-root .mt-col-8 p.font-body,
  .mt-stitch-root .mt-col-8 p[class*="text-[24px]"] {
    font-size: 16px !important;
    line-height: 1.25 !important;
    padding: 1rem !important;
    max-width: 100% !important;
  }

  /* Badge hero: no se salga (solo columna hero, no portafolio) */
  .mt-stitch-root .mt-col-8 .absolute.top-0.right-0,
  .mt-stitch-root .mt-col-8 [class*="rotate-12"][class*="brutal-border"] {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: rotate(-2deg) !important;
    translate: none !important;
    margin: 0 0 1rem 0 !important;
    max-width: 100%;
    width: fit-content;
  }

  .mt-stitch-root .mt-col-4 .vertical-text {
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    transform: rotate(180deg) !important;
    font-size: 36px !important;
    line-height: 1 !important;
    max-height: 100%;
    overflow: hidden;
  }

  /* Watermark hero: oculto en mobile (StretchPro explota el ancho) */
  .mt-stitch-root section.grid > .absolute,
  .mt-stitch-root section.grid [class*="text-[20vw]"] {
    display: none !important;
  }

  .mt-stitch-root section.grid {
    overflow-x: hidden !important;
  }

  .mt-stitch-root .flex.flex-col[class*="sm:flex-row"] {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  .mt-stitch-root .flex.flex-col[class*="sm:flex-row"] > button,
  .mt-stitch-root .flex.flex-col[class*="sm:flex-row"] > a {
    width: 100% !important;
    font-size: 14px !important;
    padding: 1rem 1.25rem !important;
  }

  /* Services: stack cards, quitar absolute/rotaciones fuertes */
  .mt-stitch-root #servicios,
  .mt-stitch-root #services {
    min-height: 0 !important;
    padding: 1rem !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    display: block !important;
  }

  .mt-stitch-root #servicios .grid,
  .mt-stitch-root #services .grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    height: auto !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .mt-stitch-root #servicios .grid > div,
  .mt-stitch-root #services .grid > div {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1.25rem !important;
    z-index: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .mt-stitch-root #servicios h3,
  .mt-stitch-root #services h3 {
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 0.9 !important;
    max-width: calc(100% - 64px) !important;
    overflow-wrap: anywhere !important;
    font-feature-settings: "liga" 1, "dlig" 0, "kern" 1 !important;
  }

  .mt-stitch-root #servicios .grid > div > .flex,
  .mt-stitch-root #services .grid > div > .flex {
    flex-wrap: nowrap !important;
    gap: 0.75rem !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .mt-stitch-root #servicios .grid > div > .flex > div:last-child,
  .mt-stitch-root #services .grid > div > .flex > div:last-child {
    flex-shrink: 0 !important;
  }

  .mt-stitch-root #servicios .text-right,
  .mt-stitch-root #services .text-right {
    text-align: left !important;
  }

  .mt-stitch-root #servicios .flex-row-reverse,
  .mt-stitch-root #services .flex-row-reverse,
  .mt-stitch-root #servicios .justify-end,
  .mt-stitch-root #services .justify-end {
    flex-direction: row !important;
    justify-content: space-between !important;
  }

  /* Watermark craftsmanship + badges rotados: solo en servicios */
  .mt-stitch-root #servicios .opacity-20,
  .mt-stitch-root #services .opacity-20,
  .mt-stitch-root #servicios [class*="rotate-90"],
  .mt-stitch-root #services [class*="rotate-90"],
  .mt-stitch-root #servicios [class*="-right-8"][class*="opacity-20"],
  .mt-stitch-root #services [class*="-right-8"][class*="opacity-20"],
  .mt-stitch-root #servicios [class*="rotate-45"][class*="opacity-20"],
  .mt-stitch-root #services [class*="rotate-45"][class*="opacity-20"] {
    display: none !important;
  }

  /* Portfolio */
  .mt-stitch-root #portafolio > .grid,
  .mt-stitch-root #work > .grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .mt-stitch-root #portafolio .vertical-text,
  .mt-stitch-root #work .vertical-text {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    font-size: 36px !important;
    margin-bottom: 1rem !important;
  }

  .mt-stitch-root #portafolio [class*="text-[150px]"],
  .mt-stitch-root #work [class*="text-[150px]"] {
    font-size: 64px !important;
  }

  .mt-stitch-root #portafolio [class*="md:col-span-9"],
  .mt-stitch-root #work [class*="md:col-span-9"],
  .mt-stitch-root #portafolio [class*="md:col-span-3"],
  .mt-stitch-root #work [class*="md:col-span-3"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  .mt-stitch-root #portafolio .grid.grid-cols-1,
  .mt-stitch-root #work .grid.grid-cols-1 {
    gap: 2rem !important;
  }

  .mt-stitch-root #portafolio h3[class*="text-[48px]"],
  .mt-stitch-root #work h3[class*="text-[48px]"] {
    font-size: 28px !important;
  }

  .mt-stitch-root #portafolio [class*="h-[400px]"],
  .mt-stitch-root #work [class*="h-[400px]"] {
    height: 240px !important;
  }

  /* Testimonial + CTA */
  .mt-stitch-root #nosotros,
  .mt-stitch-root #about {
    min-height: 0 !important;
  }

  .mt-stitch-root #nosotros blockquote,
  .mt-stitch-root #about blockquote {
    font-size: 22px !important;
    line-height: 0.95 !important;
    padding: 1rem !important;
  }

  .mt-stitch-root #nosotros .absolute.top-12.right-12,
  .mt-stitch-root #about .absolute.top-12.right-12 {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    align-items: center !important;
    margin: 1.5rem auto !important;
    transform: rotate(2deg) !important;
  }

  .mt-stitch-root #nosotros img,
  .mt-stitch-root #about img {
    width: 160px !important;
    height: 160px !important;
  }

  .mt-stitch-root #contacto,
  .mt-stitch-root #contact {
    display: flex !important;
    flex-direction: column !important;
  }

  .mt-stitch-root #contacto h2,
  .mt-stitch-root #contact h2 {
    font-size: clamp(32px, 10vw, 44px) !important;
    line-height: 0.85 !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .mt-stitch-root #contacto h2 span,
  .mt-stitch-root #contact h2 span {
    font-size: inherit !important;
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
    max-width: 100%;
    display: inline !important;
  }

  .mt-stitch-root #contacto [class*="md:col-span-8"],
  .mt-stitch-root #contact [class*="md:col-span-8"],
  .mt-stitch-root #contacto [class*="md:col-span-4"],
  .mt-stitch-root #contact [class*="md:col-span-4"] {
    width: 100% !important;
    padding: 1.5rem !important;
  }

  .mt-stitch-root #contacto a[class*="min-h-"],
  .mt-stitch-root #contact a[class*="min-h-"],
  .mt-stitch-root #contacto button[class*="min-h-"],
  .mt-stitch-root #contact button[class*="min-h-"] {
    min-height: 200px !important;
    font-size: 32px !important;
    transform: rotate(-2deg) !important;
  }

  .mt-stitch-root #contacto .mt-icon[class*="text-[120px]"],
  .mt-stitch-root #contact .mt-icon[class*="text-[120px]"] {
    font-size: 56px !important;
  }

  /* Footer */
  .mt-stitch-root footer.grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .mt-stitch-root footer > div {
    width: 100% !important;
    padding: 1.5rem !important;
  }

  .mt-stitch-root footer a.font-display {
    font-size: 32px !important;
  }

  .mt-stitch-root footer [class*="text-[150px]"] {
    font-size: 80px !important;
  }

  .mt-stitch-root footer [class*="text-[40px]"] {
    font-size: 28px !important;
  }

  .mt-stitch-root footer [class*="text-[100px]"] {
    font-size: 56px !important;
  }
}

/* ——— TABLET 768–1023 ——— */
@media (min-width: 768px) and (max-width: 1023px) {
  .mt-stitch-root {
    margin: 0.75rem !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
    border-width: 4px !important;
  }

  /* Nav: sigue hamburguesa — el nav desktop no cabe en 768 */
  .mt-stitch-root header {
    mix-blend-mode: normal !important;
    overflow: visible !important;
    background: #FAFCDA !important;
  }

  .mt-stitch-root header > div {
    min-height: 72px !important;
    height: 72px !important;
    width: 100% !important;
  }

  .mt-stitch-root header .mt-brand,
  .mt-stitch-root header a.font-display {
    font-size: 22px !important;
    transform: skewX(-8deg) !important;
  }

  .mt-stitch-root header > div > div:first-child {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    flex: 1 1 auto !important;
  }

  .mt-header-actions {
    flex-shrink: 0 !important;
    border-left: 4px solid #2D2727 !important;
  }

  .mt-stitch-root header .mt-lang-switch {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    padding: 0 0.35rem !important;
    min-height: 0 !important;
    height: auto !important;
    border: 0 !important;
    border-right: none !important;
    background: transparent !important;
  }

  .mt-stitch-root header .mt-lang-switch a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 48px !important;
    padding: 0.4rem 0.75rem !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    text-decoration: none !important;
    color: #201a1a !important;
    background: #ffffff !important;
  }

  .mt-stitch-root header .mt-lang-switch a.is-active {
    background: #FFD000 !important;
    color: #2D2727 !important;
  }

  .mt-stitch-root header .mt-lang-sep {
    display: none !important;
  }

  .mt-stitch-root header nav[class*="hidden"] {
    display: none !important;
  }

  .mt-stitch-root header button[class*="hidden"][class*="md:flex"] {
    display: none !important;
  }

  .mt-mobile-nav {
    position: static !important;
    display: block !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;
    flex-shrink: 0 !important;
  }

  .mt-stitch-root header .mt-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;
    padding: 0 !important;
    background: #3D30A2 !important;
    color: #FFD000 !important;
    border: 0 !important;
    font-size: 30px !important;
    line-height: 1 !important;
    cursor: pointer;
  }

  .mt-nav-check {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
  }

  .mt-nav-check:checked + .mt-menu-btn {
    background: #2D2727 !important;
    color: #FFD000 !important;
    font-size: 0 !important;
  }

  .mt-nav-check:checked + .mt-menu-btn::after {
    content: "✕";
    font-size: 24px;
  }

  .mt-mobile-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 80;
    width: 100%;
    flex-direction: column;
    border-bottom: 4px solid #2D2727;
    box-shadow: 0 12px 0 #2D2727;
    background: #FAFCDA;
  }

  .mt-nav-check:checked ~ .mt-mobile-drawer,
  .mt-mobile-nav[open] .mt-mobile-drawer {
    display: flex !important;
  }

  .mt-mobile-drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.5rem;
    font-family: var(--font-body), Inter, sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #2D2727;
    border-bottom: 3px solid #2D2727;
  }

  .mt-mobile-drawer a::after {
    content: "→";
    font-family: var(--font-stretch), StretchPro, Outfit, sans-serif;
    font-size: 20px;
  }

  .mt-mobile-drawer a.mt-d-home { background: #B15EFF; }
  .mt-mobile-drawer a.mt-d-svc { background: #FAFCDA; }
  .mt-mobile-drawer a.mt-d-work { background: #3D30A2; color: #fff; }
  .mt-mobile-drawer a.mt-d-blog { background: #ff3333; color: #fff; }
  .mt-mobile-drawer a.mt-d-about { background: #FFD000; }
  .mt-mobile-drawer a.mt-d-contact { background: #25D366; }

  .mt-mobile-drawer a.mt-drawer-cta {
    background: #2D2727 !important;
    color: #FFD000 !important;
    justify-content: center;
    font-family: var(--font-stretch), StretchPro, Outfit, sans-serif;
    font-size: 20px;
    border-bottom: 0;
    padding: 1.35rem;
  }

  .mt-mobile-drawer a.mt-drawer-cta::after {
    content: none;
  }

  /* Hero 2 columnas */
  .mt-stitch-root section.grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    overflow-x: hidden !important;
  }

  .mt-stitch-root .mt-col-8 {
    grid-column: 1 / span 7 !important;
    padding: 2rem !important;
    border-right: 4px solid #2D2727 !important;
  }

  .mt-stitch-root .mt-col-4 {
    grid-column: 8 / span 5 !important;
    height: auto !important;
    min-height: 100% !important;
    border-top-width: 0 !important;
  }

  .mt-stitch-root .mt-col-8 h1,
  .mt-stitch-root section.grid h1.font-display {
    font-size: clamp(52px, 8vw, 72px) !important;
    line-height: 0.82 !important;
  }

  .mt-stitch-root .mt-col-8 p.font-body,
  .mt-stitch-root .mt-col-8 p[class*="text-[24px]"] {
    font-size: 18px !important;
    line-height: 1.3 !important;
    padding: 1.15rem !important;
  }

  .mt-stitch-root .mt-col-8 .absolute.top-0.right-0,
  .mt-stitch-root .mt-col-8 [class*="rotate-12"][class*="brutal-border"] {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: rotate(-2deg) !important;
    margin: 0 0 1rem 0 !important;
    width: fit-content;
  }

  .mt-stitch-root section.grid > .absolute,
  .mt-stitch-root section.grid [class*="text-[20vw]"] {
    display: none !important;
  }

  .mt-stitch-root .flex.flex-col[class*="sm:flex-row"] {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.85rem !important;
  }

  .mt-stitch-root .flex.flex-col[class*="sm:flex-row"] > button,
  .mt-stitch-root .flex.flex-col[class*="sm:flex-row"] > a {
    width: auto !important;
    flex: 1 1 auto !important;
    font-size: 13px !important;
    padding: 1rem 1.25rem !important;
  }

  /* Services 2×2 */
  .mt-stitch-root #servicios,
  .mt-stitch-root #services {
    min-height: 0 !important;
    padding: 1.5rem !important;
    overflow-x: hidden !important;
    display: block !important;
  }

  .mt-stitch-root #servicios .grid,
  .mt-stitch-root #services .grid,
  .mt-stitch-root #servicios [class*="grid-cols"],
  .mt-stitch-root #services [class*="grid-cols"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
    height: auto !important;
    position: relative !important;
  }

  .mt-stitch-root #servicios .grid > div,
  .mt-stitch-root #services .grid > div {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    grid-column: auto / auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1.35rem !important;
    transform: none !important;
  }

  .mt-stitch-root #servicios h3,
  .mt-stitch-root #services h3 {
    font-size: clamp(22px, 3.2vw, 30px) !important;
    line-height: 0.9 !important;
    max-width: calc(100% - 56px) !important;
    overflow-wrap: anywhere !important;
    font-variant-ligatures: none !important;
    font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0, "kern" 1 !important;
  }

  .mt-stitch-root #servicios .opacity-20,
  .mt-stitch-root #services .opacity-20,
  .mt-stitch-root #servicios [class*="hidden"][class*="md:block"],
  .mt-stitch-root #services [class*="hidden"][class*="md:block"],
  .mt-stitch-root #servicios [class*="rotate-90"],
  .mt-stitch-root #services [class*="rotate-90"],
  .mt-stitch-root #servicios [class*="-right-8"][class*="opacity-20"],
  .mt-stitch-root #services [class*="-right-8"][class*="opacity-20"],
  .mt-stitch-root #servicios [class*="rotate-45"][class*="opacity-20"],
  .mt-stitch-root #services [class*="rotate-45"][class*="opacity-20"] {
    display: none !important;
  }

  .mt-stitch-root #servicios .text-right,
  .mt-stitch-root #services .text-right {
    text-align: left !important;
  }

  .mt-stitch-root #servicios .flex-row-reverse,
  .mt-stitch-root #services .flex-row-reverse {
    flex-direction: row !important;
  }

  /* Portfolio tablet: barra superior + 2 proyectos (sin sidebar vertical alto) */
  .mt-stitch-root #portafolio > .grid,
  .mt-stitch-root #work > .grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .mt-stitch-root #portafolio [class*="md:col-span-3"],
  .mt-stitch-root #work [class*="md:col-span-3"] {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem 1.25rem !important;
    padding: 1.15rem 1.35rem !important;
    min-height: 0 !important;
  }

  .mt-stitch-root #portafolio [class*="md:col-span-3"] > .relative.z-10,
  .mt-stitch-root #work [class*="md:col-span-3"] > .relative.z-10 {
    flex: 1 1 220px !important;
    min-width: 0 !important;
  }

  .mt-stitch-root #portafolio [class*="hidden"][class*="md:block"],
  .mt-stitch-root #work [class*="hidden"][class*="md:block"],
  .mt-stitch-root #portafolio .vertical-text,
  .mt-stitch-root #work .vertical-text,
  .mt-stitch-root #portafolio [class*="text-[150px]"],
  .mt-stitch-root #work [class*="text-[150px]"] {
    display: none !important;
  }

  .mt-stitch-root #portafolio [class*="md:hidden"],
  .mt-stitch-root #work [class*="md:hidden"] {
    display: block !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
    font-size: clamp(28px, 4.5vw, 40px) !important;
    line-height: 0.9 !important;
    margin-bottom: 0.5rem !important;
  }

  .mt-stitch-root #portafolio [class*="md:col-span-3"] p,
  .mt-stitch-root #work [class*="md:col-span-3"] p {
    font-size: 14px !important;
    line-height: 1.25 !important;
    margin-top: 0.5rem !important;
    padding: 0.65rem 0.75rem !important;
    transform: none !important;
  }

  .mt-stitch-root #portafolio [class*="md:col-span-3"] > button,
  .mt-stitch-root #work [class*="md:col-span-3"] > button {
    width: auto !important;
    flex: 0 0 auto !important;
    margin-top: 0 !important;
    padding: 0.85rem 1.15rem !important;
    font-size: 14px !important;
  }

  .mt-stitch-root #portafolio [class*="md:col-span-9"],
  .mt-stitch-root #work [class*="md:col-span-9"] {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    padding: 1.25rem !important;
  }

  .mt-stitch-root #portafolio [class*="md:col-span-9"] > .grid,
  .mt-stitch-root #work [class*="md:col-span-9"] > .grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.15rem !important;
  }

  .mt-stitch-root #portafolio [class*="md:mt-24"],
  .mt-stitch-root #work [class*="md:mt-24"],
  .mt-stitch-root #portafolio [class*="mt-12"],
  .mt-stitch-root #work [class*="mt-12"] {
    margin-top: 0 !important;
  }

  .mt-stitch-root #portafolio [class*="h-[400px]"],
  .mt-stitch-root #work [class*="h-[400px]"] {
    height: 170px !important;
  }

  .mt-stitch-root #portafolio h3[class*="text-[48px]"],
  .mt-stitch-root #work h3[class*="text-[48px]"] {
    font-size: 22px !important;
    margin-top: -1.75rem !important;
  }

  .mt-stitch-root #portafolio [class*="md:col-span-9"] [class*="p-8"],
  .mt-stitch-root #work [class*="md:col-span-9"] [class*="p-8"] {
    padding: 0.85rem 1rem 1rem !important;
    gap: 0.5rem !important;
  }

  /* About / CTA */
  .mt-stitch-root #nosotros,
  .mt-stitch-root #about {
    min-height: 0 !important;
  }

  .mt-stitch-root #nosotros blockquote,
  .mt-stitch-root #about blockquote {
    font-size: 28px !important;
    line-height: 0.95 !important;
  }

  .mt-stitch-root #nosotros .absolute.top-12.right-12,
  .mt-stitch-root #about .absolute.top-12.right-12 {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 1.5rem auto !important;
  }

  .mt-stitch-root #nosotros img,
  .mt-stitch-root #about img {
    width: 180px !important;
    height: 180px !important;
  }

  .mt-stitch-root #contacto,
  .mt-stitch-root #contact {
    display: flex !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
  }

  .mt-stitch-root #contacto h2,
  .mt-stitch-root #contact h2 {
    font-size: clamp(36px, 6vw, 48px) !important;
    line-height: 0.85 !important;
    word-break: break-word;
  }

  .mt-stitch-root #contacto h2 span,
  .mt-stitch-root #contact h2 span {
    font-size: inherit !important;
    display: inline !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }

  .mt-stitch-root #contacto [class*="md:col-span-8"],
  .mt-stitch-root #contact [class*="md:col-span-8"],
  .mt-stitch-root #contacto [class*="md:col-span-4"],
  .mt-stitch-root #contact [class*="md:col-span-4"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.75rem !important;
    grid-column: auto !important;
  }

  .mt-stitch-root #contacto a[class*="min-h-"],
  .mt-stitch-root #contact a[class*="min-h-"],
  .mt-stitch-root #contacto button[class*="min-h-"],
  .mt-stitch-root #contact button[class*="min-h-"] {
    min-height: 160px !important;
    font-size: 26px !important;
    transform: none !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mt-stitch-root #contacto .mt-icon[class*="text-[120px]"],
  .mt-stitch-root #contact .mt-icon[class*="text-[120px]"] {
    font-size: 48px !important;
  }

  /* Footer 2×2 */
  .mt-stitch-root footer.grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .mt-stitch-root footer > div {
    width: 100% !important;
    padding: 1.75rem !important;
  }

  .mt-stitch-root footer a.font-display {
    font-size: 36px !important;
  }

  .mt-stitch-root footer [class*="text-[150px]"] {
    font-size: 72px !important;
  }

  .mt-stitch-root footer [class*="text-[40px]"] {
    font-size: 28px !important;
  }

  .mt-stitch-root footer [class*="text-[100px]"] {
    font-size: 56px !important;
  }
}

/* ——— DESKTOP from 1024px ——— */
@media (min-width: 1024px) {
  .mt-mobile-nav,
  .mt-mobile-drawer {
    display: none !important;
  }

  .mt-stitch-root section.grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  .mt-stitch-root .mt-col-8 {
    grid-column: 1 / span 8 !important;
  }

  .mt-stitch-root .mt-col-4 {
    grid-column: 9 / span 4 !important;
    height: auto !important;
    min-height: 100% !important;
    border-top-width: 0 !important;
  }

  .mt-stitch-root footer.grid,
  .mt-stitch-root section#portafolio > .grid,
  .mt-stitch-root [id="portafolio"] > .grid,
  .mt-stitch-root section#work > .grid,
  .mt-stitch-root [id="work"] > .grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  .mt-stitch-root [class*="md:col-span-3"] {
    grid-column: span 3 / span 3 !important;
  }

  .mt-stitch-root [class*="md:col-span-9"] {
    grid-column: span 9 / span 9 !important;
  }

  .mt-stitch-root nav[class*="hidden"] {
    display: flex !important;
  }

  .mt-stitch-root button[class*="md:hidden"],
  .mt-stitch-root .mt-menu-btn {
    display: none !important;
  }

  .mt-stitch-root button[class*="hidden"][class*="md:flex"] {
    display: flex !important;
  }

  .mt-stitch-root .flex.flex-col[class*="sm:flex-row"] {
    flex-direction: row !important;
  }

  .mt-stitch-root [class*="md:absolute"] {
    position: absolute !important;
  }

  /* Services: z-stack + hover eleva la carta sobre el banner craftsmanship (z-50) */
  .mt-stitch-root [class*="md:z-10"] { z-index: 10 !important; }
  .mt-stitch-root [class*="md:z-20"] { z-index: 20 !important; }
  .mt-stitch-root [class*="md:z-30"] { z-index: 30 !important; }
  .mt-stitch-root [class*="md:z-40"] { z-index: 40 !important; }

  .mt-stitch-root #servicios [class*="z-50"],
  .mt-stitch-root #services [class*="z-50"] {
    z-index: 50 !important;
  }

  .mt-stitch-root #servicios .grid > div,
  .mt-stitch-root #services .grid > div {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  }

  .mt-stitch-root #servicios .grid > div:hover,
  .mt-stitch-root #services .grid > div:hover {
    z-index: 60 !important;
  }

  .mt-stitch-root #servicios h3,
  .mt-stitch-root #services h3 {
    font-size: clamp(24px, 2vw, 30px) !important;
    line-height: 0.88 !important;
    max-width: calc(100% - 3.75rem) !important;
    font-variant-ligatures: none !important;
    font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0, "kern" 1 !important;
  }

  .mt-stitch-root #servicios h3[class*="text-[56px]"],
  .mt-stitch-root #services h3[class*="text-[56px]"] {
    font-size: clamp(24px, 2.15vw, 32px) !important;
  }

  .mt-stitch-root [class*="md:w-[45%]"] { width: 45% !important; }
  .mt-stitch-root [class*="md:w-[50%]"] { width: 50% !important; }
  .mt-stitch-root [class*="md:w-[40%]"] { width: 40% !important; }
  .mt-stitch-root [class*="md:top-[20%]"] { top: 20% !important; }
  .mt-stitch-root [class*="md:bottom-[10%]"] { bottom: 10% !important; }
  .mt-stitch-root [class*="md:left-[10%]"] { left: 10% !important; }
  .mt-stitch-root [class*="md:right-[5%]"] { right: 5% !important; }
  .mt-stitch-root [class*="md:top-0"] { top: 0 !important; }
  .mt-stitch-root [class*="md:left-0"] { left: 0 !important; }
  .mt-stitch-root [class*="md:right-0"] { right: 0 !important; }
  .mt-stitch-root [class*="md:bottom-0"] { bottom: 0 !important; }
  .mt-stitch-root [class*="md:mt-0"] { margin-top: 0 !important; }
  .mt-stitch-root [class*="md:mt-24"] { margin-top: 6rem !important; }
  .mt-stitch-root [class*="md:hidden"] { display: none !important; }
  .mt-stitch-root [class*="hidden"][class*="md:block"] { display: block !important; }
  .mt-stitch-root [class*="md:-rotate-3"] { transform: rotate(-3deg) !important; }
  .mt-stitch-root [class*="md:rotate-6"] { transform: rotate(6deg) !important; }
  .mt-stitch-root [class*="md:-rotate-6"] { transform: rotate(-6deg) !important; }
  .mt-stitch-root [class*="md:rotate-2"] { transform: rotate(2deg) !important; }
  .mt-stitch-root [class*="md:p-16"] { padding: 4rem !important; }
  .mt-stitch-root [class*="md:p-12"] { padding: 3rem !important; }
  .mt-stitch-root [class*="md:p-24"] { padding: 6rem !important; }
  .mt-stitch-root [class*="md:text-[120px]"] { font-size: 120px !important; }
  .mt-stitch-root [class*="md:text-[140px]"] { font-size: 140px !important; }
  .mt-stitch-root [class*="md:text-[32px]"] { font-size: 32px !important; }
  .mt-stitch-root [class*="md:divide-x-4"] > :not([hidden]) ~ :not([hidden]) {
    border-left: 4px solid #2D2727 !important;
    border-top-width: 0 !important;
  }
  .mt-stitch-root [class*="md:brutal-border-r"] {
    border-right: 4px solid #2D2727 !important;
  }
  .mt-stitch-root [class*="md:brutal-border-b-0"] {
    border-bottom-width: 0 !important;
  }
}

/* ——— SERVICES PAGE — Neo-Brutalist Editorial Pro ——— */
/* StretchPro ships stretch glyphs as ligatures — they mangle repeated letters (RR, LL) */
.mt-stitch-root .mt-svc-hero-wm span,
.mt-stitch-root .mt-svc-h1,
.mt-stitch-root .mt-svc-grid-wm h2,
.mt-stitch-root .mt-svc-label,
.mt-stitch-root .mt-svc-title {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0, "kern" 1;
}

/* —— Hero —— */
.mt-stitch-root .mt-svc-hero-sec {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 2rem 1rem;
  background: #FAFCDA;
}
.mt-stitch-root .mt-svc-hero-wm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}
.mt-stitch-root .mt-svc-hero-wm span {
  font-family: var(--font-stretch);
  font-size: 16vw;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  color: #3D30A2;
  white-space: nowrap;
}
.mt-stitch-root .mt-svc-hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}
.mt-stitch-root .mt-svc-h1 {
  position: relative;
  z-index: 10;
  margin: 0 0 2rem;
  font-size: clamp(28px, 6.5vw, 88px);
  line-height: 0.85;
  text-transform: uppercase;
  color: #2D2727;
  word-break: break-word;
}
.mt-stitch-root .mt-svc-h1-box {
  display: inline-block;
  padding: 0 1rem;
  background: #3D30A2;
  color: #ffffff;
  border: 4px solid #2D2727;
  transform: rotate(-2deg);
}
.mt-stitch-root .mt-svc-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #3D30A2;
  color: #FAFCDA;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translate(10%, -15%) rotate(12deg);
}
.mt-stitch-root .mt-svc-intro {
  margin: 3rem 0 0;
  max-width: 42rem;
  padding: 1.5rem;
  background: #ffffff;
  color: #2D2727;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
  transform: rotate(-1deg);
}

/* —— Collage section —— */
.mt-stitch-root .mt-svc-grid-sec {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 1rem;
  background-color: #ffffff;
  background-image: radial-gradient(circle at center, #2D2727 2px, transparent 2px);
  background-size: 40px 40px;
}
.mt-stitch-root .mt-svc-grid-wm {
  position: absolute;
  top: 3rem;
  left: 0;
  width: 100%;
  z-index: 0;
  opacity: 0.2;
  transform: rotate(-12deg) scale(1.2);
  pointer-events: none;
  user-select: none;
}
.mt-stitch-root .mt-svc-grid-wm h2 {
  margin: 0;
  font-size: 11vw;
  line-height: 1;
  text-transform: uppercase;
  color: #2D2727;
  white-space: nowrap;
}

.mt-stitch-root .mt-svc-loop {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 72rem;
  margin: 3rem auto 0;
  counter-reset: mtsvc;
}

.mt-stitch-root .mt-svc-card {
  counter-increment: mtsvc;
  position: relative;
  box-sizing: border-box;
  padding: 2rem;
  background: var(--mt-svc-bg);
  color: var(--mt-svc-fg);
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  --mt-svc-bg: #3D30A2;
  --mt-svc-fg: #ffffff;
  --mt-svc-num: #ffffff;
  --mt-svc-chip-bg: #FAFCDA;
  --mt-svc-rot: 0deg;
  --mt-svc-badge-rot: 12deg;
}
.mt-stitch-root .mt-svc-card--1 {
  --mt-svc-bg: #3D30A2;
  --mt-svc-fg: #ffffff;
  --mt-svc-num: #ffffff;
  --mt-svc-chip-bg: #FAFCDA;
  --mt-svc-badge-rot: 12deg;
}
.mt-stitch-root .mt-svc-card--2 {
  --mt-svc-bg: #FFD000;
  --mt-svc-fg: #2D2727;
  --mt-svc-num: #2D2727;
  --mt-svc-chip-bg: #ffffff;
  --mt-svc-badge-rot: -12deg;
}
.mt-stitch-root .mt-svc-card--3 {
  --mt-svc-bg: #B15EFF;
  --mt-svc-fg: #2D2727;
  --mt-svc-num: #2D2727;
  --mt-svc-chip-bg: #ffffff;
  --mt-svc-badge-rot: 6deg;
}
.mt-stitch-root .mt-svc-card--4 {
  --mt-svc-bg: #3D30A2;
  --mt-svc-fg: #ffffff;
  --mt-svc-num: #ffffff;
  --mt-svc-chip-bg: #FAFCDA;
  --mt-svc-badge-rot: 12deg;
}

/* MOD-01 badge */
.mt-stitch-root .mt-svc-card::before {
  content: "MOD-" counter(mtsvc, decimal-leading-zero);
  position: absolute;
  top: -1.5rem;
  z-index: 2;
  padding: 0.25rem 1rem;
  background: #ffffff;
  color: #2D2727;
  border: 4px solid #2D2727;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.05em;
  transform: rotate(var(--mt-svc-badge-rot));
}
.mt-stitch-root .mt-svc-card--1::before { right: -1rem; }
.mt-stitch-root .mt-svc-card--2::before { left: -1rem; }
.mt-stitch-root .mt-svc-card--3::before { right: 3rem; }
.mt-stitch-root .mt-svc-card--4::before { right: -1rem; }

/* oversized index */
.mt-stitch-root .mt-svc-card::after {
  content: counter(mtsvc, decimal-leading-zero);
  position: absolute;
  bottom: -2.5rem;
  font-family: var(--font-stretch);
  font-size: 140px;
  line-height: 0.8;
  font-weight: 900;
  opacity: 0.2;
  color: var(--mt-svc-num);
  pointer-events: none;
  user-select: none;
}
.mt-stitch-root .mt-svc-card--1::after { right: 0.5rem; bottom: 0; }
.mt-stitch-root .mt-svc-card--2::after { left: -1.5rem; }
.mt-stitch-root .mt-svc-card--3::after { right: -1.5rem; }
.mt-stitch-root .mt-svc-card--4::after { right: 0.5rem; bottom: 0; }

.mt-stitch-root .mt-svc-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  height: 100%;
}
.mt-stitch-root .mt-svc-card--2 .mt-svc-card-inner { flex-direction: row-reverse; }

.mt-stitch-root .mt-svc-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  margin: 0;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mt-svc-fg);
}

.mt-stitch-root .mt-svc-body {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.mt-stitch-root .mt-svc-card--2 .mt-svc-body { text-align: right; }

.mt-stitch-root .mt-svc-title {
  margin: 0 0 1.5rem;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--mt-svc-fg);
}
.mt-stitch-root .mt-svc-card--3 .mt-svc-title {
  display: inline-block;
  padding: 0.5rem;
  background: #ffffff;
  color: #2D2727;
  border: 4px solid #2D2727;
}

.mt-stitch-root .mt-svc-summary {
  margin: 0 0 2rem;
  max-width: 32rem;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--mt-svc-fg);
}
.mt-stitch-root .mt-svc-card--2 .mt-svc-summary {
  margin-left: auto;
  max-width: 28rem;
  padding: 1rem;
  background: #ffffff;
  border: 4px solid #2D2727;
  font-weight: 700;
}
.mt-stitch-root .mt-svc-card--3 .mt-svc-summary {
  max-width: 28rem;
  font-weight: 700;
  color: #1A1414;
}

/* Mascots as CSS backgrounds (w320) — avoids publisher srcset + sizes=100vw */
.mt-stitch-root .mt-svc-media {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 220px;
  flex: 0 0 auto;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
  max-height: 220px;
  padding: 1rem;
  margin: 0 0 1.5rem;
  border: 4px solid #2D2727;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.mt-stitch-root .mt-svc-media--amarillo {
  background-image: url("/uploads/vrueT3N3i-gJY-y2enLb0-monito_amarillo-w320.webp") !important;
}
.mt-stitch-root .mt-svc-media--morado {
  background-image: url("/uploads/yo2aM6iuMmW5nuh7pjBkx-monito_morado-w320.webp") !important;
}
.mt-stitch-root .mt-svc-media--negro {
  background-image: url("/uploads/_nWNmYZw8mfzZvBAr97kv-monito_negro-w320.webp") !important;
}
.mt-stitch-root .mt-svc-media--blanco {
  background-image: url("/uploads/fKLl_ggG1Q6ycfs_kmNw6-monito_blanco-w320.webp") !important;
}
.mt-stitch-root img.mt-svc-media {
  object-fit: contain;
  object-position: center;
  background-image: none;
}

/* PageSpeed contrast: default header text readable without mix-blend.
   Do NOT lock color on :hover — nav items use hover:bg-* + hover:text-*. */
.mt-stitch-root header.mix-blend-difference,
.mt-stitch-root header[class*="mix-blend-difference"] {
  mix-blend-mode: normal !important;
  background: #FAFCDA !important;
  color: #2D2727 !important;
}
.mt-stitch-root header .mt-text-on-surface,
.mt-stitch-root header a:not(:hover),
.mt-stitch-root header button:not(:hover) {
  color: #2D2727 !important;
}
/* Nav hover: mt-bg-* uses !important and was swallowing hover:bg-* */
.mt-stitch-root header a[class*="hover:bg-error"]:hover {
  background-color: #E10600 !important;
  color: #FFFFFF !important;
}
.mt-stitch-root header a[class*="hover:bg-secondary"]:hover {
  background-color: #B15EFF !important;
  color: #1A1414 !important;
}
.mt-stitch-root header a[class*="hover:bg-tertiary"]:hover {
  background-color: #FFD000 !important;
  color: #1A1414 !important;
}
.mt-stitch-root header a[class*="hover:bg-primary"]:hover {
  background-color: #3D30A2 !important;
  color: #FFFFFF !important;
}
.mt-stitch-root header a[class*="hover:bg-on-surface"]:hover {
  background-color: #2D2727 !important;
  color: #FAFCDA !important;
}
.mt-stitch-root header .mt-bg-success,
.mt-stitch-root header a[href="/servicios"],
.mt-stitch-root header a[href="/en/services"] {
  /* keep active green chip readable */
}
.mt-stitch-root header .mt-bg-tertiary,
.mt-stitch-root header button.mt-bg-tertiary {
  background: #FFD000 !important;
  color: #2D2727 !important;
}
.mt-stitch-root header button.mt-bg-tertiary:hover {
  background: #FFD000 !important;
  color: #1A1414 !important;
}

/* Badge + violet card: bump contrast */
.mt-stitch-root .mt-svc-badge {
  background: #3D30A2 !important;
  color: #FAFCDA !important;
}
.mt-stitch-root .mt-svc-card--3 {
  --mt-svc-fg: #1A1414;
}
.mt-stitch-root .mt-svc-card--3 .mt-svc-summary {
  color: #1A1414 !important;
  font-weight: 700 !important;
}

/* Footer newsletter CTA contrast */
.mt-stitch-root footer a.mt-text-secondary,
.mt-stitch-root footer a[class*="text-secondary"] {
  color: #3D30A2 !important;
  background: #ffffff !important;
}

/* ——— A11Y CONTRAST (WCAG AA) ——— */
/* Lang switch: cream+white / yellow-on-cream / faded links failed audits */
.mt-stitch-root .mt-lang-switch {
  background: transparent !important;
  color: #201a1a !important;
  border-left-color: transparent !important;
}
.mt-stitch-root .mt-lang-switch a {
  color: #201a1a !important;
  opacity: 1 !important;
}
.mt-stitch-root header .mt-lang-switch a,
.mt-stitch-root header .mt-lang-switch a:not(:hover) {
  color: #201a1a !important;
  opacity: 1 !important;
}
.mt-stitch-root .mt-lang-switch a:not(.is-active) {
  color: #201a1a !important;
  opacity: 1 !important;
}
.mt-stitch-root .mt-lang-switch a.is-active,
.mt-stitch-root .mt-lang-switch .is-active,
.mt-stitch-root header .mt-lang-switch a.is-active,
.mt-stitch-root header .mt-lang-switch a.is-active:not(:hover) {
  background: #FFD000 !important;
  color: #201a1a !important;
  opacity: 1 !important;
}
.mt-stitch-root .mt-lang-switch a:hover {
  color: #201a1a !important;
  opacity: 1 !important;
}
.mt-stitch-root .mt-lang-switch a.is-active:hover {
  color: #201a1a !important;
}

/* Secondary purple #B15EFF fails with white and with mid-dark — use black */
/* Exact active classes only — [class*="bg-secondary"] also matches hover:bg-secondary. */
.mt-stitch-root header a.mt-bg-secondary,
.mt-stitch-root header a.mt-bg-secondary:not(:hover),
.mt-stitch-root header a.bg-secondary,
.mt-stitch-root header a.bg-secondary:not(:hover),
.mt-stitch-root header a.is-active,
.mt-stitch-root header a[aria-current="page"] {
  color: #000000 !important;
}
.mt-stitch-root .mt-home-svc-cta.mt-bg-secondary,
.mt-stitch-root .mt-home-svc-cta.mt-text-on-surface,
.mt-stitch-root a.mt-home-svc-cta[class*="mt-bg-secondary"] {
  color: #000000 !important;
}
.mt-stitch-root [class*="bg-secondary"][class*="text-on-surface"],
.mt-stitch-root [class*="bg-secondary"].mt-text-on-surface,
.mt-stitch-root .mt-bg-secondary.mt-text-on-surface,
.mt-stitch-root .brutal-border.bg-secondary[class*="text-on-surface"],
.mt-stitch-root [class*="bg-secondary"][class*="text-white"],
.mt-stitch-root .mt-bg-secondary[class*="text-white"],
.mt-stitch-root .bg-secondary.text-white {
  color: #000000 !important;
}
.mt-stitch-root footer .mt-bg-secondary,
.mt-stitch-root footer [class*="bg-secondary"] {
  color: #000000 !important;
}
.mt-stitch-root footer .mt-bg-secondary h2,
.mt-stitch-root footer [class*="bg-secondary"] h2,
.mt-stitch-root footer .mt-bg-secondary a,
.mt-stitch-root footer [class*="bg-secondary"] a,
.mt-stitch-root footer .mt-bg-secondary p,
.mt-stitch-root footer [class*="bg-secondary"] p {
  color: #000000 !important;
}
.mt-stitch-root footer [class*="bg-secondary"] [class*="border-white"] {
  border-color: #2D2727 !important;
}
.mt-stitch-root .group:hover [class*="group-hover:bg-secondary"] {
  color: #000000 !important;
}
.mt-stitch-root .group:hover [class*="group-hover:bg-secondary"] .mt-icon,
.mt-stitch-root .group:hover [class*="group-hover:bg-secondary"] .material-symbols-outlined {
  color: #000000 !important;
}

/* ——— PORTFOLIO PAGE — Neo-Brutalist Editorial ——— */
.mt-stitch-root .mt-folio-hero-wm span,
.mt-stitch-root .mt-folio-h1,
.mt-stitch-root .mt-folio-grid-wm h2,
.mt-stitch-root .mt-folio-title,
.mt-stitch-root .mt-folio-label {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0, "kern" 1;
}

.mt-stitch-root .mt-folio-hero-sec {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 2rem 1rem;
  background: #FAFCDA;
}
.mt-stitch-root .mt-folio-hero-wm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}
.mt-stitch-root .mt-folio-hero-wm span {
  font-family: var(--font-stretch);
  font-size: 14vw;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  color: #3D30A2;
  white-space: nowrap;
}
.mt-stitch-root .mt-folio-hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}
.mt-stitch-root .mt-folio-h1 {
  position: relative;
  z-index: 10;
  margin: 0 0 2rem;
  font-size: clamp(28px, 6.5vw, 88px);
  line-height: 0.85;
  text-transform: uppercase;
  color: #2D2727;
  word-break: break-word;
}
.mt-stitch-root .mt-folio-h1-box {
  display: inline-block;
  padding: 0 1rem;
  background: #FFD000;
  color: #2D2727;
  border: 4px solid #2D2727;
  transform: rotate(2deg);
}
.mt-stitch-root .mt-folio-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #3D30A2;
  color: #FAFCDA;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translate(10%, -15%) rotate(-8deg);
}
.mt-stitch-root .mt-folio-intro {
  margin: 3rem 0 0;
  max-width: 42rem;
  padding: 1.5rem;
  background: #ffffff;
  color: #2D2727;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
  transform: rotate(1deg);
}

.mt-stitch-root .mt-folio-grid-sec {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 1rem;
  background-color: #3D30A2;
  background-image: radial-gradient(circle at center, #FAFCDA 1.5px, transparent 1.5px);
  background-size: 36px 36px;
}
.mt-stitch-root .mt-folio-grid-wm {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 100%;
  z-index: 0;
  opacity: 0.12;
  transform: rotate(8deg) scale(1.15);
  pointer-events: none;
  user-select: none;
}
.mt-stitch-root .mt-folio-grid-wm h2 {
  margin: 0;
  font-size: 11vw;
  line-height: 1;
  text-transform: uppercase;
  color: #FAFCDA;
  white-space: nowrap;
}

.mt-stitch-root .mt-folio-loop {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  width: 100%;
  max-width: 72rem;
  margin: 3rem auto;
  counter-reset: mtfolio;
}

.mt-stitch-root .mt-folio-card {
  counter-increment: mtfolio;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 4px solid #2D2727;
  box-shadow: 10px 10px 0 #2D2727;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mt-stitch-root .mt-folio-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 #2D2727;
  z-index: 5;
}
.mt-stitch-root .mt-folio-card--1 { transform: rotate(-1deg); }
.mt-stitch-root .mt-folio-card--2 { transform: rotate(1.5deg); margin-top: 1rem; }
.mt-stitch-root .mt-folio-card--3 { transform: rotate(-1.5deg); }
.mt-stitch-root .mt-folio-card--4 { transform: rotate(1deg); margin-top: 1rem; }
.mt-stitch-root .mt-folio-card--1:hover,
.mt-stitch-root .mt-folio-card--2:hover,
.mt-stitch-root .mt-folio-card--3:hover,
.mt-stitch-root .mt-folio-card--4:hover {
  transform: translate(-4px, -4px) rotate(0deg);
}

.mt-stitch-root .mt-folio-card::before {
  content: "CASE-" counter(mtfolio, decimal-leading-zero);
  position: absolute;
  top: -1.25rem;
  left: 1.25rem;
  z-index: 3;
  padding: 0.25rem 0.85rem;
  background: #FFD000;
  color: #2D2727;
  border: 4px solid #2D2727;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.mt-stitch-root .mt-folio-media-wrap {
  position: relative;
  height: 16rem;
  overflow: hidden;
  border-bottom: 4px solid #2D2727;
  background: #FAFCDA;
  padding: 0.85rem;
}
.mt-stitch-root .mt-folio-card--2 .mt-folio-media-wrap { background: #FFD000; }
.mt-stitch-root .mt-folio-card--3 .mt-folio-media-wrap { background: #B15EFF; }
.mt-stitch-root .mt-folio-card--4 .mt-folio-media-wrap { background: #2D2727; }

.mt-stitch-root .mt-folio-media {
  width: 100%;
  height: 100%;
  border: 4px solid #2D2727;
  background-color: #d4d0c8;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}
.mt-stitch-root .mt-folio-card:hover .mt-folio-media {
  transform: scale(1.05);
}
/* Hardcoded case images (CMS text; visuals fixed per variant like servicios monitos) */
.mt-stitch-root .mt-folio-media--1 {
  background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuBoVWbsjbdR5pZZesDfmhQQlZrqy45leSB4mu69Bl_shMLbnHn4vdpYZi8NPca_EkTORSrDkuDI_l7TT2mpk9Sk9MSMTi5p_KgcuFvq_KmoLs78wORcfDYd4HDjVnsKD4d4jNYSh4i4bMKWDIllNxRGUOx99ziIqqjbk2R-zGerrcYTXLTGHyzJQta1hsoio3xyfV69AiJj08CHHAI1LSJJW9tdUge21iXDIg6msYk57hxO8ZVOBPzR");
}
.mt-stitch-root .mt-folio-media--2 {
  background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuAAUvJgILTfNs90HNmHuNcx5-CpLr3-i9R6k9RaB8ztj6e97Mz1tiOhLPKkC7QKSdAGLh46hAATOYcA2hylH_qRtgNlWBR5cuXDta7KBpOvBvkA9R8BShffIZ6B0b_gCUTw6cJ9df42hZ11XNEHlYge6lp5AKRDQKy7XEE5vB8uuxaMsI-ADGwWykEajKcCnl-TjGBMdxyj56mMWn6UHz_k5i8Rnruz1uSBMHs0YIaU_TrbtvBgezHs");
}
.mt-stitch-root .mt-folio-media--3 {
  background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuAkMB3L66mMFQzEtv_BwiEYvFdLhtNmsozjNN_wVx1qifGlfv46fO4gQYcJY7ThKWmYOp0ntML0Q8M0BkZB7bDmZkZopTgAAuO_iB8TOGDNudtJeo2AxBhcWNd7r_gtP8dOogtVZ47sB1a7cnEdFQjoQ6OI8D1riIejtJc_6rcILI0D35e667Wmkc4e9BQNLLE7UPDU1ZTgGg4zk8tduel1xQ8egTQ8aJuUS5amU3OmAwyXnN4Iimh1");
  filter: grayscale(0.2);
}
.mt-stitch-root .mt-folio-media--4 {
  background-image: url("/uploads/wSugonY2WZRfBGLN_TC_c-monito_amarillo.png");
  background-size: contain;
  background-color: #FAFCDA;
}

.mt-stitch-root .mt-folio-chip {
  position: absolute;
  z-index: 2;
  padding: 0.4rem 0.9rem;
  border: 4px solid #2D2727;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mt-stitch-root .mt-folio-chip--a {
  top: 1.5rem;
  left: 1.5rem;
  background: #B15EFF;
  color: #000000;
  transform: rotate(-6deg);
}
.mt-stitch-root .mt-folio-card--2 .mt-folio-chip--a {
  left: auto;
  right: 1.5rem;
  background: #3D30A2;
  color: #FAFCDA;
  transform: rotate(6deg);
}
.mt-stitch-root .mt-folio-card--4 .mt-folio-chip--a {
  background: #FFD000;
  color: #2D2727;
}

.mt-stitch-root .mt-folio-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
  background: #ffffff;
}
.mt-stitch-root .mt-folio-card--2 .mt-folio-body {
  align-items: flex-end;
  text-align: right;
}
.mt-stitch-root .mt-folio-label {
  margin: 0;
  display: inline-block;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  background: #2D2727;
  color: #FAFCDA;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mt-stitch-root .mt-folio-card--2 .mt-folio-label {
  background: #FFD000;
  color: #2D2727;
  border: 3px solid #2D2727;
}
.mt-stitch-root .mt-folio-title {
  margin: -2.5rem 0 0;
  width: fit-content;
  max-width: 100%;
  padding: 0.4rem 0.6rem;
  background: #ffffff;
  border: 4px solid #2D2727;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 0.9;
  text-transform: uppercase;
  color: #2D2727;
  transform: rotate(1deg);
}
.mt-stitch-root .mt-folio-card--2 .mt-folio-title {
  transform: rotate(-2deg);
}
.mt-stitch-root .mt-folio-summary {
  margin: 0;
  max-width: 36rem;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  color: #2D2727;
}

@media (min-width: 768px) {
  .mt-stitch-root .mt-folio-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
    align-items: start;
  }
  .mt-stitch-root .mt-folio-media-wrap {
    height: 20rem;
  }
  .mt-stitch-root .mt-folio-card--2,
  .mt-stitch-root .mt-folio-card--4 {
    margin-top: 3.5rem;
  }
}

@media (max-width: 767px) {
  .mt-stitch-root .mt-folio-badge {
    position: static;
    transform: rotate(-6deg);
    margin: 0 0 1.25rem;
    width: fit-content;
  }
  .mt-stitch-root .mt-folio-intro {
    margin-top: 1.5rem;
    font-size: 16px;
  }
  .mt-stitch-root .mt-folio-media-wrap {
    height: 13rem;
  }
  .mt-stitch-root .mt-folio-card--1,
  .mt-stitch-root .mt-folio-card--2,
  .mt-stitch-root .mt-folio-card--3,
  .mt-stitch-root .mt-folio-card--4 {
    transform: none;
    margin-top: 0;
  }
}


.mt-stitch-root .mt-svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.mt-stitch-root .mt-svc-card--2 .mt-svc-tags { justify-content: flex-end; }
.mt-stitch-root .mt-svc-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: var(--mt-svc-chip-bg);
  color: #2D2727;
  border: 4px solid #2D2727;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .mt-stitch-root .mt-svc-hero-sec { padding: 4rem 3rem; }
  .mt-stitch-root .mt-svc-intro { margin-left: 6rem; font-size: 28px; }
  .mt-stitch-root .mt-svc-grid-sec { padding: 3rem; }
  .mt-stitch-root .mt-svc-loop {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin-top: 6rem;
  }
  .mt-stitch-root .mt-svc-card { transform: rotate(var(--mt-svc-rot)); }
  .mt-stitch-root .mt-svc-card:hover {
    transform: rotate(var(--mt-svc-rot)) translate(-4px, -4px);
    box-shadow: 12px 12px 0 #2D2727;
  }
  .mt-stitch-root .mt-svc-card--1 { grid-column: 1 / span 8; --mt-svc-rot: -2deg; }
  .mt-stitch-root .mt-svc-card--2 { grid-column: 6 / span 7; --mt-svc-rot: 3deg; margin-top: -6rem; }
  .mt-stitch-root .mt-svc-card--3 { grid-column: 2 / span 7; --mt-svc-rot: -4deg; margin-top: -7rem; }
  .mt-stitch-root .mt-svc-card--4 { grid-column: 1 / span 8; --mt-svc-rot: -2deg; margin-top: -6rem; }
  .mt-stitch-root .mt-svc-card::after { font-size: 200px; bottom: -3.5rem; }
  .mt-stitch-root .mt-svc-card--1::after,
  .mt-stitch-root .mt-svc-card--4::after { bottom: 0; }
  .mt-stitch-root .mt-svc-label { font-size: 32px; }
  .mt-stitch-root .mt-svc-title { font-size: 48px; }
  .mt-stitch-root .mt-svc-summary { font-size: 18px; }
}

@media (max-width: 767px) {
  .mt-stitch-root .mt-svc-badge {
    position: static;
    margin-bottom: 1.5rem;
    transform: rotate(6deg);
  }
  .mt-stitch-root .mt-svc-card-inner,
  .mt-stitch-root .mt-svc-card--2 .mt-svc-card-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .mt-stitch-root .mt-svc-body { width: 100%; }
  .mt-stitch-root .mt-svc-label {
    writing-mode: horizontal-tb;
    transform: none;
    padding-bottom: 0.5rem;
    border-bottom: 4px solid currentColor;
    font-size: 20px;
  }
  .mt-stitch-root .mt-svc-h1-box { padding: 0 0.5rem; }
  .mt-stitch-root .mt-svc-title {
    font-size: 22px;
    overflow-wrap: anywhere;
  }
  .mt-stitch-root .mt-svc-card { padding: 1.5rem; }
  .mt-stitch-root .mt-svc-card--2 .mt-svc-body { text-align: left; }
  .mt-stitch-root .mt-svc-card--2 .mt-svc-summary { margin-left: 0; }
  .mt-stitch-root .mt-svc-card--2 .mt-svc-tags { justify-content: flex-start; }
}

/* Home cluster loop cards inherit existing #servicios absolute layout on desktop */
.mt-stitch-root #servicios .mt-home-svc-card,
.mt-stitch-root #services .mt-home-svc-card {
  box-sizing: border-box;
}

/* ——— HOME SERVICES CLUSTER (Stitch editorial collage) ——— */
.mt-stitch-root #servicios .mt-home-svc-loop,
.mt-stitch-root #services .mt-home-svc-loop {
  display: contents;
}

.mt-stitch-root #servicios .mt-home-svc-card,
.mt-stitch-root #services .mt-home-svc-card {
  position: relative;
  box-sizing: border-box;
  padding: 2rem;
  color: #2D2727;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mt-stitch-root #servicios .mt-home-svc-title,
.mt-stitch-root #services .mt-home-svc-title {
  margin: 0;
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-variant-ligatures: none !important;
  font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0, "kern" 1 !important;
}

.mt-stitch-root #servicios .mt-home-svc-head,
.mt-stitch-root #services .mt-home-svc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mt-stitch-root #servicios .mt-home-svc-head--rev,
.mt-stitch-root #services .mt-home-svc-head--rev {
  flex-direction: row-reverse;
}

.mt-stitch-root #servicios .mt-home-svc-head--rev .mt-home-svc-title,
.mt-stitch-root #services .mt-home-svc-head--rev .mt-home-svc-title {
  text-align: right;
}

.mt-stitch-root #servicios .mt-home-svc-icon,
.mt-stitch-root #services .mt-home-svc-icon {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 900;
}

.mt-stitch-root #servicios .mt-home-svc-b .mt-home-svc-icon,
.mt-stitch-root #services .mt-home-svc-b .mt-home-svc-icon {
  width: 5rem;
  height: 5rem;
  font-size: 2rem;
}

.mt-stitch-root #servicios .mt-home-svc-copy,
.mt-stitch-root #services .mt-home-svc-copy {
  margin: 0 0 2rem;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}

.mt-stitch-root #servicios .mt-home-svc-copy--box,
.mt-stitch-root #services .mt-home-svc-copy--box {
  padding: 1rem;
  background: #ffffff;
  border: 4px solid #2D2727;
  text-align: right;
  font-size: 18px;
  font-weight: 700;
}

.mt-stitch-root #servicios .mt-home-svc-cta,
.mt-stitch-root #services .mt-home-svc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 4rem;
  padding: 0 1.5rem;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.mt-stitch-root #servicios .mt-home-svc-cta--rev,
.mt-stitch-root #services .mt-home-svc-cta--rev {
  flex-direction: row-reverse;
}

.mt-stitch-root #servicios .mt-home-svc-d,
.mt-stitch-root #services .mt-home-svc-d {
  color: #ffffff;
}

.mt-stitch-root #servicios .mt-home-svc-d .mt-home-svc-icon,
.mt-stitch-root #services .mt-home-svc-d .mt-home-svc-icon {
  color: #2D2727;
}

.mt-stitch-root #servicios .mt-home-svc-d .mt-home-svc-copy,
.mt-stitch-root #services .mt-home-svc-d .mt-home-svc-copy {
  text-align: right;
}

.mt-stitch-root #servicios .mt-home-svc-c .mt-home-svc-cta,
.mt-stitch-root #services .mt-home-svc-c .mt-home-svc-cta {
  color: #ffffff;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .mt-stitch-root #servicios > .relative.z-10,
  .mt-stitch-root #services > .relative.z-10 {
    min-height: 980px;
  }

  .mt-stitch-root #servicios .grid,
  .mt-stitch-root #services .grid {
    position: relative !important;
    min-height: 980px !important;
    height: auto !important;
  }

  .mt-stitch-root #servicios .mt-home-svc-card,
  .mt-stitch-root #services .mt-home-svc-card {
    position: absolute !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .mt-stitch-root #servicios .mt-home-svc-a,
  .mt-stitch-root #services .mt-home-svc-a {
    top: 0 !important;
    left: 0 !important;
    width: 45% !important;
    z-index: 20 !important;
    transform: rotate(-3deg) !important;
  }

  .mt-stitch-root #servicios .mt-home-svc-b,
  .mt-stitch-root #services .mt-home-svc-b {
    top: 20% !important;
    right: 0 !important;
    left: auto !important;
    width: 50% !important;
    z-index: 30 !important;
    transform: rotate(6deg) !important;
  }

  .mt-stitch-root #servicios .mt-home-svc-c,
  .mt-stitch-root #services .mt-home-svc-c {
    bottom: 10% !important;
    left: 10% !important;
    top: auto !important;
    right: auto !important;
    width: 40% !important;
    z-index: 40 !important;
    transform: rotate(-6deg) !important;
  }

  .mt-stitch-root #servicios .mt-home-svc-d,
  .mt-stitch-root #services .mt-home-svc-d {
    bottom: 0 !important;
    right: 5% !important;
    top: auto !important;
    left: auto !important;
    width: 45% !important;
    z-index: 10 !important;
    transform: rotate(2deg) !important;
    padding: 3rem !important;
  }

  .mt-stitch-root #servicios .mt-home-svc-card:hover,
  .mt-stitch-root #services .mt-home-svc-card:hover {
    z-index: 60 !important;
  }

  .mt-stitch-root #servicios .mt-home-svc-a:hover,
  .mt-stitch-root #services .mt-home-svc-a:hover {
    background: #3D30A2 !important;
    color: #ffffff !important;
  }

  .mt-stitch-root #servicios .mt-home-svc-title,
  .mt-stitch-root #services .mt-home-svc-title {
    font-size: clamp(32px, 3.4vw, 48px) !important;
    max-width: calc(100% - 5rem) !important;
  }

  .mt-stitch-root #servicios .mt-home-svc-b .mt-home-svc-title,
  .mt-stitch-root #services .mt-home-svc-b .mt-home-svc-title {
    font-size: clamp(36px, 3.8vw, 56px) !important;
  }
}

@media (max-width: 1023px) {
  .mt-stitch-root #servicios .mt-home-svc-loop,
  .mt-stitch-root #services .mt-home-svc-loop {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mt-stitch-root #servicios .mt-home-svc-head--rev,
  .mt-stitch-root #services .mt-home-svc-head--rev,
  .mt-stitch-root #servicios .mt-home-svc-cta--rev,
  .mt-stitch-root #services .mt-home-svc-cta--rev {
    flex-direction: row;
  }

  .mt-stitch-root #servicios .mt-home-svc-head--rev .mt-home-svc-title,
  .mt-stitch-root #services .mt-home-svc-head--rev .mt-home-svc-title,
  .mt-stitch-root #servicios .mt-home-svc-copy--box,
  .mt-stitch-root #services .mt-home-svc-copy--box,
  .mt-stitch-root #servicios .mt-home-svc-d .mt-home-svc-copy,
  .mt-stitch-root #services .mt-home-svc-d .mt-home-svc-copy {
    text-align: left;
  }
}


/* ——— HERO MONITO (mascota 3D: float idle CSS + tilt via macutech-hero-monito.js) ———
   Wrapper = flotacion (keyframes); img = tilt (JS). prefers-reduced-motion: estatico. */
.mt-hero-monito {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 3.5rem 1rem 1rem;
  pointer-events: none;
  perspective: 900px;
}
.mt-hero-monito-img {
  width: min(74%, 24rem);
  max-height: 84%;
  object-fit: contain;
  filter: drop-shadow(10px 14px 0 rgba(45, 39, 39, 0.45));
  transform: rotateX(0deg) rotateY(0deg);
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .mt-hero-monito {
    animation: mt-monito-float 5.5s ease-in-out infinite;
  }
}
@keyframes mt-monito-float {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-12px) rotate(1.2deg); }
}
@media (max-width: 767px) {
  .mt-hero-monito { padding: 0.5rem 2.75rem 0.5rem 0.5rem; }
  .mt-hero-monito-img { width: min(56%, 15rem); }
}

/* ——— LANG SWITCH: estado NO activo como chip visible (brutal, todos los breakpoints) ——— */
.mt-stitch-root .mt-lang-switch a {
  padding: 0.4rem 0.65rem !important;
  border: 2px solid #201a1a !important;
  background: #ffffff !important;
  color: #201a1a !important;
  box-shadow: 2px 2px 0 0 #201a1a !important;
  opacity: 1 !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.mt-stitch-root .mt-lang-switch a:not(.is-active):hover {
  background: #FAFCDA !important;
  color: #201a1a !important;
}
.mt-stitch-root .mt-lang-switch a.is-active,
.mt-stitch-root .mt-lang-switch a.is-active:not(:hover) {
  background: #FFD000 !important;
  color: #201a1a !important;
  border-color: #201a1a !important;
  opacity: 1 !important;
}


/* src/styles/macutech-blog.css */
/* ——— BLOG (Dynamic Asymmetry) ——— */
.mt-stitch-root .mt-blog-hero-sec {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 2rem 1.25rem 3rem;
  background: #FAFCDA;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mt-stitch-root .mt-blog-hero-wm {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.1;
  z-index: 0;
}
.mt-stitch-root .mt-blog-hero-wm span {
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: clamp(4rem, 20vw, 14rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: #3D30A2;
  white-space: nowrap;
}
.mt-stitch-root .mt-blog-hero-badges {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.mt-stitch-root .mt-blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 4px solid #2D2727;
  box-shadow: 6px 6px 0 #2D2727;
  font-family: var(--font-body), Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #3D30A2;
  color: #fff;
  transform: rotate(-2deg);
}
.mt-stitch-root .mt-blog-chip--ok {
  background: #25D366;
  color: #2D2727;
  transform: rotate(2deg);
}
.mt-stitch-root .mt-blog-chip--ok .mt-blog-pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #2D2727;
  animation: mt-blog-pulse 1.4s ease-in-out infinite;
}
@keyframes mt-blog-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.mt-stitch-root .mt-blog-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 56rem;
}
.mt-stitch-root .mt-blog-h1 {
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: clamp(3rem, 12vw, 7.5rem);
  line-height: 0.82;
  font-weight: 900;
  text-transform: uppercase;
  color: #2D2727;
  margin: 0;
}
.mt-stitch-root .mt-blog-h1-box {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.55rem;
  background: #3D30A2;
  color: #fff;
  transform: rotate(1deg);
}
.mt-stitch-root .mt-blog-intro {
  margin: 0;
  max-width: 40rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  transform: rotate(-1deg);
}
.mt-stitch-root .mt-blog-status-box {
  display: none;
}

/* Featured split */
.mt-stitch-root .mt-blog-feat-sec {
  background: #fff;
  border-top: 4px solid #2D2727;
}
.mt-stitch-root .mt-blog-feat-loop,
.mt-stitch-root .mt-blog-feat-loop > * {
  display: block;
  width: 100%;
}
.mt-stitch-root .mt-blog-feat {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  overflow: hidden;
}
.mt-stitch-root .mt-blog-feat-copy {
  background: #FFD000;
  border-bottom: 4px solid #2D2727;
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  position: relative;
  z-index: 2;
}
.mt-stitch-root .mt-blog-feat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.mt-stitch-root .mt-blog-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border: 4px solid #2D2727;
  box-shadow: 5px 5px 0 #2D2727;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: #3D30A2;
  color: #fff;
}
.mt-stitch-root .mt-blog-pill--read {
  background: #fff;
  color: #2D2727;
}
.mt-stitch-root .mt-blog-feat-title {
  margin: 0;
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: clamp(1.75rem, 7vw, 3.5rem);
  line-height: 0.92;
  font-weight: 900;
  text-transform: uppercase;
  background: #fff;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  padding: 0.85rem 1rem;
  transform: rotate(-1deg);
}
.mt-stitch-root .mt-blog-feat-excerpt {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  background: #fff;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  padding: 1rem;
  transform: rotate(1deg);
}
.mt-stitch-root .mt-blog-feat-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 22rem;
  padding: 1rem 1.25rem;
  background: #B15EFF;
  color: #fff;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mt-stitch-root .mt-blog-feat-cta:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 #2D2727;
}
.mt-stitch-root .mt-blog-feat-media {
  position: relative;
  padding: 1.5rem 1.25rem;
  min-height: 260px;
  background-image: radial-gradient(circle at center, #2D2727 2px, transparent 2px);
  background-size: 28px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-stitch-root .mt-blog-feat-frame {
  position: relative;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 4 / 3;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  overflow: hidden;
  background: #FAFCDA;
}
.mt-stitch-root .mt-blog-feat-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.4s ease, transform 0.4s ease;
  transform: scale(1.05);
}
.mt-stitch-root .mt-blog-feat:hover .mt-blog-feat-frame img {
  filter: grayscale(0);
  transform: scale(1);
}
.mt-stitch-root .mt-blog-feat-tag {
  position: absolute;
  z-index: 3;
  padding: 0.35rem 0.65rem;
  border: 4px solid #2D2727;
  box-shadow: 5px 5px 0 #2D2727;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: #fff;
}
.mt-stitch-root .mt-blog-feat-tag--tl {
  top: 1rem;
  right: 1rem;
  transform: rotate(6deg);
}
.mt-stitch-root .mt-blog-feat-tag--bl {
  bottom: 1rem;
  left: 1rem;
  background: #2D2727;
  color: #fff;
  transform: rotate(-6deg);
}

/* Latest grid */
.mt-stitch-root .mt-blog-latest-sec {
  position: relative;
  overflow: hidden;
  background: #FAFCDA;
  padding: 2.5rem 1.25rem 4rem;
  border-top: 4px solid #2D2727;
}
.mt-stitch-root .mt-blog-latest-wm {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  transform: rotate(-6deg) scale(1.2);
}
.mt-stitch-root .mt-blog-latest-wm h2 {
  margin: 0;
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: #2D2727;
}
.mt-stitch-root .mt-blog-latest-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.mt-stitch-root .mt-blog-latest-title {
  margin: 0;
  display: inline-block;
  max-width: max-content;
  padding: 0.75rem 1rem;
  background: #3D30A2;
  color: #fff;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: clamp(2rem, 8vw, 5rem);
  line-height: 0.85;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.mt-stitch-root .mt-blog-latest-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.mt-stitch-root .mt-blog-count,
.mt-stitch-root .mt-blog-sort {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border: 4px solid #2D2727;
  box-shadow: 5px 5px 0 #2D2727;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.mt-stitch-root .mt-blog-count {
  background: #FFD000;
  transform: rotate(3deg);
}
.mt-stitch-root .mt-blog-sort {
  background: #fff;
  transform: rotate(-1deg);
}
.mt-stitch-root .mt-blog-filters {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.mt-stitch-root .mt-blog-filter {
  appearance: none;
  border: 3px solid #2D2727;
  background: #fff;
  color: #2D2727;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  box-shadow: 3px 3px 0 #2D2727;
}
.mt-stitch-root .mt-blog-filter.is-active,
.mt-stitch-root .mt-blog-filter:hover {
  background: #3D30A2;
  color: #fff;
}
.mt-stitch-root .mt-blog-grid-wrap {
  position: relative;
  z-index: 2;
}
.mt-stitch-root .mt-blog-grid,
.mt-stitch-root .mt-blog-grid > * {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.mt-stitch-root .mt-blog-card {
  background: #fff;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mt-stitch-root .mt-blog-card[hidden] {
  display: none !important;
}
.mt-stitch-root .mt-blog-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 14px 14px 0 #2D2727;
}
.mt-stitch-root .mt-blog-card--yellow {
  background: #FFD000;
}
.mt-stitch-root .mt-blog-card-media {
  position: relative;
  height: 11rem;
  border: 4px solid #2D2727;
  overflow: hidden;
  background: #3D30A2;
}
.mt-stitch-root .mt-blog-card--yellow .mt-blog-card-media {
  background: #fff;
}
.mt-stitch-root .mt-blog-card--green .mt-blog-card-media {
  background: #25D366;
}
.mt-stitch-root .mt-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.85;
}
.mt-stitch-root .mt-blog-card-log {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  padding: 0.25rem 0.5rem;
  background: #fff;
  border: 3px solid #2D2727;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.mt-stitch-root .mt-blog-card--yellow .mt-blog-card-log {
  background: #2D2727;
  color: #fff;
}
.mt-stitch-root .mt-blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.mt-stitch-root .mt-blog-card-cat {
  padding: 0.25rem 0.55rem;
  border: 3px solid #2D2727;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: #B15EFF;
  color: #fff;
}
.mt-stitch-root .mt-blog-card--yellow .mt-blog-card-cat {
  background: #fff;
  color: #2D2727;
}
.mt-stitch-root .mt-blog-card--green .mt-blog-card-cat {
  background: #25D366;
  color: #2D2727;
}
.mt-stitch-root .mt-blog-card-read {
  padding: 0.25rem 0.55rem;
  border: 3px solid #2D2727;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: #FAFCDA;
}
.mt-stitch-root .mt-blog-card-title {
  margin: 0;
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.mt-stitch-root .mt-blog-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding: 0.65rem 0.85rem;
  border: 3px solid #2D2727;
  background: #FAFCDA;
  color: #2D2727;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}
.mt-stitch-root .mt-blog-card--yellow .mt-blog-card-cta {
  background: #fff;
}

/* Newsletter */
.mt-stitch-root .mt-blog-news-sec {
  position: relative;
  overflow: hidden;
  background: #2D2727;
  color: #fff;
  border-top: 4px solid #2D2727;
  padding: 2rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.mt-stitch-root .mt-blog-news-wm {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.1;
}
.mt-stitch-root .mt-blog-news-wm span {
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: clamp(3rem, 15vw, 10rem);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}
.mt-stitch-root .mt-blog-news-copy {
  position: relative;
  z-index: 2;
  background: #fff;
  color: #2D2727;
  border: 4px solid #2D2727;
  padding: 1.25rem;
  transform: rotate(-1deg);
}
.mt-stitch-root .mt-blog-news-title {
  margin: 0 0 0.85rem;
  display: inline-block;
  padding: 0.35rem 0.65rem;
  background: #2D2727;
  color: #25D366;
  border: 4px solid #2D2727;
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: clamp(1.75rem, 7vw, 3.5rem);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(2deg);
}
.mt-stitch-root .mt-blog-news-text {
  margin: 0;
  border-left: 8px solid #25D366;
  padding-left: 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.mt-stitch-root .mt-blog-news-form-wrap {
  position: relative;
  z-index: 2;
  background: #FFD000;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  padding: 1.25rem;
  transform: rotate(1deg);
}
.mt-stitch-root .mt-blog-news-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.mt-stitch-root .mt-blog-news-form input[type="email"],
.mt-stitch-root .mt-blog-news-form .mt-blog-news-input {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 4px solid #2D2727;
  box-shadow: 5px 5px 0 #2D2727;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #2D2727;
}
.mt-stitch-root .mt-blog-news-form button,
.mt-stitch-root .mt-blog-news-form .mt-blog-news-submit {
  width: 100%;
  border: 4px solid #2D2727;
  background: #3D30A2;
  color: #fff;
  box-shadow: 5px 5px 0 #2D2727;
  padding: 1rem;
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.mt-stitch-root .mt-blog-news-form button:hover,
.mt-stitch-root .mt-blog-news-form .mt-blog-news-submit:hover {
  background: #25D366;
  color: #2D2727;
  transform: translateY(-4px) rotate(-1deg);
}
.mt-stitch-root .mt-blog-news-form [data-instatic-form-message],
.mt-stitch-root .mt-blog-form-msg {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #2D2727;
}

/* Post detail */
.mt-stitch-root .mt-blog-post {
  background: #FAFCDA;
}
.mt-stitch-root .mt-blog-post-hero {
  padding: 2rem 1.25rem 1.5rem;
  border-bottom: 4px solid #2D2727;
}
.mt-stitch-root .mt-blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.mt-stitch-root .mt-blog-post-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: clamp(2rem, 8vw, 4.5rem);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}
.mt-stitch-root .mt-blog-post-excerpt {
  margin: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  padding: 1rem;
  background: #fff;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
}
.mt-stitch-root .mt-blog-post-cover {
  border-bottom: 4px solid #2D2727;
  background: #fff;
}
.mt-stitch-root .mt-blog-post-cover img {
  display: block;
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
}
.mt-stitch-root .mt-blog-post-body {
  padding: 2rem 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
}
.mt-stitch-root .mt-blog-post-body h2,
.mt-stitch-root .mt-blog-post-body h3 {
  font-family: var(--font-display), Outfit, sans-serif;
  text-transform: uppercase;
  line-height: 1.05;
}
.mt-stitch-root .mt-blog-post-author {
  margin: 0 1.25rem 2rem;
  padding: 1.15rem;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  background: #FFD000;
  max-width: 48rem;
}
.mt-stitch-root .mt-blog-post-author-label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.mt-stitch-root .mt-blog-post-author-name {
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
}
.mt-stitch-root .mt-blog-back {
  display: inline-flex;
  margin: 0 1.25rem 2rem;
  padding: 0.75rem 1rem;
  border: 4px solid #2D2727;
  background: #3D30A2;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 #2D2727;
}
.mt-stitch-root .mt-blog-related-sec {
  border-top: 4px solid #2D2727;
  padding: 2rem 1.25rem 3rem;
  background: #fff;
}
.mt-stitch-root .mt-blog-related-title {
  margin: 0 0 1.25rem;
  display: inline-block;
  padding: 0.55rem 0.85rem;
  background: #B15EFF;
  color: #fff;
  border: 4px solid #2D2727;
  box-shadow: 6px 6px 0 #2D2727;
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-1deg);
}
.mt-stitch-root .mt-blog-related-grid,
.mt-stitch-root .mt-blog-related-grid > * {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.mt-stitch-root .mt-blog-lang-es,
.mt-stitch-root .mt-blog-lang-en {
  display: contents;
}
.mt-stitch-root[data-blog-lang="es"] .mt-blog-lang-en,
.mt-stitch-root[data-blog-lang="en"] .mt-blog-lang-es {
  display: none !important;
}

@media (min-width: 768px) {
  .mt-stitch-root .mt-blog-hero-sec {
    min-height: 400px;
    padding: 4rem;
  }
  .mt-stitch-root .mt-blog-status-box {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-self: flex-end;
    background: #FFD000;
    border: 4px solid #2D2727;
    box-shadow: 8px 8px 0 #2D2727;
    padding: 1rem 1.15rem;
    transform: rotate(2deg);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .mt-stitch-root .mt-blog-hero-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
  }
  .mt-stitch-root .mt-blog-intro {
    font-size: 1.25rem;
    margin-top: 2rem;
  }
  .mt-stitch-root .mt-blog-feat {
    grid-template-columns: 5fr 7fr;
  }
  .mt-stitch-root .mt-blog-feat-copy {
    border-bottom: 0;
    border-right: 4px solid #2D2727;
    padding: 3.5rem;
  }
  .mt-stitch-root .mt-blog-feat-title {
    margin-right: -4rem;
  }
  .mt-stitch-root .mt-blog-feat-media {
    min-height: 520px;
    padding: 3rem;
  }
  .mt-stitch-root .mt-blog-latest-sec {
    padding: 3.5rem 4rem 6rem;
  }
  .mt-stitch-root .mt-blog-latest-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .mt-stitch-root .mt-blog-grid,
.mt-stitch-root .mt-blog-grid > * {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
  }
  .mt-stitch-root .mt-blog-card--1 {
    transform: translateY(-1.5rem);
  }
  .mt-stitch-root .mt-blog-card--2 {
    transform: translateY(2.5rem);
  }
  .mt-stitch-root .mt-blog-card--3 {
    transform: translateY(-0.75rem);
  }
  .mt-stitch-root .mt-blog-card--1:hover,
  .mt-stitch-root .mt-blog-card--2:hover,
  .mt-stitch-root .mt-blog-card--3:hover {
    transform: translateY(-0.5rem) rotate(-1deg);
  }
  .mt-stitch-root .mt-blog-news-sec {
    grid-template-columns: 1fr 1fr;
    padding: 3.5rem 4rem;
    align-items: center;
  }
  .mt-stitch-root .mt-blog-post-hero,
  .mt-stitch-root .mt-blog-post-body,
  .mt-stitch-root .mt-blog-related-sec {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  .mt-stitch-root .mt-blog-post-author,
  .mt-stitch-root .mt-blog-back {
    margin-left: 4rem;
  }
  .mt-stitch-root .mt-blog-related-grid,
  .mt-stitch-root .mt-blog-related-grid > * {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mt-stitch-root a.mt-blog-nav-active,
.mt-stitch-root .mt-d-blog.mt-blog-nav-active {
  background: #ff3333 !important;
  color: #fff !important;
}

/* Tablet: Latest card titles + grid must not overflow */
@media (min-width: 768px) and (max-width: 1024px) {
  .mt-stitch-root .mt-blog-latest-sec {
    padding: 2.5rem 1.5rem 4rem;
  }
  .mt-stitch-root .mt-blog-latest-title {
    font-size: clamp(1.65rem, 4.5vw, 2.75rem);
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .mt-stitch-root .mt-blog-grid,
  .mt-stitch-root .mt-blog-grid > * {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .mt-stitch-root .mt-blog-card {
    padding: 0.75rem;
    gap: 0.65rem;
  }
  .mt-stitch-root .mt-blog-card-title {
    font-size: clamp(0.92rem, 1.7vw, 1.1rem);
    line-height: 1.18;
  }
  .mt-stitch-root .mt-blog-card-cta {
    font-size: 0.75rem;
    padding: 0.55rem 0.65rem;
  }
  .mt-stitch-root .mt-blog-card--1,
  .mt-stitch-root .mt-blog-card--2,
  .mt-stitch-root .mt-blog-card--3 {
    transform: none;
  }
}


/* src/styles/macutech-about.css */
/* MACUTECH About / Nosotros — neo-brutalist editorial (Stitch) */

.mt-about-hero {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  overflow: hidden;
  background: #FAFCDA;
  border-bottom: 4px solid #2D2727;
}

.mt-about-hero-wm {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
  overflow: hidden;
}

.mt-about-hero-wm span {
  font-family: "StretchPro", "Outfit", sans-serif;
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: #3D30A2;
  white-space: nowrap;
  letter-spacing: -0.04em;
}

.mt-about-hero-copy {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FAFCDA;
  border-bottom: 4px solid #2D2727;
}

.mt-about-h1 {
  font-family: "StretchPro", "Outfit", sans-serif;
  font-size: clamp(3.25rem, 12vw, 7.5rem);
  font-weight: 900;
  line-height: 0.82;
  text-transform: uppercase;
  color: #2D2727;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.mt-about-h1-box {
  display: inline-block;
  background: #3D30A2;
  color: #fff;
  padding: 0.1em 0.28em;
  transform: rotate(-2deg);
  margin-top: 0.15em;
}

.mt-about-intro {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.125rem, 2.8vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
  color: #2D2727;
  max-width: 36rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  transform: rotate(-1deg);
}

.mt-about-hero-media {
  position: relative;
  z-index: 1;
  min-height: 420px;
  background: #FFD000;
  overflow: hidden;
}

.mt-about-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  transition: filter 0.45s ease;
  border: 4px solid #2D2727;
  box-sizing: border-box;
}

.mt-about-hero-media:hover .mt-about-hero-img {
  filter: grayscale(0);
}

.mt-about-vert {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  margin: 0;
  padding: 1rem 0.75rem 0 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: "StretchPro", "Outfit", sans-serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
}

.mt-about-dna {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 4px solid #2D2727;
  background: #3D30A2;
}

.mt-about-dna-rail {
  position: relative;
  overflow: hidden;
  background: #B15EFF;
  padding: 2rem 1.5rem;
  border-bottom: 4px solid #2D2727;
  min-height: 8rem;
}

.mt-about-dna-rail-wm {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-family: "StretchPro", "Outfit", sans-serif;
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  color: #2D2727;
  opacity: 0.045;
  pointer-events: none;
  padding: 0.85rem 0.35rem;
  overflow: hidden;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.mt-about-dna-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "StretchPro", "Outfit", sans-serif;
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #2D2727;
}

.mt-about-dna-title--vert {
  display: none;
}

.mt-about-dna-body {
  position: relative;
  padding: 2rem 1.5rem 2.5rem;
  background-color: #3D30A2;
  background-image: radial-gradient(circle at center, #2D2727 2px, transparent 2px);
  background-size: 40px 40px;
}

.mt-about-dna-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.mt-about-card {
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  padding: 1.75rem;
  transition: transform 0.2s ease;
  box-sizing: border-box;
}

.mt-about-card:hover {
  transform: rotate(-1deg);
  z-index: 2;
}

.mt-about-card--b:hover {
  transform: rotate(1deg);
}

.mt-about-card--a {
  background: #fff;
}

.mt-about-card--b {
  background: #FAFCDA;
}

.mt-about-card--c {
  background: #FFD000;
}

.mt-about-ico {
  width: 4rem;
  height: 4rem;
  border: 4px solid #2D2727;
  box-shadow: 6px 6px 0 #2D2727;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 900;
  box-sizing: border-box;
}

.mt-about-ico--sec {
  background: #B15EFF;
  color: #fff;
}

.mt-about-ico--pri {
  background: #3D30A2;
  color: #fff;
}

.mt-about-ico--w {
  background: #fff;
  color: #2D2727;
}

.mt-about-card h3 {
  font-family: "StretchPro", "Outfit", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  color: #2D2727;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.mt-about-card p {
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #2D2727;
  margin: 0;
}

.mt-about-card,
.mt-about-dna-grid,
.mt-about-dna-body {
  min-width: 0;
}

.mt-about-card h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.mt-about-card p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Tablet: 3-up ADN cards. Vertical title stays in-flow at a capped size so
   StretchPro ink cannot clip, without recreating a large navy void. */
@media (min-width: 768px) and (max-width: 1024px) {
  .mt-about-dna {
    grid-template-columns: minmax(0, 2.25fr) minmax(0, 9.75fr);
    align-items: stretch;
  }

  .mt-about-dna-rail {
    border-bottom: 0;
    border-right: 4px solid #2D2727;
    padding: 1.25rem 0.65rem;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .mt-about-dna-title--horiz {
    display: none;
  }

  .mt-about-dna-title--vert {
    display: block;
    position: relative;
    z-index: 1;
    top: auto;
    left: auto;
    bottom: auto;
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    letter-spacing: -0.06em;
    line-height: 1;
    white-space: nowrap;
  }

  .mt-about-dna-body {
    padding: 1.5rem 1.15rem 1.75rem;
    overflow: hidden;
  }

  .mt-about-dna-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: stretch;
  }

  .mt-about-card {
    padding: 1rem 0.85rem;
    box-shadow: 5px 5px 0 #2D2727;
  }

  .mt-about-card--b,
  .mt-about-card--c {
    margin-top: 0;
  }

  .mt-about-ico {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.85rem;
    font-size: 1.25rem;
    box-shadow: 4px 4px 0 #2D2727;
  }

  .mt-about-card h3 {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.1;
    margin-bottom: 0.55rem;
  }

  .mt-about-card p {
    font-size: 0.875rem;
    line-height: 1.4;
  }
}

@media (min-width: 1025px) {
  .mt-about-hero {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: stretch;
  }

  .mt-about-hero-copy {
    padding: 4rem;
    border-bottom: 0;
    border-right: 4px solid #2D2727;
  }

  .mt-about-hero-media {
    min-height: 0;
  }

  .mt-about-hero-img {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
    width: 100%;
  }

  .mt-about-dna {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    align-items: stretch;
  }

  .mt-about-dna-rail {
    border-bottom: 0;
    border-right: 4px solid #2D2727;
    padding: 1.75rem 1rem;
    align-self: stretch;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .mt-about-dna-title--horiz {
    display: none;
  }

  /* In-flow at capped size: title can grow the row just enough to stay
     fully visible; cards still win when they are taller (~no navy void). */
  .mt-about-dna-title--vert {
    display: block;
    position: relative;
    z-index: 1;
    top: auto;
    left: auto;
    bottom: auto;
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    letter-spacing: -0.06em;
    line-height: 1;
    white-space: nowrap;
  }

  .mt-about-dna-body {
    padding: 2.5rem 3rem 2.25rem;
  }

  .mt-about-dna-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: start;
  }

  .mt-about-card--b {
    margin-top: 1.25rem;
  }

  .mt-about-card--c {
    margin-top: 2.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .mt-about-hero {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: stretch;
  }

  .mt-about-hero-copy {
    padding: 2.5rem 1.75rem;
    border-bottom: 0;
    border-right: 4px solid #2D2727;
  }

  .mt-about-hero-media {
    min-height: 0;
  }

  .mt-about-hero-img {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .mt-about-card--b,
  .mt-about-card--c {
    margin-top: 0.5rem;
  }
}


/* src/styles/macutech-contact.css */
/* ——— CONTACT (Neo-Brutalist Editorial) ——— */
.mt-stitch-root .mt-contact-main {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
  box-sizing: border-box;
  overflow-x: clip;
}

.mt-stitch-root .mt-contact-hero {
  margin: 0 0 3rem;
  position: relative;
}

.mt-stitch-root .mt-contact-h1 {
  font-family: var(--font-stretch, "StretchPro", Outfit, system-ui, sans-serif);
  font-size: clamp(2.75rem, 12vw, 7.5rem);
  line-height: 0.85;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #2D2727;
  margin: 0 0 1.25rem;
  word-break: break-word;
}

.mt-stitch-root .mt-contact-h1-box {
  display: inline-block;
  background: #3D30A2;
  color: #fff;
  padding: 0.1em 0.25em;
  transform: rotate(-2deg);
}

.mt-stitch-root .mt-contact-lead {
  max-width: 36rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.55;
  font-weight: 600;
  color: #2D2727;
  margin: 0;
}

.mt-stitch-root .mt-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.mt-stitch-root .mt-contact-form-wrap {
  background: #fff;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  padding: 1.25rem;
  box-sizing: border-box;
  min-width: 0;
}

.mt-stitch-root .mt-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mt-stitch-root .mt-contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.mt-stitch-root .mt-contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.mt-stitch-root .mt-contact-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2D2727;
}

.mt-stitch-root .mt-contact-input,
.mt-stitch-root .mt-contact-select,
.mt-stitch-root .mt-contact-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 4px solid #2D2727;
  border-radius: 0;
  background: #FAFCDA;
  color: #2D2727;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.9rem 1rem;
  outline: none;
  min-width: 0;
}

.mt-stitch-root .mt-contact-input:focus,
.mt-stitch-root .mt-contact-select:focus,
.mt-stitch-root .mt-contact-textarea:focus {
  background: #fff;
  border-color: #3D30A2;
}

.mt-stitch-root .mt-contact-textarea {
  resize: vertical;
  min-height: 8rem;
}

.mt-stitch-root .mt-contact-submit {
  width: 100%;
  border: 4px solid #2D2727;
  border-radius: 0;
  background: #FFD000;
  color: #2D2727;
  font-family: var(--font-stretch, "StretchPro", Outfit, system-ui, sans-serif);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem 1.25rem;
  cursor: pointer;
  box-shadow: 8px 8px 0 #2D2727;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mt-stitch-root .mt-contact-submit:hover {
  background: #2D2727;
  color: #fff;
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 #2D2727;
}

.mt-stitch-root .mt-contact-form[aria-busy="true"] .mt-contact-submit {
  opacity: 0.7;
  cursor: wait;
}

/* Form status messages — shown via runtime data-instatic-form-state */
.mt-stitch-root .mt-contact-form-msg,
.mt-stitch-root .mt-contact-form-msg--status,
.mt-stitch-root .mt-contact-form-msg--success,
.mt-stitch-root .mt-contact-form-msg--error {
  display: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 4px solid var(--on-surface);
  box-shadow: 8px 8px 0 0 var(--on-surface);
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-display, "StretchPro", Outfit, system-ui, sans-serif);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
}

.mt-stitch-root .mt-contact-form[data-instatic-form-state="pending"] .mt-contact-form-msg--status {
  display: block;
  background: var(--tertiary);
  color: var(--on-surface);
  animation: mt-contact-msg-pulse 0.9s steps(2, end) infinite;
}

.mt-stitch-root .mt-contact-form[data-instatic-form-state="success"] .mt-contact-form-msg--success {
  display: block;
  background: var(--success);
  color: var(--on-surface);
}

.mt-stitch-root .mt-contact-form[data-instatic-form-state="error"] .mt-contact-form-msg--error {
  display: block;
  background: var(--error);
  color: #fff;
}

@keyframes mt-contact-msg-pulse {
  0%, 100% { transform: translate(0, 0); box-shadow: 8px 8px 0 0 var(--on-surface); }
  50% { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 0 var(--on-surface); }
}

@media (prefers-reduced-motion: reduce) {
  .mt-stitch-root .mt-contact-form[data-instatic-form-state="pending"] .mt-contact-form-msg--status {
    animation: none;
  }
}

.mt-stitch-root .mt-contact-channels,
.mt-stitch-root .mt-contact-loop {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  min-width: 0;
}

.mt-stitch-root .mt-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 11rem;
  padding: 1.5rem;
  border: 4px solid #2D2727;
  box-shadow: 8px 8px 0 #2D2727;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  transition: transform 0.2s ease;
  min-width: 0;
  overflow: hidden;
}

.mt-stitch-root .mt-contact-card:nth-child(3n+1),
.mt-stitch-root .mt-contact-card[data-theme="primary"] {
  background: #3D30A2;
  color: #fff;
  transform: rotate(1deg);
}

.mt-stitch-root .mt-contact-card:nth-child(3n+2),
.mt-stitch-root .mt-contact-card[data-theme="secondary"] {
  background: #B15EFF;
  color: #2D2727;
  transform: rotate(-1deg);
}

.mt-stitch-root .mt-contact-card:nth-child(3n),
.mt-stitch-root .mt-contact-card[data-theme="white"] {
  background: #fff;
  color: #2D2727;
  transform: rotate(2deg);
}

.mt-stitch-root .mt-contact-card:hover {
  transform: rotate(0deg);
}

.mt-stitch-root .mt-contact-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.mt-stitch-root .mt-contact-card-title {
  font-family: var(--font-stretch, "StretchPro", Outfit, system-ui, sans-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  white-space: pre-line;
}

.mt-stitch-root .mt-contact-card[data-theme="primary"] .mt-contact-card-title,
.mt-stitch-root .mt-contact-card:nth-child(3n+1) .mt-contact-card-title {
  color: #FFD000;
}

.mt-stitch-root .mt-contact-card-ico {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #2D2727;
  box-shadow: 4px 4px 0 #2D2727;
  font-size: 1.5rem;
  font-weight: 900;
  background: #FFD000;
  color: #2D2727;
}

.mt-stitch-root .mt-contact-card[data-theme="secondary"] .mt-contact-card-ico,
.mt-stitch-root .mt-contact-card:nth-child(3n+2) .mt-contact-card-ico {
  background: #fff;
}

.mt-stitch-root .mt-contact-card[data-theme="white"] .mt-contact-card-ico,
.mt-stitch-root .mt-contact-card:nth-child(3n) .mt-contact-card-ico {
  background: #3D30A2;
  color: #fff;
}

.mt-stitch-root .mt-contact-card-body {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
  word-break: break-word;
  white-space: pre-line;
}

.mt-stitch-root .mt-contact-card[data-theme="secondary"] .mt-contact-card-body,
.mt-stitch-root .mt-contact-card:nth-child(3n+2) .mt-contact-card-body,
.mt-stitch-root .mt-contact-card[data-theme="white"] .mt-contact-card-body,
.mt-stitch-root .mt-contact-card:nth-child(3n) .mt-contact-card-body {
  display: inline-block;
  background: #fff;
  border: 4px solid #2D2727;
  padding: 0.4rem 0.75rem;
  max-width: 100%;
}

.mt-stitch-root .mt-contact-card[data-theme="white"] .mt-contact-card-body,
.mt-stitch-root .mt-contact-card:nth-child(3n) .mt-contact-card-body {
  background: #FFD000;
}

@media (min-width: 768px) {
  .mt-stitch-root .mt-contact-main {
    padding: 4rem 2rem 5rem;
  }

  .mt-stitch-root .mt-contact-hero {
    margin-bottom: 4rem;
  }

  .mt-stitch-root .mt-contact-form-wrap {
    padding: 2rem 2.25rem;
  }

  .mt-stitch-root .mt-contact-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .mt-stitch-root .mt-contact-main {
    padding: 5rem 3rem 6rem;
  }

  .mt-stitch-root .mt-contact-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 2.5rem;
  }
}

@media (max-width: 767px) {
  .mt-stitch-root .mt-contact-card {
    transform: none !important;
  }
}


/* src/styles/macutech-quote.css */
/* MACUTECH quote estimator — page layout (not modal).
 * Respects html[data-theme=bento|brutal] via --mt-* tokens.
 * Classes: mt-quote-* (BEM-ish, no modal overlay).
 */

.mt-quote-main,
main:has([data-mt-quote-root]),
main:has(.mt-quote-mount) {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) clamp(2.5rem, 6vw, 4rem);
  background: var(--surface);
  color: var(--on-surface);
}

.mt-quote-shell {
  width: min(44rem, 100%);
  margin: 0 auto;
  box-sizing: border-box;
}

.mt-quote-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--mt-font-mono, ui-monospace, monospace);
  font-size: 0.7rem;
  letter-spacing: var(--mt-label-tracking, 0.12em);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
}

.mt-quote-page-title {
  margin: 0 0 0.5rem;
  font-family: var(--mt-font-display, Outfit, system-ui, sans-serif);
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  font-weight: var(--mt-display-weight, 900);
  letter-spacing: var(--mt-display-tracking, 0);
  text-transform: uppercase;
  line-height: 0.95;
}

.mt-quote-page-lead {
  margin: 0 0 1.5rem;
  font-family: var(--mt-font-body, Inter, system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  max-width: 36rem;
}

.mt-quote {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--mt-font-body, Inter, system-ui, sans-serif);
}

.mt-quote-section {
  margin: 0 0 1rem;
}

.mt-quote-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mt-quote-packages {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mt-quote-pkg {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border: var(--mt-border-w, 4px) solid var(--on-surface);
  border-radius: var(--mt-radius, 0);
  background: var(--surface);
  cursor: pointer;
  box-sizing: border-box;
}

.mt-quote-pkg:has(input:checked),
.mt-quote-option:has(input:checked) {
  background: color-mix(in srgb, var(--secondary) 35%, var(--surface));
}

.mt-quote-pkg input,
.mt-quote-option input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.mt-quote-pkg-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.mt-quote-pkg-name {
  font-weight: 800;
  font-size: 0.95rem;
}

.mt-quote-pkg-desc {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.85;
}

.mt-quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .mt-quote-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mt-quote-radios {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mt-quote-option {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border: var(--mt-border-w, 4px) solid var(--on-surface);
  border-radius: var(--mt-radius, 0);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}

.mt-quote-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0.5rem 0;
  padding: 0.85rem 1rem;
  border: var(--mt-border-w, 4px) solid var(--on-surface);
  border-radius: var(--mt-radius, 0);
  background: var(--tertiary);
  box-shadow: var(--mt-shadow, 8px 8px 0 0 var(--on-surface));
}

.mt-quote-total span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mt-quote-total strong {
  font-family: var(--mt-font-display, Outfit, system-ui, sans-serif);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.mt-quote-disclaimer {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0.9;
}

.mt-quote-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0.95rem 1rem;
  border: var(--mt-border-w, 4px) solid var(--on-surface);
  border-radius: var(--mt-radius, 0);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-family: var(--mt-font-display, Outfit, system-ui, sans-serif);
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--mt-shadow, 8px 8px 0 0 var(--on-surface));
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mt-quote-cta:hover {
  transform: var(--mt-shadow-lift, translate(-4px, -4px));
  box-shadow: var(--mt-shadow-hover, 12px 12px 0 0 var(--on-surface));
}

.mt-quote-cta.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  transform: none;
  box-shadow: var(--mt-shadow, 8px 8px 0 0 var(--on-surface));
}

/* Brutal: hard edges / StretchPro via tokens — keep bleed-free page shell */
html[data-theme="brutal"] .mt-quote-shell,
html:not([data-theme]) .mt-quote-shell {
  border: var(--mt-border-w) solid var(--on-surface);
  border-radius: 0;
  box-shadow: var(--mt-shadow);
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background: var(--surface);
}

/* Bento: rounded cells, Outfit, no brutal page-bleed frame */
html[data-theme="bento"] .mt-quote-shell {
  border: none;
  box-shadow: none;
  border-radius: var(--mt-radius-lg);
  padding: 0;
  background: transparent;
}

html[data-theme="bento"] .mt-quote-pkg,
html[data-theme="bento"] .mt-quote-option,
html[data-theme="bento"] .mt-quote-total,
html[data-theme="bento"] .mt-quote-cta {
  border-radius: var(--mt-radius);
}

/* Desktop header CTA promoted from button → anchor */
header a.bg-tertiary.mt-bg-tertiary,
header a.mt-bg-tertiary {
  text-decoration: none;
}


/* src/styles/macutech-legal.css */
/* ——— LEGAL PAGES (Neo-Brutalist Editorial) ——— */
.mt-stitch-root .mt-legal-main {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem 4.5rem;
  box-sizing: border-box;
}

.mt-stitch-root .mt-legal-kicker {
  display: inline-block;
  font-family: var(--font-stretch, "StretchPro", Outfit, system-ui, sans-serif);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--tertiary);
  color: var(--on-surface);
  border: 4px solid var(--on-surface);
  box-shadow: 6px 6px 0 var(--on-surface);
  padding: 0.4rem 0.85rem;
  transform: rotate(-1.5deg);
  margin: 0 0 1.25rem;
}

.mt-stitch-root .mt-legal-h1 {
  font-family: var(--font-stretch, "StretchPro", Outfit, system-ui, sans-serif);
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  line-height: 0.88;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin: 0 0 1rem;
  word-break: break-word;
}

.mt-stitch-root .mt-legal-h1-box {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.05em 0.2em;
  transform: rotate(-2deg);
}

.mt-stitch-root .mt-legal-meta {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 2rem;
  opacity: 0.75;
}

.mt-stitch-root .mt-legal-disclaimer {
  margin: 0 0 2.5rem;
  padding: 1rem 1.15rem;
  border: 4px solid var(--on-surface);
  box-shadow: 8px 8px 0 var(--on-surface);
  background: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.mt-stitch-root .mt-legal-section {
  margin: 0 0 2rem;
  padding-top: 1.25rem;
  border-top: 4px solid var(--on-surface);
}

.mt-stitch-root .mt-legal-h2 {
  font-family: var(--font-stretch, "StretchPro", Outfit, system-ui, sans-serif);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
  color: var(--on-surface);
}

.mt-stitch-root .mt-legal-p,
.mt-stitch-root .mt-legal-li {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--on-surface);
  margin: 0 0 0.85rem;
}

.mt-stitch-root .mt-legal-ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}

.mt-stitch-root .mt-legal-placeholder {
  display: inline;
  background: var(--secondary);
  color: #fff;
  font-weight: 900;
  padding: 0.05em 0.35em;
  border: 2px solid var(--on-surface);
}

.mt-stitch-root .mt-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.5rem 0 0;
}

.mt-stitch-root .mt-legal-nav a {
  text-decoration: none;
  border: 4px solid var(--on-surface);
  box-shadow: 6px 6px 0 var(--on-surface);
  padding: 0.7rem 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: var(--on-surface);
  background: #fff;
}

.mt-stitch-root .mt-legal-nav a:hover {
  background: var(--on-surface);
  color: #fff;
}

@media (min-width: 768px) {
  .mt-stitch-root .mt-legal-main {
    padding: 4.5rem 2rem 6rem;
  }
}


/* src/styles/macutech-footer.css */
/* MACUTECH footer enrichment (brutal default + shared hooks).
 * Bento-specific overrides live in macutech-theme-bento.css under
 * html[data-theme="bento"] — keep this file free of nav / :has bleed. */

.mt-footer-watermark {
  display: none !important;
}

.mt-footer-monito {
  position: absolute;
  right: 0.5rem;
  bottom: 0.35rem;
  width: clamp(88px, 28%, 140px);
  pointer-events: none;
  z-index: 2;
  line-height: 0;
}

.mt-footer-monito-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 4px 0 var(--on-surface));
  transform: rotate(-6deg);
}

.mt-footer-enriched > *:first-child {
  position: relative;
  overflow: hidden;
}

.mt-footer-copy {
  position: relative;
  z-index: 3;
}

.mt-footer-contact {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 4px solid var(--on-surface);
}

.mt-footer-link {
  font-family: var(--mt-font-body, inherit);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--on-surface);
  text-decoration: none;
  background: var(--surface);
  border: 3px solid var(--on-surface);
  box-shadow: 3px 3px 0 0 var(--on-surface);
  padding: 0.35rem 0.55rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.mt-footer-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--on-surface);
}

.mt-footer-meta {
  font-family: var(--mt-font-body, inherit);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface);
}

.mt-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .mt-footer-link {
    transition: none;
  }
  .mt-footer-monito-img {
    transform: none;
  }
}


/* src/styles/macutech-cookies.css */
/* ——— COOKIE BANNER (Neo-Brutalist MVP) ——— */
.mt-cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  max-width: 42rem;
  margin: 0 auto;
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: #fff;
  color: var(--on-surface, #2D2727);
  border: 4px solid var(--on-surface, #2D2727);
  box-shadow: 8px 8px 0 var(--on-surface, #2D2727);
  font-family: Outfit, system-ui, sans-serif;
  box-sizing: border-box;
}

.mt-cookie-banner.is-visible {
  display: flex;
}

.mt-cookie-banner__title {
  margin: 0;
  font-family: var(--font-stretch, "StretchPro", Outfit, system-ui, sans-serif);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.mt-cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.mt-cookie-banner__text a {
  color: inherit;
  font-weight: 900;
  text-underline-offset: 2px;
}

.mt-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.mt-cookie-banner__btn {
  appearance: none;
  border: 4px solid var(--on-surface, #2D2727);
  box-shadow: 4px 4px 0 var(--on-surface, #2D2727);
  background: var(--tertiary, #FFD000);
  color: var(--on-surface, #2D2727);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
}

.mt-cookie-banner__btn--ghost {
  background: #fff;
}

.mt-cookie-banner__btn:hover {
  background: var(--on-surface, #2D2727);
  color: #fff;
}

@media (min-width: 768px) {
  .mt-cookie-banner {
    left: 1.5rem;
    right: auto;
    bottom: 1.5rem;
    width: min(26rem, calc(100vw - 3rem));
    margin: 0;
  }
}


/* src/styles/macutech-theme-bento.css */
/* MACUTECH Bento skin v2 — fidelity to Diseño Bento mocks
 * Activates under html[data-theme="bento"].
 * Brand colors = framework tokens only. Layout / type / chrome change here.
 * Dual-skin: hide brutal main children; show .mt-bento-skin only in bento.
 * Portafolio /en/portfolio: full .mt-bento-skin (same pattern as home/servicios/nosotros).
 */

html:not([data-theme="bento"]) .mt-bento-skin {
  display: none !important;
}

/* Dual-skin: hide brutal main siblings of .mt-bento-skin.
 * Only when a .mt-bento-skin child exists — pages without a bento skin
 * (cotizar, legal, etc.) must keep their sole main content visible.
 * stitch-layout forces `#servicios/#services { display:block !important }` in
 * mobile/tablet — ID beats a plain :not() hide, so pin IDs + sibling combinator. */
html[data-theme="bento"] .mt-stitch-root > main:has(> .mt-bento-skin) > :not(.mt-bento-skin),
html[data-theme="bento"] .mt-stitch-root main:has(> .mt-bento-skin) > :not(.mt-bento-skin),
html[data-theme="bento"] .mt-stitch-root > main > .mt-bento-skin ~ *,
html[data-theme="bento"] .mt-stitch-root main > .mt-bento-skin ~ *,
html[data-theme="bento"] .mt-stitch-root > main > .mt-bento-skin ~ #servicios,
html[data-theme="bento"] .mt-stitch-root > main > .mt-bento-skin ~ #services,
html[data-theme="bento"] .mt-stitch-root main > .mt-bento-skin ~ #servicios,
html[data-theme="bento"] .mt-stitch-root main > .mt-bento-skin ~ #services,
html[data-theme="bento"] .mt-stitch-root > main > .mt-bento-skin ~ #portafolio,
html[data-theme="bento"] .mt-stitch-root > main > .mt-bento-skin ~ #portafolio-page,
html[data-theme="bento"] .mt-stitch-root > main > .mt-bento-skin ~ #portfolio-page,
html[data-theme="bento"] .mt-stitch-root > main > .mt-bento-skin ~ #work,
html[data-theme="bento"] .mt-stitch-root > main > .mt-bento-skin ~ #nosotros,
html[data-theme="bento"] .mt-stitch-root > main > .mt-bento-skin ~ #about,
html[data-theme="bento"] .mt-stitch-root main > .mt-bento-skin ~ #portafolio,
html[data-theme="bento"] .mt-stitch-root main > .mt-bento-skin ~ #portafolio-page,
html[data-theme="bento"] .mt-stitch-root main > .mt-bento-skin ~ #portfolio-page,
html[data-theme="bento"] .mt-stitch-root main > .mt-bento-skin ~ #work,
html[data-theme="bento"] .mt-stitch-root main > .mt-bento-skin ~ #nosotros,
html[data-theme="bento"] .mt-stitch-root main > .mt-bento-skin ~ #about,
html[data-theme="bento"] .mt-stitch-root > main > .mt-bento-skin ~ .mt-folio-hero-sec,
html[data-theme="bento"] .mt-stitch-root > main > .mt-bento-skin ~ .mt-folio-grid-sec,
html[data-theme="bento"] .mt-stitch-root main > .mt-bento-skin ~ .mt-folio-hero-sec,
html[data-theme="bento"] .mt-stitch-root main > .mt-bento-skin ~ .mt-folio-grid-sec {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  pointer-events: none !important;
}

html[data-theme="bento"] .mt-stitch-root > main {
  display: block !important;
  border: none !important;
  padding: 1rem !important;
  gap: 0 !important;
}

html[data-theme="bento"] .mt-stitch-root > main.divide-y-4 > * + *,
html[data-theme="bento"] .mt-stitch-root > main > * + * {
  border-top: none !important;
  margin-top: 0 !important;
}

html[data-theme="bento"] .mt-stitch-root {
  margin: var(--mt-frame-margin) !important;
  border-width: var(--mt-border-w) !important;
  border-radius: var(--mt-radius-xl) !important;
  overflow: hidden !important;
  background-color: var(--surface) !important;
  position: relative !important;
}

html[data-theme="bento"] .mt-stitch-root::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background-image:
    radial-gradient(var(--on-surface) 1px, transparent 1px),
    linear-gradient(var(--on-surface) 1px, transparent 1px),
    linear-gradient(90deg, var(--on-surface) 1px, transparent 1px);
  background-size: 30px 30px, 50px 50px, 50px 50px;
}

html[data-theme="bento"] .mt-stitch-root > header,
html[data-theme="bento"] .mt-stitch-root > main,
html[data-theme="bento"] .mt-stitch-root > footer,
html[data-theme="bento"] .mt-bento-skin {
  position: relative;
  z-index: 1;
}

/* ——— Navbar (mock TopNavBar) ——— */
html[data-theme="bento"] .mt-stitch-root > header,
html[data-theme="bento"] .mt-stitch-root header.sticky {
  mix-blend-mode: normal !important;
  background: var(--surface) !important;
  border-bottom: var(--mt-border-w) solid var(--on-surface) !important;
  box-shadow: var(--mt-shadow) !important;
  border-radius: 0 !important;
  height: auto !important;
  min-height: var(--mt-nav-height) !important;
  overflow: visible !important;
  z-index: 50 !important;
}

html[data-theme="bento"] .mt-header-bar {
  display: flex !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  padding: 0 1rem !important;
  align-items: center !important;
  min-height: var(--mt-nav-height) !important;
  height: var(--mt-nav-height) !important;
}

html[data-theme="bento"] .mt-brand-wrap {
  border-right: none !important;
  border: none !important;
  background: transparent !important;
  padding: 0 0.25rem 0 0.5rem !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
}

html[data-theme="bento"] .mt-brand,
html[data-theme="bento"] .mt-stitch-root .mt-brand,
html[data-theme="bento"] .mt-stitch-root header .mt-brand,
html[data-theme="bento"] .mt-stitch-root header a.mt-brand,
html[data-theme="bento"] .mt-stitch-root header a.font-display.mt-brand,
html[data-theme="bento"] .mt-stitch-root header .mt-brand.mt-text-on-surface,
html[data-theme="bento"] .mt-stitch-root header a.text-on-surface.mt-brand {
  transform: none !important;
  font-size: clamp(1.45rem, 2.6vw, 2rem) !important;
  color: var(--primary) !important;
  letter-spacing: -0.05em !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

/* Desktop link row — only from tablet up (do not override hidden md:flex on mobile) */
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-stitch-root header nav[class*="md:flex"]:not(.mt-lang-switch):not(.mt-mobile-drawer) {
    display: flex !important;
    gap: 0.35rem !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    align-self: center !important;
  }
}

@media (max-width: 767px) {
  html[data-theme="bento"] .mt-stitch-root header nav[class*="md:flex"]:not(.mt-lang-switch):not(.mt-mobile-drawer) {
    display: none !important;
  }

  html[data-theme="bento"] .mt-header-actions {
    margin-left: auto !important;
  }

  html[data-theme="bento"] .mt-stitch-root header .mt-lang-switch,
  html[data-theme="bento"] .mt-header-actions .mt-lang-switch {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

html[data-theme="bento"] .mt-stitch-root header nav[class*="divide"] > * + *,
html[data-theme="bento"] .mt-stitch-root header nav.divide-x-4 > * + * {
  border: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

html[data-theme="bento"] .mt-stitch-root header nav[class*="md:flex"]:not(.mt-lang-switch):not(.mt-mobile-drawer) a {
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0.5rem 0.9rem !important;
  border: 2px solid transparent !important;
  border-radius: var(--mt-radius) !important;
  background: transparent !important;
  font-family: var(--mt-font-mono) !important;
  font-size: 0.68rem !important;
  letter-spacing: var(--mt-label-tracking) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: var(--on-surface) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease !important;
}

html[data-theme="bento"] .mt-stitch-root header nav[class*="md:flex"]:not(.mt-lang-switch):not(.mt-mobile-drawer) a:hover {
  background: color-mix(in srgb, var(--surface) 72%, var(--on-surface) 10%) !important;
  border-color: var(--on-surface) !important;
  box-shadow: var(--mt-shadow-hover) !important;
  transform: var(--mt-shadow-lift) !important;
  color: var(--on-surface) !important;
}

/* Active page: subtle primary underline — not brutal secondary fill.
 * Do NOT use [class*="bg-secondary"]: it also matches hover:bg-secondary (false actives). */
html[data-theme="bento"] .mt-stitch-root header nav[class*="md:flex"]:not(.mt-lang-switch):not(.mt-mobile-drawer) a.is-active,
html[data-theme="bento"] .mt-stitch-root header nav[class*="md:flex"]:not(.mt-lang-switch):not(.mt-mobile-drawer) a[aria-current="page"],
html[data-theme="bento"] .mt-stitch-root header nav[class*="md:flex"]:not(.mt-lang-switch):not(.mt-mobile-drawer) a.mt-bg-secondary,
html[data-theme="bento"] .mt-stitch-root header nav[class*="md:flex"]:not(.mt-lang-switch):not(.mt-mobile-drawer) a.bg-secondary {
  background: transparent !important;
  border-color: transparent !important;
  border-bottom: 2px solid var(--primary) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--on-surface) !important;
}

html[data-theme="bento"] .mt-mobile-drawer a.is-active,
html[data-theme="bento"] .mt-mobile-drawer a[aria-current="page"] {
  background: color-mix(in srgb, var(--primary) 12%, white) !important;
  color: var(--on-surface) !important;
  box-shadow: inset 4px 0 0 0 var(--primary) !important;
}

html[data-theme="bento"] .mt-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  flex: 0 0 auto !important;
  border-left: none !important;
  border: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin-right: 0.25rem !important;
}

html[data-theme="bento"] .mt-lang-switch {
  display: flex !important;
  align-items: center !important;
  gap: 0.2rem !important;
  height: auto !important;
  border: none !important;
  background: transparent !important;
}

html[data-theme="bento"] .mt-lang-switch a {
  font-family: var(--mt-font-mono) !important;
  font-size: 0.58rem !important;
  font-weight: 700 !important;
  letter-spacing: var(--mt-label-tracking) !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: var(--on-surface) !important;
  background: transparent !important;
  border: 2px solid transparent !important;
  border-radius: var(--mt-radius) !important;
  padding: 0.35rem 0.5rem !important;
  line-height: 1 !important;
}

html[data-theme="bento"] .mt-lang-switch a.is-active {
  background: var(--tertiary) !important;
  border-color: var(--on-surface) !important;
  color: var(--on-surface) !important;
  box-shadow: 2px 2px 0 0 var(--on-surface) !important;
}

html[data-theme="bento"] .mt-header-actions > button,
html[data-theme="bento"] .mt-header-actions button[class*="bg-tertiary"] {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: var(--mt-border-w) solid var(--on-surface) !important;
  border-radius: var(--mt-radius) !important;
  box-shadow: 4px 4px 0 0 var(--on-surface) !important;
  font-family: var(--mt-font-mono) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: var(--mt-label-tracking) !important;
  text-transform: uppercase !important;
  margin: 0 0.15rem 0 0.35rem !important;
  background: var(--primary) !important;
  color: #fff !important;
  padding: 0.55rem 1.35rem !important;
  height: auto !important;
  min-height: 0 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}

html[data-theme="bento"] .mt-header-actions > button:hover,
html[data-theme="bento"] .mt-header-actions button[class*="bg-tertiary"]:hover {
  background: var(--on-surface) !important;
  color: var(--surface) !important;
  box-shadow: var(--mt-shadow-hover) !important;
  transform: var(--mt-shadow-lift) !important;
}

html[data-theme="bento"] .mt-header-actions > button::before {
  content: "CMD";
  position: absolute;
  top: -0.4rem;
  left: -0.4rem;
  background: var(--secondary);
  color: #fff;
  font-family: var(--mt-font-mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 0.28rem;
  border: 1px solid var(--on-surface);
  line-height: 1.4;
  z-index: 1;
}

html[data-theme="bento"] .mt-mobile-nav {
  border-left: none !important;
  height: auto !important;
}

html[data-theme="bento"] .mt-menu-btn {
  font-family: var(--mt-font-mono) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: var(--mt-label-tracking) !important;
  text-transform: uppercase !important;
  border: var(--mt-border-w) solid var(--on-surface) !important;
  border-radius: var(--mt-radius) !important;
  background: var(--surface) !important;
  color: var(--primary) !important;
  box-shadow: 3px 3px 0 0 var(--on-surface) !important;
  padding: 0.45rem 0.7rem !important;
}

html[data-theme="bento"] .mt-mobile-drawer {
  border: var(--mt-border-w) solid var(--on-surface) !important;
  border-top: none !important;
  border-radius: 0 0 var(--mt-radius-xl) var(--mt-radius-xl) !important;
  box-shadow: var(--mt-shadow) !important;
  background: var(--surface) !important;
  overflow: hidden !important;
}

html[data-theme="bento"] .mt-mobile-drawer a {
  font-family: var(--mt-font-mono) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: var(--mt-label-tracking) !important;
  text-transform: uppercase !important;
  color: var(--on-surface) !important;
  background: var(--surface) !important;
  border-bottom: 2px solid var(--on-surface) !important;
}

html[data-theme="bento"] .mt-mobile-drawer a::after {
  content: none !important;
}

html[data-theme="bento"] .mt-mobile-drawer a.mt-d-home,
html[data-theme="bento"] .mt-mobile-drawer a.mt-d-svc,
html[data-theme="bento"] .mt-mobile-drawer a.mt-d-work,
html[data-theme="bento"] .mt-mobile-drawer a.mt-d-blog,
html[data-theme="bento"] .mt-mobile-drawer a.mt-d-about,
html[data-theme="bento"] .mt-mobile-drawer a.mt-d-contact {
  background: var(--surface) !important;
  color: var(--on-surface) !important;
}

html[data-theme="bento"] .mt-mobile-drawer a:hover {
  background: color-mix(in srgb, var(--secondary) 14%, white) !important;
}

html[data-theme="bento"] .mt-mobile-drawer a.mt-drawer-cta {
  background: var(--primary) !important;
  color: #fff !important;
  border-bottom: none !important;
}

@media (max-width: 767px) {
  html[data-theme="bento"] .mt-header-bar {
    height: 4rem !important;
    min-height: 4rem !important;
    padding: 0 0.65rem !important;
  }

  html[data-theme="bento"] .mt-brand {
    font-size: 1.25rem !important;
  }

  html[data-theme="bento"] .mt-header-actions {
    border-left: none !important;
  }
}

html[data-theme="bento"] .mt-bento-skin {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

html[data-theme="bento"] .mt-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--mt-cell-gap);
  grid-auto-rows: minmax(9rem, auto);
}

@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

html[data-theme="bento"] .mt-bento-card {
  border: var(--mt-border-w) solid var(--on-surface);
  border-radius: var(--mt-radius-xl);
  box-shadow: var(--mt-shadow);
  overflow: hidden;
  position: relative;
  background: var(--surface);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

html[data-theme="bento"] .mt-bento-card:hover {
  box-shadow: var(--mt-shadow-hover);
  transform: var(--mt-shadow-lift);
}

html[data-theme="bento"] .mt-bento-label {
  display: inline-block;
  font-family: var(--mt-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: var(--mt-label-tracking);
  text-transform: uppercase;
  background: var(--on-surface);
  color: #fff;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--on-surface);
}

html[data-theme="bento"] .mt-bento-label--soft {
  background: var(--surface);
  color: var(--on-surface);
  border: 2px solid var(--on-surface);
}

html[data-theme="bento"] .mt-bento-label--sec {
  background: var(--secondary);
  color: #fff;
}

html[data-theme="bento"] .mt-bento-label--pri {
  background: var(--primary);
  color: #fff;
}

html[data-theme="bento"] .mt-bento-h1 {
  font-family: var(--mt-font-display) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  line-height: 0.92 !important;
  text-transform: uppercase;
  color: var(--on-surface);
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 7vw, 4.75rem) !important;
}

html[data-theme="bento"] .mt-bento-h2 {
  font-family: var(--mt-font-display) !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.05 !important;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
}

html[data-theme="bento"] .mt-bento-h3 {
  font-family: var(--mt-font-display) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2vw, 1.65rem) !important;
}

html[data-theme="bento"] .mt-bento-body {
  font-family: var(--mt-font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--on-surface);
}

html[data-theme="bento"] .mt-bento-body-lg {
  font-family: var(--mt-font-body);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.25;
}

html[data-theme="bento"] .mt-bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  margin-top: 1rem;
  padding: 0.85rem 1.5rem;
  background: var(--on-surface);
  color: var(--surface);
  border: var(--mt-border-w) solid var(--on-surface);
  border-radius: var(--mt-radius);
  box-shadow: var(--mt-shadow);
  font-family: var(--mt-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: var(--mt-label-tracking);
  text-transform: uppercase;
  text-decoration: none;
  width: max-content;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

html[data-theme="bento"] .mt-bento-cta:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--mt-shadow-hover);
  transform: var(--mt-shadow-lift);
}

html[data-theme="bento"] .mt-bento-cta::before {
  content: attr(data-cmd);
  position: absolute;
  top: -0.45rem;
  left: -0.45rem;
  /* Accent chip only — tertiary yellow OK here */
  background: var(--tertiary);
  color: var(--on-surface);
  font-size: 0.5rem;
  padding: 0 0.3rem;
  border: 1px solid var(--on-surface);
  line-height: 1.4;
}

html[data-theme="bento"] .mt-bento-dots { display: flex; gap: 0.4rem; }
html[data-theme="bento"] .mt-bento-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 999px; border: 1px solid var(--on-surface);
}
html[data-theme="bento"] .mt-bento-dot--ok {
  background: var(--success);
  animation: mt-bento-pulse 1.6s ease-in-out infinite;
}
html[data-theme="bento"] .mt-bento-dot--sec { background: var(--secondary); }
@keyframes mt-bento-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

html[data-theme="bento"] .mt-bento-tag {
  display: inline-block;
  font-family: var(--mt-font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: var(--mt-label-tracking);
  text-transform: uppercase;
  border: 1px solid var(--on-surface);
  padding: 0.2rem 0.45rem;
  background: color-mix(in srgb, var(--surface) 80%, var(--on-surface) 8%);
}

html[data-theme="bento"] .mt-bento-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border: var(--mt-border-w) solid var(--on-surface);
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  flex-shrink: 0;
}

html[data-theme="bento"] .mt-bento-hero {
  grid-column: 1 / -1;
  min-height: 22rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Soft primary wash — never tertiary yellow as large fill */
  background: color-mix(in srgb, var(--primary) 7%, white);
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-hero {
    grid-column: span 8 / span 8;
    grid-row: span 3;
    min-height: 28rem;
    padding: 2rem;
  }
}
html[data-theme="bento"] .mt-bento-hero .mt-bento-h1 {
  transform: rotate(-1deg);
  transform-origin: bottom left;
  max-width: 18ch;
}
html[data-theme="bento"] .mt-bento-hero-copy {
  display: inline-block;
  max-width: 36rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--on-surface);
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.5rem;
}
html[data-theme="bento"] .mt-bento-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}
html[data-theme="bento"] .mt-bento-svc-seo {
  grid-column: 1 / -1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 16rem;
  background: color-mix(in srgb, var(--secondary) 16%, white);
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-svc-seo {
    grid-column: span 4 / span 4;
    grid-row: span 2;
  }
}
html[data-theme="bento"] .mt-bento-svc-seo:hover {
  background: var(--secondary);
  color: #fff;
}
html[data-theme="bento"] .mt-bento-svc-seo:hover .mt-bento-body,
html[data-theme="bento"] .mt-bento-svc-seo:hover .mt-bento-h2 { color: #fff; }
html[data-theme="bento"] .mt-bento-img {
  grid-column: 1 / -1;
  min-height: 14rem;
  background: #111;
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-img {
    grid-column: span 4 / span 4;
    grid-row: span 2;
  }
}
html[data-theme="bento"] .mt-bento-img img,
html[data-theme="bento"] .mt-bento-img .mt-bento-img-bg {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); transition: filter 0.4s ease; min-height: 14rem;
}
html[data-theme="bento"] .mt-bento-img:hover img,
html[data-theme="bento"] .mt-bento-img:hover .mt-bento-img-bg { filter: grayscale(0); }
html[data-theme="bento"] .mt-bento-img-overlay {
  position: absolute; inset: 1rem;
  border: 1px dashed rgba(255,255,255,0.5);
  pointer-events: none; z-index: 2;
}
html[data-theme="bento"] .mt-bento-img-overlay::before,
html[data-theme="bento"] .mt-bento-img-overlay::after {
  content: ""; position: absolute; background: rgba(255,255,255,0.5);
}
html[data-theme="bento"] .mt-bento-img-overlay::before {
  top: 50%; left: 0; width: 100%; height: 1px;
}
html[data-theme="bento"] .mt-bento-img-overlay::after {
  top: 0; left: 50%; width: 1px; height: 100%;
}
html[data-theme="bento"] .mt-bento-img-tags {
  position: absolute; top: 0.5rem; left: 0.5rem; z-index: 3;
  display: flex; flex-direction: column; gap: 0.25rem;
}
html[data-theme="bento"] .mt-bento-svc-row {
  grid-column: 1 / -1;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem; min-height: 7rem;
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-svc-ui { grid-column: span 4 / span 4; }
  html[data-theme="bento"] .mt-bento-svc-eng { grid-column: span 4 / span 4; }
}
html[data-theme="bento"] .mt-bento-svc-ui {
  background: color-mix(in srgb, var(--on-surface) 5%, white);
}
html[data-theme="bento"] .mt-bento-svc-eng {
  background: color-mix(in srgb, var(--primary) 12%, white);
}
html[data-theme="bento"] .mt-bento-svc-eng .mt-bento-icon-box { background: var(--secondary); }
html[data-theme="bento"] .mt-bento-prj {
  grid-column: 1 / -1;
  padding: 1.5rem;
  display: flex; flex-direction: column; min-height: 22rem;
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-prj {
    grid-column: span 6 / span 6;
    grid-row: span 3;
  }
}
html[data-theme="bento"] .mt-bento-prj-nova { background: var(--surface); }
html[data-theme="bento"] .mt-bento-prj-lumina {
  background: color-mix(in srgb, var(--primary) 10%, white);
}
html[data-theme="bento"] .mt-bento-prj-media {
  height: 12rem; width: 100%;
  border-bottom: var(--mt-border-w) solid var(--on-surface);
  margin-bottom: 1rem; position: relative; overflow: hidden; background: #111;
}
html[data-theme="bento"] .mt-bento-prj-media img,
html[data-theme="bento"] .mt-bento-prj-media .mt-bento-img-bg {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); transition: filter 0.4s ease;
}
html[data-theme="bento"] .mt-bento-prj:hover .mt-bento-prj-media img,
html[data-theme="bento"] .mt-bento-prj:hover .mt-bento-prj-media .mt-bento-img-bg {
  filter: grayscale(0);
}
html[data-theme="bento"] .mt-bento-prj-live {
  position: absolute; bottom: 0.4rem; right: 0.4rem;
  font-family: var(--mt-font-mono); font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.08em; background: #000; color: var(--success);
  border: 1px solid var(--success); padding: 0.15rem 0.35rem;
}
html[data-theme="bento"] .mt-bento-prj-tab {
  position: absolute; top: 1.5rem; left: 1.5rem; z-index: 2;
}
html[data-theme="bento"] .mt-bento-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 1rem;
}

html[data-theme="bento"] .mt-bento-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--mt-cell-gap);
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-page-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}
html[data-theme="bento"] .mt-bento-span-12 { grid-column: 1 / -1; }
html[data-theme="bento"] .mt-bento-span-8 { grid-column: 1 / -1; }
html[data-theme="bento"] .mt-bento-span-6 { grid-column: 1 / -1; }
html[data-theme="bento"] .mt-bento-span-4 { grid-column: 1 / -1; }
html[data-theme="bento"] .mt-bento-span-3 { grid-column: 1 / -1; }
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-span-8 { grid-column: span 8 / span 8; }
  html[data-theme="bento"] .mt-bento-span-6 { grid-column: span 6 / span 6; }
  html[data-theme="bento"] .mt-bento-span-4 { grid-column: span 4 / span 4; }
  html[data-theme="bento"] .mt-bento-span-3 { grid-column: span 3 / span 3; }
}
html[data-theme="bento"] .mt-bento-pad { padding: 1.5rem; }
html[data-theme="bento"] .mt-bento-pad-lg { padding: 2rem; }
html[data-theme="bento"] .mt-bento-cream {
  background: color-mix(in srgb, var(--on-surface) 4%, white);
}
html[data-theme="bento"] .mt-bento-lavender {
  background: color-mix(in srgb, var(--secondary) 16%, white);
}
html[data-theme="bento"] .mt-bento-primary-soft {
  background: color-mix(in srgb, var(--primary) 12%, white);
}
html[data-theme="bento"] .mt-bento-primary { background: var(--primary); color: #fff; }
html[data-theme="bento"] .mt-bento-primary .mt-bento-body,
html[data-theme="bento"] .mt-bento-primary .mt-bento-h2,
html[data-theme="bento"] .mt-bento-primary .mt-bento-h3 { color: #fff; }
html[data-theme="bento"] .mt-bento-secondary { background: var(--secondary); color: #fff; }
html[data-theme="bento"] .mt-bento-secondary .mt-bento-body,
html[data-theme="bento"] .mt-bento-secondary .mt-bento-h2,
html[data-theme="bento"] .mt-bento-secondary .mt-bento-h3,
html[data-theme="bento"] .mt-bento-secondary a { color: #fff; }
html[data-theme="bento"] .mt-bento-ink { background: var(--on-surface); color: var(--surface); }
html[data-theme="bento"] .mt-bento-ok { background: var(--success); color: var(--on-surface); }
/* Large tertiary fills inside bento skins → soft neutral (chips keep .mt-bento-label / lang) */
html[data-theme="bento"] .mt-bento-skin .mt-bg-tertiary:not(.mt-bento-label):not(.mt-bento-tag),
html[data-theme="bento"] .mt-bento-skin [class*="bg-tertiary"]:not(.mt-bento-label):not(.mt-bento-tag):not(.mt-lang-switch a) {
  background: color-mix(in srgb, var(--on-surface) 4%, white) !important;
  color: var(--on-surface) !important;
}
html[data-theme="bento"] .mt-bento-section-title {
  grid-column: 1 / -1;
  border-left: var(--mt-border-w) solid var(--on-surface);
  padding-left: 1rem;
  margin: 0.5rem 0;
}
html[data-theme="bento"] .mt-bento-team-media {
  height: 12rem;
  border: var(--mt-border-w) solid var(--on-surface);
  overflow: hidden; background: var(--surface); margin: 0.75rem 0;
}
html[data-theme="bento"] .mt-bento-team-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); transition: filter 0.35s ease;
}
html[data-theme="bento"] .mt-bento-card:hover .mt-bento-team-media img { filter: grayscale(0); }
html[data-theme="bento"] .mt-bento-form label {
  font-family: var(--mt-font-mono); font-size: 0.6rem; font-weight: 700;
  letter-spacing: var(--mt-label-tracking); text-transform: uppercase;
  background: var(--on-surface); color: #fff; display: inline-block;
  padding: 0.15rem 0.4rem; border: 1px solid var(--on-surface); margin-bottom: 0.35rem;
}
html[data-theme="bento"] .mt-bento-form input,
html[data-theme="bento"] .mt-bento-form textarea,
html[data-theme="bento"] .mt-bento-form select {
  width: 100%; border: var(--mt-border-w) solid var(--on-surface);
  border-radius: var(--mt-radius); padding: 0.85rem 1rem;
  font-family: var(--mt-font-body); font-weight: 600;
  background: var(--surface); color: var(--on-surface); margin-bottom: 1rem;
}
html[data-theme="bento"] .mt-bento-form input:focus,
html[data-theme="bento"] .mt-bento-form textarea:focus,
html[data-theme="bento"] .mt-bento-form select:focus {
  outline: 2px solid color-mix(in srgb, var(--primary) 40%, transparent);
  background: color-mix(in srgb, var(--secondary) 10%, white);
}
html[data-theme="bento"] .mt-bento-channel-list {
  display: flex; flex-direction: column; height: 100%; min-height: 14rem;
}
html[data-theme="bento"] .mt-bento-channel-list a {
  flex: 1; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: var(--mt-border-w) solid var(--on-surface);
  font-family: var(--mt-font-mono); font-size: 0.75rem; font-weight: 700;
  letter-spacing: var(--mt-label-tracking); text-decoration: none;
  text-transform: uppercase; color: inherit;
}
html[data-theme="bento"] .mt-bento-channel-list a:last-child { border-bottom: none; }
html[data-theme="bento"] .mt-bento-channel-list a:hover {
  background: color-mix(in srgb, white 20%, transparent);
}
html[data-theme="bento"] .mt-bento-status {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 12rem; padding: 1.5rem; gap: 0.75rem;
}
html[data-theme="bento"] .mt-bento-status-orb {
  width: 3rem; height: 3rem; border-radius: 999px; background: var(--success);
  border: var(--mt-border-w) solid #fff;
  box-shadow: 0 0 15px color-mix(in srgb, var(--success) 70%, transparent);
  animation: mt-bento-pulse 1.6s ease-in-out infinite;
}
html[data-theme="bento"] .mt-bento-svc-tile {
  min-height: 18rem; padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
html[data-theme="bento"] .mt-bento-blog-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--mt-cell-gap);
  grid-auto-rows: minmax(12rem, auto);
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-blog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
html[data-theme="bento"] .mt-bento-blog-feat {
  grid-column: 1 / -1; display: flex; flex-direction: column; min-height: 28rem;
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-blog-feat {
    grid-column: span 2 / span 2; grid-row: span 2;
  }
}
html[data-theme="bento"] .mt-bento-blog-feat-media {
  height: 50%; min-height: 10rem;
  border-bottom: var(--mt-border-w) solid var(--on-surface);
  position: relative; overflow: hidden; background: #111;
}
html[data-theme="bento"] .mt-bento-blog-feat-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); transition: filter 0.35s ease;
}
html[data-theme="bento"] .mt-bento-blog-feat:hover img { filter: grayscale(0); }
html[data-theme="bento"] .mt-bento-blog-body {
  padding: 1.25rem; flex: 1; display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--secondary) 8%, white);
}
html[data-theme="bento"] .mt-bento-news {
  grid-column: 1 / -1; padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: center; gap: 0.75rem;
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-news { grid-column: span 2 / span 2; }
}
html[data-theme="bento"] .mt-bento-news-row { display: flex; width: 100%; }
html[data-theme="bento"] .mt-bento-news-row input {
  flex: 1; border: var(--mt-border-w) solid var(--on-surface); border-right: 0;
  border-radius: var(--mt-radius) 0 0 var(--mt-radius);
  padding: 0.85rem 1rem; font-family: var(--mt-font-mono); font-size: 0.75rem;
  background: var(--surface); color: var(--on-surface);
}
html[data-theme="bento"] .mt-bento-news-row button,
html[data-theme="bento"] .mt-bento-news-row a {
  border: var(--mt-border-w) solid var(--on-surface);
  border-radius: 0 var(--mt-radius) var(--mt-radius) 0;
  padding: 0.85rem 1.25rem; background: var(--primary); color: #fff;
  font-family: var(--mt-font-mono); font-size: 0.7rem; font-weight: 700;
  letter-spacing: var(--mt-label-tracking); text-transform: uppercase; text-decoration: none;
}

/* ——— Footer (dark shell) ———
 * DOM remains brutal 4-col for skin B. Compact brand|links below 1024;
 * desktop 4-col grid lives in macutech-footer-bento.css (priority 301).
 */
html[data-theme="bento"] .mt-stitch-root > footer,
html[data-theme="bento"] .mt-stitch-root footer {
  margin-top: 2rem !important;
  border-radius: 0 !important;
  border: none !important;
  border-top: var(--mt-border-w) solid var(--on-surface) !important;
  box-shadow: none !important;
  background: var(--on-surface) !important;
  color: var(--surface) !important;
  padding: 2.75rem 1.75rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 1.5rem 2.5rem !important;
  grid-template-columns: none !important;
}

html[data-theme="bento"] .mt-stitch-root footer.divide-y-4 > * + *,
html[data-theme="bento"] .mt-stitch-root footer [class*="divide"] > * + *,
html[data-theme="bento"] .mt-stitch-root footer.divide-x-4 > * + * {
  border: none !important;
}

@media (max-width: 1023px) {
  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(n+3) {
    display: none !important;
  }
}

html[data-theme="bento"] .mt-stitch-root footer > * {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: inherit !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 1 auto !important;
  grid-column: auto !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:first-child {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 0.85rem !important;
  position: relative !important;
  overflow: visible !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:first-child > .absolute,
html[data-theme="bento"] .mt-stitch-root footer [class*="text-[150px]"] {
  display: none !important;
}

html[data-theme="bento"] .mt-footer-logo {
  filter: none !important;
  max-width: none !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

html[data-theme="bento"] .mt-footer-logo img,
html[data-theme="bento"] .mt-footer-logo-img {
  display: none !important;
}

html[data-theme="bento"] .mt-footer-logo::after {
  content: "MACUTECH";
  font-family: var(--mt-font-display) !important;
  font-weight: 900 !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  letter-spacing: -0.04em !important;
  line-height: 1 !important;
  color: var(--surface) !important;
  text-transform: uppercase;
}

html[data-theme="bento"] .mt-stitch-root footer > *:first-child p {
  font-size: 0 !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  line-height: 1.45 !important;
  color: transparent !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:first-child p::after {
  content: "\00a9 2026 MACUTECH SYSTEMS [VER_2.0.4]";
  font-family: var(--mt-font-mono) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: var(--mt-label-tracking) !important;
  text-transform: uppercase !important;
  color: var(--success) !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) {
  display: flex !important;
  flex: 1 1 auto !important;
  justify-content: flex-end !important;
  align-items: flex-end !important;
  margin-left: auto !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) h2 {
  display: none !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem 1.75rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) li {
  margin: 0 !important;
  padding: 0 !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) a {
  font-family: var(--mt-font-mono) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: var(--mt-label-tracking) !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: color-mix(in srgb, var(--surface) 72%, transparent) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  opacity: 0.9;
  transition: color 0.15s ease, opacity 0.15s ease !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) a:hover {
  color: color-mix(in srgb, var(--tertiary) 65%, white) !important;
  opacity: 1;
  background: transparent !important;
}

html[data-theme="bento"] .mt-stitch-root footer h2,
html[data-theme="bento"] .mt-stitch-root footer .mt-brand {
  font-family: var(--mt-font-display) !important;
  color: var(--surface) !important;
  transform: none !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="bento"] .mt-stitch-root footer .mt-bg-success,
html[data-theme="bento"] .mt-stitch-root footer [class*="bg-success"],
html[data-theme="bento"] .mt-stitch-root footer .mt-bg-secondary,
html[data-theme="bento"] .mt-stitch-root footer [class*="bg-secondary"],
html[data-theme="bento"] .mt-stitch-root footer .mt-bg-tertiary,
html[data-theme="bento"] .mt-stitch-root footer [class*="bg-tertiary"] {
  background: transparent !important;
}

html[data-theme="bento"] .mt-stitch-root .vertical-text { opacity: 0.1 !important; }

@media (max-width: 767px) {
  html[data-theme="bento"] .mt-stitch-root > footer,
  html[data-theme="bento"] .mt-stitch-root footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 2rem 1.15rem !important;
    gap: 1.5rem !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    width: 100% !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) ul {
    justify-content: flex-start !important;
  }
}
@media (max-width: 767px) {
  html[data-theme="bento"] .mt-stitch-root {
    margin: 0.4rem !important;
    border-radius: var(--mt-radius-lg) !important;
  }
  html[data-theme="bento"] .mt-stitch-root > main { padding: 0.5rem !important; }
}


/* ——— HERO MONITO dentro de la hero card (bento) ——— */
html[data-theme="bento"] .mt-bento-hero .mt-hero-monito {
  inset: 0 0 0 auto;
  width: 34%;
  padding: 4.5rem 1.5rem 1.5rem;
  align-items: flex-start;
  z-index: 1;
}
html[data-theme="bento"] .mt-bento-hero .mt-hero-monito-img {
  width: 100%;
  max-height: 100%;
  filter: drop-shadow(6px 8px 0 rgba(45, 39, 39, 0.3));
}
@media (max-width: 767px) {
  html[data-theme="bento"] .mt-bento-hero .mt-hero-monito {
    inset: 2.75rem 0.5rem auto auto;
    width: 32%;
    height: 38%;
    padding: 0;
  }
}

/* ——— LANG SWITCH chips (bento) ———
 * stitch mobile/desktop paint inactive links `#FAFCDA` (cream) for the dark bar.
 * Under bento the bar is restyled to light chips — cream-on-white fails contrast.
 * Beat `.mt-stitch-root header .mt-lang-switch a:not(:hover)` (0,3,2). */
html[data-theme="bento"] .mt-stitch-root header .mt-lang-switch,
html[data-theme="bento"] .mt-stitch-root .mt-lang-switch,
html[data-theme="bento"] .mt-header-actions .mt-lang-switch {
  background: transparent !important;
  border: none !important;
  border-right: none !important;
  border-left: none !important;
  color: var(--on-surface) !important;
  gap: 0.25rem !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

html[data-theme="bento"] .mt-stitch-root header .mt-lang-switch a,
html[data-theme="bento"] .mt-stitch-root header .mt-lang-switch a:not(:hover),
html[data-theme="bento"] .mt-stitch-root header .mt-lang-switch a:not(.is-active),
html[data-theme="bento"] .mt-stitch-root header .mt-lang-switch a:not(.is-active):not(:hover),
html[data-theme="bento"] .mt-stitch-root .mt-lang-switch a,
html[data-theme="bento"] .mt-stitch-root .mt-lang-switch a:not(.is-active),
html[data-theme="bento"] .mt-lang-switch a,
html[data-theme="bento"] .mt-lang-switch a:not(.is-active) {
  background: #ffffff !important;
  border: 2px solid var(--on-surface) !important;
  box-shadow: 2px 2px 0 0 var(--on-surface) !important;
  color: #201a1a !important;
  opacity: 1 !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}

html[data-theme="bento"] .mt-stitch-root header .mt-lang-switch a:not(.is-active):hover,
html[data-theme="bento"] .mt-stitch-root .mt-lang-switch a:not(.is-active):hover,
html[data-theme="bento"] .mt-lang-switch a:not(.is-active):hover {
  transform: translate(-1px, -1px) !important;
  box-shadow: 3px 3px 0 0 var(--on-surface) !important;
  background: color-mix(in srgb, var(--secondary) 18%, white) !important;
  color: #201a1a !important;
}

html[data-theme="bento"] .mt-stitch-root header .mt-lang-switch a.is-active,
html[data-theme="bento"] .mt-stitch-root header .mt-lang-switch a.is-active:not(:hover),
html[data-theme="bento"] .mt-stitch-root header .mt-lang-switch a.is-active:hover,
html[data-theme="bento"] .mt-stitch-root .mt-lang-switch a.is-active,
html[data-theme="bento"] .mt-stitch-root .mt-lang-switch a.is-active:not(:hover),
html[data-theme="bento"] .mt-lang-switch a.is-active,
html[data-theme="bento"] .mt-lang-switch a.is-active:not(:hover) {
  background: var(--tertiary) !important;
  border-color: var(--on-surface) !important;
  color: #201a1a !important;
  box-shadow: 2px 2px 0 0 var(--on-surface) !important;
  opacity: 1 !important;
}

/* ——— PORTFOLIO PAGE ARCHIVE (bento dual-skin) ——— */
html[data-theme="bento"] .mt-bento-folio .mt-bento-folio-hero {
  position: relative;
}
html[data-theme="bento"] .mt-bento-folio .mt-bento-folio-hero .mt-bento-h1 {
  font-style: italic;
  letter-spacing: -0.04em;
}
html[data-theme="bento"] .mt-bento-folio-featured {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 22rem;
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-folio-featured {
    flex-direction: row;
    align-items: stretch;
  }
}
html[data-theme="bento"] .mt-bento-folio-tab {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3;
  background: var(--on-surface);
  color: var(--surface);
}
html[data-theme="bento"] .mt-bento-folio-featured-copy {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: var(--mt-border-w) solid var(--on-surface);
  background-image: radial-gradient(var(--outline) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-folio-featured-copy {
    border-bottom: 0;
    border-right: var(--mt-border-w) solid var(--on-surface);
  }
}
html[data-theme="bento"] .mt-bento-folio-featured-copy .mt-bento-cta {
  margin-top: auto;
  align-self: flex-start;
}
html[data-theme="bento"] .mt-bento-folio-featured-media {
  position: relative;
  flex: 1 1 50%;
  min-height: 16rem;
  margin: 1rem;
  border: var(--mt-border-w) solid var(--on-surface);
  background: #111;
  overflow: hidden;
}
html[data-theme="bento"] .mt-bento-folio-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.45s ease;
}
html[data-theme="bento"] .mt-bento-folio-featured:hover .mt-bento-folio-featured-media img {
  filter: grayscale(0);
}
html[data-theme="bento"] .mt-bento-folio-media-tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: var(--tertiary);
  color: var(--on-surface);
  border-right: var(--mt-border-w) solid var(--on-surface);
  border-bottom: var(--mt-border-w) solid var(--on-surface);
}
html[data-theme="bento"] .mt-bento-folio .mt-bento-prj {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  html[data-theme="bento"] .mt-bento-folio .mt-bento-prj.mt-bento-span-4 {
    grid-column: span 4 / span 4;
    grid-row: auto;
    min-height: 20rem;
  }
}
html[data-theme="bento"] .mt-bento-folio-atlas {
  background: color-mix(in srgb, var(--secondary) 12%, white);
}
html[data-theme="bento"] .mt-bento-folio-pulse {
  background: color-mix(in srgb, var(--tertiary) 18%, white);
}
html[data-theme="bento"] .mt-bento-folio-pulse-media {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
html[data-theme="bento"] .mt-bento-folio-pulse-media img {
  object-fit: contain;
  padding: 1rem;
  filter: none;
}
html[data-theme="bento"] .mt-bento-folio .mt-bento-dots {
  align-items: center;
  margin-bottom: 0.25rem;
}
/* Kill brutal folio bleed under bento on tablet/mobile (IDs + sections). */
@media (max-width: 1023px) {
  html[data-theme="bento"] .mt-stitch-root main:has(> .mt-bento-folio) > .mt-folio-hero-sec,
  html[data-theme="bento"] .mt-stitch-root main:has(> .mt-bento-folio) > .mt-folio-grid-sec,
  html[data-theme="bento"] .mt-stitch-root main:has(> .mt-bento-folio) > #portafolio-page,
  html[data-theme="bento"] .mt-stitch-root main:has(> .mt-bento-folio) > #portfolio-page {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}


/* src/styles/macutech-footer-bento.css */
/* MACUTECH footer CMS — bento overrides only (priority 301).
 * Compact 2-col below 1024; richer 4-col grid on desktop.
 * Beats theme-bento footer p{font-size:0}/::after without editing that file.
 */

html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched > *:first-child {
  overflow: visible !important;
  gap: 0.75rem !important;
}

html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched .mt-footer-monito {
  position: static !important;
  width: 72px !important;
  margin: 0.15rem 0 0.25rem !important;
}

html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched .mt-footer-monito-img {
  filter: drop-shadow(3px 4px 0 color-mix(in srgb, var(--surface) 35%, transparent)) !important;
  transform: none !important;
}

html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched > *:first-child p,
html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched > *:first-child p.mt-footer-copy,
html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched .mt-footer-copy {
  font-size: 0.68rem !important;
  color: color-mix(in srgb, var(--surface) 72%, transparent) !important;
  font-family: var(--mt-font-mono) !important;
  font-weight: 700 !important;
  letter-spacing: var(--mt-label-tracking) !important;
  text-transform: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  line-height: 1.45 !important;
}

html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched > *:first-child p::after,
html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched .mt-footer-copy::after {
  content: none !important;
  display: none !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:first-child > a img,
html[data-theme="bento"] .mt-footer-logo img,
html[data-theme="bento"] .mt-footer-logo-img {
  display: none !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:first-child > a {
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  max-width: none !important;
  width: auto !important;
  filter: none !important;
}

html[data-theme="bento"] .mt-stitch-root footer > *:first-child > a::after {
  content: "MACUTECH";
  font-family: var(--mt-font-display) !important;
  font-weight: 900 !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  letter-spacing: -0.04em !important;
  line-height: 1 !important;
  color: var(--surface) !important;
  text-transform: uppercase;
}

html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched .mt-footer-contact {
  border-top: 1px solid color-mix(in srgb, var(--surface) 28%, transparent) !important;
  margin-top: 0.65rem !important;
  padding-top: 0.65rem !important;
  gap: 0.4rem !important;
}

html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched .mt-footer-heading {
  font-family: var(--mt-font-mono) !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: var(--mt-label-tracking) !important;
  text-transform: uppercase !important;
  color: color-mix(in srgb, var(--surface) 55%, transparent) !important;
  margin: 0 0 0.15rem !important;
}

html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched .mt-footer-link {
  font-family: var(--mt-font-mono) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: var(--mt-label-tracking) !important;
  text-transform: uppercase !important;
  color: var(--surface) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-decoration: none !important;
}

html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched .mt-footer-link:hover {
  color: color-mix(in srgb, var(--tertiary) 65%, white) !important;
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched .mt-footer-meta {
  font-family: var(--mt-font-mono) !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: var(--mt-label-tracking) !important;
  text-transform: uppercase !important;
  color: color-mix(in srgb, var(--surface) 68%, transparent) !important;
}

/* Desktop ≥1024: restore newsletter + chat and fill the bar */
@media (min-width: 1024px) {
  html[data-theme="bento"] .mt-stitch-root > footer,
  html[data-theme="bento"] .mt-stitch-root footer {
    display: grid !important;
    grid-template-columns: minmax(220px, 1.35fr) minmax(140px, 0.85fr) minmax(180px, 1.05fr) minmax(160px, 0.95fr) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 0 !important;
    padding: 2.6rem 2rem !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(n+3) {
    display: flex !important;
    flex-direction: column !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > * {
    padding: 0 1.65rem !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:first-child {
    padding-left: 0 !important;
    justify-content: flex-start !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(n+2) {
    border-left: 1px solid color-mix(in srgb, var(--surface) 22%, transparent) !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    margin-left: 0 !important;
    flex: none !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) h2,
  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(3) h2,
  html[data-theme="bento"] .mt-stitch-root footer h2 {
    display: block !important;
    font-family: var(--mt-font-mono) !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: var(--mt-label-tracking) !important;
    text-transform: uppercase !important;
    color: color-mix(in srgb, var(--surface) 55%, transparent) !important;
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transform: none !important;
    padding: 0 0 0.85rem !important;
    margin: 0 0 0.15rem !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) ul {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.55rem !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(2) a {
    font-size: 0.78rem !important;
    color: var(--surface) !important;
    opacity: 1 !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(3) {
    gap: 0.85rem !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(3) a {
    font-family: var(--mt-font-mono) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: var(--mt-label-tracking) !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: var(--surface) !important;
    background: transparent !important;
    border: 1px solid color-mix(in srgb, var(--surface) 40%, transparent) !important;
    box-shadow: none !important;
    transform: none !important;
    padding: 0.7rem 0.9rem !important;
    width: 100% !important;
    max-width: 16rem !important;
    justify-content: space-between !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(3) a:hover {
    color: color-mix(in srgb, var(--tertiary) 65%, white) !important;
    border-color: color-mix(in srgb, var(--tertiary) 70%, white) !important;
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(3) .mt-icon {
    font-size: 1.1rem !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(4) {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(4) > a {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.45rem !important;
    height: auto !important;
    text-decoration: none !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(4) .mt-icon {
    display: none !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(4) a > span:last-child,
  html[data-theme="bento"] .mt-stitch-root footer .mt-footer-cta-label {
    font-family: var(--mt-font-display) !important;
    font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;
    color: var(--surface) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer > *:nth-child(4) a:hover > span:last-child,
  html[data-theme="bento"] .mt-stitch-root footer a:hover .mt-footer-cta-label {
    color: color-mix(in srgb, var(--tertiary) 65%, white) !important;
  }

  html[data-theme="bento"] .mt-stitch-root footer.mt-footer-enriched .mt-footer-monito {
    width: 88px !important;
  }
}
