
/* =========================================================
   RGA — PRODUCTION READY DEFINITIVE STYLESHEET
   Premium responsive stylesheet for cPanel deployment
   Structure expected:
   /index.html
   /assets/css/style.css
   /assets/js/main.js
   /assets/img/*
   ========================================================= */

:root{
  --bg:#06110d;
  --bg-2:#0a1813;
  --bg-3:#0d2119;
  --surface:rgba(255,255,255,.05);
  --surface-2:rgba(255,255,255,.08);
  --surface-3:rgba(255,255,255,.12);
  --line:rgba(255,255,255,.10);
  --line-strong:rgba(255,255,255,.16);
  --text:#edf8f2;
  --muted:rgba(237,248,242,.74);
  --muted-2:rgba(237,248,242,.56);
  --primary:#43f0a0;
  --primary-2:#20d27d;
  --accent:#55c8ff;
  --accent-2:#7ed8ff;
  --success:#7cffc1;
  --danger:#ff8c8c;
  --shadow-xl:0 30px 90px rgba(0,0,0,.35);
  --shadow-lg:0 20px 60px rgba(0,0,0,.28);
  --shadow-md:0 14px 40px rgba(0,0,0,.22);
  --radius-xl:32px;
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:14px;
  --max:1240px;
  --header-h:78px;
  --font:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --section-bg:none;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(900px 520px at 10% -10%, rgba(67,240,160,.13), transparent 60%),
    radial-gradient(800px 520px at 100% 0%, rgba(85,200,255,.10), transparent 58%),
    linear-gradient(180deg,var(--bg),var(--bg-2) 45%,var(--bg-3));
  overflow-x:hidden;
  text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
button,input,textarea,select{font:inherit}

::selection{
  background:rgba(67,240,160,.24);
  color:#fff;
}

.page-noise{
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:.035;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.9) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.7) 0 1px, transparent 1px);
  background-size:18px 18px, 24px 24px;
  mix-blend-mode:soft-light;
}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin-inline:auto;
  position:relative;
  z-index:2;
}

/* =========================
   TOPBAR / NAV
   ========================= */
.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  min-height:var(--header-h);
  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  background:
    linear-gradient(180deg, rgba(5,13,10,.84), rgba(5,13,10,.68));
  border-bottom:1px solid rgba(255,255,255,.07);
  box-shadow:0 8px 30px rgba(0,0,0,.16);
}

.nav{
  min-height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:10px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.brand img{
  height:42px;
  width:auto;
  object-fit:contain;
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.24));
}

.brand-meta{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  min-width:0;
}

.brand-meta strong{
  font-size:15px;
  font-weight:800;
  letter-spacing:-.02em;
  white-space:nowrap;
}

.brand-meta small{
  margin-top:4px;
  color:var(--muted-2);
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:700;
  white-space:nowrap;
}

.menu,
.nav-actions,
.lang-switch,
.hero-actions,
.footer-links,
.foot{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.menu{
  justify-content:center;
  flex:1 1 auto;
}

.menu a{
  position:relative;
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  font-size:14px;
  font-weight:600;
  transition:color .22s ease, background .22s ease, transform .22s ease;
}

.menu a::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:7px;
  height:1.5px;
  background:linear-gradient(90deg, transparent, var(--primary), transparent);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .22s ease;
  opacity:.8;
}

.menu a:hover,
.menu a:focus-visible{
  color:#fff;
  background:rgba(255,255,255,.05);
  transform:translateY(-1px);
}

.menu a:hover::after,
.menu a:focus-visible::after{
  transform:scaleX(1);
}

.btn{
  appearance:none;
  border:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, var(--surface-2), var(--surface));
  color:var(--text);
  cursor:pointer;
  font-weight:700;
  font-size:14px;
  line-height:1;
  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    color .22s ease;
  box-shadow:0 10px 26px rgba(0,0,0,.14);
  text-decoration:none;
}

