@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@300;400;600&family=Poppins:wght@500&display=swap");

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css");

:root {
  --blue: #0074d9;
  --blue-dark: #0052a3;
  --blue-sky: #4da3ff;
  --black: #000000;
  --charcoal: #1a1a1a;
  --gray: #e6e6e6;
  --white: #ffffff;
  --lime: #b8ff4d;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --glass: rgba(255, 255, 255, 0.05);
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(
      circle at 15% 20%,
      rgba(0, 116, 217, 0.18),
      transparent 25%
    ),
    radial-gradient(circle at 80% 0%, rgba(0, 82, 163, 0.25), transparent 30%),
    linear-gradient(180deg, #050505 0%, #0c0c0c 45%, #0f1624 100%);
  color: var(--white);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
.btn {
  font-family: "Poppins", "Montserrat", sans-serif;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(100%, calc(var(--max-width) + 32px));
  padding: 0 16px;
  margin: 0 auto;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.section {
  padding: 80px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-kicker {
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 12px;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  margin: 0 0 14px 0;
}

.section-subtitle {
  color: #cdd4e0;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-sky) 100%);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(0, 116, 217, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 116, 217, 0.5);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  width: 230px;
  height: 100px;
}

.brand span {
  color: var(--blue-sky);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #dfe7f5;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.15) 70%
  );
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1) brightness(0.75);
  transform: scale(1.02);
}

.hero-media-door {
  background-image: url("https://storage.googleapis.com/buildrightcontractor.com/buildrightcontractor_carry_door2.png");
  background-size: cover;
  background-position: center;
}
.hero-content {
  position: relative;
  max-width: 740px;
  z-index: 1;
  padding: 1%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--blue-sky);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  margin: 18px 0 12px 0;
}

.hero p {
  color: #d1ddf0;
  font-size: 18px;
  margin-bottom: 26px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 32px;
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.stat-card strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  color: var(--blue-sky);
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  color: #dfe7f5;
}

.cards-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 116, 217, 0.6);
  box-shadow: 0 20px 40px rgba(0, 116, 217, 0.25);
}

.card img {
  height: 170px;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0 0 8px 0;
  font-family: "Montserrat", sans-serif;
}

.card-body p {
  margin: 0 0 12px 0;
  color: #c9d3e5;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.16);
  color: var(--blue-sky);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #d5deed;
}

.feature-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-sky) 100%);
  flex-shrink: 0;
}

.projects-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-meta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.testimonial {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 190px;
}

.testimonial strong {
  display: block;
  margin-top: 12px;
}

.carousel {
  position: relative;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}

.carousel button:hover {
  background: rgba(0, 0, 0, 0.65);
}

.carousel .prev {
  left: -10px;
}
.carousel .next {
  right: -10px;
}

.cta-strip {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    120deg,
    rgba(0, 116, 217, 0.32),
    rgba(0, 82, 163, 0.28)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 12px;
  align-items: center;
  grid-template-columns: 1.2fr auto;
}

.cta-strip p {
  margin: 0;
  color: #e5eeff;
}
.cta-strip h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
  color: #c7d1e3;
}

.footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid h4 {
  margin: 0 0 12px 0;
  font-family: "Montserrat", sans-serif;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #c7d1e3;
}
.footer-links a:hover {
  color: var(--white);
}

.contact-card {
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 15px;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #d7e1f5;
  cursor: pointer;
}

.filter-btn.active {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-sky) 100%);
  color: var(--white);
  border-color: transparent;
}

.before-after {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d111a;
}

.before-after-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.before-after img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.before-after .after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
  pointer-events: none;
}

.before-after input[type="range"] {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  z-index: 2;
}

.before-after .label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing {
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.9),
    rgba(10, 18, 35, 0.95)
  );
}

.promo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(184, 255, 77, 0.12);
  color: #dfffb2;
  border: 1px solid rgba(184, 255, 77, 0.28);
  margin-bottom: 16px;
}

.phone-link {
  color: var(--blue-sky);
  font-weight: 700;
}

.call-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-sky) 100%);
  color: var(--white);
  padding: 14px 16px;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 116, 217, 0.45);
  display: none;
  align-items: center;
  gap: 8px;
  z-index: 1200;
}

.floating-bar {
  position: sticky;
  top: 70px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: 12px;
    width: calc(100% - 24px);
    max-width: 360px;
    background: rgba(0, 0, 0, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 14px;
    flex-direction: column;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    align-items: center;
    justify-content: center;
    color: #f5f8ff;
    cursor: pointer;
  }

  .cta-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .call-fab {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 96px 0 80px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .carousel button {
    display: none;
  }
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-icon {
  font-size: 24px;
  color: #c7d1e3;
  transition: color 0.2s ease;
}

.social-icon:hover {
  color: var(--blue-sky);
}
