﻿/* =============================================================
   STYLE.CSS — ТИС ПРО БИЛД & VGroup
   Sections:
   1.  CSS Variables & Reset
   2.  Typography
   3.  Utility
   4.  Top Bar
   5.  Header & Nav (base)
   6.  Header States (transparent / sticky)
   7.  Logo
   8.  Desktop Menu
   9.  Dropdown
   10. Mobile Toggle & Mobile Menu
   11. Carousel / Hero
   12. Feature Strip
   13. About Section
   14. Services
   15. Construction Types
   16. Projects
   17. Quote Section
   18. Offerings
   19. Footer
   20. Sidebars
   21. Animations
   22. Responsive — Tablet (max 768px)
   23. Responsive — Mobile  (max 991px)
============================================================= */


/* =============================================
   1. CSS VARIABLES & RESET
============================================= */
:root {
  --color-primary:   #111111;
  --color-accent:    #C49A3C;
  --color-gold:      #C49A3C;
  --color-gold-dark: #9d7a2f;
  --color-teal:      #C49A3C;
  --color-teal-dark: #9d7a2f;
  --color-dark:      #0a0a0a;
  --color-charcoal:  #1c1c1c;
  --color-gray:      #3a3a3a;
  --color-mid:       #888888;
  --color-white:     #ffffff;
  --color-light:     #f5f5f5;
  --color-border:    #e0e0e0;

  --top-bar-height:      22px;
  --nav-height:          80px;
  --nav-height-mobile:   72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  overflow-x: hidden;
}

body {
  color:       var(--color-primary);
  background:  var(--color-white);
  font-family: 'Rubik', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
  overflow-x:  hidden;
}

a {
  color:      #666666;
  transition: 0.3s;
}

.btn {
  transition: 0.3s;
}

.btn:focus {
  box-shadow: none;
}


/* =============================================
   2. TYPOGRAPHY
============================================= */
h1, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 400;
}

.eyebrow {
  display:         inline-block;
  font-size:       12px;
  font-weight:     600;
  letter-spacing:  3px;
  text-transform:  uppercase;
  color:           var(--color-gold);
  margin-bottom:   12px;
  position:        relative;
  padding-left:    32px;
}

.eyebrow::before {
  content:    "";
  position:   absolute;
  left:       0;
  top:        50%;
  width:      24px;
  height:     2px;
  background: var(--color-gold);
}

.text-center .eyebrow { padding-left: 0; padding-right: 0; }
.text-center .eyebrow::before { display: none; }

h2 {
  margin-left:    auto;
  margin-right:   auto;
  font-size:      46px;
  font-weight:    700;
  color:          var(--color-primary);
  padding-bottom: 14px;
  letter-spacing: -0.5px;
  line-height:    1.15;
}

h2 strong {
  font-weight: 700;
  color:       var(--color-gold);
}

.text-center h2:not(.section-title)::after,
.projects h2::after,
.contact-page .contact-title::after,
.services-page-title::after,
.process-header h2::after,
.cta-text h2::after {
  content:    "";
  display:    block;
  width:      96px;
  height:     3px;
  background: linear-gradient(to right, transparent 0%, var(--color-gold) 30%, var(--color-gold) 70%, transparent 100%);
  margin:     20px auto 0;
}

.cta-text h2::after { display: none !important; }


/* =============================================
   3. UTILITY
============================================= */
.wrapper {
  position:   relative;
  width:      100%;
  max-width:  1000px;
  margin:     0 auto;
  background: var(--color-white);
}

.back-to-top {
  position:    fixed;
  display:     none;
  right:       15px;
  bottom:      15px;
  width:       44px;
  height:      44px;
  background:  var(--color-gold);
  color:       var(--color-white);
  font-size:   22px;
  text-align:  center;
  line-height: 1;
  transition:  background 0.3s;
  z-index:     9;
}

.back-to-top i     { padding-top: 10px; }
.back-to-top:hover { color: var(--color-white); background: var(--color-charcoal); }

.page-hero {
  position: relative;
  height:   280px;
  overflow: hidden;
}

.page-hero img {
  width:       100%;
  height:      100%;
  object-fit:  cover;
  display:     block;
}

.page-hero::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background: rgba(0, 0, 0, 0.5);
  z-index:    1;
}

.page-hero::after {
  content:    "";
  position:   absolute;
  bottom:     -1px;
  left:       0;
  width:      100%;
  height:     101px;
  background: var(--color-white);
  clip-path:  polygon(0 0, 50% 100%, 100% 0, 100% 100%, 0 100%);
  z-index:    2;
}

@keyframes zoomInCenter {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1);   }
}

.zoomInCenter {
  animation-name:      zoomInCenter;
  animation-duration:  0.8s;
  animation-fill-mode: both;
}


/* =============================================
   4. TOP BAR
============================================= */
.top-bar {
  background:  #0a0a0a;
  font-size:   13px;
  font-family: 'Rubik', Helvetica, Arial, Lucida, sans-serif;
}

.top-bar-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         10px 20px;
}

.top-bar-contacts {
  display:     flex;
  gap:         10px;
  font-weight: 300;
}

.top-bar-certification {
  display:     flex;
  gap:         20px;
  align-items: center;
  color:       var(--color-white);
}

@keyframes topBarIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.top-link {
  display:         flex;
  align-items:     center;
  gap:             6px;
  color:           rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition:      color 0.25s ease;
  position:        relative;
  padding-bottom:  3px;
  animation:       topBarIn 0.4s ease both;
}

.top-link span { display: inline !important; }

.top-link::after {
  content:          '';
  position:         absolute;
  bottom:           0;
  left:             0;
  width:            100%;
  height:           1px;
  background:       var(--color-gold);
  transform:        scaleX(0);
  transform-origin: left center;
  transition:       transform 0.3s ease;
}

.top-link:hover            { color: var(--color-gold); text-decoration: none; }
.top-link:hover::after     { transform: scaleX(1); }

.top-bar-contacts .top-link:nth-child(1) { animation-delay: 0.05s; }
.top-bar-contacts .top-link:nth-child(2) { animation-delay: 0.12s; }
.top-bar-contacts .top-link:nth-child(3) { animation-delay: 0.19s; }
.top-bar-certification .top-link:nth-child(1) { animation-delay: 0.10s; }
.top-bar-certification .top-link:nth-child(2) { animation-delay: 0.17s; }