.btn:hover,
.btn:focus-visible{
  transform:translateY(-2px);
  background:linear-gradient(180deg, var(--surface-3), var(--surface-2));
  border-color:var(--line-strong);
  box-shadow:0 16px 34px rgba(0,0,0,.18);
}

.btn.primary{
  color:#032116;
  border-color:rgba(67,240,160,.30);
  background:linear-gradient(180deg, var(--primary), var(--primary-2));
  box-shadow:0 18px 40px rgba(67,240,160,.22);
}

.btn.primary:hover,
.btn.primary:focus-visible{
  box-shadow:0 22px 46px rgba(67,240,160,.28);
}

.btn.ghost{
  background:rgba(255,255,255,.02);
}

.lang-btn.active{
  background:linear-gradient(180deg, rgba(67,240,160,.20), rgba(67,240,160,.10));
  border-color:rgba(67,240,160,.34);
  color:#fff;
}

.mobile-toggle{
  display:none;
}

/* =========================
   HERO
   ========================= */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:center;
  overflow:hidden;
  isolation:isolate;
}

.hero-slide{
  position:absolute;
  inset:0;
  z-index:-3;
  opacity:0;
  background-size:cover;
  background-position:center center;
  transform:scale(1.04);
  transition:opacity .9s ease, transform 6s ease;
  will-change:opacity, transform;
}

.hero-slide.active{
  opacity:1;
  transform:scale(1);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(700px 320px at 18% 18%, rgba(67,240,160,.16), transparent 58%),
    radial-gradient(640px 240px at 85% 25%, rgba(85,200,255,.12), transparent 60%);
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(180deg, rgba(2,8,6,.22), rgba(2,8,6,.66) 75%, rgba(2,8,6,.86));
}

.hero-grid{
  min-height:calc(100svh - var(--header-h));
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  gap:28px;
  align-items:center;
  padding:88px 0 56px;
}

.eyebrow,
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
}

.eyebrow{
  padding:11px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  backdrop-filter:blur(10px);
  color:var(--muted);
  font-size:13px;
  font-weight:600;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.kicker{
  color:#95e7c1;
  letter-spacing:.15em;
  text-transform:uppercase;
  font-size:12px;
  font-weight:700;
  margin-bottom:8px;
}

h1,h2,h3{
  margin:0;
}

h1{
  margin-top:16px;
  font-size:clamp(40px, 6vw, 86px);
  line-height:0.98;
  letter-spacing:-.045em;
  max-width:11.2ch;
  text-wrap:balance;
}

h2{
  font-size:clamp(32px, 4vw, 56px);
  line-height:1.02;
  letter-spacing:-.04em;
  text-wrap:balance;
}

h3{
  font-size:20px;
  letter-spacing:-.025em;
  font-weight:700;
}

.lead,
.sub{
  color:var(--muted);
  margin-top:18px;
  max-width:66ch;
  font-size:clamp(17px, 1.9vw, 21px);
  line-height:1.65;
  text-wrap:pretty;
}

.hero-actions{
  margin-top:28px;
}

.hero-card,
.card,
.metric-card,
.logo-item,
.accordion,
.form-shell,
.contact-cta{
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  backdrop-filter:blur(14px) saturate(135%);
  -webkit-backdrop-filter:blur(14px) saturate(135%);
  box-shadow:var(--shadow-lg);
  border-radius:var(--radius-xl);
}

.hero-card,
.card,
.metric-card,
.contact-cta{
  padding:22px;
}

.hero-card{
  position:relative;
  overflow:hidden;
}

.hero-card::before,
.metric-card::before,
.contact-cta::before{
  content:"";
  position:absolute;
  inset:auto auto -80px -80px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(67,240,160,.16), transparent 68%);
  pointer-events:none;
}

.mini-label{
  color:var(--muted-2);
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:14px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}

.stat{
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.10);
  min-height:104px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.stat strong{
  font-size:30px;
  line-height:1;
  letter-spacing:-.04em;
}

.stat span{
  display:block;
  margin-top:7px;
  color:var(--muted-2);
  font-size:12px;
  line-height:1.45;
}

