/* ==========================================================================
   MAWE CONSULT — Design System
   Palette: Navy #0A2540 / Gold #C9A227 / Bg #F8F9FB / Text #1B1B1B
   Type: Poppins (display) + Manrope (body)
   Signature: architectural blueprint line-motif used as the connective
   thread across hero, dividers and the process timeline.
   ========================================================================== */

:root {
  --navy: #0A2540;
  --navy-2: #0E3357;
  --gold: #C9A227;
  --gold-light: #E4C766;
  --bg: #F8F9FB;
  --white: #FFFFFF;
  --text: #1B1B1B;
  --gray: #E9ECEF;
  --gray-mid: #6B7280;
  --success: #2E7D32;

--font-display: 'Cormorant', sans-serif;
--font-body: 'Satoshi', sans-serif;
--font-accent: 'Cormorant', sans-serif;
--font-ui: 'Satoshi', sans-serif;


  --radius: 6px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 84px;
}

[data-theme="dark"] {
  --bg: #0B1521;
  --white: #10233A;
  --text: #EDEFF2;
  --gray: #16283F;
  --gray-mid: #93A1B5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--white);
}

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

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.section {
  padding: 7rem 0;
}

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

.eyebrow {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}

.section-head {
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-head.light .eyebrow {
  color: var(--gold-light);
}

.section-head.light h2 {
  color: var(--white);
}

.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.lead-text {
  color: var(--gray-mid);
  font-size: 1.05rem;
}

.text-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .25s var(--ease);
}

[data-theme="dark"] .text-link {
  color: var(--white);
}

.text-link:hover {
  gap: .7rem;
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  padding: .85rem 1.9rem;
  transition: all .3s var(--ease);
}

.btn-gold {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy);
}

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

.btn-gold-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

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

.btn-navy-outline:hover {
  background: var(--navy);
  color: var(--white);
}

[data-theme="dark"] .btn-navy-outline {
  border-color: var(--white);
  color: var(--white);
}

[data-theme="dark"] .btn-navy-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-light-glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-outline-light-glass:hover {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 70px;
  height: 70px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
}

.loader-mark polyline,
.loader-mark line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw 1.6s var(--ease) forwards infinite alternate;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  width: 0%;
  z-index: 1200;
  transition: width .1s linear;
}

/* ---------- Navbar ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 37, 64, .35);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: all .4s var(--ease);
}

.site-nav.scrolled {
  height: 64px;
  background: rgba(10, 37, 64, .92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
}

[data-theme="dark"] .site-nav {
  background: rgba(10, 15, 25, .55);
}

[data-theme="dark"] .site-nav.scrolled {
  background: rgba(8, 13, 22, .94);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.brand-mark svg {
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 500;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: .04em;
}

.brand-text b {
  font-weight: 800;
}

.main-links {
  gap: 2.1rem;
  align-items: center;
}

.main-links>a {
  color: rgba(255, 255, 255, .88);
  font-size: .92rem;
  font-weight: 500;
  position: relative;
  padding: .4rem 0;
}

.main-links>a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}

.main-links>a:hover::after,
.main-links>a.active::after {
  width: 100%;
}

.main-links>a:hover {
  color: #fff;
}

.has-mega {
  position: relative;
}

.has-mega>a {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  width: 600px;
  max-width: calc(100vw - 2rem);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
  padding: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all .3s var(--ease);
}

@media (max-width:1150px) {
  .mega-menu {
    width: 460px;
    grid-template-columns: repeat(2, 1fr);
  }
}

.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega-col h6 {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}

.mega-col a {
  display: block;
  color: var(--text);
  font-size: .88rem;
  padding: .4rem 0;
}

.mega-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}

.icon-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* ---------- Mobile Menu - Complete Fix ---------- */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2rem;
  max-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
  max-height: 80vh;
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--gold-light);
  padding-left: 0.5rem;
}

.mobile-menu a:last-of-type {
  border-bottom: none;
}

.mobile-menu .btn {
  text-align: center;
  margin-top: 0.5rem;
  width: 100%;
}

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

/* Fix for large screens - ensure menu is hidden */
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Fix for mobile toggle button on large screens */
@media (min-width: 992px) {
  #mobileToggle {
    display: none !important;
  }
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, .97);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .35s var(--ease);
}

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

.search-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
}

.search-form {
  display: flex;
  width: min(700px, 90%);
  border-bottom: 2px solid var(--gold);
}

.search-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  font-family: var(--font-display);
  padding: .8rem 0;
}

.search-form input::placeholder {
  color: rgba(255, 255, 255, .4);
}

