/* ============================================================
   IUNOV — Experiencia en celular
   1. Las fotos nunca van detrás del texto: tienen su propio bloque.
   2. Sin botones de evaluación repetidos (el acceso flotante los cubre).
   3. Acceso flotante desplegable, con el estilo de la barra de escritorio.
   4. Publicaciones en tarjetas compactas.
   5. Secciones condensadas.
   ============================================================ */

/* ---------- 3. Acceso flotante desplegable (celular y tableta) ---------- */
.qr-toggle{ display:none; }
@media (max-width:1179px){
  .mobile-bar,.wa-float{ display:none !important; }
  body{ padding-bottom:0 !important; }

  .quick-rail{
    display:flex; flex-direction:column; align-items:flex-end; gap:8px;
    position:fixed; right:16px; bottom:16px; top:auto; transform:none; z-index:950;
    background:transparent; box-shadow:none; opacity:0; animation:fade-up .8s var(--ease) 1.2s forwards;
  }
  .quick-rail::before{ display:none; }
  .quick-rail a{
    display:flex; align-items:center; gap:12px; width:auto; min-width:262px; height:50px; padding:0 18px 0 16px;
    background:#fff; color:var(--navy); box-shadow:0 14px 30px -14px rgba(6,22,51,.55);
    border:0 !important; border-left:3px solid var(--c, var(--yellow)) !important;
    opacity:0; visibility:hidden; transform:translateY(10px);
    transition:opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .quick-rail .qr-wa{ --c:#25D366; color:var(--navy); }
  .quick-rail .qr-eval{ --c:var(--yellow); }
  .quick-rail .qr-mail{ --c:var(--red); }
  .quick-rail .qr-pub{ display:none; }
  .quick-rail a svg{ width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linejoin:round; stroke-linecap:round; }
  .quick-rail .qr-wa svg{ color:#1FA855; width:22px; height:22px; }
  .quick-rail a span{
    position:static; transform:none; opacity:1; padding:0; background:none; color:var(--navy);
    font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; white-space:nowrap;
  }
  .quick-rail a span::after{ display:none; }
  .quick-rail .qr-mail span{ text-transform:none; letter-spacing:.02em; font-size:.85rem; }
  .quick-rail.is-open a{ opacity:1; visibility:visible; transform:none; transition-delay:0s; }
  .quick-rail.is-open a:nth-child(3){ transition-delay:.04s; }
  .quick-rail.is-open a:nth-child(2){ transition-delay:.08s; }

  .qr-toggle{
    display:grid; place-items:center; position:relative; width:58px; height:58px; padding:0; cursor:pointer;
    border:0; background:var(--navy); color:#fff; box-shadow:0 16px 32px -12px rgba(6,22,51,.6);
  }
  .qr-toggle::before{ content:""; position:absolute; left:0; right:0; top:0; height:4px;
    background:linear-gradient(90deg,var(--yellow) 0 33.33%,#fff 33.33% 66.66%,var(--red) 66.66%); }
  .qr-toggle svg{ width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linejoin:round; stroke-linecap:round; transition:transform .3s var(--ease), opacity .2s; }
  .qr-toggle .qt-close{ position:absolute; opacity:0; transform:rotate(-90deg); }
  .quick-rail.is-open .qr-toggle .qt-open{ opacity:0; transform:rotate(90deg); }
  .quick-rail.is-open .qr-toggle .qt-close{ opacity:1; transform:none; }
  .quick-rail.is-open .qr-toggle{ background:var(--navy-d); }
}

@media (max-width:700px){

  /* ---------- 1. Portada: foto en su propio bloque ---------- */
  .hero{ display:flex; flex-direction:column; justify-content:flex-start; padding-top:104px; padding-bottom:10px; }
  .hero > .hero-grid{ display:contents; }
  .hero-copy{ order:1; padding:0 20px; }
  .hero-photo{
    order:2; position:relative; inset:auto; width:auto; height:auto; aspect-ratio:4/3; margin:34px 20px 0;
    clip-path:polygon(14% 0,100% 0,100% 100%,0 100%,0 19%);
    -webkit-mask-image:none; mask-image:none; animation:photo-in-m 1.6s ease .4s forwards;
  }
  @keyframes photo-in-m{ to{ opacity:1; } }
  .hero-photo::before{ /* filo dorado en la esquina diagonal */
    content:""; position:absolute; z-index:2; left:0; top:0; width:14%; height:19%;
    background:linear-gradient(to bottom right, transparent calc(50% - 2px), #D8B53A calc(50% - 2px), #D8B53A calc(50% + 1px), transparent calc(50% + 1px));
  }
  .hero-photo::after{ background:linear-gradient(to bottom, rgba(6,22,51,.4) 0%, rgba(6,22,51,.15) 45%, rgba(6,22,51,0) 70%); }
  .hero-photo-edge,.hero-planes{ display:none; }
  .hero-mark{ order:3; padding:0 20px; margin:12px 0 0; }
  .hero-mark .city-switch{ margin-top:0; }
  .hero > .wrap:not(.hero-grid){ order:4; }
  .hero-facts{ margin-top:36px; }

  /* páginas internas: la foto de la cabecera va debajo del título */
  .page-hero{ flex-direction:column; align-items:stretch; padding:104px 0 8px; min-height:0; }
  .page-hero .container{ order:1; }
  .page-hero .ph-photo{
    order:2; position:relative; inset:auto; width:auto; height:auto; aspect-ratio:16/10; margin:30px 20px 0;
    opacity:1; clip-path:polygon(14% 0,100% 0,100% 100%,0 100%,0 22%);
  }
  .page-hero .ph-photo::after{ background:linear-gradient(to bottom, rgba(6,22,51,.4), rgba(6,22,51,0) 55%); }

  /* banda de cierre: sin foto en celular */
  .cta-band .ph-photo,.cta-band .ph-edge{ display:none; }

  /* fotos tenues detrás de texto sobre azul: fuera en celular */
  .sp-motto,.sp-motto-edge,.philosophy .ph-photo,.philosophy .ph-edge{ display:none; }

  /* ---------- 2. Sin botones de evaluación repetidos ---------- */
  .service-detail-actions a[href^="contacto"]{ display:none; }

  /* ---------- 4. Publicaciones en tarjetas compactas ---------- */
  /* portada */
  .rec-track{
    display:flex; flex-direction:column; gap:12px; overflow:visible; margin-top:32px; padding:0 20px;
    scroll-snap-type:none; cursor:auto;
  }
  .rec-card:nth-child(n+5){ display:none; }
  .rec-card,.insight-card{
    display:grid; grid-template-columns:92px minmax(0,1fr); grid-template-rows:auto auto; column-gap:16px; align-items:center;
    padding:14px 16px 14px 14px; background:#fff; box-shadow:0 18px 36px -30px rgba(10,42,99,.55);
  }
  .rec-card:hover{ transform:none; }
  .rec-band,.insight-card-band{
    grid-column:1; grid-row:1 / 3; width:92px; height:92px; margin:0;
    clip-path:polygon(24% 0,100% 0,100% 100%,0 100%,0 24%);
  }
  .rec-tag,.insight-card-tag{ grid-column:2; grid-row:1; align-self:end; margin:0; font-size:.6rem; letter-spacing:.16em; line-height:1.4; }
  .rec-tag::before,.insight-card-tag::before{ width:12px; }
  .rec-card h3,.insight-card h3{ grid-column:2; grid-row:2; align-self:start; margin:6px 0 0; font-size:1.02rem; line-height:1.25; }
  .rec-card p,.rec-more,.insight-card p,.insight-card .read-more{ display:none; }
  .rec-count,.rec-progress{ display:none; }
  .rec-foot{ margin-top:22px; }
  /* página de publicaciones */
  .insights-grid{ gap:12px; margin-top:28px; }
  .insights-subtags{ flex-wrap:nowrap; overflow-x:auto; margin-right:-20px; padding-right:20px; scrollbar-width:none; }
  .insights-subtags::-webkit-scrollbar{ display:none; }
  .insights-subtag-pill{ flex:none; white-space:nowrap; }
  .insight-card:hover .insight-card-band{ transform:none; }

  /* ---------- 5. Secciones condensadas ---------- */
  .case{ flex-wrap:nowrap !important; align-items:center !important; padding:20px 0 !important; }
  .case p{ flex:1 1 auto !important; flex-basis:auto !important; font-size:1.08rem !important; }
  .cities{ display:none; }               /* Cobertura: sin las tres fotos grandes */
  .cover-foot{ margin-top:36px; }
  .motto-word,.philosophy .motto-word{ display:none; }   /* Filosofía: sin las letras gigantes */
  .dims{ margin-top:56px; padding-top:40px; }
}

/* ============================================================
   Ronda 2: tarjetas deslizables, espacios compactos, footer y buscador
   ============================================================ */

/* ---------- Tarjetas deslizables (celular y tableta) ---------- */
@media (max-width:1100px){
  .cases,.offers{
    display:grid !important; grid-auto-flow:column; grid-template-columns:none !important; grid-auto-columns:minmax(240px,42%);
    gap:14px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory;
    margin-left:-40px; margin-right:-40px; padding:6px 40px 18px; scroll-padding-left:40px;
    border:0 !important; scrollbar-width:none;
  }
  .cases::-webkit-scrollbar,.offers::-webkit-scrollbar{ display:none; }
  .case,.offer{ scroll-snap-align:start; }

  /* problemas */
  .case,.case + .case,.case:nth-child(even),.case:nth-child(4){
    display:flex !important; flex-direction:column !important; align-items:flex-start !important; gap:18px !important;
    padding:22px 20px 24px !important; border:0 !important; background:#fff; box-shadow:0 20px 40px -30px rgba(10,42,99,.55);
  }
  .case p{ flex:none !important; font-size:1.05rem !important; }
  .case::after{ transform:scaleX(1); height:3px; }

  /* servicios */
  .offer{
    display:flex !important; flex-direction:column; align-items:flex-start; gap:14px !important;
    padding:22px 20px 24px !important; border:0 !important; background:#fff; box-shadow:0 20px 40px -30px rgba(10,42,99,.55);
  }
  .offer .rule,.offer > .arw{ display:none !important; }
  .offer p{ padding-left:14px; border-left:3px solid var(--c); font-size:.98rem !important; }
  .offer h3{ font-size:1.25rem !important; }
  .offer:hover{ padding:22px 20px 24px !important; }

  /* indicador de posición */
  .swipe-progress{ position:relative; height:3px; margin-top:6px; background:var(--hair); overflow:hidden; }
  .swipe-progress i{ position:absolute; left:0; top:0; bottom:0; width:30%;
    background:linear-gradient(90deg,var(--yellow) 0 33.33%,var(--navy) 33.33% 66.66%,var(--red) 66.66%); }
}
@media (min-width:1101px){ .swipe-progress{ display:none; } }
@media (max-width:700px){
  .cases,.offers{ grid-auto-columns:78%; margin-left:-20px; margin-right:-20px; padding:6px 20px 16px; scroll-padding-left:20px; }
}

/* ---------- Espacios más compactos en celular ---------- */
@media (max-width:700px){
  .sec{ padding:56px 0 !important; }
  .section{ padding:52px 0; }
  .sec-head .display,.sec-head h2{ margin-top:14px; }
  .sec-sub{ margin-top:12px; font-size:1.05rem; }
  .cases{ margin-top:26px !important; }
  .offers{ margin-top:26px !important; }
  .statement{ margin-top:36px; }
  .hero{ padding-top:96px; }
  .hero-sub{ margin-top:20px; }
  .hero-actions{ margin-top:26px; gap:12px; }
  .hero-photo{ margin-top:26px; }
  .hero-facts{ margin-top:28px; }
  .fact{ padding:14px 18px; }
  .steps{ margin-top:36px !important; row-gap:30px !important; }
  .step h3{ margin-top:16px; }
  .step-num{ font-size:2.1rem !important; }
  .cover-head{ gap:20px; }
  .cover-foot{ margin-top:24px; }
  .motto-grid{ gap:24px; }
  .motto-lead{ font-size:1.35rem; }
  .motto-text .btn{ margin-top:24px; }
  .dims{ margin-top:40px; padding-top:30px; }
  .dim-row{ margin-top:24px; gap:22px !important; }
  .rec-track{ margin-top:24px; }
  .eval{ gap:36px; }
  .ticks{ margin-top:20px; gap:12px; }
  .note{ padding:36px 22px 24px; }
  .note p{ font-size:1.15rem; }
  .note .ico{ margin-bottom:16px; }

  .page-hero,.article-hero{ padding-top:96px; }
  .page-hero h1{ margin-top:16px; }
  .page-hero .ph-photo{ margin-top:24px; }
  .service-detail{ padding:40px 0; }
  .service-detail-head{ gap:20px; }
  .service-detail-head .ico{ margin-bottom:16px; }
  .service-detail-list li{ padding:12px 0; }
  .service-detail-actions{ margin-top:22px; }
  .approach-grid{ margin-top:30px; gap:24px !important; }
  .philosophy{ padding:64px 0; }
  .lede-block p{ margin-top:16px; }
  .contact-wrap{ gap:36px; }
  .contact-detail-list{ margin-top:26px; gap:16px; }
  .contact-note{ margin-top:26px; }
  .article-body{ padding-top:40px; }
  .article-body h2{ margin-top:36px; }
  .cta-band{ padding:60px 0 64px; }
  .cta-band .btn{ margin-top:26px; }
  .insights-category + .insights-category{ margin-top:56px; padding-top:44px; }
  .insights-grid{ margin-top:22px; }

  /* ---------- Footer condensado ---------- */
  .footer{ padding-bottom:22px; }
  .footer-grid{ padding-top:40px !important; grid-template-columns:1fr 1fr !important; gap:26px 20px !important; }
  .footer-brand{ grid-column:1 / -1; }
  .footer-logo img{ height:32px; }
  .footer-logo .brand-word{ font-size:1.35rem; }
  .footer-brand p{ margin-top:12px; font-size:.86rem; line-height:1.55; }
  .footer h4{ font-size:.64rem; }
  .footer ul{ margin-top:12px; gap:7px; font-size:.86rem; }
  .footer-contact{ gap:10px !important; }
  .footer-contact a{ font-size:.95rem; }
  .fc-label{ margin-bottom:1px; font-size:.58rem; }
  .footer-contact .fc-cta{ font-size:.66rem; }
  .social{ margin-top:14px; gap:8px; }
  .social a{ width:32px; height:32px; }
  .social svg{ width:24px; height:24px; }
  .footer-bottom{ margin-top:26px; padding-top:16px; font-size:.74rem; flex-direction:column; gap:4px; }
  .footer-bottom span:last-child{ display:none; }

  /* ---------- Buscador de publicaciones ---------- */
  .tool-band{ padding:28px 0 !important; }
  .insights-toolbar{ gap:12px !important; }
  .insights-search{ flex:0 0 auto !important; max-width:none; }
  .insights-search input{ padding:13px 14px 13px 42px; }
  .insights-filters{ flex:0 0 auto; }
}

/* ============================================================
   Ronda 3: portada en celular tipo "portada de revista"
   Foto a todo el ancho detrás del texto, con degradado azul marino
   que asegura el contraste; texto en blanco.
   ============================================================ */
@media (max-width:700px){
  .hero{ position:relative; padding-top:72px !important; padding-bottom:0 !important; }

  /* foto a todo el ancho, desde el header hasta los datos */
  .hero-photo{
    position:absolute !important; top:72px; left:0; right:0; bottom:0;
    width:auto !important; height:auto !important; aspect-ratio:auto !important; margin:0 !important;
    clip-path:polygon(54px 0,100% 0,100% 100%,0 100%,0 54px) !important;
  }
  .hero-photo::before{ width:54px !important; height:54px !important; }
  .hero-photo::after{
    mix-blend-mode:normal !important;
    background:linear-gradient(to bottom,
      rgba(6,22,51,.12) 0px, rgba(6,22,51,.22) 150px, rgba(6,22,51,.86) 330px, #061633 430px) !important;
  }
  .hp-slide{ background-position:50% 30% !important; }

  /* texto sobre la zona oscura */
  .hero-copy{ position:relative; z-index:3; padding:240px 20px 34px !important; }
  .hero-copy .kicker{ color:#fff; }
  .hero-copy .kicker .k-r{ display:none; }
  .hero-title{ color:#fff !important; }
  .hero-sub{ color:rgba(255,255,255,.86) !important; }
  .hero-actions .btn-navy{ background:var(--yellow); color:var(--navy-d); box-shadow:none; }
  .hero-actions .btn-ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.55); }

  /* selector de ciudades sobre la foto, arriba a la derecha */
  .hero-mark{ position:absolute !important; z-index:4; top:90px; right:20px; margin:0 !important; padding:0 !important; }
  .hero-mark .city-switch{ margin:0; padding:4px; }
  .hero-mark .city-switch button{ padding:9px 10px 11px; font-size:.62rem; letter-spacing:.14em; }

  /* datos: sobre fondo claro, tapando el final de la foto */
  .hero > .wrap:not(.hero-grid){ position:relative; z-index:3; background:var(--paper); padding-top:24px; padding-bottom:36px; }
  .hero-facts{ margin-top:0 !important; }
}
@media (max-width:700px){
  .hero{ background:linear-gradient(var(--paper) 0 126px, var(--navy-d) 126px) !important; }
  .hero-photo{ bottom:auto !important; height:460px !important; }
  .hero-photo::after{
    background:linear-gradient(to bottom,
      rgba(6,22,51,.05) 0px, rgba(6,22,51,.15) 170px, rgba(6,22,51,.7) 320px, #061633 455px) !important;
  }
  .hp-slide{ background-size:cover !important; background-position:50% 62% !important; }
  .hero-copy{ padding-top:250px !important; }
}


/* ============================================================
   Tableta: misma composición del escritorio
   (logo arriba a la izquierda, foto grande en el plano diagonal,
   texto debajo del logo con aclarado detrás)
   ============================================================ */
@media (min-width:701px) and (max-width:1100px){
  .site-header{ background:rgba(251,250,247,.95); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
  .hero{ padding-top:104px; }
  .hero-grid{ grid-template-columns:1fr; gap:24px; }
  .hero-mark{ order:-1; display:block; max-width:280px; padding:0; text-align:center; align-self:start; }
  .hero-mark .logo-build{ max-width:280px; }
  .hero-mark .mark-word{ margin-top:8px; font-size:2.2rem; }
  .mark-bottom .city-switch{ margin:14px auto 0; }
  .hero-copy .kicker{ margin-top:0; }
  .hero-title{ margin-top:16px; }
  .hero-sub{ margin-top:22px; }
  .hero-actions{ margin-top:30px; }
  .hero-facts{ margin-top:36px; }

  .hero-photo,.hero-photo-edge{ width:76vw; }
  .hero-planes{ width:80vw; }
  .hero-photo{
    clip-path:polygon(30% 0,100% 0,100% 100%,10% 100%,10% 13.3%);
    -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 28%, rgba(0,0,0,.52) 52%, #000 66%, #000 82%, transparent 98%) !important;
            mask-image:linear-gradient(to bottom, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 28%, rgba(0,0,0,.52) 52%, #000 66%, #000 82%, transparent 98%) !important;
  }
  .hp-slide{ z-index:0; }
  .hero-photo::after{ z-index:1; }
  .hero-photo::before{
    content:""; position:absolute; left:0; right:0; top:42%; bottom:0; z-index:2; pointer-events:none;
    background:linear-gradient(to right, rgba(251,250,247,.95) 0%, rgba(251,250,247,.9) 34%, rgba(251,250,247,.6) 50%, rgba(251,250,247,.18) 62%, rgba(251,250,247,0) 72%);
    -webkit-mask-image:linear-gradient(to bottom, transparent 0%, #000 18%);
            mask-image:linear-gradient(to bottom, transparent 0%, #000 18%);
  }
}

/* ---------- Tableta: espacios verticales compactos ---------- */
@media (min-width:701px) and (max-width:1100px){
  .hero{ min-height:0 !important; padding-bottom:56px !important; }
  .sec{ padding:72px 0 !important; }
  .section{ padding:64px 0; }
  .sec-head .display,.sec-head h2{ margin-top:16px; }
  .sec-sub{ margin-top:14px; }
  .cases,.offers{ margin-top:32px !important; }
  .statement{ margin-top:40px; }
  .steps{ margin-top:44px !important; row-gap:36px !important; }
  .step h3{ margin-top:18px; }
  .step-num{ font-size:2.6rem !important; }
  .cover-head{ gap:28px; }
  .cities{ margin-top:40px; gap:24px; }
  .cover-foot{ margin-top:40px; }
  .motto-grid{ gap:32px; }
  .motto-word{ font-size:clamp(3rem,9vw,5rem) !important; }
  .motto-text .btn{ margin-top:26px; }
  .dims{ margin-top:56px; padding-top:40px; }
  .dim-row{ margin-top:30px; }
  .rec-track{ margin-top:34px; padding-bottom:18px; }
  .rec-foot{ margin-top:20px; }
  .eval{ gap:44px; }
  .ticks{ margin-top:22px; }
  .note{ padding:40px 36px 34px; }

  .page-hero,.article-hero{ padding:130px 0 64px; }
  .page-hero h1{ margin-top:18px; }
  .service-detail{ padding:56px 0; }
  .service-detail-head{ gap:24px; }
  .service-detail-actions{ margin-top:28px; }
  .approach-grid{ margin-top:36px; }
  .philosophy{ padding:80px 0; }
  .contact-wrap{ gap:44px; }
  .contact-detail-list{ margin-top:30px; }
  .contact-note{ margin-top:30px; }
  .article-body{ padding-top:56px; }
  .cta-band{ padding:80px 0; }
  .cta-band .btn{ margin-top:28px; }
  .tool-band{ padding:36px 0 !important; }
  .insights-category + .insights-category{ margin-top:64px; padding-top:52px; }
  .insights-grid{ margin-top:32px; gap:36px 28px; }

  .footer-grid{ padding-top:52px !important; gap:36px !important; }
  .footer-brand p{ margin-top:16px; }
  .footer ul{ margin-top:14px; }
  .footer-bottom{ margin-top:36px; padding-top:18px; }
}
@media (min-width:701px) and (max-width:1100px){
  .dim-row{ grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  .dim{ padding-right:20px !important; }
  .dim + .dim{ padding-left:20px !important; }
  .dim h3{ font-size:clamp(1.05rem,2.2vw,1.4rem) !important; overflow-wrap:anywhere; }
}

/* ============================================================
   Tableta: cabeceras de páginas internas y banda de cierre
   con la misma composición del escritorio
   ============================================================ */
@media (min-width:701px) and (max-width:1100px){
  .page-hero,.article-hero{ min-height:460px; padding:130px 0 72px; }
  .page-hero .container > *,.article-hero .container > *{ max-width:54% !important; }
  .page-hero .container > p:not(.eyebrow){ max-width:52% !important; }
  .page-hero .container > .eyebrow,.article-hero .container > .eyebrow{ max-width:none !important; }
  .page-hero h1{ font-size:clamp(1.8rem,3.6vw,2.6rem); }
  .article-hero h1{ font-size:clamp(1.6rem,3.2vw,2.3rem); }
  .page-hero p:not(.eyebrow){ font-size:1.05rem; }

  .ph-photo,.ph-edge{ width:46vw !important; }
  .page-hero .ph-photo,.article-hero .ph-photo{ opacity:1 !important; }
  .page-hero .ph-photo::after{
    background:linear-gradient(to right, rgba(251,250,247,.75) 0%, rgba(251,250,247,0) 28%),
               linear-gradient(to bottom, rgba(6,22,51,.35), rgba(6,22,51,0) 50%) !important;
  }
  .ph-edge{ display:block !important; }

  /* artículos: la ilustración del tema en su esquina en L */
  .article-hero-icon,.article-hero::before{ display:block !important; right:40px !important; width:38vw !important; }
  .article-hero::before{ height:calc(38vw * .6 + 26px) !important; }
  .article-hero .article-meta{ max-width:54% !important; }

  /* banda de cierre */
  .cta-band .container > *{ max-width:52% !important; }
  .cta-band h2{ font-size:clamp(1.7rem,3.4vw,2.4rem); }
  .cta-band .ph-photo{ width:50vw !important; opacity:1 !important; }
  .cta-band .ph-photo::after{
    background:linear-gradient(to right, rgba(251,250,247,.92) 0%, rgba(251,250,247,.4) 22%, rgba(251,250,247,0) 42%),
               linear-gradient(to bottom, rgba(6,22,51,.35), rgba(6,22,51,0) 55%) !important;
  }
  .cta-band .ph-edge{ width:50vw !important; }

  /* Quiénes somos: Filosofía con el palacio tenue a la derecha, como en escritorio */
  .philosophy .ph-photo,.philosophy .ph-edge{ width:46vw !important; display:block !important; }
}
@media (min-width:701px) and (max-width:1100px){
  .approach-grid{ grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  .approach-card{ padding-right:20px !important; }
  .approach-card + .approach-card{ padding-left:20px !important; }
  .approach-card h3{ font-size:clamp(.98rem,2.15vw,1.4rem) !important; letter-spacing:-.01em; }
}

/* ============================================================
   Escritorio: las mismas tarjetas de celular y tableta, en cuadrícula
   ============================================================ */
@media (min-width:1101px){
  /* problemas: 3 x 2 */
  .cases{ display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:22px !important; border:0 !important; margin-top:56px !important; }
  .case,.case + .case,.case:nth-child(4),.case:nth-child(even){
    display:flex !important; flex-direction:column !important; align-items:flex-start !important; gap:22px !important;
    padding:30px 28px 32px !important; border:0 !important; background:#fff !important;
    box-shadow:0 22px 44px -32px rgba(10,42,99,.55);
    transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  }
  .case::after{ transform:scaleX(1) !important; height:3px; }
  .case:hover{ transform:translateY(-5px); box-shadow:0 30px 50px -30px rgba(10,42,99,.6); }
  .case p{ font-size:1.15rem; }

  /* servicios: 4 en una fila */
  .offers{ display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:22px !important; border:0 !important; margin-top:56px !important; }
  .offer{
    display:flex !important; flex-direction:column; align-items:flex-start; gap:16px !important;
    padding:30px 26px 32px !important; border:0 !important; background:#fff !important;
    box-shadow:0 22px 44px -32px rgba(10,42,99,.55);
    transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  }
  .offer:hover{ padding:30px 26px 32px !important; background:#fff !important; transform:translateY(-5px); box-shadow:0 30px 50px -30px rgba(10,42,99,.6); }
  .offer .rule{ display:none !important; }
  .offer h3{ font-size:1.3rem !important; }
  .offer p{ padding-left:14px; border-left:3px solid var(--c); font-size:1rem !important; }
  .offer > .arw{ margin-top:auto; align-self:flex-end; font-size:1.3rem; color:var(--navy); }
}

/* corrección: la caja del acceso flotante no debe tapar los enlaces de la página */
@media (max-width:1179px){
  .quick-rail{ pointer-events:none; }
  .quick-rail .qr-toggle{ pointer-events:auto; }
  .quick-rail.is-open a{ pointer-events:auto; }
  .quick-rail:not(.is-open) a{ pointer-events:none; }
  body{ padding-bottom:84px !important; }
}
