/*
Theme Name: The ProcureMentor
Theme URI: https://www.theprocurementor.com
Author: Alexandre LIO
Author URI: https://www.theprocurementor.com
Description: Custom WordPress theme for The ProcureMentor — Indirect Procurement Expert. Features a dark navy design with teal, gold, and lime accents.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-procurementor
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS VARIABLES (Design Tokens)
   ========================================================================== */
:root {
  --navy: #1a2535;
  --navy-light: #223044;
  --navy-card: #1e2c3d;
  --teal: #2bbcc0;
  --teal-dark: #1f9a9e;
  --gold: #d4a843;
  --lime: #c3e030;
  --green: #5dbe8a;
  --white: #ffffff;
  --off-white: #e8ecf1;
  --grey: #94a3b8;
  --bar-grey: #64748b;
  --bar-teal: #2bbcc0;
  --bar-gold: #d4a843;
  --bar-green: #5dbe8a;
  --font-main: "Montserrat", sans-serif;
  --font-display: "Playfair Display", serif;
  --max-width: 1200px;
  --section-pad: 100px 0;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   WORDPRESS REQUIRED CLASSES
   ========================================================================== */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}
.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: 0.85rem;
  color: var(--grey);
  text-align: center;
  padding: 8px 0;
}
.gallery-caption {
  font-size: 0.85rem;
  color: var(--grey);
}
.sticky {
}
.bypostauthor {
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ==========================================================================
   DECORATIVE CORNER (gold triangles)
   ========================================================================== */
.corner-deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}
.corner-deco span {
  position: absolute;
  display: block;
  background: var(--gold);
}
.corner-deco span:nth-child(1) {
  width: 80px;
  height: 80px;
  top: -20px;
  left: -20px;
  transform: rotate(45deg);
  opacity: 0.9;
}
.corner-deco span:nth-child(2) {
  width: 50px;
  height: 50px;
  top: 0;
  left: 8px;
  transform: rotate(45deg);
  opacity: 0.6;
}
.corner-deco span:nth-child(3) {
  width: 30px;
  height: 30px;
  top: 10px;
  left: 30px;
  transform: rotate(45deg);
  opacity: 0.35;
}

/* ==========================================================================
   BRAND BAR (colored segments under headings)
   ========================================================================== */
.brand-bar {
  display: flex;
  gap: 4px;
  margin-top: 14px;
  height: 4px;
  width: 140px;
}
.brand-bar span {
  flex: 1;
  border-radius: 2px;
}
.brand-bar span:nth-child(1) {
  background: var(--bar-grey);
}
.brand-bar span:nth-child(2) {
  background: var(--bar-teal);
}
.brand-bar span:nth-child(3) {
  background: var(--bar-gold);
}
.brand-bar span:nth-child(4) {
  background: var(--bar-green);
}
.brand-bar.center {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   SECTION NUMBER BADGE
   ========================================================================== */
.section-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  margin-bottom: -10px;
  opacity: 0.85;
}

/* ==========================================================================
   SECTION DIVIDER
   ========================================================================== */
.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(43, 188, 192, 0.25),
    transparent
  );
  margin: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
  cursor: pointer;
  border: none;
}
.btn-teal {
  background: var(--teal);
  color: var(--navy);
}
.btn-teal:hover {
  background: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(43, 188, 192, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: #e0b94f;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.35);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 37, 53, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 188, 192, 0.1);
  padding: 0 24px;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  padding: 0 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  height: 100%;
  max-height: 72px;
  flex-shrink: 0;
}
.site-logo .accent {
  color: var(--teal);
}
/* WordPress custom logo — constrain to header height */
.site-logo .custom-logo-link {
  display: flex;
  align-items: center;
  height: 44px;
}
.site-logo .custom-logo-link img,
.site-logo img.custom-logo {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Main Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--off-white);
  transition: color 0.3s ease;
  padding: 8px 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
  color: var(--teal);
}
.main-nav a:hover::after,
.main-nav .current-menu-item a::after,
.main-nav .current_page_item a::after {
  width: 100%;
}
.main-nav .nav-cta a {
  background: var(--teal);
  color: var(--navy);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
}
.main-nav .nav-cta a::after {
  display: none;
}
.main-nav .nav-cta a:hover {
  background: var(--lime);
}

