/* DIREMMEX v4 — rediseño 2026
   Tarjetas grandes con degradado turquesa → azul claro → marfil, botones en píldora, etiquetas [ entre corchetes ].
   Paleta del Manual de Marca: Turquesa #08B9C1 · Azul petróleo #073B55 · Azul claro #DCE8EB · Gris #9AA6AC · Marfil #F8F8F5
   Hero de la usuaria: título #0B1F3A, línea y botón Buscar #2D62C8. Acento secundario de sus imágenes: #1E6BFF.
   Tipografía: Manrope (textos y H1) + Newsreader (títulos de sección; sustituto de Tiempos Headline del manual). */

:root {
  --ink: #0B1F3A;
  --blue: #2D62C8;
  --blue-hover: #2452AB;
  --blue-2: #1E6BFF;
  --navy: #073B55;
  --navy-hover: #0A4A6A;
  --turq: #08B9C1;
  --teal: #0A8F96;
  --teal-hover: #077A80;
  --azul: #DCE8EB;
  --gris: #9AA6AC;
  --marfil: #F8F8F5;
  --card: #FDFDFB;
  --text: #33485A;
  --text-2: #56697A;
  --line: rgba(7, 59, 85, .1);
  --line-2: rgba(7, 59, 85, .16);
  --wa: #1FA855;
  --wa-hover: #178A45;
  --pending: #FFF3B0;
  --shadow-sm: 0 1px 2px rgba(7, 59, 85, .05), 0 8px 24px -14px rgba(7, 59, 85, .22);
  --shadow: 0 1px 2px rgba(7, 59, 85, .05), 0 28px 60px -30px rgba(7, 59, 85, .4);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --f: "Manrope", "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --section: clamp(72px, 9vw, 128px);
  --grad:
    radial-gradient(55% 65% at 0% 105%, rgba(8, 185, 193, .34) 0%, rgba(8, 185, 193, 0) 70%),
    radial-gradient(45% 55% at 100% 100%, rgba(30, 107, 255, .16) 0%, rgba(30, 107, 255, 0) 70%),
    radial-gradient(60% 50% at 70% 0%, rgba(253, 253, 251, .9) 0%, rgba(253, 253, 251, 0) 70%),
    linear-gradient(180deg, #FAFAF7 0%, #EEF4F5 55%, #DCE8EB 100%);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--marfil); color: var(--text); font: 400 1rem/1.65 var(--f); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-hover); }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); text-wrap: balance; }
h1 { font: 800 clamp(2.4rem, 5vw, 4.1rem)/1.03 var(--f); letter-spacing: -.035em; color: var(--ink); }
h2 { font: 500 clamp(1.85rem, 3.4vw, 2.75rem)/1.12 var(--serif); letter-spacing: -.012em; }
h2 em, h1 em { font-style: italic; color: var(--teal); }
h1 em { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
h3 { font: 700 1.14rem/1.3 var(--f); letter-spacing: -.01em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: var(--marfil); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--text-2); }
.small { font-size: .88rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Etiqueta entre corchetes ---------- */
.tag { display: inline-flex; gap: .45em; font: 600 .82rem/1 var(--f); letter-spacing: .02em; color: var(--teal); }
.tag::before { content: "["; } .tag::after { content: "]"; }

/* ---------- Botones en píldora ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 24px; font: 700 .95rem/1 var(--f); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .16s var(--ease-out), box-shadow .2s var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--navy); color: var(--marfil); }
.btn-primary:hover { background: var(--navy-hover); color: var(--marfil); }
.btn-teal { background: var(--teal); color: #FDFDFB; }
.btn-teal:hover { background: var(--teal-hover); color: #FDFDFB; }
.btn-ghost { background: rgba(253, 253, 251, .72); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--card); color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease-out); }
.link-arrow:hover { color: var(--teal); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Barra de promoción ---------- */
.promo-bar:empty { display: none; }
.promo-bar { padding: 12px 12px 0; }
.promo-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: var(--marfil); text-decoration: none; font: 600 .88rem/1.35 var(--f); text-align: center; }
.promo-bar a:hover { background: var(--navy-hover); color: var(--marfil); }
.promo-bar b { color: #7FE3E8; font-weight: 700; }
.promo-bar small { opacity: .75; font-size: .8rem; }

/* ---------- Tarjeta grande (hero, encabezados, footer) ---------- */
.shell { padding: 12px; }
.shell-card { position: relative; isolation: isolate; border-radius: 28px; background: var(--grad); }
.shell-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: .35; pointer-events: none;
  background-image: radial-gradient(rgba(7, 59, 85, .08) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%); mask-image: linear-gradient(180deg, transparent 0%, #000 60%); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 30; }
.header-inner { display: flex; align-items: center; gap: 20px; padding-block: 18px; }
.brand { flex: none; }
.brand img { width: 108px; height: auto; }
.nav { margin-inline: auto; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(253, 253, 251, .72); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav a { padding: 9px 16px; border-radius: 999px; font: 600 .9rem/1 var(--f); color: var(--navy); text-decoration: none; transition: background-color .2s var(--ease-out); }
.nav a:hover { background: rgba(220, 232, 235, .85); color: var(--navy); }
.nav a[aria-current="page"] { background: var(--navy); color: var(--marfil); }
.nav a[hidden] { display: none; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(253, 253, 251, .8); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--navy); cursor: pointer; place-items: center; transition: transform .16s var(--ease-out); }
.menu-btn:active { transform: scale(0.95); }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- Hero del home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.hero h1 { margin-top: 18px; }
.hero-rule { display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--blue); margin: 28px 0 20px; }
.hero-sub { max-width: 28em; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; color: #3A4A5C; }
.hero-feats { list-style: none; margin: 30px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 16px 32px; }
.hero-feats li { display: flex; align-items: center; gap: 12px; font: 600 .9rem/1.3 var(--f); color: var(--ink); }
.hero-feats svg { width: 30px; height: 30px; flex: none; color: #1E3E7B; }
.hero-search { position: relative; display: flex; align-items: center; gap: 10px; max-width: 580px; padding: 7px 7px 7px 20px; border-radius: 999px; background: var(--card); box-shadow: 0 1px 0 rgba(7, 59, 85, .04), 0 18px 40px -18px rgba(11, 31, 58, .35); border: 1.5px solid transparent; transition: border-color .2s var(--ease-out); }
.hero-search:focus-within { border-color: var(--blue); }
.hero-search > svg { width: 20px; height: 20px; flex: none; color: var(--ink); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 500 1rem var(--f); color: var(--ink); padding: 12px 0; }
.hero-search input::placeholder { color: #66778A; font-weight: 400; }
.hero-search input::-webkit-search-cancel-button { cursor: pointer; }
.hero-search button { flex: none; border: 0; border-radius: 999px; padding: 14px 30px; background: var(--blue); color: #FDFDFB; font: 700 .98rem/1 var(--f); cursor: pointer; transition: background-color .2s var(--ease-out), transform .16s var(--ease-out); }
.hero-search button:hover { background: var(--blue-hover); }
.hero-search button:active { transform: scale(0.97); }
.hero-alt { margin: 16px 0 0 20px; font-size: .92rem; color: #3A4A5C; }
.hero-alt a { font-weight: 700; color: var(--blue); }

/* resultados del buscador */
.finder-drop { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 25; display: grid; gap: 8px; max-height: min(440px, 70vh); overflow: auto; overscroll-behavior: contain; padding: 2px; }
.finder-drop:empty { display: none; }
.f-item, .f-empty { background: var(--card); border-radius: 18px; padding: 14px 18px; box-shadow: 0 16px 40px -18px rgba(11, 31, 58, .4); border: 1px solid var(--line); animation: pop 220ms var(--ease-out) both; }
.f-kind { font: 700 .7rem/1 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.f-item h3 { margin: 6px 0 2px; font-size: 1rem; color: var(--ink); }
.f-item p { font-size: .86rem; color: var(--text-2); }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.f-price { font-weight: 700; color: var(--navy); font-size: .92rem; }
.f-price s { color: var(--gris); font-weight: 500; margin-right: 6px; }
.f-wa { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--wa); color: #fff; font: 700 .85rem/1 var(--f); text-decoration: none; }
.f-wa:hover { background: var(--wa-hover); color: #fff; }
.f-wa svg, .f-empty .btn svg { width: 16px; height: 16px; }
.f-empty { display: grid; gap: 12px; }
.f-empty b { display: block; color: var(--ink); }
.f-empty span { display: block; font-size: .86rem; color: var(--text-2); }
.f-empty .btn { justify-self: start; padding: 11px 16px; font-size: .88rem; }

/* mockup con tarjetas flotantes */
.mock { position: relative; padding: 28px 0 40px; }
.mock-frame { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(7, 59, 85, .45), 0 0 0 1px rgba(7, 59, 85, .06); background: #CFDCE2; }
.mock-frame img { width: 100%; aspect-ratio: 1114 / 809; object-fit: cover; }
.chip-wrap { position: absolute; inset: 0; pointer-events: none; }
.chip-card { position: absolute; background: rgba(253, 253, 251, .95); border-radius: 18px; padding: 14px 16px; box-shadow: 0 22px 44px -20px rgba(11, 31, 58, .45), 0 0 0 1px rgba(7, 59, 85, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip-card small { display: block; font: 600 .72rem/1.25 var(--f); color: var(--text-2); }
.chip-card b { font: 800 1.35rem/1.1 var(--f); color: var(--ink); letter-spacing: -.02em; }
.ic-soft { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #E6EEFF; color: var(--blue-2); }
.ic-soft svg { width: 22px; height: 22px; }
.cc-people { top: 0; left: -28px; display: flex; align-items: center; gap: 12px; }
.cc-sectors { right: -20px; top: 34%; width: 228px; }
.cc-mail { left: 8%; bottom: 0; display: flex; align-items: center; gap: 12px; }
.bars { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font: 600 .76rem/1.2 var(--f); color: var(--ink); }
.bars li span:last-of-type { color: var(--text-2); font-variant-numeric: tabular-nums; }
.bars li i { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--azul); overflow: hidden; }
.bars li i::after { content: ""; display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--turq), var(--blue-2)); }
.ring { width: 46px; height: 46px; flex: none; border-radius: 50%; background: conic-gradient(var(--turq) 0 90%, var(--azul) 90% 100%); display: grid; place-items: center; }
.ring::after { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--card); }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.drift-1 { animation: drift 7s ease-in-out infinite; }
.drift-2 { animation: drift 8s ease-in-out -2s infinite; }
.drift-3 { animation: drift 6.5s ease-in-out -4s infinite; }

/* entrada al cargar */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.96) translateY(6px); } to { opacity: 1; transform: none; } }
.in { animation: rise 700ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms + 60ms); }
.pop { animation: pop 700ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 120ms + 420ms); }

/* aparición al hacer scroll (solo si hay JS) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Encabezado de páginas internas ---------- */
.page-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.page-head.solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.page-head h1 { margin-top: 16px; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.page-head .lede { margin-top: 18px; max-width: 34em; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #3A4A5C; }
.page-head .btn-row { margin-top: 26px; }
.head-photo { position: relative; border-radius: 22px; overflow: hidden; background: var(--azul); box-shadow: var(--shadow); }
.head-photo img { width: 100%; height: auto; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section-alt { background: var(--card); border-block: 1px solid var(--line); }
.section-alt + .section { padding-top: var(--section); }
.section + .section-alt { padding-top: var(--section); }
.s-head { display: grid; justify-items: center; gap: 14px; text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.s-head p { max-width: 36em; color: var(--text-2); font-size: 1.05rem; }
.s-head.left { justify-items: start; text-align: left; margin-inline: 0; }

/* ---------- Bento: Por qué DIREMMEX ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.b-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.b-card p { color: var(--text-2); }
.b-card .num { font: 600 .78rem/1 var(--f); color: var(--gris); letter-spacing: .06em; }
.b-lg { grid-column: span 4; grid-row: span 3; background: var(--grad); box-shadow: none; }
.b-lg .b-copy { max-width: 26em; position: relative; z-index: 1; }
.b-lg h3 { font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--serif); letter-spacing: -.01em; }
/* las imágenes de la usuaria traen fondo blanco: multiply lo funde con el degradado */
.b-lg .b-img { margin: auto -8px -32px auto; width: min(100%, 560px); align-self: flex-end; mix-blend-mode: multiply; }
.b-sm { grid-column: span 2; }
.b-wide { grid-column: span 2; background: var(--navy); box-shadow: none; }
.b-wide h3, .b-wide p { color: var(--marfil); }
.b-wide p { opacity: .82; }
.b-wide .link-arrow { color: #7FE3E8; margin-top: auto; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding: 0; list-style: none; }
.pill-list li { padding: 6px 11px; border-radius: 999px; background: rgba(220, 232, 235, .7); font: 600 .78rem/1 var(--f); color: var(--navy); }

/* ---------- Split: lista con checks + visual ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split-copy { display: grid; gap: 18px; justify-items: start; }
.split-copy > p { color: var(--text-2); max-width: 32em; }
.checks { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(8, 185, 193, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A8F96' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.visual { position: relative; border-radius: 26px; background: var(--grad); padding: clamp(20px, 3vw, 36px); min-height: 320px; display: grid; place-items: center; }
.visual img.person { width: 100%; max-width: 440px; margin-inline: auto; mix-blend-mode: multiply; }
.visual .chip-card { position: absolute; }
.visual .cc-a { left: -14px; bottom: 26px; display: flex; gap: 12px; align-items: center; }
.visual .cc-b { right: -14px; top: 22px; }

/* ---------- Mock de Excel ---------- */
.sheet { margin: 0; width: 100%; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.sheet-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #F1F5F6; border-bottom: 1px solid var(--line); font: 600 .8rem/1.2 var(--f); color: var(--navy); }
.sheet-bar .x { padding: 4px 8px; border-radius: 6px; background: #1D6F42; color: #fff; font-size: .7rem; letter-spacing: .04em; }
.sheet-bar .dots { margin-left: auto; display: flex; gap: 5px; }
.sheet-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.sheet-scroll { overflow-x: auto; }
.sheet table { width: 100%; border-collapse: collapse; font-size: .8rem; min-width: 540px; }
.sheet table.sheet-wide { min-width: 2200px; }
.sheet th { text-align: left; padding: 10px 12px; background: var(--navy); color: var(--marfil); font-weight: 700; white-space: nowrap; }
.sheet td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.sheet tr:nth-child(even) td { background: #F7FAFB; }
.blur { display: inline-block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #C9D6DC, #DCE5E9); filter: blur(1.5px); vertical-align: middle; }
.sheet-cap { padding: 10px 16px; font-size: .76rem; color: var(--text-2); background: #F7FAFB; }

/* ---------- Carrusel de tipos de empresa ---------- */
.strip { padding-block: clamp(56px, 7vw, 96px); text-align: center; overflow: hidden; }
.strip .s-head { margin-bottom: 40px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 12px; margin: 0; padding: 0 6px; list-style: none; }
.marquee li { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; padding: 14px 22px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 700 .95rem/1 var(--f); color: var(--navy); }
.marquee li span { font: 600 .8rem/1 var(--f); color: var(--text-2); font-variant-numeric: tabular-nums; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Para quién ---------- */
.profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.profile { border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.profile .num { font: 500 2.4rem/1 var(--serif); font-style: italic; color: var(--turq); }
.profile p { color: var(--text-2); }
.profile .rec { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-2); font: 600 .84rem/1.4 var(--f); color: var(--navy); }
.profile .rec small { display: block; font: 700 .68rem/1 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-bottom: 6px; }

/* ---------- Cómo funciona ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; position: relative; }
.steps li { counter-increment: step; position: relative; display: grid; gap: 10px; align-content: start; padding: 64px 22px 26px; border-radius: var(--radius); background: var(--marfil); box-shadow: inset 0 0 0 1px var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 22px; left: 22px; font: 700 .8rem/1 var(--f); letter-spacing: .06em; color: var(--teal); padding: 7px 10px; border-radius: 999px; background: rgba(8, 185, 193, .12); }
.steps li:last-child { background: var(--navy); box-shadow: none; }
.steps li:last-child h3, .steps li:last-child p { color: var(--marfil); }
.steps li:last-child::before { background: rgba(127, 227, 232, .16); color: #7FE3E8; }
.steps p { color: var(--text-2); font-size: .95rem; }
.steps-cta { margin-top: 32px; display: flex; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease-out), background-color .3s var(--ease-out); }
.faq details[open] { background: #FFFFFE; box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font: 700 1rem/1.4 var(--f); color: var(--ink); border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B55' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease-out), background-color .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(8, 185, 193, .2); }
.faq .answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease-out); }
.faq details[open] .answer { grid-template-rows: 1fr; }
.faq .answer > div { overflow: hidden; }
.faq .answer p { padding: 0 22px 20px; color: var(--text-2); max-width: 44em; }
.faq-foot { margin-top: 28px; text-align: center; color: var(--text-2); }
.faq-foot a { font-weight: 700; }

/* ---------- DIREMMEX informa ---------- */
.informa { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 4vw, 52px); border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.informa-head { display: grid; gap: 14px; align-content: start; justify-items: start; }
.informa-head .ic-soft { background: rgba(8, 185, 193, .14); color: var(--teal); width: 48px; height: 48px; border-radius: 14px; }
.informa-body { display: grid; gap: 14px; color: var(--text); }

/* ---------- Formularios ---------- */
.form-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(24px, 4vw, 56px); border-radius: 28px; background: var(--grad); }
.form-block .split-copy { padding-top: 8px; }
.form-card { background: var(--card); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font: 700 .84rem/1.3 var(--f); color: var(--navy); }
.opt { font-weight: 500; color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem var(--f); color: var(--ink); background: var(--marfil); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 13px 14px; transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out); }
.field textarea { min-height: 104px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B55' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background-color: #FFFFFE; }
.field [aria-invalid="true"] { border-color: #C2412D; background-color: #FFF6F4; }
.form-status { padding: 12px 14px; border-radius: 14px; background: rgba(8, 185, 193, .1); color: var(--navy); font-size: .92rem; }
.form-status a { font-weight: 700; }
.form-legal { font-size: .8rem; color: var(--text-2); }

/* ---------- Precios ---------- */
.promo-note:empty { display: none; }
.price-group { margin-top: clamp(40px, 5vw, 64px); }
.price-group:first-child { margin-top: 0; }
.price-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.price-group-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.price-group-head p { color: var(--text-2); font-size: .92rem; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.p-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.p-card .p-label { align-self: flex-start; padding: 6px 11px; border-radius: 999px; background: rgba(8, 185, 193, .14); color: var(--teal); font: 700 .74rem/1 var(--f); letter-spacing: .02em; }
.p-card h3 { font-size: 1.2rem; }
.p-card .p-range { font-size: .88rem; color: var(--text-2); margin-top: -8px; }
.p-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 0; border-block: 1px dashed var(--line-2); }
.p-stats b { display: block; font: 800 1.2rem/1.1 var(--f); color: var(--ink); font-variant-numeric: tabular-nums; }
.p-stats span { font-size: .78rem; color: var(--text-2); }
.p-price { font: 800 clamp(1.8rem, 2.8vw, 2.2rem)/1 var(--f); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.p-price small { display: block; margin-top: 8px; font: 500 .82rem/1.3 var(--f); letter-spacing: 0; color: var(--text-2); }
.p-price s { display: block; font: 600 .95rem/1 var(--f); color: var(--gris); margin-bottom: 6px; }
.p-promo { padding: 10px 12px; border-radius: 12px; background: #FFF6D6; color: #5B4300; font: 600 .82rem/1.4 var(--f); }
.p-actions { margin-top: auto; display: grid; gap: 10px; }
.p-actions .link-arrow { justify-self: center; font-size: .9rem; }
.p-card.featured { background: var(--navy); box-shadow: none; }
.p-card.featured h3, .p-card.featured .p-price, .p-card.featured .p-stats b { color: var(--marfil); }
.p-card.featured .p-range, .p-card.featured .p-stats span, .p-card.featured .p-price small { color: rgba(248, 248, 245, .72); }
.p-card.featured .p-stats { border-color: rgba(248, 248, 245, .18); }
.p-card.featured .p-label { background: rgba(127, 227, 232, .16); color: #7FE3E8; }
.p-card.featured .link-arrow { color: #7FE3E8; }
.price-note { margin-top: 24px; font-size: .92rem; color: var(--text-2); }
.loading { padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); text-align: center; }

/* tablas de base a la medida */
.tables { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dtable-wrap { border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: auto; max-height: 640px; }
.dtable { width: 100%; border-collapse: collapse; font-size: .92rem; }
.dtable caption { text-align: left; padding: 18px 20px 6px; font: 700 1rem/1.3 var(--f); color: var(--navy); }
.dtable th { position: sticky; top: 0; z-index: 1; text-align: left; padding: 12px 20px; background: #F1F5F6; color: var(--navy); font: 700 .78rem/1.2 var(--f); letter-spacing: .04em; text-transform: uppercase; }
.dtable td { padding: 11px 20px; border-top: 1px solid var(--line); color: var(--ink); }
.dtable .r { text-align: right; font-variant-numeric: tabular-nums; }
.dtable tbody tr { transition: background-color .15s var(--ease-out); }
.dtable tbody tr:hover { background: #F7FAFB; }

/* ---------- Banda CTA ---------- */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: var(--grad); }
.cta h2 { max-width: 18em; }
.cta p { margin-top: 10px; color: var(--text-2); }

/* ---------- Nosotros / Contacto ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { padding: 26px 22px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.value .ic-soft { background: rgba(8, 185, 193, .14); color: var(--teal); }
.value p { color: var(--text-2); font-size: .95rem; }
.photo-card { position: relative; }
.photo-card .photo { border-radius: 24px; overflow: hidden; background: var(--azul); box-shadow: var(--shadow); }
.photo-card .photo img { width: 100%; height: auto; }
.photo-card .chip-card { left: -18px; top: -22px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.c-card { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.c-card .ic-soft { background: rgba(8, 185, 193, .14); color: var(--teal); }
.c-card.wa .ic-soft { background: rgba(31, 168, 85, .14); color: var(--wa); }
.c-card p { color: var(--text-2); font-size: .95rem; }
.c-card .c-val { margin-top: 6px; font-weight: 700; }
.c-card .c-val a { text-decoration: none; }
.visit { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; }
.visit > div { display: flex; gap: 16px; align-items: flex-start; padding: 24px 26px; border-radius: var(--radius); background: var(--grad); }
.visit > div[hidden] { display: none; }
.visit .ic-soft { background: rgba(253, 253, 251, .8); color: var(--teal); }
.visit p { margin-top: 6px; color: var(--text); }
.visit a { font-weight: 600; }
.foot-label { font-weight: 700; color: var(--navy); font-size: .94rem; }
.foot-hours { font-size: .86rem; line-height: 1.5; color: var(--text-2); }
.social-row { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; color: var(--text-2); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: rgba(253, 253, 251, .75); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .16s var(--ease-out); }
.socials a:hover { background: var(--navy); color: var(--marfil); }
.socials a:active { transform: scale(0.95); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Texto largo (aviso, artículos) ---------- */
.prose { max-width: 740px; margin-inline: auto; font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: 18px; margin-block: 1.6em; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--turq); font: 500 1.25rem/1.5 var(--serif); font-style: italic; color: var(--navy); }
.prose a { font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin-block: 2em; }
.pending { background: var(--pending); padding: 0 4px; border-radius: 4px; }
.doc-card { padding: clamp(24px, 5vw, 64px); border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.post-img { aspect-ratio: 16 / 10; background: var(--grad); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.post-body { display: grid; gap: 10px; padding: 22px; }
.post-body time { font: 600 .78rem/1 var(--f); color: var(--teal); }
.post-body h3 { font: 500 1.35rem/1.25 var(--serif); letter-spacing: -.01em; color: var(--navy); }
.post-body p { color: var(--text-2); font-size: .95rem; }
.post:hover { color: inherit; }
.post:first-child:not(:only-child) { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.post:first-child:not(:only-child) .post-img { aspect-ratio: auto; min-height: 320px; }
.post:first-child:not(:only-child) .post-body { align-content: center; padding: clamp(24px, 4vw, 48px); }
.post:first-child:not(:only-child) h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.empty-state { max-width: 560px; margin-inline: auto; text-align: center; display: grid; gap: 14px; justify-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.empty-state p { color: var(--text-2); }
.page-head.article-head { max-width: calc(740px + 2 * var(--gutter)); }
.article-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--text-2); font-size: .92rem; }
.article-cover { max-width: 1000px; margin: 0 auto clamp(32px, 5vw, 56px); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { width: 100%; }
.back-link { display: inline-flex; gap: 6px; font-weight: 700; text-decoration: none; color: var(--navy); }
.back-link:hover { color: var(--teal); }

/* ---------- Footer en tarjeta ---------- */
.site-footer { padding: 0 12px 12px; }
.footer-card { padding-block: clamp(36px, 5vw, 64px) 24px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line-2); }
.footer-top img { width: 112px; }
.footer-top p { max-width: 24em; color: var(--text); margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 32px; padding-block: 32px; }
.footer-grid h4 { font: 700 .82rem/1 var(--f); letter-spacing: .04em; color: var(--navy); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:not(.btn) { color: var(--text); text-decoration: none; font-size: .94rem; }
.footer-grid li:has(> a[hidden]) { display: none; }
.footer-grid a:not(.btn):hover { color: var(--teal); }
.footer-grid a[hidden] { display: none; }
.foot-cta { display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 20px; background: rgba(253, 253, 251, .78); box-shadow: inset 0 0 0 1px var(--line); }
.foot-cta h4 { margin: 0; }
.foot-cta p { font-size: .92rem; color: var(--text-2); }
.foot-cta .btn-row .btn { padding: 12px 18px; font-size: .9rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: .85rem; color: var(--text-2); }
.footer-bottom a { color: var(--text-2); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wa-label { background: var(--card); color: var(--navy); font: 700 .85rem/1 var(--f); padding: 11px 14px; border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(11, 31, 58, .45); }
.wa-ic { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -10px rgba(31, 168, 85, .7); transition: transform .16s var(--ease-out); }
.wa-ic svg { width: 28px; height: 28px; }
.wa-float:active .wa-ic { transform: scale(0.95); }
.wa-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31, 168, 85, .45); animation: pulse 2.8s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31, 168, 85, 0); } }

/* ---------- Hover sutil en tarjetas (solo con puntero) ---------- */
@media (hover: hover) and (pointer: fine) {
  .b-card:hover, .profile:hover, .p-card:hover, .value:hover, .c-card:hover, .post:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
  .b-lg:hover, .b-wide:hover, .p-card.featured:hover { box-shadow: var(--shadow); }
  .post:hover .post-img img { transform: scale(1.03); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-lg { grid-column: 1 / -1; grid-row: auto; }
  .b-sm, .b-wide { grid-column: span 1; }

  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-cta { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hero, .page-head, .split, .form-block, .informa { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
  .mock { max-width: 620px; margin-inline: auto; width: 100%; }
  .cc-people { left: -8px; } .cc-sectors { right: -8px; }
  .profiles { grid-template-columns: minmax(0, 1fr); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post:first-child:not(:only-child) { grid-template-columns: minmax(0, 1fr); }
  .post:first-child:not(:only-child) .post-img { min-height: 0; aspect-ratio: 16 / 9; }
  .tables { grid-template-columns: minmax(0, 1fr); }
  .head-photo { max-width: 620px; }
}
@media (max-width: 860px) {
  .nav { position: absolute; top: calc(100% - 6px); left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 2px; padding: 8px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); margin: 0;
    opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top right; pointer-events: none; visibility: hidden;
    transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s linear .2s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s; }
  .nav a { padding: 14px 16px; font-size: 1rem; }
  .menu-btn { display: grid; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 760px) {
  .brand img { width: 88px; }
  .header-cta { padding: 11px 16px; font-size: .86rem; }
  .shell { padding: 8px; }
  .shell-card { border-radius: 22px; }
  .promo-bar { padding: 8px 8px 0; }
  .hero-feats { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .hero-feats li { font-size: .8rem; gap: 8px; }
  .hero-feats svg { width: 24px; height: 24px; }
  .hero-search { padding-left: 14px; }
  .hero-search button { padding: 13px 18px; }
  .hero-alt { margin-left: 14px; }
  .mock { padding: 24px 0 36px; }
  .cc-people { left: 6px; padding: 10px 12px; }
  .cc-people .ic-soft { width: 34px; height: 34px; }
  .chip-card b { font-size: 1.1rem; }
  .cc-sectors { display: none; }
  .cc-mail { left: auto; right: 6px; padding: 10px 12px; }
  .bento, .prices, .values, .steps, .contact-cards, .posts { grid-template-columns: minmax(0, 1fr); }
  .b-sm, .b-wide { grid-column: auto; }
  .b-lg .b-img { margin: 8px -8px -28px auto; }
  .checks.cols { grid-template-columns: minmax(0, 1fr); }
  .visual .cc-a { left: 8px; bottom: 10px; }
  .visual .cc-b { right: 8px; top: 10px; }
  .photo-card .chip-card { position: static !important; display: inline-block; margin-top: 12px; }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form-block { padding: 16px; border-radius: 22px; }
  .form-block .split-copy { padding: 12px 8px 0; }
  .site-footer { padding: 0 8px 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wa-label { display: none; }
  .dtable td, .dtable th { padding-inline: 14px; }
}
@media (max-width: 400px) {
  .header-cta { padding: 10px 13px; font-size: .8rem; }
  .brand img { width: 76px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .in, .pop, .f-item, .f-empty { animation: none; }
  .drift-1, .drift-2, .drift-3, .wa-ic::after { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .marquee ul[aria-hidden] { display: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