.search-form button {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  padding-block: calc(var(--nav-h) + 2rem) 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, .75) 0%, rgba(10, 37, 64, .88) 55%, rgba(10, 37, 64, .98) 100%);
}

.hero-blueprint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .35;
}

.bp-lines path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: bpdraw 3.5s var(--ease) 1.2s forwards;
}

@keyframes bpdraw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.4rem;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-sub {
  max-width: 560px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 2.2rem;
}

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

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  margin: 3rem auto 0;
  width: min(900px, 92%);
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius);
  overflow: hidden;
}

.hstat {
  flex: 1;
  text-align: center;
  padding: 1.6rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, .12);
  min-width: 0;
}

.hstat:last-child {
  border-right: none;
}

.hstat .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--gold-light);
}

.hstat .label {
  font-size: .8rem;
  color: rgba(255, 255, 255, .7);
}

@media (max-width:420px) {
  .hero-stats {
    flex-direction: column;
    gap: 0;
  }

  .hstat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 1.1rem;
  }

  .hstat:last-child {
    border-bottom: none;
  }

  .hstat .num {
    font-size: 1.6rem;
  }
}

@media (max-width:380px) {
  .hstat {
    padding: 0.8rem 0.5rem;
  }

  .hstat .num {
    font-size: 1.4rem;
  }
}

/* Scroll cue is decorative only: hide it whenever vertical space is tight so it
   never sits on top of the stats card or the hero buttons. */
.scroll-cue {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .7);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

@media (max-height:760px),
(max-width:576px) {
  .scroll-cue {
    display: none;
  }
}

.scroll-cue span {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {

  0%,
  100% {
    opacity: .3;
  }

  50% {
    opacity: 1;
  }
}

/* ---------- About ---------- */
.about-collage {
  position: relative;
  padding: 1.5rem 2.5rem 2.5rem 0;
}

.ac-main {
  border-radius: var(--radius);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.ac-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--bg);
}

.ac-badge {
  position: absolute;
  top: 0;
  left: -1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
  max-width: 190px;
}

.ac-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.ac-badge span {
  font-size: .78rem;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 2.2rem 0;
}

.mvv-item i {
  color: var(--gold);
  font-size: 1.4rem;
}

.mvv-item h6 {
  font-family: var(--font-display);
  font-size: .95rem;
  margin: .6rem 0 .4rem;
}

.mvv-item p {
  font-size: .85rem;
  color: var(--gray-mid);
}

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

  .about-collage {
    padding: 2.5rem 1rem 2rem 0;
  }

  .ac-badge {
    left: 0;
    top: 0;
    max-width: 160px;
    padding: .8rem 1rem;
  }
}

@media (max-width:420px) {
  .about-collage {
    padding: 2.5rem .5rem 2rem 0;
  }

  .ac-main {
    height: 280px;
  }

  .ac-small {
    height: 140px;
    width: 48%;
  }
}

/* ---------- Services ---------- */
.services-section {
  background: var(--white);
}

.service-card {
  display: block;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid var(--gray);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px rgba(10, 37, 64, .12);
}

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

.sc-body {
  padding: 1.6rem;
}

.sc-body i {
  color: var(--gold);
  font-size: 1.5rem;
}

.sc-body h5 {
  margin: .7rem 0 .5rem;
  font-size: 1.1rem;
}

.sc-body p {
  font-size: .88rem;
  color: var(--gray-mid);
  margin-bottom: .9rem;
}

.sc-link {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

[data-theme="dark"] .sc-link {
  color: var(--white);
}

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

/* ---------- Process Split Design ---------- */
.process-section {
  background: var(--navy);
  background-image: radial-gradient(circle at 50% 50%, rgba(201, 162, 39, .08), transparent 60%);
  position: relative;
  overflow: hidden;
}

.process-split {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.ps-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ps-column-right .ps-step {
  text-align: right;
}

.ps-column-right .ps-content {
  flex-direction: row-reverse;
}

.ps-step {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .03);
  transition: all .4s var(--ease);
  cursor: default;
}

.ps-step:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(201, 162, 39, .3);
  transform: translateX(4px);
}

.ps-column-right .ps-step:hover {
  transform: translateX(-4px);
}

.ps-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: rgba(201, 162, 39, .3);
  min-width: 32px;
  transition: all .4s var(--ease);
}

.ps-step:hover .ps-number {
  color: var(--gold);
}

.ps-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
}

.ps-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201, 162, 39, .1);
  border: 1px solid rgba(201, 162, 39, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gold-light);
  flex-shrink: 0;
  transition: all .4s var(--ease);
}

.ps-step:hover .ps-icon {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.1);
}

