
:root{
  --bg:#f4efe8;
  --surface:#fbf8f3;
  --surface-2:#ece3d8;
  --text:#2d2225;
  --muted:#806f72;
  --burgundy:#5b2438;
  --burgundy-deep:#2a101b;
  --gold:#d2ad63;
  --gold-soft:#ebd19d;
  --line:rgba(91,36,56,.14);
  --shadow:0 28px 80px rgba(49,29,35,.14);
  --max:1280px;
}

html[data-theme="dark"]{
  --bg:#0d0a0b;
  --surface:#171113;
  --surface-2:#21171b;
  --text:#f6eee9;
  --muted:#c0afb1;
  --burgundy:#8f4964;
  --burgundy-deep:#1d0d14;
  --gold:#d9b469;
  --gold-soft:#ecd19a;
  --line:rgba(255,255,255,.09);
  --shadow:0 30px 90px rgba(0,0,0,.42);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Alexandria",sans-serif;
  line-height:1.8;
  overflow-x:hidden;
}
html[lang="en"] body{font-family:"Inter",sans-serif}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(var(--max),calc(100% - 36px));margin:auto}
.ui-icon{
  width:1.25em;height:1.25em;
  fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;
}
.svg-sprite{position:absolute;overflow:hidden}

.site-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  height:92px;
  border-bottom:1px solid rgba(255,255,255,.09);
  background:linear-gradient(to bottom,rgba(4,8,12,.74),rgba(4,8,12,.16));
  backdrop-filter:blur(10px);
}
.site-header.scrolled{
  background:color-mix(in srgb,var(--surface) 90%,transparent);
  border-color:var(--line);
}
.nav-wrap{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.brand img{
  width:180px;
  height:72px;
  object-fit:contain;
  filter:brightness(1.5);
}
.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
  list-style:none;
  margin:0;
  padding:0;
  color:#fff;
  font-size:14px;
  font-weight:500;
}
.site-header.scrolled .nav-links{color:var(--text)}
.nav-links a{
  position:relative;
  padding:8px 0;
}
.nav-links a::after{
  content:"";
  position:absolute;
  bottom:0;
  inset-inline-start:0;
  width:0;
  height:2px;
  background:var(--gold);
  transition:.25s ease;
}
.nav-links a:hover::after,.nav-links a.active::after{width:100%}
.nav-actions{display:flex;align-items:center;gap:10px}
.control-btn{
  min-height:44px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.04);
  color:#fff;
  border-radius:12px;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}
.icon-only{width:44px;padding:0}
.site-header.scrolled .control-btn{
  color:var(--text);
  border-color:var(--line);
  background:var(--surface);
}
.menu-btn{display:none}

.hero{
  min-height:100svh;
  position:relative;
  display:flex;
  align-items:center;
  overflow:hidden;
  isolation:isolate;
  background:#05080b;
}
.hero-bg{
  position:absolute;
  inset:0;
  z-index:-3;
  background:
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=2200&q=92")
    center/cover no-repeat;
  filter:saturate(.8) contrast(1.08) brightness(.6);
  transform:scale(1.02);
}
.hero-shade{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(3,7,10,.35) 0%,rgba(3,7,10,.25) 42%,rgba(3,7,10,.82) 72%,rgba(3,7,10,.96) 100%),
    linear-gradient(to top,rgba(2,5,8,.9),rgba(2,5,8,.08) 45%,rgba(2,5,8,.25));
}
html[dir="ltr"] .hero-shade{
  background:
    linear-gradient(-90deg,rgba(3,7,10,.35) 0%,rgba(3,7,10,.25) 42%,rgba(3,7,10,.82) 72%,rgba(3,7,10,.96) 100%),
    linear-gradient(to top,rgba(2,5,8,.9),rgba(2,5,8,.08) 45%,rgba(2,5,8,.25));
}
.hero-layout{
  width:min(var(--max),calc(100% - 36px));
  min-height:100svh;
  display:flex;
  align-items:center;
  position:relative;
  padding-top:110px;
}
html[dir="rtl"] .hero-layout{
  justify-content:flex-start;
  direction:rtl;
}
html[dir="ltr"] .hero-layout{
  justify-content:flex-start;
  direction:ltr;
}
.hero-copy{
  width:min(650px,48vw);
  color:#fff;
  padding:40px 0 90px;
}
html[dir="rtl"] .hero-copy{
  margin-right:0;
  margin-left:auto;
  text-align:right;
}
html[dir="ltr"] .hero-copy{
  margin-left:0;
  margin-right:auto;
  text-align:left;
}
.hero-kicker{
  display:flex;
  align-items:center;
  gap:18px;
  color:var(--gold);
  font-size:18px;
  margin-bottom:24px;
}
.hero-kicker::after{
  content:"";
  width:42px;
  height:1px;
  background:var(--gold);
}
.hero h1{
  margin:0;
  font-size:clamp(56px,6.8vw,98px);
  line-height:1.15;
  letter-spacing:-2.5px;
  font-weight:700;
  text-wrap:balance;
}
.hero h1 span{color:var(--gold)}
.hero-copy>p{
  max-width:600px;
  margin:26px 0 0;
  color:rgba(255,255,255,.82);
  font-size:18px;
  line-height:2;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:32px;
}
.btn{
  min-height:58px;
  border-radius:999px;
  padding:0 26px;
  border:1px solid transparent;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-weight:600;
  transition:.25s ease;
}
.btn:hover{transform:translateY(-3px)}
.btn-primary{
  background:var(--gold);
  color:#1b1412;
  box-shadow:0 14px 34px rgba(217,180,105,.18);
}
.btn-outline{
  color:#fff;
  border-color:rgba(255,255,255,.45);
  background:rgba(255,255,255,.02);
}
.directional-icon{transition:transform .25s}
html[dir="ltr"] .directional-icon{transform:rotate(180deg)}
.hero-features{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  margin-top:46px;
  max-width:650px;
}
.feature-mini{
  min-height:96px;
  padding:14px 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-inline-start:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.82);
  text-align:center;
  font-size:13px;
}
.feature-mini:first-child{border-inline-start:0}
.feature-mini .ui-icon{
  width:34px;height:34px;
  color:var(--gold);
}
.scroll-hint{
  position:absolute;
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  color:rgba(255,255,255,.76);
  display:grid;
  place-items:center;
  gap:9px;
  font-size:12px;
}
.mouse{
  width:28px;height:45px;
  border:1.5px solid rgba(255,255,255,.72);
  border-radius:18px;
  position:relative;
}
.mouse span{
  width:4px;height:8px;
  background:var(--gold);
  border-radius:99px;
  position:absolute;
  top:8px;left:50%;
  transform:translateX(-50%);
  animation:scrollDot 1.7s infinite;
}
@keyframes scrollDot{
  0%{opacity:0;transform:translate(-50%,0)}
  40%{opacity:1}
  100%{opacity:0;transform:translate(-50%,14px)}
}

