/* RMH Trading · Menú Servicios con proporciones y estilo editorial de Nosotros/Proyectos.
   Seis servicios oficiales, dos filas; tarjetas COMPLETAS de proporción cuadrada. */
@media(min-width:1121px){
  .rmh-header__main #rmh-mega-servicios .rmh-mega__content--services{
    display:grid;grid-template-columns:minmax(265px,330px) minmax(0,1fr);
    gap:clamp(24px,3vw,55px);padding:30px clamp(28px,4vw,72px) 24px;
    align-items:start;
  }
  #rmh-mega-servicios .rmh-mega__intro--services{
    min-width:0;padding:12px 24px 0 0;border-right:1px solid #e7e3df;
  }
  #rmh-mega-servicios .rmh-mega__intro--services h2{
    margin:20px 0 12px;max-width:100%;font-size:clamp(1.65rem,2.12vw,2.55rem);
    font-weight:750;line-height:1.12;letter-spacing:-.045em;
    overflow-wrap:normal;word-break:keep-all;hyphens:none;
  }
  #rmh-mega-servicios .rmh-mega__intro--services h2 em{font-family:inherit;font-size:inherit;font-weight:400;font-style:normal;color:#172633}
  #rmh-mega-servicios .rmh-mega__intro--services p{max-width:31ch;font-size:12px;line-height:1.7;color:#65727b}
  #rmh-mega-servicios .rmh-mega__cards--services{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    gap:clamp(12px,1.25vw,20px);align-items:start;grid-auto-rows:auto;
  }
  #rmh-mega-servicios .rmh-mega-card--six{
    box-sizing:border-box;display:flex;flex-direction:column;
    width:min(100%,240px);aspect-ratio:1 / 1;height:auto;min-height:0;
    justify-self:center;min-width:0;padding:0 0 8px;gap:0;overflow:hidden;
    border:0;background:transparent;box-shadow:none;
    color:#172633;transition:background .2s,box-shadow .2s;
  }
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__image{
    width:100%;height:54%;max-height:54%;min-height:0;flex:0 0 54%;
    margin:0 0 9px;aspect-ratio:auto;overflow:hidden;background:#ece8e2;
  }
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__image img{width:100%;height:100%;object-fit:cover}
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__index{margin:0 0 3px;display:block;font-size:9px;letter-spacing:.12em;color:#E18763}
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__title{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
    flex:0 0 auto;margin:0 0 4px;padding:0;overflow:hidden;
    font-size:clamp(11px,.92vw,14px);line-height:1.22;font-weight:760;
    letter-spacing:-.02em;overflow-wrap:break-word;
  }
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__title svg{display:none}
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__type{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    min-height:0;max-height:2.7em;overflow:hidden;flex:0 0 auto;
    font-size:clamp(9px,.72vw,11px);line-height:1.35;margin:0;color:#71808a;
  }
  #rmh-mega-servicios .rmh-mega-card--six:hover{background:rgba(225,135,99,.075);box-shadow:none;border:0}
  #rmh-mega-servicios .rmh-mega__facts,
  #rmh-mega-servicios .rmh-mega__bottom--services{display:none!important}
}
@media(min-width:1121px) and (max-width:1240px){
  .rmh-header__main #rmh-mega-servicios .rmh-mega__content--services{
    grid-template-columns:minmax(240px,280px) minmax(0,1fr);gap:20px;padding:24px;
  }
  #rmh-mega-servicios .rmh-mega__intro--services h2{font-size:clamp(1.58rem,2vw,2.1rem)}
  #rmh-mega-servicios .rmh-mega-card--six{width:min(100%,215px)}
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__image{height:50%;max-height:50%;flex-basis:50%}
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__title{font-size:11px}
}


