@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');


:root {
  /* High-Contrast Structural Layer */
  --teal-900: #0A1617;        /* Deeper, richer baseline ink */
  --ink: #111217;             /* True high-contrast rich black */
  --gray-500: #646A7E;        /* Crisp text gray */
  --gray-200: #DDE1EC;        /* Hard structural dividing lines */
  --cream: #00F0FF;           /* REPLACED with Electric Cyan (HVAC Airflow/Cooling) */
  --off-white: #F4F6FA;       /* Clinical, high-visibility gray-white */
  --white: #FFFFFF;

  /* Pafel High-Resolution Accent Layer */
  --magenta: #D9048E;        /* Pushed up saturation (Thermal/Heat) */
  --magenta-bright: #FF46B6; /* Pure neon emissive accent */
  --magenta-deep: #4A0031;   /* High-shadow grounding color */
  --rose-muted: #111217;     /* Hardened to baseline elements */
  --pink-soft: #FFE6F4;      /* High-contrast highlight container fill */
  --cyan-electric: #00F0FF;  /* Secondary hyper-vibrant token */

  /* Geometric Layout Typography */
  --font-display: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --radius: 4px;             /* Sharper, architectural block corners */
  --radius-lg: 8px;
  --container-pad: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1); /* Faster, crisp industrial transitions */
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}

/* FIX: overflow-x must be constrained at the <html> level too, not just <body>.
   iOS Safari calculates horizontal scrollability from <html>; leaving it open
   there is what let the page pan sideways and caused fixed-position elements
   (preloader, navbar) to visually detach from the viewport on mobile. */
html, body{
  overflow-x: hidden;
  width: 100%;
}

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}

a{ text-decoration:none; color: inherit; }
img{ max-width:100%; display:block; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:800; letter-spacing:-0.02em; color: var(--ink); margin:0; }
p{ color: var(--gray-500); margin:0; }
:focus-visible{ outline: 2px solid var(--magenta); outline-offset: 3px; }

.container{ max-width: 1280px; }

.eyebrow{
  display:inline-block;
  font-size: 0.78rem;
  font-weight:700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta-deep);
  margin-bottom: 14px;
}
.eyebrow-light{ color: var(--magenta-bright); }

.btn{
  font-family: var(--font-body);
  font-weight:700;
  border-radius: var(--radius);
  padding: 0.72rem 1.5rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn-magenta{
  background: var(--magenta);
  color: var(--white);
}
.btn-magenta:hover{
  background: var(--magenta-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(167,39,127,0.55);
}
.btn-outline-ink{
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline-ink:hover{
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================
   Preloader
   ============================ */
#preloader{
  position: fixed; inset:0; z-index: 2000;
  background: var(--off-white);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
#preloader.hidden{ opacity:0; visibility:hidden; pointer-events:none; }

#preloader-mark{
  width: 84px; height: 84px;
  object-fit: contain;
  animation: preloader-pulse 1.3s var(--ease) infinite;
}
@keyframes preloader-pulse{
  0%, 100%{ transform: scale(0.9); opacity: 0.55; }
  50%{ transform: scale(1.05); opacity: 1; }
}

/* ============================
   Navbar
   ============================ */
#mainNav{
  padding: 18px 0;
  background: transparent;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
  z-index: 1050;
}
#mainNav.scrolled{
  background: rgba(249,249,249,0.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--gray-200);
}

/* FIX: mobile nav background must respect .nav-on-dark the same way desktop does.
   Previously this rule forced a light bar unconditionally on mobile, which
   painted white nav text/icons (from the .nav-on-dark rule below) onto a
   near-white background -> invisible until .scrolled was added. */
@media (max-width: 991.98px){
  #mainNav:not(.nav-on-dark),
  #mainNav.nav-on-dark.scrolled{
    background: rgba(249,249,249,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--gray-200);
  }
  #mainNav.nav-on-dark:not(.scrolled){
    background: transparent;
  }
  /* Once the mobile menu is open, always show a solid, readable backdrop
     regardless of nav-on-dark state -- an open menu should never be
     transparent over a hero/page-header image. */
  #mainNav .navbar-collapse.show,
  #mainNav .navbar-collapse.collapsing{
    background: rgba(249,249,249,0.98);
    backdrop-filter: blur(10px);
    margin: 0 -16px;
    padding: 8px 16px 18px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 24px -12px rgba(17,18,23,0.18);
  }
  #mainNav.nav-on-dark .navbar-collapse.show .nav-link,
  #mainNav.nav-on-dark .navbar-collapse.collapsing .nav-link{
    color: var(--ink);
  }
  #mainNav.nav-on-dark .navbar-collapse.show .nav-link::after,
  #mainNav.nav-on-dark .navbar-collapse.collapsing .nav-link::after{
    background: var(--magenta);
  }
}
.navbar-brand{ display:flex; align-items:center; gap:8px; }
.brand-mark{  width:150px; height:auto; }

.nav-link{
  font-weight:600;
  color: var(--ink);
  padding: 8px 4px !important;
  margin: 0 10px;
  position: relative;
}
.nav-link::after{
  content:"";
  position:absolute; left:4px; right:4px; bottom:2px; height:2px;
  background: var(--magenta);
  transform: scaleX(0); transform-origin:left;
  transition: transform .25s var(--ease);
}
.nav-link:hover::after{ transform: scaleX(1); }

.navbar-toggler{ border:none; padding:6px; }
.navbar-toggler:focus{ box-shadow:none; }
.toggler-bar{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; transition: background .25s var(--ease); }