/* =============================================
   5. HEADER & NAV — BASE
============================================= */
.site-header {
  position:   fixed;
  top:        0;
  left:       0;
  width:      100%;
  z-index:    9999;
  transition: all 0.35s ease;
}

.main-nav {
  position:      relative;
  z-index:       1000;
  background:    rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.header-spacer        { height: 0; transition: none; }
.header-spacer.active { height: calc(var(--top-bar-height) + var(--nav-height)); }


/* =============================================
   6. HEADER STATES — TRANSPARENT / STICKY
============================================= */
/* Transition only compositable properties — avoids layout thrash on every scroll tick */
.site-header {
  will-change: background, box-shadow;
  transform:   translateZ(0);
  transition:  background 0.3s ease, box-shadow 0.3s ease;
}
.site-header .main-nav  { transition: background 0.3s ease; }
.site-header .top-bar   { transition: background 0.3s ease; }
.site-header .nav-menu a { transition: color 0.25s ease; }
.site-header .nav-logo  { transition: width 0.3s ease, height 0.3s ease; }

.site-header.header-transparent .main-nav {
  background: var(--color-white);
}

.site-header.header-transparent .top-bar {
  background: #0a0a0a;
}

.site-header.header-transparent .nav-menu a {
  color: var(--color-primary);
}

.site-header.header-transparent .nav-menu a.active {
  color: var(--color-gold) !important;
}

.site-header.is-fixed {
  background: var(--color-white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.site-header.is-fixed .main-nav          { background: var(--color-white); }
.site-header.is-fixed .nav-menu a        { color: var(--color-primary); margin: 0; }
.site-header.is-fixed .nav-menu > li > a:hover,
.site-header.is-fixed .nav-menu > li > a.active { color: var(--color-gold) !important; }

.site-header.is-fixed .nav-menu .dropdown-menu li a {
  padding: 10px 22px !important;
}

.site-header.is-fixed .nav-menu  { align-items: center; margin: 0; padding: 0; }
.site-header.is-fixed .nav-inner { align-items: center; }

.site-header.is-fixed .nav-logo {
  margin-bottom: -20px;
  width:  230px;
  height: 80px;
}

.site-header.is-fixed .nav-logo img { height: 60px; }


/* =============================================
   7. LOGO
============================================= */
.nav-logo {
  position:    relative;
  z-index:     10;
  display:     flex;
  align-items: center;
  gap:         16px;
  padding:     0 20px 0 12px;
  width:       fit-content;
  height:      100px;
  background:  var(--color-white);
  transition:  all 0.35s ease;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 75%,
    90% 100%,
    0 100%
  );
}

.nav-logo img {
  height:         74px;
  width:          auto;
  display:        inline-block;
  vertical-align: middle;
  transition:     all 0.35s ease;
}

.nav-logo img.partner-logo { max-height: 62px; }


/* =============================================
   8. DESKTOP MENU
============================================= */
.nav-menu {
  display:    flex;
  gap:        15px;
  list-style: none;
  font-size:  14px;
}

@keyframes navItemIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-menu > li {
  animation: navItemIn 0.4s ease both;
}
.nav-menu > li:nth-child(1) { animation-delay: 0.05s; }
.nav-menu > li:nth-child(2) { animation-delay: 0.10s; }
.nav-menu > li:nth-child(3) { animation-delay: 0.15s; }
.nav-menu > li:nth-child(4) { animation-delay: 0.20s; }
.nav-menu > li:nth-child(5) { animation-delay: 0.25s; }
.nav-menu > li:nth-child(6) { animation-delay: 0.30s; }
.nav-menu > li:nth-child(7) { animation-delay: 0.35s; }
.nav-menu > li:nth-child(8) { animation-delay: 0.40s; }

.nav-menu a {
  position:        relative;
  color:           var(--color-white);
  font-weight:     500;
  text-decoration: none;
  padding-bottom:  6px;
  text-transform:  uppercase;
  letter-spacing:  0.8px;
  font-size:       13px;
  transition:      color 0.25s ease;
}

.nav-menu > li > a::after {
  content:          '';
  position:         absolute;
  bottom:           0;
  left:             0;
  width:            100%;
  height:           2px;
  background:       var(--color-gold);
  transform:        scaleX(0);
  transform-origin: left center;
  transition:       transform 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--color-gold) !important;
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
  transform: scaleX(1);
}


/* =============================================
   9. DROPDOWN
============================================= */
.nav-menu .dropdown { position: relative; }

.nav-menu .dropdown::after {
  content:    '';
  position:   absolute;
  top:        100%;
  left:       0;
  width:      100%;
  height:     15px;
  background: transparent;
}

.nav-menu .dropdown-menu {
  position:       absolute;
  top:            calc(100% + 4px);
  left:           0;
  min-width:      220px;
  padding:        6px 0;
  background:     var(--color-white);
  border-top:     2px solid var(--color-gold);
  border-bottom:  none;
  visibility:     hidden;
  opacity:        0;
  transform:      translateY(6px);
  transition:     opacity 0.22s ease,
                  transform 0.22s ease,
                  visibility 0s linear 0.22s;
  z-index:        9999;
  box-shadow:     0 12px 40px rgba(0, 0, 0, 0.13);
  pointer-events: none;
}

.nav-menu .dropdown-menu li a {
  display:         block;
  padding:         10px 22px;
  color:           #222 !important;
  font-size:       13px;
  font-weight:     500;
  letter-spacing:  0.3px;
  text-decoration: none;
  border-bottom:   1px solid rgba(0, 0, 0, 0.06);
  transition:      color 0.2s ease, padding-left 0.2s ease;
  position:        relative;
}

.nav-menu .dropdown-menu li a::before {
  content:    '';
  position:   absolute;
  left:       0;
  top:        0;
  bottom:     0;
  width:      0;
  background: var(--color-gold);
  opacity:    0.15;
  transition: width 0.2s ease;
}

.nav-menu .dropdown-menu li a:hover {
  color:        var(--color-gold) !important;
  padding-left: 28px;
}

.nav-menu .dropdown-menu li a:hover::before {
  width: 3px;
}

@media (min-width: 992px) {
  .nav-menu .dropdown:hover .dropdown-menu {
    visibility:     visible;
    opacity:        1;
    transform:      translateY(0);
    transition:     opacity 0.22s ease,
                    transform 0.22s ease,
                    visibility 0s linear 0s;
    pointer-events: auto;
  }
}


/* =============================================
   10. MOBILE TOGGLE & MOBILE MENU
============================================= */
.nav-toggle {
  display:    none;
  background: none;
  border:     none;
  cursor:     pointer;
}

.nav-toggle span {
  display:    block;
  width:      26px;
  height:     2px;
  background: var(--color-white);
  margin:     6px 0;
  transition: all 0.3s ease;
}

.mobile-menu {
  position:   absolute;   /* out of flow — never expands the fixed header */
  top:        100%;
  left:       0;
  right:      0;
  z-index:    998;
  background: #111111;
  border-top: 2px solid var(--color-gold);
  padding:    8px 0 0;
  /* Closed state */
  opacity:        0;
  visibility:     hidden;
  transform:      translateY(-8px);
  pointer-events: none;
  transition:     opacity 0.22s ease,
                  transform 0.22s ease,
                  visibility 0s linear 0.22s;
}

.mobile-menu.active {
  opacity:        1;
  visibility:     visible;
  transform:      translateY(0);
  pointer-events: auto;
  transition:     opacity 0.22s ease,
                  transform 0.22s ease,
                  visibility 0s linear 0s;
}

.mobile-menu a {
  display:         block;
  padding:         13px 24px;
  font-size:       15px;
  color:           rgba(255, 255, 255, 0.85);
  text-decoration: none;
  text-transform:  uppercase;
  letter-spacing:  0.6px;
  border-bottom:   1px solid rgba(255, 255, 255, 0.07);
  transition:      color 0.25s ease, background 0.25s ease;
}

.mobile-menu a:hover {
  color:      var(--color-gold);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu .mobile-cta {
  margin:        20px 24px 0;
  padding:       14px;
  background:    var(--color-gold);
  color:         var(--color-white);
  font-weight:   600;
  border-radius: 0;
  text-align:    center;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size:     13px;
}

.mobile-menu .mobile-cta:hover { background: var(--color-gold-dark); color: #fff; }

.mobile-dropdown-header {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  border-bottom:   1px solid rgba(255, 255, 255, 0.07);
}

.mobile-dropdown-header a  { border-bottom: none !important; flex: 1; }

.dropdown-toggle-btn {
  color:      rgba(255, 255, 255, 0.6);
  padding:    14px 20px;
  cursor:     pointer;
  font-size:  11px;
  transition: transform 0.3s ease;
}

.dropdown-toggle-btn.open { transform: rotate(180deg); }

.mobile-dropdown-menu      { display: none; background: #1a1a1a; }
.mobile-dropdown-menu.open { display: block; }

.mobile-dropdown-menu a {
  padding:    10px 24px 10px 40px !important;
  font-size:  13px !important;
  color:      rgba(255, 255, 255, 0.6) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.mobile-dropdown-menu a:hover {
  color: var(--color-gold) !important;
}


/* =============================================
   11. CAROUSEL / HERO
============================================= */
#carousel {
  background: #000;
}

#carousel,
#carousel .carousel-inner,
#carousel .carousel-item {
  height:     100vh;
  min-height: 650px;
}

#carousel .carousel-inner { position: relative; }

#carousel .carousel-item img {
  width:      100%;
  height:     100%;
  object-fit: cover;
}

.carousel-fade .carousel-item {
  opacity:    0;
  transition: opacity 1s ease;
  position:   absolute !important;
  top:        0;
  left:       0;
  width:      100%;
  height:     100%;
  display:    block !important;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
  z-index: 1;
}

/* Incoming slide fades in on top */
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
  opacity: 1;
  z-index: 2;
}

/* Outgoing slide drops behind instantly */
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  opacity:    0;
  z-index:    0;
  transition: opacity 0s;
}

