/* ============================================
   NKWIZA TRADING LTD — MAIN STYLESHEET
   Design: Glassmorphism + Neumorphism Refinement
   Fonts: Outfit (headings), Inter (body)
   ============================================ */

/* ── Variables ─────────────────────────────── */
:root {
  --navy: #1d7b3d;
  --navy-dark: #0b2513;
  --navy-mid: #b83334;
  --navy-light: #2e4060;
  --accent: #6ba67f;
  --accent-dk: #4f8562;
  --accent-light: rgba(107, 166, 127, 0.15);
  --gold: #f0a500;
  --gold-dk: #c98a00;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --text: #1C2B3A;
  --text-mid: #2D3748;
  --text-light: #6A7A90;
  --border: #E2E8F0;
  --card-bg: #FFFFFF;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-dark: rgba(25, 36, 55, 0.78);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-border-dark: rgba(255, 255, 255, 0.1);

  /* Neumorphism */
  --neu-shadow: 6px 6px 16px rgba(25, 36, 55, 0.1), -6px -6px 16px rgba(255, 255, 255, 0.85);
  --neu-shadow-in: inset 4px 4px 10px rgba(25, 36, 55, 0.08), inset -4px -4px 10px rgba(255, 255, 255, 0.9);

  --shadow: 0 8px 32px rgba(25, 36, 55, 0.08);
  --shadow-lg: 0 20px 60px rgba(25, 36, 55, 0.15);
  --shadow-xl: 0 32px 80px rgba(25, 36, 55, 0.2);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --trans: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ── Typography ─────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  color: var(--text-mid);
  line-height: 1.8;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── Layout ─────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section--dark {
  background: var(--navy);
}

.section--gray {
  background: var(--off-white);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Glassmorphism ───────────────────────────── */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.glass-panel-dark {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ── Neumorphism ──────────────────────────────── */
.neu-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-shadow);
}

.neu-input {
  box-shadow: var(--neu-shadow-in);
  background: var(--off-white);
  border: none !important;
}

.neu-input:focus {
  box-shadow: var(--neu-shadow-in), 0 0 0 2px var(--accent) !important;
  outline: none;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 2.25rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: var(--trans);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(107, 166, 127, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(107, 166, 127, 0.45);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Header ─────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--trans);
}

.header-wrap {
  display: flex;
  flex-direction: column;
  margin: 0.75rem 1.5rem 0;
}

/* Top bar */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 0.65rem 1.75rem;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.04);
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.header-contact-info {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
}

.info-item svg {
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-text span {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.info-text a,
.info-text strong {
  font-size: 0.87rem;
  color: var(--navy);
  font-weight: 600;
  transition: var(--trans);
}

.info-text a:hover {
  color: var(--accent);
}

/* Nav bar */
.header-bottom {
  display: flex;
  align-items: stretch;
  background: var(--navy-dark);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.header-cta-area {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-quote {
  background: transparent;
  color: var(--white);
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  padding: 1.1rem 2.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  gap: 0.5rem;
}

.btn-quote::after {
  display: none;
}

.btn-quote:hover {
  background: rgba(0, 0, 0, 0.12);
  transform: none;
  box-shadow: none;
}

.navbar {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1.5rem;
}

.nav-menu {
  display: flex;
  gap: 0;
  align-items: center;
}

.nav-menu a {
  padding: 1.2rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--trans);
  position: relative;
  letter-spacing: 0.02em;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--trans);
  border-radius: 3px 3px 0 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  color: var(--white);
  margin-right: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--trans);
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Scrolled header */
#site-header.scrolled .header-wrap {
  margin-top: 0;
}

#site-header.scrolled .header-top {
  border-radius: 0;
  border-left: none;
  border-right: none;
}

#site-header.scrolled .header-bottom {
  border-radius: 0;
}

/* ════════════════════════════════════════════════════════════
   HEADER — JS COMPONENT (components/header-footer.js)
   Classes generated by the JS template, served without fetch.
   ════════════════════════════════════════════════════════════ */

