/* ===========================================================
   RED — Road Engineering Development
   Brand: Orange #E87722  |  Charcoal #2D2D2D
   Background: Warm desert sand — unique RED palette
   =========================================================== */

:root{
  --orange:       #E87722;
  --orange-dark:  #C8631A;
  --charcoal:     #2D2D2D;
  --ink:          #1A1A1A;
  --text:         #3A3631;
  --muted:        #7A7268;
  --line:         #E2DDD5;
  --sand:         #F3EFE5;
  --sand-deep:    #EAE5D9;
  --sand-card:    #FDFAF5;
  --bg-dark:      #1C1A17;
  --radius:       6px;
  --shadow-sm:    0 1px 3px rgba(60,45,20,0.06);
  --shadow-md:    0 8px 28px rgba(60,45,20,0.09);
  --max:          1200px;
  --header-h:     72px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}

/* ── Unique RED background: warm desert sand + barely-visible dot grid ── */
body{
  margin:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size:16px;
  line-height:1.65;
  color:var(--text);
  background-color:var(--sand);
  background-image:radial-gradient(circle, rgba(160,120,55,0.07) 1px, transparent 1px);
  background-size:26px 26px;
  -webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
.container{max-width:var(--max);margin:0 auto;padding:0 32px;}

/* ============ HEADER ============ */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(243,239,229,0.92);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:var(--header-h);gap:24px;
}
.logo{display:flex;align-items:center;flex-shrink:0;}
.logo-mark{height:44px;width:auto;display:block;}

.nav-list{
  list-style:none;display:flex;gap:28px;margin:0;padding:0;align-items:center;
}
.nav-list a{
  font-size:14px;font-weight:500;color:var(--charcoal);
  transition:color .15s ease;
}
.nav-list a:hover{color:var(--orange);}

/* Pill-style Contact CTA */
.nav-list .nav-cta{
  background:var(--charcoal);color:#fff;
  padding:10px 22px;border-radius:50px;
  font-weight:600;font-size:14px;
  transition:background .18s ease;
}
.nav-list .nav-cta:hover{background:var(--orange);}

.nav-list .lang-switch a{
  font-size:13px;font-weight:600;color:var(--muted);
  padding:6px 12px;border:1px solid var(--line);border-radius:50px;
}
.nav-list .lang-switch a:hover{color:var(--orange);border-color:var(--orange);}

.nav-toggle{
  display:none;background:transparent;border:0;width:40px;height:40px;
  cursor:pointer;padding:8px;flex-direction:column;justify-content:space-between;
}
.nav-toggle span{display:block;height:2px;background:var(--charcoal);border-radius:2px;}

/* ============ HERO — full viewport, image behind, text at base ============ */
.hero{
  position:relative;
  height:100vh;
  min-height:640px;
  display:flex;
  align-items:flex-end;
  padding-bottom:80px;
  overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;z-index:0;
}
.hero-bg-img{
  width:100%;height:100%;object-fit:cover;object-position:50% 42%;display:block;
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(
    to top,
    rgba(20,15,8,0.88) 0%,
    rgba(20,15,8,0.45) 38%,
    rgba(20,15,8,0.08) 100%
  );
}
.hero-inner{
  position:relative;z-index:1;
  width:100%;
  display:grid;
  grid-template-columns:1fr;
  max-width:840px;
}

/* Eyebrow dot — shared with all sections */
.eyebrow,.section-eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  text-transform:uppercase;letter-spacing:0.16em;
  font-size:11.5px;font-weight:700;
  margin:0 0 18px;
}
.eyebrow::before,.section-eyebrow::before{
  content:"";width:9px;height:9px;
  background:var(--orange);border-radius:50%;
  display:inline-block;flex-shrink:0;
}
.eyebrow{color:var(--orange);}
.section-eyebrow{color:var(--orange);}

.hero h1{
  font-size:clamp(44px,6.5vw,84px);
  line-height:1.03;letter-spacing:-0.03em;
  font-weight:800;color:#fff;
  margin:0 0 24px;
}
.lede{
  font-size:17px;color:rgba(255,255,255,0.72);
  max-width:620px;margin:0 0 36px;line-height:1.65;
}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;}

/* Buttons */
.btn{
  display:inline-block;font-size:15px;font-weight:600;
  padding:14px 28px;border-radius:50px;
  transition:all .18s ease;cursor:pointer;border:none;
}
.btn-primary{background:var(--orange);color:#fff;}
.btn-primary:hover{background:var(--orange-dark);}
.btn-outline{
  color:#fff;
  border:1.5px solid rgba(255,255,255,0.55);
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(4px);
}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,0.16);}
.btn-ghost{
  color:var(--charcoal);
  border:1.5px solid var(--line);
  background:transparent;
}
.btn-ghost:hover{border-color:var(--charcoal);}
.btn-block{display:block;text-align:center;width:100%;margin-top:8px;border-radius:var(--radius);}