/* Language Switcher (Polylang) */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(43, 188, 192, 0.15);
}
.lang-switcher ul {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.lang-switcher li {
  display: flex;
  align-items: center;
}
.lang-switcher a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey);
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.lang-switcher a:hover {
  color: var(--teal);
  background: rgba(43, 188, 192, 0.08);
}
.lang-switcher a::after {
  display: none !important;
}
.lang-switcher .current-lang a,
.lang-switcher li.current-lang a {
  color: var(--teal);
  background: rgba(43, 188, 192, 0.1);
}
.lang-switcher img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(43, 188, 192, 0.1);
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-about .footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-about .footer-logo .accent {
  color: var(--teal);
}
.footer-about p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--grey);
  transition: color 0.3s ease;
}
.footer-col a:hover {
  color: var(--teal);
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(43, 188, 192, 0.1);
}
.footer-bar {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
  height: 3px;
  width: 100px;
  margin-left: auto;
  margin-right: auto;
}
.footer-bar span {
  flex: 1;
  border-radius: 2px;
}
.footer-bar span:nth-child(1) {
  background: var(--bar-grey);
}
.footer-bar span:nth-child(2) {
  background: var(--bar-teal);
}
.footer-bar span:nth-child(3) {
  background: var(--bar-gold);
}
.footer-bar span:nth-child(4) {
  background: var(--bar-green);
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--grey);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .menu-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    top: 72px;
    left: auto; /* detach from left edge */
    right: 0; /* anchor to right */
    bottom: 0;
    width: 280px; /* fixed panel width instead of full-screen */
    background: rgba(26, 37, 53, 1); /* fully opaque navy */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(43, 188, 192, 0.12);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  /* Dim backdrop when mobile menu is open */
  .main-nav::before {
    content: "";
    position: fixed;
    top: 72px;
    left: 0;
    right: 280px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: -1;
  }
  .main-nav.active::before {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav.active {
    transform: translateX(0);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 30px 24px;
  }
  .main-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(43, 188, 192, 0.08);
  }
  .main-nav a {
    display: block;
    padding: 18px 0;
    font-size: 1rem;
  }
  /* Language switcher in mobile nav */
  .lang-switcher {
    margin: 0;
    padding: 24px;
    border-left: none;
    border-top: 1px solid rgba(43, 188, 192, 0.1);
    justify-content: center;
  }
  .lang-switcher ul {
    gap: 12px;
  }
  .lang-switcher a {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
  .lang-switcher img {
    width: 24px;
    height: 17px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   DETAILED SERVICES PAGE — Additional Components
   ========================================================================== */

/* Anchor Navigation (in-page, non-sticky) */
.anchor-nav {
  background: var(--navy-card);
  border-top: 1px solid rgba(43,188,192,.08);
  border-bottom: 1px solid rgba(43,188,192,.08);
  padding: 0;
}
.anchor-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}
.anchor-nav a {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--grey);
  padding: 10px 20px;
  border-radius: 50px;
  transition: all .3s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.anchor-nav a:hover {
  color: var(--teal);
  background: rgba(43,188,192,.08);
  border-color: rgba(43,188,192,.15);
}
.anchor-nav .anchor-cta {
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
  border-color: var(--teal);
}
.anchor-nav .anchor-cta:hover {
  background: var(--lime);
  border-color: var(--lime);
}

/* Pillar Sections */
.pillar-section { position: relative; padding: var(--section-pad); overflow: hidden; }
.pillar-section.alt-bg { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%); }
.pillar-section::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; }
.pillar-section:nth-of-type(odd)::before { bottom: -30%; left: -15%; background: radial-gradient(circle, rgba(212,168,67,.04) 0%, transparent 70%); }
.pillar-section:nth-of-type(even)::before { top: 10%; right: -10%; background: radial-gradient(circle, rgba(43,188,192,.04) 0%, transparent 70%); }
.pillar-header { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 20px; }
.pillar-header-text h2 { font-family: var(--font-display); font-size: 2.8rem; line-height: 1.15; }
.pillar-header-text h2 .teal { color: var(--teal); }
.pillar-motto {
  font-family: var(--font-display); font-style: italic; font-size: 1.15rem;
  color: var(--gold); margin: 16px 0 40px; padding-left: 20px;
  border-left: 3px solid var(--gold); line-height: 1.6;
}
.pillar-intro { font-size: 1.1rem; color: var(--off-white); line-height: 1.8; max-width: 800px; margin-bottom: 50px; }
.pillar-intro .highlight-text { color: var(--teal); font-weight: 600; }