/* Top glass info bar */
.header-topbar {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  gap: 1.5rem;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.topbar-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.topbar-logo-text strong {
  font-weight: 800;
  color: var(--accent-dk);
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.topbar-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: var(--trans);
}

.topbar-link svg {
  color: var(--accent);
  flex-shrink: 0;
}

.topbar-link:hover {
  color: var(--accent-dk);
}

.topbar-link--address {
  display: none;
}

/* Navy nav bar */
.header-navbar {
  background: var(--navy-dark);
  box-shadow: 0 4px 28px rgba(25, 36, 55, 0.28);
}

.header-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding-top: 0;
  padding-bottom: 0;
}

.header-quote-btn {
  flex-shrink: 0;
  font-size: 0.82rem;
  padding: 0.68rem 1.5rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

/* Desktop nav links inside .nav-menu (ul.nav-menu > li > a) */
/* These rules extend the existing .nav-menu rules above */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 900;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.65rem 1.3rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: background var(--trans), color var(--trans), padding-left var(--trans);
}

.dropdown-menu li a:hover {
  background: var(--off-white);
  color: var(--accent-dk);
  padding-left: 1.7rem;
}

/* Hamburger toggle (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: 8px;
  transition: var(--trans);
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--trans);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile slide-in drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -110%;
  width: min(320px, 90vw);
  height: 100%;
  background: var(--navy-dark);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}

.mobile-logo strong {
  color: var(--accent);
  font-weight: 800;
}

.mobile-drawer-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--trans);
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  overflow-y: auto;
}

.mobile-nav>a {
  display: block;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color var(--trans), background var(--trans), border-color var(--trans);
}

.mobile-nav>a:hover,
.mobile-nav>a.active {
  color: var(--accent);
  background: rgba(107, 166, 127, 0.09);
  border-left-color: var(--accent);
}

.mobile-sub-menu {
  background: rgba(0, 0, 0, 0.18);
  border-left: 3px solid rgba(107, 166, 127, 0.35);
}

.mobile-sub-menu a {
  display: block;
  padding: 0.6rem 1.5rem 0.6rem 2rem;
  font-size: 0.845rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: var(--trans);
}

.mobile-sub-menu a:hover {
  color: var(--accent);
  background: rgba(107, 166, 127, 0.08);
}

.mobile-drawer-footer {
  flex-shrink: 0;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-drawer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-drawer-contact a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: var(--trans);
}

.mobile-drawer-contact a:hover {
  color: var(--accent);
}

/* Backdrop overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Scrolled tweaks for new component */
#site-header.scrolled .header-topbar {
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

/* ════════════════════════════════════════════════════════════
   FOOTER — JS COMPONENT (components/header-footer.js)
   ════════════════════════════════════════════════════════════ */
#site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
}

.footer-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 50%, var(--accent-dk) 100%);
}

.footer-body {
  padding: 1.2rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.footer-col {}

.footer-col--brand {}

.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 1.3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo strong {
  font-weight: 800;
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.845rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: var(--trans);
  line-height: 1.55;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-item:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-links li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links li a::before {
  content: '›';
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}

.footer-links li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-recent-projects {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-recent-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform var(--trans);
}

.footer-recent-item:hover {
  transform: translateX(4px);
}

.footer-recent-img {
  width: 60px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy-mid);
}

.footer-recent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity var(--trans);
}

.footer-recent-item:hover .footer-recent-img img {
  opacity: 1;
}

.footer-recent-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

