:root{--page-title-display:none;}/* Start custom CSS *//* ===== Rimegra Extinción — Servicios (nuevo) ===== */
:root{
  --rx-navy:#071B34; --rx-navy-2:#0C2748; --rx-navy-3:#11335C;
  --rx-red:#E30613; --rx-red-d:#B5050F;
  --rx-blue:#0070B8; --rx-mist:#F5F7FA; --rx-line:#E3E8EF;
  --rx-ink:#071B34; --rx-slate:#43536A; --rx-on-dark:#E7EDF5; --rx-on-dark-2:#A9B8CB;
  --rx-display:"Montserrat",system-ui,sans-serif; --rx-text:"Inter",system-ui,sans-serif;
  --rx-ease:cubic-bezier(.16,1,.3,1);
  --rx-gutter:clamp(20px,5vw,64px); --rx-max:1280px;
  --rx-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --rx-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E");
}
#rx-boot,#rx-scripts{display:none!important}
::selection{background:var(--rx-red);color:#fff}

#rx-hero,#rx-pillars,#rx-catalog,#rx-partners,#rx-cta{
  width:100%;max-width:none;margin:0;font-family:var(--rx-text);-webkit-font-smoothing:antialiased;caret-color:var(--rx-red)}
#rx-hero *,#rx-pillars *,#rx-catalog *,#rx-partners *,#rx-cta *{box-sizing:border-box}
:where(#rx-hero,#rx-pillars,#rx-catalog,#rx-partners,#rx-cta) :where(h1,h2,h3,p){margin:0;padding:0}
:where(#rx-hero,#rx-pillars,#rx-catalog,#rx-partners,#rx-cta) a:focus-visible{outline:2px solid var(--rx-red);outline-offset:4px;border-radius:2px}

/* ---------- Buttons ---------- */
#rx-btn-quote,#rx-btn-call,#rx-btn-cta-quote,#rx-btn-cta-call{
  display:inline-flex;align-items:center;gap:12px;min-height:56px;padding:0 28px;
  font-family:var(--rx-text);font-size:1rem;font-weight:600;letter-spacing:.005em;line-height:1;
  text-decoration:none;border-radius:2px;border:1px solid transparent;cursor:pointer;white-space:nowrap;
  transition:background-color .25s var(--rx-ease),color .25s var(--rx-ease),border-color .25s var(--rx-ease),transform .25s var(--rx-ease)}
#rx-btn-quote::after,#rx-btn-cta-quote::after{content:"";width:18px;height:18px;background:currentColor;flex:none;
  -webkit-mask:var(--rx-arrow) center/contain no-repeat;mask:var(--rx-arrow) center/contain no-repeat;transition:transform .3s var(--rx-ease)}
#rx-btn-quote:hover::after,#rx-btn-cta-quote:hover::after{transform:translateX(4px)}
#rx-btn-quote:active,#rx-btn-call:active,#rx-btn-cta-quote:active,#rx-btn-cta-call:active{transform:translateY(1px)}
#rx-btn-quote{background:var(--rx-red);color:#fff}
#rx-btn-quote:hover{background:var(--rx-red-d);color:#fff}
#rx-btn-call,#rx-btn-cta-call{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
#rx-btn-call:hover,#rx-btn-cta-call:hover{border-color:#fff;background:rgba(255,255,255,.08);color:#fff}
#rx-btn-cta-quote{background:#fff;color:var(--rx-navy)}
#rx-btn-cta-quote:hover{background:var(--rx-navy);color:#fff}

/* ---------- Hero (split) ---------- */
#rx-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;gap:0;padding:0;
  background:var(--rx-navy);color:#fff;min-height:min(92svh,860px)}
#rx-hero::before{content:"";position:absolute;left:-10vw;bottom:-30%;width:60vw;height:120%;background:var(--rx-navy-2);transform:skewX(-14deg);pointer-events:none;z-index:-1}
#rx-hero-grid{flex:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:clamp(32px,5vw,80px);
  width:100%;max-width:calc(var(--rx-max) + 2*var(--rx-gutter));margin:0 auto;
  padding:clamp(140px,20vh,200px) var(--rx-gutter) clamp(56px,8vh,88px)}