/* ============ TRUST BAR ============ */
.trust-bar{
  background:var(--bg-dark);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.trust-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  padding:0;
}
.trust-grid > div{
  display:flex;flex-direction:column;gap:6px;
  padding:32px 28px;
  border-right:1px solid rgba(255,255,255,0.07);
  transition:background .2s;
}
.trust-grid > div:last-child{border-right:none;}
.trust-grid > div:hover{background:rgba(232,119,34,0.06);}
.trust-grid strong{
  font-size:15px;color:#fff;font-weight:700;
  letter-spacing:-0.01em;
}
.trust-grid span{font-size:12.5px;color:#9A9488;line-height:1.5;}

/* ============ SECTIONS ============ */
.section{padding:104px 0;}
.section-alt{
  background:var(--sand-deep);
  background-image:none;
}
.section h2{
  font-size:clamp(30px,3.6vw,48px);
  line-height:1.1;margin:0 0 20px;
  font-weight:800;letter-spacing:-0.025em;color:var(--ink);
}
.brand-accent{color:var(--orange);}
.section-head{max-width:760px;margin:0 0 60px;}
.section-sub{color:var(--muted);font-size:17px;margin:0;line-height:1.65;}

.two-col{display:grid;grid-template-columns:1fr 1.6fr;gap:72px;align-items:start;}
.col-narrow{position:sticky;top:calc(var(--header-h) + 24px);}
.col-wide p{margin:0 0 18px;font-size:16.5px;color:var(--text);}
.checklist{list-style:none;padding:0;margin:28px 0 0;}
.checklist li{
  position:relative;padding-left:30px;margin-bottom:13px;font-size:15.5px;color:var(--text);
}
.checklist li::before{
  content:"";position:absolute;left:0;top:8px;
  width:13px;height:8px;
  border-left:2.5px solid var(--orange);border-bottom:2.5px solid var(--orange);
  transform:rotate(-45deg);
}

/* ============ CAPABILITIES CARDS ============ */
.cards-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:20px;
}
.card{
  background:var(--sand-card);
  border:1px solid var(--line);
  border-radius:10px;
  padding:34px;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
  display:flex;flex-direction:column;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
  border-color:rgba(232,119,34,0.3);
}
.card-wide{grid-column:1/-1;}
.card-icon{
  width:46px;height:46px;border-radius:10px;
  background:rgba(232,119,34,0.1);color:var(--orange);
  display:flex;align-items:center;justify-content:center;margin-bottom:22px;
}
.card-icon svg{width:22px;height:22px;}
.card h3{font-size:19px;font-weight:700;margin:0 0 10px;color:var(--ink);letter-spacing:-0.015em;}
.card p{margin:0 0 16px;color:var(--muted);font-size:15px;line-height:1.6;}
.card-tag{
  margin-top:auto;font-size:11px;font-weight:700;letter-spacing:0.12em;
  text-transform:uppercase;color:var(--muted);
  border-top:1px solid var(--line);padding-top:14px;
}
.card-flagship{
  border-color:rgba(232,119,34,0.35);
  background:linear-gradient(135deg,rgba(232,119,34,0.06) 0%,var(--sand-card) 55%);
}
.card-flagship .card-icon{background:rgba(232,119,34,0.18);}

