.hero-bg {
      position: absolute; inset: 0;
      background: linear-gradient(150deg, #0e0e0e 0%, #141414 40%, #0a0a0a 100%);
    }

.hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,.5) 45%, rgba(10,10,10,.08) 100%);
    }

.hero-texture {
      position: absolute; inset: 0; pointer-events: none;
      background-image:
        repeating-linear-gradient(45deg, transparent 0, transparent 28px, rgba(255,255,255,.013) 28px, rgba(255,255,255,.013) 29px),
        repeating-linear-gradient(-45deg, transparent 0, transparent 52px, rgba(255,255,255,.006) 52px, rgba(255,255,255,.006) 53px);
    }

.hero-base-line {
      position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.12) 30%, rgba(255,255,255,.06) 70%, transparent 100%);
    }

.hero-ph {
      position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
      border: 1px dashed rgba(255,255,255,.08); border-radius: 4px;
      padding: 8px 16px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
      color: rgba(255,255,255,.12); white-space: nowrap; pointer-events: none;
    }

.bc-sep { color: rgba(255,255,255,.2); }

.bc-cur { color: var(--grey-l); font-weight: 500; }

.eyebrow {
      display: flex; align-items: center; gap: 12px;
      font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
      text-transform: uppercase; color: var(--grey-l); margin-bottom: 24px;
    }

.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--grey); }

.hero h1 {
      font-size: clamp(48px, 7.5vw, 108px);
      font-weight: 900; line-height: .92; letter-spacing: -3.5px;
      color: #f0f0f0; margin-bottom: 32px;
    }

.hero h1 .thin  { font-weight: 300; color: rgba(240,240,240,.28); display: block; }

.hero-sub {
      font-size: clamp(14px, 1.4vw, 17px); color: var(--muted);
      line-height: 1.7; max-width: 520px; margin-bottom: 48px;
    }

.btn-grey {
      display: inline-flex; align-items: center; gap: 9px;
      background: #f0f0f0; color: #0a0a0a;
      font-size: 14px; font-weight: 800; padding: 16px 30px; border-radius: 5px;
      transition: opacity .2s, transform .2s, box-shadow .2s;
    }

.btn-grey:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(240,240,240,.1); }

.btn-grey svg { width: 14px; height: 14px; }

.scroll-line::after {
      content: ''; position: absolute; left: -100%; top: 0;
      width: 100%; height: 100%; background: var(--grey);
      animation: run 2.2s ease-in-out infinite;
    }

/* ══ STATS RÁPIDOS ══ */
    .s-stats {
      background: var(--surface);
      border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    }

.stats-row {
      display: grid; grid-template-columns: repeat(4,1fr);
      max-width: 1400px; margin: 0 auto;
    }

.stat-cell {
      padding: 52px 40px; border-right: 1px solid var(--line);
      position: relative; overflow: hidden; transition: background .3s;
    }

.stat-cell:hover { background: rgba(255,255,255,.02); }

.stat-cell:last-child { border-right: none; }

.stat-cell::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
      transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
    }

.stat-cell:hover::before { transform: scaleX(1); }

.stat-n {
      font-size: clamp(44px,5vw,68px); font-weight: 900;
      letter-spacing: -3px; line-height: 1; color: #f0f0f0; margin-bottom: 10px;
    }

.stat-n mark { background: none; color: var(--grey-l); }

.stat-l { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ══ SERVICIOS PRINCIPALES ══ */
    .s-servicios {
      padding: 100px 52px;
      max-width: 1400px; margin: 0 auto;
    }

.label-line {
      display: flex; align-items: center; gap: 12px;
      font-size: 10px; font-weight: 700; letter-spacing: 3px;
      text-transform: uppercase; color: var(--grey-l); margin-bottom: 18px;
    }

.label-line::before { content: ''; width: 24px; height: 1px; background: var(--grey); }

.s-header {
      display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
      align-items: end; margin-bottom: 72px;
    }

.s-desc { font-size: 15px; color: var(--muted); line-height: 1.75; align-self: end; }

/* Grid servicios */
    .serv-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 2px;
      background: var(--line);
    }

.serv-card {
      background: #0a0a0a; padding: 48px 44px;
      display: flex; flex-direction: column; gap: 18px;
      position: relative; overflow: hidden; transition: background .3s;
    }

