/*
Theme Name: ROTEX Bangladesh
Theme URI: https://www.rotexbd.com
Author: ROTEX Bangladesh Ltd.
Author URI: https://www.rotexbd.com
Description: A lightweight, customizable corporate theme for ROTEX Bangladesh Ltd. — a recycled interlining manufacturer. Deep-green & white identity, built section by section so every part can be customized. English version (Bangla-ready).
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rotex
Tags: corporate, business, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   ROTEX — Design tokens
   Colours extracted pixel-accurate from the company logo.
   Edit these to re-theme the entire site.
   ============================================================ */
:root{
  --rotex-green:      #0E4E2B;  /* primary brand */
  --rotex-green-dark: #0A3D22;  /* header/footer */
  --rotex-green-deep: #072C18;  /* deepest footer */
  --rotex-green-2:    #2E5C46;  /* secondary */
  --rotex-mint:       #EBF2EF;  /* section band */
  --rotex-mint-2:     #F4F8F6;  /* lightest tint */
  --rotex-grey:       #5D6D6B;  /* neutral / emblem */
  --rotex-red:        #ED333B;  /* accent — minimal use */
  --rotex-ink:        #15241C;  /* body text */
  --rotex-muted:      #5b6b62;  /* secondary text */
  --rotex-line:       #DCE6E0;  /* hairlines */
  --white:            #FFFFFF;

  --font-display: 'Archivo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -24px rgba(7,44,24,.45);
  --shadow-sm: 0 8px 24px -16px rgba(7,44,24,.4);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ============================================================
   Reset / base
   ============================================================ */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--rotex-ink);
  background:var(--white);
  line-height:1.65;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--rotex-green); text-decoration:none; transition:color .2s var(--ease); }
a:hover{ color:var(--rotex-green-2); }
h1,h2,h3,h4{ font-family:var(--font-display); color:var(--rotex-green-dark); line-height:1.1; margin:0 0 .5em; letter-spacing:-.01em; }
h1{ font-weight:800; font-size:clamp(2.1rem,5.2vw,3.6rem); }
h2{ font-weight:700; font-size:clamp(1.6rem,3.6vw,2.5rem); }
h3{ font-weight:700; font-size:1.3rem; }
p{ margin:0 0 1rem; }
:focus-visible{ outline:3px solid var(--rotex-red); outline-offset:2px; border-radius:4px; }

/* ============================================================
   Layout helpers
   ============================================================ */
.rx-container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gut); }
.rx-section{ padding-block:clamp(56px,8vw,104px); position:relative; }
.rx-section--mint{ background:var(--rotex-mint-2); }
.rx-eyebrow{
  display:inline-flex; align-items:center; gap:.55em;
  font-family:var(--font-display); font-weight:700; font-size:.78rem;
  letter-spacing:.16em; text-transform:uppercase; color:var(--rotex-green-2);
  margin:0 0 .9rem;
}
.rx-eyebrow::before{ content:""; width:26px; height:2px; background:var(--rotex-red); }

/* Signature motif: brand dot-grid */
.rx-dots{
  background-image:radial-gradient(var(--rotex-green-2) 1.6px, transparent 1.7px);
  background-size:16px 16px;
  opacity:.18;
}

/* ============================================================
   Buttons
   ============================================================ */