#mainNav.nav-on-dark:not(.scrolled) .nav-link,
#mainNav.nav-on-dark:not(.scrolled) .dropdown-caret-btn{
  color: var(--white);
}
#mainNav.nav-on-dark:not(.scrolled) .nav-link::after{
  background: var(--white);
}
#mainNav.nav-on-dark:not(.scrolled) .toggler-bar{
  background: var(--white);
}
#mainNav.nav-on-dark:not(.scrolled) .btn-outline-ink{
  border-color: var(--white);
  color: var(--white);
}
#mainNav.nav-on-dark:not(.scrolled) .btn-outline-ink:hover{
  background: var(--white);
  color: var(--ink);
}

/* ============================
   Hero
   ============================ */
.hero{
  position: relative;
  padding: 150px 0 110px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--pink-soft) 0%, var(--off-white) 55%, var(--magenta-bright) 100%);
}
.hero::before{
  content:"";
  position:absolute;
  top: 30px; right: -130px;
  width: 340px; height: 340px;
  border: 1px solid rgba(217,4,142,0.18);
  border-radius: 50%;
  opacity: .6;
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute;
  bottom: -180px; left: -170px;
  width: 440px; height: 440px;
  border: 1px solid rgba(217,4,142,0.14);
  border-radius: 50%;
  opacity: .45;
  pointer-events:none;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.hero-panel{
  position: relative;
  z-index: 1;
  padding-bottom: 100px;
}
.hero-panel-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  min-height: 420px;
}
.hero-panel-copy{ position: relative; z-index: 2; }
.hero-panel-copy h1{
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.16;
  margin: 8px 0 20px;
}
.hero-panel-sub{
  color: var(--gray-500);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 460px;
  text-align: justify;
  margin-bottom: 30px;
}

.hero-panel-media{
  position: relative;
  height: 100%;
  min-height: 380px;
  border-radius: 20px;
  overflow: hidden;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
  box-shadow: 0 34px 64px -30px rgba(17,18,23,0.28);
}
.hero-panel-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.hero-panel:hover .hero-panel-media img{ transform: scale(1.07); }

.hero-float-cards{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  z-index: 4;
}
.hero-float-card{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 22px;
  border-radius: 16px;
  box-shadow: 0 24px 44px -22px rgba(17,18,23,0.22);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hero-float-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 30px 54px -20px rgba(17,18,23,0.3);
}
.hero-float-card-dark{ background: var(--ink); }
.hero-float-card-accent{ background: var(--magenta); }
.hero-float-icon{
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
}
.hero-float-icon svg{ width: 20px; height: 20px; }
.hero-float-card:hover .hero-float-icon{ transform: rotate(-8deg) scale(1.08); }
.hero-float-card h4{ color: var(--white); font-size: 0.98rem; margin-bottom: 6px; }
.hero-float-card p{ color: rgba(255,255,255,0.72); font-size: 0.85rem; line-height: 1.5; margin: 0; }

.hero-scroll-btn{
  position: absolute;
  left: 0;
  bottom: -28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--magenta);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  box-shadow: 0 16px 30px -12px rgba(217,4,142,0.55);
  animation: hero-bounce 2.4s ease-in-out infinite;
  transition: background .25s var(--ease), transform .25s var(--ease);
  cursor: pointer;
}
.hero-scroll-btn:hover{
  background: var(--magenta-deep);
  animation-play-state: paused;
  transform: translateY(4px) scale(1.06);
}
@keyframes hero-bounce{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(8px); }
}