.ps-icon-last {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.ps-content h6 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.ps-content p {
  color: rgba(255, 255, 255, .5);
  font-size: 0.78rem;
  margin: 0;
}

.ps-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 0 1rem;
  position: relative;
}

.ps-center::before,
.ps-center::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  height: 30%;
  background: linear-gradient(180deg, rgba(201, 162, 39, .2), transparent);
}

.ps-center::before {
  top: 0;
}

.ps-center::after {
  bottom: 0;
  transform: rotate(180deg);
}

.ps-center-icon {
  margin-bottom: 0.5rem;
}

.ps-center-icon svg {
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

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

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

.ps-center-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold-light);
  text-align: center;
  line-height: 1.2;
}

/* Responsive */
@media (max-width: 992px) {
  .process-split {
    flex-direction: column;
    gap: 1rem;
  }

  .ps-column {
    gap: 0.5rem;
  }

  .ps-column-right .ps-step {
    text-align: left;
  }

  .ps-column-right .ps-content {
    flex-direction: row;
  }

  .ps-column-right .ps-step:hover {
    transform: translateX(4px);
  }

  .ps-center {
    min-width: unset;
    flex-direction: row;
    gap: 1rem;
    padding: 1rem 0;
  }

  .ps-center::before,
  .ps-center::after {
    display: none;
  }

  .ps-center-icon {
    margin-bottom: 0;
  }

  .ps-center-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .ps-step {
    padding: 0.6rem 0.8rem;
  }

  .ps-content h6 {
    font-size: 0.8rem;
  }

  .ps-content p {
    font-size: 0.7rem;
  }

  .ps-icon {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .ps-number {
    font-size: 1rem;
    min-width: 24px;
  }
}

/* ---------- Portfolio ---------- */
.portfolio-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
}

.portfolio-card--lg {
  height: 100%;
  min-height: 580px;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

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

.pc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 37, 64, .88) 0%, rgba(10, 37, 64, 0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  color: #fff;
}

.pc-tag {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .4rem;
}

.pc-overlay h5 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: .3rem;
}

.pc-loc {
  font-size: .78rem;
  color: rgba(255, 255, 255, .75);
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--gold);
  padding: 3.5rem 0;
}

[data-theme="dark"] .stats-band {
  background: #1a2a3f;
}

[data-theme="dark"] .stats-band .num,
[data-theme="dark"] .stats-band .label {
  color: var(--gold-light);
}

.stats-band .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--navy);
}

.stats-band .label {
  font-size: .85rem;
  color: var(--navy);
  opacity: .8;
}

/* ---------- Testimonials ---------- */
.testimonial-section {
  background: var(--white);
}

.testi-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.4rem;
  height: 100%;
  border: 1px solid var(--gray);
}

[data-theme="dark"] .testi-card {
  background: #1a2a3f;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .testi-card p {
  color: #b0c0d0;
}

.quote-mark {
  color: var(--gold);
  font-size: 2rem;
}

.testi-card p {
  margin: 1rem 0 1.6rem;
  font-size: 1.02rem;
  color: var(--text);
}

.testi-person {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.testi-person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-person strong {
  display: block;
  font-size: .9rem;
}

.testi-person span {
  font-size: .78rem;
  color: var(--gray-mid);
}

.testi-swiper {
  padding-bottom: 3rem;
}

.swiper-pagination-bullet {
  background: var(--navy);
  opacity: .3;
}

.swiper-pagination-bullet-active {
  background: var(--gold);
  opacity: 1;
}

/* ---------- CTA ---------- */
.cta-section {
  background: var(--navy);
  padding: 6rem 0;
  text-align: center;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  margin-bottom: 2rem;
  line-height: 1.25;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #071a2c;
  color: rgba(255, 255, 255, .75);
  padding: 5rem 0 0;
}

.footer-top {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-about {
  font-size: .88rem;
  margin: 1.2rem 0;
}

.footer-social {
  display: flex;
  gap: .7rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.site-footer h6 {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.site-footer .col-lg-2 a,
.site-footer .col-lg-2 a {
  display: block;
  font-size: .88rem;
  padding: .4rem 0;
}

.site-footer .col-lg-2 a:hover {
  color: var(--gold);
}

.newsletter-form {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1 1 180px;
  min-width: 0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 2px;
  color: #fff;
  padding: .6rem .8rem;
  font-size: .85rem;
}

.newsletter-form button {
  flex: 0 0 auto;
  background: var(--gold);
  border: none;
  border-radius: 2px;
  padding: 0 1rem;
  color: var(--navy);
}

.footer-office p {
  font-size: .85rem;
  margin-bottom: .5rem;
}

.footer-office i {
  color: var(--gold);
  width: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.6rem 0;
  font-size: .8rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ---------- Floating actions ---------- */
.floating-actions {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: bottom .4s var(--ease);
}

.floating-actions.fabs-raised {
  bottom: 5.5rem;
}

@media (max-width:576px) {
  .floating-actions.fabs-raised {
    bottom: 7rem;
  }
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
  transition: transform .3s var(--ease);
  border: none;
}

.fab:hover {
  transform: translateY(-4px);
}

.fab-wa {
  background: #25D366;
  color: #fff;
}

.fab-call {
  background: var(--navy);
  color: #fff;
}

.fab-top {
  background: var(--gold);
  color: var(--navy);
  opacity: 0;
  pointer-events: none;
  transform: scale(.7);
}

.fab-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* ---------- Cookie banner ----------
   A full-width slim bar rather than a floating card: a floating card pinned to
   a corner will, on shorter viewports, land on top of whatever page content
   happens to be there (e.g. hero buttons). A full-width bar can't. */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: var(--navy);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .2);
  transform: translateY(110%);
  transition: transform .5s var(--ease);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: .85rem;
  margin: 0;
  text-align: center;
}

.cookie-banner a {
  color: var(--gold-light);
  text-decoration: underline;
}

@media (max-width:576px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: .7rem;
    padding: 1.1rem 1.4rem;
  }

  .cookie-banner .btn {
    align-self: flex-end;
  }
}

/* ==========================================================================
   INNER PAGES — page header, why-cards, history timeline, CEO, awards
   ========================================================================== */

/* ---------- Page header (used on about/services/portfolio/etc.) ---------- */
.page-header {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
  color: #fff;
}

.ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, .55) 0%, rgba(10, 37, 64, .92) 100%);
}