.metric-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:100%;
}

.metric-big{
  font-size:clamp(68px, 10vw, 118px);
  line-height:.90;
  letter-spacing:-.06em;
  font-weight:800;
  margin-bottom:10px;
}

/* =========================
   SECTIONS
   ========================= */
.section{
  position:relative;
  padding:110px 0;
  overflow:hidden;
}

.section.soft{
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.05);
}

.section > .container{
  position:relative;
  z-index:2;
}

.section-head{
  max-width:920px;
  margin-bottom:34px;
}

.grid-2,
.grid-3,
.grid-4,
.kpi-strip,
.logo-grid,
.form-grid{
  display:grid;
  gap:18px;
}

.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}

.card{
  position:relative;
  overflow:hidden;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease,
    background .28s ease;
}

.card:hover{
  transform:translateY(-5px);
  border-color:rgba(67,240,160,.26);
  box-shadow:var(--shadow-xl);
}

.card p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
  font-size:15.5px;
}

.reveal-card::after{
  content:"";
  position:absolute;
  right:-60px;
  bottom:-60px;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(85,200,255,.14), transparent 66%);
  pointer-events:none;
}

.pills{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.pills span{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  font-size:14px;
  color:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.icon-clean{
  width:48px;
  height:48px;
  margin-bottom:16px;
}

.icon-clean img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 10px 20px rgba(0,0,0,.22));
}

.media{
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  align-items:center;
  gap:22px;
}

.figure{
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  box-shadow:var(--shadow-lg);
  min-height:100%;
}

.figure img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.feature-list{
  list-style:none;
  padding:0;
  margin:18px 0 0;
  display:grid;
  gap:12px;
}

.feature-list li{
  padding:15px 16px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:rgba(255,255,255,.035);
  color:var(--muted);
  line-height:1.55;
}

.kpi-strip{
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:20px;
}

.kpi-box{
  padding:16px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:rgba(0,0,0,.11);
}

.kpi-box .label{
  color:var(--muted-2);
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-weight:700;
}

.kpi-box .value{
  margin-top:8px;
  font-size:30px;
  line-height:1;
  letter-spacing:-.04em;
  font-weight:800;
}

.compact-grid{
  margin-top:20px;
}

.mini-card{
  padding:18px;
}

.mini-card h3{
  margin-bottom:8px;
  font-size:26px;
}

.logo-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
}

.logo-item{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(255,255,255,.04);
  transition:transform .22s ease, border-color .22s ease;
}

.logo-item:hover{
  transform:translateY(-3px);
  border-color:rgba(67,240,160,.20);
}

.logo-item img{
  max-width:100%;
  max-height:48px;
  object-fit:contain;
  opacity:.96;
}

/* =========================
   PARALLAX BACKGROUNDS
   ========================= */
.parallax{
  background-attachment:fixed;
  background-position:center;
  background-size:cover;
}

.hero-parallax{
  background-image:linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.05));
}

.subtle-parallax::before,
.services-section::before,
.territories-section::before,
.trust-section::before,
.contact-section::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}

.subtle-parallax::before{
  background:
    linear-gradient(180deg, rgba(5,14,11,.76), rgba(5,14,11,.90)),
    var(--section-bg) center/cover no-repeat;
  opacity:.24;
}

.services-section::before{
  background:
    linear-gradient(180deg, rgba(5,14,11,.74), rgba(5,14,11,.88)),
    url('../img/services-bg.jpg') center/cover no-repeat;
  opacity:.34;
}

.territories-section::before{
  background:
    linear-gradient(180deg, rgba(6,14,11,.78), rgba(6,14,11,.88)),
    url('../img/hero-map.jpg') center/cover no-repeat;
  opacity:.15;
}

.trust-section::before{
  background:
    linear-gradient(180deg, rgba(5,14,11,.78), rgba(5,14,11,.90)),
    url('../img/macro-green.jpg') center/cover no-repeat;
  opacity:.28;
}