.rx-btn{
  display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--font-display); font-weight:700; font-size:.95rem;
  padding:.85em 1.5em; border-radius:999px; border:2px solid transparent;
  cursor:pointer; transition:transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.rx-btn--primary{ background:var(--rotex-green); color:#fff; }
.rx-btn--primary:hover{ background:var(--rotex-green-dark); color:#fff; transform:translateY(-2px); }
.rx-btn--ghost{ background:transparent; color:var(--rotex-green); border-color:var(--rotex-green); }
.rx-btn--ghost:hover{ background:var(--rotex-green); color:#fff; transform:translateY(-2px); }
.rx-btn--white{ background:#fff; color:var(--rotex-green-dark); }
.rx-btn--white:hover{ transform:translateY(-2px); }

/* ============================================================
   Site header
   ============================================================ */
.rx-topline{ height:4px; background:linear-gradient(90deg,var(--rotex-green),var(--rotex-green-2),var(--rotex-red)); }
.rx-header{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid var(--rotex-line);
  transition:box-shadow .25s var(--ease);
}
.rx-header.is-stuck{ box-shadow:var(--shadow-sm); }
.rx-header__inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:14px; }
.rx-logo img{ height:46px; width:auto; }
.rx-logo--white{ display:none; }
.rx-nav ul{ list-style:none; display:flex; gap:6px; margin:0; padding:0; align-items:center; }
.rx-nav a{
  font-family:var(--font-display); font-weight:600; font-size:.95rem; color:var(--rotex-ink);
  padding:.5em .85em; border-radius:8px; transition:background .2s var(--ease), color .2s var(--ease);
}
.rx-nav a:hover, .rx-nav .current-menu-item > a{ background:var(--rotex-mint); color:var(--rotex-green-dark); }
.rx-header__cta{ display:flex; align-items:center; gap:14px; }

/* Mobile nav */
.rx-burger{ display:none; flex-direction:column; gap:5px; width:44px; height:44px; align-items:center; justify-content:center; background:var(--rotex-mint); border:none; border-radius:10px; cursor:pointer; }
.rx-burger span{ width:22px; height:2.5px; background:var(--rotex-green-dark); border-radius:2px; transition:transform .25s var(--ease), opacity .2s; }
.rx-burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.rx-burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.rx-burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

@media (max-width:980px){
  .rx-burger{ display:flex; }
  .rx-nav{
    position:fixed; inset:0 0 0 auto; width:min(320px,84vw); background:#fff;
    transform:translateX(100%); transition:transform .3s var(--ease);
    box-shadow:var(--shadow); padding:90px 24px 24px; z-index:60; overflow:auto;
  }
  .rx-nav.is-open{ transform:translateX(0); }
  .rx-nav ul{ flex-direction:column; align-items:stretch; gap:2px; }
  .rx-nav a{ display:block; padding:.8em 1em; font-size:1.05rem; }
  .rx-header__cta .rx-btn{ display:none; }
}

/* ============================================================
   Hero
   ============================================================ */
.rx-hero{ position:relative; overflow:hidden; background:linear-gradient(160deg,var(--rotex-mint) 0%, #fff 60%); }
.rx-hero__dots{ position:absolute; inset:0; pointer-events:none; }
.rx-hero__dots span{ position:absolute; width:160px; height:160px; }
.rx-hero__dots .d1{ top:-20px; right:8%; }
.rx-hero__dots .d2{ bottom:30px; left:-30px; width:220px; height:220px; }
.rx-hero__inner{ display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; padding-block:clamp(56px,8vw,110px); position:relative; z-index:2; }
.rx-hero h1{ margin-bottom:.35em; }
.rx-hero h1 .accent{ color:var(--rotex-green-2); }
.rx-hero__lead{ font-size:1.2rem; color:var(--rotex-muted); max-width:46ch; margin-bottom:1.8rem; }
.rx-hero__actions{ display:flex; flex-wrap:wrap; gap:14px; }

/* Hexagon honeycomb — the signature element */
.rx-hex-cluster{ position:relative; aspect-ratio:1/1; display:grid; place-items:center; }
.rx-hex{ position:absolute; clip-path:polygon(25% 5%,75% 5%,100% 50%,75% 95%,25% 95%,0 50%); }
.rx-hex--lg{ width:62%; height:62%; background:var(--rotex-green); display:grid; place-items:center; box-shadow:var(--shadow); }
.rx-hex--lg img{ width:74%; filter:brightness(0) invert(1); }
.rx-hex--a{ width:30%; height:30%; background:var(--rotex-mint); top:6%; right:14%; }
.rx-hex--b{ width:24%; height:24%; background:var(--rotex-green-2); bottom:10%; right:6%; }
.rx-hex--c{ width:20%; height:20%; background:#fff; border:2px solid var(--rotex-line); bottom:4%; left:14%; }
.rx-hex--badge{ width:34%; height:34%; background:#fff; box-shadow:var(--shadow-sm); top:8%; left:2%; display:grid; place-items:center; text-align:center; }
.rx-hex--badge b{ font-family:var(--font-display); color:var(--rotex-green); font-size:clamp(1.1rem,2.4vw,1.7rem); line-height:1; }
.rx-hex--badge small{ display:block; font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; color:var(--rotex-muted); margin-top:4px; }

@media (max-width:880px){
  .rx-hero__inner{ grid-template-columns:1fr; gap:32px; }
  .rx-hex-cluster{ max-width:440px; margin-inline:auto; }
}

/* ============================================================
   Stats strip
   ============================================================ */
.rx-stats{ background:var(--rotex-green-dark); color:#fff; position:relative; overflow:hidden; }
.rx-stats .rx-dots{ position:absolute; inset:0; opacity:.1; --rotex-green-2:#fff; }
.rx-stats__grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:24px; padding-block:48px; position:relative; z-index:2; }
.rx-stat{ text-align:center; border-right:1px solid rgba(255,255,255,.14); }
.rx-stat:last-child{ border-right:none; }
.rx-stat b{ display:block; font-family:var(--font-display); font-weight:800; font-size:clamp(1.6rem,3vw,2.3rem); }
.rx-stat span{ font-size:.85rem; color:rgba(255,255,255,.78); }
@media (max-width:760px){
  .rx-stats__grid{ grid-template-columns:repeat(2,1fr); gap:8px 24px; }
  .rx-stat{ padding-block:14px; border-right:none; border-bottom:1px solid rgba(255,255,255,.12); }
}

/* ============================================================
   Intro band
   ============================================================ */
.rx-intro__inner{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.rx-intro__copy p{ color:var(--rotex-muted); font-size:1.08rem; }
.rx-feature-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.rx-feature{ background:#fff; border:1px solid var(--rotex-line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow-sm); }
.rx-feature .chip{ width:42px; height:42px; border-radius:11px; background:var(--rotex-mint); display:grid; place-items:center; margin-bottom:12px; color:var(--rotex-green); }
.rx-feature h3{ font-size:1.05rem; margin-bottom:.3em; }
.rx-feature p{ margin:0; font-size:.92rem; color:var(--rotex-muted); }
@media (max-width:880px){ .rx-intro__inner{ grid-template-columns:1fr; gap:32px; } }

/* ============================================================
   Section header pill (brand device from profile)
   ============================================================ */
.rx-pill{ display:inline-flex; align-items:center; gap:14px; background:var(--rotex-mint); border-radius:14px; padding:12px 22px 12px 12px; margin-bottom:28px; }
.rx-pill .ico{ width:46px; height:46px; border-radius:11px; background:linear-gradient(135deg,var(--rotex-green),var(--rotex-green-2)); display:grid; place-items:center; color:#fff; }
.rx-pill h2{ margin:0; font-size:1.5rem; color:var(--rotex-green-dark); }

/* ============================================================
   Footer
   ============================================================ */
.rx-footer{ background:var(--rotex-green-deep); color:rgba(255,255,255,.82); position:relative; overflow:hidden; }
.rx-footer .rx-dots{ position:absolute; top:24px; right:24px; width:120px; height:90px; --rotex-green-2:#fff; opacity:.12; }
.rx-footer__cta{ text-align:center; padding-block:clamp(40px,6vw,72px); border-bottom:1px solid rgba(255,255,255,.1); position:relative; z-index:2; }
.rx-footer__cta h2{ color:#fff; max-width:18ch; margin-inline:auto; }
.rx-footer__main{ display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr; gap:40px; padding-block:56px; position:relative; z-index:2; }
.rx-footer__brand img{ height:54px; margin-bottom:18px; }
.rx-footer h4{ color:#fff; font-size:.82rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:14px; }
.rx-footer address{ font-style:normal; font-size:.92rem; line-height:1.7; }
.rx-footer a{ color:rgba(255,255,255,.82); }
.rx-footer a:hover{ color:#fff; }
.rx-footer__bottom{ border-top:1px solid rgba(255,255,255,.1); padding-block:22px; display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; font-size:.85rem; position:relative; z-index:2; }
@media (max-width:880px){ .rx-footer__main{ grid-template-columns:1fr 1fr; gap:32px; } }
@media (max-width:520px){ .rx-footer__main{ grid-template-columns:1fr; } }

/* Skip link */
.rx-skip{ position:absolute; left:-9999px; top:0; background:var(--rotex-green); color:#fff; padding:10px 16px; z-index:999; border-radius:0 0 8px 0; }
.rx-skip:focus{ left:0; color:#fff; }

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  *{ animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* ============================================================
   SECTIONS (v1.0) — shared utilities
   ============================================================ */
.rx-head-row{ display:flex; flex-direction:column; align-items:flex-start; }
.rx-lead-2{ color:var(--rotex-muted); font-size:1.08rem; max-width:70ch; margin-bottom:8px; }
.rx-grid{ display:grid; gap:18px; }
.rx-grid--2{ grid-template-columns:repeat(2,1fr); }
.rx-grid--3{ grid-template-columns:repeat(3,1fr); }
.rx-grid--4{ grid-template-columns:repeat(4,1fr); }
.rx-card{ background:#fff; border:1px solid var(--rotex-line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow-sm); }
.rx-card h3{ font-size:1.1rem; margin-bottom:.4em; }
.rx-card p{ margin:0; color:var(--rotex-muted); font-size:.95rem; }
.rx-two{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.rx-divider{ height:1px; background:var(--rotex-line); border:0; margin:0; }
.rx-banner{ background:var(--rotex-green-dark); color:#fff; text-align:center; padding:18px; border-radius:var(--radius-sm); font-family:var(--font-display); font-weight:700; letter-spacing:.02em; }
@media (max-width:880px){ .rx-grid--3,.rx-grid--4{ grid-template-columns:1fr 1fr; } .rx-two{ grid-template-columns:1fr; gap:28px; } }
@media (max-width:560px){ .rx-grid--2,.rx-grid--3,.rx-grid--4{ grid-template-columns:1fr; } }

/* MD message */
.rx-message{ background:var(--rotex-mint-2); }
.rx-message__card{ background:#fff; border:1px solid var(--rotex-line); border-left:5px solid var(--rotex-green); border-radius:var(--radius); padding:36px; box-shadow:var(--shadow-sm); }
.rx-message__card p{ color:var(--rotex-ink); }
.rx-message__sig{ margin-top:18px; }
.rx-message__sig b{ font-family:var(--font-display); color:var(--rotex-green-dark); display:block; font-size:1.05rem; }
.rx-message__sig span{ color:var(--rotex-muted); font-size:.9rem; }

/* Timeline */
.rx-timeline{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; margin-top:18px; position:relative; }
.rx-timeline::before{ content:""; position:absolute; top:13px; left:0; right:0; height:2px; background:var(--rotex-line); }
.rx-tl{ position:relative; padding:0 12px; text-align:center; }
.rx-tl .dot{ width:28px; height:28px; border-radius:50%; background:var(--rotex-green); border:5px solid #fff; box-shadow:0 0 0 1px var(--rotex-line); margin:0 auto 14px; position:relative; z-index:2; }
.rx-tl b{ display:block; font-family:var(--font-display); color:var(--rotex-green-dark); font-size:1.05rem; }
.rx-tl span{ font-size:.85rem; color:var(--rotex-muted); }
@media (max-width:760px){ .rx-timeline{ grid-template-columns:1fr; gap:18px; } .rx-timeline::before{ left:13px; right:auto; top:0; bottom:0; width:2px; height:auto; } .rx-tl{ text-align:left; padding-left:44px; } .rx-tl .dot{ position:absolute; left:0; top:0; margin:0; } }

/* Info 9-grid */
.rx-info{ background:#fff; border:1px solid var(--rotex-line); border-radius:var(--radius); padding:26px 22px; text-align:center; box-shadow:var(--shadow-sm); }
.rx-info .ic{ width:50px; height:50px; border-radius:13px; background:var(--rotex-mint); display:grid; place-items:center; margin:0 auto 14px; color:var(--rotex-green); font-size:24px; }
.rx-info .lbl{ font-size:.82rem; letter-spacing:.05em; text-transform:uppercase; color:var(--rotex-muted); }
.rx-info b{ display:block; font-family:var(--font-display); color:var(--rotex-green-dark); font-size:1.5rem; margin-top:4px; }
.rx-info small{ color:var(--rotex-muted); }

/* Team */
.rx-team{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.rx-member{ text-align:center; }
.rx-member .ph{ width:120px; height:120px; border-radius:50%; margin:0 auto 12px; display:grid; place-items:center; background:linear-gradient(135deg,var(--rotex-green),var(--rotex-green-2)); color:#fff; font-family:var(--font-display); font-weight:800; font-size:1.8rem; border:4px solid #fff; box-shadow:0 0 0 1px var(--rotex-line); overflow:hidden; }
.rx-member .ph img{ width:100%; height:100%; object-fit:cover; }
.rx-member b{ font-family:var(--font-display); color:var(--rotex-green-dark); display:block; }
.rx-member span{ background:var(--rotex-green); color:#fff; font-size:.78rem; padding:3px 12px; border-radius:999px; display:inline-block; margin-top:6px; }
@media (max-width:760px){ .rx-team{ grid-template-columns:1fr 1fr; } }

/* Cert + brand tiles */
.rx-tiles{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; }
.rx-tile{ background:#fff; border:1px solid var(--rotex-line); border-radius:var(--radius-sm); padding:20px 14px; text-align:center; font-family:var(--font-display); font-weight:700; color:var(--rotex-green-dark); display:grid; place-items:center; min-height:88px; box-shadow:var(--shadow-sm); }
.rx-tile small{ display:block; font-weight:500; color:var(--rotex-muted); font-size:.78rem; margin-top:4px; }

/* Test tables */
.rx-testtable{ width:100%; border-collapse:collapse; background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--rotex-line); }
.rx-testtable th{ background:var(--rotex-green-dark); color:#fff; text-align:left; padding:13px 18px; font-family:var(--font-display); font-size:.95rem; }
.rx-testtable td{ padding:11px 18px; border-top:1px solid var(--rotex-line); font-size:.93rem; }
.rx-testtable tr:nth-child(even) td{ background:var(--rotex-mint-2); }

/* Products */
.rx-prod{ background:#fff; border:1px solid var(--rotex-line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); }
.rx-prod h3{ background:var(--rotex-green-dark); color:#fff; margin:0; padding:14px 20px; font-size:1.05rem; }
.rx-prod ul{ list-style:none; margin:0; padding:8px 0; }
.rx-prod li{ padding:9px 20px; font-size:.95rem; border-top:1px solid var(--rotex-line); }
.rx-prod li:first-child{ border-top:none; }
.rx-prod li:nth-child(even){ background:var(--rotex-mint-2); }

/* Smart Finder */
.rx-finder{ background:linear-gradient(160deg,var(--rotex-green-dark),var(--rotex-green-deep)); color:#fff; position:relative; overflow:hidden; }
.rx-finder .rx-dots{ position:absolute; inset:0; --rotex-green-2:#fff; opacity:.08; }
.rx-finder__inner{ position:relative; z-index:2; max-width:820px; margin:0 auto; text-align:center; }
.rx-finder h2{ color:#fff; }
.rx-finder p.sub{ color:rgba(255,255,255,.82); font-size:1.1rem; margin-bottom:26px; }
.rx-finder__box{ display:flex; gap:10px; background:#fff; border-radius:999px; padding:8px; box-shadow:var(--shadow); }
.rx-finder__box input{ flex:1; border:none; background:transparent; padding:12px 20px; font-size:1.05rem; font-family:var(--font-body); color:var(--rotex-ink); outline:none; }
.rx-finder__chips{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-top:16px; }
.rx-chip{ background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); color:#fff; padding:6px 14px; border-radius:999px; font-size:.85rem; cursor:pointer; font-family:var(--font-display); font-weight:600; transition:.2s; }
.rx-chip:hover{ background:#fff; color:var(--rotex-green-dark); }
.rx-finder__results{ margin-top:26px; display:grid; gap:12px; text-align:left; }
.rx-result{ background:#fff; color:var(--rotex-ink); border-radius:var(--radius); padding:18px 20px; display:flex; gap:16px; align-items:flex-start; animation:rxfade .3s var(--ease); }
@keyframes rxfade{ from{ opacity:0; transform:translateY(6px);} to{ opacity:1; transform:none;} }
.rx-result .tag{ flex:none; background:var(--rotex-mint); color:var(--rotex-green-dark); font-family:var(--font-display); font-weight:700; font-size:.72rem; letter-spacing:.05em; text-transform:uppercase; padding:5px 10px; border-radius:8px; margin-top:2px; }
.rx-result b{ font-family:var(--font-display); color:var(--rotex-green-dark); font-size:1.05rem; }
.rx-result span{ display:block; color:var(--rotex-muted); font-size:.92rem; margin-top:2px; }
.rx-result__empty{ background:rgba(255,255,255,.1); color:#fff; border:1px dashed rgba(255,255,255,.4); }
.rx-result__empty b,.rx-result__empty span{ color:#fff; }
@media (max-width:560px){ .rx-finder__box{ flex-direction:column; border-radius:var(--radius); } .rx-finder__box .rx-btn{ width:100%; justify-content:center; } }

/* Production gallery */
.rx-gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.rx-shot{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--rotex-line); background:#fff; box-shadow:var(--shadow-sm); }
.rx-shot .img{ aspect-ratio:4/3; background:linear-gradient(135deg,var(--rotex-mint),#fff); display:grid; place-items:center; color:var(--rotex-green-2); font-size:34px; }
.rx-shot .img img{ width:100%; height:100%; object-fit:cover; }
.rx-shot .cap{ background:var(--rotex-green-dark); color:#fff; padding:10px 14px; font-size:.86rem; font-family:var(--font-display); }
@media (max-width:760px){ .rx-gallery{ grid-template-columns:1fr 1fr; } }

/* Quality cards */
.rx-qual{ display:flex; gap:16px; align-items:flex-start; background:#fff; border:1px solid var(--rotex-line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow-sm); }
.rx-qual .ic{ flex:none; width:48px; height:48px; border-radius:50%; background:var(--rotex-green); color:#fff; display:grid; place-items:center; font-size:22px; }
.rx-qual b{ font-family:var(--font-display); color:var(--rotex-green-dark); display:block; }
.rx-qual p{ margin:.3em 0 0; color:var(--rotex-muted); font-size:.92rem; }

/* Values list */
.rx-values{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.rx-values li{ background:var(--rotex-mint); border-radius:var(--radius-sm); padding:14px 18px; display:flex; align-items:center; gap:12px; font-weight:600; color:var(--rotex-green-dark); }
.rx-values li::before{ content:"✓"; width:24px; height:24px; border-radius:50%; background:var(--rotex-green); color:#fff; display:grid; place-items:center; font-size:.8rem; flex:none; }

/* CSR */
.rx-csr{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.rx-csr__item .img{ aspect-ratio:1/1; border-radius:var(--radius); background:linear-gradient(135deg,var(--rotex-green),var(--rotex-green-2)); display:grid; place-items:center; color:#fff; font-size:30px; margin-bottom:12px; overflow:hidden; }
.rx-csr__item .img img{ width:100%; height:100%; object-fit:cover; }
.rx-csr__item b{ font-family:var(--font-display); color:var(--rotex-green-dark); display:block; font-size:1rem; }
.rx-csr__item p{ margin:.3em 0 0; color:var(--rotex-muted); font-size:.86rem; }
@media (max-width:880px){ .rx-csr{ grid-template-columns:1fr 1fr; } }

/* Future vision */
.rx-future__img{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--rotex-line); background:linear-gradient(135deg,var(--rotex-green),var(--rotex-green-2)); min-height:300px; display:grid; place-items:center; color:#fff; text-align:center; padding:30px; }
.rx-future__img img{ width:100%; height:100%; object-fit:cover; }
.rx-keyareas{ list-style:none; margin:18px 0 0; padding:0; display:grid; gap:10px; }
.rx-keyareas li{ display:flex; justify-content:space-between; gap:12px; padding:12px 16px; background:var(--rotex-mint-2); border-radius:var(--radius-sm); border-left:4px solid var(--rotex-green); }
.rx-keyareas b{ font-family:var(--font-display); color:var(--rotex-green-dark); }

/* Green plan */
.rx-greentable{ width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--rotex-line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); }
.rx-greentable td{ padding:14px 18px; border-top:1px solid var(--rotex-line); font-size:.95rem; }
.rx-greentable td:first-child{ background:var(--rotex-green-dark); color:#fff; font-family:var(--font-display); font-weight:700; width:34%; }
.rx-greentable tr:first-child td{ border-top:none; }
.rx-milestones{ list-style:none; margin:20px 0 0; padding:0; display:grid; gap:10px; }
.rx-milestones li{ background:var(--rotex-mint); border-radius:var(--radius-sm); padding:14px 18px; font-family:var(--font-display); font-weight:700; color:var(--rotex-green-dark); display:flex; align-items:center; gap:12px; }
.rx-milestones li::before{ content:"◎"; color:var(--rotex-green); font-size:1.2rem; }

/* Contact */
.rx-contact__grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.rx-field{ display:block; margin-bottom:14px; }
.rx-field label{ display:block; font-family:var(--font-display); font-weight:600; font-size:.85rem; color:var(--rotex-green-dark); margin-bottom:6px; }
.rx-field input,.rx-field textarea{ width:100%; border:1px solid var(--rotex-line); border-radius:var(--radius-sm); padding:12px 14px; font-family:var(--font-body); font-size:1rem; background:#fff; }
.rx-field input:focus,.rx-field textarea:focus{ outline:none; border-color:var(--rotex-green); }
.rx-office{ background:#fff; border:1px solid var(--rotex-line); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow-sm); margin-bottom:14px; }
.rx-office h4{ color:var(--rotex-green-dark); font-family:var(--font-display); margin:0 0 6px; }
.rx-office address{ font-style:normal; color:var(--rotex-muted); font-size:.92rem; line-height:1.6; }
@media (max-width:880px){ .rx-contact__grid{ grid-template-columns:1fr; gap:28px; } }

/* ============================================================
   FOOTER refinements (v1.0.1)
   ============================================================ */
.rx-footer__contact a{ font-weight:600; }
.rx-footer__col h4{ color:#fff; }
.rx-footer__links{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.rx-footer__links a{ color:rgba(255,255,255,.82); font-size:.92rem; }
.rx-footer__links a:hover{ color:#fff; padding-left:4px; transition:padding .2s var(--ease); }
.rx-footer__badges{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.rx-footer__badges li{ background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); border-radius:999px; padding:5px 12px; font-size:.78rem; font-family:var(--font-display); font-weight:600; color:#fff; }
.rx-footer__viewall{ color:#9fd9bd; font-family:var(--font-display); font-weight:600; font-size:.88rem; }
.rx-footer__viewall:hover{ color:#fff; }
.rx-footer__cta .rx-btn{ display:inline-flex; }

/* ============================================================
   HERO SLIDER + COMPANY PROFILE (v1.1)
   ============================================================ */
.rx-slider{ position:relative; aspect-ratio:4/3.4; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--rotex-line); }
.rx-slider__track{ position:absolute; inset:0; }
.rx-slide{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity .9s var(--ease); }
.rx-slide.is-active{ opacity:1; }
.rx-slider .rx-hex--badge{ top:14px; left:14px; width:96px; height:96px; z-index:3; }
.rx-slider__dots{ position:absolute; left:0; right:0; bottom:14px; z-index:3; display:flex; gap:8px; justify-content:center; }
.rx-slider__dot{ width:10px; height:10px; border-radius:50%; border:2px solid #fff; background:transparent; cursor:pointer; padding:0; transition:.2s var(--ease); }
.rx-slider__dot.is-active{ background:#fff; transform:scale(1.25); }
.rx-slider__dot:hover{ background:rgba(255,255,255,.6); }

.rx-profile{ background:#fff; border:1px solid var(--rotex-line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); }
.rx-profile__bar{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; padding:16px 20px; background:var(--rotex-green-dark); color:#fff; }
.rx-profile__name{ font-family:var(--font-display); font-weight:700; }
.rx-profile__name i{ font-style:normal; margin-right:6px; }
.rx-profile__actions{ display:flex; gap:10px; flex-wrap:wrap; }
.rx-profile__actions .rx-btn--ghost{ color:#fff; border-color:rgba(255,255,255,.6); }
.rx-profile__actions .rx-btn--ghost:hover{ background:#fff; color:var(--rotex-green-dark); }
.rx-profile__viewer{ width:100%; height:min(80vh,860px); background:var(--rotex-mint-2); }
.rx-profile__viewer iframe{ width:100%; height:100%; border:0; display:block; }
.rx-profile__fallback{ margin:0; padding:12px 20px; font-size:.9rem; color:var(--rotex-muted); border-top:1px solid var(--rotex-line); }
@media (max-width:560px){ .rx-profile__viewer{ height:70vh; } .rx-profile__bar{ flex-direction:column; align-items:flex-start; } }

/* ============================================================
   COMPANY PROFILE — card + slide-in drawer (v1.2)
   ============================================================ */
.rx-profile-card{ display:flex; gap:0; background:#fff; border:1px solid var(--rotex-line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); max-width:760px; }
.rx-profile-card__cover{ flex:none; width:220px; border:0; padding:0; margin:0; cursor:pointer; position:relative; background:var(--rotex-mint); display:block; }
.rx-profile-card__cover img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s var(--ease); }
.rx-profile-card__cover:hover img{ transform:scale(1.04); }
.rx-profile-card__play{ position:absolute; inset:0; margin:auto; width:58px; height:58px; border-radius:50%; background:rgba(14,78,43,.9); color:#fff; display:grid; place-items:center; font-size:24px; padding-left:4px; }
.rx-profile-card__cover:focus-visible{ outline:3px solid var(--rotex-red); outline-offset:-3px; }
.rx-profile-card__body{ padding:26px; display:flex; flex-direction:column; justify-content:center; }
.rx-profile-card__body h3{ font-size:1.15rem; margin-bottom:.4em; }
.rx-profile-card__body p{ color:var(--rotex-muted); font-size:.95rem; margin:0 0 16px; }
.rx-profile-card__actions{ display:flex; gap:12px; flex-wrap:wrap; }
@media (max-width:620px){ .rx-profile-card{ flex-direction:column; } .rx-profile-card__cover{ width:100%; height:200px; } }

.rx-drawer{ position:fixed; inset:0; z-index:200; visibility:hidden; pointer-events:none; }
.rx-drawer.is-open{ visibility:visible; pointer-events:auto; }
.rx-drawer__overlay{ position:absolute; inset:0; background:rgba(7,44,24,.55); opacity:0; transition:opacity .3s var(--ease); }
.rx-drawer.is-open .rx-drawer__overlay{ opacity:1; }
.rx-drawer__panel{ position:absolute; top:0; right:0; bottom:0; width:min(980px,96vw); background:#fff; display:flex; flex-direction:column; transform:translateX(100%); transition:transform .35s var(--ease); box-shadow:-30px 0 60px -30px rgba(7,44,24,.6); }
.rx-drawer.is-open .rx-drawer__panel{ transform:translateX(0); }
.rx-drawer__bar{ flex:none; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:14px 20px; background:var(--rotex-green-dark); color:#fff; }
.rx-drawer__title{ font-family:var(--font-display); font-weight:700; }
.rx-drawer__title i{ font-style:normal; margin-right:6px; }
.rx-drawer__tools{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.rx-drawer__tools .rx-btn--ghost{ color:#fff; border-color:rgba(255,255,255,.6); padding:.55em 1em; }
.rx-drawer__tools .rx-btn--ghost:hover{ background:#fff; color:var(--rotex-green-dark); }
.rx-drawer__tools .rx-btn--white{ padding:.55em 1em; }
.rx-drawer__close{ width:42px; height:42px; border:none; background:rgba(255,255,255,.15); color:#fff; font-size:26px; line-height:1; border-radius:10px; cursor:pointer; transition:.2s var(--ease); }
.rx-drawer__close:hover{ background:rgba(255,255,255,.3); }
.rx-drawer__body{ flex:1; background:var(--rotex-mint-2); min-height:0; }
.rx-drawer__body iframe{ width:100%; height:100%; border:0; display:block; }
@media (max-width:560px){ .rx-drawer__panel{ width:100%; } .rx-drawer__bar{ padding:12px 14px; } .rx-drawer__tools .rx-btn{ font-size:.82rem; } }