.statement,.services-section,.projects-section,.materials-section,.testimonials-section,.contact-section{
  padding:110px 0;
}
.statement{
  background:linear-gradient(110deg,#151315,#211c1a);
  color:#fff;
}
.statement-grid{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:90px;
  align-items:center;
}
.section-kicker{
  color:var(--gold);
  font-size:13px;
  letter-spacing:2px;
  text-transform:uppercase;
  font-weight:600;
}
.statement h2,.section-heading h2,.materials-copy h2,.contact-copy h2{
  margin:14px 0 0;
  font-size:clamp(38px,5vw,62px);
  line-height:1.25;
  font-weight:600;
}
.statement-copy p,.materials-copy p,.contact-copy p{
  color:var(--muted);
  max-width:620px;
  font-size:17px;
}
.statement .statement-copy p{color:rgba(255,255,255,.66)}
.text-link{
  display:inline-block;
  margin-top:20px;
  color:var(--gold);
  border-bottom:1px solid var(--gold);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.stats-grid div{
  padding:22px;
  border-inline-start:1px solid rgba(255,255,255,.15);
  text-align:center;
}
.stats-grid div:first-child{border-inline-start:0}
.stats-grid strong{
  display:block;
  color:var(--gold);
  font-size:40px;
  font-weight:500;
}
.stats-grid span{
  color:rgba(255,255,255,.75);
  font-size:13px;
}

.section-heading{
  max-width:800px;
  margin-bottom:44px;
}
.service-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.service-card{
  background:var(--surface);
  border:1px solid var(--line);
  padding:28px;
  min-height:260px;
  position:relative;
  transition:.3s ease;
}
.service-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
}
.service-card>.ui-icon{
  width:34px;height:34px;
  color:var(--burgundy);
}
.service-card>span{
  position:absolute;
  top:24px;
  inset-inline-end:24px;
  color:var(--gold);
  font-size:13px;
}
.service-card h3{
  margin:42px 0 10px;
  font-size:23px;
}
.service-card p{color:var(--muted);font-size:14px}

.projects-section{background:var(--surface)}
.projects-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  grid-template-rows:360px 360px;
  gap:18px;
}
.project-card{
  position:relative;
  overflow:hidden;
}
.project-card.large{grid-row:1/3}
.project-card img{
  width:100%;height:100%;
  object-fit:cover;
  transition:.6s ease;
  filter:saturate(.88);
}
.project-card:hover img{transform:scale(1.05)}
.project-card::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(18,8,13,.8),transparent 58%);
}
.project-overlay{
  position:absolute;
  z-index:2;
  bottom:24px;
  inset-inline:24px;
  color:#fff;
}
.project-overlay span{color:var(--gold);font-size:13px}
.project-overlay h3{margin:4px 0 0;font-size:26px}

.materials-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:80px;
  align-items:start;
}
.material-list{border-top:1px solid var(--line)}
.material-list div{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:24px 0;
  border-bottom:1px solid var(--line);
  font-size:20px;
}
.material-list b{
  color:var(--gold);
  font-weight:500;
}