@media (max-width: 991.98px){
  .hero-panel{ padding-bottom: 0; }
  .hero-panel-grid{ grid-template-columns: 1fr; min-height: auto; }
  .hero-panel-media{ min-height: 260px; clip-path: none; margin-top: 6px; }
  .hero-float-cards{
    position: static;
    left: auto; right: auto; bottom: auto;
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .hero-scroll-btn{
    position: static;
    margin-top: 24px;
    animation: none;
  }
  .hero::before, .hero::after{ display:none; }
}
@media (max-width: 575.98px){
  .hero-panel{ border-radius: 20px; }
}

/* ============================
   Services
   ============================ */
.section-head{
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.split{
  display:flex; align-items:flex-end; justify-content:space-between;
  max-width:none; margin: 0 0 48px;
  text-align: left;
  flex-wrap:wrap; gap:16px;
}
.link-arrow{
  font-weight:700; color: var(--magenta-deep);
  transition: gap .25s var(--ease), color .25s;
  display:inline-flex; align-items:center; gap:6px;
}
.link-arrow:hover{ color: var(--magenta); gap:10px; }

.service-card{
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--cream);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  border-color: var(--magenta);
  box-shadow: 0 20px 40px -24px rgba(20,47,50,0.25);
}
.service-icon{
  width: 44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 10px;
  background: var(--off-white);
  color: var(--magenta);
  margin: 0 auto 18px;
}
.service-icon svg{ width:22px; height:22px; }
.service-card{ text-align: center; }
.service-card h3{ font-size: 1.1rem; margin-bottom:10px; }
.service-card p{ font-size: 0.92rem; line-height:1.55; text-align: justify; }

/* ---- Services v2 (icon-left card grid) ---- */
.services{
  padding: 100px 0;
  background: linear-gradient(160deg, var(--white) 0%, var(--off-white) 100%);
}
.services-head{
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.services-head h2{
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  line-height: 1.25;
  margin: 10px 0 18px;
}
.services-sub{
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 560px;
  text-align: justify;
}

.services-grid-v2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}
.service-card-v2{
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  background: var(--white);
  border-radius: 24px;
  padding: 32px 34px;
  box-shadow: 0 24px 50px -34px rgba(17,18,23,0.16);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card-v2:hover{
  transform: translateY(-8px);
  box-shadow: 0 34px 64px -26px rgba(217,4,142,0.24);
}

.service-icon-v2{
  position: relative;
  flex-shrink: 0;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--white);
  color: var(--magenta);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 14px rgba(217,4,142,0.07), 0 18px 32px -18px rgba(217,4,142,0.35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-icon-v2 svg{ width: 34px; height: 34px; }
.service-card-v2:hover .service-icon-v2{
  transform: scale(1.06);
  box-shadow: 0 0 0 16px rgba(217,4,142,0.12), 0 20px 36px -16px rgba(217,4,142,0.45);
}
.service-card-v2-text h3{ font-size: 1.12rem; margin-bottom: 8px; }
.service-card-v2-text p{ font-size: 0.9rem; line-height: 1.6; margin: 0; }

.services-link{ display: inline-flex; }


@media (max-width: 767.98px){
  .services-grid-v2{ grid-template-columns: 1fr; gap: 20px; }
  .service-card-v2{
    padding: 26px;
    gap: 14px;
    flex-direction: column;
    text-align: center;
  }
  .service-icon-v2{
    margin: 10px auto;
    width: 68px; height: 68px;
    box-shadow: 0 0 0 10px rgba(217,4,142,0.07), 0 14px 26px -14px rgba(217,4,142,0.35);
  }
  .service-icon-v2 svg{ width: 26px; height: 26px; }
  .service-card-v2-text{ width: 100%; }
  .service-card-v2-text p{ text-align: justify; }
}

.services-sub{
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}
.text-white-heading{
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 620px;
  margin: 0 auto;
}

/* ============================
   Benefits
   ============================ */
.benefits{
  background: var(--teal-900);
  padding: 90px 0;
  color: var(--white);
}
.benefits h2{
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 32px;
  max-width: 560px;
}
.benefits-media{
  border-radius: var(--radius-lg);
  overflow:hidden;
  aspect-ratio: 4/5;
}
.benefits-media img{ width:100%; height:100%; object-fit:cover; }

.benefits-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:26px; }
.benefits-list li{ display:flex; gap:16px; }
.check{
  flex-shrink:0;
  width:28px; height:28px;
  border-radius:50%;
  background: var(--magenta);
  color: var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:0.85rem; font-weight:700;
  margin-top:2px;
}
.benefits-list h4{ color: var(--white); font-size:1.05rem; margin-bottom:6px; }
.benefits-list p{ color: rgba(255,255,255,0.65); font-size:0.92rem; line-height:1.55; text-align: justify; }

/* ============================
   Deployments
   ============================ */
.deployments{ padding: 90px 0; }
.deployment-grid{ margin-top: 0; }
.project-card{
  position:relative;
  display:block;
  border-radius: var(--radius-lg);
  overflow:hidden;
  background: var(--ink);
}
.project-card img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .7s var(--ease);
}
.project-card:hover img{ transform: scale(1.08); }
.project-card-lg {
  width: 95%;
  height: 100%;
  aspect-ratio: 4/3.1; /* This remains the "anchor" height for the whole row */
}
.deployment-stack{ display:flex; flex-direction:column; gap:24px; height:100%; }
.project-card-sm{ aspect-ratio: 16/9.3; flex:1; }

.project-overlay{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(20,47,50,0.9) 0%, rgba(20,47,50,0.15) 55%, rgba(20,47,50,0) 100%);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding: 24px;
}
.project-tags{ display:flex; gap:8px; margin-bottom:10px; }
.tag{
  font-size: 0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.05em;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.16); color: var(--white);
  backdrop-filter: blur(4px);
}
.tag-magenta{ background: var(--magenta); }
.project-overlay h3{ color: var(--white); font-size:1.2rem; margin-bottom:6px; }
.project-overlay p{ color: rgba(255,255,255,0.75); font-size:0.88rem; max-width:420px; }

/* ============================
   Footer
   ============================ */