/* Level Cards (Pillar 1 & 4) */
.level-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 50px; }
.level-card {
  background: var(--navy-card); border: 1px solid rgba(43,188,192,.12); border-radius: 24px;
  padding: 44px 40px; transition: all .4s ease; position: relative; overflow: hidden;
}
.level-card::after { content: ''; position: absolute; top: 0; left: 0; width: 5px; height: 100%; border-radius: 24px 0 0 24px; }
.level-card:nth-child(1)::after { background: var(--teal); }
.level-card:nth-child(2)::after { background: var(--gold); }
.level-card:nth-child(3)::after { background: var(--lime); }
.level-card:hover { border-color: rgba(43,188,192,.25); transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,.25); }
.level-badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 6px 16px; border-radius: 50px; margin-bottom: 16px; }
.badge-teal { background: rgba(43,188,192,.15); color: var(--teal); }
.badge-gold { background: rgba(212,168,67,.15); color: var(--gold); }
.badge-lime { background: rgba(195,224,48,.15); color: var(--lime); }
.badge-green { background: rgba(93,190,138,.15); color: var(--green); }
.level-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; color: var(--white); }
.level-card h3 .sub { font-family: var(--font-main); font-size: .85rem; color: var(--grey); font-weight: 400; font-style: italic; }
.level-card .level-desc { font-size: .95rem; color: var(--off-white); line-height: 1.7; margin-bottom: 24px; max-width: 700px; }
.level-scope h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--teal); margin-bottom: 14px; }
.scope-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.scope-list li { font-size: .88rem; color: var(--grey); padding-left: 22px; position: relative; line-height: 1.6; }
.scope-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); opacity: .6; }
.level-meta { display: flex; gap: 30px; margin-top: 24px; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--grey); }
.meta-item .meta-icon { font-size: 1.1rem; }
.meta-item strong { color: var(--off-white); font-weight: 600; }
.level-card .level-cta { margin-top: 28px; }

/* Option Cards — 3-column (Pillar 2 & 3) */
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 50px; }
.option-card {
  background: var(--navy-card); border: 1px solid rgba(43,188,192,.1); border-radius: 20px;
  padding: 40px 30px; transition: all .4s ease; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.option-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; transition: height .4s ease; }
.option-card:nth-child(1)::before { background: var(--teal); }
.option-card:nth-child(2)::before { background: var(--gold); }
.option-card:nth-child(3)::before { background: var(--lime); }
.option-card:hover { transform: translateY(-6px); border-color: rgba(43,188,192,.3); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.option-card:hover::before { height: 5px; }
.option-icon { font-size: 2.4rem; margin-bottom: 20px; }
.option-card h3 { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; color: var(--white); }
.option-card .option-desc { font-size: .92rem; color: var(--grey); line-height: 1.75; flex-grow: 1; }
.option-card .option-desc strong { color: var(--teal); font-weight: 600; }
.option-card .option-meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(43,188,192,.1); }
.option-card .option-duration { font-size: .82rem; color: var(--gold); font-weight: 600; }
.option-scope-mini { margin-top: 16px; }
.option-scope-mini h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--teal); margin-bottom: 10px; }
.scope-mini-list { list-style: none; }
.scope-mini-list li { font-size: .82rem; color: var(--grey); padding: 4px 0 4px 18px; position: relative; line-height: 1.5; }
.scope-mini-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); opacity: .5; }

