/* ════════════════════════════════════════════════════════
   AO DATA CLOUD — globals.css v3
   CSS centralizado. Importar en TODAS las páginas.
════════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── DARK THEME (default) ── */
:root {
  --bg:            #0f0f0f;
  --bg-raised:     #161618;
  --bg-card:       #1a1a1e;
  --bg-hover:      #202026;
  --border:        rgba(255,255,255,0.08);
  --border-hi:     rgba(255,255,255,0.14);
  --text:          #f0f0f2;
  --text-2:        #a0a0aa;
  --text-3:        #5a5a66;
  --accent:        #5e6ad2;
  --accent-2:      #7c84e0;
  --accent-glow:   rgba(94,106,210,0.2);
  --accent-bg:     rgba(94,106,210,0.1);
  --accent-border: rgba(94,106,210,0.25);
  --blue:          #5e6ad2;
  --blue-2:        #7c84e0;
  --blue-glow:     rgba(94,106,210,0.2);
  --blue-bg:       rgba(94,106,210,0.1);
  --blue-border:   rgba(94,106,210,0.25);
  --purple:        #8b5cf6;
  --teal:          #14b8a6;
  --green:         #22c55e;
  --green-bg:      rgba(34,197,94,0.1);
  --green-border:  rgba(34,197,94,0.2);
  --red:           #ef4444;
  --ms-blue:       #0078d4;
  --ms-bg:         rgba(0,120,212,0.07);
  --ms-border:     rgba(0,120,212,0.2);
  --nav-h:         48px;
  --section-py:    88px;
  --max-w:         1080px;
  --radius:        10px;
  --radius-lg:     14px;
}

/* ── WHITE THEME ── */
.theme-white {
  --bg:            #ffffff;
  --bg-raised:     #f7f7f9;
  --bg-card:       #ffffff;
  --bg-hover:      #f2f2f6;
  --border:        rgba(0,0,0,0.07);
  --border-hi:     rgba(0,0,0,0.13);
  --text:          #0f0f12;
  --text-2:        #4a4a58;
  --text-3:        #9090a0;
  --accent:        #5e6ad2;
  --accent-2:      #4a56c4;
  --accent-glow:   rgba(94,106,210,0.15);
  --accent-bg:     rgba(94,106,210,0.07);
  --accent-border: rgba(94,106,210,0.2);
  --blue:          #5e6ad2;
  --blue-2:        #4a56c4;
  --blue-bg:       rgba(94,106,210,0.07);
  --blue-border:   rgba(94,106,210,0.2);
  --green:         #16a34a;
  --green-bg:      rgba(22,163,74,0.07);
  --green-border:  rgba(22,163,74,0.2);
}

[data-theme="white"] {
  --bg:            #ffffff;
  --bg-raised:     #f7f7f9;
  --bg-card:       #ffffff;
  --bg-hover:      #f2f2f6;
  --border:        rgba(0,0,0,0.07);
  --border-hi:     rgba(0,0,0,0.13);
  --text:          #0f0f12;
  --text-2:        #4a4a58;
  --text-3:        #9090a0;
  --accent:        #5e6ad2;
  --accent-2:      #4a56c4;
  --accent-glow:   rgba(94,106,210,0.15);
  --accent-bg:     rgba(94,106,210,0.07);
  --accent-border: rgba(94,106,210,0.2);
  --blue-bg:       rgba(94,106,210,0.07);
  --blue-border:   rgba(94,106,210,0.2);
  --blue-2:        #4a56c4;
  --green:         #16a34a;
  --green-bg:      rgba(22,163,74,0.07);
  --green-border:  rgba(22,163,74,0.2);
  --purple:        #7c3aed;
  --teal:          #0f766e;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.6;
  padding-top: var(--nav-h);
}

/* ── TIPOGRAFÍA ── */
h1 { font-size: clamp(40px, 6vw, 70px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; color: var(--text); margin-bottom: 22px; }
h2.section-title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; color: var(--text); max-width: 580px; margin-bottom: 14px; }
h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: 13px; font-weight: 500; }

