:root {
  --bg: #f5f1e9;
  --ink: #17140f;
  --muted: #6c6255;
  --orange: #ff5a1f;
  --line: rgba(23, 20, 15, 0.14);
  --dark: #141210;
  --dark-line: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.build-clone {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap4 { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
.heavy4 { font-weight: 800; letter-spacing: -0.01em; }

.reveal4 { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal4.visible { opacity: 1; transform: translateY(0); }

.btn4 { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 0.92rem; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease; }
.btn4:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,0.18); }
.btn4-ink { background: var(--ink); color: var(--bg); }
.btn4-orange { background: var(--orange); color: #1a0a02; }
.btn4-outline { border-color: var(--line); color: var(--ink); }
.btn4-outline-dark { border-color: var(--dark-line); color: #fff; }

/* Header */
.header4 { position: sticky; top: 44px; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand4 { display: flex; align-items: baseline; gap: 10px; font-size: 1.15rem; }
.brand4 span.tagline { font-size: 0.78rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.menu-btn { position: relative; }
.menu-panel { position: absolute; top: calc(100% + 10px); right: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; min-width: 200px; box-shadow: 0 24px 50px rgba(0,0,0,0.18); display: none; flex-direction: column; gap: 4px; }
.menu-panel.open { display: flex; }
.menu-panel a { padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; }
.menu-panel a:hover { background: var(--bg); color: var(--orange); }

/* Hero */
.hero4 { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 60px 32px; }
.hero4 h1 { font-size: clamp(3rem, 9vw, 7.5rem); line-height: 0.95; margin: 0; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.scroll-indicator { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 0.9rem; color: var(--muted); }
.scroll-indicator .dot { width: 26px; height: 40px; border: 2px solid var(--ink); border-radius: 999px; position: relative; }
.scroll-indicator .dot::after { content: ""; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; background: var(--ink); border-radius: 999px; transform: translateX(-50%); animation: scrollDot 1.6s ease infinite; }
@keyframes scrollDot { 0%,100% { top: 6px; opacity: 1; } 60% { top: 20px; opacity: 0; } }
.hero-sub4 { max-width: 380px; font-size: 1.15rem; color: var(--muted); text-align: right; }

/* Callout / site photo section */
.site-band { position: relative; min-height: 82vh; overflow: hidden; background:
  repeating-linear-gradient(120deg, #2a2118 0 3px, transparent 3px 46px),
  linear-gradient(160deg, #3a2c1c, #14100b 68%);
  display: flex; align-items: flex-end; padding: 60px 32px; }
.site-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 55%); }
.site-band-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; width: 100%; gap: 40px; flex-wrap: wrap; color: #fff; }
.callout-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-weight: 800; font-size: 1.5rem; margin-bottom: 10px; }
.callout-tag svg { width: 26px; height: 26px; }
.site-band-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; max-width: 560px; }
.site-band-inner .side-copy { font-size: 1.3rem; max-width: 380px; font-weight: 600; }

/* Transition heading */
.transition4 { padding: 130px 32px 70px; text-align: center; }
.transition4 h2 { font-size: clamp(2.8rem, 8vw, 6rem); margin: 0 0 20px; line-height: 0.98; }
.transition4 p { color: var(--muted); font-size: 1.1rem; margin: 0 0 40px; }
.phase-pill { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: var(--bg); padding: 10px 10px 10px 22px; border-radius: 999px; font-weight: 800; }
.phase-pill .ring { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--orange); display: flex; align-items: center; justify-content: center; }
.phase-pill .ring svg { width: 14px; height: 14px; color: var(--orange); }

/* Maqueta section */
.maqueta-section { position: relative; height: 500vh; background: var(--dark); }
.maqueta-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.maqueta-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; width: 100%; padding: 0 32px; align-items: center; }
.phase-nav { display: flex; flex-direction: column; gap: 8px; }
.phase-nav .p-item { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; color: rgba(255,255,255,0.35); border-top: 1px solid var(--dark-line); transition: color .4s ease; }
.phase-nav .p-item:first-child { border-top: none; }
.phase-nav .p-item .p-num { font-weight: 800; font-size: 0.95rem; }
.phase-nav .p-item .p-title { font-weight: 800; font-size: 1.15rem; }
.phase-nav .p-item.active { color: #fff; }
.phase-nav .p-item.active .p-num { color: var(--orange); }
.phase-desc { min-height: 60px; margin-top: 18px; color: rgba(255,255,255,0.75); font-size: 1.02rem; max-width: 420px; }

.maqueta-stage { perspective: 1500px; height: 460px; display: flex; align-items: center; justify-content: center; position: relative; }
.maqueta-ground { position: absolute; bottom: 6%; width: 340px; height: 40px; background: radial-gradient(ellipse at center, rgba(255,255,255,0.14), transparent 72%); filter: blur(4px); }
.maqueta-model { position: relative; width: 240px; height: 300px; transform-style: preserve-3d; transform: rotateX(-10deg) rotateY(0deg); will-change: transform; }
.face { position: absolute; width: 240px; height: 300px; border: 1px solid rgba(255,255,255,0.16);
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,0.22) 0 2px, transparent 2px 32px), repeating-linear-gradient(90deg, rgba(0,0,0,0.14) 0 2px, transparent 2px 34px); }
.face.front { transform: translateZ(120px); background-color: #d8752f; }
.face.back { transform: rotateY(180deg) translateZ(120px); background-color: #a85423; }
.face.right { transform: rotateY(90deg) translateZ(120px); background-color: #c2652a; }
.face.left { transform: rotateY(-90deg) translateZ(120px); background-color: #c2652a; }
.face.top { width: 240px; height: 240px; transform: rotateX(90deg) translateZ(150px); background-color: #e8935a; background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.12) 0 2px, transparent 2px 20px); }
.face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--scaffold-opacity, 1);
  transition: opacity .2s linear;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.4) 0 2px, transparent 2px 20px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.4) 0 2px, transparent 2px 20px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.3) 0 2px, transparent 2px 44px);
}
.face.top::after { background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.3) 0 2px, transparent 2px 16px), repeating-linear-gradient(-45deg, rgba(0,0,0,0.3) 0 2px, transparent 2px 16px); }
.crane { position: absolute; right: 6%; bottom: 8%; width: 120px; height: 320px; color: rgba(255,255,255,0.5); }
.phase-progress { position: absolute; left: 32px; right: 32px; bottom: 26px; display: flex; align-items: center; gap: 18px; }
.phase-progress .bar { flex: 1; height: 3px; background: rgba(255,255,255,0.18); border-radius: 999px; overflow: hidden; }
.phase-progress .bar-fill { height: 100%; width: 0%; background: var(--orange); }
.phase-progress .counter { font-weight: 800; font-size: 0.85rem; white-space: nowrap; }