footer{
  background: var(--teal-900);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-mark{ color: var(--magenta-bright); }
.footer-tag{ margin-top:14px; font-size:0.9rem; line-height:1.6; max-width: 320px; }
footer h5{
  font-family: var(--font-display); font-weight:700; font-size:0.85rem;
  text-transform:uppercase; letter-spacing:0.06em;
  color: var(--white); margin-bottom:18px;
}
footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
footer ul a{ font-size:0.92rem; transition: color .2s; }
footer ul a:hover{ color: var(--magenta-bright); }

.footer-contact{ list-style:none; padding:0; margin:0 0 16px; display:flex; flex-direction:column; gap:10px; max-width:320px; }
.footer-contact li{ font-size:0.92rem; line-height:1.5; }
.footer-contact a{ transition: color .2s; }
.footer-contact a:hover{ color: var(--magenta-bright); }
.footer-contact-link{ font-size: 0.88rem; }

.footer-bottom{
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
}

/* ============================
   Nav dropdown (Services)
   ============================ */
.dropdown-menu{
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -24px rgba(20,47,50,0.3);
  padding: 8px;
  margin-top: 10px;
  min-width: 210px;
  font-family: var(--font-body);
}
.dropdown-item{
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.dropdown-item:hover, .dropdown-item:focus{
  background: var(--off-white);
  color: var(--magenta);
}

/* FIX: Services nav item used to be a single <a> that was both a link AND a
   Bootstrap dropdown toggle. On mobile, Bootstrap intercepts the tap to open
   the submenu, so users could never tap straight through to services.html.
   Split into a real link (navigates) + a small caret button (opens the
   submenu) so both actions work independently on any device. */
.nav-link-split{
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link-split .nav-link{ margin: 0; padding-right: 2px !important; }
.dropdown-caret-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  border-radius: 6px;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.dropdown-caret-btn svg{ width: 15px; height: 15px; transition: transform .2s var(--ease); }
.dropdown-caret-btn:hover{ background: var(--off-white); }
.dropdown-caret-btn[aria-expanded="true"] svg{ transform: rotate(180deg); }

.dropdown-toggle::after{ display: none; } /* caret is now the dedicated button's svg */

/* Open on hover/focus (desktop only) — click still works via Bootstrap */
@media (min-width: 992px){
  .nav-item.dropdown{ position: relative; }
  /* invisible bridge so the pointer never "leaves" the item while crossing the gap */
  .nav-item.dropdown::before{
    content: "";
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: 14px;
  }
  .nav-item.dropdown .dropdown-menu{
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-item.dropdown .dropdown-menu.show,
  .nav-item.dropdown:hover .dropdown-menu,
  .nav-item.dropdown:focus-within .dropdown-menu{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

}
@media (max-width: 991.98px){
  /* On mobile the submenu behaves like a normal in-flow accordion panel,
     opened only by the caret button, closed by tapping it again. */
  .nav-item.dropdown .dropdown-menu{
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding-left: 12px;
    margin-top: 4px;
    display: none;
  }
  .nav-item.dropdown .dropdown-menu.show{ display: block; }
}

/* ============================
   Testimonials
   ============================ */
.testimonials{
  background: var(--ink);
  padding: 90px 0;
}
.text-white-heading{
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 620px;
}
.testimonial-carousel{ max-width: 720px; margin: 0 auto; }
.testimonial-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}
.quote-mark{
  display:block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--magenta-bright);
  margin-bottom: 8px;
}
.testimonial-text{
  color: var(--white);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 24px;
}
.testimonial-author{ display:flex; flex-direction:column; gap: 2px; }
.author-name{ font-weight: 700; color: var(--white); font-family: var(--font-display); }
.author-role{ font-size: 0.85rem; color: rgba(255,255,255,0.55); }

.carousel-control-prev, .carousel-control-next{
  width: 44px; height: 44px;
  top: 50%; transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  opacity: 1;
}
.carousel-control-prev{ left: -8px; }
.carousel-control-next{ right: -8px; }
@media (min-width: 992px){
  .carousel-control-prev{ left: -60px; }
  .carousel-control-next{ right: -60px; }
}
/* FIX: on narrow viewports the -8px offset combined with the page-level
   overflow-x:hidden could clip the arrows against the edge instead of
   floating just outside the card as intended. Pull them fully inside the
   card's padding on small screens instead of overhanging the edge. */
@media (max-width: 575.98px){
  .carousel-control-prev{ left: 4px; }
  .carousel-control-next{ right: 4px; }
  .testimonial-card{ padding: 44px 20px; }
}
.carousel-control-prev:hover, .carousel-control-next:hover{ background: var(--magenta); }
.carousel-arrow{ color: var(--white); font-size: 1.1rem; }

.testimonial-indicators{ position: static; margin-top: 28px; }
.testimonial-indicators button{
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none; opacity: 1;
}
.testimonial-indicators button.active{ background: var(--magenta-bright); width: 22px; border-radius: 4px; }

/* ============================
   Booking modal
   ============================ */
.assessment-modal .modal-content{
  border-radius: var(--radius-lg);
  border: none;
  font-family: var(--font-body);
}
.assessment-modal .modal-header{
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 28px;
  align-items: flex-start;
}
.modal-title{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
}
.modal-subtitle{ color: var(--gray-500); font-size: 0.9rem; margin: 6px 0 0; max-width: 440px; }
.assessment-modal .modal-body{ padding: 24px 28px 28px; }

.step-label{
  display:flex; align-items:center; gap:10px;
  font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 16px;
}
.step-num{
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--magenta); color: var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size: 0.75rem;
}

.booking-panel{
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
}
.cal-header{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 12px;
}
.cal-month{ font-weight: 700; font-size: 0.92rem; }
.cal-nav{
  border: 1px solid var(--gray-200); background: var(--white);
  width: 30px; height: 30px; border-radius: 8px;
  font-size: 0.85rem; color: var(--ink);
  transition: background .2s, opacity .2s;
}
.cal-nav:hover:not(:disabled){ background: var(--gray-200); }
.cal-nav:disabled{ opacity: 0.3; cursor: not-allowed; }

.cal-weekdays{
  display:grid; grid-template-columns: repeat(7,1fr);
  text-align:center; font-size: 0.72rem; font-weight:700;
  color: var(--gray-500); margin-bottom: 4px;
}
.cal-grid{
  display:grid; grid-template-columns: repeat(7,1fr);
  gap: 2px;
}
.cal-day{
  aspect-ratio: 1;
  display:flex; align-items:center; justify-content:center;
  font-size: 0.82rem; border-radius: 6px;
  background: transparent; border: none;
  color: var(--ink);
  transition: background .15s, color .15s;
}
.cal-day.is-muted{ color: var(--gray-500); opacity: 0.45; }
.cal-day:disabled{ opacity: 0.25; cursor: not-allowed; }
.cal-day:hover:not(:disabled):not(.is-selected){ background: var(--gray-200); }
.cal-day.is-today{ box-shadow: inset 0 0 0 1px var(--magenta); }
.cal-day.is-selected{ background: var(--magenta); color: var(--white); font-weight:700; }

.time-section{ margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gray-200); }
.time-label{ font-size: 0.75rem; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; color: var(--gray-500); }
.time-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 10px; }
.time-slot-btn{
  border: 1px solid var(--gray-200); background: var(--white);
  border-radius: 8px; padding: 9px 0;
  font-weight: 600; font-size: 0.85rem; color: var(--ink);
  transition: border-color .15s, background .15s, color .15s;
}
.time-slot-btn:hover{ border-color: var(--magenta); }
.time-slot-btn.is-selected{
  border-color: var(--magenta); background: var(--magenta); color: var(--white);
}
.time-empty{ font-size: 0.82rem; color: var(--gray-500); margin: 10px 0 0; }

