/* =========================================================
   BuildMate — Plain HTML/CSS conversion
   ========================================================= */

:root {
  --brand-orange: #F2A93B;
  --brand-orange-90: rgba(242, 169, 59, 0.9);
  --brand-orange-30: rgba(242, 169, 59, 0.3);
  --brand-orange-20: rgba(242, 169, 59, 0.2);
  --brand-orange-10: rgba(242, 169, 59, 0.1);
  --brand-dark: #0B0B0F;
  --brand-card: #121218;
  --brand-line: #1F2028;
  --bg-alt: #0E0E14;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body {
  background: var(--brand-dark);
  color: #ffffff;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body { display: flex; flex-direction: column; }

main { flex: 1; padding-top: 80px; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--brand-dark); }
::-webkit-scrollbar-thumb { background: var(--brand-orange); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #f0a333; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 768px)  { .container { padding: 0 2rem; } }
@media (min-width: 1280px) { .container { padding: 0 3rem; } }
@media (min-width: 1536px) { .container { padding: 0 4rem; } }

.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

.bg-alt { background: var(--bg-alt); }

.text-center { text-align: center; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-10 { margin-top: 2.5rem; }

/* ---------- Typography ---------- */
.eyebrow {
  color: var(--brand-orange);
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.heading-xl {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .heading-xl { font-size: 3.75rem; } }

.heading-lg {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.1;
}
@media (min-width: 768px) { .heading-lg { font-size: 3rem; } }

.heading-md {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
}
@media (min-width: 768px) { .heading-md { font-size: 2.25rem; } }

.text-orange { color: var(--brand-orange); }
.text-muted   { color: rgba(255,255,255,0.65); }
.text-muted-2 { color: rgba(255,255,255,0.6); }
.text-muted-3 { color: rgba(255,255,255,0.55); }
.text-muted-4 { color: rgba(255,255,255,0.7); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--brand-orange), var(--brand-orange-90));
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #000;
  transition: all .3s ease;
}
.btn-primary:hover {
  box-shadow: 0 10px 25px -5px rgba(242,169,59,0.5);
  background: linear-gradient(to right, rgba(242,169,59,0.95), rgba(242,169,59,0.85));
}
.btn-primary.lg { padding: 0.75rem 2rem; gap: 0.75rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid.gap-5  { gap: 1.25rem; }
.grid.gap-6  { gap: 1.5rem; }
.grid.gap-8  { gap: 2rem; }
.grid.gap-10 { gap: 2.5rem; }

@media (min-width: 640px) {
  .sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md-items-end   { align-items: end; }
  .md-items-start { align-items: start; }
  .md-text-right  { text-align: right; }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.navbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
  transition: opacity .2s;
}
.navbar-logo:hover img { opacity: 0.9; }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  padding: 0.5rem 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
  transition: border-color .3s;
}
.nav-links:hover { border-color: rgba(255,255,255,0.2); }
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-links a {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  transition: all .3s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-links a.active {
  background: linear-gradient(to right, rgba(242,169,59,0.3), rgba(242,169,59,0.1));
  color: var(--brand-orange);
  box-shadow: 0 10px 15px -3px rgba(242,169,59,0.2);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--brand-orange), var(--brand-orange-90));
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #000;
  transition: all .3s;
}
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }
.nav-cta:hover { box-shadow: 0 10px 15px -3px rgba(242,169,59,0.5); }

.nav-toggle {
  display: inline-flex;
  color: rgba(255,255,255,0.8);
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background .2s;
  font-size: 1.5rem;
}
.nav-toggle:hover { background: rgba(255,255,255,0.05); color: #fff; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-menu {
  display: none;
  position: absolute;
  top: 80px; left: 0; right: 0;
  z-index: 40;
  background: #000;
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.mobile-menu.open { display: block; }
.mobile-menu-inner {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-menu a {
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  transition: all .2s;
}
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.mobile-menu a.active { background: rgba(242,169,59,0.2); color: var(--brand-orange); }
.mobile-menu .btn-primary { margin-top: 0.5rem; justify-content: center; padding: 0.75rem; font-size: 1rem; width: 100%; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay-1 {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3));
}
.hero-overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent 50%, transparent);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  text-align: center;
  padding: 3rem 1.5rem 0;
}
.hero-badge {
  display: inline-block;
  border-radius: 9999px;
  border: 1px solid rgba(242,169,59,0.5);
  background: rgba(242,169,59,0.1);
  backdrop-filter: blur(6px);
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--brand-orange);
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 10px 15px -3px rgba(242,169,59,0.1);
}
.hero h1 { margin-top: 2rem; }
.hero h1 .accent {
  background: linear-gradient(to right, var(--brand-orange), var(--brand-orange), rgba(242,169,59,0.8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-lead {
  margin: 1.5rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  font-weight: 300;
}
@media (min-width: 768px) { .hero-lead { font-size: 1.25rem; } }
.hero-cta { margin-top: 2rem; }

/* ---------- Cards ---------- */
.card {
  border-radius: 1rem;
  border: 1px solid var(--brand-line);
  background: var(--brand-card);
  padding: 1.5rem;
  transition: all .2s;
}
.card:hover { border-color: var(--brand-orange-30); background: rgba(18,18,24,0.8); }

/* Value card */
.value-card {
  border-radius: 1rem;
  border: 1px solid var(--brand-orange-30);
  background: var(--brand-card);
  padding: 1.5rem;
  text-align: center;
  transition: border-color .2s;
}
.value-card:hover { border-color: rgba(242,169,59,0.7); }
.value-card .icon {
  margin: 0 auto 1.25rem;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.25rem;
}
.value-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.value-card p  { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.6; }

/* Stat card */
.stat-card {
  border-radius: 1rem;
  border: 1px solid var(--brand-line);
  background: var(--brand-card);
  padding: 1.75rem 1.5rem;
}
.stat-card .value { font-size: 2.25rem; font-weight: 800; color: #fff; }
@media (min-width: 768px) { .stat-card .value { font-size: 3rem; } }
.stat-card .label { margin-top: 0.75rem; color: rgba(255,255,255,0.6); font-size: 0.875rem; }

/* Stat labelled (about page) */
.stat-labelled .label { color: var(--brand-orange); font-size: 0.875rem; margin-bottom: 0.5rem; }
.stat-labelled .value { font-size: 2.25rem; font-weight: 800; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .stat-labelled .value { font-size: 3rem; } }
.stat-labelled .desc  { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.6; }

/* Service card (home) */
.service-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--brand-line);
}
.service-card .img-wrap {
  position: relative;
  height: 18rem;
  overflow: hidden;
}
.service-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.service-card:hover .img-wrap img { transform: scale(1.05); }
.service-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4) 50%, transparent);
}
.service-card .body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
}
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card .divider { height: 1px; background: rgba(255,255,255,0.2); margin-bottom: 0.75rem; }
.service-card p { color: rgba(255,255,255,0.75); font-size: 0.875rem; line-height: 1.6; }