.footer-recent-date {
  display: block;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

/* Footer bottom strip */
.footer-bottom {
  background: rgba(0, 0, 0, 0.18);
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p,
.footer-reg {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

/* ── Hero ────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* CSS parallax */
  z-index: 0;
  transform: scale(1.05);
  /* Gives breathing room for parallax */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(13, 27, 42, 0.93) 40%, rgba(13, 27, 42, 0.45) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.hero-content {
  max-width: 680px;
}

.hero-content .section-label {
  color: var(--accent);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.08;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 3;
  background: var(--gold);
}

.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.hero-stat {
  padding: 1.6rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(13, 27, 42, 0.15);
  position: relative;
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  display: block;
}

.hero-stat .lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(13, 27, 42, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
  display: block;
}

/* ── Page Hero (inner pages) ─────────────────── */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 3.5rem;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(13, 27, 42, 0.85) 0%, rgba(13, 27, 42, 0.72) 100%);
  z-index: 1;
}

/* Fallback for page-hero without image (plain navy) */
.page-hero:not(:has(.page-hero-bg)) {
  background: var(--navy);
}

.page-hero>.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero .section-label {
  color: var(--accent);
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.75rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--trans);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: var(--accent);
}

/* ── Body Padding (compensate for fixed header) ── */
body {
  padding-top: 0;
}

.hero,
.page-hero {
  /* they handle their own top space */
}

/* ── Service Cards ───────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--trans);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(107, 166, 127, 0.3);
}

.service-card-img {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(25, 36, 55, 0.3) 0%, transparent 60%);
  opacity: 0;
  transition: var(--trans);
}

.service-card:hover .service-card-img::after {
  opacity: 1;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 1.85rem;
}

.service-card-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.service-card-body p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.service-card-body a {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--trans);
}

.service-card-body a:hover {
  gap: 0.75rem;
  color: var(--accent-dk);
}

/* Quality guarantee card */
.service-card--cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  border: none;
}

.service-card--cta:hover {
  border-color: transparent;
}

.service-card--cta svg {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-card--cta h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card--cta p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ── Stats Bar ───────────────────────────────── */
.stats-bar {
  background: var(--navy-dark);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-item .num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-item .lbl {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

/* ── About Section / Two-col ─────────────────── */
.about-img-group {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.about-img-group img:first-child {
  grid-column: 1 / -1;
  height: 290px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-img-group img:not(:first-child) {
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: var(--white);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 8px 24px rgba(107, 166, 127, 0.4);
}

.about-badge strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

/* ── Tabs ────────────────────────────────────── */
.tabs {
  margin-top: 2rem;
}

.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-mid);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--trans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Inter', sans-serif;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

/* ── Objectives ──────────────────────────────── */
.objectives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.obj-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.35rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow);
  transition: var(--trans);
}

.obj-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.obj-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.obj-item h4 {
  font-size: 1rem;
  margin: 0;
}

/* ── Parallax Banner ─────────────────────────── */
.parallax-banner {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.parallax-banner-bg {
  position: absolute;
  inset: -120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.45);
  z-index: 0;
}

.parallax-banner-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.parallax-banner-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.parallax-banner-content p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 550px;
  margin: 0 auto 1.75rem;
}

/* ── Client Logos Marquee ────────────────────── */
.logos-marquee-wrap {
  overflow: hidden;
  padding: 2.5rem 0;
  position: relative;
}

.logos-marquee-wrap::before,
.logos-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.logos-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.logos-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.logos-marquee {
  display: flex;
  gap: 4rem;
  align-items: center;
  animation: marquee 22s linear infinite;
  width: max-content;
}

.logos-marquee img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: var(--trans);
  flex-shrink: 0;
}

.logos-marquee img:hover {
  filter: grayscale(0) opacity(1);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* fallback strip (non-marquee) */
.logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.logos-strip img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: var(--trans);
}

.logos-strip img:hover {
  filter: grayscale(0) opacity(1);
}

/* ── Projects Grid ───────────────────────────── */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-dark);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform 0.55s ease, opacity 0.45s ease;
}

.project-card:hover img {
  transform: scale(1.08);
  opacity: 0.55;
}

.project-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  background: linear-gradient(0deg, rgba(13, 27, 42, 0.97) 0%, rgba(13, 27, 42, 0.5) 60%, transparent 100%);
  transform: translateY(40%);
  transition: transform 0.4s ease;
}

.project-card:hover .project-card-info {
  transform: translateY(0);
}

.project-card-info .date {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-card-info h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.project-card-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  display: none;
}

