/* ======================================== */
/* GLOBAL RESET & ROOT VARIABLES            */
/* ======================================== */

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

:root {
  --color-primary:   #10141F;
  --color-secondary: #222330;
  --color-accent:    #3458CC;
  --color-accent-lt: #4d72e8;
  --color-accent-glow: rgba(52, 88, 204, 0.35);
  --color-white:     #ffffff;
  --color-off-white: #f0f2f8;
  --color-text:      #1a1a1a;
  --color-text-muted:#5a5f74;
  --color-border:    rgba(255,255,255,0.08);
  --font-heading:    'Rajdhani', sans-serif;
  --font-body:       'Inter', sans-serif;
  --container-max:   1300px;
  --header-h:        120px;
  --header-h-mobile: 74px;
  --transition-base: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:   var(--font-body);
  font-size:     18px;
  font-weight:   400;
  letter-spacing: normal;
  line-height:   1.7;
  color:         var(--color-text);
  background:    var(--color-primary);
  overflow-x:    hidden;
}

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

address {
  font-style: normal;
}

ul, ol {
  list-style: none;
}


/* ======================================== */
/* CONTAINER                                */
/* ======================================== */

.container {
  max-width: var(--container-max);
  margin:    0 auto;
  padding:   0 20px;
}


/* ======================================== */
/* SCROLL ANIMATIONS                        */
/* ======================================== */

.fade-in-up {
  opacity:          0;
  transform:        translateY(35px);
  transition:       opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.15s;
}

.fade-in-up.visible {
  opacity:   1;
  transform: translateY(0);
}


/* ======================================== */
/* HEADER SECTION                           */
/* ======================================== */

#main-header {
  position:   fixed;
  top:        0;
  left:       0;
  width:      100%;
  height:     var(--header-h);
  z-index:    1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
}

#main-header.scrolled {
  background: rgba(16, 20, 31, 0.97);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
  height:     82px;
}

.header-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  height:          100%;
  gap:             20px;
}

/* Logo */
.logo-link {
  flex-shrink: 0;
  display:     block;
  line-height: 1;
}

.logo {
  height:     96px;
  max-height: 96px;
  width:      auto;
  transition: height 0.3s ease, opacity 0.3s ease;
}

#main-header.scrolled .logo {
  height: 60px;
}

/* Nav list */
#main-nav {
  flex: 1;
  display:         flex;
  justify-content: center;
}

.nav-list {
  display:   flex;
  align-items: center;
  gap:       2px;
}

.nav-list li {
  display: block;
}

.nav-list a {
  font-family:    var(--font-heading);
  font-size:      17px;
  font-weight:    600;
  letter-spacing: 0.1em;
  line-height:    1;
  color:          rgba(255,255,255,0.88);
  text-decoration: none;
  text-transform: uppercase;
  padding:        10px 16px;
  border-radius:  4px;
  transition:     color var(--transition-base), background var(--transition-base);
  display:        block;
}

.nav-list a:hover {
  color:      var(--color-white);
  background: rgba(52, 88, 204, 0.2);
}

/* Header icons */
.header-icons {
  display:     flex;
  align-items: center;
  gap:         6px;
  flex-shrink: 0;
}

.icon-link {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           38px;
  height:          38px;
  border-radius:   50%;
  color:           rgba(255,255,255,0.75);
  border:          1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition:      color var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.icon-link:hover {
  color:        var(--color-white);
  border-color: var(--color-accent);
  background:   rgba(52, 88, 204, 0.2);
}

/* Hamburger */
.hamburger {
  display:         none;
  flex-direction:  column;
  justify-content: space-between;
  width:           28px;
  height:          20px;
  background:      transparent;
  border:          none;
  cursor:          pointer;
  padding:         0;
  flex-shrink:     0;
}

.hamburger span {
  display:          block;
  width:            100%;
  height:           2px;
  background:       var(--color-white);
  border-radius:    2px;
  transition:       transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* ======================================== */
/* HERO SECTION                             */
/* ======================================== */

#hero {
  position:            relative;
  width:               100%;
  min-height:          100vh;
  display:             flex;
  align-items:         flex-end;
  justify-content:     center;
  background-image:    url('images/hero1.jpg');
  background-size:     cover;
  background-position: center top;
  background-repeat:   no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    to top,
    rgba(10, 14, 24, 0.82) 0%,
    rgba(10, 14, 24, 0.30) 35%,
    transparent 65%
  );
  z-index:    1;
}

