html {
  scroll-behavior: smooth;
}

/* Offset anchor targets so sticky header doesn't cover the section */
section[id] {
  scroll-margin-top: 80px;
}

/* ===== Accessibility ===== */

/* Skip to main content link — visible only on keyboard focus */
.skip-link {
  position: fixed;
  top: -100%;
  left: 18px;
  z-index: 9999;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid white;
  outline-offset: 2px;
}

/* Screen-reader only utility class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Global focus-visible styles — clear ring for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove outline for mouse users only */
:focus:not(:focus-visible) {
  outline: none;
}

/* Stronger focus for interactive cards and buttons */
.btn:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(46,125,255,0.20);
}

/* Form inputs — restore focus visibility that was removed */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(46,125,255,0.18);
}

/* Improve muted text contrast slightly for WCAG AA */
:root {
  --muted: #c4c8d2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

:root{
  --bg: #0f1115;
  --panel: rgba(21,24,31,0.82);
  --text: #f1f1f1;
  --muted: #b8bcc6;
  --accent: #2e7dff;
  --border: rgba(255,255,255,0.08);
}

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Animated background grid ===== */
.bg-grid{
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.45;

  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at 20% 30%, rgba(46,125,255,0.20), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(46,125,255,0.10), transparent 50%);

  background-size:
    70px 70px,
    70px 70px,
    100% 100%,
    100% 100%;

  animation: gridDrift 24s linear infinite;
}

@keyframes gridDrift{
  0% {background-position:0 0,0 0,0 0,0 0;}
  100% {background-position:200px 150px,150px 200px,0 0,0 0;}
}

@media (prefers-reduced-motion: reduce){
  .bg-grid{ animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Header ===== */
.site-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 10%;
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(17,20,24,0.75);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,0.06);
  transition: padding .22s ease, background-color .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.site-header.scrolled{
  padding:10px 10%;
  background:rgba(10,12,15,0.90);
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.brand{
  display:inline-flex;
  align-items:center;
  line-height: 0;
  text-decoration:none;
}
.contact-phone a {
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
}

.contact-phone a:hover {
  text-decoration: underline;
}
.brand-logo{
  width:52px;
  height:52px;
  transition: transform .2s ease, filter .22s ease, width .22s ease, height .22s ease;
}

.site-header.scrolled .brand-logo{
  width:44px;
  height:44px;
}

.brand:hover .brand-logo{
  filter:
    drop-shadow(0 0 14px rgba(46,125,255,0.35))
    drop-shadow(0 0 30px rgba(46,125,255,0.22));
  transform:scale(1.05);
}


.contact-phone a{ font-weight:600; color:#ffffff; text-decoration:none; font-size:16px; }
.contact-phone a:hover{ text-decoration:underline; }
/* Nav + Active highlight */
.site-nav{
  display:flex;
  align-items:center;
}

.site-nav a{
  color:var(--muted);
  margin-left:18px;
  text-decoration:none;
  transition: color .2s ease, opacity .2s ease;
  position: relative;
  padding: 10px 2px;
  opacity: 0.92;
}

.site-nav a:hover{
  color:white;
  opacity: 1;
}

.site-nav a.active{
  color: white;
  opacity: 1;
}

.site-nav a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom: 3px;
  height:2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(46,125,255,0.95), rgba(46,125,255,0.35));
  box-shadow: 0 0 14px rgba(46,125,255,0.18);
}

/* ===== Hero ===== */
.hero{
  padding:110px 10% 80px;
  text-align:center;
  position:relative;
  overflow: hidden;
}

/* network topology SVG layer */
.hero-net{
  position:absolute;
  left:50%;
  top:70px;
  width: 1200px;
  height: 520px;
  transform: translate(-50%, 0);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(46,125,255,0.12));
}

.hero-net .net-lines line{
  stroke: rgba(46,125,255,0.40);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  animation: dashMove 10s linear infinite;
}

@keyframes dashMove{
  0%{ stroke-dashoffset: 0; }
  100%{ stroke-dashoffset: -160; }
}

.hero-net .net-nodes circle{
  fill: rgba(46,125,255,0.85);
  opacity: 0.9;
  transform-origin: center;
  animation: nodePulse 4.5s ease-in-out infinite;
}

.hero-net .net-nodes circle:nth-child(2n){
  animation-duration: 5.6s;
  opacity: 0.75;
}
.hero-net .net-nodes circle:nth-child(3n){
  animation-duration: 6.8s;
  opacity: 0.65;
}

@keyframes nodePulse{
  0%, 100%{ transform: scale(1); filter: blur(0px); }
  50%{ transform: scale(1.25); filter: blur(0.2px); }
}