.serv-card:hover { background: #0e0e0e; }

.serv-card::before {
      content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
      background: linear-gradient(to bottom, rgba(255,255,255,.35), rgba(255,255,255,.05));
      transform: scaleY(0); transform-origin: top;
      transition: transform .45s cubic-bezier(.16,1,.3,1);
    }

.serv-card:hover::before { transform: scaleY(1); }

.serv-card.featured {
      grid-column: span 2;
      flex-direction: row; align-items: flex-start; gap: 60px;
    }

.serv-card.featured .serv-body { flex: 1; }

.serv-card.featured .serv-detail { flex: 1; }

.serv-num {
      font-size: 11px; font-weight: 700; letter-spacing: 2px;
      text-transform: uppercase; color: rgba(255,255,255,.18);
    }

.serv-icon {
      width: 52px; height: 52px;
      border: 1px solid rgba(255,255,255,.1); border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      background: rgba(255,255,255,.02);
      transition: border-color .3s, background .3s;
    }

.serv-card:hover .serv-icon { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }

.serv-icon svg { width: 22px; height: 22px; color: rgba(240,240,240,.35); transition: color .3s; }

.serv-card:hover .serv-icon svg { color: rgba(240,240,240,.75); }

.serv-name {
      font-size: clamp(20px,2vw,28px); font-weight: 800;
      letter-spacing: -.5px; color: #f0f0f0; line-height: 1.05;
    }

.serv-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

.serv-items { display: flex; flex-direction: column; gap: 0; margin-top: 4px; }

.serv-item {
      display: flex; align-items: center; gap: 10px; font-size: 13px;
      color: var(--soft); padding: 10px 0; border-bottom: 1px solid var(--line);
    }

.serv-item:last-child { border-bottom: none; }

.si-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--grey); flex-shrink: 0; }

/* Cards pequeñas */
    .serv-card.small .serv-name { font-size: clamp(16px,1.6vw,20px); }

.serv-card.small .serv-icon { width: 44px; height: 44px; }

/* ══ CÓMO TRABAJAMOS ══ */
    .s-como {
      background: var(--surface);
      border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
      padding: 100px 52px;
    }

.s-como-inner { max-width: 1400px; margin: 0 auto; }

.como-layout {
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
      align-items: start; margin-top: 72px;
    }

.timeline { display: flex; flex-direction: column; gap: 0; }

.tl-item {
      display: flex; gap: 24px; padding: 28px 0;
      border-bottom: 1px solid var(--line);
    }

.tl-item:last-child { border-bottom: none; }

.tl-left {
      display: flex; flex-direction: column; align-items: center; gap: 0;
      flex-shrink: 0;
    }

.tl-num {
      width: 40px; height: 40px; border-radius: 50%;
      background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; font-weight: 800; color: #f0f0f0;
      flex-shrink: 0;
    }

.tl-line {
      width: 1px; flex: 1; background: var(--line);
      margin: 6px 0; min-height: 20px;
    }

.tl-item:last-child .tl-line { display: none; }

.tl-body { padding-top: 8px; }

.tl-title { font-size: 16px; font-weight: 700; color: #f0f0f0; margin-bottom: 6px; letter-spacing: -.2px; }

.tl-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

.compromisos { display: flex; flex-direction: column; gap: 0; }

.compromiso {
      display: grid; grid-template-columns: auto 1fr;
      gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line);
      align-items: flex-start;
    }

.compromiso:last-child { border-bottom: none; }

.comp-icon {
      width: 44px; height: 44px; flex-shrink: 0;
      background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      transition: border-color .2s, background .2s;
    }

.compromiso:hover .comp-icon { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }

.comp-icon svg { width: 18px; height: 18px; color: rgba(240,240,240,.5); }

.comp-body strong { font-size: 15px; font-weight: 700; color: #f0f0f0; display: block; margin-bottom: 4px; }

.comp-body p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ══ PARA QUIÉN ══ */
    .s-perfiles {
      padding: 100px 52px;
      max-width: 1400px; margin: 0 auto;
    }

.perfiles-grid {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 2px; background: var(--line); margin-top: 72px;
    }

.perfil-card {
      background: #0a0a0a; padding: 48px 40px;
      display: flex; flex-direction: column; gap: 16px;
      position: relative; overflow: hidden; transition: background .25s;
    }

.perfil-card:hover { background: #0e0e0e; }

.perfil-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
      transform: scaleX(0); transform-origin: left;
      transition: transform .45s cubic-bezier(.16,1,.3,1);
    }

.perfil-card:hover::before { transform: scaleX(1); }

.perfil-img {
      width: 100%; aspect-ratio: 16/9;
      border: 1px dashed rgba(255,255,255,.07); border-radius: 4px;
      background: rgba(255,255,255,.01);
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    }

.perfil-img-ph { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.12); }