#rx-hero-inner{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:0}
#rx-hero-eyebrow{display:inline-flex;align-items:center;gap:16px;margin-bottom:clamp(20px,3vh,30px);
  font-size:.8125rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--rx-on-dark-2)}
#rx-hero-eyebrow::before{content:"";width:56px;height:3px;background:var(--rx-red);transform-origin:left center}
#rx-hero-title{font-family:var(--rx-display);font-weight:800;font-size:clamp(2.5rem,5.4vw,4.75rem);line-height:1;letter-spacing:-.035em;color:#fff;max-width:13ch;text-wrap:balance}
#rx-hero-title .rx-w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}
#rx-hero-title .rx-w>span{display:inline-block}
#rx-hero-title .rx-em>span{color:var(--rx-red)}
#rx-hero-lead{margin-top:clamp(20px,3vh,32px);max-width:50ch;font-size:clamp(1.0625rem,1.3vw,1.1875rem);line-height:1.65;color:var(--rx-on-dark)}
#rx-hero-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;margin-top:clamp(28px,4.5vh,44px);padding:0}
#rx-hero-media{position:relative;margin:0;padding:0;aspect-ratio:4/5;max-height:620px;width:100%;overflow:hidden;background:var(--rx-navy-3)}
#rx-hero-media img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;display:block}
#rx-hero-media::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(7,27,52,0) 55%,rgba(7,27,52,.55) 100%)}
#rx-hero-media::after{content:"";position:absolute;left:0;bottom:0;z-index:2;width:38%;height:6px;background:var(--rx-red)}

#rx-hero-rail{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;gap:12px 40px;width:100%;
  padding:20px var(--rx-gutter);border-top:1px solid rgba(255,255,255,.14);background:rgba(7,27,52,.55)}
#rx-hero-rail p{display:inline-flex;align-items:center;gap:14px;white-space:nowrap;
  font-size:.8125rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--rx-on-dark-2)}
#rx-hero-rail p::before{content:"";width:6px;height:6px;background:var(--rx-red);flex:none}
#rx-hero-rail.rx-marquee{padding-left:0;padding-right:0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
#rx-hero-rail .rx-track{display:flex;gap:48px;padding-right:48px;width:max-content;animation:rx-marquee 40s linear infinite}
#rx-hero-rail:hover .rx-track{animation-play-state:paused}
@keyframes rx-marquee{to{transform:translateX(-50%)}}