.project-card:hover .project-card-info p {
  display: block;
}

/* ── Gallery ─────────────────────────────────── */
.gallery-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.35rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid var(--border);
  color: var(--text-mid);
  transition: var(--trans);
  font-family: 'Inter', sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: var(--navy);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  opacity: 0.65;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(13, 27, 42, 0.9) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery-item-overlay .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -65%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.gallery-item:hover .zoom-icon {
  transform: translate(-50%, -50%);
}

/* ── Lightbox ────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.97);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
}

.lightbox-close:hover {
  background: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  font-size: 1.25rem;
}

.lightbox-nav:hover {
  background: var(--accent);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-align: center;
}

/* ── Contact ─────────────────────────────────── */
.contact-info-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  height: 100%;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: rgba(107, 166, 127, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--trans);
}

.contact-detail:hover .contact-icon {
  background: var(--accent);
  color: var(--white);
}

.contact-detail-text .lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

.contact-detail-text a,
.contact-detail-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0;
}

.contact-detail-text a:hover {
  color: var(--accent);
}

.contact-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--white);
  padding: 2.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text);
  margin-bottom: 0.45rem;
  font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--trans);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(107, 166, 127, 0.12);
}

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

.form-success {
  display: none;
  background: rgba(107, 166, 127, 0.12);
  color: #2d6a4f;
  border: 1px solid rgba(107, 166, 127, 0.35);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* ── Blog Cards ──────────────────────────────── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--trans);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 166, 127, 0.3);
}

.blog-card-img {
  height: 210px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.07);
}

.blog-card-body {
  padding: 1.6rem;
}

.blog-card-body .date {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.blog-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-card-body a.read-more {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--trans);
}

.blog-card-body a.read-more:hover {
  gap: 0.75rem;
}

/* ── CTA Banner ──────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dk) 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.cta-banner::after {
  content: '';
  position: absolute;
  left: 10%;
  bottom: -120px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  max-width: 520px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.5rem;
}

.cta-banner .btn-outline-dark {
  border-color: var(--white);
  color: var(--white);
}

.cta-banner .btn-outline-dark:hover {
  background: var(--white);
  color: var(--accent-dk);
}

/* ── Properties ──────────────────────────────── */
.property-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

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

.property-card-body {
  padding: 1.5rem;
}

.property-card-body .location {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.property-card-body h3 {
  margin-bottom: 0.5rem;
}

.property-card-body .price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  margin-top: 0.75rem;
}

/* ── Process Steps (service detail pages) ─────── */
.process-steps {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--trans);
}

.process-step:hover {
  transform: translateX(6px);
  border-color: var(--accent);
}

.process-step::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  line-height: 1;
}

.process-step-body h4 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.process-step-body p {
  font-size: 0.875rem;
}

.process-step-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(107, 166, 127, 0.35);
}

/* ── Related Services (service detail pages) ──── */
.related-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.related-service-card {
  padding: 1.35rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--trans);
  text-decoration: none;
  display: block;
}

.related-service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.related-service-card h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.related-service-card p {
  font-size: 0.825rem;
}

/* ── Project Carousel ────────────────────────── */
.project-carousel {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--navy);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-xl);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

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

/* Carousel nav */
.carousel-nav {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: var(--trans);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

/* ── Project Details Grid ────────────────────── */
.project-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 3rem;
}

.project-info-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  height: fit-content;
  position: sticky;
  top: 140px;
}

.project-info-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-info-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.project-info-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.project-info-value {
  color: var(--white);
  font-size: 0.95rem;
  text-align: right;
  font-weight: 500;
}

/* ── Project Info Horizontal (Bottom of Main Layout) ── */
.project-info-horizontal {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.project-info-horizontal .info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 1.5rem;
}

.project-info-horizontal .info-item:first-child {
  border-left: none;
  padding-left: 0;
}

.project-info-horizontal .project-info-label {
  text-align: left;
}

