/* SYFO Facade Metrology & 3D Laser Scanning (shootyourfaceoff.com) — ZeroFour Custom Architecture */
:root {
  --syfo-navy: #09131f;
  --syfo-slate: #112236;
  --syfo-cyan: #0284c7;
  --syfo-laser: #06b6d4;
  --syfo-emerald: #10b981;
  --syfo-bg: #f4f7fb;
  --syfo-border: #cbd5e1;
}

html, body {
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #1e293b;
  background: var(--syfo-bg) !important;
}

img {
  max-width: 100%;
  height: auto !important;
  object-fit: cover !important;
  display: block;
}

.syfo-topstrip {
  background: #050b12;
  color: #e2e8f0;
  font-size: 0.83rem;
  padding: 0.55rem 1.25rem;
  border-bottom: 1px solid rgba(6, 182, 212, 0.3);
}

.syfo-topstrip-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.syfo-topstrip strong {
  color: #22d3ee !important;
}

.syfo-topstrip a {
  color: #38bdf8 !important;
  text-decoration: none;
  font-weight: 700;
}

/* Fix ZeroFour #header-wrapper & absolute #logo / #nav traps */
#header-wrapper {
  background: linear-gradient(180deg, rgba(9, 19, 31, 0.86) 0%, rgba(17, 34, 54, 0.92) 100%),
              url("../../images/melbourne-curtain-wall-terrestrial-lidar-scanner-tripod.jpg") center center / cover no-repeat !important;
  padding: 1.5rem 0 3.2rem 0 !important;
}

#header {
  margin-bottom: 0 !important;
}

#header .inner {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  background: rgba(9, 19, 31, 0.92) !important;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 10px !important;
  padding: 0.9rem 1.35rem !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

#header h1 {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  height: auto !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

#logo {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  height: auto !important;
  line-height: 1.25 !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.04em !important;
  text-decoration: none;
}

#nav {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  height: auto !important;
  line-height: 1.35 !important;
}

#nav > ul {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin: 0 !important;
  padding: 0 !important;
}

#nav > ul > li {
  display: inline-block;
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  height: auto !important;
}

#nav > ul > li > a {
  display: block;
  color: #f1f5f9 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em !important;
  padding: 0.55rem 0.9rem !important;
  border-radius: 6px !important;
  line-height: 1.35 !important;
  height: auto !important;
  text-decoration: none;
}

#nav > ul > li.current_page_item > a,
#nav > ul > li:hover > a {
  background: var(--syfo-cyan) !important;
  color: #ffffff !important;
}

#nav > ul > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: #09131f;
  border: 1px solid #0284c7;
  border-radius: 6px;
  padding: 0.45rem 0;
  z-index: 1000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  text-align: left;
}

#nav > ul > li:hover > ul {
  display: block;
}

#nav > ul > li > ul > li {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#nav > ul > li > ul > li:first-child {
  border-top: none;
}

#nav > ul > li > ul > li > a {
  display: block;
  padding: 0.6rem 1.05rem;
  color: #e0f2fe !important;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

#nav > ul > li > ul > li > a:hover {
  background: var(--syfo-cyan);
  color: #ffffff !important;
}

/* Banner Section */
#banner {
  max-width: 1020px;
  margin: 2rem auto 0 auto !important;
  padding: 2.2rem 2.4rem !important;
  background: rgba(9, 19, 31, 0.86);
  border-left: 6px solid var(--syfo-laser);
  border-radius: 10px;
  text-align: center;
}

#banner h2 {
  font-size: 2.05rem !important;
  line-height: 1.26 !important;
  color: #ffffff !important;
  margin-bottom: 0.65rem !important;
  text-transform: uppercase;
}

#banner p {
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  color: #bae6fd !important;
  margin-bottom: 1.2rem !important;
}

