:root {
  --bg-deep: #251412;
  --bg-mid: #6b241d;
  --bg-soft: #f9f4f1;
  --surface: rgba(58, 21, 18, 0.7);
  --surface-solid: #381815;
  --text-main: #2f211f;
  --text-soft: #7d6662;
  --white-soft: rgba(255, 255, 255, 0.78);
  --primary: #cf3a2b;
  --primary-strong: #e24a3b;
  --secondary: #8c2e24;
  --secondary-soft: #f07e56;
  --accent: #ffd3c0;
  --border-soft: rgba(207, 58, 43, 0.18);
  --shadow-xl: 0 30px 80px rgba(69, 24, 20, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Avenir Next", "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(207, 58, 43, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(240, 126, 86, 0.12), transparent 35%),
    var(--bg-soft);
}

main section {
  position: relative;
}

h1, h2, h3, h4, h5, .navbar-brand, .brand-title {
  font-family: "Montserrat", "Avenir Next Condensed", "Arial Narrow", "Segoe UI", sans-serif;
}

a {
  text-decoration: none;
}

.section-spacing {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.site-navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(207, 58, 43, 0.08);
  box-shadow: 0 10px 30px rgba(50, 25, 22, 0.08);
}

.brand-logo {
  width: auto;
  height: 4.25rem;
  display: block;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-main);
}