.section-eyebrow { font-size: 11.5px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.section-sub     { font-size: 15px; color: var(--text-2); max-width: 480px; line-height: 1.7; font-weight: 300; margin-bottom: 56px; }
.section         { padding: var(--section-py) 28px; }
.section-inner   { max-width: var(--max-w); margin: 0 auto; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 12px 28px; background: var(--bg-raised); border-bottom: 1px solid var(--border); }
.breadcrumb-inner { display: flex; align-items: center; gap: 6px; max-width: var(--max-w); margin: 0 auto; width: 100%; }
.bc-item  { font-size: 12px; color: var(--text-3); text-decoration: none; transition: color .15s; }
.bc-item:hover { color: var(--accent); }
.bc-sep   { font-size: 11px; color: var(--text-3); }
.bc-current { font-size: 12px; color: var(--text-2); font-weight: 500; }

/* ── CTAs ── */
.cta-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: white; padding: 11px 22px;
  border-radius: 7px; font-size: 14px; font-weight: 500;
  text-decoration: none; border: 1px solid var(--accent); transition: all .15s;
}
.cta-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 6px 24px var(--accent-glow); }

.cta-secondary {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-2); padding: 11px 22px; border-radius: 7px;
  font-size: 14px; text-decoration: none; border: 1px solid var(--border);
  background: rgba(255,255,255,0.02); transition: all .15s;
}
.cta-secondary:hover { color: var(--text); border-color: var(--border-hi); }

