:root{
  --bg:#0b0b0d;
  --panel: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --gold: #c9a24a;
  --max: 1100px;
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 20% 10%, rgba(201,162,74,0.14), transparent 55%),
              radial-gradient(900px 600px at 80% 0%, rgba(255,255,255,0.06), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height:1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11,11,13,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}
.brand{
  display:flex;
  gap:12px;
  align-items:center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand .mark{
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 35% 35%, rgba(201,162,74,0.9), rgba(201,162,74,0.15) 55%, rgba(0,0,0,0) 70%),
              rgba(255,255,255,0.03);
}
.brand .name{
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}
.navlinks{
  display:flex;
  gap: 18px;
  font-size: 13px;
  opacity: 0.9;
}
.navlinks a{ opacity: 0.85; }
.navlinks a:hover{ opacity: 1; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.35);
  cursor:pointer;
  font-weight: 600;
  font-size: 13px;
}
.btn.primary{
  border-color: rgba(201,162,74,0.45);
  background: rgba(201,162,74,0.12);
}
.btn:hover{ background: rgba(0,0,0,0.55); }
.btn.primary:hover{ background: rgba(201,162,74,0.18); }

.hero{
  padding: 96px 0 72px;
  background:
    radial-gradient(1100px 650px at 20% 20%, rgba(201,162,74,0.26), rgba(0,0,0,0) 58%),
    linear-gradient(180deg, rgba(11,11,13,0.12), rgba(11,11,13,0.60)),
    url("assets/hero/hero-bg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero-wrap{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items:center;
}
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}
.hero p{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 52ch;
}
.hero-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.hero-card{
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px;
}
.hero-card .kicker{
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}
.hero-card ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.82);
}
.hero-card li{ margin: 6px 0; }

.section{
  padding: 54px 0;
}
.section-title{
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: 0.02em;
}
.section-subtitle{
  margin: 0 0 18px;
  color: var(--muted);
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px;
}
.card h3{ margin: 0 0 8px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); font-size: 14px; }

.steps{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
.step .num{
  width: 34px; height: 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  border: 1px solid rgba(201,162,74,0.45);
  background: rgba(201,162,74,0.10);
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  margin-bottom: 10px;
}

/* --- Projects Rotator --- */
.projects .section-title { margin-bottom: 8px; }
.projects .section-subtitle { opacity: 0.85; margin: 0 0 18px; }

.project-rotator {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.rotator-viewport {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

.rotator-slide {
  display: none;
  padding: 14px;
}

.rotator-slide.is-active { display: block; }

.rotator-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
}

.rotator-frame img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  background: rgba(0,0,0,0.55);
  display: block;
}

.rotator-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.9;
}

.rotator-tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.rotator-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.rotator-btn:hover { background: rgba(0,0,0,0.55); }

.rotator-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.rotator-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  cursor: pointer;
  opacity: 0.8;
}

.rotator-dot.is-active {
  background: rgba(255,255,255,0.75);
  opacity: 1;
}

/* Quote form */
.form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field{
  display:flex;
  flex-direction:column;
  gap: 6px;
}
label{
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.30);
  color: rgba(255,255,255,0.92);
  outline: none;
}
textarea{ min-height: 120px; resize: vertical; }
.full{ grid-column: 1 / -1; }
.form-actions{ display:flex; gap: 12px; flex-wrap: wrap; align-items:center; }
.small{ font-size: 13px; color: var(--muted); }

footer{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 26px 0 36px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

@media (max-width: 900px){
  .hero-wrap{ grid-template-columns: 1fr; }
  .grid-3, .steps{ grid-template-columns: 1fr; }
  .form{ grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .rotator-frame img { height: 320px; }
  .navlinks{ display:none; }
}