.carousel-caption {
  position:   absolute;
  left:       72px;   /* clear of the left arrow */
  bottom:     22%;
  right:      auto;
  width:      auto;
  text-align: left;
  background: none;
  opacity:    0;
}

.carousel-item.active .carousel-caption {
  animation: captionEnter 1.1s ease 0.4s both;
}

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

.carousel-caption .hero-btn { margin-left: 40px; border-radius: 0; position: relative; z-index: 10; }
.carousel-caption h3        { padding-left: 40px; }

/* Compact arrow-only carousel controls — blend in, go gold on hover */
.carousel-control-prev,
.carousel-control-next {
  width:      52px;
  height:     52px;
  top:        50%;
  transform:  translateY(-50%);
  background: transparent;
  border:     none;
  opacity:    1;
  transition: opacity 0.25s ease;
  z-index:    5;
}
.carousel-control-prev { left: 16px; }
.carousel-control-next { right: 16px; }

.carousel-control-prev i,
.carousel-control-next i {
  font-size:   20px;
  color:       rgba(255, 255, 255, 0.62);
  transition:  color 0.25s ease;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.carousel-control-prev:hover i,
.carousel-control-next:hover i {
  color: var(--color-gold);
}

.hero-label {
  display:       inline-block;
  background:    rgba(10, 10, 10, 0.52);
  color:         var(--color-white);
  font-size:     52px;
  font-weight:   400;
  padding:       8px 40px 12px 25px;
  border-left:   4px solid var(--color-gold);
  margin-bottom: 15px;
  text-shadow:   none;
  letter-spacing: -0.5px;
}

.carousel-caption h1 {
  font-size:        4rem;
  font-weight:      400;
  text-transform:   uppercase;
  margin-bottom:    15px;
  background-color: rgba(10, 10, 10, 0.7);
  padding:          5px 10px 5px 5px;
  color:            #fff;
}

.carousel-caption h3 {
  font-size:      30px;
  font-weight:    300;
  line-height:    1.5;
  color:          #fff;
  margin:         10px 0 25px;
  text-shadow:    0 1px 8px rgba(0,0,0,0.9);
  letter-spacing: 0.2px;
  background:     rgba(0,0,0,0.26);
  display:        table;
  padding:        8px 20px 8px 40px;
}

.hero-btn {
  display:          inline-flex;
  align-items:      center;
  gap:              10px;
  background-color: var(--color-gold);
  padding:          14px 28px;
  font-size:        13px;
  font-weight:      600;
  letter-spacing:   2px;
  text-transform:   uppercase;
  color:            var(--color-white);
  border:           none;
  transition:       all 0.4s var(--ease-out);
}

.hero-btn::after {
  content:    "→";
  font-size:  16px;
  transition: transform 0.4s var(--ease-out);
}

.hero-btn:hover {
  background-color: var(--color-charcoal);
  color:            var(--color-white);
  letter-spacing:   2.5px;
}

.hero-btn:hover::after {
  transform: translateX(6px);
}


/* =============================================
   12. FEATURE STRIP
============================================= */
.feature {
  background:    var(--color-charcoal);
  border-top:    2px solid var(--color-gold);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding:       52px 40px;
}

.feature-inner {
  max-width:       900px;
  margin:          0 auto;
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             32px;
}

.feature-img {
  width:         88px;
  height:        88px;
  object-fit:    contain;
  border-radius: 50%;
  background:    #fff;
  border:        2px solid rgba(196,154,60,0.45);
  padding:       12px;
  flex-shrink:   0;
  transition:    border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-img:hover {
  border-color: var(--color-gold);
  box-shadow:   0 0 0 4px rgba(196,154,60,0.15);
}

/* Certificate link hover */
.feature-inner a {
  transition: opacity 0.25s ease;
}

.feature-inner a:hover {
  opacity: 0.82;
}

.feature-inner a:hover .feature-img {
  border-color: var(--color-gold);
  box-shadow:   0 0 0 6px rgba(196,154,60,0.18);
}

.feature-inner a:hover .feature-cert-title {
  color: var(--color-gold);
}

.feature-cert-text {
  display:        flex;
  flex-direction: column;
  gap:            5px;
}

.feature-cert-title {
  font-size:      15px;
  font-weight:    600;
  color:          #fff;
  letter-spacing: 0.3px;
}

.feature-cert-sub {
  font-size:   13px;
  color:       rgba(255,255,255,0.45);
  font-weight: 300;
  line-height: 1.5;
}


/* =============================================
   13. ABOUT SECTION (homepage)
============================================= */
.about {
  background-image:      url('../img/real_banner/banner-proces3.jpg');
  background-size:       cover;
  background-position:   center;
  background-attachment: scroll;
  position:    relative;
  padding:     110px 0 90px;
  display:     flex;
  align-items: center;
  clip-path: polygon(0 0, 15% 0, 50% 6%, 85% 0, 100% 0, 100% 100%, 0 100%);
}

.about-overlay {
  position:   absolute;
  inset:      0;
  background: rgba(0, 0, 0, 0.78);
  z-index:    1;
}

.about-intro {
  margin-bottom: 60px;
}

.about h2 {
  color:         var(--color-white);
  margin-bottom: 24px;
}

.about-intro p {
  color:       rgba(255, 255, 255, 0.78);
  font-size:   17px;
  line-height: 1.85;
  max-width:   680px;
  margin:      0 auto;
}

.about-features {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   28px;
}

.about-feat-card {
  text-align:  center;
  padding:     40px 28px;
  border:      1px solid rgba(255, 255, 255, 0.1);
  background:  rgba(255, 255, 255, 0.04);
  transition:  background 0.3s ease, border-color 0.3s ease;
}

.about-feat-card:hover {
  background:   rgba(196, 154, 60, 0.12);
  border-color: var(--color-gold);
}

.about-feat-icon {
  width:           64px;
  height:          64px;
  border-radius:   50%;
  background:      var(--color-gold);
  display:         flex;
  align-items:     center;
  justify-content: center;
  margin:          0 auto 20px;
}

.about-feat-icon i {
  color:     #fff;
  font-size: 26px;
}

.about-feat-card h4 {
  color:          #fff;
  font-size:      16px;
  font-weight:    500;
  margin-bottom:  12px;
  letter-spacing: 0.4px;
}

.about-feat-card p {
  color:       rgba(255, 255, 255, 0.65);
  font-size:   14px;
  line-height: 1.75;
  margin:      0;
}

@media (max-width: 991px) {
  .about {
    padding-bottom: 70px;
  }
  .about-features {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .about-feat-card {
    padding: 28px 20px;
  }
}

/* Single column on phones — all cards full width, no orphaned card */
@media (max-width: 768px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .about {
    height: auto !important;
    padding: 50px 15px 80px;
  }

  .about-intro {
    margin-bottom: 32px;
  }

  .about-intro p {
    font-size: 15px;
    line-height: 1.7;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-feat-card {
    padding: 26px 22px;
  }
  .about-feat-icon {
    width: 52px;
    height: 52px;
  }
  .about-feat-icon i { font-size: 22px; }
  .about-feat-card h4 { font-size: 14px; margin-bottom: 8px; }
  .about-feat-card p  { font-size: 13px; line-height: 1.7; }
}


/* =============================================
   14. SERVICES
============================================= */
.service {
  padding:          70px 0;
  background-color: var(--color-white);
}

.service .container-fluid {
  width:         100%;
  padding-left:  150px;
  padding-right: 150px;
  box-sizing:    border-box;
}

.row {
  display:   flex;
  flex-wrap: wrap;
}

.service-card {
  display:         flex;
  flex-direction:  column;
  background:      var(--color-white);
  border:          1px solid var(--color-border);
  overflow:        hidden;
  transition:      transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position:        relative;
  text-decoration: none;
  cursor:          pointer;
}

.service-card::after {
  content:    "";
  position:   absolute;
  bottom:     0;
  left:       0;
  width:      0;
  height:     3px;
  background: var(--color-gold);
  transition: width 0.4s ease;
}

.service-card:hover::after  { width: 100%; }

.service-card:hover {
  transform:    translateY(-6px);
  box-shadow:   0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-gold);
  text-decoration: none;
}

.service-icon {
  overflow: hidden;
  position: relative;
}

.service-icon img {
  width:      100%;
  height:     180px;
  object-fit: cover;
  display:    block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter:     grayscale(20%);
}

.service-card:hover .service-icon img {
  transform: scale(1.06);
  filter:    grayscale(0%);
}

.service-card h3 {
  font-size:      14px;
  font-weight:    600;
  color:          var(--color-primary);
  padding:        14px 16px;
  margin:         0;
  line-height:    1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition:     color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--color-gold);
}

.service-card-arrow {
  position:        absolute;
  bottom:          14px;
  right:           14px;
  width:           30px;
  height:          30px;
  background:      var(--color-gold);
  display:         flex;
  align-items:     center;
  justify-content: center;
  opacity:         0;
  transform:       translateX(8px);
  transition:      opacity 0.3s ease, transform 0.3s ease;
}

.service-card-arrow i {
  color:     #fff;
  font-size: 11px;
}

.service-card:hover .service-card-arrow {
  opacity:   1;
  transform: translateX(0);
}


/* =============================================
   15. CONSTRUCTION TYPES
============================================= */
.construction-types {
  position:         relative;
  padding:          110px 40px 80px;
  background-color: var(--color-light);
  clip-path: polygon(
    0 0, 15% 0, 50% 10%, 85% 0,
    100% 0, 100% 100%, 0 100%
  );
}

.construction-types .construction-card {
  position:        relative;
  overflow:        hidden;
  cursor:          pointer;
  height:          100%;
  display:         block;
  text-decoration: none;
  transition:      transform 0.3s ease, box-shadow 0.3s ease;
}

.construction-types .construction-card:hover {
  transform:  translateY(-10px) scale(1.02);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
}

.construction-types .image-wrap {
  position: relative;
  overflow: hidden;
  height:   240px;
}

.construction-types .construction-card::after {
  content:    "";
  position:   absolute;
  bottom:     0;
  left:       0;
  width:      0;
  height:     3px;
  background: var(--color-gold);
  transition: width 0.4s ease;
  z-index:    3;
}

.construction-types .construction-card:hover::after {
  width: 100%;
}

.construction-types .image-wrap::before {
  content:    "";
  position:   absolute;
  inset:      0;
  background: rgba(0, 0, 0, 0);
  z-index:    2;
  transition: background 0.4s ease;
}

.construction-types .construction-card:hover .image-wrap::before {
  background: rgba(0, 0, 0, 0.35);
}

.construction-types .image-wrap img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
  transition: transform 0.5s ease;
  filter:     grayscale(15%);
}

.construction-types .construction-card:hover .image-wrap img {
  transform: scale(1.08);
  filter:    grayscale(0%);
}

.construction-types .construction-card h5 {
  position:       absolute;
  bottom:         0;
  left:           0;
  right:          0;
  margin:         0;
  padding:        40px 14px 14px;
  font-size:      13px;
  font-weight:    600;
  color:          #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height:    1.4;
  background:     linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
  z-index:        2;
  transition:     background 0.3s ease;
}

.construction-types .construction-card:hover h5 {
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 100%);
}