.rx-js #rx-hero:not(.is-ready) #rx-hero-eyebrow{opacity:0}
.rx-js #rx-hero:not(.is-ready) #rx-hero-media{clip-path:inset(0 0 100% 0)}
.rx-js #rx-hero.is-ready #rx-hero-eyebrow{animation:rx-fade .7s var(--rx-ease) .15s both}
.rx-js #rx-hero.is-ready #rx-hero-eyebrow::before{animation:rx-line .8s var(--rx-ease) .2s both}
.rx-js #rx-hero.is-ready #rx-hero-title .rx-w>span{animation:rx-rise .9s var(--rx-ease) both;animation-delay:calc(.3s + var(--i)*60ms)}
.rx-js #rx-hero.is-ready #rx-hero-lead{animation:rx-fade .8s var(--rx-ease) .9s both}
.rx-js #rx-hero.is-ready #rx-hero-actions{animation:rx-fade .8s var(--rx-ease) 1.02s both}
.rx-js #rx-hero.is-ready #rx-hero-rail{animation:rx-fade 1s var(--rx-ease) 1.2s both}
.rx-js #rx-hero.is-ready #rx-hero-media{animation:rx-unveil 1.3s var(--rx-ease) .35s both}
.rx-js #rx-hero.is-ready #rx-hero-media img{animation:rx-settle 2s var(--rx-ease) .35s both}
@keyframes rx-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes rx-rise{from{transform:translateY(105%)}to{transform:none}}
@keyframes rx-fade{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes rx-unveil{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes rx-settle{from{transform:scale(1.18)}to{transform:none}}

/* ---------- Section frame ---------- */
#rx-pillars-inner,#rx-catalog-inner,#rx-partners-inner,#rx-cta-inner{width:100%;max-width:calc(var(--rx-max) + 2*var(--rx-gutter));margin:0 auto;padding:0 var(--rx-gutter)}
#rx-pillars,#rx-catalog,#rx-cta{padding:clamp(88px,11vw,160px) 0;display:flex;flex-direction:column;gap:0}
#rx-partners{padding:clamp(56px,7vw,96px) 0;display:flex;flex-direction:column;gap:0}
#rx-pillars-title,#rx-catalog-title{font-family:var(--rx-display);font-weight:700;font-size:clamp(2rem,4.2vw,3.5rem);line-height:1.06;letter-spacing:-.03em;text-wrap:balance}

/* ---------- Pillars ---------- */
#rx-pillars{background:var(--rx-mist);color:var(--rx-ink)}
#rx-pillars-inner{display:flex;flex-direction:column;gap:clamp(48px,6vw,80px)}
#rx-pillars-head{display:flex;flex-direction:column;gap:20px;padding:0}
#rx-pillars-eyebrow{display:inline-flex;align-items:center;gap:14px;font-size:.8125rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--rx-red)}
#rx-pillars-eyebrow::before{content:"";width:32px;height:2px;background:currentColor}
#rx-pillars-title{color:var(--rx-ink);max-width:16ch}
#rx-pillar-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;border-top:1px solid rgba(7,27,52,.16);border-bottom:1px solid rgba(7,27,52,.16)}
#rx-pillar-row>*{position:relative;display:flex;flex-direction:column;gap:14px;padding:36px 28px 40px;border-left:1px solid rgba(7,27,52,.16);transition:background-color .4s var(--rx-ease)}
#rx-pillar-row>*:first-child{border-left:0;padding-left:0}
#rx-pillar-row>*::before{content:"";position:absolute;left:0;top:-1px;height:3px;width:0;background:var(--rx-red);transition:width .6s var(--rx-ease)}
#rx-pillar-row>*:hover::before{width:100%}
#rx-pillar-row>*>p:first-child{display:flex;align-items:center;justify-content:space-between;font-family:var(--rx-display);font-weight:800;font-size:.9375rem;letter-spacing:.06em;color:var(--rx-red)}
#rx-pillar-row>*>p:first-child::after{content:"";width:28px;height:28px;background:var(--rx-red);-webkit-mask:var(--rx-check) center/contain no-repeat;mask:var(--rx-check) center/contain no-repeat}
#rx-pillar-row h3{font-family:var(--rx-display);font-weight:700;font-size:clamp(1.25rem,1.7vw,1.5rem);line-height:1.15;letter-spacing:-.02em;color:var(--rx-ink);margin-top:12px}
#rx-pillar-row>*>p:last-child{font-size:1rem;line-height:1.6;color:var(--rx-slate)}

/* ---------- Catalog ---------- */
#rx-catalog{background:#fff;color:var(--rx-ink)}
#rx-catalog-inner{display:flex;flex-direction:column;gap:clamp(48px,6vw,80px)}
#rx-catalog-head{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:end;padding:0}
#rx-catalog-title{color:var(--rx-ink);max-width:15ch}
#rx-catalog-text{font-size:1.0625rem;line-height:1.7;color:var(--rx-slate);max-width:44ch}
#rx-svc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(40px,4vw,56px) clamp(16px,2vw,28px);padding:0}
#rx-svc-grid>*{display:flex;flex-direction:column;gap:0;padding:0;min-width:0}
#rx-svc-grid>*>div:first-child{position:relative;overflow:hidden;aspect-ratio:4/3;margin:0 0 22px;padding:0;background:var(--rx-mist)}
#rx-svc-grid img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;display:block;transition:transform .9s var(--rx-ease),filter .5s var(--rx-ease);filter:saturate(.85)}
#rx-svc-grid>*>div:first-child::after{content:"";position:absolute;left:0;bottom:0;height:4px;width:0;background:var(--rx-red);transition:width .6s var(--rx-ease)}
#rx-svc-grid>*:hover img{transform:scale(1.06);filter:none}
#rx-svc-grid>*:hover>div:first-child::after{width:42%}
#rx-svc-grid>*>p:nth-child(2){font-family:var(--rx-display);font-weight:800;font-size:.8125rem;letter-spacing:.08em;color:var(--rx-red);margin-bottom:8px}
#rx-svc-grid h3{font-family:var(--rx-display);font-weight:700;font-size:clamp(1.25rem,1.6vw,1.4375rem);line-height:1.15;letter-spacing:-.02em;color:var(--rx-ink);margin-bottom:10px}
#rx-svc-grid>*>p:last-child{font-size:.9688rem;line-height:1.6;color:var(--rx-slate)}

/* ---------- Partners ---------- */
#rx-partners{background:var(--rx-mist);color:var(--rx-ink);border-top:1px solid var(--rx-line)}
#rx-partners-inner{display:flex;flex-direction:row;align-items:center;gap:clamp(24px,5vw,80px)}
#rx-partners-title{flex:none;font-family:var(--rx-display);font-weight:700;font-size:clamp(1.25rem,2vw,1.625rem);line-height:1.15;letter-spacing:-.02em;color:var(--rx-ink);max-width:12ch}
#rx-brand-row{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:clamp(28px,5vw,72px);padding:0;flex:1}
#rx-brand-row img{display:block;height:44px;width:auto;max-width:150px;object-fit:contain;filter:grayscale(1) contrast(1.05);opacity:.7;mix-blend-mode:multiply;transition:filter .35s var(--rx-ease),opacity .35s var(--rx-ease)}
#rx-brand-row img:hover{filter:none;opacity:1}
#rx-brand-row>*:first-child img,#rx-brand-row>img:first-child{height:60px}

/* ---------- CTA (shared with inicio) ---------- */
#rx-cta{background:var(--rx-red);color:#fff;position:relative;overflow:hidden}
#rx-cta::before{content:"";position:absolute;right:-12vw;top:-30%;width:58vw;height:160%;background:var(--rx-red-d);transform:skewX(-14deg);opacity:.55;pointer-events:none}
#rx-cta-inner{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(48px,7vw,120px);align-items:end}
#rx-cta-copy{display:flex;flex-direction:column;align-items:flex-start;gap:24px;padding:0}
#rx-cta-title{font-family:var(--rx-display);font-weight:800;font-size:clamp(2.25rem,5.2vw,4.5rem);line-height:1;letter-spacing:-.035em;color:#fff;max-width:12ch;text-wrap:balance}
#rx-cta-text{font-size:1.125rem;line-height:1.65;color:#FFE9EA;max-width:46ch}
#rx-cta-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;padding:0;margin-top:8px}
#rx-btn-cta-call{border-color:rgba(255,255,255,.55)}
#rx-contact{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0;border-top:1px solid rgba(255,255,255,.35)}
#rx-ct-1,#rx-ct-2,#rx-ct-3,#rx-ct-4{display:flex;flex-direction:column;gap:6px;padding:22px 20px 22px 0;border-bottom:1px solid rgba(255,255,255,.35)}
#rx-ct-1{grid-column:1/-1}
#rx-ct-lbl-1,#rx-ct-lbl-2,#rx-ct-lbl-3,#rx-ct-lbl-4{font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#FFD3D6}
#rx-ct-val-1,#rx-ct-val-2,#rx-ct-val-3,#rx-ct-val-4{font-size:1.0625rem;line-height:1.5;font-weight:500;color:#fff;overflow-wrap:anywhere}
#rx-ct-val-1 a,#rx-ct-val-2 a,#rx-ct-val-3 a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:4px;text-decoration-thickness:1px;transition:text-decoration-color .2s}
#rx-ct-val-1 a:hover,#rx-ct-val-2 a:hover,#rx-ct-val-3 a:hover{text-decoration-color:#fff}
#rx-cta a:focus-visible{outline-color:#fff}

/* ---------- Scroll reveals ---------- */
.rx-js .rx-reveal{opacity:0;transform:translateY(28px);transition:opacity .9s var(--rx-ease) var(--rx-d,0s),transform .9s var(--rx-ease) var(--rx-d,0s)}
.rx-js .rx-reveal.is-in{opacity:1;transform:none}
.rx-js #rx-contact.rx-reveal{--rx-d:.12s}
.rx-js #rx-svc-grid>.rx-reveal>div:first-child{clip-path:inset(0 0 14% 0);transition:clip-path 1.1s var(--rx-ease) var(--rx-d,0s)}
.rx-js #rx-svc-grid>.rx-reveal.is-in>div:first-child{clip-path:inset(0 0 0 0)}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  #rx-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,.8fr)}
  #rx-catalog-head,#rx-cta-inner{grid-template-columns:minmax(0,1fr)}
  #rx-catalog-head{align-items:start}
  #rx-svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #rx-pillar-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  #rx-pillar-row>*:nth-child(3){border-left:0;padding-left:0}
  #rx-pillar-row>*:nth-child(n+3){border-top:1px solid rgba(7,27,52,.16)}
  #rx-partners-inner{flex-direction:column;align-items:flex-start}
  #rx-partners-title{max-width:none}
}
@media (max-width:767px){
  #rx-hero-grid{grid-template-columns:minmax(0,1fr);padding-top:120px;gap:40px}
  #rx-hero-media{aspect-ratio:16/11}
  #rx-hero::before{display:none}
  #rx-hero-actions,#rx-cta-actions{flex-direction:column;align-items:stretch;width:100%}
  #rx-btn-quote,#rx-btn-call,#rx-btn-cta-quote,#rx-btn-cta-call{justify-content:center;width:100%}
  #rx-pillar-row{grid-template-columns:minmax(0,1fr)}
  #rx-pillar-row>*{border-left:0!important;padding:28px 0 32px!important;border-top:1px solid rgba(7,27,52,.16)}
  #rx-pillar-row>*:first-child{border-top:0}
  #rx-svc-grid{grid-template-columns:minmax(0,1fr)}
  #rx-brand-row{justify-content:flex-start;gap:24px 36px}
  #rx-brand-row img{height:34px;max-width:120px}
  #rx-contact{grid-template-columns:minmax(0,1fr)}
  #rx-cta::before{display:none}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  .rx-js #rx-hero.is-ready #rx-hero-title .rx-w>span,.rx-js #rx-hero.is-ready #rx-hero-media,.rx-js #rx-hero.is-ready #rx-hero-media img,.rx-js #rx-hero.is-ready #rx-hero-eyebrow::before{animation:none}
  .rx-js #rx-hero:not(.is-ready) #rx-hero-media{clip-path:none}
  .rx-js #rx-hero.is-ready #rx-hero-eyebrow,.rx-js #rx-hero.is-ready #rx-hero-lead,.rx-js #rx-hero.is-ready #rx-hero-actions,.rx-js #rx-hero.is-ready #rx-hero-rail{animation:rx-fade-only .6s ease both}
  .rx-js .rx-reveal{transform:none;transition:opacity .6s ease}
  .rx-js #rx-svc-grid>.rx-reveal>div:first-child{clip-path:none}
  #rx-svc-grid img{transition:none}
  #rx-hero-rail .rx-track{animation:none}
}
@keyframes rx-fade-only{from{opacity:0}to{opacity:1}}/* End custom CSS */