/* Training Module Tags */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.module-tag { background: var(--navy-card); border: 1px solid rgba(43,188,192,.1); border-radius: 14px; padding: 20px 18px; text-align: center; transition: all .35s ease; }
.module-tag:hover { border-color: rgba(43,188,192,.25); transform: translateY(-3px); }
.module-tag .mod-icon { font-size: 1.5rem; margin-bottom: 8px; }
.module-tag .mod-title { font-size: .85rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.module-tag .mod-duration { font-size: .72rem; color: var(--grey); text-transform: uppercase; letter-spacing: .5px; }

/* How Pillars Work Together / Flow Section */
.flow-section { padding: var(--section-pad); position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%); }
.flow-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.flow-header h2 { font-family: var(--font-display); font-size: 2.8rem; margin-bottom: 12px; }
.flow-header h2 .teal { color: var(--teal); }
.flow-desc { font-size: 1.1rem; color: var(--off-white); line-height: 1.8; margin-top: 20px; }
.flow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.flow-card { background: var(--navy-card); border: 1px solid rgba(43,188,192,.1); border-radius: 20px; padding: 32px 28px; transition: all .35s ease; display: flex; align-items: flex-start; gap: 18px; }
.flow-card:hover { border-color: rgba(43,188,192,.25); transform: translateY(-3px); box-shadow: 0 12px 35px rgba(0,0,0,.2); }
.flow-arrow { font-size: 1.8rem; flex-shrink: 0; line-height: 1; }
.flow-card h4 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.flow-card p { font-size: .85rem; color: var(--grey); line-height: 1.6; }
.flow-card .flow-from { color: var(--teal); font-weight: 600; }
.flow-card .flow-to { color: var(--lime); font-weight: 600; }
.entry-point-box { max-width: 700px; margin: 50px auto 0; background: var(--navy-card); border: 2px solid rgba(195,224,48,.2); border-radius: 20px; padding: 36px 32px; text-align: center; }
.entry-point-box h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--lime); margin-bottom: 14px; }
.entry-point-box p { font-size: .95rem; color: var(--off-white); line-height: 1.7; }
.entry-point-box strong { color: var(--teal); }

/* Mini CTA (between sections) */
.mini-cta { text-align: center; padding: 50px 0; position: relative; }
.mini-cta p { font-size: 1.1rem; color: var(--off-white); margin-bottom: 20px; }
.mini-cta p strong { color: var(--teal); }

/* Pill subtitle */
.pill-subtitle { font-size: .75rem; color: var(--grey); margin-top: 6px; line-height: 1.4; }