/* =============================================
   16. PROJECTS
============================================= */
.projects {
  padding:    90px 40px;
  background: #fff;
  text-align: center;
  position:   relative;
}

.projects .eyebrow { color: var(--color-gold); }
.projects .eyebrow::before { background: var(--color-gold); }

.projects h2 {
  color:         var(--color-primary);
  margin-bottom: 0;
}

.projects h2 strong { color: var(--color-gold); }

.projects-subline {
  font-size:     15px;
  color:         var(--color-mid);
  margin-top:    14px;
  margin-bottom: 0;
  font-weight:   300;
}

.projects-grid {
  display:         flex;
  justify-content: center;
  gap:             20px;
  max-width:       1100px;
  margin:          50px auto 0;
}

.project-card {
  position:        relative;
  flex:            1;
  max-width:       520px;
  height:          520px;
  overflow:        hidden;
  display:         block;
  text-decoration: none;
}

.project-card:nth-child(n) { transform: none; }

.project-card img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
  filter:     grayscale(25%);
  transition: transform 0.65s ease, filter 0.65s ease;
}

.project-card:hover img {
  transform: scale(1.06);
  filter:    grayscale(0%);
}

/* Gradient overlay */
.project-card::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.38) 50%, rgba(0,0,0,0.08) 100%);
  z-index:    1;
  transition: background 0.4s ease;
}