.ph-content {
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.breadcrumb-trail {
  font-size: .82rem;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, .7);
}

.breadcrumb-trail a {
  color: rgba(255, 255, 255, .7);
}

.breadcrumb-trail a:hover {
  color: var(--gold-light);
}

.breadcrumb-trail span {
  margin: 0 .5rem;
}

.page-header .eyebrow {
  color: var(--gold-light);
}

.page-header h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 800px;
  line-height: 1.15;
}

/* ---------- Why choose us ---------- */
.why-section {
  background: var(--white);
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

[data-theme="dark"] .why-card {
  background: #1a2a3f;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .why-card p {
  color: #b0c0d0;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(10, 37, 64, .1);
}

.why-card i {
  font-size: 1.7rem;
  color: var(--gold);
}

.why-card h5 {
  font-size: 1.05rem;
  margin: .9rem 0 .6rem;
}

.why-card p {
  font-size: .88rem;
  color: var(--gray-mid);
  margin: 0;
}

/* ---------- History timeline (vertical) ---------- */
.history-section {
  background: var(--navy);
  background-image: radial-gradient(circle at 15% 30%, rgba(201, 162, 39, .1), transparent 55%);
}

.history-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.history-line {
  position: absolute;
  left: 70px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, .15);
}

.history-item {
  position: relative;
  display: flex;
  gap: 2rem;
  padding-bottom: 2.6rem;
}

.history-item:last-child {
  padding-bottom: 0;
}

.hy-year {
  flex: 0 0 70px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-light);
  font-size: 1.1rem;
  position: relative;
}

.hy-year::after {
  content: '';
  position: absolute;
  top: 6px;
  left: calc(100% + 34px);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, .2);
}

.hy-body {
  flex: 1;
  padding-left: 1rem;
}

.hy-body h6 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: .5rem;
}

.hy-body p {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  margin: 0;
}

@media (max-width:576px) {
  .history-line {
    left: 24px;
  }

  .history-item {
    gap: 1rem;
  }

  .hy-year {
    flex-basis: 24px;
    font-size: 0;
  }

  .hy-year::before {
    content: attr(data-label);
  }

  .hy-year::after {
    left: calc(100% + 12px);
  }
}

/* ---------- CEO message ---------- */
.ceo-section {
  background: var(--white);
}

.ceo-photo {
  border-radius: var(--radius);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.ceo-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  margin: 1rem 0 1.6rem;
}

[data-theme="dark"] .ceo-quote {
  color: var(--white);
}

/* ---------- Awards ---------- */
.awards-section {
  background: var(--bg);
}

.award-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  height: 100%;
}

[data-theme="dark"] .award-card {
  background: #1a2a3f;
  border-color: rgba(255, 255, 255, 0.1);
}

.award-card i {
  font-size: 1.8rem;
  color: var(--gold);
}

.award-card h6 {
  font-size: .92rem;
  margin: .9rem 0 .4rem;
}

.award-card span {
  font-size: .78rem;
  color: var(--gray-mid);
}