.booking-form .form-label{ font-size: 0.82rem; font-weight:700; color: var(--ink); margin-bottom: 6px; }
.booking-form .form-control, .booking-form .form-select{
  font-family: var(--font-body);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.92rem;
}
.booking-form .form-control:focus, .booking-form .form-select:focus{
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(167,39,127,0.14);
}
.selected-summary{
  font-size: 0.85rem; color: var(--gray-500);
  margin: 18px 0 14px;
  padding: 10px 12px;
  background: var(--off-white);
  border-radius: 8px;
}
.selected-summary.is-set{ color: var(--magenta-deep); font-weight: 600; background: var(--pink-soft); }
.booking-note{ text-align:center; font-size: 0.78rem; color: var(--gray-500); margin: 12px 0 0; }

/* ============================
   Floating WhatsApp button
   ============================ */
.whatsapp-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,0.55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: wa-pop .5s var(--ease) 1.4s both;
}
.whatsapp-float svg{ width: 27px; height: 27px; }
.whatsapp-float:hover{
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 32px -8px rgba(37,211,102,0.65);
  color: var(--white);
}
@keyframes wa-pop{
  from{ opacity: 0; transform: scale(0.6); }
  to{ opacity: 1; transform: scale(1); }
}
.whatsapp-tooltip{
  position: absolute;
  right: 64px;
  white-space: nowrap;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.whatsapp-float:hover .whatsapp-tooltip{
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 575.98px){
  .whatsapp-float{ right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .whatsapp-float svg{ width: 24px; height: 24px; }
  .whatsapp-tooltip{ display: none; }
}

/* ============================
   Contact page
   ============================ */
.page-header{
  position: relative;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.72) 0%, rgba(74,0,49,0.78) 100%),
    url('../images/hero.jpg') center/cover no-repeat;
  padding: 150px 0 60px;
}
.page-header h1{
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 6px 0 14px;
}
.page-header-sub{
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.6;
}

/* ============================
   Contact info band (icon / heading / text)
   ============================ */