.project-card:hover::before {
  background: linear-gradient(to top, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.62) 60%, rgba(0,0,0,0.14) 100%);
}

/* Gold bottom sweep */
.project-card::after {
  content:    '';
  position:   absolute;
  bottom:     0;
  left:       0;
  width:      0;
  height:     3px;
  background: var(--color-gold);
  z-index:    3;
  transition: width 0.45s ease;
}

.project-card:hover::after { width: 100%; }

/* Info overlay */
.project-label {
  position:   absolute;
  bottom:     0;
  left:       0;
  right:      0;
  z-index:    2;
  padding:    0 28px 30px;
  text-align: left;
  transform:  translateY(8px);
  transition: transform 0.4s ease;
  background: none;
  border:     none;
  box-shadow: none;
  width:      auto;
  backdrop-filter: none;
}

.project-card:hover .project-label { transform: translateY(0); background: none; color: #fff; }

.project-label-cat {
  display:        block;
  font-size:      10px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color:          var(--color-gold);
  margin-bottom:  8px;
}

.project-label-title {
  display:        block;
  font-size:      22px;
  font-weight:    700;
  color:          #fff;
  line-height:    1.2;
  letter-spacing: -0.3px;
}

.project-label-arrow {
  display:        flex;
  align-items:    center;
  gap:            8px;
  font-size:      11px;
  font-weight:    600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color:          var(--color-gold);
  margin-top:     14px;
  opacity:        0;
  transition:     opacity 0.3s ease 0.05s;
}

.project-card:hover .project-label-arrow { opacity: 1; }

.projects-viewall {
  margin-top:      44px;
  display:         flex;
  justify-content: center;
}


/* =============================================
   17. QUOTE SECTION
============================================= */
.quote-section {
  padding:          80px 20px;
  text-align:       center;
  background-color: var(--color-light);
  border-top:       1px solid var(--color-border);
  border-bottom:    1px solid var(--color-border);
}

.quote-section .quote-content p {
  font-size:   42px;
  font-style:  italic;
  font-weight: 300;
  line-height: 1.4;
  max-width:   900px;
  margin:      10px auto;
  color:       var(--color-primary);
  letter-spacing: -0.5px;
}


/* =============================================
   18. OFFERINGS
============================================= */
.offerings {
  position: relative;
}

.offerings .row {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows:    repeat(2, 220px);
  margin:                0;
}

.offerings .offering-image {
  background-image:    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600');
  background-size:     cover;
  background-position: center;
  filter:              grayscale(30%);
}

.offering-card {
  display:         flex;
  flex-direction:  column;
  justify-content: center;
  padding:         32px 36px;
  background:      var(--color-white);
  border:          1px solid var(--color-border);
  transition:      box-shadow 0.3s ease;
}

.offering-card:hover {
  box-shadow: inset 0 0 0 2px var(--color-gold);
}

.offering-content {
  display:        flex;
  flex-direction: column;
  gap:            20px;
}

.offering-content h3 {
  font-size:   20px;
  line-height: 1.4;
  margin:      0;
  color:       var(--color-primary);
  font-weight: 400;
}

.offering-content h3 strong {
  color:       var(--color-primary);
  font-weight: 700;
}

.btn-wrapper {
  display:     flex;
  align-items: center;
  gap:         16px;
}

.btn-line {
  flex:       1;
  height:     1px;
  background: var(--color-border);
}

.offering-btn,
.btn-action {
  position:        relative;
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  align-self:      flex-start;
  padding:         12px 24px 12px 26px;
  font-size:       12px;
  font-weight:     700;
  letter-spacing:  2px;
  text-transform:  uppercase;
  background:      var(--color-charcoal);
  color:           #fff !important;
  border:          none;
  text-decoration: none;
  overflow:        hidden;
  transition:      background 0.4s var(--ease-out), letter-spacing 0.4s var(--ease-out);
}

.offering-btn::after,
.btn-action::after {
  content:     "→";
  font-size:   16px;
  font-weight: 400;
  transition:  transform 0.4s var(--ease-out);
}

.offering-btn:hover,
.btn-action:hover {
  background:      var(--color-gold);
  letter-spacing:  2.5px;
  color:           #fff !important;
  text-decoration: none;
}

.offering-btn:hover::after,
.btn-action:hover::after {
  transform: translateX(6px);
}


/* =============================================
   19. FOOTER
============================================= */
.footer {
  padding:          40px 0 0 0;
  font-size:        14px;
  background-color: #0a0a0a;
  position:         relative;
}

.footer::before {
  content:    '';
  position:   absolute;
  top:        0;
  left:       0;
  right:      0;
  height:     2px;
  background: linear-gradient(to right, transparent 0%, var(--color-gold) 5%, var(--color-gold) 95%, transparent 100%);
}

.footer .footer-menu {
  max-width: 1443px;
  margin:    0 auto;
}

.footer-links {
  display:         flex;
  flex-wrap:       wrap;
  justify-content: center;
  gap:             20px;
  list-style:      none;
  padding:         0;
  margin:          0 0 20px 0;
  text-transform:  uppercase;
}

.footer-links li a {
  color:           rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight:     500;
  letter-spacing:  0.5px;
  font-size:       12px;
  transition:      color 0.25s ease;
}

.footer-links li a:hover  { color: var(--color-gold); }
.footer-links li a.active { color: var(--color-gold) !important; }

.footer .copyright {
  color:            rgba(255, 255, 255, 0.4);
  padding-top:      20px;
  background-color: #000000;
  font-size:        13px;
}

@media (max-width: 991px) {
  .footer .footer-links li a.active { color: var(--color-gold) !important; }
}


/* =============================================
   19b. STATS COUNTER STRIP
============================================= */
.stats-strip {
  background:    var(--color-charcoal);
  padding:       70px 20px;
  position:      relative;
  overflow:      hidden;
}

.stats-strip::before {
  content:    "";
  position:   absolute;
  top:        0;
  left:       0;
  right:      0;
  height:     2px;
  background: linear-gradient(to right, transparent 0%, var(--color-gold) 50%, transparent 100%);
}

.stats-strip-inner {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   20px;
  max-width:             1200px;
  margin:                0 auto;
}

.stat-item {
  text-align: center;
  color:      #fff;
  position:   relative;
  padding:    10px 16px;
}

.stat-item + .stat-item::before {
  content:    "";
  position:   absolute;
  left:       0;
  top:        20%;
  bottom:     20%;
  width:      1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size:      54px;
  font-weight:    700;
  color:          var(--color-gold);
  line-height:    1;
  margin-bottom:  8px;
  letter-spacing: -1px;
}

.stat-suffix {
  font-size:   28px;
  font-weight: 400;
  color:       var(--color-gold);
  margin-left: 2px;
}

.stat-label {
  font-size:      13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color:          rgba(255, 255, 255, 0.55);
  font-weight:    400;
}

@media (max-width: 768px) {
  .stats-strip { padding: 50px 15px; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 32px 10px; }
  .stat-item + .stat-item::before { display: none; }
  .stat-number { font-size: 40px; }
  .stat-suffix { font-size: 22px; }
  .stat-label  { font-size: 12px; letter-spacing: 1px; }
}


/* =============================================
   19c. CTA BANNER
============================================= */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(15,15,15,0.97) 0%, rgba(5,5,5,0.97) 100%),
    url('img/topbar2.jpg');
  background-size:     cover;
  background-position: center;
  padding:             90px 40px;
  position:            relative;
  overflow:            hidden;
}