.perfil-img-icon {
      width: 28px; height: 28px; border: 1px dashed rgba(255,255,255,.1); border-radius: 3px;
      display: flex; align-items: center; justify-content: center;
    }

.perfil-img-icon svg { color: rgba(255,255,255,.15); }

.perfil-tag { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--grey-l); }

.perfil-title { font-size: clamp(18px,1.8vw,24px); font-weight: 800; letter-spacing: -.5px; color: #f0f0f0; line-height: 1.1; }

.perfil-desc { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; }

.perfil-items { display: flex; flex-direction: column; gap: 0; margin-top: 4px; }

.perfil-item {
      display: flex; align-items: center; gap: 9px; font-size: 12px;
      color: var(--soft); padding: 8px 0; border-bottom: 1px solid var(--line);
    }

.perfil-item:last-child { border-bottom: none; }

.pi-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--grey); flex-shrink: 0; }

/* ══ MANTENIMIENTO — planes ══ */
    .s-mant {
      background: var(--surface);
      border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
      padding: 100px 52px;
    }

.s-mant-inner { max-width: 1400px; margin: 0 auto; }

.planes-grid {
      display: grid; grid-template-columns: 1fr 1fr 1fr;
      gap: 2px; background: var(--line); margin-top: 72px;
    }

.plan-card {
      background: #0a0a0a; padding: 48px 40px;
      display: flex; flex-direction: column; gap: 0;
      position: relative;
    }

.plan-card.featured {
      background: #0f0f0f; border: 1px solid rgba(255,255,255,.1);
      box-shadow: 0 0 60px rgba(255,255,255,.025);
    }

.plan-card.featured::before {
      content: 'Más solicitado';
      position: absolute; top: -1px; left: 40px;
      background: #f0f0f0; color: #0a0a0a;
      font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
      text-transform: uppercase; padding: 4px 12px; border-radius: 0 0 4px 4px;
      font-family: inherit;
    }

.plan-name { font-size: 13px; font-weight: 700; color: var(--soft); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }

.plan-title { font-size: clamp(22px,2.5vw,32px); font-weight: 900; letter-spacing: -1px; color: #f0f0f0; margin-bottom: 6px; }

.plan-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 32px; }

.plan-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); flex: 1; }

.plan-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px;
    }

.plan-row:last-child { border-bottom: none; }

.pr-l { color: var(--muted); }