.brand-subtitle {
  color: rgba(47, 33, 31, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-navbar .nav-link {
  color: rgba(47, 33, 31, 0.78);
  font-weight: 600;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: var(--primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 0;
  box-shadow: 0 18px 40px rgba(207, 58, 43, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #db4c3d, #b33225);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: #2a1411;
  position: relative;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  min-height: 100vh;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide-bg {
  min-height: 100vh;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(32, 13, 11, 0.92) 0%, rgba(52, 18, 15, 0.82) 42%, rgba(111, 35, 27, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-control {
  z-index: 3;
  width: 8%;
}

.hero-control .carousel-control-prev-icon,
.hero-control .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  background-size: 55% 55%;
}

.hero-indicators {
  z-index: 3;
  bottom: 2rem;
}

.hero-indicators [data-bs-target] {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 0;
  margin: 0 0.35rem;
}

.hero-section {
  background:
    linear-gradient(160deg, rgba(37, 20, 18, 0.97), rgba(77, 26, 21, 0.92) 45%, rgba(134, 40, 30, 0.9) 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(207, 58, 43, 0.14), transparent 30%),
    linear-gradient(310deg, rgba(240, 126, 86, 0.12), transparent 30%);
  pointer-events: none;
  z-index: 2;
}

.hero-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.8;
}

.hero-blur-one {
  width: 28rem;
  height: 28rem;
  background: rgba(207, 58, 43, 0.18);
  top: -8rem;
  right: -8rem;
  animation: floatOrb 12s ease-in-out infinite;
}

.hero-blur-two {
  width: 22rem;
  height: 22rem;
  background: rgba(240, 126, 86, 0.18);
  left: -10rem;
  bottom: 4rem;
  animation: floatOrb 16s ease-in-out infinite reverse;
}

.eyebrow-pill,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.eyebrow-pill {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.section-tag {
  color: var(--primary);
  background: rgba(207, 58, 43, 0.08);
  border: 1px solid rgba(207, 58, 43, 0.12);
  margin-bottom: 1rem;
}

.hero-copy,
.section-copy {
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-copy {
  color: var(--white-soft);
  max-width: 44rem;
}

.glass-card,
.hero-panel,
.service-card,
.process-card,
.testimonial-card,
.contact-card,
.project-card,
.info-card,
.about-tile,
.hydro-card {
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-xl);
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.stat-card {
  padding: 1.25rem;
  border-radius: 1.5rem;
  height: 100%;
}

.stat-card strong {
  display: block;
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.about-photo-card {
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-xl);
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.section-heading {
  max-width: 52rem;
}

.section-dark {
  background:
    radial-gradient(circle at 20% 20%, rgba(207, 58, 43, 0.18), transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(240, 126, 86, 0.16), transparent 28%),
    linear-gradient(180deg, #2b1513, #4b1f1a);
}

.section-accent {
  background:
    linear-gradient(135deg, rgba(207, 58, 43, 0.95), rgba(140, 46, 36, 0.95)),
    #3d1814;
}

.section-dark .section-copy,
.section-accent .section-copy {
  color: rgba(255, 255, 255, 0.72) !important;
}

.info-card {
  height: 100%;
  padding: 1.6rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
}

.info-card h3,
.service-card h3,
.process-card h3,
.project-card h3,
.testimonial-card strong,
.feature-item h3,
.hydro-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.info-card p,
.service-card p,
.process-card p,
.project-card p,
.feature-item p {
  margin-bottom: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.about-visual {
  position: relative;
}

.about-photo-card {
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-tile {
  padding: 1.6rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.9);
}

.about-tile small,
.project-card small,
.hydro-kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-tile h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.about-tile p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.about-tile-primary,
.project-card-highlight {
  background: linear-gradient(145deg, rgba(207, 58, 43, 0.12), rgba(240, 126, 86, 0.1)), #ffffff;
}

.about-tile-secondary {
  background: linear-gradient(145deg, rgba(140, 46, 36, 0.08), rgba(240, 126, 86, 0.14)), #ffffff;
}

.service-card {
  padding: 2rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  color: #fff;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.service-card p {
  color: rgba(255, 255, 255, 0.74);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 194, 170, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(207, 58, 43, 0.3), rgba(240, 126, 86, 0.32));
  color: #fff;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  padding: 1.4rem 1.5rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(207, 58, 43, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover,
.project-card:hover,
.testimonial-card:hover,
.info-card:hover,
.about-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(20, 27, 68, 0.2);
}

.hydro-card {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  border-radius: 2rem;
  background: linear-gradient(165deg, #2a1411, #7b2b20 55%, #cf3a2b);
}

.hydro-card-photo {
  background:
    linear-gradient(180deg, rgba(45, 19, 16, 0.42), rgba(45, 19, 16, 0.88)),
    linear-gradient(135deg, rgba(207, 58, 43, 0.28), rgba(240, 126, 86, 0.12)),
    url("https://images.pexels.com/photos/4741970/pexels-photo-4741970.jpeg?cs=srgb&dl=pexels-pok-rie-33563-4741970.jpg&fm=jpg") center/cover;
}

.hydro-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: spinSlow 20s linear infinite;
}

.orbit-one {
  width: 24rem;
  height: 24rem;
  top: -4rem;
  right: -4rem;
}

.orbit-two {
  width: 16rem;
  height: 16rem;
  bottom: -3rem;
  left: -3rem;
}

.hydro-content {
  position: relative;
  z-index: 1;
  padding: 2.2rem;
  color: #fff;
}

.hydro-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.hydro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hydro-points span {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.92rem;
}

.process-card {
  padding: 2rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
}

.process-card strong {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.process-card p {
  color: rgba(255, 255, 255, 0.78);
}

.process-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.17);
}

.project-card {
  min-height: 16rem;
  padding: 1.6rem;
  border-radius: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(180deg, rgba(58, 21, 18, 0.18), rgba(58, 21, 18, 0.88)),
    linear-gradient(135deg, rgba(207, 58, 43, 0.2), rgba(140, 46, 36, 0.2)),
    #4f211b;
  color: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-photo-building {
  background:
    linear-gradient(180deg, rgba(45, 19, 16, 0.12), rgba(45, 19, 16, 0.88)),
    linear-gradient(135deg, rgba(207, 58, 43, 0.2), rgba(140, 46, 36, 0.22)),
    url("https://images.pexels.com/photos/17988760/pexels-photo-17988760.jpeg?cs=srgb&dl=pexels-jan-van-der-wolf-11680885-17988760.jpg&fm=jpg") center/cover;
}

.project-photo-hydro {
  background:
    linear-gradient(180deg, rgba(45, 19, 16, 0.15), rgba(45, 19, 16, 0.9)),
    linear-gradient(135deg, rgba(207, 58, 43, 0.18), rgba(140, 46, 36, 0.22)),
    url("https://images.pexels.com/photos/34766652/pexels-photo-34766652.jpeg?cs=srgb&dl=pexels-xiang-qi-346904928-34766652.jpg&fm=jpg") center/cover;
}

.project-photo-remodel {
  background:
    linear-gradient(180deg, rgba(45, 19, 16, 0.12), rgba(45, 19, 16, 0.9)),
    linear-gradient(135deg, rgba(207, 58, 43, 0.14), rgba(140, 46, 36, 0.16)),
    url("https://images.pexels.com/photos/8961343/pexels-photo-8961343.jpeg?cs=srgb&dl=pexels-mikael-blomkvist-8961343.jpg&fm=jpg") center/cover;
}

.project-photo-team {
  background:
    linear-gradient(180deg, rgba(45, 19, 16, 0.1), rgba(45, 19, 16, 0.9)),
    linear-gradient(135deg, rgba(207, 58, 43, 0.12), rgba(140, 46, 36, 0.18)),
    url("https://images.pexels.com/photos/6285142/pexels-photo-6285142.jpeg?cs=srgb&dl=pexels-gustavo-fring-6285142.jpg&fm=jpg") center/cover;
}

.project-card small {
  color: var(--accent);
}

.project-card h3 {
  margin-bottom: 0;
}

.testimonial-card {
  padding: 2rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: transform 0.35s ease, background 0.35s ease;
}

.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
}

.testimonial-card span {
  color: rgba(255, 255, 255, 0.64);
}

.contact-shell {
  padding: 2rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow-xl);
}

.contact-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.contact-points div {
  padding: 1rem 1.2rem;
  border-radius: 1.2rem;
  background: rgba(207, 58, 43, 0.06);
}

.contact-points strong {
  display: block;
  margin-bottom: 0.35rem;
}

.contact-points span {
  color: var(--text-soft);
}

.contact-card {
  padding: 2rem;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, #3a1714, #5a211b);
}

.contact-card .form-label {
  color: rgba(255, 255, 255, 0.82);
}

.contact-card .form-control,
.contact-card .form-select {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  min-height: 3.2rem;
  border-radius: 1rem;
}

.contact-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-card .form-select option {
  color: #11183d;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(207, 58, 43, 0.9);
  box-shadow: 0 0 0 0.25rem rgba(207, 58, 43, 0.18);
  color: #fff;
}

.site-footer {
  padding: 2rem 0 3rem;
  background: #ffffff;
  color: rgba(47, 33, 31, 0.86);
  border-top: 1px solid rgba(207, 58, 43, 0.08);
}

.site-footer p {
  color: rgba(47, 33, 31, 0.62);
  max-width: 38rem;
}

.footer-logo {
  display: block;
  height: 3.2rem;
  width: auto;
  margin-bottom: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: rgba(47, 33, 31, 0.78);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary);
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 18px, 0);
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

@media (max-width: 991.98px) {
  .hero-control {
    display: none;
  }

  .site-navbar .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(50, 25, 22, 0.12);
  }
}

@media (max-width: 767.98px) {
  .section-spacing {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-shell,
  .contact-card {
    padding: 1.5rem;
  }

  .hero-section .display-3 {
    font-size: 2.65rem;
  }

  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item,
  .hero-slide-bg,
  .hero-section {
    min-height: 48rem;
  }
}