.cta-banner::before {
  content:    "";
  position:   absolute;
  top:        0;
  left:       0;
  right:      0;
  height:     2px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.cta-banner::after {
  content:    "";
  position:   absolute;
  top:        -50px;
  right:      -50px;
  width:      300px;
  height:     300px;
  border:     1px solid rgba(196, 154, 60, 0.15);
  transform:  rotate(45deg);
}

.cta-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             40px;
  max-width:       1200px;
  margin:          0 auto;
  position:        relative;
  z-index:         2;
}

.cta-text h2 {
  color:          #fff !important;
  font-size:      38px;
  margin-bottom:  10px;
  font-weight:    700;
  letter-spacing: -0.5px;
}

.cta-text h2 strong { color: var(--color-gold) !important; }
.cta-text h2::after { display: none !important; }

.cta-text p {
  color:     rgba(255, 255, 255, 0.75);
  font-size: 17px;
  margin:    0;
}

.cta-banner .btn-action {
  background:  var(--color-gold);
  color:       var(--color-white) !important;
  flex-shrink: 0;
  border:      2px solid transparent;
}

.cta-banner .btn-action:hover {
  background: transparent;
  color:      var(--color-gold) !important;
  border:     2px solid var(--color-gold);
}

.cta-banner .btn-action::after { color: inherit; }

/* Align CTA buttons with the bottom edge of the heading block (desktop).
   Mobile media queries below/in page CSS re-center them. */
.cta-banner .btn-action,
.abt-cta .btn-action,
.srv-cta .btn-action,
.sales-cta .btn-action,
.mech-cta .btn-action,
.prt-cta .btn-action,
.cert-cta .btn-action,
.legal-cta .btn-action,
.proj-cta .btn-action,
.abt-partners-teaser .btn-action {
  align-self: flex-end;
}