/* Services Hero */
.services-hero {
  position: relative; padding: 140px 0 80px; overflow: hidden;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center;
}
.hero-left { position: relative; z-index: 2; }
.hero-right { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.hero-subtitle {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px;
  color: var(--teal); margin-bottom: 16px;
}
.hero-name-row { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; }
.hero-name-img {
  width: 140px; height: 140px; border-radius: 18px; object-fit: cover;
  object-position: center top; border: 3px solid var(--teal); flex-shrink: 0;
}
.hero-name-row h1 {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1.18; font-weight: 700;
}
.hero-name-row h1 .teal { color: var(--teal); }
.hero-flags {
  display: flex; align-items: center; gap: 12px; margin: 16px 0 20px;
  font-size: .88rem; color: var(--grey);
}
.hero-flags .flag { font-size: 1.4rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 28px 0; padding: 24px 0; border-top: 1px solid rgba(43,188,192,.12);
  border-bottom: 1px solid rgba(43,188,192,.12);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--teal); line-height: 1.1;
}
.stat-label { font-size: .72rem; color: var(--grey); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; line-height: 1.4; }
.hero-tagline {
  font-size: 1.05rem; color: var(--off-white); line-height: 1.7; margin: 20px 0 28px;
}
.hero-tagline .highlight { color: var(--lime); font-weight: 600; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Service Showcase Pills */
.service-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.service-pill {
  background: var(--navy-card); border: 1px solid rgba(43,188,192,.12); border-radius: 20px;
  padding: 28px 22px; text-align: center; transition: all .4s ease;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.service-pill:hover {
  border-color: rgba(43,188,192,.35); transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
}
.pill-icon { font-size: 2.2rem; margin-bottom: 4px; }
.pill-title { font-size: .92rem; font-weight: 700; color: var(--white); line-height: 1.3; }

/* Testimonials */
.testimonials { padding: var(--section-pad); position: relative; }
.testimonials-header { text-align: center; margin-bottom: 50px; }
.testimonials-header h2 { font-family: var(--font-display); font-size: 2.8rem; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi-card {
  background: var(--navy-card); border: 1px solid rgba(43,188,192,.1); border-radius: 20px;
  padding: 36px 28px; transition: all .35s ease; position: relative;
}
.testi-card:hover { border-color: rgba(43,188,192,.25); transform: translateY(-4px); box-shadow: 0 12px 35px rgba(0,0,0,.2); }
.testi-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-headline { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--teal); margin-bottom: 14px; }
.testi-quote { font-size: .9rem; color: var(--off-white); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { font-size: .85rem; font-weight: 700; color: var(--white); }
.testi-role { font-size: .78rem; color: var(--grey); margin-top: 2px; }

/* CTA Section */
.cta-section { padding: var(--section-pad); }
.cta-inner {
  background: linear-gradient(135deg, var(--navy-card) 0%, rgba(43,188,192,.08) 100%);
  border: 1px solid rgba(43,188,192,.15); border-radius: 28px;
  padding: 60px 50px; text-align: center; max-width: 800px; margin: 0 auto;
}
.cta-inner h2 { font-family: var(--font-display); font-size: 2.4rem; margin-bottom: 16px; }
.cta-inner p { font-size: 1.05rem; color: var(--off-white); line-height: 1.7; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.cta-contacts { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.cta-contact-item {
  display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--grey);
  transition: color .3s ease;
}
.cta-contact-item:hover { color: var(--teal); }
.cta-contact-item svg { width: 20px; height: 20px; fill: currentColor; }

/* Tech Tags */
.tag {
  display: inline-block; font-size: .78rem; font-weight: 600; padding: 8px 18px;
  border-radius: 50px; letter-spacing: .5px;
}
.tag-teal { background: rgba(43,188,192,.1); color: var(--teal); border: 1px solid rgba(43,188,192,.15); }

/* ==========================================================================
   DETAILED SERVICES PAGE — Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .service-showcase { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .option-grid { grid-template-columns: 1fr; }
  .scope-list { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .anchor-nav-inner { gap: 4px; }
  .anchor-nav a { padding: 8px 14px; font-size: .72rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 40px 30px; }
}
@media (max-width: 640px) {
  .services-hero { padding: 120px 0 50px; }
  .hero-name-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-name-row h1 { font-size: 2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-showcase { grid-template-columns: 1fr 1fr; }
  .pillar-header-text h2, .flow-header h2 { font-size: 2rem; }
  .module-grid { grid-template-columns: 1fr; }
  .level-card { padding: 30px 24px; }
  .anchor-nav-inner { flex-direction: column; gap: 6px; }
  .testimonials-header h2 { font-size: 2rem; }
  .cta-inner h2 { font-size: 1.8rem; }
}