/* 2026-10-11 final services menu override */
@media(min-width:1121px){
  #rmh-mega-servicios.rmh-mega--services{width:min(1240px,calc(100vw - 40px));max-width:none;left:50%;transform:translate(-50%,-6px);}
  .rmh-nav-group:hover:not(.nav-suppressed) #rmh-mega-servicios.rmh-mega--services,
  .rmh-nav-group:focus-within:not(.nav-suppressed) #rmh-mega-servicios.rmh-mega--services,
  .rmh-nav-group.is-open #rmh-mega-servicios.rmh-mega--services{transform:translate(-50%,0);}
  .rmh-header__main #rmh-mega-servicios .rmh-mega__content--services{display:grid;grid-template-columns:minmax(248px,300px) minmax(0,1fr);gap:28px;padding:32px 34px 24px;align-items:start;}
  #rmh-mega-servicios .rmh-mega__intro--services{padding-right:18px;border-right:1px solid #e1dfdc;min-width:0;}
  #rmh-mega-servicios .rmh-mega__intro--services h2{max-width:11ch;font-size:clamp(1.95rem,2.2vw,2.75rem);line-height:1.05;word-break:keep-all;overflow-wrap:normal;hyphens:none;margin:16px 0 12px;}
  #rmh-mega-servicios .rmh-mega__intro--services h2 em{font-family:inherit;font-style:normal;font-weight:400;color:#172633;}
  #rmh-mega-servicios .rmh-mega__intro--services p{max-width:30ch;font-size:12px;line-height:1.75;color:#65717c;}
  #rmh-mega-servicios .rmh-mega__cards--services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start;}
  #rmh-mega-servicios .rmh-mega-card--service-compact{display:flex;flex-direction:column;min-width:0;padding:0;background:transparent;border:0;color:#172633;}
  #rmh-mega-servicios .rmh-mega-card--service-compact .rmh-mega-card__image{width:100%;height:auto;aspect-ratio:1/1;overflow:hidden;background:#dde1df;margin:0 0 10px;}
  #rmh-mega-servicios .rmh-mega-card--service-compact .rmh-mega-card__image img{width:100%;height:100%;object-fit:cover;}
  #rmh-mega-servicios .rmh-mega-card--service-compact .rmh-mega-card__index{display:block;margin:0 0 4px;font-size:10px;letter-spacing:.12em;color:#E18763;}
  #rmh-mega-servicios .rmh-mega-card--service-compact .rmh-mega-card__type{display:block;margin:0 0 5px;font-size:11px;line-height:1.35;color:#73808a;}
  #rmh-mega-servicios .rmh-mega-card--service-compact .rmh-mega-card__title{display:block;margin:0;font-size:clamp(13px,1vw,15px);line-height:1.35;font-weight:760;letter-spacing:-.02em;}
  #rmh-mega-servicios .rmh-mega-card--service-compact .rmh-mega-card__title svg{display:none;}
  #rmh-mega-servicios .rmh-mega-card--service-compact:hover{background:transparent;box-shadow:none;}
  #rmh-mega-servicios .rmh-mega__bottom--services{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;background:#ececea;border-top:1px solid #dddcd8;min-height:unset;}
  #rmh-mega-servicios .rmh-mega__bottom--services .rmh-mega-service-link{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;min-height:90px;padding:18px 22px;border-right:1px solid #dddcd8;white-space:normal;max-width:none;}
  #rmh-mega-servicios .rmh-mega__bottom--services .rmh-mega-service-link:last-child{border-right:0;}
  #rmh-mega-servicios .rmh-mega-service-link__kicker{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#E18763;}
  #rmh-mega-servicios .rmh-mega-service-link__title{display:block;font-size:14px;line-height:1.35;font-weight:770;color:#172633;}
  #rmh-mega-servicios .rmh-mega-service-link__meta{display:block;font-size:12px;line-height:1.55;color:#65717c;}
}
@media(max-width:1120px){#rmh-mega-servicios .rmh-mega__content--services{grid-template-columns:1fr;}#rmh-mega-servicios .rmh-mega__cards--services{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:760px){#rmh-mega-servicios .rmh-mega__cards--services,#rmh-mega-servicios .rmh-mega__bottom--services{grid-template-columns:1fr;}#rmh-mega-servicios .rmh-mega__bottom--services .rmh-mega-service-link{border-right:0;border-top:1px solid #dddcd8;}}