.contact-band{
  position: relative;
  background: var(--white);
  padding: 76px 0 0;
  overflow: hidden;
}
.contact-band-bg{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: var(--off-white);
  z-index: 0;
}
.contact-band-bar{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: var(--magenta);
  z-index: 1;
}
.contact-band .row{
  position: relative;
  z-index: 2;
}
.contact-band-item{
  text-align: center;
  padding: 0 24px 60px;
}
.contact-band-icon{
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--magenta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 16px 30px -14px rgba(217,4,142,0.45);
}
.contact-band-icon svg{ width: 38px; height: 38px; }
.contact-band-item h3{
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.contact-band-item p{
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}
.contact-band-item p a{
  color: var(--gray-500);
  transition: color .2s;
}
.contact-band-item p a:hover{ color: var(--magenta); }

.contact-main{ background: var(--off-white); padding: 80px 0; }
.map-frame{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  min-height: 340px;
  height: 100%;
}
.contact-form-wrap{
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  height: 100%;
}
.contact-form-wrap h2{
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 4px 0 12px;
}
.contact-form-sub{ font-size: 0.92rem; line-height: 1.6; margin-bottom: 22px; }

.nav-link.active{ color: var(--magenta-deep); }
.nav-link.active::after{ transform: scaleX(1); }

.form-status{
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.form-status:not(:empty){ display: block; }
.form-status a{ text-decoration: underline; }
.form-status.is-success{
  background: var(--pink-soft);
  color: var(--magenta-deep);
  border: 1px solid rgba(217,4,142,0.25);
}
.form-status.is-error{
  background: #FDEAEA;
  color: #B3261E;
  border: 1px solid rgba(179,38,30,0.25);
}
.form-status.is-error a{ color: #B3261E; }

@media (max-width: 991.98px){
  .page-header{ padding: 130px 0 50px; }
  .map-frame{ min-height: 280px; }
  .contact-band{ padding-top: 60px; }
  .contact-band-bg{ height: 68%; }
}

/* ============================
   About page
   ============================ */

/* -- Intro: framed photo + copy -- */
.about-company{ padding: 100px 0; background: var(--white); }
.about-media-wrap{
  position: relative;
  padding: 24px 0 0 24px;
}
.about-media-wrap::before{
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 80%;
  height: 65%;
  background: var(--magenta);
  border-radius: 18px;
}
.about-media-frame{
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  box-shadow: 0 34px 64px -30px rgba(17,18,23,0.35);
}
.about-media-frame img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.about-media-wrap:hover .about-media-frame img{ transform: scale(1.06); }
.frame-corner{ position: absolute; width: 28px; height: 28px; z-index: 2; pointer-events: none; }
.frame-corner.tl{ top: 14px; left: 14px; border-top: 2px solid var(--white); border-left: 2px solid var(--white); }
.frame-corner.br{ bottom: 14px; right: 14px; border-bottom: 2px solid var(--white); border-right: 2px solid var(--white); }

.about-copy h2{
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 6px 0 18px;
}
.about-lead{
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  padding-left: 16px;
  text-align: justify;
  border-left: 3px solid var(--magenta);
  margin-bottom: 20px;
}
.about-lead strong{ color: var(--magenta-deep); }
.about-copy p{ font-size: 0.96rem; line-height: 1.7; margin-bottom: 16px; text-align: justify; }

/* ============================
   Mission / Vision / Values
   ============================ */
.mvv-section{ padding: 100px 0; background: var(--white); }

.mvv-card{
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  padding: 40px 32px;
  text-align: justify;
  height: 100%;
  box-shadow: 0 24px 48px -34px rgba(17,18,23,0.16);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mvv-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -28px rgba(217,4,142,0.2);
}
.mvv-card h3{ font-size: 1.25rem; margin: 22px 0 14px; text-align: center; }
.mvv-card p{ font-size: 0.94rem; line-height: 1.7; color: var(--gray-500); margin: 0; text-align: justify;}

.mvv-icon{
  margin: 0 auto;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--pink-soft);
  color: var(--magenta);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease);
}
.mvv-icon svg{ width: 28px; height: 28px; }
.mvv-card:hover .mvv-icon{ transform: rotate(-6deg) scale(1.08); }

.mvv-card-accent{
  background: linear-gradient(160deg, var(--ink) 0%, var(--magenta-deep) 150%);
  border-color: transparent;
  transform: translateY(-16px);
}
.mvv-card-accent:hover{ transform: translateY(-24px); }
.mvv-card-accent h3{ color: var(--white); }
.mvv-card-accent p{ color: rgba(255,255,255,0.72); }
.mvv-card-accent .mvv-icon{
  background: rgba(255,255,255,0.14);
  color: var(--magenta-bright);
}

.mvv-values-sub{ margin-bottom: 18px !important; }
.mvv-values-list{
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.mvv-values-list li{
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
}
.mvv-values-list li span{
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--magenta);
  color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 991.98px){
  .mvv-card-accent{ transform: none; }
  .mvv-card-accent:hover{ transform: translateY(-8px); }
}

/* -- Our Story -- */
.about-story{ padding: 100px 0; background: var(--off-white); }
.story-media{
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  box-shadow: 0 34px 64px -30px rgba(17,18,23,0.3);
}
.story-media img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.story-media:hover img{ transform: scale(1.06); }
.about-story h2{
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: 6px 0 16px;
}
.story-text{ font-size: 0.96rem; line-height: 1.7; color: var(--gray-500); margin-bottom: 16px; text-align: justify; }
.story-signoff{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.signoff-name{ font-weight: 800; color: var(--ink); font-family: var(--font-display); }
.signoff-role{ font-size: 0.85rem; color: var(--gray-500); }



/* -- Core values -- */
.core-values{ padding: 80px 0 100px; background: var(--off-white); }
.value-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card{
  background: var(--white);
  border-radius: 18px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 24px 48px -34px rgba(17,18,23,0.16);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 30px 56px -28px rgba(217,4,142,0.24);
}
.value-icon{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--magenta);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: transform .3s var(--ease);
}
.value-icon svg{ width: 24px; height: 24px; }
.value-card:hover .value-icon{ transform: scale(1.08) rotate(-6deg); }
.value-card h4{ font-size: 1rem; margin-bottom: 8px; }
.value-card p{ font-size: 0.88rem; line-height: 1.55; color: var(--gray-500); margin: 0; text-align: justify; }

/* -- Stats band (reuses .stat-strip hook for main.js counters) -- */
.about-stats-band{ background: var(--ink); padding: 64px 0; }
.about-stats-band .stat-strip{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 768px){
  .about-stats-band .stat-strip{ grid-template-columns: repeat(4, 1fr); }
}
.about-stats-band .stat-item{ display: flex; flex-direction: column; text-align: center; }
.about-stats-band .stat-num, .about-stats-band .stat-suffix{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--white);
}
.about-stats-band .stat-suffix{ color: var(--magenta-bright); }
.about-stats-band .stat-label{
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}

/* -- Certifications & Partnerships -- */
.certifications{ padding: 90px 0; background: var(--white); }
.cert-badge{
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cert-badge:hover{
  transform: translateY(-6px);
  border-color: var(--magenta);
  box-shadow: 0 24px 44px -30px rgba(217,4,142,0.25);
}
.cert-icon{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--magenta);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-weight: 700;
}
.cert-badge h4{ font-size: 0.98rem; margin-bottom: 8px; }
.cert-badge p{ font-size: 0.85rem; line-height: 1.55; color: var(--gray-500); margin: 0; text-align: justify; }

/* ============================
   CTA + Partners (combined)
   ============================ */
.cta-partners-band{
  padding: 90px 0 70px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--magenta-deep) 140%);
}
.cta-partners-band h2{
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  max-width: 640px;
  margin: 10px auto 16px;
}
.cta-partners-band > .container > p{
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto 26px;
}
.cta-partners-band .cta-actions{
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 64px;
}