/* Vision card */
.vision-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  background: var(--brand-card);
}
.vision-card .img-wrap {
  position: relative;
  height: 11rem;
  overflow: hidden;
}
.vision-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.vision-card .body { padding: 1.25rem; }
.vision-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.vision-card p  { color: rgba(255,255,255,0.65); font-size: 0.875rem; line-height: 1.6; }

/* ---------- About hero image ---------- */
.about-hero {
  position: relative;
  height: 16rem;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .about-hero { height: 20rem; } }
.about-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services page ---------- */
.service-row {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .service-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .service-row.reverse > .service-row-img { order: 2; }
}
.service-row-img {
  position: relative;
  height: 16rem;
  border-radius: 1rem;
  overflow: hidden;
}
@media (min-width: 768px) { .service-row-img { height: 18rem; } }
.service-row-img img { width: 100%; height: 100%; object-fit: cover; }

.service-row h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .service-row h2 { font-size: 1.875rem; } }
.service-row p.desc { color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 1.5rem; }
.service-row dl { display: flex; flex-direction: column; gap: 1rem; }
.service-row dt { color: var(--brand-orange); font-size: 0.875rem; font-weight: 600; }
.service-row dd { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin-top: 0.25rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
}
.contact-info h2 {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
@media (min-width: 768px) { .contact-info h2 { font-size: 2.25rem; } }
.contact-info > p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  max-width: 28rem;
}
.contact-list { display: flex; flex-direction: column; gap: 1.25rem; font-size: 0.875rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--brand-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  flex-shrink: 0;
}
.contact-list span:last-child { color: rgba(255,255,255,0.85); }

.contact-form-wrap {
  border-radius: 1rem;
  border: 1px solid var(--brand-line);
  background: var(--brand-card);
  padding: 1.5rem;
}
@media (min-width: 768px) { .contact-form-wrap { padding: 2rem; } }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.input, .textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--brand-line);
  color: #fff;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  transition: border-color .3s;
}
.input { border-radius: 9999px; }
.textarea { border-radius: 1rem; resize: none; font-family: inherit; }
.input::placeholder, .textarea::placeholder { color: rgba(255,255,255,0.4); }
.input:focus, .textarea:focus { outline: none; border-color: var(--brand-orange); }

.form-success {
  text-align: center;
  color: var(--brand-orange);
  font-size: 0.875rem;
  padding-top: 0.5rem;
  display: none;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--brand-line);
  background: #08080C;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-logo { width: 6rem; height: 6rem; object-fit: contain; margin-bottom: 1.25rem; }
.footer-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.footer-list.compact { gap: 0.5rem; }
.footer-list li { display: flex; align-items: center; gap: 0.75rem; }
.footer-list .icon { color: var(--brand-orange); }
.footer-list a:hover { color: #fff; }
.footer h4 { color: var(--brand-orange); font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }

.footer-bottom { border-top: 1px solid var(--brand-line); }
.footer-bottom-inner {
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; }
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a:hover { color: #fff; }

/* ---------- Misc helpers ---------- */
.max-w-4xl { max-width: 56rem; }
.leading-relaxed { line-height: 1.625; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-16 { margin-bottom: 4rem; }
.space-y-14 > * + * { margin-top: 3.5rem; }
.md-max-3xl-center {
  max-width: 100%;
}
@media (min-width: 768px) {
  .md-max-3xl-center { max-width: 48rem; margin-left: auto; margin-right: auto; }
}