@media (max-width: 768px) {
  .cta-inner          { flex-direction: column; text-align: center; gap: 28px; }
  .cta-text h2        { font-size: 28px; }
  .cta-banner         { padding: 70px 24px; }
  .cta-banner .btn-action { align-self: center; }
}


/* =============================================
   19d. PROCESS STEPS
============================================= */
.process-section {
  padding:    90px 40px;
  background: var(--color-white);
  position:   relative;
  border-top: 1px solid var(--color-border);
}

.process-header {
  text-align:    center;
  margin-bottom: 60px;
}

.process-grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   30px;
  max-width:             1200px;
  margin:                0 auto;
  position:              relative;
}

.process-step {
  position:   relative;
  padding:    36px 26px;
  background: var(--color-light);
  text-align: left;
  border-top: 3px solid var(--color-gold);
  border:     1px solid var(--color-border);
  border-top: 3px solid var(--color-gold);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.process-step:hover {
  transform:  translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.process-number {
  font-size:      72px;
  font-weight:    700;
  color:          var(--color-gold);
  opacity:        0.2;
  line-height:    0.8;
  margin-bottom:  10px;
  letter-spacing: -2px;
}

.process-step h4 {
  font-size:      18px;
  font-weight:    600;
  color:          var(--color-primary);
  margin-bottom:  10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.process-step p {
  font-size:   14px;
  color:       var(--color-mid);
  line-height: 1.65;
  margin:      0;
}

@media (max-width: 991px) {
  .process-section { padding: 60px 20px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .process-section { padding: 50px 15px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-number { font-size: 56px; }
  .process-step h4 { font-size: 16px; }
}


/* =============================================
   20. SIDEBARS (shared — about, mech, properties)
============================================= */
.about-sidebar,
.mech-sidebar,
.properties-sidebar {
  width:          240px;
  flex-shrink:    0;
  position:       sticky;
  top:            100px;
  align-self:     flex-start;
  display:        flex;
  flex-direction: column;
  gap:            10px;
}

.about-sidebar h3,
.mech-sidebar h3,
.properties-sidebar h3 {
  background:     var(--color-charcoal);
  color:          #fff;
  font-size:      15px;
  font-weight:    600;
  letter-spacing: 1px;
  padding:        12px 20px;
  margin:         0;
  border-left:    3px solid var(--color-gold);
}

.sidebar-menu {
  list-style:     none;
  padding:        0;
  margin:         0;
  display:        flex;
  flex-direction: column;
  gap:            6px;
}

.sidebar-menu li { margin: 0; }

.sidebar-menu a {
  display:         flex;
  align-items:     center;
  gap:             8px;
  padding:         10px 20px;
  font-size:       14px;
  color:           #333;
  text-decoration: none;
  background:      #fff;
  border:          1px solid var(--color-border);
  transition:      all 0.25s ease;
}

.sidebar-menu a::before {
  content:     "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size:   11px;
  color:       var(--color-gold);
  flex-shrink: 0;
}

.sidebar-menu a:hover {
  border-color: var(--color-gold);
  color:        var(--color-gold);
  background:   #fff;
  padding-left: 24px;
}


/* =============================================
   21. ANIMATIONS
============================================= */
@keyframes zoomInCenter {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1);   }
}

.zoomInCenter {
  animation-name:      zoomInCenter;
  animation-duration:  0.8s;
  animation-fill-mode: both;
}


/* =============================================
   22. RESPONSIVE — TABLET (max-width: 768px)
============================================= */
@media (max-width: 768px) {

  /* Prevent any element from causing horizontal scroll */
  body, .wrapper { overflow-x: hidden; }

  .hero-label          { font-size: 26px; padding: 6px 20px; }
  .carousel-caption h3 { font-size: 18px; }

  /* Quote section — shrink the big italic quote */
  .quote-section .quote-content p { font-size: 28px; }

  .service-card             { width: 100%; height: auto; }
  .service .container-fluid { padding-left: 15px; padding-right: 15px; }

  .construction-types { padding: 60px 15px 40px; }

  .about        { height: auto; padding: 60px 15px; }
  .about-cards  { width: 100%; height: auto; }
  .about-card   { position: static; width: 100%; margin-bottom: 20px; transform: none; }

  .projects               { padding: 70px 20px; }
  .projects-grid          { flex-direction: column; align-items: stretch; gap: 16px; }
  .project-card           { width: 100%; max-width: 100%; height: 340px; flex: none; }
  .project-card:nth-child(n) { transform: none; }

  .offerings .row            { grid-template-columns: 1fr; grid-template-rows: auto; }
  .offerings .offering-image { height: 180px; }
  .offering-card             { width: 100%; }

  .about-content .container { flex-direction: column; }
  .about-sidebar            { width: 100%; position: static; margin-top: 40px; }

  .contact-grid { flex-direction: column; }

  .footer-links { flex-direction: column; align-items: center; gap: 10px; }

  .properties-section .container-fluid { flex-direction: column; }
  .properties-sidebar                  { width: 100%; }

}


/* =============================================
   23. RESPONSIVE — MOBILE (max-width: 991px)
============================================= */
@media (max-width: 991px) {

  h2 { font-size: 28px; }

  /* --- COMPACT HEADER WHEN MOBILE MENU IS OPEN ---
     Hides the top-bar and locks the logo to a small fixed size so the
     first nav item is never pushed out of view, regardless of scroll position. */
  .site-header .top-bar {
    overflow:   hidden;
    max-height: 80px;
    transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.28s ease;
    opacity:    1;
  }

  .site-header.menu-is-open .top-bar {
    max-height: 0   !important;
    opacity:    0   !important;
    padding:    0   !important;
  }

  .site-header.menu-is-open .nav-logo {
    height:        56px !important;
    width:         auto !important;
    margin-bottom: 0    !important;
    transition:    height 0.25s ease;
  }

  .site-header.menu-is-open .nav-logo img {
    height:     30px !important;
    transition: height 0.25s ease;
  }

  .site-header.menu-is-open .nav-logo img.partner-logo {
    max-height: 26px !important;
    max-width:  60px !important;
  }
  /* ------------------------------------------------ */

  .top-bar-certification { display: none; }

  .top-bar-contacts {
    width:           100%;
    justify-content: center;
    gap:             8px 15px;
    flex-wrap:       wrap;
  }

  .top-bar-inner {
    justify-content: center;
    padding:         6px 15px;
  }

  .site-header,
  .site-header.is-fixed {
    position:   fixed;
    background: var(--color-white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .site-header.is-fixed .top-bar   { background: #0a0a0a !important; }
  .site-header.is-fixed .main-nav  { background: var(--color-white) !important; }
  .site-header.is-fixed .nav-menu a { color: var(--color-primary) !important; }

  .site-header.is-fixed .nav-menu .dropdown-menu {
    top:        100%;
    margin-top: 0;
    border-top: 2px solid var(--color-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .site-header.is-fixed .nav-menu .dropdown-menu li a {
    color:         #000000 !important;
    padding:       10px 22px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }

  .site-header.is-fixed .nav-menu .dropdown::after {
    top:    100%;
    height: 15px;
  }

  .nav-toggle span  { background: var(--color-primary) !important; }
  .nav-toggle       { display: block; }
  .nav-menu         { display: none; }

  .nav-inner  { padding: 0 15px 0 0; }
  .nav-logo   { width: auto; height: 60px; }

  .site-header .nav-logo img { height: 40px; }
  .nav-logo img              { height: 35px; }
  .nav-logo img.partner-logo { max-width: 70px; }

  .header-spacer { height: 96px !important; }

  .mobile-menu {
    padding:    4px 0 0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
  }

  .mobile-menu a {
    padding:       14px 24px;
    font-size:     14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  #carousel,
  #carousel .carousel-inner,
  #carousel .carousel-item {
    height:     40vh;
    min-height: 250px;
  }

  /* Show carousel caption on mobile — captions use d-none d-md-block in HTML,
     override Bootstrap's display:none so content is visible on phones */
  .carousel-caption            { display: block !important; bottom: 55px; padding: 0 14px; left: 0; }
  .hero-label                  { font-size: 16px; padding: 4px 14px; white-space: normal; }
  .carousel-caption h3         { font-size: 13px; margin: 6px 0 10px; padding-left: 0; display: block; }
  .hero-btn                    { font-size: 11px; padding: 8px 14px; }
  .carousel-caption .hero-btn  { margin-left: 0; }
  .carousel-caption h3         { padding-left: 0; }

  /* Move arrows to bottom corners on mobile so they never overlap the CTA button */
  .carousel-control-prev,
  .carousel-control-next {
    width:     40px;
    height:    40px;
    top:       auto;
    bottom:    10px;
    transform: none;
  }
  .carousel-control-prev { left:  16px; }
  .carousel-control-next { right: 16px; }
  .carousel-caption      { left: 0; }  /* reset — arrows are at bottom, no overlap */

  .feature        { padding: 36px 20px; }
  .feature-inner  { gap: 20px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .feature-img    { width: 60px; height: 60px; padding: 10px; }
  .feature-cert-title { font-size: 13px; }
  .feature-cert-sub   { font-size: 12px; }

  .service               { padding: 50px 0; }
  .service-card          { width: 100%; height: auto; flex-direction: column; gap: 0; }
  .service-icon img      { width: 100%; height: 160px; }
  .service-card h3       { font-size: 13px; padding: 14px 16px; }
  .service .container-fluid { padding-left: 15px; padding-right: 15px; }

  .construction-types           { clip-path: none; padding: 40px 15px; margin-bottom: 0; }
  .construction-types .col-lg-2 { flex: 0 0 50%; max-width: 50%; height: auto; }

  .about   { position: relative; height: auto !important; width: 100%; padding-bottom: 70px; clip-path: none; }
  .about p { width: 90%; font-size: 16px; }

  .about-prev,
  .about-next {
    position:    absolute;
    top:         20px;
    width:       44px;
    height:      44px;
    transform:   none;
    display:     flex;
    align-items: center;
    justify-content: center;
  }

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

  #about-panel-2 .about-cards {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    gap:            5px;
    width:          80%;
  }

  #about-panel-2 .about-card {
    width:          100%;
    max-width:      500px;
    display:        flex;
    flex-direction: row;
    align-items:    center;
    text-align:     center;
  }

  #about-panel-2 .about-card img  { width: 70px; height: 70px; flex-shrink: 0; }
  #about-panel-2 .about-card span { flex: 2; font-size: 16px; }
  .about-card img                 { width: 50px; }

  .projects { padding: 60px 20px; }

  .projects-grid {
    flex-direction: column;
    align-items:    stretch;
    gap:            16px;
    margin-top:     36px;
  }

  .project-card              { width: 100%; max-width: 100%; height: 300px; flex: none; }
  .project-card:nth-child(n) { transform: none; }
  .project-label             { padding: 0 20px 22px; }
  .project-label-title       { font-size: 18px; }

  .quote-section .quote-content p { font-size: 20px; }

  .offerings .row            { grid-template-columns: 1fr; grid-template-rows: auto; }
  .offerings .offering-image { height: 160px; }
  .offering-card             { width: 100%; height: auto; min-height: 140px; }
  .offering-content h3       { font-size: 18px; }

  .footer-links          { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .footer-links li a.active { color: var(--color-gold) !important; }

  /* Ensure all action buttons meet 44px minimum tap target */
  .btn-action, .hero-btn, .offering-btn {
    min-height: 44px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .page-hero        { height: 180px; }
  .page-hero::after { height: 50px; }

  .about-page                   { padding: 20px 0; }
  .about-content .container     { flex-direction: column; padding: 0 15px; }
  .about-main                   { width: 100%; }

  .about-sidebar,
  .mech-sidebar,
  .properties-sidebar {
    width:        100%;
    position:     static;
    padding-left: 0;
    border-left:  none;
    border-top:   2px solid var(--color-border);
    margin-top:   30px;
    padding-top:  20px;
  }

  .properties-section .container-fluid { flex-direction: column; padding: 0 15px; }
  .properties-grid                     { grid-template-columns: 1fr 1fr; }

  .contact-grid       { flex-direction: column; }
  .contact-map iframe { height: 300px; }

}

/* =============================================
   WOW ANIMATIONS — MOBILE SMOOTHING
============================================= */
@media (max-width: 991px) {
  /* Shorter duration + no stagger delays = no jank while scrolling */
  .wow {
    animation-duration: 0.35s !important;
    animation-delay:    0s   !important;
  }

  /* Replace heavy lateral slides with a simple fade — no translateX paint thrash */
  .fadeInLeft,
  .fadeInRight {
    animation-name: fadeIn !important;
  }
}

