:root{color-scheme:light;--red:#df192e;--wine:#ae1226;--ink:#17191a;--muted:#535b63;--steel:#9eb1bf;--line:#dce1e5;--bg:#f4f6f7;--paper:#fff;--width:1232px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:400 1rem/1.55 Arial,"Helvetica Neue",sans-serif;background:var(--paper);color:var(--ink)}
a{color:inherit}
a:focus-visible{outline:3px solid #db394d;outline-offset:5px}
.skip{position:absolute;top:.8rem;left:.8rem;transform:translateY(-180%);padding:.6rem 1rem;background:#fff;color:#111;z-index:5}
.skip:focus{transform:none}
.wrap{width:min(var(--width),calc(100% - 96px));margin-inline:auto}
.mast{background:#fff;border-bottom:1px solid #dce1e5}
.bar,.foot{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.bar{min-height:76px}
.wordmark{display:inline-flex;gap:.85rem;align-items:center;text-decoration:none;font-weight:900}
.wordmark>span:first-child{font:900 2rem/.9 "Arial Black",Arial,sans-serif;letter-spacing:-.09em;padding-right:.25rem}
.wordmark>span:nth-child(2){font-size:.875rem;letter-spacing:.16em;border-left:1px solid #b8c1c6;padding-left:.85rem}
.red{color:var(--red)}
nav{display:flex;gap:clamp(1rem,3.5vw,3rem)}
nav a{text-decoration:none;font-weight:700;font-size:.94rem;padding:.45rem 0}
nav a:hover,.foot a:hover{text-decoration:underline;text-underline-offset:.25em}
.hero{background:var(--ink);color:#fff;overflow:hidden}
.hero-in{position:relative;min-height:545px;isolation:isolate;display:flex;align-items:center}
.hero-copy{position:relative;z-index:1;max-width:44rem;padding:5.3rem 0}
.hero-art{position:absolute;z-index:0;inset:0 -8vw 0 38%;background:linear-gradient(90deg,#17191a 4%,rgba(23,25,26,.83) 23%,transparent 66%),linear-gradient(0deg,rgba(18,21,23,.54),transparent 55%),url('recologic.webp') 61% center/cover no-repeat,#23292d}
.hero-art:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(121deg,transparent 0 70px,rgba(158,177,191,.17) 70px 71px,transparent 71px 91px);mask-image:linear-gradient(90deg,transparent 10%,#000 58%)}
.eyebrow{margin:0 0 1rem;display:flex;align-items:center;gap:.62rem;color:#c3cdd4;letter-spacing:.16em;font-size:.875rem;line-height:1.4;font-weight:800;text-transform:uppercase}
.eyebrow i{display:inline-block;background:var(--red);width:23px;height:2px}
.eyebrow.dark{color:#4d5760}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:"Arial Black",Arial,sans-serif;letter-spacing:-.055em;font-weight:900}
h1{font-size:clamp(2.65rem,5.9vw,5.5rem);line-height:.99;margin-bottom:1.3rem}
h2{font-size:clamp(2.25rem,4.1vw,4rem);line-height:1.03;margin-bottom:1rem}
h3{font-size:clamp(1.45rem,2.6vw,2.1rem);line-height:1.06;margin-bottom:.95rem}
.hero-lede{color:#e1e5e7;font-size:1.15rem;max-width:34rem;margin-bottom:1.7rem}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:49px;padding:.72rem 1.15rem;text-decoration:none;font-weight:800}
.primary{background:var(--wine);color:#fff}
.primary:hover{background:#941224}
.companies{padding-block:5.25rem}
.intro{color:var(--muted);margin-bottom:1.9rem}
.enterprise-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}
.ent{border:1px solid var(--line);display:flex;flex-direction:column;min-width:0}
.visual{height:104px;display:flex;align-items:center;padding:0 1.45rem;background:repeating-linear-gradient(133deg,transparent 0 52px,rgba(255,255,255,.11) 52px 53px,transparent 53px 63px),var(--panel);color:#fff}
.rec{--panel:#2a3439}.ire{--panel:#245449}.mh{--panel:#76283a}
.visual svg{width:55px;height:55px;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ent-body{padding:1.4rem;display:flex;flex-direction:column;flex:1}
.label{color:#626c73;font-size:.875rem;letter-spacing:.095em;margin-bottom:.45rem}
.ent-body p:not(.label){color:var(--muted);margin-bottom:1.2rem}
.brand-link{margin-top:auto;color:#9f1929;font-weight:800;text-decoration-thickness:1px;text-underline-offset:.3em;width:fit-content}
.heritage{background:var(--bg);border-block:1px solid var(--line)}
.heritage-in,.contact-in{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:clamp(2rem,7vw,7rem);padding-block:4.6rem}
.heritage-in p:last-child{color:#49545b;max-width:38rem;margin-bottom:0}
figure{margin:0;background:white;border:1px solid var(--line);padding:1.1rem;display:grid;justify-items:center;text-align:center}
figure img{width:min(240px,100%);height:auto;display:block}
figcaption{font-size:.875rem;color:#535b63;margin-top:.3rem}
.contact{background:#23272a;color:#fff}
.contact p:last-child{color:#dce1e5;margin-bottom:0}
.contact ul{list-style:none;margin:0;padding:0;border-top:1px solid #566169}
.contact li{border-bottom:1px solid #566169}
.contact li a{display:block;padding:.7rem 0;text-decoration-thickness:1px;text-underline-offset:.2em}
.contact li a:hover{color:#ffc7cc}
footer{background:#181b1d;color:#d9e0e4}
.foot{min-height:83px;font-size:.875rem}
.foot strong{white-space:nowrap;letter-spacing:.08em;color:#fff}.foot strong span{color:#ff6877}
.foot p{margin:0}.foot a{white-space:nowrap;text-underline-offset:.2em}
@media(max-width:800px){.wrap{width:calc(100% - 44px)}.hero-in{min-height:475px}.hero-copy{padding-block:4.5rem}.hero-art{left:21%;background-position: center,center,66% center,center}.enterprise-grid{gap:.75rem}.ent-body{padding:1rem}.companies{padding-block:3.4rem}}
@media(max-width:630px){.wrap{width:calc(100% - 36px)}.bar{min-height:62px;gap:.5rem}.wordmark{gap:.5rem}.wordmark>span:first-child{font-size:1.55rem}.wordmark>span:nth-child(2){display:none}nav{gap:clamp(.65rem,5vw,1.45rem)}nav a{font-size:.875rem}.hero-in{min-height:0}.hero-copy{padding:3rem 0 9rem}.hero-art{inset:32% -18px 0 0;background:linear-gradient(180deg,#17191a 3%,rgba(23,25,26,.88) 28%,rgba(23,25,26,.18) 78%),url('recologic.webp') 60% center/cover no-repeat,#23292d}.hero-lede{font-size:1rem;margin-bottom:1.25rem}.enterprise-grid,.heritage-in,.contact-in{grid-template-columns:1fr}.enterprise-grid{gap:1rem}.heritage-in,.contact-in{padding-block:3rem;gap:1.4rem}.foot{align-items:flex-start;flex-direction:column;gap:.65rem;padding-block:1.15rem}.visual{height:83px}.visual svg{width:45px;height:45px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.ent-body p.identity{font-size:.875rem;font-weight:700;color:#5b656e;margin-top:-.55rem;margin-bottom:.7rem}
.wordmark>img{width:60px;height:auto;display:block}
@media(max-width:630px){.wordmark>img{width:48px}.wordmark>span:nth-child(2){display:none}}
.heritage figure{background:transparent;border-color:transparent}
.sr-reg{font-size:.6em;vertical-align:super;line-height:0;letter-spacing:normal;margin-inline-start:.035em}
.mast .bar{min-height:114px}
.wordmark>img{width:clamp(108px,12vw,158px)}
@media(max-width:630px){.mast .bar{min-height:82px}.wordmark>img{width:92px}.mast nav{gap:clamp(.55rem,3vw,1rem)}}
@media(max-width:355px){.mast .bar{min-height:0;flex-direction:column;align-items:flex-start;justify-content:center;padding:.55rem 0;gap:.15rem}}
/* Same frame, aspect ratio and gradients across all three slides. */
.hero-art{--slide-image:url('recologic.webp');inset:0 0 0 30%;background:
 linear-gradient(90deg,#17191a 0%,rgba(23,25,26,.98) 7%,rgba(23,25,26,.78) 23%,rgba(23,25,26,.25) 42%,transparent 58%),
 linear-gradient(0deg,rgba(23,25,26,.28),transparent 24%),
 var(--slide-image) right center/contain no-repeat #17191a}
.hero-art:after{mask-image:linear-gradient(90deg,transparent 0%,#000 27%,transparent 65%)}
@media(min-width:801px){.hero-art{right:-8px}}
@media(min-width:631px) and (max-width:800px){.hero-art{left:14%}}
@media(max-width:630px){
 .hero-in{display:block}
 .hero-copy{padding-bottom:clamp(14.75rem,56vw,20rem)}
 .hero-art{inset:auto -8px 0 0;height:clamp(14rem,53vw,19rem);background:
  linear-gradient(180deg,#17191a 0%,rgba(23,25,26,.55) 11%,transparent 29%),
  linear-gradient(90deg,#17191a 0%,rgba(23,25,26,.77) 10%,transparent 34%),
  var(--slide-image) right bottom/contain no-repeat #17191a}
 .hero-art:after{display:none}
}
.hero-art{right:calc((100% - 100vw)/2)}
/* Solid colors sampled directly from each brand's current site logo. */
.ent.rec{--panel:#0096aa;--accent:#b0c800;--panel-ink:#0b2b32}
.ent.ire{--panel:#4f758a;--accent:#96d701;--panel-ink:#fff}
.ent.mh{--panel:#ee8c3a;--accent:#a6a6a6;--panel-ink:#271b14}
.ent .visual{color:var(--panel-ink);box-shadow:inset 0 -4px var(--accent)}
.ent .brand-link{color:var(--ink);text-decoration-color:var(--panel);text-decoration-thickness:2px}
.founder-life{font-weight:700;margin-top:-.35rem;margin-bottom:1rem}.v2-origin .founder-life{color:#d8e0e4}.heritage-in p+.founder-life{margin-bottom:1rem}
.origin-wordmark{white-space:nowrap;letter-spacing:.035em}.origin-wordmark .sr-reg{font-size:.82em;margin-inline-start:-.02em}
.mast nav a:is(:hover,:focus-visible),.v2-head nav a:is(:hover,:focus-visible){text-decoration-line:underline;text-decoration-color:#dc011f;text-decoration-thickness:2px;text-underline-offset:.25em}
.sr-history-block{grid-column:1/-1;min-width:0}
.sr-history-block h3{margin-bottom:1.25rem;font-size:clamp(1.55rem,3.4vw,2.35rem)}
.sr-history-dates,.sr-history-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;margin:0;padding:0;list-style:none}
.sr-history-dates li{border-top:2px solid #ba162a;padding-top:.7rem}
.sr-history-dates strong,.sr-history-gallery figcaption strong{display:block;margin-bottom:.28rem}
.sr-history-dates p{margin:0}
.sr-history-dates a{font-weight:700;text-underline-offset:.2em}
.sr-history-gallery figure{background:transparent;border:0;padding:0;display:block;text-align:left}
.sr-history-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#e8edf0;max-width:none}
.sr-history-gallery figcaption{margin-top:.55rem;font-size:.875rem;line-height:1.45}
.v2-origin .sr-history-gallery figcaption,.v2-origin .sr-history-dates p{color:#d8e0e4}
@media(max-width:800px){.sr-history-dates,.sr-history-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.sr-history-dates,.sr-history-gallery{grid-template-columns:1fr}}
@media(min-width:551px){.sr-history-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sr-history-gallery img{max-height:440px}
@media(min-width:801px){.sr-history-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
.sr-history-gallery .sr-badge-preview{display:block;width:100%;height:auto;aspect-ratio:4/3;max-height:440px;background:#7e120d}
.sr-history-dates .sr-inline-name{display:inline;margin:0}
.founder-legacy{margin:1.25rem 0 0;padding:.95rem 1.15rem;border-inline-start:3px solid #b51429;background:#fff}
.founder-legacy .founder-legacy-label{margin:0 0 .35rem;font-size:.8rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.founder-legacy p:last-child{margin:0;font-size:clamp(1.02rem,1.6vw,1.24rem);line-height:1.45;color:inherit}
.v2-origin .founder-legacy{background:#30363a;border-inline-start-color:#e25b66}
.v2-origin .founder-legacy p{color:#fff}
.founder-visuals{display:grid;justify-items:stretch;gap:1.1rem;min-width:0}
.founder-visuals>figure:not(.founder-design){padding:0;background:transparent;border:0;justify-self:center;width:100%}
.founder-visuals>figure:not(.founder-design) img{width:min(137px,60%)}
.founder-visuals .founder-design{display:block;padding:0;border:0;text-align:left;max-width:none;background:transparent}
.founder-visuals .founder-design img{width:100%;max-width:none;height:auto;display:block;border-radius:3px}
.founder-design figcaption{margin-top:.65rem;font-size:.88rem;line-height:1.45}
.founder-design figcaption strong{display:block;margin-bottom:.25rem}
.v2-origin .founder-design figcaption{color:#d8e0e4}

/* Portfolio photography, anchored to the original compactadora framing. */
.hero-slide{opacity:0;transition:opacity .45s ease;pointer-events:none}
.hero-slide.is-active{opacity:1}
.hero-slide-ire{--slide-image:url('portada-irecolecta-1308.webp')}
.hero-slide-mh{--slide-image:url('portada-mercado-1308.webp')}
.hero-controls[hidden]{display:none}
.hero-controls{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:.25rem .85rem;min-height:3rem;padding-block:.2rem .4rem;color:#fff;flex-wrap:wrap}
.hero-caption{font-size:.875rem;font-weight:700;color:#eef2f4;margin-right:auto}
.hero-pagers{display:flex;gap:.1rem}
.hero-pagers button,.hero-pause{appearance:none;border:0;background:transparent;color:#fff;font:inherit;cursor:pointer;min-height:2.75rem}
.hero-pagers button{display:grid;place-items:center;min-width:2.75rem}
.hero-pagers button span{width:.55rem;height:.55rem;border-radius:50%;background:#829097}
.hero-pagers button[aria-pressed=true] span{background:#ff6877;box-shadow:0 0 0 .15rem rgba(255,104,119,.3)}
.hero-pause{font-size:.875rem;text-decoration:underline;text-underline-offset:.2em;padding-inline:.25rem}
.hero-pagers button:focus-visible,.hero-pause:focus-visible,.foot .social-icon:focus-visible{outline:2px solid #ff6877;outline-offset:2px}
.hero-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.foot .social-icon{display:inline-grid;place-items:center;flex:none;box-sizing:border-box;width:2.75rem;height:2.75rem;border:1px solid #59666d;border-radius:50%;color:#fff;text-decoration:none}
.foot .social-icon:hover{color:#ffc7cc;border-color:#ffc7cc}
@media(max-width:630px){
 .hero-controls{column-gap:.2rem}
}
@media(max-width:360px){.hero-pagers button{min-width:2.35rem}.hero-caption{font-size:.8125rem}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}

.foot-social-icons{display:flex;align-items:center;gap:.45rem;flex:none}

/* Archive player: display the poster and only connect to YouTube after play. */
.sr-film{scroll-margin-top:6rem}
.sr-film .sr-film-kicker{font-size:.875rem;letter-spacing:.095em;font-weight:700;margin:0 0 .35rem}
.sr-film h3{margin-bottom:.45rem}
.sr-film h3+p{margin:0 0 1rem}
.sr-film-media{width:min(100%,52rem);aspect-ratio:16/9;position:relative;background:#15191b;border-radius:.6rem}
.sr-film-poster,.sr-film-media iframe{display:block;position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:.6rem}
.sr-film-poster>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.sr-film-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:3.8rem;height:3.8rem;border-radius:50%;background:#bb1429;color:#fff;border:2px solid #fff;box-shadow:0 3px 16px #0009}
.sr-film-play svg{margin-inline-start:.16rem}
.sr-film-poster:is(:hover,:focus-visible) .sr-film-play{background:#9d0c20}
.sr-film-duration{position:absolute;inset:auto .65rem .65rem auto;padding:.18rem .4rem;border-radius:.2rem;background:#000d;color:#fff;font-size:.875rem}
.sr-film-link{display:inline-block;margin-top:.65rem;color:inherit;text-underline-offset:.2em;font-size:.875rem}

/* Keep native language names available without scripts. */
.mast .bar>nav{margin-inline-start:auto}
.locale-picker{position:relative;z-index:4;flex:none;color:var(--ink)}
.locale-picker summary{display:flex;align-items:center;justify-content:center;gap:.4rem;min-height:2.75rem;padding:.4rem .6rem;border:1px solid var(--line);border-radius:.25rem;cursor:pointer;font-size:.875rem;font-weight:800;list-style:none}
.locale-picker summary::-webkit-details-marker{display:none}
.locale-picker summary:focus-visible{outline:3px solid #db394d;outline-offset:2px}
.locale-chevron{width:.4rem;height:.4rem;border-block-end:1.5px solid;border-inline-end:1.5px solid;transform:rotate(45deg);margin-block-start:-.2rem}
.locale-picker[open] .locale-chevron{transform:rotate(225deg);margin-block-start:.2rem}
.locale-options{position:absolute;inset-inline-end:0;min-width:10rem;list-style:none;margin:.35rem 0 0;padding:.25rem;background:#fff;border:1px solid var(--line);border-radius:.3rem;box-shadow:0 .55rem 1.2rem rgba(23,25,26,.14)}
.locale-options a{display:block;min-height:2.55rem;padding:.5rem .65rem;text-decoration:none;border-radius:.15rem}
.locale-options a:hover,.locale-options a[aria-current="page"]{background:#f6ebed;color:#941125}
html[lang="zh-Hans"] body{font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",Arial,sans-serif}
html[lang="zh-Hans"] :is(h1,h2,h3){font-family:inherit;letter-spacing:0}
html[lang="ru"] :is(h1,h2,h3){overflow-wrap:anywhere}
@media(max-width:700px){
 .mast .bar{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:.65rem;row-gap:0;padding-block:.55rem .35rem}
 .mast .bar>nav{grid-column:1/-1;grid-row:2;margin-inline-start:0;flex-wrap:wrap}
 .locale-picker{grid-column:2;grid-row:1}
 .mast .wordmark{grid-column:1;grid-row:1;justify-self:start}
}


/* Mobile-only refinement. Append after the existing site.css rules. */
@media (max-width: 630px) {
  /* Match the 1308 x 816 source photos to the existing 18 px gutters. */
  .hero-in {
    --sr-mobile-art-height: min(20rem, calc((100vw - 36px) * .623853211));
    min-height: 0;
  }

  .hero-copy {
    padding: 2rem 0 calc(var(--sr-mobile-art-height) + 1rem);
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8.8vw, 2.65rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
  }

  .hero-copy .eyebrow {
    margin-bottom: .85rem;
    column-gap: .45rem;
    font-size: .8125rem;
    letter-spacing: .12em;
    flex-wrap: wrap;
  }

  .hero-lede {
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .hero-copy .button {
    max-width: 100%;
    text-align: center;
  }

  /* Override the later, desktop-oriented right:calc(...) cascade rule. */
  .hero-art {
    inset: auto 0 0;
    width: auto;
    height: var(--sr-mobile-art-height);
    background:
      linear-gradient(180deg, #17191a 0%, rgba(23,25,26,.32) 8%, transparent 24%),
      var(--slide-image) center bottom / contain no-repeat #17191a;
  }

  .hero-controls {
    padding-block: .35rem .65rem;
    column-gap: .4rem;
  }

  .hero-caption {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero-pagers {
    flex: 0 0 auto;
  }

  .hero-pagers button {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  /* Keep the existing visible navigation and native language selector. */
  .mast nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .locale-options a {
    min-height: 2.75rem;
  }

  .companies {
    padding-block: 2.75rem;
  }

  main h2 {
    font-size: clamp(1.95rem, 7.8vw, 2.25rem);
    line-height: 1.1;
    overflow-wrap: break-word;
  }

  .heritage-in > *,
  .contact-in > * {
    min-width: 0;
  }

  .brand-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    max-width: 100%;
  }

  .contact li a {
    overflow-wrap: anywhere;
  }

  .sr-film-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
}