/* Subtle grid lines for tech feel */
.hero-grid-lines {
  position:   absolute;
  inset:      0;
  z-index:    2;
  background-image:
    linear-gradient(rgba(52, 88, 204, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 88, 204, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position:       relative;
  z-index:        3;
  text-align:     center;
  padding-top:    0;
  padding-bottom: 120px;
  width:          100%;
}

/* Hero title char animation */
.hero-title {
  font-family:    'Cinzel', Georgia, serif;
  font-size:      52px;
  font-weight:    600;
  letter-spacing: 0.03em;
  line-height:    1.2;
  color:          var(--color-white);
  max-width:      900px;
  margin:         0 auto 36px;
  min-height:     3em;
  text-shadow:    0 2px 20px rgba(0,0,0,0.6);
}

.hero-word {
  display:       inline-block;
  overflow:      visible;
}

.hero-char {
  display:           inline-block;
  opacity:           0;
  transform:         translateY(20px) rotateX(20deg);
  animation:         charReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes charReveal {
  to {
    opacity:   1;
    transform: translateY(0) rotateX(0);
  }
}

/* Hero sub content */
.fade-in-hero {
  animation: fadeInHero 1s ease 0.3s both;
}

.fade-in-hero-delayed {
  animation: fadeInHero 1s ease 0.8s both;
}

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

.hero-sub-wrap {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            20px;
}

.hero-location {
  font-family:    var(--font-body);
  font-size:      16px;
  font-weight:    400;
  letter-spacing: 0.08em;
  line-height:    1;
  color:          rgba(255,255,255,0.65);
  display:        flex;
  align-items:    center;
  gap:            6px;
  text-transform: uppercase;
}

.hero-phone-btn {
  font-family:     var(--font-heading);
  font-size:       20px;
  font-weight:     700;
  letter-spacing:  0.08em;
  line-height:     1;
  color:           var(--color-white);
  background:      var(--color-accent);
  padding:         16px 40px;
  border-radius:   4px;
  text-decoration: none;
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  text-transform:  uppercase;
  transition:      background var(--transition-base), box-shadow var(--transition-base), transform 0.2s ease;
  box-shadow:      0 4px 24px rgba(52,88,204,0.4);
}

.hero-phone-btn:hover {
  background:  var(--color-accent-lt);
  box-shadow:  0 6px 32px rgba(52,88,204,0.6);
  transform:   translateY(-2px);
}

/* Scroll indicator */
.hero-scroll {
  position:  absolute;
  bottom:    32px;
  left:      50%;
  transform: translateX(-50%);
  z-index:   3;
  display:   flex;
  flex-direction: column;
  align-items:    center;
  gap:        8px;
  animation:  fadeInHero 1s ease 2s both;
}

.hero-scroll-label {
  font-family:    var(--font-heading);
  font-size:      11px;
  font-weight:    600;
  letter-spacing: 0.2em;
  line-height:    1;
  color:          rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.hero-scroll-line {
  display:    block;
  width:      1px;
  height:     40px;
  background: linear-gradient(to bottom, rgba(52,88,204,0.8), transparent);
  animation:  scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1);   opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.4; }
}


/* ======================================== */
/* SEPARATOR BAR                            */
/* ======================================== */

.section-separator {
  width:      100%;
  background: var(--color-accent);
  overflow:   hidden;
  padding:    0;
  height:     46px;
}

.sep-track {
  width:     100%;
  height:    100%;
  overflow:  hidden;
  display:   flex;
  align-items: center;
}

.sep-inner {
  display:    flex;
  align-items: center;
  gap:        24px;
  white-space: nowrap;
  animation:  ticker 30s linear infinite;
  will-change: transform;
}

.sep-inner span {
  font-family:    var(--font-heading);
  font-size:      14px;
  font-weight:    600;
  letter-spacing: 0.12em;
  line-height:    1;
  color:          rgba(255,255,255,0.92);
  text-transform: uppercase;
}

.sep-dot {
  color:     rgba(255,255,255,0.4) !important;
  font-size: 8px !important;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ======================================== */
/* SECTION 1: WHO WE ARE                    */
/* ======================================== */

.section-who {
  width:                 100%;
  display:               grid;
  grid-template-columns: 40% 60%;
  min-height:            600px;
}

.who-sidebar {
  background:      var(--color-primary);
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         80px 60px;
  border-right:    1px solid rgba(52,88,204,0.18);
}

.who-content {
  background: linear-gradient(
    135deg,
    #111524 0%,
    #1c2244 40%,
    #141929 100%
  );
  padding:    0;
}

.who-content-inner {
  padding:   80px 70px 80px 70px;
  max-width: none;
  width:     100%;
}

/* Mike card */
.mike-card {
  background:    transparent;
  border:        1px solid rgba(52,88,204,0.22);
  border-radius: 10px;
  padding:       48px 40px 44px;
  text-align:    center;
  width:         100%;
  max-width:     320px;
  box-shadow:    0 8px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(52,88,204,0.08);
}

.mike-img-wrap {
  position:      relative;
  width:         170px;
  height:        170px;
  margin:        0 auto 24px;
}

.mike-img-wrap img {
  width:         170px;
  height:        170px;
  border-radius: 50%;
  object-fit:    cover;
  position:      relative;
  z-index:       1;
}

.mike-img-border {
  position:      absolute;
  inset:         -4px;
  border-radius: 50%;
  border:        2px solid var(--color-accent);
  box-shadow:    0 0 16px var(--color-accent-glow);
}

.mike-name {
  font-family:    var(--font-heading);
  font-size:      26px;
  font-weight:    700;
  letter-spacing: 0.05em;
  line-height:    1.2;
  color:          var(--color-white);
  margin-bottom:  4px;
  text-transform: uppercase;
}

.mike-title-label {
  font-family:    var(--font-body);
  font-size:      13px;
  font-weight:    500;
  letter-spacing: 0.12em;
  line-height:    1;
  color:          var(--color-accent);
  text-transform: uppercase;
  margin-bottom:  20px;
}

.mike-contacts {
  display:        flex;
  flex-direction: column;
  gap:            10px;
}

.mike-contact-link {
  font-family:     var(--font-body);
  font-size:       13px;
  font-weight:     400;
  letter-spacing:  normal;
  line-height:     1.4;
  color:           rgba(255,255,255,0.65);
  text-decoration: none;
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             7px;
  transition:      color var(--transition-base);
}

.mike-contact-link:hover {
  color: var(--color-accent-lt);
}

.mike-linkedin-btn {
  font-family:     var(--font-heading);
  font-size:       13px;
  font-weight:     600;
  letter-spacing:  0.08em;
  line-height:     1;
  color:           var(--color-white);
  background:      var(--color-accent);
  padding:         10px 18px;
  border-radius:   4px;
  text-decoration: none;
  text-transform:  uppercase;
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  margin-top:      6px;
  transition:      background var(--transition-base), box-shadow var(--transition-base);
}

.mike-linkedin-btn:hover {
  background:  var(--color-accent-lt);
  box-shadow:  0 4px 16px rgba(52,88,204,0.4);
}

/* Who We Are text content */
.section-eyebrow {
  font-family:    var(--font-heading);
  font-size:      13px;
  font-weight:    600;
  letter-spacing: 0.2em;
  line-height:    1;
  color:          var(--color-accent);
  text-transform: uppercase;
  display:        block;
  margin-bottom:  14px;
}

.section-eyebrow.center { text-align: center; }
.section-eyebrow.light  { text-shadow: 0 1px 8px rgba(0,0,0,0.6); }

.section-title {
  font-family:    var(--font-heading);
  font-size:      46px;
  font-weight:    700;
  letter-spacing: 0.02em;
  line-height:    1.1;
  color:          var(--color-white);
  text-transform: uppercase;
  margin-bottom:  28px;
}

.section-title.center { text-align: center; }
.section-title.light  { color: var(--color-white); text-shadow: 0 2px 16px rgba(0,0,0,0.7); }

.who-content-inner p {
  font-family:    var(--font-body);
  font-size:      17px;
  font-weight:    400;
  letter-spacing: normal;
  line-height:    1.8;
  color:          rgba(255,255,255,0.72);
  margin-bottom:  18px;
}

.who-list {
  list-style:     none;
  padding:        0;
  margin-top:     8px;
  display:        flex;
  flex-direction: column;
  gap:            14px;
  counter-reset:  who-counter;
}

.who-list li {
  font-family:      var(--font-body);
  font-size:        17px;
  font-weight:      400;
  letter-spacing:   normal;
  line-height:      1.7;
  color:            rgba(255,255,255,0.72);
  padding-left:     34px;
  position:         relative;
  counter-increment: who-counter;
}

.who-list li::before {
  content:         counter(who-counter);
  position:        absolute;
  left:            0;
  top:             3px;
  width:           20px;
  height:          20px;
  background:      var(--color-accent);
  border-radius:   50%;
  font-family:     var(--font-heading);
  font-size:       11px;
  font-weight:     700;
  color:           var(--color-white);
  display:         flex;
  align-items:     center;
  justify-content: center;
  line-height:     1;
}

.who-list li strong {
  color: var(--color-white);
}


/* ======================================== */
/* SECTION 2: WHY CHOOSE CPI                */
/* ======================================== */

.section-choose {
  width:      100%;
  position:   relative;
  padding:    120px 0;
  overflow:   hidden;
}

.choose-bg-img {
  position:            absolute;
  inset:               0;
  background-image:    url('images/who.jpg');
  background-size:     cover;
  background-position: center top;
  background-attachment: fixed;
  z-index:             0;
}

.choose-overlay {
  position:   absolute;
  inset:      0;
  background: rgba(10, 14, 24, 0.55);
  z-index:    1;
}

.choose-inner {
  position:   relative;
  z-index:    2;
  text-align: center;
  max-width:  1100px;
  width:      100%;
}

.choose-lead {
  font-family:    var(--font-body);
  font-size:      22px;
  font-weight:    500;
  letter-spacing: 0.01em;
  line-height:    1.75;
  color:          rgba(255,255,255,0.96);
  margin-bottom:  36px;
  text-shadow:    0 1px 12px rgba(0,0,0,0.7);
}

.btn-primary {
  font-family:     var(--font-heading);
  font-size:       15px;
  font-weight:     700;
  letter-spacing:  0.12em;
  line-height:     1;
  color:           var(--color-white);
  background:      var(--color-accent);
  padding:         15px 38px;
  border-radius:   4px;
  text-decoration: none;
  text-transform:  uppercase;
  display:         inline-block;
  margin-bottom:   48px;
  transition:      background var(--transition-base), box-shadow var(--transition-base), transform 0.2s ease;
  box-shadow:      0 4px 24px rgba(52,88,204,0.4);
}

.btn-primary:hover {
  background:  var(--color-accent-lt);
  box-shadow:  0 6px 32px rgba(52,88,204,0.6);
  transform:   translateY(-2px);
}

.choose-divider {
  width:        60px;
  height:       2px;
  background:   var(--color-accent);
  margin:       0 auto 40px;
  box-shadow:   0 0 10px var(--color-accent-glow);
}

.choose-body-text p {
  font-family:    var(--font-body);
  font-size:      18px;
  font-weight:    400;
  letter-spacing: normal;
  line-height:    1.85;
  color:          rgba(255,255,255,0.92);
  margin-bottom:  20px;
  text-align:     left;
  text-shadow:    0 1px 8px rgba(0,0,0,0.6);
}

.choose-cta {
  font-family:    var(--font-body);
  font-size:      17px;
  font-weight:    500;
  letter-spacing: normal;
  line-height:    1.6;
  color:          rgba(255,255,255,0.9);
  margin-top:     30px;
  text-align:     center;
  text-shadow:    0 1px 8px rgba(0,0,0,0.6);
}

.choose-cta a {
  font-size:       17px;
  font-weight:     600;
  letter-spacing:  normal;
  line-height:     1;
  color:           var(--color-accent-lt);
  text-decoration: none;
  transition:      color var(--transition-base);
}

.choose-cta a:hover {
  color: var(--color-white);
}


/* ======================================== */
/* SECTION 3: CLIENT FEEDBACK               */
/* ======================================== */

.section-testimonials {
  width:       100%;
  background:  linear-gradient(
    145deg,
    rgba(7, 9, 17, 0.5) 0%,
    #0d1022 15%,
    #192040 35%,
    #1a1f38 55%,
    #0e1225 75%,
    rgba(7, 9, 17, 0) 100%
  ),
  linear-gradient(
    to bottom,
    #111524 0%,
    #1c2244 40%,
    #141929 100%
  );
  padding:     100px 0 0;
}

.section-intro {
  font-family:    var(--font-body);
  font-size:      18px;
  font-weight:    400;
  letter-spacing: normal;
  line-height:    1.6;
  color:          var(--color-text-muted);
  text-align:     center;
  margin-bottom:  60px;
  color:          rgba(255,255,255,0.45);
}

.testimonials-grid {
  display:   grid;
  grid-template-columns: repeat(3, 1fr);
  gap:       28px;
  margin-bottom: 80px;
}

.testimonial-card {
  background:    rgba(8, 10, 20, 0.75);
  border:        1px solid rgba(52,88,204,0.22);
  border-radius: 8px;
  padding:       36px 30px 30px;
  position:      relative;
  transition:    border-color var(--transition-base), box-shadow var(--transition-base), transform 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(52,88,204,0.5);
  box-shadow:   0 12px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(52,88,204,0.2);
  transform:    translateY(-4px);
}

.t-quote-icon {
  font-family:    Georgia, serif;
  font-size:      72px;
  font-weight:    700;
  letter-spacing: normal;
  line-height:    0.6;
  color:          var(--color-accent);
  opacity:        0.6;
  margin-bottom:  20px;
  display:        block;
}

.t-text {
  font-family:    var(--font-body);
  font-size:      16px;
  font-weight:    400;
  letter-spacing: normal;
  line-height:    1.8;
  color:          rgba(255,255,255,0.75);
  margin-bottom:  24px;
  font-style:     italic;
}

.t-footer {
  border-top:  1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  display:     flex;
  flex-direction: column;
  gap:         4px;
}

.t-role {
  font-family:    var(--font-heading);
  font-size:      16px;
  font-weight:    700;
  letter-spacing: 0.04em;
  line-height:    1.2;
  color:          var(--color-white);
  text-transform: uppercase;
  display:        block;
}

.t-company {
  font-family:    var(--font-body);
  font-size:      13px;
  font-weight:    400;
  letter-spacing: 0.04em;
  line-height:    1.4;
  color:          var(--color-accent-lt);
  display:        block;
}

/* Photo strip */
.photo-strip {
  display:          grid;
  grid-template-columns: 1fr 1fr;
  height:           500px;
  width:            100%;
  margin-top:       0;
  gap:              3px;
  background-color: var(--color-accent);
}

.photo-strip-item {
  background-size:     cover;
  background-position: center top;
  position:            relative;
  overflow:            hidden;
  transition:          transform 0.6s ease;
}

.photo-strip-item:hover {
  transform: scale(1.02);
}


/* ======================================== */
/* FAT FOOTER SECTION                       */
/* ======================================== */

.footer-fat {
  width:       100%;
  background:  linear-gradient(
    160deg,
    #060810 0%,
    #131730 25%,
    #1e2448 50%,
    #131730 75%,
    #060810 100%
  );
  border-top:  2px solid rgba(52, 88, 204, 0.3);
  padding:     80px 0;
  position:    relative;
}

.footer-grid {
  display:   grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:       50px;
  align-items: start;
}

.footer-photo {
  width:         100%;
  height:        420px;
  object-fit:    cover;
  border-radius: 6px;
  border:        1px solid rgba(52,88,204,0.2);
}

.footer-logo {
  height:        52px;
  width:         auto;
  margin-bottom: 24px;
}

.footer-col-heading {
  font-family:    var(--font-heading);
  font-size:      24px;
  font-weight:    700;
  letter-spacing: 0.08em;
  line-height:    1.2;
  color:          var(--color-white);
  text-transform: uppercase;
  margin-bottom:  20px;
  padding-bottom: 12px;
  border-bottom:  2px solid var(--color-accent);
  display:        inline-block;
}

.footer-info-col address p {
  font-family:    var(--font-body);
  font-size:      16px;
  font-weight:    400;
  letter-spacing: normal;
  line-height:    1.7;
  color:          rgba(255,255,255,0.65);
  margin-bottom:  12px;
}

.footer-info-col address a {
  font-family:     var(--font-body);
  font-size:       16px;
  font-weight:     500;
  letter-spacing:  normal;
  line-height:     1.5;
  color:           rgba(255,255,255,0.8);
  text-decoration: none;
  transition:      color var(--transition-base);
}

.footer-info-col address a:hover {
  color: var(--color-accent-lt);
}

.footer-linkedin-link {
  font-family:     var(--font-heading);
  font-size:       13px;
  font-weight:     600;
  letter-spacing:  0.1em;
  line-height:     1;
  color:           var(--color-white);
  background:      var(--color-accent);
  padding:         10px 18px;
  border-radius:   4px;
  text-decoration: none;
  text-transform:  uppercase;
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
  margin:          16px 0 24px;
  transition:      background var(--transition-base), box-shadow var(--transition-base);
}

.footer-linkedin-link:hover {
  background: var(--color-accent-lt);
  box-shadow: 0 4px 16px rgba(52,88,204,0.4);
}

.footer-nav {
  display:        flex;
  flex-wrap:      wrap;
  gap:            8px 18px;
  margin-top:     4px;
}

.footer-nav a {
  font-family:     var(--font-heading);
  font-size:       13px;
  font-weight:     600;
  letter-spacing:  0.08em;
  line-height:     1;
  color:           rgba(255,255,255,0.5);
  text-decoration: none;
  text-transform:  uppercase;
  transition:      color var(--transition-base);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-map-col iframe {
  border-radius: 6px;
  border:        1px solid rgba(52,88,204,0.2) !important;
  display:       block;
}


/* ======================================== */
/* COPYRIGHT FOOTER BAR                     */
/* ======================================== */

.copyright-bar {
  width:      100%;
  background: #000000;
  padding:    14px 20px;
  text-align: center;
}

.copyright-bar p {
  font-family:    var(--font-body);
  font-size:      12px;
  font-weight:    400;
  letter-spacing: 0.03em;
  line-height:    1.5;
  color:          rgba(255,255,255,0.35);
  margin:         0;
}

.copyright-bar a {
  font-family:     var(--font-body);
  font-size:       12px;
  font-weight:     500;
  letter-spacing:  0.03em;
  line-height:     1;
  color:           rgba(255,255,255,0.55);
  text-decoration: none;
  transition:      color var(--transition-base);
}

.copyright-bar a:hover {
  color: var(--color-accent-lt);
}


/* ======================================== */
/* MOBILE STICKY PHONE BAR                  */
/* ======================================== */

.mobile-sticky-bar {
  display:    none;
  position:   fixed;
  bottom:     0;
  left:       0;
  width:      100%;
  height:     48px;
  background: var(--color-accent);
  z-index:    999;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.4);
}

.mobile-sticky-bar a {
  font-family:     var(--font-heading);
  font-size:       15px;
  font-weight:     700;
  letter-spacing:  0.1em;
  line-height:     1;
  color:           var(--color-white);
  text-decoration: none;
  text-transform:  uppercase;
  width:           100%;
  height:          100%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             10px;
}


/* ======================================== */
/* RESPONSIVE — TABLET (max 1100px)         */
/* ======================================== */

@media (max-width: 1100px) {

  .section-who {
    grid-template-columns: 38% 62%;
  }

  .who-sidebar {
    padding: 70px 40px;
  }

  .who-content-inner {
    padding: 60px 50px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap:                   20px;
  }

  .testimonials-grid .testimonial-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width:   540px;
    margin:      0 auto;
    width:       100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap:                   40px;
  }

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

  .footer-photo {
    height: 340px;
  }

}


/* ======================================== */
/* RESPONSIVE — MOBILE (max 768px)          */
/* ======================================== */

@media (max-width: 768px) {

  :root {
    --header-h: var(--header-h-mobile);
  }

  /* Header mobile */
  #main-header {
    height:     var(--header-h-mobile);
    background: rgba(16, 20, 31, 0.97);
  }

  #main-header.scrolled {
    height: var(--header-h-mobile);
  }

  .logo {
    height:     50px;
    max-height: 50px;
  }

  #main-header.scrolled .logo {
    height: 44px;
  }

  #main-nav {
    position:       fixed;
    top:            74px;
    left:           0;
    width:          100%;
    background:     rgba(16, 20, 31, 0.99);
    border-top:     1px solid rgba(52,88,204,0.2);
    padding:        16px 0 20px;
    transform:      translateY(-120%);
    opacity:        0;
    pointer-events: none;
    transition:     transform 0.38s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    z-index:        998;
    justify-content: flex-start;
  }

  #main-nav.open {
    transform:      translateY(0);
    opacity:        1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    width:          100%;
    gap:            0;
    align-items:    flex-start;
  }

  .hamburger {
    display: flex;
  }

  .header-icons {
    display: none;
  }

  .nav-list a {
    font-size:     16px;
    padding:       14px 28px;
    width:         100%;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  /* Hero mobile — disable parallax on iOS/mobile, shorten height */
  #hero {
    background-attachment: scroll;
    background-position:   center top;
    min-height:            65vh;
  }

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

  .hero-title {
    font-size:   30px;
    line-height: 1.25;
    min-height:  0;
  }

  .hero-content {
    padding-bottom: 90px;
  }

  /* Separator */
  .section-separator {
    height: 40px;
  }

  /* Who We Are */
  .section-who {
    grid-template-columns: 1fr;
  }

  .who-sidebar {
    padding:      60px 30px;
    border-right: none;
    border-bottom: 1px solid rgba(52,88,204,0.15);
  }

  .mike-card {
    max-width: 340px;
    margin:    0 auto;
  }

  .who-content-inner {
    padding: 60px 28px;
  }

  .section-title {
    font-size: 34px;
  }

  /* Why Choose CPI */
  .section-choose {
    padding: 80px 0;
  }

  .choose-bg-img {
    background-attachment: scroll;
    background-position:   top center;
  }

  .choose-overlay {
    background: rgba(10, 14, 24, 0.78);
  }

  .choose-inner {
    padding: 40px 28px;
  }

  .choose-lead {
    font-size: 18px;
  }

  .choose-body-text p {
    text-align: center;
  }

  /* Testimonials */
  .section-testimonials {
    padding: 70px 0 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap:                   20px;
  }

  .testimonials-grid .testimonial-card:nth-child(3) {
    grid-column: auto;
    max-width:   100%;
    margin:      0;
  }

  /* Photo strip */
  .photo-strip {
    height: 300px;
  }

  /* Footer */
  .footer-fat {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap:                   40px;
  }

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

  .footer-photo {
    height: 260px;
  }

  /* Mobile sticky bar */
  .mobile-sticky-bar {
    display: flex;
  }

  /* Add bottom padding so footer isn't hidden behind sticky bar */
  .copyright-bar {
    padding-bottom: 60px;
  }

}


/* ======================================== */
/* RESPONSIVE — SMALL MOBILE (max 480px)    */
/* ======================================== */

@media (max-width: 480px) {

  .hero-title {
    font-size: 30px;
  }

  .hero-phone-btn {
    font-size: 17px;
    padding:   14px 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .choose-lead {
    font-size: 16px;
  }

  .photo-strip {
    grid-template-columns: 1fr;
    height:                400px;
  }

  .testimonial-card {
    padding: 26px 20px 22px;
  }

  .footer-col-heading {
    font-size: 20px;
  }

}
