/*
Theme Name: MOT V4
Description: Block theme nativo para la web corporativa de MOT.
Version: 0.1.9
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 8.3
Text Domain: mot-v4
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style
*/

:root {
  --mot-navy-900: #061824;
  --mot-navy-800: #082536;
  --mot-navy-700: #103448;
  --mot-green-800: #066349;
  --mot-green-700: #087a5b;
  --mot-green-500: #14a97b;
  --mot-green-100: #ddf5ec;
  --mot-green-50: #effaf6;
  --mot-cyan: #38d7e8;
  --mot-blue-electric: #3b82f6;
  --mot-violet: #8b6cf6;
  --mot-violet-soft: #a78bfa;
  --mot-amber: #f4b740;
  --mot-ink: #14232d;
  --mot-muted: #536570;
  --mot-quiet: #71818a;
  --mot-white: #fff;
  --mot-surface: #f4f7f6;
  --mot-surface-raised: #fafcfb;
  --mot-border: #d6e0dd;
  --mot-border-strong: #aebdb8;
  --mot-dark-text: #f5faf8;
  --mot-dark-muted: #b9c9c7;
  --mot-dark-border: #294452;
  --mot-radius-sm: 8px;
  --mot-radius-md: 10px;
  --mot-radius-lg: 14px;
  --mot-shadow: 0 12px 32px rgb(0 0 0 / 12%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a,
button,
input,
select,
summary,
textarea {
  font: inherit;
}

::selection {
  color: var(--mot-navy-900);
  background: var(--mot-green-100);
}

:focus-visible {
  outline: 3px solid var(--mot-green-500);
  outline-offset: 4px;
}

.mot-main,
.mot-main > .wp-block-post-content {
  margin-block-start: 0;
}

.mot-section {
  margin-block-start: 0;
  padding-block: 88px;
}

.mot-section > .alignwide,
.mot-site-header > .alignwide,
.mot-site-footer > .alignwide {
  width: 100%;
}

.mot-section-heading {
  margin-block-end: 46px;
}

.mot-heading-narrow {
  max-width: 820px;
  margin-inline-start: 0 !important;
}

.mot-section-heading > h2 {
  max-width: 780px;
  margin-block-end: 18px;
}

.mot-section-heading > p:not(.mot-eyebrow) {
  max-width: 700px;
  color: var(--mot-muted);
  font-size: 19px;
  line-height: 1.55;
}

.mot-eyebrow {
  margin-block-end: 18px !important;
  color: var(--mot-green-700);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.mot-on-dark {
  color: #79d9bc;
}

.mot-text-link a {
  display: inline-flex;
  align-items: center;
  color: var(--mot-green-700);
  font-weight: 700;
  text-decoration: none;
}

.mot-text-link a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wp-block-button__link {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

/* Header */
.mot-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  margin-block-start: 0;
  padding-block: 0;
  color: var(--mot-white);
  background: rgb(8 37 54 / 96%);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  backdrop-filter: blur(12px);
}

.admin-bar .mot-site-header {
  top: 32px;
}

.mot-header-inner {
  min-height: 80px;
  gap: 34px;
}

.mot-brand {
  min-width: max-content;
  gap: 12px;
}

.mot-brand .wp-block-site-logo {
  flex: 0 0 auto;
}

.mot-brand .custom-logo {
  max-height: 60px;
  width: auto;
}

.mot-brand-copy {
  gap: 4px;
}

.mot-brand-copy .wp-block-site-title,
.mot-brand-copy .wp-block-site-tagline {
  margin: 0;
}

.mot-brand-copy .wp-block-site-title a {
  color: var(--mot-white);
  text-decoration: none;
}

.mot-site-tagline {
  color: var(--mot-dark-muted);
  font-size: 12px;
  line-height: 1.1;
}

.mot-main-nav {
  color: var(--mot-dark-muted);
}

.mot-main-nav .wp-block-navigation-item__content {
  position: relative;
  padding-block: 28px;
  color: inherit;
}

.mot-main-nav .wp-block-navigation-item__content::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--mot-green-500);
  content: "";
  transform-origin: left;
  transition: transform 180ms ease;
}

.mot-main-nav .wp-block-navigation-item__content:hover,
.mot-main-nav .wp-block-navigation-item__content:focus-visible {
  color: var(--mot-white);
}

.mot-main-nav .wp-block-navigation-item__content:hover::after,
.mot-main-nav .wp-block-navigation-item__content:focus-visible::after {
  transform: scaleX(1);
}

.mot-header-cta {
  flex: 0 0 auto;
}

.mot-header-cta .wp-block-button__link {
  min-height: 44px;
  padding: 10px 18px;
  white-space: nowrap;
}

/* Hero */
.mot-hero {
  position: relative;
  overflow: hidden;
  padding-block: 88px 96px;
  color: var(--mot-dark-text);
  background: var(--mot-navy-800);
}

.mot-hero::before {
  position: absolute;
  top: -25%;
  right: -15%;
  width: 700px;
  height: 700px;
  border: 1px solid rgb(20 169 123 / 18%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.mot-hero-grid {
  position: relative;
  gap: 64px;
}

.mot-hero h1,
.mot-hero h2,
.mot-hero h3,
.mot-hero h4 {
  color: var(--mot-dark-text);
}

.mot-hero h1 {
  max-width: 760px;
  margin-block-end: 24px;
}

.mot-hero-lead {
  max-width: 680px;
  margin-block-end: 16px !important;
  color: var(--mot-dark-text);
  font-size: 21px;
  line-height: 1.5;
}

.mot-hero-detail {
  max-width: 650px;
  margin-block-end: 25px !important;
  color: var(--mot-dark-muted);
}

.mot-actions {
  margin-block-end: 24px;
  gap: 18px;
}

.mot-button-on-dark .wp-block-button__link {
  color: var(--mot-white);
  background: transparent;
  border-color: #55717d;
}

.mot-button-on-dark .wp-block-button__link:hover {
  background: var(--mot-navy-700);
  border-color: #7f969f;
}

.mot-hero-trust {
  gap: 12px 24px;
  margin-block-end: 16px;
}

.mot-hero-trust p {
  color: var(--mot-dark-text);
  font-size: 14px;
  font-weight: 700;
}

.mot-signature-note {
  max-width: 610px;
  color: var(--mot-dark-muted);
  font-size: 14px;
  line-height: 1.55;
}

.mot-hero-visual {
  min-width: 0;
}

.mot-flow {
  gap: 0;
  padding-block: 10px;
}

.mot-flow-label {
  margin-block-end: 12px !important;
  color: #9dd9c7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mot-input-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 8px 7px 10px;
  border-bottom: 1px solid rgb(157 217 199 / 20%);
}

.mot-input-card {
  min-width: 0;
  min-height: 60px;
  gap: 8px;
  padding: 9px;
  color: var(--mot-ink);
  background: #fbfcfa;
  border: 1px solid #d9e0dd;
  border-radius: 4px;
  box-shadow: 0 7px 14px rgb(0 0 0 / 16%);
}

.mot-input-card:nth-child(2),
.mot-input-card:nth-child(5) {
  transform: translateY(3px) rotate(1.2deg);
}

.mot-input-card:nth-child(3),
.mot-input-card:nth-child(4) {
  transform: rotate(-1deg);
}

.mot-input-card > .wp-block-group {
  min-width: 0;
  gap: 0;
}

.mot-input-card p {
  font-size: 11px;
  line-height: 1.15;
}

.mot-format-badge {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--mot-green-700);
  background: var(--mot-green-100);
  border: 1px solid #a8cfc1;
  font-size: 8px !important;
  font-weight: 800;
}

.mot-input-pdf .mot-format-badge {
  color: #c81e2a;
  background: #fdeced;
  border-color: #efbfc2;
}

.mot-input-word .mot-format-badge {
  color: #2b579a;
  background: #e9f0fa;
  border-color: #b8c9e4;
}

.mot-input-wa .mot-format-badge {
  color: #087a5b;
  border-radius: 50%;
}

.mot-format-detail {
  margin-block-start: 3px !important;
  overflow: hidden;
  color: var(--mot-muted);
  font-size: 9px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mot-flow-arrow {
  min-height: 34px;
  margin: 0 !important;
  color: var(--mot-green-500);
  font-size: 25px;
  line-height: 34px;
}

.mot-flow-core {
  position: relative;
  width: calc(100% - 34px);
  margin-inline: auto;
  padding: 17px 20px 16px;
  color: var(--mot-ink);
  background: #f5f7f2;
  border: 1px solid #cad9d3;
  border-left: 6px solid var(--mot-green-500);
  border-radius: 3px;
  box-shadow: 0 10px 20px rgb(0 0 0 / 17%);
}

.mot-flow-core::before {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 42px;
  height: 13px;
  background: #aab8b4;
  border: 2px solid #d9e0dd;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 18%);
  content: "";
  transform: translateX(-50%);
}

.mot-flow-core > .mot-flow-label {
  margin-block-end: 3px !important;
  color: var(--mot-green-800);
  font-size: 10px;
}

.mot-flow-core h3 {
  color: var(--mot-ink);
  font-size: 18px;
  line-height: 1.25;
}

.mot-flow-tasks {
  gap: 8px;
  margin-block-start: 14px;
  padding-block-start: 12px;
  border-top: 1px solid var(--mot-border);
}

.mot-flow-tasks p {
  color: var(--mot-muted);
  font-size: 9.5px;
  line-height: 1.3;
}

.mot-output-grid {
  gap: 12px;
}

.mot-output-paper {
  position: relative;
  min-height: 106px;
  gap: 8px;
  padding: 14px 16px;
  color: var(--mot-ink);
  background: var(--mot-white);
  border: 1px solid #d5dfdb;
  box-shadow: 0 8px 17px rgb(0 0 0 / 15%);
}

.mot-output-paper::after {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 18px;
  height: 18px;
  background: linear-gradient(225deg, var(--mot-navy-800) 0 48%, #e5ece9 50%);
  content: "";
}

.mot-output-paper p {
  font-size: 11px;
}

.mot-output-tag {
  padding: 2px 5px;
  color: #9f2024;
  background: #fdeced;
  font-size: 8px !important;
  font-weight: 800;
  text-transform: uppercase;
}

.mot-paper-line {
  width: 93% !important;
  margin: 0 !important;
  border-top: 4px solid #dbe3e0 !important;
}

.mot-paper-short {
  width: 55% !important;
}

.mot-output-types {
  display: grid !important;
  gap: 7px;
}

.mot-output-types p {
  padding: 9px 10px;
  color: var(--mot-ink);
  background: #f8faf8;
  border: 1px solid #d5dfdb;
  border-radius: 2px;
  box-shadow: 0 5px 10px rgb(0 0 0 / 12%);
  font-size: 10px;
  font-weight: 700;
}

.mot-flow-simple {
  gap: 0;
  max-width: 440px;
  margin-inline: auto;
}

.mot-flow-simple .mot-flow-stage {
  display: grid;
  width: 100%;
  min-height: 104px;
  margin: 0;
  padding: 24px 28px;
  place-items: center;
}

.mot-flow-input {
  color: var(--mot-ink);
  background: #fbfcfa;
  border: 1px solid #d9e0dd;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgb(0 0 0 / 16%);
  transform: rotate(-1deg);
}

.mot-flow-simple .mot-flow-core {
  min-height: 116px;
}

.mot-flow-simple .mot-output-paper {
  min-height: 112px;
}

.mot-flow-simple .mot-flow-stage-text {
  margin: 0 !important;
  color: inherit;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

/* Campo y oficina */
.mot-field-office {
  background: var(--mot-white);
}

.mot-field-grid {
  align-items: center;
  gap: 32px;
}

.mot-activity-card h3 {
  margin-block-end: 28px;
}

.mot-activity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mot-activity-list li {
  position: relative;
  min-height: 66px;
  padding: 14px 10px 14px 38px;
  border-bottom: 1px solid var(--mot-border);
  font-weight: 700;
}

.mot-activity-list li::before {
  position: absolute;
  top: 1.55rem;
  left: 10px;
  width: 7px;
  height: 7px;
  background: var(--mot-navy-700);
  border-radius: 50%;
  content: "";
}

.mot-office-card .mot-activity-list li::before {
  color: var(--mot-green-700);
}

.mot-handoff {
  color: var(--mot-muted);
  text-align: center;
}

.mot-handoff-arrow {
  margin-block: 12px !important;
  color: var(--mot-green-500);
  font-size: 36px;
  line-height: 1;
}

.mot-section-closing {
  max-width: 800px;
  margin-block-start: 60px !important;
  margin-inline: auto !important;
  color: var(--mot-navy-700);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

/* Servicios */
.mot-services,
.mot-examples,
.mot-contact {
  background: var(--mot-surface);
}

.mot-services-grid {
  align-items: flex-start !important;
  gap: 68px;
}

.mot-services-intro {
  position: sticky;
  top: 120px;
}

.mot-services-intro h2 {
  margin-block-end: 22px;
}

.mot-services-intro > p:not(.mot-eyebrow) {
  margin-block-end: 30px;
  color: var(--mot-muted);
}

.mot-service-index {
  min-width: 0;
}

.mot-service-item {
  align-items: flex-start !important;
  gap: 18px;
  padding-block: 30px;
  border-top: 1px solid var(--mot-border);
}

.mot-service-item:first-child {
  padding-block-start: 0;
  border-top: 0;
}

.mot-service-item > .wp-block-group {
  flex: 1 1 auto;
  min-width: 0;
}

.mot-service-item h3 {
  margin-block-end: 10px;
}

.mot-service-item .wp-block-group > p:not(.mot-text-link) {
  max-width: 700px;
  margin-block-end: 12px;
  color: var(--mot-muted);
}

.mot-service-number {
  width: 50px;
  flex: 0 0 50px;
  color: var(--mot-green-700);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mot-service-featured h3::after {
  display: none;
  margin-left: 10px;
  padding: 4px 8px;
  vertical-align: middle;
  color: var(--mot-green-700);
  background: var(--mot-green-100);
  border-radius: 999px;
  content: "";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mot-scope-note {
  margin-block-start: 28px;
  padding-block-start: 24px;
  border-top: 2px solid var(--mot-green-500);
}

.mot-scope-note h3 {
  margin-block-end: 8px;
  font-size: 21px;
}

.mot-scope-note p {
  color: var(--mot-muted);
}

/* Proceso */
.mot-process {
  background: var(--mot-white);
}

.mot-process-steps {
  position: relative;
  gap: 24px;
}

.mot-process-steps::before {
  position: absolute;
  z-index: 0;
  top: 30px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--mot-border), var(--mot-green-500), var(--mot-border));
  content: "";
}

.mot-step-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 24px;
  background: var(--mot-white);
  border: 1px solid var(--mot-border);
  border-radius: 12px;
}

.mot-step-number {
  margin-block-end: 20px !important;
  color: var(--mot-green-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mot-step-card h3 {
  margin-block-end: 10px;
  font-size: 22px;
}

.mot-step-card > p:last-child {
  color: var(--mot-muted);
  font-size: 15px;
}

.mot-process-note {
  max-width: 800px;
  margin-block: 38px 22px !important;
  margin-inline-start: 0 !important;
  padding: 18px 20px;
  color: var(--mot-navy-700);
  background: var(--mot-green-50);
  border-left: 3px solid var(--mot-green-500);
  font-size: 14px;
}

/* Ejemplos */
.mot-examples {
  padding-block: 78px;
}

.mot-example-list {
  border-top: 1px solid var(--mot-border);
}

.mot-example-row {
  gap: 24px;
  margin-block: 0;
  padding-block: 26px;
  border-bottom: 1px solid var(--mot-border);
}

.mot-example-input,
.mot-example-output {
  min-width: 0;
}

.mot-example-input > p:first-child,
.mot-example-output > p:first-child {
  color: var(--mot-quiet);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mot-example-input > p:last-child,
.mot-example-output > p:last-child {
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.45;
}

.mot-example-output > p:last-child {
  color: var(--mot-navy-700);
}

.mot-example-arrow {
  color: var(--mot-green-500);
  font-size: 28px;
}

.mot-example-input > p:only-child,
.mot-example-output > p:only-child {
  color: var(--mot-ink);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.45;
  text-transform: none;
}

.mot-example-output > p:only-child {
  color: var(--mot-navy-700);
  font-weight: 700;
}

.mot-examples > .wp-block-buttons {
  margin-block-start: 28px;
}

/* Trabajo puntual y tarifa plana */
.mot-work-models {
  padding-block: 94px;
  color: var(--mot-dark-text);
  background: var(--mot-navy-800);
}

.mot-work-models h2,
.mot-work-models h3,
.mot-work-models h4 {
  color: var(--mot-dark-text);
}

.mot-heading-dark > p:not(.mot-eyebrow) {
  color: var(--mot-dark-muted);
}

.mot-models-grid {
  align-items: flex-start !important;
  gap: 28px;
}

.mot-model-card {
  min-width: 0;
  padding: 36px;
  border: 1px solid var(--mot-dark-border);
  border-radius: var(--mot-radius-lg);
}

.mot-model-once {
  background: #0e3446;
}

.mot-model-recurring {
  background: #123b4e;
}

.mot-model-label {
  margin-block-end: 16px !important;
  color: #79d9bc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mot-model-card > h3 {
  margin-block-end: 18px;
  font-size: 30px;
}

.mot-model-card > p:not(.mot-model-label, .mot-model-note) {
  color: var(--mot-dark-muted);
}

.mot-check-list {
  display: grid;
  gap: 12px;
  margin-block: 28px;
  padding: 0;
  list-style: none;
}

.mot-check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--mot-dark-text);
  font-size: 15px;
}

.mot-check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 14px;
  border-right: 2px solid var(--mot-green-500);
  border-bottom: 2px solid var(--mot-green-500);
  content: "";
  transform: rotate(45deg);
}

.mot-model-note {
  margin-block: 24px !important;
  color: var(--mot-dark-muted);
  font-size: 13px;
}

.mot-capacity {
  margin-block: 30px 22px;
  padding: 22px;
  background: rgb(6 24 36 / 45%);
  border: 1px solid var(--mot-dark-border);
  border-radius: 12px;
}

.mot-capacity-heading,
.mot-capacity-legend {
  gap: 16px;
}

.mot-capacity-heading p,
.mot-capacity-legend p {
  color: var(--mot-dark-muted);
  font-size: 12px;
}

.mot-capacity-heading strong {
  color: var(--mot-white);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

.mot-capacity-value {
  color: var(--mot-white);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

.mot-capacity-track {
  height: 14px;
  margin-block: 14px 8px;
  overflow: hidden;
  background: var(--mot-dark-border);
  border-radius: 999px;
}

.mot-capacity-fill {
  width: 68%;
  height: 100%;
  min-height: 14px;
  background: var(--mot-green-500);
  border-radius: inherit;
}

.mot-priority {
  margin-block-start: 30px;
  padding-block-start: 24px;
  border-top: 1px solid var(--mot-dark-border);
}

.mot-priority h4 {
  margin-block-end: 4px;
}

.mot-priority h3 {
  margin-block-end: 8px;
  font-size: 21px;
}

.mot-priority > p:not(.mot-text-link) {
  color: var(--mot-dark-muted);
  font-size: 13px;
}

.mot-priority .mot-text-link a {
  color: var(--mot-white);
}

/* Para quién y límites */
.mot-audience {
  background: var(--mot-white);
}

.mot-audience-grid {
  gap: 88px;
}

.mot-audience-copy h2,
.mot-limits-copy h2 {
  margin-block-end: 24px;
}

.mot-audience-copy > p:not(.mot-eyebrow),
.mot-limits-copy > p:not(.mot-eyebrow, .mot-out-of-scope) {
  color: var(--mot-muted);
}

.mot-plain-list {
  display: grid;
  gap: 10px;
  margin-block-start: 30px;
  padding: 0;
  list-style: none;
}

.mot-plain-list li {
  position: relative;
  padding-left: 22px;
  font-weight: 600;
}

.mot-plain-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  background: var(--mot-green-500);
  border-radius: 50%;
  content: "";
}

.mot-limit-list {
  margin-block: 30px;
  border-top: 1px solid var(--mot-border);
}

.mot-limit-item {
  position: relative;
  padding: 21px 0 21px 48px;
  border-bottom: 1px solid var(--mot-border);
}

.mot-limit-item::before {
  position: absolute;
  top: 20px;
  left: 6px;
  width: 8px;
  height: 14px;
  border-right: 2px solid var(--mot-green-700);
  border-bottom: 2px solid var(--mot-green-700);
  content: "";
  transform: rotate(45deg);
}

.mot-limit-item h3 {
  margin-block-end: 5px;
  font-size: 18px;
}

.mot-limit-item p {
  color: var(--mot-muted);
  font-size: 15px;
}

.mot-out-of-scope {
  margin-block-end: 24px !important;
  padding: 16px 18px;
  color: var(--mot-muted);
  background: var(--mot-surface);
  border-left: 3px solid var(--mot-border-strong);
  font-size: 14px;
}

.mot-conditions {
  background: var(--mot-white);
}

.mot-conditions .mot-limit-list {
  max-width: 920px;
  margin-inline: 0;
}

/* FAQ */
.mot-faq {
  padding-block: 72px;
  background: var(--mot-surface);
}

.mot-faq > .alignwide {
  max-width: 820px;
}

.mot-faq-list {
  gap: 0;
  border-top: 1px solid var(--mot-border);
}

.mot-faq-item {
  margin: 0 !important;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--mot-border);
  border-radius: 0;
}

.mot-faq-item summary {
  position: relative;
  min-height: 61px;
  padding: 18px 44px 18px 0;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.mot-faq-item summary::-webkit-details-marker {
  display: none;
}

.mot-faq-item summary::before,
.mot-faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 18px;
  height: 2px;
  background: var(--mot-green-700);
  content: "";
  transition: transform 180ms ease;
}

.mot-faq-item summary::after {
  transform: rotate(90deg);
}

.mot-faq-item[open] summary {
  color: var(--mot-green-700);
}

.mot-faq-item[open] summary::after {
  transform: rotate(0);
}

.mot-faq-item > p {
  max-width: 720px;
  padding: 0 44px 21px 0;
  color: var(--mot-muted);
}

.mot-faq-cta {
  margin-block-start: 24px !important;
}

/* Contacto y Fluent Forms */
.mot-contact {
  padding-block: 86px;
}

.mot-contact-grid {
  align-items: stretch !important;
  gap: 28px;
}

.mot-contact-whatsapp,
.mot-contact-form-panel {
  padding: 44px;
  border-radius: var(--mot-radius-lg);
}

.mot-contact-whatsapp {
  color: var(--mot-white);
  background: var(--mot-navy-800);
}

.mot-contact-whatsapp h2 {
  margin-block-end: 22px;
  color: var(--mot-white);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
}

.mot-contact-whatsapp > p:not(.mot-eyebrow) {
  margin-block-end: 28px;
  color: var(--mot-dark-muted);
}

.mot-contact-hours {
  margin-block-start: 36px;
  padding-block-start: 24px;
  border-top: 1px solid var(--mot-dark-border);
}

.mot-contact-hours p:first-child {
  color: var(--mot-white);
  font-size: 15px;
}

.mot-contact-hours p:last-child {
  margin-block-start: 10px !important;
  color: var(--mot-dark-muted);
  font-size: 13px;
}

.mot-contact-form-panel {
  background: var(--mot-white);
  border: 1px solid var(--mot-border);
  box-shadow: 0 8px 24px rgb(6 24 36 / 6%);
}

.mot-contact-form-panel > h3 {
  margin-block-end: 10px;
  font-size: 30px;
}

.mot-contact-form-panel > p {
  margin-block-end: 28px;
  color: var(--mot-muted);
}

.mot-contact-form-panel .fluentform .ff-el-group {
  margin-block-end: 20px;
}

.mot-contact-form-panel .fluentform label {
  display: block;
  margin-block-end: 7px;
  color: var(--mot-ink);
  font-size: 14px;
  font-weight: 700;
}

.mot-contact-form-panel .fluentform input:not([type="checkbox"], [type="radio"]),
.mot-contact-form-panel .fluentform select,
.mot-contact-form-panel .fluentform textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  color: var(--mot-ink);
  background: var(--mot-surface-raised);
  border: 1px solid var(--mot-border);
  border-radius: var(--mot-radius-sm);
  box-shadow: none;
}

.mot-contact-form-panel .fluentform textarea {
  min-height: 148px;
  resize: vertical;
}

.mot-contact-form-panel .fluentform input:focus,
.mot-contact-form-panel .fluentform select:focus,
.mot-contact-form-panel .fluentform textarea:focus {
  border-color: var(--mot-green-700);
  outline: none;
  box-shadow: 0 0 0 3px rgb(25 167 123 / 18%);
}

.mot-contact-form-panel .fluentform button,
.mot-contact-form-panel .fluentform input[type="submit"] {
  min-height: 48px;
  padding: 13px 24px;
  color: var(--mot-white);
  background: var(--mot-green-700);
  border: 0;
  border-radius: var(--mot-radius-md);
  font-weight: 700;
  cursor: pointer;
}

.mot-contact-form-panel .fluentform button:hover,
.mot-contact-form-panel .fluentform input[type="submit"]:hover {
  background: var(--mot-green-800);
}

/* Footer and standard documents */
.mot-site-footer {
  margin-block-start: 0;
  padding-block: 70px 24px;
  color: var(--mot-dark-muted);
  background: var(--mot-navy-900);
}

.mot-footer-grid {
  gap: 60px;
}

.mot-footer-brand {
  margin-block-end: 22px;
}

.mot-site-footer h2,
.mot-site-footer .wp-block-site-title a {
  color: var(--mot-white);
}

.mot-site-footer h2 {
  margin-block-end: 10px;
  font-size: 15px !important;
  letter-spacing: 0;
}

.mot-site-footer p,
.mot-site-footer a,
.mot-site-footer .wp-block-navigation-item__content {
  color: var(--mot-dark-muted);
  font-size: 14px;
}

.mot-site-footer a:hover,
.mot-site-footer .wp-block-navigation-item__content:hover {
  color: var(--mot-white);
  text-decoration: underline;
  text-decoration-color: var(--mot-green-500);
  text-underline-offset: 4px;
}

.mot-footer-nav,
.mot-footer-contact {
  gap: 10px;
}

.mot-footer-contact > p {
  margin: 0;
}

.mot-legal-nav {
  margin-block-start: 12px;
  gap: 8px 16px;
}

.mot-footer-bottom {
  margin-block-start: 56px !important;
  padding-block-start: 20px;
  border-top: 1px solid var(--mot-dark-border);
  font-size: 13px !important;
}

.mot-document {
  min-height: 55vh;
  margin-block-start: 0;
  padding-block: 88px;
  background: var(--mot-surface);
}

.mot-document > .wp-block-post-title,
.mot-document > .wp-block-query-title {
  margin-block-end: 30px;
}

.mot-post-meta {
  margin-block-end: 32px;
  color: var(--mot-muted);
  font-size: 14px;
}

.mot-loop-card {
  margin-block-end: 24px;
  padding: 28px;
  background: var(--mot-white);
  border: 1px solid var(--mot-border);
  border-radius: var(--mot-radius-lg);
}

.mot-404 {
  display: grid;
  align-content: center;
}

@media (max-width: 1100px) {
  .mot-header-inner,
  .mot-hero-grid,
  .mot-services-grid,
  .mot-audience-grid,
  .mot-footer-grid {
    gap: 42px;
  }

  .mot-model-card,
  .mot-contact-whatsapp,
  .mot-contact-form-panel {
    padding: 34px;
  }
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 80px;
  }

  .mot-header-inner {
    min-height: 72px;
  }

  .mot-main-nav .wp-block-navigation__responsive-container.is-menu-open {
    padding: 72px 28px 28px;
    color: var(--mot-white);
    background: var(--mot-navy-800);
  }

  .mot-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    padding-block: 12px;
    color: var(--mot-white);
    font-size: 18px;
  }

  .mot-hero {
    padding-block: 78px 88px;
  }

  .mot-hero-grid {
    flex-wrap: wrap !important;
    gap: 56px;
  }

  .mot-hero-copy,
  .mot-hero-visual {
    flex-basis: 100% !important;
  }

  .mot-hero-visual {
    max-width: 620px;
  }

  .mot-field-grid {
    gap: 20px;
  }

  .mot-activity-list {
    grid-template-columns: 1fr;
  }

  .mot-process-steps {
    flex-wrap: wrap !important;
  }

  .mot-process-steps > .wp-block-column {
    flex-basis: calc(50% - 16px) !important;
  }

  .mot-process-steps::before {
    display: none;
  }

  .mot-models-grid,
  .mot-contact-grid {
    flex-wrap: wrap !important;
  }

  .mot-models-grid > .wp-block-column,
  .mot-contact-grid > .wp-block-column {
    flex-basis: 100% !important;
  }

  .mot-audience-grid {
    gap: 42px;
  }
}

@media (max-width: 782px) {
  body {
    font-size: 16px;
  }

  .admin-bar .mot-site-header {
    top: 46px;
  }

  .mot-header-inner {
    gap: 12px;
  }

  .mot-header-cta {
    display: none;
  }

  .mot-site-tagline {
    display: none;
  }

  .mot-section {
    padding-block: 60px;
  }

  .mot-section-heading {
    margin-block-end: 34px;
  }

  .mot-section-heading > p:not(.mot-eyebrow) {
    font-size: 17px;
  }

  .mot-hero {
    padding-block: 58px 68px;
  }

  .mot-hero::before {
    width: 420px;
    height: 420px;
  }

  .mot-hero-lead {
    font-size: 18px;
  }

  .mot-hero-detail {
    font-size: 16px;
  }

  .mot-actions {
    display: grid !important;
  }

  .mot-actions .wp-block-button,
  .mot-actions .wp-block-button__link {
    width: 100%;
  }

  .mot-field-grid,
  .mot-services-grid,
  .mot-models-grid,
  .mot-audience-grid,
  .mot-contact-grid,
  .mot-footer-grid {
    gap: 40px;
  }

  .mot-field-grid > .wp-block-column,
  .mot-services-grid > .wp-block-column,
  .mot-audience-grid > .wp-block-column,
  .mot-footer-grid > .wp-block-column {
    flex-basis: 100% !important;
  }

  .mot-field-grid {
    flex-wrap: wrap !important;
  }

  .mot-handoff-arrow {
    transform: rotate(90deg);
  }

  .mot-section-closing {
    margin-block-start: 42px !important;
    font-size: 18px;
    text-align: left;
  }

  .mot-services-intro {
    position: static;
  }

  .mot-service-item {
    gap: 10px;
    padding-block: 24px;
  }

  .mot-service-number {
    width: 38px;
    flex-basis: 38px;
  }

  .mot-service-featured h3::after {
    display: block;
    width: max-content;
    margin: 8px 0 0;
  }

  .mot-service-item .wp-block-group > p:not(.mot-text-link) {
    font-size: 15px;
  }

  .mot-process-steps {
    gap: 16px;
  }

  .mot-process-steps > .wp-block-column {
    flex-basis: 100% !important;
  }

  .mot-examples {
    padding-block: 56px;
  }

  .mot-example-row {
    gap: 10px;
    padding-block: 24px;
  }

  .mot-example-arrow {
    font-size: 22px;
    transform: rotate(90deg);
  }

  .mot-work-models {
    padding-block: 68px;
  }

  .mot-model-card,
  .mot-contact-whatsapp,
  .mot-contact-form-panel {
    padding: 28px 24px;
  }

  .mot-model-card > h3,
  .mot-contact-form-panel > h3 {
    font-size: 26px;
  }

  .mot-model-card .wp-block-button,
  .mot-model-card .wp-block-button__link,
  .mot-contact-form-panel .fluentform button,
  .mot-contact-form-panel .fluentform input[type="submit"] {
    width: 100%;
  }

  .mot-capacity {
    padding: 18px;
  }

  .mot-limits-copy {
    padding-block-start: 8px;
    border-top: 1px solid var(--mot-border);
  }

  .mot-faq {
    padding-block: 56px;
  }

  .mot-faq-item summary {
    min-height: 56px;
    padding: 13px 40px 13px 0;
    font-size: 16px;
  }

  .mot-faq-item > p {
    padding-right: 0;
    font-size: 15px;
  }

  .mot-contact {
    padding-block: 60px;
  }

  .mot-site-footer {
    padding-block-start: 54px;
  }

  .mot-footer-bottom {
    margin-block-start: 40px !important;
  }
}

@media (max-width: 420px) {
  .mot-brand .custom-logo {
    max-width: 46px;
  }

  .mot-hero-trust {
    display: grid !important;
    gap: 8px;
  }

  .mot-input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mot-flow-core {
    width: calc(100% - 20px);
    padding-inline: 16px;
  }

  .mot-flow-simple .mot-flow-core {
    width: 100%;
  }

  .mot-flow-simple .mot-flow-stage {
    min-height: 90px;
    padding: 20px;
  }

  .mot-flow-tasks {
    flex-wrap: wrap !important;
  }

  .mot-flow-tasks > .wp-block-column {
    flex-basis: 100% !important;
  }

  .mot-output-grid {
    flex-wrap: wrap !important;
    gap: 9px;
  }

  .mot-output-grid > .wp-block-column {
    flex-basis: 100% !important;
  }

  .mot-output-types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mot-activity-list {
    grid-template-columns: 1fr;
  }

  .mot-model-card,
  .mot-contact-whatsapp,
  .mot-contact-form-panel {
    padding: 26px 20px;
  }
}

/* MOT V4 0.1.8 · profundidad del hero, piezas documentales y composición editorial */
.wp-block-button__link,
.mot-contact-form-panel .fluentform button,
.mot-contact-form-panel .fluentform input[type="submit"] {
  color: #fff !important;
  background: #087a5b !important;
  border-color: #087a5b !important;
}

.wp-block-button__link:hover,
.mot-contact-form-panel .fluentform button:hover,
.mot-contact-form-panel .fluentform input[type="submit"]:hover {
  color: #fff !important;
  background: #066349 !important;
  border-color: #066349 !important;
}

.wp-block-button__link:focus-visible,
.mot-contact-form-panel .fluentform button:focus-visible,
.mot-contact-form-panel .fluentform input[type="submit"]:focus-visible {
  outline: 3px solid #7ee0c3 !important;
  outline-offset: 3px;
}

.mot-brand .custom-logo,
.mot-footer-brand .custom-logo {
  filter: brightness(0) invert(1);
}

.mot-site-name {
  margin: 0 !important;
  color: var(--mot-white);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.mot-hero {
  isolation: isolate;
  background:
    radial-gradient(ellipse 62% 72% at 8% 42%, rgb(20 169 123 / 25%), transparent 66%),
    radial-gradient(ellipse 48% 62% at 93% 38%, rgb(99 102 241 / 22%), transparent 68%),
    linear-gradient(122deg, #071f31 0%, #082b3e 52%, #101f3d 100%);
}

.mot-hero::before {
  z-index: -2;
  top: -18%;
  right: -10%;
  width: 690px;
  height: 690px;
  background: radial-gradient(circle, rgb(56 215 232 / 8%), transparent 63%);
  border-color: rgb(88 221 203 / 18%);
  box-shadow: 0 0 100px rgb(139 108 246 / 8%);
}

.mot-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgb(126 224 195 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(126 224 195 / 5%) 1px, transparent 1px),
    linear-gradient(112deg, transparent 0 46%, rgb(56 215 232 / 7%) 46.2% 46.5%, transparent 46.7%);
  background-position: center;
  background-size: 52px 52px, 52px 52px, 100% 100%;
  content: "";
  mask-image: linear-gradient(90deg, rgb(0 0 0 / 75%), rgb(0 0 0 / 16%) 58%, rgb(0 0 0 / 62%));
  pointer-events: none;
}

.mot-hero-grid {
  z-index: 1;
}

.mot-hero-detail {
  margin-block: 0 !important;
  padding-block-start: 4px;
}

.mot-flow-rich .mot-input-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 8px;
  padding: 7px 5px 16px;
  overflow: visible;
  border-bottom-color: rgb(157 217 199 / 14%);
}

.mot-flow-rich .mot-input-card {
  min-height: 48px;
  gap: 7px;
  padding: 9px 10px;
  background: rgb(225 245 239 / 90%);
  border: 0;
  border-radius: 11px 5px 10px 6px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 16%);
}

.mot-flow-rich .mot-input-card:nth-child(1) {
  transform: translate(4px, 3px) rotate(-2deg) scale(.96);
  background: #fff0ef;
}

.mot-flow-rich .mot-input-card:nth-child(2) {
  transform: translate(-3px, -2px) rotate(1.5deg) scale(1.03);
  background: #edf3ff;
}

.mot-flow-rich .mot-input-card:nth-child(3) {
  transform: translate(2px, 4px) rotate(-.8deg);
  background: #f3eefc;
}

.mot-flow-rich .mot-input-card:nth-child(4) {
  transform: translate(-3px, 1px) rotate(1.8deg) scale(.98);
  background: #e5f6ef;
}

.mot-flow-rich .mot-input-card:nth-child(5) {
  transform: translate(5px, -2px) rotate(-1.4deg) scale(.94);
  background: #fff6dc;
}

.mot-flow-rich .mot-input-card:nth-child(6) {
  transform: translate(-2px, 3px) rotate(.8deg) scale(1.02);
  background: #eaf8fb;
}

.mot-flow-rich .mot-input-card p {
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.mot-flow-core::before {
  display: none;
}

.mot-output-grid {
  align-items: stretch;
}

.mot-output-card {
  display: grid;
  min-height: 86px;
  align-content: center;
}

.mot-output-card p {
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.mot-step-header h3,
.mot-step-card p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.mot-models-grid {
  align-items: stretch !important;
}

.mot-model-card {
  height: 100%;
}

.mot-once-visual {
  display: grid;
  grid-template-columns: minmax(150px, .9fr) minmax(190px, 1.1fr);
  gap: 16px;
  align-items: center;
  margin-block: 28px 30px;
  padding: 18px;
  background: rgb(6 24 36 / 38%);
  border: 1px solid rgb(126 224 195 / 18%);
  border-radius: 14px;
}

.mot-once-illustration {
  width: 100%;
  margin: 0 !important;
}

.mot-once-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

.mot-once-stages {
  display: grid;
  gap: 9px;
}

.mot-once-stage {
  position: relative;
  margin: 0 !important;
  padding: 10px 10px 10px 31px;
  color: var(--mot-dark-text) !important;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.mot-once-stage::before {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 7px;
  height: 7px;
  background: var(--mot-green-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(20 169 123 / 14%);
  content: "";
  transform: translateY(-50%);
}

.mot-included-heading {
  margin-block: 24px 8px;
  color: var(--mot-white);
  font-size: 16px;
  line-height: 1.4;
}

.mot-check-list {
  margin-block: 16px 20px;
}

.mot-no-commitment {
  align-self: flex-start;
  margin: 0 0 20px !important;
  padding: 7px 12px;
  color: #b9f2df !important;
  background: rgb(20 169 123 / 16%);
  border: 1px solid rgb(126 224 195 / 38%);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.mot-capacity-warning {
  align-items: flex-start !important;
  gap: 12px;
  margin-block: 0 24px;
  padding: 15px 16px;
  background: rgb(244 183 64 / 12%);
  border: 1px solid rgb(244 183 64 / 58%);
  border-left-width: 4px;
  border-radius: 10px;
}

.mot-warning-icon {
  width: 25px;
  min-width: 25px;
  margin: 1px 0 0 !important;
}

.mot-warning-icon img {
  display: block;
  width: 25px;
  height: 25px;
}

.mot-capacity-warning p {
  margin: 0 !important;
  color: #f7e6bc !important;
  font-size: 13px;
  line-height: 1.5;
}

.mot-capacity-warning strong {
  color: #fff4d6;
}

.mot-priority-benefit {
  margin-block: 10px !important;
  color: #ffd87d !important;
  font-weight: 800;
}

.mot-priority-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mot-priority-action .wp-block-buttons {
  width: 100%;
}

.mot-priority-note {
  margin-block: 12px 0 !important;
}

.mot-channel-heading {
  align-items: center !important;
  gap: 12px;
  margin-block-end: 18px;
}

.mot-channel-heading h3 {
  margin: 0 !important;
}

.mot-channel-icon {
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin: 0 !important;
  place-items: center;
  border-radius: 12px;
}

.mot-channel-icon img {
  display: block;
  width: 26px;
  height: 26px;
}

.mot-channel-whatsapp .mot-channel-icon {
  background: #087a5b;
  box-shadow: 0 8px 20px rgb(8 122 91 / 28%);
}

.mot-channel-email .mot-channel-icon {
  background: #e6f7fa;
  box-shadow: 0 8px 20px rgb(22 143 163 / 16%);
}

.mot-contact-form-panel .mot-channel-heading h3 {
  color: var(--mot-ink);
  font-size: 30px;
}

.mot-contact-illustration {
  width: min(100%, 390px);
  margin: 28px auto 8px !important;
  opacity: .94;
}

.mot-contact-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
  .mot-condition-grid {
    flex-wrap: wrap !important;
  }

  .mot-condition-grid > .wp-block-column {
    flex-basis: calc(50% - 12px) !important;
  }
}

@media (max-width: 980px) {
  .mot-header-inner {
    gap: 18px;
  }

  .mot-main-nav {
    margin-inline-start: auto;
  }

  .mot-main-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .mot-main-nav .wp-block-navigation__responsive-container-open {
    display: flex !important;
    color: var(--mot-white);
  }

  .mot-main-nav .wp-block-navigation__responsive-container.is-menu-open {
    display: flex !important;
    padding: 72px 28px 28px;
    color: var(--mot-white);
    background: var(--mot-navy-800);
  }

  .mot-process-steps {
    flex-wrap: wrap !important;
  }

  .mot-process-steps > .wp-block-column {
    flex-basis: calc(50% - 14px) !important;
  }

  .mot-process-steps::before {
    display: none;
  }
}

@media (min-width: 981px) {
  .mot-main-nav .wp-block-navigation__responsive-container-open {
    display: none !important;
  }
}

@media (max-width: 782px) {
  .mot-hero {
    background:
      radial-gradient(ellipse 90% 50% at 8% 28%, rgb(20 169 123 / 14%), transparent 70%),
      radial-gradient(ellipse 84% 46% at 96% 70%, rgb(99 102 241 / 10%), transparent 72%),
      linear-gradient(122deg, #071f31, #0b2940);
  }

  .mot-hero::after {
    opacity: .42;
    background-size: 64px 64px, 64px 64px, 100% 100%;
  }

  .mot-process-steps > .wp-block-column,
  .mot-condition-grid > .wp-block-column {
    flex-basis: 100% !important;
  }

  .mot-once-visual {
    grid-template-columns: 1fr;
  }

  .mot-once-illustration {
    width: min(100%, 310px);
    margin-inline: auto !important;
  }

  .mot-contact-form-panel .mot-channel-heading h3 {
    font-size: 26px;
  }
}

@media (max-width: 420px) {
  .mot-brand .custom-logo {
    max-width: 48px;
  }

  .mot-site-name {
    font-size: 13px;
  }

  .mot-flow-rich .mot-input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 6px;
  }

  .mot-flow-rich .mot-input-card {
    min-height: 46px;
    padding-inline: 8px;
  }

  .mot-flow-rich .mot-input-card p {
    font-size: 10px;
  }

  .mot-channel-heading {
    align-items: flex-start !important;
  }
}

@media (max-width: 350px) {
  .mot-header-inner {
    gap: 8px;
  }

  .mot-brand {
    gap: 8px;
  }

  .mot-brand .custom-logo {
    max-width: 40px;
  }

  .mot-hero {
    padding-block-start: 48px;
  }

  .mot-service-number {
    width: 30px;
    flex-basis: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .mot-site-header,
  .mot-site-footer,
  .wp-block-buttons {
    display: none !important;
  }

  .mot-section,
  .mot-work-models,
  .mot-hero {
    padding-block: 32px;
    color: #000;
    background: #fff;
  }
}

/* MOT V4 0.1.6 · capa visual documental aprobada */
.mot-flow-rich {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at 88% 10%, rgb(139 108 246 / 22%), transparent 34%) padding-box,
    radial-gradient(circle at 4% 96%, rgb(56 215 232 / 17%), transparent 38%) padding-box,
    rgb(6 24 36 / 54%) padding-box,
    linear-gradient(120deg, var(--mot-green-500), var(--mot-cyan), var(--mot-violet)) border-box;
  border: 1px solid transparent;
  border-radius: var(--mot-radius-lg);
  box-shadow: 0 24px 70px rgb(0 0 0 / 24%), inset 0 0 38px rgb(139 108 246 / 8%);
}

.mot-flow-rich::before {
  position: absolute;
  z-index: -1;
  inset: -35%;
  background: conic-gradient(from 220deg, transparent 0 52%, rgb(56 215 232 / 7%), rgb(139 108 246 / 10%), transparent 76%);
  content: "";
  filter: blur(28px);
}

.mot-flow-rich > * {
  position: relative;
}

.mot-flow-icon {
  width: 30px;
  min-width: 30px;
  margin: 0 !important;
}

.mot-flow-icon img {
  display: block;
  width: 30px;
  height: 30px;
}

.mot-flow-rich .mot-input-grid {
  padding: 0 0 14px;
  border-color: rgb(157 217 199 / 18%);
}

.mot-flow-rich .mot-input-card {
  min-height: 58px;
  padding: 10px;
  border-radius: 8px;
}

.mot-flow-rich .mot-input-card p {
  overflow-wrap: anywhere;
  color: var(--mot-ink);
  font-size: 11px;
  font-weight: 750;
}

.mot-flow-rich .mot-flow-core {
  background: linear-gradient(135deg, #f8faf7, #eaf9f5);
  border-color: rgb(56 215 232 / 48%);
  border-left-color: var(--mot-green-500);
  box-shadow: 0 10px 26px rgb(0 0 0 / 20%), 0 0 28px rgb(56 215 232 / 10%);
}

.mot-output-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.mot-output-card {
  min-width: 0;
  padding: 12px 7px;
  background: linear-gradient(155deg, rgb(255 255 255 / 98%), rgb(242 249 250 / 96%));
  border: 1px solid rgb(56 215 232 / 52%);
  border-radius: 9px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 15%), 0 0 22px rgb(139 108 246 / 10%);
  text-align: center;
}

.mot-output-card:nth-child(even) {
  border-color: rgb(139 108 246 / 48%);
}

.mot-output-card .mot-flow-icon {
  margin-inline: auto !important;
}

.mot-output-card p {
  margin-block-start: 7px !important;
  overflow-wrap: anywhere;
  color: var(--mot-navy-700);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.mot-examples-heading {
  margin-block-end: 14px;
}

.mot-example-panel {
  min-height: 84px;
  gap: 15px;
  padding: 18px 20px;
  border-radius: 12px;
}

.mot-example-input {
  background: var(--mot-surface-raised);
  border: 1px solid var(--mot-border);
}

.mot-example-output {
  background: linear-gradient(135deg, #f7fdfd, #f7f5ff);
  border: 1px solid rgb(56 215 232 / 54%);
  box-shadow: 0 10px 28px rgb(6 24 36 / 7%), 0 0 20px rgb(139 108 246 / 8%);
}

.mot-example-icon-set {
  min-width: max-content;
  gap: 5px;
}

.mot-example-icon-set figure {
  width: 29px;
  margin: 0 !important;
}

.mot-example-icon-set img {
  display: block;
  width: 29px;
  height: 29px;
}

.mot-example-panel > p:only-child,
.mot-example-panel > p:last-child {
  margin: 0 !important;
  color: var(--mot-ink);
  font-size: 16px;
  line-height: 1.4;
}

.mot-example-output > p:last-child {
  color: var(--mot-navy-700);
  font-weight: 750;
}

.mot-example-arrow {
  color: var(--mot-cyan);
  background: none;
  font-weight: 800;
}

.mot-models-grid {
  align-items: stretch !important;
}

.mot-model-card {
  display: flex;
  flex-direction: column;
}

.mot-model-card > .wp-block-buttons {
  margin-block-start: auto;
}

.mot-capacity-track {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.mot-capacity-fill {
  display: block !important;
  width: 68% !important;
  max-width: none !important;
  margin: 0 auto 0 0 !important;
  padding: 0 !important;
}

.mot-priority-card {
  margin-block-start: 34px;
  padding: 28px 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 10%, rgb(244 183 64 / 16%), transparent 28%),
    linear-gradient(120deg, #0c3042, #102e43 58%, #202a43);
  border: 1px solid rgb(244 183 64 / 70%);
  border-radius: var(--mot-radius-lg);
  box-shadow: 0 16px 40px rgb(0 0 0 / 18%), inset 0 0 28px rgb(139 108 246 / 8%);
}

.mot-priority-grid {
  gap: 28px;
}

.mot-priority-icon figure {
  width: 68px;
  margin: 0 !important;
}

.mot-priority-icon img {
  display: block;
  width: 68px;
  height: 68px;
}

.mot-priority-label {
  margin-block-end: 7px !important;
  color: var(--mot-amber);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mot-priority-card h3 {
  margin-block-end: 10px;
  color: var(--mot-white);
}

.mot-priority-card p:not(.mot-priority-label) {
  color: var(--mot-dark-muted);
  font-size: 14px;
}

.mot-priority-process {
  padding: 12px 14px;
  color: var(--mot-dark-text) !important;
  background: rgb(6 24 36 / 52%);
  border-left: 3px solid var(--mot-amber);
  border-radius: 6px;
  font-size: 12px !important;
  font-weight: 700;
}

.mot-priority-note {
  margin-block: 12px 18px !important;
  font-size: 12px !important;
}

.mot-condition-grid {
  gap: 18px;
  margin-block-start: 36px;
}

.mot-condition-card {
  height: 100%;
  padding: 26px 22px;
  background: var(--mot-surface-raised);
  border: 1px solid var(--mot-border);
  border-radius: var(--mot-radius-lg);
  box-shadow: 0 8px 22px rgb(6 24 36 / 5%);
}

.mot-condition-icon {
  width: 42px;
  margin: 0 0 19px !important;
}

.mot-condition-icon img {
  display: block;
  width: 42px;
  height: 42px;
}

.mot-condition-card h3 {
  margin-block-end: 12px;
  font-size: 20px;
}

.mot-condition-card p {
  color: var(--mot-muted);
  font-size: 14px;
  line-height: 1.55;
}

.mot-condition-excluded {
  background: #fffaf0;
  border-color: rgb(244 183 64 / 70%);
  box-shadow: 0 8px 22px rgb(103 70 5 / 6%);
}

.mot-contact-heading {
  max-width: 840px;
  margin-inline: 0 !important;
  margin-block-end: 38px;
}

.mot-contact-heading h2 {
  margin-block-end: 16px;
}

.mot-contact-heading .mot-section-lead {
  color: var(--mot-muted);
  font-size: 18px;
}

.mot-contact-whatsapp h3 {
  margin-block-end: 18px;
  color: var(--mot-white);
  font-size: 30px;
}

.mot-contact-whatsapp > .wp-block-buttons {
  margin-block-start: 28px;
}

.mot-contact-hours-unified {
  margin-block-start: 24px !important;
  padding: 18px 20px;
  color: var(--mot-muted);
  background: var(--mot-surface);
  border: 1px solid var(--mot-border);
  border-left: 3px solid var(--mot-green-500);
  border-radius: var(--mot-radius-sm);
  font-size: 14px;
}

.mot-footer-contact-label {
  color: var(--mot-dark-muted) !important;
  font-size: 13px !important;
}

.mot-footer-contact-number strong {
  color: var(--mot-white);
  font-size: 18px;
}

.mot-footer-contact-actions {
  gap: 9px;
  margin-block: 3px 8px;
}

.mot-footer-contact-icon {
  width: 38px;
  margin: 0 !important;
}

.mot-footer-contact-icon a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: rgb(255 255 255 / 8%);
  border: 1px solid var(--mot-dark-border);
  border-radius: 9px;
}

.mot-footer-contact-icon a:hover {
  background: rgb(20 169 123 / 17%);
  border-color: var(--mot-green-500);
}

.mot-footer-contact-icon a:focus-visible {
  outline: 3px solid var(--mot-green-500);
  outline-offset: 3px;
}

.mot-footer-contact-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

@media (max-width: 920px) {
  .mot-condition-grid,
  .mot-priority-grid {
    flex-wrap: wrap !important;
  }

  .mot-condition-grid > .wp-block-column {
    flex-basis: calc(50% - 12px) !important;
  }

  .mot-priority-grid > .wp-block-column {
    flex-basis: 100% !important;
  }
}

@media (max-width: 782px) {
  .mot-example-panel {
    min-height: 0;
  }

  .mot-priority-card {
    padding: 26px 24px;
  }

  .mot-condition-grid > .wp-block-column {
    flex-basis: 100% !important;
  }

  .mot-contact-heading .mot-section-lead {
    font-size: 16px;
  }

  .mot-contact-whatsapp h3 {
    font-size: 26px;
  }
}

@media (max-width: 420px) {
  .mot-flow-rich {
    padding: 16px;
    background:
      radial-gradient(circle at 88% 10%, rgb(139 108 246 / 13%), transparent 34%) padding-box,
      radial-gradient(circle at 4% 96%, rgb(56 215 232 / 11%), transparent 38%) padding-box,
      rgb(6 24 36 / 54%) padding-box,
      linear-gradient(120deg, var(--mot-green-500), var(--mot-cyan), var(--mot-violet)) border-box;
  }

  .mot-output-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mot-example-panel {
    gap: 10px;
    padding: 15px;
  }

  .mot-example-icon-set {
    flex-wrap: wrap !important;
    min-width: 29px;
  }

  .mot-priority-card {
    padding: 24px 20px;
  }
}

/* MOT V4 0.1.7 · profundidad cromática en secciones claras */
.mot-services,
.mot-process,
.mot-examples,
.mot-conditions,
.mot-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Servicios */
.mot-services {
  background:
    radial-gradient(ellipse 62% 48% at 4% 90%, rgb(20 169 123 / 18%), transparent 68%),
    radial-gradient(ellipse 54% 42% at 18% 78%, rgb(56 215 232 / 14%), transparent 70%),
    radial-gradient(ellipse 54% 44% at 94% 8%, rgb(139 108 246 / 10%), transparent 72%),
    linear-gradient(180deg, #f7faf9 0%, var(--mot-surface) 58%, #f8fbfa 100%);
}

.mot-services-grid {
  position: relative;
  z-index: 1;
}

.mot-service-index {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mot-service-item {
  --mot-service-accent: var(--mot-green-500);
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 7px;
  align-items: center !important;
  padding: 20px 22px !important;
  background:
    linear-gradient(115deg, rgb(255 255 255 / 88%), rgb(250 253 252 / 70%)) padding-box,
    linear-gradient(145deg, color-mix(in srgb, var(--mot-service-accent) 58%, white), rgb(139 108 246 / 28%)) border-box;
  border: 1px solid transparent !important;
  border-left-width: 3px !important;
  border-radius: var(--mot-radius-lg);
  box-shadow: 0 12px 30px rgb(6 24 36 / 5%), 0 0 28px color-mix(in srgb, var(--mot-service-accent) 7%, transparent);
  backdrop-filter: blur(8px);
}

.mot-service-item:first-child {
  padding-block: 20px !important;
}

.mot-service-item:nth-child(2) {
  --mot-service-accent: var(--mot-cyan);
}

.mot-service-item:nth-child(3) {
  --mot-service-accent: var(--mot-blue-electric);
}

.mot-service-item:nth-child(4) {
  --mot-service-accent: #18a7a0;
}

.mot-service-item:nth-child(5) {
  --mot-service-accent: var(--mot-violet);
}

.mot-service-item:nth-child(6) {
  --mot-service-accent: #278fc7;
}

.mot-service-icon {
  grid-row: 1 / span 2;
  grid-column: 1;
  align-self: center;
  width: 48px;
  margin: 0 !important;
  padding: 7px;
  background: rgb(255 255 255 / 78%);
  border: 1px solid color-mix(in srgb, var(--mot-service-accent) 30%, white);
  border-radius: 12px;
  box-shadow: 0 7px 18px color-mix(in srgb, var(--mot-service-accent) 10%, transparent);
}

.mot-service-icon img {
  width: 34px;
  height: 34px;
}

.mot-service-item h3,
.mot-service-item > p {
  grid-column: 2;
  margin: 0 !important;
}

.mot-service-item h3 {
  align-self: end;
  font-size: clamp(1.22rem, 1.7vw, 1.55rem);
}

.mot-service-item > p {
  align-self: start;
  max-width: 700px;
  color: var(--mot-muted);
  font-size: 15px;
}

/* Cómo funciona */
.mot-process {
  background:
    radial-gradient(ellipse 52% 48% at 0% 0%, rgb(20 169 123 / 9%), transparent 70%),
    radial-gradient(ellipse 58% 52% at 100% 100%, rgb(139 108 246 / 10%), transparent 72%),
    var(--mot-white);
}

.mot-process-steps::before {
  top: 46px;
  right: 8%;
  left: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--mot-green-500), var(--mot-cyan) 40%, var(--mot-blue-electric) 68%, var(--mot-violet));
  border-radius: 999px;
  box-shadow: 0 0 18px rgb(56 215 232 / 32%), 0 0 30px rgb(139 108 246 / 13%);
}

.mot-step-card {
  --mot-step-accent: var(--mot-green-500);
  padding: 22px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 92%), rgb(248 252 251 / 78%)) padding-box,
    linear-gradient(145deg, color-mix(in srgb, var(--mot-step-accent) 58%, white), rgb(139 108 246 / 20%)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 16px 34px rgb(6 24 36 / 6%), 0 0 26px color-mix(in srgb, var(--mot-step-accent) 9%, transparent);
  backdrop-filter: blur(8px);
}

.mot-step-card-2 {
  --mot-step-accent: #1ca9ad;
}

.mot-step-card-3 {
  --mot-step-accent: var(--mot-blue-electric);
}

.mot-step-card-4 {
  --mot-step-accent: var(--mot-violet);
}

.mot-step-header {
  position: relative;
  z-index: 1;
  gap: 11px;
  align-items: center !important;
  margin-block-end: 16px !important;
}

.mot-step-number {
  display: grid;
  min-width: 47px;
  min-height: 34px;
  margin: 0 !important;
  padding: 7px 8px;
  place-items: center;
  color: var(--mot-navy-800);
  background: color-mix(in srgb, var(--mot-step-accent) 16%, white);
  border: 1px solid color-mix(in srgb, var(--mot-step-accent) 50%, white);
  border-radius: 9px;
  box-shadow: 0 0 16px color-mix(in srgb, var(--mot-step-accent) 12%, transparent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1;
  white-space: nowrap;
}

.mot-step-header h3 {
  margin: 0 !important;
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
}

.mot-step-card > p:last-child {
  margin: 0 !important;
}

/* Ejemplos */
.mot-examples {
  background:
    radial-gradient(ellipse 58% 45% at 3% 18%, rgb(56 215 232 / 11%), transparent 72%),
    radial-gradient(ellipse 55% 52% at 98% 78%, rgb(139 108 246 / 12%), transparent 72%),
    var(--mot-surface);
}

.mot-example-input {
  background: rgb(250 252 251 / 92%);
  border-color: var(--mot-border);
  box-shadow: 0 8px 20px rgb(6 24 36 / 4%);
}

.mot-example-output {
  background: linear-gradient(135deg, rgb(247 253 253 / 96%), rgb(247 245 255 / 96%));
  border-color: rgb(71 186 224 / 68%);
  box-shadow: 0 13px 32px rgb(6 24 36 / 8%), 0 0 28px rgb(139 108 246 / 13%), 0 0 18px rgb(56 215 232 / 12%);
}

.mot-example-arrow {
  color: #2baec5;
  text-shadow: 0 0 16px rgb(56 215 232 / 24%);
}

/* Condiciones esenciales */
.mot-conditions {
  background:
    radial-gradient(ellipse 62% 54% at 50% 48%, rgb(56 215 232 / 8%), transparent 72%),
    radial-gradient(ellipse 40% 42% at 86% 24%, rgb(139 108 246 / 8%), transparent 74%),
    var(--mot-white);
}

.mot-conditions > .mot-eyebrow,
.mot-conditions > h2,
.mot-conditions > .mot-condition-grid {
  width: min(100%, 1120px);
  max-width: 1120px !important;
  margin-inline: auto !important;
}

.mot-condition-grid {
  align-items: stretch !important;
  gap: 20px;
}

.mot-condition-card {
  --mot-condition-accent: var(--mot-green-500);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 94%), rgb(249 252 251 / 84%)) padding-box,
    linear-gradient(150deg, color-mix(in srgb, var(--mot-condition-accent) 52%, white), rgb(56 215 232 / 18%)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 14px 32px rgb(6 24 36 / 6%), 0 0 24px color-mix(in srgb, var(--mot-condition-accent) 8%, transparent);
  backdrop-filter: blur(8px);
}

.mot-condition-grid > .wp-block-column:nth-child(2) .mot-condition-card {
  --mot-condition-accent: #168fa3;
}

.mot-condition-grid > .wp-block-column:nth-child(3) .mot-condition-card {
  --mot-condition-accent: #665ad8;
}

.mot-condition-grid > .wp-block-column:nth-child(4) .mot-condition-card {
  --mot-condition-accent: var(--mot-amber);
  background:
    linear-gradient(145deg, rgb(255 251 241 / 96%), rgb(255 247 225 / 88%)) padding-box,
    linear-gradient(150deg, rgb(244 183 64 / 76%), rgb(211 131 35 / 42%)) border-box;
}

.mot-condition-card h3 {
  font-size: clamp(1.12rem, 1.45vw, 1.32rem);
}

/* Contacto */
.mot-contact {
  background:
    radial-gradient(ellipse 48% 58% at 12% 58%, rgb(20 169 123 / 14%), transparent 72%),
    radial-gradient(ellipse 48% 58% at 86% 54%, rgb(59 130 246 / 12%), transparent 70%),
    radial-gradient(ellipse 38% 44% at 98% 72%, rgb(139 108 246 / 10%), transparent 72%),
    linear-gradient(180deg, #f7faf9, var(--mot-surface));
}

.mot-contact-heading,
.mot-contact-grid,
.mot-contact-hours-unified {
  width: min(100%, 980px);
  max-width: 980px !important;
  margin-inline: auto !important;
}

.mot-contact-grid {
  position: relative;
  z-index: 1;
  gap: 30px;
}

.mot-contact-whatsapp {
  background:
    radial-gradient(circle at 0% 100%, rgb(20 169 123 / 22%), transparent 46%) padding-box,
    radial-gradient(circle at 100% 0%, rgb(56 215 232 / 13%), transparent 50%) padding-box,
    linear-gradient(135deg, var(--mot-navy-800), #0b3044) padding-box,
    linear-gradient(145deg, rgb(20 169 123 / 82%), rgb(56 215 232 / 58%)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 18px 42px rgb(6 24 36 / 15%), 0 0 30px rgb(20 169 123 / 10%);
}

.mot-contact-form-panel {
  position: relative;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 98%), rgb(250 250 255 / 96%)) padding-box,
    linear-gradient(145deg, rgb(56 215 232 / 68%), rgb(139 108 246 / 58%)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 18px 42px rgb(6 24 36 / 8%), 0 0 28px rgb(139 108 246 / 10%);
}

.mot-contact-form-panel .fluentform input:not([type="checkbox"], [type="radio"]),
.mot-contact-form-panel .fluentform select,
.mot-contact-form-panel .fluentform textarea {
  background: rgb(255 255 255 / 96%);
}

.mot-contact-hours-unified {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 88%), rgb(249 252 253 / 84%)) padding-box,
    linear-gradient(90deg, rgb(20 169 123 / 62%), rgb(56 215 232 / 42%), rgb(139 108 246 / 34%)) border-box;
  border: 1px solid transparent;
  border-left-width: 3px;
  box-shadow: 0 10px 26px rgb(6 24 36 / 5%);
}

@media (max-width: 920px) {
  .mot-services-grid {
    gap: 42px;
  }

  .mot-process-steps {
    flex-wrap: wrap !important;
  }

  .mot-process-steps > .wp-block-column {
    flex-basis: calc(50% - 14px) !important;
  }

  .mot-process-steps::before {
    display: none;
  }
}

@media (max-width: 782px) {
  .mot-services,
  .mot-process,
  .mot-examples,
  .mot-conditions,
  .mot-contact {
    background-size: auto;
  }

  .mot-services {
    background:
      radial-gradient(ellipse 92% 36% at 8% 94%, rgb(20 169 123 / 10%), transparent 72%),
      radial-gradient(ellipse 82% 30% at 100% 8%, rgb(139 108 246 / 6%), transparent 76%),
      var(--mot-surface);
  }

  .mot-service-item {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 14px;
    padding: 18px !important;
    box-shadow: 0 9px 22px rgb(6 24 36 / 5%);
    backdrop-filter: none;
  }

  .mot-service-icon {
    width: 44px;
    padding: 6px;
  }

  .mot-service-icon img {
    width: 32px;
    height: 32px;
  }

  .mot-process {
    background:
      radial-gradient(ellipse 90% 32% at 0% 0%, rgb(20 169 123 / 6%), transparent 75%),
      radial-gradient(ellipse 90% 32% at 100% 100%, rgb(139 108 246 / 6%), transparent 75%),
      var(--mot-white);
  }

  .mot-process-steps > .wp-block-column {
    flex-basis: 100% !important;
  }

  .mot-step-card,
  .mot-condition-card {
    box-shadow: 0 9px 22px rgb(6 24 36 / 5%);
    backdrop-filter: none;
  }

  .mot-examples {
    background:
      radial-gradient(ellipse 90% 30% at 100% 80%, rgb(139 108 246 / 7%), transparent 76%),
      var(--mot-surface);
  }

  .mot-example-output {
    box-shadow: 0 9px 22px rgb(6 24 36 / 6%), 0 0 18px rgb(139 108 246 / 7%);
  }

  .mot-conditions {
    background:
      radial-gradient(ellipse 90% 36% at 50% 48%, rgb(56 215 232 / 5%), transparent 78%),
      var(--mot-white);
  }

  .mot-contact {
    background:
      radial-gradient(ellipse 90% 26% at 5% 42%, rgb(20 169 123 / 8%), transparent 76%),
      radial-gradient(ellipse 90% 26% at 95% 72%, rgb(139 108 246 / 7%), transparent 76%),
      var(--mot-surface);
  }

  .mot-contact-whatsapp,
  .mot-contact-form-panel {
    box-shadow: 0 11px 26px rgb(6 24 36 / 8%);
  }
}

@media (max-width: 420px) {
  .mot-service-item {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
    padding: 16px !important;
  }

  .mot-service-icon {
    width: 38px;
    padding: 5px;
    border-radius: 10px;
  }

  .mot-service-icon img {
    width: 28px;
    height: 28px;
  }

  .mot-step-header {
    align-items: flex-start !important;
  }

  .mot-step-number {
    min-width: 44px;
  }
}

/* MOT V4 0.1.8 · cierre de cascada sobre las capas visuales anteriores */
.mot-flow-rich .mot-input-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 8px;
  padding: 7px 5px 16px;
  overflow: visible;
  border-bottom-color: rgb(157 217 199 / 14%);
}

.mot-flow-rich .mot-input-card {
  min-height: 48px;
  gap: 7px;
  padding: 9px 10px;
  border: 0;
  border-radius: 11px 5px 10px 6px;
}

.mot-flow-rich .mot-input-card p,
.mot-output-card p {
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.mot-check-list {
  margin-block: 16px 20px;
}

.mot-priority-card .mot-priority-benefit {
  margin-block: 10px !important;
  color: #ffd87d !important;
  font-weight: 800;
}

.mot-channel-heading h3,
.mot-contact-whatsapp .mot-channel-heading h3,
.mot-contact-form-panel .mot-channel-heading h3 {
  margin: 0 !important;
}

@media (max-width: 420px) {
  .mot-flow-rich .mot-input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 6px;
  }

  .mot-flow-rich .mot-input-card {
    min-height: 46px;
    padding-inline: 8px;
  }

  .mot-flow-rich .mot-input-card p {
    font-size: 10px;
  }
}

/* MOT V4 0.1.9 · identidad completa y entradas documentales sin tarjetas */
.mot-site-header .mot-brand-copy {
  gap: 2px;
}

.mot-site-header .wp-block-site-title {
  margin: 0 !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.mot-site-header .wp-block-site-title a {
  color: var(--mot-white);
  text-decoration: none;
}

.mot-site-header .mot-site-tagline {
  display: block;
  margin: 0 !important;
  color: var(--mot-dark-muted);
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
}

.mot-flow-rich .mot-input-card {
  min-height: 0;
  padding: 4px 2px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mot-flow-rich .mot-input-card p {
  overflow-wrap: normal;
  color: var(--mot-dark-text);
  font-size: 11px;
  font-weight: 750;
  word-break: normal;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .mot-site-header .wp-block-site-title {
    font-size: 13px;
  }

  .mot-site-header .mot-site-tagline {
    font-size: 10px;
  }

  .mot-flow-rich .mot-input-card {
    min-height: 0;
    padding: 3px 1px;
  }

  .mot-flow-rich .mot-input-card p {
    font-size: 10px;
  }
}
