/* ============================
   DAMA&CO — Operating System
   Terracotta · Sand · Charcoal
   IBM Plex Sans Arabic
   ============================ */

:root {
  --sand:     #FAF6F0;
  --sand-dim: #F0EBE1;
  --stone:    #D4C5B0;
  --ash:      #9E9087;
  --charcoal: #1C1917;
  --terra:    #C4622D;
  --terra-dk: #9E4E23;
  --terra-lt: #E8855C;
  --amber:    #D4A84B;
  --white:    #FFFFFF;
  --radius:   8px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'IBM Plex Sans', 'IBM Plex Sans Arabic', sans-serif;
  background: var(--sand);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 197, 176, 0.4);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.brand-amp { color: var(--terra); }

.navbar-tagline {
  font-size: 0.8rem;
  color: var(--ash);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
}

.hero-bg-geom {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.geom-silo {
  position: absolute;
  bottom: 0;
  width: 160px;
  background: linear-gradient(to bottom, var(--stone), rgba(212,197,176,0.3));
  border-radius: 80px 80px 0 0;
  opacity: 0.18;
}

.geom-silo-1 { right: 8%; height: 65%; }
.geom-silo-2 { right: 22%; height: 50%; width: 120px; }

.geom-truck {
  position: absolute;
  right: 5%;
  bottom: 18%;
  width: 220px;
  height: 60px;
  background: var(--stone);
  border-radius: 4px 20px 4px 4px;
  opacity: 0.1;
}

.geom-truck::before {
  content: '';
  position: absolute;
  right: -50px;
  top: 15px;
  width: 50px;
  height: 30px;
  border-radius: 50% 50% 0 0;
  background: var(--stone);
  opacity: 0.12;
}

.geom-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(196,98,45,0.04) 80px,
      rgba(196,98,45,0.04) 81px
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.eyebrow-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--terra);
}

.eyebrow-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terra);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.hl-line-1 { display: block; }
.hl-line-2 { display: block; color: var(--terra); }
.hl-line-3 { display: block; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--ash);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 0;
}

.metric {
  display: flex;
  flex-direction: column;
  padding-right: 40px;
}

.metric-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.72rem;
  color: var(--ash);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  font-weight: 500;
}

.metric-sep {
  width: 1px;
  height: 48px;
  background: var(--stone);
  margin-right: 40px;
}

/* ---- CREDENTIALS ---- */
.credentials {
  background: var(--charcoal);
  padding: 32px 48px;
}

.cred-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.cred-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  flex: 1;
}

.cred-icon {
  color: var(--terra);
  flex-shrink: 0;
  margin-top: 2px;
}

.cred-text {
  font-size: 0.85rem;
  color: var(--sand-dim);
  line-height: 1.5;
}

.cred-text strong { color: var(--white); }

/* ---- SECTION UTILITIES ---- */
.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

/* ---- PRODUCTS ---- */
.products {
  padding: 96px 48px;
}

.section-header {
  margin-bottom: 56px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand-dim);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(28,25,23,0.1);
}

.product-visual {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.pv-concrete {
  background: linear-gradient(135deg, #8B6B4A 0%, #C4622D 50%, #D4A84B 100%);
}

.pv-blocks {
  background: linear-gradient(135deg, #6B5E52 0%, #9E9087 50%, #D4C5B0 100%);
}

.pv-pavers {
  background: linear-gradient(135deg, #4A4036 0%, #8B6B4A 50%, #C4622D 100%);
}

.pv-contracting {
  background: linear-gradient(135deg, #C4622D 0%, #9E4E23 50%, #4A4036 100%);
}

.product-body {
  padding: 28px 32px 32px;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--ash);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-spec {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.spec-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--sand-dim);
  border-radius: 20px;
  color: var(--charcoal);
  letter-spacing: 0.04em;
}

/* ---- MARKET ---- */
.market {
  background: var(--sand-dim);
  padding: 96px 48px;
}

.market-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.market-title {
  margin-bottom: 24px;
}

.market-body {
  font-size: 1rem;
  color: var(--ash);
  line-height: 1.7;
  margin-bottom: 48px;
}

.market-stat-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mstat {
  display: flex;
  flex-direction: column;
}

.mstat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--terra);
  letter-spacing: -0.03em;
  line-height: 1;
}

.mstat-label {
  font-size: 0.78rem;
  color: var(--ash);
  margin-top: 4px;
}

.market-logos {
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone);
}

.logo-strip-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ash);
  margin-bottom: 20px;
}

.logo-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.client-badge {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 14px 20px;
  background: var(--sand);
  border-radius: var(--radius);
  border: 1px solid var(--stone);
}

/* ---- DIFFERENCE ---- */
.difference {
  padding: 96px 48px;
  background: var(--charcoal);
}

.diff-header {
  margin-bottom: 56px;
}

.diff-header .section-title { color: var(--sand); }
.diff-header .section-eyebrow { color: var(--terra-lt); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.diff-card {
  background: rgba(255,255,255,0.04);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}

.diff-card:hover {
  background: rgba(255,255,255,0.07);
}

.diff-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(196,98,45,0.25);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.diff-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.diff-card-body {
  font-size: 0.875rem;
  color: var(--ash);
  line-height: 1.65;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

.closing-geom {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.closing-circle {
  position: absolute;
  border-radius: 50%;
}

.cc-1 {
  width: 600px;
  height: 600px;
  right: -200px;
  top: -200px;
  background: radial-gradient(circle, rgba(196,98,45,0.08) 0%, transparent 70%);
}

.cc-2 {
  width: 400px;
  height: 400px;
  left: -100px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(212,168,75,0.06) 0%, transparent 70%);
}

.closing-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.closing-headline {
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--ash);
  line-height: 1.7;
  max-width: 520px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--charcoal);
  padding: 40px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

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

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-text strong {
  font-size: 0.9rem;
  color: var(--white);
}

.footer-brand-text span {
  font-size: 0.72rem;
  color: var(--ash);
}

.footer-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-meta span {
  font-size: 0.8rem;
  color: var(--ash);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(158,144,135,0.5);
  width: 100%;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }
  .hero { padding: 100px 24px 64px; }
  .hero-headline { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-metrics { flex-wrap: wrap; gap: 24px; }
  .metric { padding-right: 24px; }
  .metric-sep { margin-right: 24px; }
  .cred-inner { flex-direction: column; gap: 24px; }
  .products { padding: 64px 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .market { padding: 64px 24px; }
  .market-inner { grid-template-columns: 1fr; gap: 48px; }
  .market-stat-grid { flex-direction: row; flex-wrap: wrap; }
  .mstat { min-width: 140px; }
  .difference { padding: 64px 24px; }
  .diff-grid { grid-template-columns: 1fr; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-meta { flex-direction: column; gap: 8px; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ash); }

/* ---- SELECTION ---- */
::selection { background: var(--terra); color: var(--white); }