.project-info-horizontal .project-info-value {
  text-align: left;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .project-info-horizontal {
    grid-template-columns: 1fr 1fr;
  }
  .project-info-horizontal .info-item {
    border-left: none;
    padding-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
  }
  .project-info-horizontal .info-item:last-child,
  .project-info-horizontal .info-item:nth-last-child(2) {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 480px) {
  .project-info-horizontal {
    grid-template-columns: 1fr;
  }
  .project-info-horizontal .info-item:nth-last-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
  }
}

/* ── Sidebar Services & CTA Cards ────────────── */
.project-layout-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.project-info-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  /* removed sticky from here to let the parent sidebar handle it */
}

.sidebar-services-card {
  background: var(--off-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-shadow);
}

.sidebar-services-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}

.sidebar-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-services-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--text-mid);
  font-weight: 500;
  transition: var(--trans);
}

.sidebar-services-list li a:hover {
  color: var(--accent-dk);
  padding-left: 0.5rem;
}

.sidebar-services-list li a i {
  color: var(--accent);
  font-size: 0.8rem;
}

.sidebar-cta-card {
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.sidebar-cta-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.sidebar-cta-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ── Scope of Work (feature icons) ───────────── */
.scope-item {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--trans);
}

.scope-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 166, 127, 0.3);
}

.scope-item svg {
  margin: 0 auto 1rem;
}

.scope-item h4 {
  margin-bottom: 0.4rem;
}

.scope-item p {
  font-size: 0.85rem;
}

/* ── Footer ──────────────────────────────────── */
#site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding-top: 5.5rem;
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.footer-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-dk));
}

#site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand-col .footer-logo {
  height: 55px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand-col p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  transition: var(--trans);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--trans);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-socials .social-btn {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  width: 38px;
  height: 38px;
}

.footer-socials .social-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* Blog in footer */
.footer-blog-post {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--trans);
}

.footer-blog-post:hover {
  background: rgba(255, 255, 255, 0.07);
}

.footer-blog-post img {
  width: 70px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.footer-blog-content {
  display: flex;
  flex-direction: column;
}

.footer-blog-content .date {
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.footer-blog-content a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  line-height: 1.4;
  transition: var(--trans);
}

.footer-blog-content a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ── Contact Modal ───────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.35s ease;
  position: relative;
}

.modal-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  padding: 2rem 2.5rem 1.75rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  position: relative;
}

.modal-header .section-label {
  color: var(--accent);
}

.modal-header h2 {
  color: var(--white);
  font-size: 1.75rem;
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  font-size: 1.25rem;
  line-height: 1;
}

.modal-close:hover {
  background: var(--accent);
}

.modal-body {
  padding: 2.25rem 2.5rem;
}

.modal-body .form-group input,
.modal-body .form-group select,
.modal-body .form-group textarea {
  background: var(--off-white);
  border: 2px solid var(--border);
}

.modal-body .form-group input:focus,
.modal-body .form-group select:focus,
.modal-body .form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}

.modal-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Loading spinner */
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.loading .btn-spinner {
  display: block;
}

.btn.loading .btn-text {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Scroll-to-top button ─────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--trans);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(107, 166, 127, 0.3);
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ── Scroll Reveal ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── Animations ──────────────────────────────── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* ── Utility ─────────────────────────────────── */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-head p {
  max-width: 560px;
  margin-top: 0.85rem;
}

.section-head.center {
  text-align: center;
}

.section-head.center p {
  margin: 0.85rem auto 0;
}

.divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dk));
  border-radius: 2px;
  margin: 1rem 0;
}