/* Services */
.section4 { padding: 110px 0; }
.section4.tight { padding: 70px 0; }
.eyebrow4 { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; color: var(--muted); margin-bottom: 14px; }
.section4 h2.big4 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 50px; max-width: 720px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 40px rgba(0,0,0,0.12); }
.service-card .icon-wrap { width: 52px; height: 52px; border-radius: 14px; background: var(--bg); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-card .icon-wrap svg { width: 24px; height: 24px; color: var(--orange); }
.service-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Stats */
.stats-band { background: var(--ink); color: var(--bg); padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid strong { display: block; font-size: clamp(2rem, 4vw, 3rem); color: var(--orange); }
.stats-grid span { color: rgba(245,241,233,0.7); font-size: 0.92rem; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.testi-card .stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 14px; }
.testi-card p.quote { font-size: 1.05rem; margin: 0 0 18px; }
.testi-card .who { font-weight: 700; font-size: 0.9rem; color: var(--muted); }

/* Contact */
.contact-band { background: var(--dark); color: #fff; border-radius: 28px; padding: 60px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.contact-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 10px; }
.contact-band p { color: rgba(255,255,255,0.7); margin: 0; max-width: 420px; }

/* Footer */
.footer4 { padding: 70px 0 30px; }
.footer-top4 { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.footer-col4 h4 { text-transform: uppercase; font-size: 0.76rem; letter-spacing: 0.14em; color: var(--muted); margin: 0 0 14px; }
.footer-col4 a, .footer-col4 div { display: block; margin-bottom: 10px; font-size: 0.95rem; }
.footer-col4 a:hover { color: var(--orange); }
.footer-bottom4 { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 0.85rem; }

@media (max-width: 980px) {
  .maqueta-grid { grid-template-columns: 1fr; }
  .maqueta-stage { height: 320px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .site-band-inner { flex-direction: column; }
  .site-band-inner .side-copy { text-align: left; }
}
@media (max-width: 700px) {
  .hero-row { flex-direction: column; align-items: flex-start; }
  .hero-sub4 { text-align: left; }
  .service-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-band { flex-direction: column; align-items: flex-start; }
  .crane { display: none; }
}