/* ── PARTNERS STRIP ── */
.partners { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 28px; background: var(--bg-raised); }
.partners-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 32px; }
.partners-label { font-size: 10.5px; font-weight: 600; color: var(--text-3); white-space: nowrap; letter-spacing: .07em; text-transform: uppercase; flex-shrink: 0; }
.partners-sep   { width: 1px; height: 18px; background: var(--border); flex-shrink: 0; }
.partners-logos { display: flex; gap: 0; align-items: center; flex: 1; }
.partner-logo   { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 6px 20px; border-right: 1px solid var(--border); transition: background .15s; }
.partner-logo:first-child { padding-left: 0; }
.partner-logo:last-child  { border-right: none; }
.partner-logo:hover { background: rgba(255,255,255,0.03); }
.pl-name { font-size: 14px; font-weight: 700; color: var(--text-2); letter-spacing: -0.03em; line-height: 1; transition: color .15s; white-space: nowrap; }
.partner-logo:hover .pl-name { color: var(--text); }
.pl-badge { font-size: 9px; font-weight: 700; letter-spacing: .06em; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; flex-shrink: 0; }
.pl-badge.gold  { background: rgba(234,179,8,0.1);  border: 1px solid rgba(234,179,8,0.2);  color: #fbbf24; }
.pl-badge.blue  { background: var(--blue-bg);  border: 1px solid var(--blue-border);  color: var(--blue-2); }
.pl-badge.green { background: var(--green-bg); border: 1px solid rgba(34,197,94,0.2);  color: #4ade80; }
.pl-badge.gray  { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-3); }

/* ── SERVICIOS TABS ── */
.services-section { padding: var(--section-py) 28px; background: var(--bg-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services-header  { max-width: var(--max-w); margin: 0 auto 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.services-link    { font-size: 13px; color: var(--accent); text-decoration: none; transition: color .15s; flex-shrink: 0; }
.services-link:hover { color: var(--accent-2); }

.services-tabs { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 260px 1fr; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; min-height: 420px; }

.stabs-nav { display: flex; flex-direction: column; border-right: 1px solid var(--border); background: var(--bg-card); }
.stab-btn  { display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; border: none; background: transparent; text-align: left; font-family: inherit; border-bottom: 1px solid var(--border); transition: background .15s; position: relative; width: 100%; }
.stab-btn:last-child { border-bottom: none; }
.stab-btn:hover  { background: var(--bg-hover); }
.stab-btn.active { background: var(--bg-hover); }
.stab-btn.active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }

.stab-icon     { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.stab-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--text-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s; }
.stab-btn.active .stab-icon svg { stroke: var(--accent); }
.stab-btn:hover  .stab-icon svg { stroke: var(--text-2); }

.stab-label-wrap { flex: 1; min-width: 0; }
.stab-num   { font-size: 10px; font-weight: 700; color: var(--text-3); letter-spacing: .06em; margin-bottom: 2px; }
.stab-name  { font-size: 13.5px; font-weight: 600; color: var(--text-2); letter-spacing: -0.02em; transition: color .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stab-btn.active .stab-name { color: var(--text); }
.stab-btn:hover  .stab-name { color: var(--text); }
.stab-count { font-size: 10px; color: var(--text-3); background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 3px; padding: 1px 6px; flex-shrink: 0; }

.stabs-panel             { background: var(--bg); display: flex; flex-direction: column; }
.stab-content            { display: none; flex-direction: column; height: 100%; padding: 32px; }
.stab-content.active     { display: flex; animation: tabIn .25s ease both; }
@keyframes tabIn         { from { opacity:0; transform:translateX(10px); } to { opacity:1; transform:translateX(0); } }

.stab-content-top        { margin-bottom: 28px; }
.stab-content-eyebrow    { font-size: 10.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
h3.stab-title            { font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: -0.03em; margin-bottom: 8px; }
.stab-desc               { font-size: 13.5px; color: var(--text-2); line-height: 1.7; font-weight: 300; max-width: 480px; }

.stab-items              { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; flex: 1; }
.stab-items.cols-2       { grid-template-columns: repeat(2,1fr); }
.stab-items.cols-4       { grid-template-columns: repeat(4,1fr); }

.stab-item               { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 16px; display: flex; align-items: flex-start; gap: 12px; text-decoration: none; transition: border-color .15s, background .15s; }
.stab-item:hover         { border-color: var(--accent-border); background: var(--bg-hover); }
.stab-item:hover .stab-item-name { color: var(--text); }
.stab-item-icon          { width: 32px; height: 32px; border-radius: 7px; flex-shrink: 0; background: var(--blue-bg); border: 1px solid var(--blue-border); display: flex; align-items: center; justify-content: center; }
.stab-item-icon svg      { width: 14px; height: 14px; stroke: var(--blue-2); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.stab-item-body          { min-width: 0; }
.stab-item-name          { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: -0.01em; margin-bottom: 3px; transition: color .15s; }
.stab-item-desc          { font-size: 11.5px; color: var(--text-3); line-height: 1.5; }

.stab-cta-row  { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.stab-cta-note { font-size: 12px; color: var(--text-3); }
.stab-cta-btn  { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 500; background: var(--accent); color: white; text-decoration: none; border: 1px solid var(--accent); transition: all .15s; }
.stab-cta-btn:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 4px 12px var(--accent-glow); }

/* ── DIFERENCIADORES ── */
.diff-section { padding: var(--section-py) 28px; }
.diff-grid    { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 48px; }
.diff-card    { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: border-color .2s; position: relative; overflow: hidden; }
.diff-card:hover { border-color: var(--border-hi); }
.diff-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity .3s; }
.diff-card:hover::before { opacity: 1; }
.diff-icon       { font-size: 24px; margin-bottom: 16px; }
h3.diff-title    { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; margin-bottom: 8px; }
.diff-desc       { font-size: 13.5px; color: var(--text-2); line-height: 1.65; font-weight: 300; }
.diff-metric     { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.dm-val          { font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: -0.03em; }
.dm-arrow        { color: var(--green); font-size: 12px; }

/* ── CASOS DE ÉXITO PREVIEW ── */
.cases-preview       { padding: var(--section-py) 28px; background: var(--bg-raised); border-top: 1px solid var(--border); }
.cases-header        { max-width: var(--max-w); margin: 0 auto 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cases-grid-preview  { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }

.case-preview-card   { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-decoration: none; display: block; transition: border-color .2s; position: relative; overflow: hidden; }
.case-preview-card:hover { border-color: var(--border-hi); }
.case-preview-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity .3s; }
.case-preview-card:hover::before { opacity: 1; }
.case-preview-card:hover .card-arr { opacity: 1; transform: translate(2px,-2px); }

.cpc-top     { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.cpc-logo    { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border: 1px solid var(--border); }
.card-arr    { color: var(--text-3); font-size: 14px; opacity: 0; transition: all .2s; }
.cpc-sector  { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 5px; }
.cpc-name    { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; margin-bottom: 10px; }
.cpc-result  { font-size: 13px; color: var(--text-2); line-height: 1.55; font-weight: 300; margin-bottom: 18px; }
.cpc-metrics { display: flex; gap: 16px; }
.cpm-val     { font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -0.03em; line-height: 1; }
.cpm-label   { font-size: 10.5px; color: var(--text-3); margin-top: 2px; }

/* ── FAQ ── */
.faq-section { padding: var(--section-py) 28px; border-top: 1px solid var(--border); }
.faq-inner   { max-width: 760px; margin: 0 auto; }
.faq-list    { display: flex; flex-direction: column; gap: 2px; margin-top: 48px; }
.faq-item    { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--accent-border); }
.faq-q       { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; background: var(--bg-card); transition: background .15s; gap: 16px; user-select: none; width: 100%; border: none; font-family: inherit; text-align: left; }
.faq-q:hover { background: var(--bg-hover); }
.faq-q-text  { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; }
.faq-chevron { color: var(--text-3); font-size: 11px; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a       { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(0.4,0,0.2,1); background: var(--bg-card); }
.faq-item.open .faq-a { max-height: 300px; border-top: 1px solid var(--border); }
.faq-a-inner { padding: 16px 20px; font-size: 13.5px; color: var(--text-2); line-height: 1.7; font-weight: 300; }
.faq-a-inner strong { color: var(--text); font-weight: 500; }

/* ── CTA FINAL ── */
.cta-section { padding: 0 28px 88px; }
.cta-band    { max-width: var(--max-w); margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); padding: 64px 56px; display: flex; align-items: center; justify-content: space-between; gap: 48px; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 500px; height: 300px; background: radial-gradient(ellipse, rgba(94,106,210,0.12) 0%, transparent 70%); pointer-events: none; }
.cta-title   { font-size: clamp(24px,3vw,38px); font-weight: 600; letter-spacing: -0.04em; color: var(--text); line-height: 1.1; margin-bottom: 10px; position: relative; }
.cta-sub     { font-size: 15px; color: var(--text-2); line-height: 1.65; max-width: 420px; font-weight: 300; position: relative; }
.cta-form    { display: flex; flex-direction: column; gap: 9px; min-width: 290px; position: relative; }
.cta-inp     { padding: 10px 14px; border-radius: 7px; border: 1px solid var(--border); background: var(--bg-raised); color: var(--text); font-size: 13.5px; font-family: inherit; outline: none; transition: border-color .15s; }
.cta-inp:focus { border-color: rgba(94,106,210,0.5); }
.cta-inp::placeholder { color: var(--text-3); }
.cta-submit  { padding: 11px; border-radius: 7px; border: none; background: var(--accent); color: white; font-size: 14px; font-weight: 500; font-family: inherit; cursor: pointer; transition: background .15s; }
.cta-submit:hover { background: var(--accent-2); }
.cta-note    { font-size: 11px; color: var(--text-3); text-align: center; }

/* ── FOOTER ── */
footer           { border-top: 1px solid var(--border); background: var(--bg-raised); }
.footer-main     { max-width: var(--max-w); margin: 0 auto; padding: 48px 28px 32px; display: flex; justify-content: space-between; gap: 48px; border-bottom: 1px solid var(--border); }
.footer-brand    { max-width: 220px; }
.footer-logo     { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.footer-logo-icon { width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), var(--purple)); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: white; flex-shrink: 0; }
.footer-tagline  { font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.footer-status   { display: flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12px; color: var(--green); }
.footer-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 2s infinite; }
.footer-nav      { display: flex; gap: 56px; }
.footer-col-title { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.footer-col ul   { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a    { font-size: 13px; color: var(--text-3); text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: var(--text-2); }
.footer-bottom   { max-width: var(--max-w); margin: 0 auto; padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-copy     { font-size: 12px; color: var(--text-3); }
.footer-legal    { display: flex; gap: 20px; }
.footer-legal a  { font-size: 12px; color: var(--text-3); text-decoration: none; }
.footer-legal a:hover { color: var(--text-2); }

/* ── ANIMACIONES ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes blink  { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ── SCROLL REVEAL ── */
.reveal         { opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.d1 { transition-delay:.1s }
.d2 { transition-delay:.2s }
.d3 { transition-delay:.25s }
.d4 { transition-delay:.3s }

/* ════════════════════════════════════
   RESPONSIVE — GLOBALS
   Breakpoints: 1024 · 768 · 480
════════════════════════════════════ */

@media (max-width: 1024px) {
  :root { --section-py: 64px; }

  /* Partners logos wrap */
  .partners-logos { flex-wrap: wrap; }

  /* Servicios tabs */
  .services-tabs { grid-template-columns: 200px 1fr; }
  .stab-name { font-size: 12.5px; }

  /* Diff grid 2 cols */
  .diff-grid { grid-template-columns: repeat(2, 1fr); }

  /* Cases preview 2 cols */
  .cases-grid-preview { grid-template-columns: repeat(2, 1fr); }

  /* CTA band */
  .cta-band { padding: 48px 40px; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; --max-w: 100%; }

  /* Tipografía */
  h2.section-title { font-size: clamp(22px, 5vw, 32px); }
  .section-sub { font-size: 14px; margin-bottom: 36px; }

  /* Sections */
  .section { padding: var(--section-py) 20px; }
  .services-section,
  .diff-section,
  .cases-preview,
  .faq-section { padding-left: 20px; padding-right: 20px; }

  /* Services header */
  .services-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; }
  .cases-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; }

  /* Diff grid */
  .diff-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .diff-card { padding: 20px 18px; }

  /* Cases preview */
  .cases-grid-preview { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-inner { max-width: 100%; }

  /* CTA band */
  .cta-band { flex-direction: column; padding: 40px 28px; gap: 28px; }
  .cta-form { min-width: 0; width: 100%; }
  .cta-title { font-size: clamp(20px, 4vw, 28px); }

  /* Partners */
  .partners-inner { flex-wrap: wrap; gap: 12px; }
  .partners-logos { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .partner-logo { flex-shrink: 0; }

  /* Breadcrumb */
  .breadcrumb { padding: 10px 20px; }
}

@media (max-width: 480px) {
  :root { --section-py: 48px; }

  .section { padding: var(--section-py) 16px; }
  .services-section,
  .diff-section,
  .cases-preview,
  .faq-section,
  .cta-section { padding-left: 16px; padding-right: 16px; }

  /* Tipografía */
  h2.section-title { font-size: clamp(20px, 6vw, 28px); }

  /* Diff — 1 columna */
  .diff-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-band { padding: 28px 16px; }
  .cta-section { padding-bottom: 56px; }

  /* Partners */
  .partners { padding: 16px; }
  .partners-label,
  .partners-sep { display: none; }

  /* FAQ */
  .faq-q { padding: 14px 16px; }
  .faq-q-text { font-size: 13.5px; }
  .faq-a-inner { padding: 14px 16px; }
}

/* ── CTA CHECKBOXES CUSTOM ── */
.cta-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0;
}
.cta-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.cta-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cta-check-box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 4px;
  border: 1px solid var(--border-hi);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.cta-check-box svg {
  width: 10px;
  height: 10px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .15s, transform .15s;
}
.cta-check input:checked ~ .cta-check-box {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.cta-check input:checked ~ .cta-check-box svg {
  opacity: 1;
  transform: scale(1);
}
.cta-check:hover .cta-check-box {
  border-color: var(--accent-border);
  background: var(--accent-bg);
}
.cta-check input:focus-visible ~ .cta-check-box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cta-check-text {
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.55;
  font-weight: 300;
  transition: color .15s;
}
.cta-check:hover .cta-check-text { color: var(--text-2); }
.cta-check input:checked ~ .cta-check-box + .cta-check-text { color: var(--text-2); }
.cta-check-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(94,106,210,0.4);
  transition: color .15s, text-decoration-color .15s;
}
.cta-check-text a:hover {
  color: var(--accent-2);
  text-decoration-color: var(--accent-2);
}

/* ── DIFF ICONS SVG ── */
.diff-icon { margin-bottom: 16px; }
.diff-icon .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-bg); border: 1px solid var(--accent-border);
}
.diff-icon .ico svg {
  width: 20px; height: 20px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ── SVG ICONS SISTEMA (páginas de servicio) ── */
.ico { display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.ico svg { display:block; }
.mg-scope-icon .ico svg,
.mg-tipo-icon .ico svg,
.mg-ambito-icon .ico svg,
.mg-prob-icon .ico svg,
.mg-role-icon .ico svg,
.mg-profile-icon .ico svg {
  fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.mg-prob-icon .ico svg,
.mg-profile-icon .ico svg { width:22px; height:22px; stroke: var(--accent); }
.mg-tipo-icon .ico svg    { width:16px; height:16px; stroke: var(--accent); }
.mg-ambito-icon .ico svg,
.mg-scope-icon .ico svg   { width:16px; height:16px; stroke: var(--text-2); }
.mg-role-icon .ico svg    { width:20px; height:20px; }
.mg-role-card.sm  .mg-role-icon .ico svg { stroke: #b45309; }
.mg-role-card.tam .mg-role-icon .ico svg { stroke: var(--accent); }

/* ── BLOG: enlaces en artículos ── */
.art-body p a:not(.cta-primary):not(.cta-secondary),
.art-body li a:not(.cta-primary):not(.cta-secondary),
.art-intro a,
.art-conclusion p a{color:#93a0ff;font-weight:500;text-decoration:none;border-bottom:1px solid rgba(147,160,255,0.3);transition:color .15s,border-color .15s}
.art-body p a:not(.cta-primary):not(.cta-secondary):hover,
.art-body li a:not(.cta-primary):not(.cta-secondary):hover,
.art-intro a:hover,
.art-conclusion p a:hover{color:#b3bfff;border-color:rgba(147,160,255,0.5)}

/* ── BLOG RELATED SECTION (servicios) ── */
.svc-blog-section { padding: var(--section-py) 28px; background: var(--bg); }
.svc-blog-inner { max-width: var(--max-w); margin: 0 auto; }

/* ── BLOG CAROUSEL (servicios) ── */
.blog-carousel { position: relative; margin-top: 48px; }
.blog-carousel-track {
  display: flex; gap: 1px; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow-y: hidden;
}
.blog-carousel-track::-webkit-scrollbar { display: none; }
.blog-carousel-card {
  min-width: 300px; max-width: 300px; background: var(--bg-card); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit;
  transition: background .2s; flex-shrink: 0;
}
.blog-carousel-card:hover { background: var(--bg-hover); }
.blog-carousel-visual { height: 120px; position: relative; overflow: hidden; border-radius: 6px; margin-bottom: 4px; }
.bcv-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2; }
.bcv-glow { position: absolute; inset: 0; z-index: 1; }
.bcv-label {
  position: absolute; left: -4px; top: 50%; transform: translateY(-50%) rotate(-8deg);
  font-size: 48px; font-weight: 700; letter-spacing: -0.06em; line-height: 1;
  pointer-events: none; z-index: 1; white-space: nowrap; user-select: none;
}
.blog-carousel-cat {
  font-size: 10.5px; background: var(--accent-bg); border: 1px solid var(--accent-border);
  padding: 2px 8px; border-radius: 100px; width: fit-content; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
}
.blog-carousel-title { font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; line-height: 1.35; }
.blog-carousel-desc { font-size: 12px; color: var(--text-2); line-height: 1.6; font-weight: 300; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-carousel-meta { font-size: 10.5px; color: var(--text-3); }
.blog-carousel-nav { display: flex; gap: 8px; margin-top: 16px; justify-content: flex-end; }
.blog-carousel-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; color: var(--text-2);
}
.blog-carousel-btn:hover { border-color: var(--accent-border); background: var(--accent-bg); color: var(--accent); }
.blog-carousel-btn:disabled { opacity: .3; cursor: default; }
.blog-carousel-btn:disabled:hover { border-color: var(--border); background: var(--bg-card); color: var(--text-2); }
@media (max-width: 768px) { .blog-carousel-card { min-width: 260px; max-width: 260px; } }