/* ============================================================
   BUILD TECH — Trading & Construction
   Single-page scrolling site
   ============================================================ */

:root {
  --bg: #0a0f1c;
  --bg-2: #0d1424;
  --bg-3: #111a30;
  --surface: #131d36;
  --surface-2: #1a2647;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(245, 158, 11, 0.3);
  --text: #e8edf7;
  --text-soft: #a4b1cc;
  --text-muted: #6b7896;
  --accent: #f59e0b;          /* amber - construction */
  --accent-2: #22d3ee;        /* cyan - electrical */
  --accent-3: #a78bfa;        /* violet - MEP */
  --accent-dark: #b45309;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.3);
  --max: 1240px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease);
  font-family: inherit;
}
.btn-cta {
  background: var(--accent);
  color: #0a0f1c;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}
.btn-cta:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.5);
}
.btn-submit {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #0a0f1c;
  width: 100%;
  padding: 16px 26px;
  font-size: 15px;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(245, 158, 11, 0.5); }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 15, 28, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 15, 28, 0.85);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #0a0f1c;
  font-weight: 900;
  font-family: "Sora", sans-serif;
  border-radius: 10px;
  font-size: 18px;
  letter-spacing: -0.03em;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.logo-sub { font-size: 10px; color: var(--text-soft); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--bg);
}
.hero-slider {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 15, 28, 0.65) 0%,
    rgba(10, 15, 28, 0.45) 40%,
    rgba(10, 15, 28, 0.85) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  padding: 0 24px;
}
.slide-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.slide-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.slide-content p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 30px;
}
.slide-content .btn-cta { font-size: 15px; padding: 14px 30px; }

/* slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px; height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--accent); color: #0a0f1c; border-color: var(--accent); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* slider dots */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.slider-dots button {
  width: 36px; height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.slider-dots button.active { background: var(--accent); width: 56px; }

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  right: 30px;
  z-index: 5;
  width: 26px; height: 44px;
  border: 2px solid var(--text-soft);
  border-radius: 14px;
  display: flex; justify-content: center;
  padding-top: 8px;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue span {
  width: 3px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollcue 1.6s infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- SECTION HEAD ---------- */
.section-head { text-align: center; margin-bottom: 64px; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- ABOUT ---------- */
.about-section { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-text .lead {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 22px;
}
.about-text p { margin-bottom: 18px; color: var(--text-soft); }
.about-text strong { color: var(--text); }

.about-creds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-creds div { display: flex; flex-direction: column; }
.about-creds strong {
  font-family: "Sora", sans-serif;
  font-size: 1.7rem;
  color: var(--accent);
  line-height: 1;
}
.about-creds span { font-size: 12px; color: var(--text-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

.about-aside {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}
.about-aside h3 { font-size: 1.2rem; margin-bottom: 22px; }
.discipline-list { list-style: none; }
.discipline-list li {
  display: flex; flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 14px;
}
.discipline-list li:last-child { border-bottom: none; }
.discipline-list li span {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 2px;
}

/* ---------- SERVICES ---------- */
.services-section {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }
.service-card--wide { grid-column: 1 / -1; }

.service-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.service-num {
  font-family: "Sora", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  line-height: 1;
}
.service-head h3 {
  font-size: 1.4rem;
  flex: 1;
}
.service-icon { font-size: 1.8rem; }

.service-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.service-card ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-soft);
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.service-intro {
  color: var(--text-soft);
  margin-bottom: 24px;
  font-size: 0.98rem;
}

.mep-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mep-cols h4 {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.mep-cols ul { list-style: none; }
.mep-cols li {
  font-size: 14px;
  color: var(--text-soft);
  padding: 4px 0;
}

/* ---------- INDUSTRIES ---------- */
.industries-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.industry-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.4rem;
  transition: all 0.3s var(--ease);
  min-height: 130px;
}
.industry-tile span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  font-family: "Inter", sans-serif;
}
.industry-tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
}

/* ---------- VISION/MISSION ---------- */
.vision-section {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  border-top: 1px solid var(--line);
}
.vmc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.vmc-card {
  padding: 40px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  position: relative;
  overflow: hidden;
}
.vmc-card::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  opacity: 0.12;
}
.vmc-vision::after { background: var(--accent); }
.vmc-mission::after { background: var(--accent-2); }
.vmc-strength::after { background: var(--accent-3); }
.vmc-commit::after { background: var(--accent); }
.vmc-label {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
}
.vmc-vision .vmc-label { color: var(--accent); }
.vmc-mission .vmc-label { color: var(--accent-2); }
.vmc-strength .vmc-label { color: var(--accent-3); }
.vmc-commit .vmc-label { color: var(--accent); }
.vmc-card p { color: var(--text-soft); font-size: 1.02rem; }
.vmc-card strong { color: var(--text); }

.commit-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.commit-pills li {
  padding: 7px 16px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- CONTACT ---------- */
.contact-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  padding: 42px 36px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.contact-tagline {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 15px;
}
.contact-disciplines {
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}
.cd-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-detail a, .contact-detail span {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}
.contact-detail a:hover { color: var(--accent); }
.contact-quote {
  margin-top: 28px;
  padding: 20px;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
}

.contact-form {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(10, 15, 28, 0.6);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(10, 15, 28, 0.9);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}
.form-note.success { color: #34d399; }
.form-note.error { color: #f87171; }

/* Cloudflare Turnstile widget */
.cf-turnstile { margin-top: 4px; min-height: 65px; }
.btn-submit:disabled { opacity: 0.65; cursor: wait; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 64px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-name {
  display: block;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 16px;
}
.footer-sub { display: block; font-size: 11px; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 24px; }
.footer-nav a { font-size: 14px; color: var(--text-soft); }
.footer-nav a:hover { color: var(--accent); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.footer-contact a { color: var(--text-soft); }
.footer-contact a:hover { color: var(--accent); }
.footer-contact span { color: var(--text-muted); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-tag { color: var(--accent); font-style: italic; }

/* ---------- ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav, .btn-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10, 15, 28, 0.97);
    backdrop-filter: blur(16px);
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    gap: 6px;
    z-index: 999;
  }
  .nav.open a { padding: 12px 4px; font-size: 16px; }
  .nav.open a::after { display: none; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-creds { grid-template-columns: repeat(2, 1fr); }
  .vmc-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 22px; }
  .service-card ul { grid-template-columns: 1fr; }
  .mep-cols { grid-template-columns: 1fr; gap: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .slider-arrow { width: 44px; height: 44px; font-size: 16px; }
  .slider-arrow.prev { left: 12px; }
  .slider-arrow.next { right: 12px; }
  .contact-form, .contact-info { padding: 28px 22px; }
  .scroll-cue { display: none; }
}

@media (max-width: 420px) {
  .slide-content h1 { font-size: 2rem; }
  .slide-content p { font-size: 0.95rem; }
}