/* ============ CLIMATE SECTION ============ */
.climate-section{background:var(--bg-dark);background-image:
  radial-gradient(ellipse at 90% 10%,rgba(232,119,34,0.15) 0%,transparent 55%);
}
.climate-section .section-eyebrow{color:var(--orange);}
.climate-section .section-head h2{color:#fff;}
.climate-section .section-sub{color:#8A8278;}
.climate-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
.climate-card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:10px;
  padding:28px;display:flex;flex-direction:column;gap:10px;
  transition:background .2s;
}
.climate-card:hover{background:rgba(255,255,255,0.07);}
.climate-stat{
  font-size:34px;font-weight:800;color:var(--orange);
  letter-spacing:-0.02em;line-height:1;margin-bottom:4px;
}
.climate-card h3{font-size:16px;font-weight:700;color:#fff;margin:0;letter-spacing:-0.01em;}
.climate-card p{font-size:14px;color:#7A7268;margin:0;line-height:1.6;}

/* ============ TEXTURE STRIP ============ */
.texture-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:3px;background:#0E0C0A;
}
.t-tile{
  position:relative;margin:0;overflow:hidden;
  aspect-ratio:3/2;background:#111;
}
.t-tile img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .55s ease;display:block;
}
.t-tile:hover img{transform:scale(1.05);}
.t-tile figcaption{
  position:absolute;left:14px;bottom:12px;
  color:#fff;font-size:11px;font-weight:700;
  text-transform:uppercase;letter-spacing:0.1em;
  background:rgba(0,0,0,0.6);padding:5px 10px;border-radius:3px;
  backdrop-filter:blur(4px);
}

/* ============ VISION 2030 ============ */
.vision-section{
  background:var(--bg-dark);
  background-image:
    radial-gradient(ellipse at 75% 15%,rgba(232,119,34,0.16) 0%,transparent 52%),
    radial-gradient(ellipse at 20% 80%,rgba(232,119,34,0.07) 0%,transparent 40%);
}
.vision-section .section-eyebrow{color:var(--orange);}
.on-dark{color:#C8C2B8;}
h2.on-dark,
.on-dark h2{color:#fff;}
.col-wide.on-dark p,
.on-dark p{font-size:16.5px;margin:0 0 18px;line-height:1.7;color:#C8C2B8;}

/* ============ CONTACT ============ */
.contact-inner{
  display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start;
}
.contact-copy h2{margin-bottom:16px;}
.contact-copy p{color:var(--muted);font-size:17px;line-height:1.65;}
.contact-card{
  background:var(--sand-card);
  border:1px solid var(--line);border-radius:10px;
  padding:44px 40px;box-shadow:var(--shadow-sm);
}
.contact-id{margin:0 0 28px;padding-bottom:24px;border-bottom:1px solid var(--line);}
.contact-name{
  font-size:21px;font-weight:700;color:var(--ink);
  margin:0 0 8px;letter-spacing:-0.015em;line-height:1.3;
}
.contact-region{
  font-size:11.5px;color:var(--muted);margin:0;
  text-transform:uppercase;letter-spacing:0.16em;font-weight:600;
}
.contact-address{
  font-size:15.5px;color:var(--ink);
  margin:0 0 28px;padding-bottom:24px;
  border-bottom:1px solid var(--line);
  line-height:1.7;
}
.contact-email{
  display:block;font-size:17px;font-weight:600;
  color:var(--orange);letter-spacing:-0.005em;
  margin-bottom:28px;transition:color .15s ease;
}
.contact-email:hover{color:var(--orange-dark);}

/* ============ FOOTER ============ */
.site-footer{
  background:var(--bg-dark);
  border-top:1px solid rgba(255,255,255,0.06);
  color:#C0B9AE;padding:44px 0 28px;font-size:14px;
}
.footer-inner{
  display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px;align-items:center;
}
.footer-brand{display:flex;flex-direction:column;gap:6px;}
.footer-logo{height:72px;width:auto;max-width:280px;display:block;}
.footer-name{color:#fff;font-weight:700;font-size:15px;}
.footer-meta{color:#6B6560;font-size:13px;}
.footer-links{display:flex;gap:24px;flex-wrap:nowrap;align-items:center;}
.footer-links a{color:#C0B9AE;font-size:14px;transition:color .15s;white-space:nowrap;}
.footer-links a:hover{color:var(--orange);}
.footer-legal{font-size:12px;color:#6B6560;text-align:right;white-space:nowrap;}

/* ============ RESPONSIVE ============ */
@media (max-width:960px){
  .hero{height:auto;min-height:560px;padding:120px 0 60px;}
  .hero h1{font-size:clamp(36px,7vw,56px);}
  .hero-bg-img{object-position:55% 50%;}
  .trust-grid{grid-template-columns:repeat(2,1fr);}
  .trust-grid > div{border-right:none;border-bottom:1px solid rgba(255,255,255,0.07);}
  .two-col{grid-template-columns:1fr;gap:36px;}
  .col-narrow{position:static;}
  .cards-grid{grid-template-columns:1fr;}
  .climate-grid{grid-template-columns:repeat(2,1fr);}
  .contact-inner{grid-template-columns:1fr;gap:36px;}
  .footer-inner{grid-template-columns:1fr;gap:20px;}
  .footer-legal{text-align:left;}
  .section{padding:72px 0;}
  .texture-strip{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:720px){
  .nav-toggle{display:flex;}
  .nav-list{
    display:none;position:absolute;top:var(--header-h);left:0;right:0;
    background:rgba(243,239,229,0.97);backdrop-filter:blur(12px);
    flex-direction:column;align-items:stretch;gap:0;
    border-bottom:1px solid var(--line);box-shadow:var(--shadow-md);
  }
  .nav-list.open{display:flex;}
  .nav-list li{border-top:1px solid var(--line);}
  .nav-list a{display:block;padding:16px 20px;}
  .nav-list .nav-cta{border-radius:0;padding:16px 20px;text-align:left;}
}
@media (max-width:580px){
  .climate-grid{grid-template-columns:1fr;}
  .hero{min-height:520px;padding:100px 0 50px;}
  .trust-grid > div:last-child{border-bottom:none;}
}