.partners-divider{
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 420px;
  margin: 0 auto 32px;
}
.partners-divider::before,
.partners-divider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.partners-divider span{
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.partners-ticker-dark{
  position: relative;
  overflow: hidden;
  padding: 4px 0;
}
.partners-ticker-dark::before,
.partners-ticker-dark::after{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.partners-ticker-dark::before{ left: 0; background: linear-gradient(90deg, var(--magenta-deep), transparent); }
.partners-ticker-dark::after{ right: 0; background: linear-gradient(270deg, var(--ink), transparent); }

.partner-logo-dark{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 24px;
  box-shadow: 0 14px 26px -16px rgba(0,0,0,0.45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.partner-logo-dark img{
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}
.partner-logo-dark:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 32px -16px rgba(0,0,0,0.55);
}

@media (max-width: 575.98px){
  .cta-partners-band{ padding: 70px 0 50px; }
  .cta-partners-band .cta-actions{ margin-bottom: 48px; }
}


.ticker-track{
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 20s linear infinite;
}
.partners-ticker:hover .ticker-track{ animation-play-state: paused; }
@keyframes ticker-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.partner-badge{
  flex-shrink: 0;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--gray-500);
  transition: color .25s var(--ease);
}
.partners-ticker:hover .partner-badge{ color: var(--gray-500); }
.partner-badge:hover{ color: var(--magenta) !important; }

/* -- Process ("How We Work") -- */
.process{ padding: 90px 0; background: var(--off-white); }
.process-step{
  background: var(--white);
  border-radius: 18px;
  padding: 30px 26px;
  height: 100%;
  text-align: center;
  box-shadow: 0 24px 48px -34px rgba(17,18,23,0.16);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.process-step:hover{ transform: translateY(-6px); box-shadow: 0 30px 56px -28px rgba(217,4,142,0.22); }
.process-num{
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--magenta);
  color: var(--white);
  font-weight: 800;
  font-family: var(--font-display);
  margin: 0 auto 18px;
  transition: transform .3s var(--ease);
}
.process-step:hover .process-num{ transform: rotate(-6deg) scale(1.06); }
.process-step h3{ font-size: 1.05rem; margin-bottom: 10px; }
.process-step p{ font-size: 0.88rem; line-height: 1.55; color: var(--gray-500); margin: 0; text-align: justify; }

/* -- Team -- */
.team{ padding: 90px 0; background: var(--white); }
.team-card{ text-align: center; }
.team-photo{
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  box-shadow: 0 24px 44px -30px rgba(17,18,23,0.25);
}
.team-photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card:hover .team-photo img{ transform: scale(1.07); }
.team-card h4{ font-size: 1rem; margin-bottom: 4px; }
.team-role{ display: block; font-size: 0.85rem; color: var(--magenta-deep); font-weight: 600; margin-bottom: 4px; }
.team-cred{ display: block; font-size: 0.78rem; color: var(--gray-500); }

/* -- Safety & Standards -- */
.safety{ padding: 90px 0; background: var(--ink); }
.safety h2{ color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 6px 0 14px; }
.safety-sub{ color: rgba(255,255,255,0.7); font-size: 0.96rem; line-height: 1.7; text-align: justify; }
.safety-item{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 26px 22px;
  height: 100%;
  text-align: center;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.safety-item:hover{ transform: translateY(-6px); background: rgba(255,255,255,0.09); }
.safety-icon{
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(217,4,142,0.22);
  color: var(--magenta-bright);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  transition: transform .3s var(--ease);
}
.safety-item:hover .safety-icon{ transform: rotate(-6deg) scale(1.06); }
.safety-item h4{ color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.safety-item p{ color: rgba(255,255,255,0.65); font-size: 0.86rem; line-height: 1.55; margin: 0; text-align: justify; }

/* -- Closing CTA -- */
.cta-band-ink{
  padding: 90px 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--magenta-deep) 140%);
}
.cta-band-ink h2{ color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 640px; margin: 10px auto 16px; }
.cta-band-ink p{ color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 580px; margin: 0 auto 26px; }
.cta-band-ink .cta-actions{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band-ink .btn-outline-invert{ background: transparent; }

 /* ============================
    Projects page
    ============================ */
  .portfolio{ background: var(--white); padding: 70px 0 90px; }

  .filter-tabs{
    display:flex; flex-wrap:wrap; gap:10px;
    margin-bottom: 40px;
  }
  .filter-btn{
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: 999px;
    transition: background .2s, border-color .2s, color .2s;
  }
  .filter-btn:hover{ border-color: var(--magenta); }
  .filter-btn.is-active{
    background: var(--magenta);
    border-color: var(--magenta);
    color: var(--white);
  }

  .grid-item{ transition: opacity .25s var(--ease); }
  .grid-item.is-hidden{ display: none; }
  .filter-empty{ display:none; text-align:center; color: var(--gray-500); padding: 40px 0; }
  .filter-empty.is-visible{ display:block; }

  .grid-project-card{
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  }
  .grid-project-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 24px 44px -28px rgba(20,47,50,0.3);
  }
  .grid-project-media{ aspect-ratio: 16/11; overflow:hidden; }
  .grid-project-media img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
  .grid-project-card:hover .grid-project-media img{ transform: scale(1.07); }
  .grid-project-body{ padding: 20px; }
  .grid-project-body .tag{
    display:inline-block;
    background: var(--off-white); color: var(--ink);
    border: 1px solid var(--gray-200);
    margin-bottom: 10px;
  }
  .grid-project-body .tag.tag-magenta{ background: var(--magenta); color: var(--white); border-color: var(--magenta); text-align: center;}

  .grid-project-body h3{ font-size: 1.05rem; margin-bottom: 8px; }
  .grid-project-body p{ font-size: 0.88rem; line-height: 1.5; margin-bottom: 10px; text-align: justify; }

  .case-studies{ background: var(--off-white); padding: 90px 0; }
  .case-study{ padding: 50px 0; border-top: 1px solid var(--gray-200); }
  .case-study:first-of-type{ border-top: none; padding-top: 10px; }
  .case-media{
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3.2;
  }
  .case-media img{ width:100%; height:100%; object-fit:cover; }
  .case-study h3{ font-size: 1.5rem; margin: 10px 0 20px; }
  .case-block{ margin-bottom: 16px; }
  .case-block h5{
    font-family: var(--font-display); font-weight:700; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.05em; color: var(--magenta-deep);
    margin-bottom: 4px; text-align: justify;
  }
  .case-block p{ font-size: 0.92rem; line-height: 1.6; text-align: justify;}
  .case-block p strong{ color: var(--ink); }

  /* ============================
    Responsive
    ============================ */
  @media (min-width: 576px){
    .stat-strip{ grid-template-columns: repeat(4,1fr); }
  }
  @media (min-width: 992px){
    .hero{ padding: 170px 0 70px; }
    .stat-strip{ margin-top: 90px; }
  }
  @media (max-width: 991.98px){
    .hero-media{ margin-top: 40px; }
    .footer-grid > div{ margin-bottom: 6px; }
  }

  
/* ============================
   Services page
   ============================ */
.svc-subnav{
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(249,249,249,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.svc-subnav-inner{
  display: flex;
  overflow-x: auto;
  gap: 4px;
  scrollbar-width: none;
}
.svc-subnav-inner::-webkit-scrollbar{ display: none; }
.svc-subnav-link{
  flex-shrink: 0;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.svc-subnav-link:hover{ color: var(--ink); }
.svc-subnav-link.is-active{ color: var(--magenta-deep); border-bottom-color: var(--magenta); }

.svc-section{ padding: 90px 0; background: var(--white); }
.svc-section-alt{ background: var(--off-white); }

.svc-media{ position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.3; }
.svc-media img{ width:100%; height:100%; object-fit:cover; }
.svc-media-badge{
  position: absolute; bottom: 16px; left: 16px;
  background: var(--ink); color: var(--white);
  font-size: 0.78rem; font-weight: 700;
  padding: 8px 14px; border-radius: 999px;
}

.svc-eyebrow{
  display:inline-block; font-size: 0.78rem; font-weight:700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--magenta-deep); margin-bottom: 10px;
}
.svc-lead{ font-size: 1.02rem; line-height: 1.65; color: var(--gray-500); margin-bottom: 16px; text-align: justify;}
.svc-note{ font-size: 0.9rem; line-height: 1.6; color: var(--gray-500); margin-bottom: 28px; }

.workflow{ display:flex; flex-direction:column; gap: 20px; margin-bottom: 30px; }
.wf-step{ display:flex; gap: 16px; align-items:flex-start; }
.wf-num{
  width: 32px; height:32px; flex-shrink:0;
  background: var(--magenta); color: var(--white);
  border-radius: 50%; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size: 0.85rem;
  margin-top: 2px;
}
.wf-content h5{ font-size: 0.98rem; color: var(--ink); margin-bottom: 4px; font-weight:700; }
.wf-content p{ font-size: 0.87rem; line-height:1.55; }

.svc-feature-list{ list-style:none; padding:0; margin: 0 0 30px; display:flex; flex-direction:column; gap:12px; }
.svc-feature-list li{ display:flex; align-items:flex-start; gap: 10px; font-size: 0.92rem; color: var(--gray-500); line-height:1.5; }
.check-icon{ color: var(--magenta); font-weight:800; flex-shrink:0; }

.brand-grid{ display:flex; gap: 10px; flex-wrap:wrap; margin-bottom: 30px; }
.brand-chip{
  border: 1px solid var(--gray-200); background: var(--white);
  border-radius: 999px; padding: 8px 18px;
  font-weight: 700; font-size: 0.85rem; color: var(--ink);
}

/* FIX: SLA comparison table had no responsive wrapper, so on narrow phones
   it could overflow or get clipped by the page's overflow-x:hidden.
   Wrap the <table> in services.html with <div class="table-scroll">...
   </div> -- this rule gives it its own contained horizontal scroll instead
   of fighting the page-level overflow rule or squashing columns unreadably. */
.table-scroll{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.table-scroll .sla-table{ min-width: 640px; margin: 0; border: none; }

.sla-table{ width:100%; border-collapse: collapse; font-size: 0.88rem; background: var(--white); }
.sla-table th{
  background: var(--teal-900); color: var(--white);
  font-family: var(--font-display); font-weight:700; font-size: 0.82rem;
  padding: 14px 16px; text-align:left;
}
.sla-table th.is-featured{ background: var(--magenta); }
.sla-sub{ display:block; font-weight:400; font-size: 0.72rem; opacity: 0.75; margin-top: 3px; text-transform: none; letter-spacing: normal; }
.sla-table td{ padding: 12px 16px; border-bottom: 1px solid var(--gray-200); color: var(--gray-500); }
.sla-table tr:nth-child(even) td{ background: var(--off-white); }
.sla-table td.is-featured{ background: var(--pink-soft); color: var(--magenta-deep); font-weight:600; }
.sla-yes{ color: var(--magenta-deep); font-weight:700; }
.sla-na{ color: var(--gray-500); }

.svc-cta-row{ margin-top: 32px; display:flex; align-items:center; gap: 18px; flex-wrap:wrap; }
.svc-cta-row p{ font-size: 0.85rem; color: var(--gray-500); margin:0; }

.btn-outline-white{
  background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white);
}
.btn-outline-white:hover{ background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.cta-btn-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top: 10px; }

@media (max-width: 991.98px){
  .svc-subnav{ top: 0; }
  .svc-section{ padding: 60px 0; }
}



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