.divider.center {
  margin: 1rem auto;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1100px) {
  .header-top {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .header-contact-info {
    gap: 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .project-details-grid {
    grid-template-columns: 1fr;
  }

  .project-info-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .related-services {
    grid-template-columns: 1fr;
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-stats .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-contact-info {
    display: none;
  }

  /* Hide contact info on mobile */
  .header-top {
    justify-content: flex-start;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-header {
    padding: 1.5rem;
  }

  .modal-box {
    border-radius: var(--radius-lg);
  }

  .header-wrap {
    margin: 0;
  }

  .header-top {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }

  .header-bottom {
    border-radius: 0;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 285px;
    background: var(--navy);
    flex-direction: column;
    padding: 5.5rem 1.75rem 2rem;
    gap: 0;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.25);
    z-index: 999;
    overflow-y: auto;
  }

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

  .nav-menu a {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.875rem 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--accent);
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 998;
  }

  .nav-overlay.open {
    display: block;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-stats .container {
    grid-template-columns: 1fr 1fr;
  }

  .project-carousel {
    height: 45vh;
  }

  .parallax-banner {
    height: 320px;
  }

  h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — JS COMPONENT header-footer.js
   ════════════════════════════════════════════════════════════ */

/* Mostrar dirección larga en pantallas grandes */
@media (min-width: 1100px) {
  .topbar-link--address {
    display: flex;
  }
}

/* Tablet — reducir topbar contact */
@media (max-width: 900px) {
  .topbar-contact {
    gap: 1rem;
  }

  .topbar-link {
    font-size: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-col--recent {
    grid-column: 1 / -1;
  }
}

/* Mobile — hamburger on, desktop nav off */
@media (max-width: 768px) {

  /* Topbar simplificado */
  .topbar-contact {
    gap: 0.75rem;
  }

  .topbar-link--address {
    display: none !important;
  }

  /* Ocultar menú de escritorio */
  .nav-menu {
    display: none;
  }

  /* Mostrar hamburger */
  .hamburger {
    display: flex;
  }

  /* Footer: stack en una columna */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col--recent {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* Extra small */
@media (max-width: 480px) {
  .topbar-contact {
    gap: 0.5rem;
  }

  .header-navbar-inner {
    gap: 0.5rem;
  }

  .header-quote-btn {
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
  }
}

/* ════════════════════════════════════════════════════════════
   LOGO IMAGE SIZES (components/header-footer.js)
   ════════════════════════════════════════════════════════════ */

/* Topbar glass bar logo */
.topbar-logo-img {
  height: 68px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Footer brand column logo */
.footer-logo {
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Logos on dark background — invert only if needed for dark BG */
  filter: brightness(0) invert(1);
}

/* Mobile drawer logo icon */
.mobile-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   HERO SLIDESHOW
   ════════════════════════════════════════════════════════════ */
.hero--slideshow {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slide backgrounds — stacked, cross-fade via opacity */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1);
  }
}

/* Dark gradient overlay */
.hero--slideshow .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(13, 27, 42, 0.88) 40%, rgba(13, 27, 42, 0.42) 100%);
  z-index: 1;
}

/* Content on top of slides */
.hero--slideshow .container {
  position: relative;
  z-index: 2;
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.hero--slideshow .hero-content {
  max-width: 680px;
}

.hero--slideshow .hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.08;
}

.hero--slideshow .hero-content h1 span {
  color: var(--accent);
}

.hero--slideshow .hero-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  max-width: 520px;
}

.hero--slideshow .section-label {
  color: var(--accent);
}

/* Slide nav arrows */
.hero-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--trans);
  cursor: pointer;
}

.hero-slide-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-slide-prev {
  left: 1.5rem;
}

.hero-slide-next {
  right: 1.5rem;
}

/* Slide dot indicators */
.hero-slide-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.hero-slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--trans);
  padding: 0;
}

.hero-slide-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* ════════════════════════════════════════════════════════════
   FLOATING STATS BAR (entre hero y main content)
   ════════════════════════════════════════════════════════════ */
.hero-stats-floating {
  position: relative;
  z-index: 10;
  margin-top: -3.5rem;
  /* Sube sobre el hero */
  margin-bottom: 0;
  padding: 0 2rem;
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy-dark);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 70px rgba(11, 37, 19, 0.4);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-f {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.8rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--trans);
}

.hero-stat-f:last-child {
  border-right: none;
}

.hero-stat-f:hover {
  background: rgba(255, 255, 255, 0.03);
}

.hero-stat-icon {
  font-size: 1.85rem;
  color: var(--gold);
  flex-shrink: 0;
}