/* Full hero logo */
.hero-logo{
  width:300px;
  max-width:85%;
  margin-bottom:28px;
  position:relative;
  z-index:2;
  opacity:0;
  animation:logoFade 1.2s ease forwards;
}

/* Subtle animated glow behind hero logo */
.hero::before{
  content:"";
  position:absolute;
  top:110px;
  left:50%;
  transform:translateX(-50%);
  width:420px;
  height:420px;
  background:radial-gradient(circle,
    rgba(46,125,255,0.35) 0%,
    rgba(46,125,255,0.15) 35%,
    transparent 65%);
  filter:blur(40px);
  animation:glowPulse 6s ease-in-out infinite;
  z-index:1;
}

@keyframes glowPulse{
  0%{opacity:.6; transform:translateX(-50%) scale(.95);}
  50%{opacity:1; transform:translateX(-50%) scale(1.05);}
  100%{opacity:.6; transform:translateX(-50%) scale(.95);}
}

@keyframes logoFade{
  from{ opacity:0; transform:translateY(18px); }
  to{ opacity:1; transform:translateY(0); }
}

/* Hero text */
.hero h1{
  font-size:clamp(2.2rem,3.6vw,3.1rem);
  margin-bottom:16px;
  position: relative;
  z-index: 2;
}

.hero p{
  color:var(--muted);
  max-width:820px;
  margin:0 auto 28px;
  position: relative;
  z-index: 2;
}

/* Buttons */
.hero-actions{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  position: relative;
  z-index: 2;
}

.btn{
  background:var(--accent);
  padding:12px 18px;
  border-radius:12px;
  color:white;
  text-decoration:none;
  font-weight:700;
  border:1px solid rgba(255,255,255,0.08);
  transition: transform .2s ease, background .2s ease;
  cursor: pointer;
}

.btn:hover{ transform:translateY(-1px); }

.btn-ghost{
  background:rgba(255,255,255,0.06);
}

/* ===== Sections ===== */
.section{
  padding:70px 10%;
  text-align:center;
}

.section h2{
  font-size:1.6rem;
  margin-bottom:10px;
}

.section-text{
  color:var(--muted);
  max-width:820px;
  margin:0 auto;
}

/* ===== Cards + Premium hover glow + reveal ===== */
.cards{
  display:flex;
  gap:18px;
  margin-top:34px;
  justify-content:center;
  flex-wrap:wrap;
}

.card{
  position: relative;
  background:var(--panel);
  backdrop-filter:blur(8px);
  padding:28px;
  border-radius:16px;
  width:290px;
  border:1px solid rgba(255,255,255,0.06);
  overflow: hidden;

  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .45s ease;
}

/* reveal animation state */
.card.reveal{
  opacity: 0;
  transform: translateY(22px);
}

.card.reveal.visible{
  opacity: 1;
  transform: translateY(0);
}

/* mouse-follow glow layer */
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(46,125,255,0.22),
    transparent 45%
  );
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.card:hover::before{
  opacity: 1;
}