.syfo-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.syfo-badge {
  background: rgba(6, 182, 212, 0.22);
  border: 1px solid #22d3ee;
  color: #cffafe;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.syfo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

/* Buttons — prevent any ellipsis truncation */
.button,
a.button,
button,
input[type="submit"],
input[type="button"] {
  background: var(--syfo-cyan) !important;
  color: #ffffff !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  height: auto !important;
  line-height: 1.4 !important;
  padding: 0.85em 1.65em !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.button.alt,
a.button.alt {
  background: #1e293b !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
}

/* Main Wrapper & Boxes */
#main-wrapper {
  background: var(--syfo-bg) !important;
  padding: 0 !important;
}

.wrapper.style1,
.wrapper.style2,
.wrapper.style3 {
  background: var(--syfo-bg) !important;
  padding: 3rem 0 !important;
}

.syfo-box {
  background: #ffffff;
  border: 1px solid var(--syfo-border);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(9, 19, 31, 0.05);
  margin-bottom: 1.8rem;
}

.syfo-box h2,
article h2 {
  font-size: 1.8rem !important;
  line-height: 1.28 !important;
  color: var(--syfo-navy) !important;
  margin-bottom: 0.55rem !important;
}

.image.featured {
  margin: 0 0 1.4rem 0 !important;
  width: 100% !important;
  border-radius: 8px;
  overflow: hidden;
}

/* Interactive LiDAR Point-Cloud Density & Scan-to-BIM Estimator */
.syfo-calc-card {
  background: #09131f;
  color: #f8fafc;
  border-radius: 12px;
  padding: 2.2rem;
  border: 2px solid var(--syfo-cyan);
  margin: 1.5rem 0 2.2rem 0;
  box-shadow: 0 18px 40px rgba(9, 19, 31, 0.25);
}

.syfo-box .syfo-calc-card h2,
.syfo-calc-card header h2,
.syfo-calc-card h2,
.syfo-calc-card h3 {
  color: #ffffff !important;
}

.syfo-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.8rem;
  align-items: start;
  margin-top: 1.3rem;
}

.syfo-calc-controls label {
  display: block;
  font-size: 0.81rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7dd3fc;
  margin: 0.85rem 0 0.35rem 0;
}

.syfo-calc-controls select {
  width: 100%;
  background: #112236 !important;
  color: #ffffff !important;
  border: 1px solid #0284c7 !important;
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  font-size: 0.94rem;
  font-weight: 600;
}

.syfo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.syfo-kpi-box {
  background: #112236;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  overflow: hidden;
}

.syfo-kpi-box span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #bae6fd;
  margin-bottom: 0.25rem;
}

.syfo-kpi-box strong {
  display: block;
  font-size: 0.92rem !important;
  font-weight: 800;
  color: #22d3ee !important;
  white-space: nowrap !important;
}

.syfo-svg-panel {
  background: #050b12;
  border: 1px solid #0369a1;
  border-radius: 10px;
  padding: 1.15rem;
}

#syfo-lidar-svg {
  width: 100%;
  height: auto;
  display: block;
}

.syfo-calc-summary {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #e2e8f0;
}

/* Technical Specification Tables */
.syfo-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
}

table.syfo-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.92rem;
}

table.syfo-table th {
  background: var(--syfo-navy);
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 0.85rem 1rem;
  border: 1px solid #1e293b;
}

table.syfo-table td {
  padding: 0.8rem 1rem;
  border: 1px solid var(--syfo-border);
  color: #1e293b;
  vertical-align: top;
}

table.syfo-table tr:nth-child(even) td {
  background: #f0f9ff;
}

.syfo-callout {
  background: #f0f9ff;
  border-left: 5px solid var(--syfo-cyan);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.syfo-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.syfo-step-card {
  background: #f8fafc;
  border: 1px solid var(--syfo-border);
  border-radius: 8px;
  padding: 1.25rem;
}

.syfo-step-card h4 {
  color: var(--syfo-cyan);
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

/* Booking Form */
.syfo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.syfo-form-grid .full-span {
  grid-column: 1 / -1;
}

.syfo-form-grid label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--syfo-navy);
}

.syfo-form-grid input,
.syfo-form-grid select,
.syfo-form-grid textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  background: #ffffff;
  color: #1e293b;
  font-size: 0.95rem;
}

/* Footer */
#footer-wrapper {
  background: var(--syfo-navy) !important;
  color: #cbd5e1 !important;
  padding: 3.5rem 0 2.5rem 0 !important;
  border-top: 4px solid var(--syfo-cyan);
}

#footer h2, #footer h3, #footer strong, #footer a {
  color: #ffffff !important;
}

#copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  margin-top: 2rem !important;
  padding-top: 1.5rem !important;
  color: #cbd5e1 !important;
}

#titleBar, #navPanel {
  display: none !important;
}

@media screen and (max-width: 980px) {
  #nav {
    display: block !important;
    width: 100%;
  }
  #header .inner {
    justify-content: center;
    text-align: center;
  }
  #nav > ul > li > a {
    font-size: 0.78rem !important;
    padding: 0.45rem 0.65rem !important;
  }
  .syfo-calc-grid,
  .syfo-step-grid,
  .syfo-form-grid {
    grid-template-columns: 1fr !important;
  }
  #banner {
    padding: 1.6rem 1.25rem !important;
  }
  #banner h2 {
    font-size: 1.55rem !important;
  }
}

@media screen and (max-width: 680px) {
  .syfo-kpi-grid {
    grid-template-columns: 1fr !important;
  }
}