.pr-v { font-weight: 600; color: #f0f0f0; }

.pr-yes { color: var(--green); font-weight: 700; }

.pr-no { color: var(--line2); }

.plan-cta {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      margin-top: 28px; padding: 14px;
      border: 1px solid var(--line2); border-radius: 5px;
      font-size: 13px; font-weight: 600; color: var(--soft);
      transition: border-color .2s, color .2s;
      text-align: center;
    }

.plan-cta:hover { border-color: rgba(255,255,255,.25); color: #f0f0f0; }

.plan-card.featured .plan-cta {
      background: #f0f0f0; color: #0a0a0a; border-color: transparent; font-weight: 800;
    }

.plan-card.featured .plan-cta:hover { opacity: .88; box-shadow: 0 4px 18px rgba(240,240,240,.12); }

/* ══ CONTACTO RÁPIDO ══ */
    .s-contacto {
      padding: 100px 52px;
      max-width: 1400px; margin: 0 auto;
    }

.contacto-layout {
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
      align-items: start; margin-top: 72px;
    }

.contacto-left h2 {
      font-size: clamp(32px,4vw,52px); font-weight: 900;
      letter-spacing: -2px; line-height: .95; color: #f0f0f0; margin-bottom: 20px;
    }

.contacto-left h2 em { font-style: normal; color: var(--grey-l); }

.contacto-left p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 36px; }

.contact-channels { display: flex; flex-direction: column; gap: 2px; background: var(--line); }

.channel {
      background: #0a0a0a; padding: 24px 28px;
      display: flex; align-items: center; gap: 18px;
      transition: background .2s;
    }

.channel:hover { background: #0e0e0e; }

.channel-icon {
      width: 44px; height: 44px; flex-shrink: 0;
      background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      transition: border-color .2s, background .2s;
    }

.channel:hover .channel-icon { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }

.channel-icon svg { width: 18px; height: 18px; color: rgba(240,240,240,.5); }

.channel:hover .channel-icon svg { color: rgba(240,240,240,.8); }

.channel-label { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .5px; margin-bottom: 2px; }

.channel-val { font-size: 16px; font-weight: 700; color: #f0f0f0; }

.channel-val a { transition: color .2s; }

.channel-val a:hover { color: var(--grey-l); }

.quick-form { display: flex; flex-direction: column; gap: 12px; }

.quick-form-title { font-size: 18px; font-weight: 800; color: #f0f0f0; letter-spacing: -.3px; margin-bottom: 4px; }

.quick-form-sub { font-size: 13px; color: var(--muted); margin-bottom: 8px; line-height: 1.5; }

.field input, .field select, .field textarea {
      background: #0a0a0a; border: 1px solid var(--line2); border-radius: 6px;
      padding: 12px 14px; font-size: 14px; color: #f0f0f0; font-family: inherit;
      transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
    }

.field input::placeholder, .field textarea::placeholder { color: #333; }

.field input:focus, .field select:focus, .field textarea:focus {
      outline: none; border-color: rgba(255,255,255,.3);
      box-shadow: 0 0 0 3px rgba(255,255,255,.04);
    }

.field textarea { resize: vertical; min-height: 90px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-submit {
      background: #f0f0f0; color: #0a0a0a;
      font-size: 14px; font-weight: 800; padding: 15px;
      border-radius: 6px; border: none; cursor: pointer; width: 100%;
      font-family: inherit; transition: opacity .2s, box-shadow .2s, transform .2s; margin-top: 4px;
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }

.form-submit:hover { opacity: .9; box-shadow: 0 6px 24px rgba(240,240,240,.12); transform: translateY(-1px); }

.form-legal { font-size: 11px; color: #333; text-align: center; line-height: 1.5; }

.form-legal a { color: #555; text-decoration: underline; }

.form-success { display: none; text-align: center; padding: 40px 20px; }

.form-success.show { display: block; }

.success-icon {
      width: 52px; height: 52px; background: rgba(255,255,255,.05); border: 1px solid var(--line2);
      border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
    }

.success-icon svg { width: 22px; height: 22px; color: var(--green); }

.success-title { font-size: 18px; font-weight: 800; color: #f0f0f0; margin-bottom: 8px; }

.success-sub { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ══ REVEAL ══ */
    /* ══ RESPONSIVE ══ */
    @media (max-width: 1100px) {
      .serv-card.featured { flex-direction: column; grid-column: span 2; gap: 24px; }
      .como-layout { grid-template-columns: 1fr; gap: 48px; }
      .s-header { grid-template-columns: 1fr; }
      .planes-grid { grid-template-columns: 1fr; }
      .contacto-layout { grid-template-columns: 1fr; gap: 48px; }
    }

@media (max-width: 900px) {
      .nav { padding: 0 24px; }
      .nav-links { display: none; }
      .ham { display: flex; }
      .hero { padding: 0 24px 64px; }
      .breadcrumb { left: 24px; }
      .scroll-cue { right: 24px; }
      .stats-row { grid-template-columns: 1fr 1fr; }
      .stat-cell { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 24px; }
      .stat-cell:nth-child(odd) { border-right: 1px solid var(--line); }
      .stat-cell:nth-child(3), .stat-cell:last-child { border-bottom: none; }
      .s-servicios { padding: 80px 24px; }
      .serv-layout { grid-template-columns: 1fr; }
      .serv-card.featured { grid-column: span 1; }
      .s-como { padding: 80px 24px; }
      .s-perfiles { padding: 80px 24px; }
      .perfiles-grid { grid-template-columns: 1fr 1fr; }
      .s-mant { padding: 80px 24px; }
      .planes-grid { grid-template-columns: 1fr; }
      .s-contacto { padding: 80px 24px; }
    }

@media (max-width: 600px) {
      .perfiles-grid { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
    }


/* Miga de pan absoluta sobre el hero a sangre. Devuelta aqui desde
   shared.css: es especifica de este tipo de hero, no compartida. */
.breadcrumb {
  position: absolute;
  top: 24px;
  left: 52px;
}