.card:hover{
  transform:translateY(-8px);
  border-color:rgba(46,125,255,0.35);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.card h3{ margin-bottom:8px; position: relative; }
.card p{ color:var(--muted); position: relative; }

/* ===== Estimate Tool ===== */
.estimate-wrap{
  max-width: 1100px;
  margin: 30px auto 0;
}

.estimate-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.estimate-card{
  text-align: left;
  background: rgba(17,20,24,0.55);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  padding: 22px;
}

.estimate-card h3{
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.estimate-card h4{
  font-size: 0.98rem;
  margin: 10px 0;
}

.estimate-card .row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.estimate-card .field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.estimate-card label{
  font-size: 0.92rem;
  color: rgba(184,188,198,0.92);
}

.estimate-card input,
.estimate-card select{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(21,24,31,0.75);
  color: white;
}

.hint{
  font-size: 0.86rem;
  color: rgba(184,188,198,0.82);
}

.divider{
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 16px 0;
}

.toggles{
  display: grid;
  gap: 10px;
}

.toggle{
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(241,241,241,0.92);
  user-select: none;
}

.toggle input{ transform: translateY(1px); }

.actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.disclaimer{
  margin-top: 14px;
  color: rgba(184,188,198,0.9);
  font-size: 0.9rem;
  line-height: 1.5;
}

.estimate-out .out-top{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.updated{
  font-size: 0.85rem;
  color: rgba(184,188,198,0.85);
  text-align: right;
}

.total{
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 10px;
  letter-spacing: -0.02em;
}

.range{
  color: rgba(184,188,198,0.92);
  margin-top: 6px;
}

.breakdown{
  margin-top: 10px;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.bd-row{
  display: grid;
  grid-template-columns: 1.6fr 0.4fr 0.6fr 0.6fr;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  background: rgba(21,24,31,0.55);
}

.bd-label{ color: rgba(241,241,241,0.94); }
.bd-qty, .bd-unit, .bd-ext{ color: rgba(184,188,198,0.95); text-align: right; }
.bd-ext{ color: rgba(241,241,241,0.94); font-weight: 700; }

.bd-line{
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 6px 0;
}

.bd-sub{
  color: rgba(241,241,241,0.9);
  font-weight: 700;
  margin-top: 6px;
}

.bd-note{
  padding: 10px 12px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 14px;
  color: rgba(241,241,241,0.9);
  background: rgba(21,24,31,0.35);
}

.next .muted{
  color: rgba(184,188,198,0.92);
  margin: 8px 0 14px;
}

/* ===== Contact ===== */
.contact-wrap{
  max-width:860px;
  margin:28px auto 0;
  padding:22px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.06);
  background:rgba(17,20,24,0.55);
  backdrop-filter:blur(10px);
  text-align:left;
}

.contact-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.field label{
  font-size: 0.92rem;
  color: rgba(184,188,198,0.92);
}

.field-full{ grid-column:1 / -1; }

.contact-form input,
.contact-form textarea{
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(21,24,31,0.75);
  color:white;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,125,255,0.18);
}

.turnstile-row{
  display:flex;
  justify-content:center;
}

.actions-row{ display:grid; gap:10px; }

.form-status{
  color: var(--muted);
  min-height: 1.2em;
  font-size: 0.95rem;
}

.contact-alt{
  grid-column:1/-1;
  color:var(--muted);
  margin-top: 6px;
}

.link{
  color:var(--accent);
  text-decoration:none;
  border-bottom:1px solid rgba(46,125,255,0.35);
}

.link:hover{
  border-bottom-color: rgba(46,125,255,0.8);
}
/* FLoating Contact Us */
.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.floating-contact-toggle {
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #ffffff 0%, #d9d9d9 100%);
  color: #111111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.floating-contact-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.floating-contact-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-contact-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-contact-action {
  min-width: 160px;
  text-align: center;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.floating-contact-action:hover {
  transform: translateY(-1px);
}

.floating-contact-action.call {
  background: #ffffff;
  color: #111111;
}

.floating-contact-action.text {
  background: #1f2937;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
  .floating-contact {
    right: 14px;
    bottom: 14px;
  }

  .floating-contact-toggle {
    padding: 13px 16px;
    font-size: 14px;
  }

  .floating-contact-action {
    min-width: 148px;
    font-size: 14px;
  }
}
/* Hide honeypot */
#fax{
  position:absolute !important;
  left:-10000px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* ===== Footer ===== */
.site-footer{
  padding:18px;
  text-align:center;
  color:#8a909e;
  font-size:.9rem;
  background:rgba(13,15,19,0.7);
  border-top:1px solid rgba(255,255,255,0.06);
}

/* Footer link button — looks like an <a> */
button.link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color .2s, text-decoration-color .2s;
}
button.link:hover {
  color: white;
  text-decoration-color: rgba(255,255,255,0.3);
}

/* Prevent body scroll when modal is open */
body.modal-open { overflow: hidden; }

/* ===== Client Portal Modal ===== */
.portal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .15s ease;
}
.portal-modal-backdrop[hidden] { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.portal-modal {
  position: relative;
  background: linear-gradient(160deg, #111827, #0d1117);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 40px 36px 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
  animation: slideUp .18s ease;
}

@keyframes slideUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.portal-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background .15s, color .15s;
}
.portal-modal-close:hover { background: rgba(255,255,255,0.1); color: white; }

.portal-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a3a6e, #0d1e3d);
  border: 1px solid rgba(46,125,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.portal-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.portal-modal-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 24px;
}

.portal-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 0.97rem;
  margin-bottom: 28px;
  text-decoration: none;
}

.portal-modal-steps {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.portal-modal-steps-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 14px;
}

.portal-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-modal-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.portal-step-num {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(46,125,255,0.15);
  border: 1px solid rgba(46,125,255,0.3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.portal-modal-help {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
  margin: 0;
}

@media (max-width: 480px) {
  .portal-modal { padding: 32px 22px 28px; }
}
/* ===== Floating Contact ===== */ .floating-contact{ position: fixed; right: 18px; bottom: 18px; z-index: 1100; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; } .floating-contact-toggle{ display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; background: linear-gradient(180deg, rgba(17,20,24,0.94), rgba(12,14,18,0.94)); color: var(--text); box-shadow: 0 18px 40px rgba(0,0,0,0.38); backdrop-filter: blur(12px); cursor: pointer; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.01em; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; } .floating-contact-toggle:hover{ transform: translateY(-2px); border-color: rgba(46,125,255,0.35); box-shadow: 0 20px 48px rgba(0,0,0,0.42); } .floating-contact-dot{ width: 10px; height: 10px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 14px rgba(46,125,255,0.75); flex: 0 0 auto; } .floating-contact-panel{ width: min(340px, calc(100vw - 28px)); } .floating-contact-card{ padding: 18px; border-radius: 18px; background: rgba(17,20,24,0.92); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(14px); box-shadow: 0 18px 48px rgba(0,0,0,0.40); text-align: left; transform: translateY(8px) scale(0.98); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease; } .floating-contact.open .floating-contact-card{ transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; } .floating-contact-eyebrow{ color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; } .floating-contact-number{ display: inline-block; color: var(--text); text-decoration: none; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; } .floating-contact-number:hover{ color: white; } .floating-contact-subtext{ color: var(--muted); font-size: 0.93rem; margin-bottom: 14px; } .floating-contact-actions{ display: flex; gap: 10px; flex-wrap: wrap; } .floating-contact-action{ flex: 1 1 120px; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; border: 1px solid rgba(255,255,255,0.08); transition: transform .2s ease, border-color .2s ease, background .2s ease; } .floating-contact-action:hover{ transform: translateY(-1px); } .floating-contact-action.primary{ background: var(--accent); color: white; } .floating-contact-action.ghost{ background: rgba(255,255,255,0.05); color: var(--text); } .floating-contact-action.primary:hover, .floating-contact-action.ghost:hover{ border-color: rgba(46,125,255,0.35); } .floating-contact-feedback{ min-height: 1.2em; margin-top: 10px; color: var(--muted); font-size: 0.88rem; } /* ===== Mobile ===== */
@media(max-width:900px){
  .estimate-grid{
    grid-template-columns: 1fr;
  }
}

@media(max-width:720px){
  .hero{ padding:90px 6% 60px; }
  .section{ padding:60px 6%; }

  .contact-form{ grid-template-columns:1fr; }

  .hero-logo{ width:220px; }
  .hero::before{ width:320px; height:320px; }

  .hero-net{
    width: 900px;
    height: 420px;
    top: 55px;
    opacity: 0.14;
  }

  .brand-logo{ width:48px; height:48px; }
  .site-header.scrolled .brand-logo{ width:42px; height:42px; }

  .estimate-card .row{
    grid-template-columns: 1fr;
  }

  .bd-row{
    grid-template-columns: 1.4fr 0.4fr 0.6fr 0.6fr;
  }
}
/* ===== Hamburger button (hidden on desktop) ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  padding: 0;
  transition: background .15s ease, border-color .15s ease;
  flex-shrink: 0;
}
.nav-hamburger:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.ham-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .22s ease, opacity .22s ease;
  transform-origin: center;
}
.nav-hamburger.is-open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile nav panel ===== */
.mobile-nav-panel {
  display: none; /* shown only on mobile via media query */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  background: rgba(10, 12, 15, 0.97);
  backdrop-filter: blur(16px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 80px 24px 40px;
}
.mobile-nav-panel:not([hidden]) {
  display: flex;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.mobile-nav-links a {
  display: block;
  width: 100%;
  max-width: 320px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color .15s ease;
}
.mobile-nav-links a:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.mobile-nav-links a:hover { color: var(--accent); }
.mobile-nav-phone {
  display: inline-block;
  margin-top: 32px;
  color: var(--muted);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color .15s ease;
}
.mobile-nav-phone:hover { color: var(--text); }

/* ===== Mobile breakpoint ===== */
@media (max-width: 720px) {
  .site-header {
    padding: 16px 5%;
  }
  .site-header.scrolled {
    padding: 10px 5%;
  }

  /* Hide desktop nav + phone on mobile */
  .site-nav,
  .contact-phone {
    display: none;
  }

  /* Show hamburger */
  .nav-hamburger {
    display: flex;
  }

  /* Prevent body scroll when nav is open */
  body.nav-open {
    overflow: hidden;
  }

  /* Keep floating contact above the mobile nav overlay */
  body.nav-open .floating-contact {
    z-index: 9999;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }
  .floating-contact-toggle {
    padding: 13px 16px;
    font-size: 0.92rem;
  }
}