.contact-section::before{
  background:
    linear-gradient(180deg, rgba(5,14,11,.74), rgba(5,14,11,.92)),
    url('../img/global-bg-2.png') center/cover no-repeat;
  opacity:.18;
}

/* =========================
   CONTACT
   ========================= */
.contact-cta{
  text-align:center;
  padding:38px 24px;
}

.accordion{
  margin-top:24px;
  padding:14px 16px;
  text-align:left;
}

summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
}

summary::-webkit-details-marker{display:none}

.chevron{
  color:var(--muted);
  transition:transform .22s ease;
}

details[open] .chevron{
  transform:rotate(180deg);
}

.form-shell{
  margin-top:16px;
  padding:18px;
  border-radius:24px;
}

.form-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.field{
  display:grid;
  gap:6px;
}

.form-message,
.form-actions{
  grid-column:1 / -1;
}

.label{
  color:var(--muted-2);
  font-size:12px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
}

input,
textarea{
  width:100%;
  border:none;
  outline:none;
  padding:14px 15px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.10);
  color:var(--text);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease,
    background .2s ease;
}

textarea{
  min-height:132px;
  resize:vertical;
}

input::placeholder,
textarea::placeholder{
  color:rgba(237,248,242,.42);
}

input:focus,
textarea:focus{
  border-color:rgba(67,240,160,.34);
  box-shadow:0 0 0 4px rgba(67,240,160,.10);
  transform:translateY(-1px);
  background:rgba(0,0,0,.14);
}

/* =========================
   FOOTER
   ========================= */
.footer{
  position:relative;
  padding:30px 0 40px;
  border-top:1px solid rgba(255,255,255,.07);
  background:rgba(0,0,0,.18);
  z-index:3;
}

.foot{
  justify-content:space-between;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.footer-brand img{
  height:36px;
  width:auto;
}

.footer-brand span{
  color:var(--muted-2);
  font-size:13px;
}

.footer-links a{
  color:var(--muted);
  font-size:14px;
  transition:color .22s ease, transform .22s ease;
}

.footer-links a:hover{
  color:#fff;
  transform:translateY(-1px);
}

.linkedin-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.linkedin-link svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

/* =========================
   REVEAL ANIMATIONS
   ========================= */
.reveal{
  opacity:0;
  transform:translateY(36px);
  transition:
    opacity .8s cubic-bezier(.2,.75,.18,1),
    transform .8s cubic-bezier(.2,.75,.18,1);
  will-change:opacity, transform;
}

.reveal.revealed{
  opacity:1;
  transform:none;
}

.scale{
  transform:translateY(24px) scale(.965);
}

.scale.revealed{
  transform:translateY(0) scale(1);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1180px){
  .hero-grid,
  .media,
  .grid-2{
    grid-template-columns:1fr;
  }
  .grid-4{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .grid-3,
  .logo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .kpi-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  h1{
    max-width:13ch;
  }
}

@media (max-width: 920px){
  .menu,
  .nav-actions{
    display:none;
  }
  .mobile-toggle{
    display:inline-flex;
  }
  .brand-meta strong{
    font-size:14px;
  }
}

@media (max-width: 760px){
  .container{
    width:min(var(--max), calc(100% - 28px));
  }
  .section{
    padding:84px 0;
  }
  .hero-grid{
    padding:74px 0 40px;
  }
  .grid-4,
  .grid-3,
  .stats,
  .form-grid,
  .logo-grid,
  .kpi-strip{
    grid-template-columns:1fr;
  }
  h1{
    max-width:none;
    font-size:clamp(34px, 11vw, 56px);
  }
  h2{
    font-size:clamp(28px, 8vw, 42px);
  }
  .parallax{
    background-attachment:scroll;
  }
  .page-noise{
    display:none;
  }
  .hero-card,
  .card,
  .metric-card,
  .contact-cta{
    padding:18px;
  }
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
  }
  .hero-slide{
    transition:none !important;
  }
}