.testimonials-section{background:var(--surface-2)}
.testimonial-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.testimonial-card{
  background:var(--surface);
  border:1px solid var(--line);
  padding:32px;
}
.testimonial-card>.ui-icon{
  width:34px;height:34px;
  color:var(--gold);
}
.testimonial-card p{
  color:var(--muted);
  font-size:18px;
  min-height:100px;
}
.testimonial-card strong{display:block}
.testimonial-card span{font-size:13px;color:var(--muted)}

.contact-section{background:var(--burgundy-deep);color:#fff}
.contact-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:80px;
}
.contact-copy p{color:rgba(255,255,255,.68)}
.contact-info{display:grid;gap:12px;margin-top:28px}
.contact-info a{display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.8)}
.contact-form{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  padding:32px;
  backdrop-filter:blur(12px);
}
.contact-form label{
  display:grid;
  gap:8px;
  margin-bottom:18px;
}
.contact-form label>span{font-size:13px;color:rgba(255,255,255,.72)}
.contact-form input,.contact-form textarea{
  border:0;
  border-bottom:1px solid rgba(255,255,255,.2);
  background:transparent;
  color:#fff;
  padding:11px 0;
  outline:none;
}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:rgba(255,255,255,.4)}

footer{
  background:#0a0708;
  color:#fff;
  padding:32px 0;
}
.footer-layout{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:28px;
  align-items:center;
}
.footer-logo{
  width:120px;height:64px;
  object-fit:contain;
  filter:brightness(1.5);
}
footer p{margin:0;color:rgba(255,255,255,.62)}
footer span{font-size:13px;color:rgba(255,255,255,.48)}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:.75s ease;
}
.reveal.show{
  opacity:1;
  transform:none;
}

@media(max-width:1080px){
  .nav-links{gap:20px;font-size:13px}
  .brand img{width:145px}
  .hero-copy{width:min(660px,58vw)}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .statement-grid,.materials-layout,.contact-layout{grid-template-columns:1fr}
}

@media(max-width:880px){
  .main-nav{
    position:fixed;
    top:92px;
    inset-inline:18px;
    display:none;
  }
  .main-nav.open{display:block}
  .nav-links{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:18px;
    background:var(--surface);
    color:var(--text);
    border:1px solid var(--line);
    box-shadow:var(--shadow);
  }
  .menu-btn{display:flex}
  .language-btn span{display:none}
  .hero-copy{
    width:min(690px,100%);
    margin-inline-start:0;
    margin-inline-end:0;
    padding-bottom:120px;
  }
  .hero-shade{
    background:linear-gradient(to top,rgba(3,7,10,.96),rgba(3,7,10,.42),rgba(3,7,10,.66));
  }
  html[dir="ltr"] .hero-shade{
    background:linear-gradient(to top,rgba(3,7,10,.96),rgba(3,7,10,.42),rgba(3,7,10,.66));
  }
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .projects-grid{grid-template-columns:1fr 1fr;grid-template-rows:340px 260px}
  .project-card.large{grid-column:1/3;grid-row:auto}
}

@media(max-width:640px){
  .site-header{height:76px}
  .brand img{width:112px;height:56px}
  .main-nav{top:76px}
  .hero-layout{padding-top:82px}
  .hero-copy{padding:34px 0 120px}
  .hero-kicker{font-size:14px}
  .hero h1{
    font-size:48px;
    line-height:1.25;
    letter-spacing:-1.5px;
  }
  .hero-copy>p{font-size:15px;line-height:1.9}
  .hero-actions{flex-direction:column;align-items:stretch}
  .btn{width:100%}
  .hero-features{
    grid-template-columns:repeat(2,1fr);
    margin-top:32px;
  }
  .feature-mini:nth-child(3){border-inline-start:0}
  .statement,.services-section,.projects-section,.materials-section,.testimonials-section,.contact-section{padding:78px 0}
  .service-grid,.testimonial-grid{grid-template-columns:1fr}
  .projects-grid{grid-template-columns:1fr;grid-template-rows:repeat(3,300px)}
  .project-card.large{grid-column:auto}
  .stats-grid{grid-template-columns:1fr 1fr}
  .footer-layout{grid-template-columns:1fr;text-align:center}
  .footer-logo{margin:auto}
}


/* Explicit language-direction alignment */
html[dir="rtl"] .hero-kicker,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .hero-features{
  direction:rtl;
}
html[dir="ltr"] .hero-kicker,
html[dir="ltr"] .hero-actions,
html[dir="ltr"] .hero-features{
  direction:ltr;
}
html[dir="rtl"] .hero-kicker::after{
  order:2;
}
html[dir="ltr"] .hero-kicker::after{
  order:2;
}
html[dir="rtl"] .hero-copy > p{
  margin-right:0;
  margin-left:auto;
}
html[dir="ltr"] .hero-copy > p{
  margin-left:0;
  margin-right:auto;
}
@media(max-width:880px){
  html[dir="rtl"] .hero-copy,
  html[dir="ltr"] .hero-copy{
    width:min(690px,100%);
    margin-left:0;
    margin-right:0;
  }
}