.hero-stat-f .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
}

.hero-stat-f .lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 0.25rem;
}

/* FA icons in the midpage stats-bar */
.stat-icon {
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.75;
  margin-bottom: 0.5rem;
  display: block;
}

/* ════════════════════════════════════════════════════════════
   PROJECT DETAILS — FIXED LAYOUT
   Carousel left (narrower), info card right (sticky)
   ════════════════════════════════════════════════════════════ */

/* New layout wrapper: carousel+desc on left, info card on right */
.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2.5rem;
  align-items: start;
}

.project-layout-main {
  min-width: 0;
}

.project-layout-sidebar {
  position: sticky;
  top: 135px;
}

/* Carousel smaller on project detail pages */
.project-layout .project-carousel {
  height: 50vh;
  min-height: 320px;
  max-height: 520px;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

/* Refined info card */
.project-info-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.project-info-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.project-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-info-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.project-info-label i {
  color: var(--accent);
  font-size: 0.85rem;
}

.project-info-value {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: right;
}

/* Quote CTA inside info card */
.project-info-cta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-info-cta .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.8rem;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — new sections
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat-f:nth-child(2) {
    border-right: none;
  }

  .hero-stat-f:nth-child(1),
  .hero-stat-f:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .project-layout {
    grid-template-columns: 1fr;
  }

  .project-layout-sidebar {
    position: static;
  }

  .project-layout .project-carousel {
    height: 40vh;
  }
}

@media (max-width: 600px) {
  .hero-stats-floating {
    margin-top: -2rem;
    padding: 0 1rem;
  }

  .hero-stats-inner {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
  }

  .hero-stat-f {
    padding: 1.25rem;
    gap: 0.65rem;
  }

  .hero-stat-icon {
    font-size: 1.4rem;
  }

  .hero-stat-f .num {
    font-size: 1.6rem;
  }

  .hero-slide-btn {
    display: none;
  }
}

/* ════════════════════════════════════════════════════════════
   ABOUT SECTION IMAGE GROUP
   ════════════════════════════════════════════════════════════ */
.about-img-group {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.about-img-main {
  position: relative;
  height: 480px;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.about-img-main::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -15px;
  right: 15px;
  bottom: -15px;
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: 0;
  pointer-events: none;
  transition: var(--trans);
}

.about-img-main:hover::before {
  transform: translate(5px, -5px);
}

.about-badge-new {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.about-badge-new i {
  font-size: 2.5rem;
  color: var(--accent);
}

.about-badge-new span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--navy);
}

.about-badge-new strong {
  font-weight: 800;
  color: var(--accent);
}

.about-img-smalls {
  position: absolute;
  bottom: -2.5rem;
  right: -1.5rem;
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.about-img-small {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .about-img-main {
    height: 400px;
  }
}

@media (max-width: 600px) {
  .about-img-group {
    margin-bottom: 3.5rem;
  }

  .about-img-smalls {
    right: 50%;
    transform: translateX(50%);
  }

  .about-img-small {
    width: 130px;
    height: 130px;
    border-width: 4px;
  }

  .about-badge-new {
    top: auto;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
  }
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIAL CARDS
   ════════════════════════════════════════════════════════════ */
.testimonial-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 122, 61, 0.2);
}

.testimonial-quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  color: rgba(30, 122, 61, 0.08);
  z-index: -1;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author .author-info h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.testimonial-author .author-info span {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Testimonials inside grid-2 */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-quote-icon {
    font-size: 2.5rem;
  }

  .testimonial-text {
    font-size: 1.05rem;
  }
}

/* ── Global Subtle Animations & Hover Effects ── */
.project-list-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.project-list-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 166, 127, 0.4);
}

.project-list-card-img {
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  overflow: hidden;
}

.project-list-card-img img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.project-list-card-body {
  background-color: var(--white);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

/* Subtle Interactive Button Animations */
.btn {
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

/* Service Card subtle animations */
.service-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 166, 127, 0.3);
}