/* ============================================
   POSITIVE MEDIA GROUP - Main Stylesheet
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

/* --- Nav Logo Lockup --- */
/* (rules defined in NAV section below) */

/* --- CSS Variables --- */
:root {
  --navy:       #0a1628;
  --blue:       #1565c0;
  --blue-mid:   #1976d2;
  --blue-light: #2196f3;
  --cyan:       #29b6f6;
  --orange:     #e65100;
  --orange-mid: #f57c00;
  --white:      #ffffff;
  --off-white:  #f4f7fc;
  --gray-100:   #e8edf5;
  --gray-300:   #b0bec5;
  --gray-600:   #546e7a;
  --gray-800:   #263238;
  --text:       #1a2332;
  --text-light: #546e7a;
  --shadow:     0 4px 24px rgba(10,22,40,0.12);
  --shadow-lg:  0 8px 48px rgba(10,22,40,0.18);
  --radius:     8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --transition: 0.25s ease;
  --dark:       #0a1628;
  --green:      #2e7d32;
}

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

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-light); }

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  color: var(--navy);
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin-bottom: 1rem; color: var(--text-light); }

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(33,150,243,0.08);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* --- Layout --- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: 5rem 0; }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(230,81,0,0.3);
}
.btn-primary:hover {
  background: var(--orange-mid);
  border-color: var(--orange-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230,81,0,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.82rem; }

/* ============================================
   TOP BAR
   ============================================ */
#top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: 36px;
  display: flex;
  align-items: center;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
}

.top-bar-left {
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-phone {
  color: #29b6f6;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.top-bar-phone:hover { color: #fff; }

.top-bar-email {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar-email:hover { color: var(--cyan); }

.top-bar-divider {
  color: rgba(255,255,255,0.2);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#header {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 1000;
  background: #000000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: box-shadow var(--transition);
}

#header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.8);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

/* Logo lockup: phoenix image + name + tagline */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  /* bird_bold.png has a black background — blends perfectly on black nav */
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  padding-left: 6px;
}

.nav-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* "Positive" — bold white, matching reference */
.name-positive {
  color: #ffffff;
  font-weight: 900;
}

/* "Media Group" — cyan blue matching reference */
.name-media {
  color: #29b6f6;
  font-weight: 700;
}

.nav-logo-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e65100;
  margin-top: 3px;
}

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

.nav-menu > li { position: relative; padding-bottom: 8px; margin-bottom: -8px; }

.nav-menu > li > a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: rgba(255,255,255,0.88);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--cyan);
  background: rgba(255,255,255,0.06);
}

/* Dropdown */
.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.7;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  z-index: 100;
  /* Push down visually with margin instead of top gap,
     so the hover area is continuous */
  margin-top: 0;
}

/* Invisible bridge fills the gap between the nav link and dropdown
   so the mouse never leaves the hover zone mid-travel */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Add top padding inside dropdown so first item isn't right at the edge */
.dropdown::before {
  content: '';
  display: block;
  height: 8px;
}

.has-dropdown:hover .dropdown { display: block; }
/* Keep dropdown open when hovering the dropdown itself */
.has-dropdown:hover > .dropdown,
.dropdown:hover { display: block; }

.dropdown li a {
  display: block;
  padding: 0.55rem 1.2rem;
  color: rgba(255,255,255,0.82);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition);
}

.dropdown li a:hover {
  color: var(--cyan);
  background: rgba(255,255,255,0.05);
  padding-left: 1.6rem;
}

.nav-cta { margin-left: 0.75rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0d2144 50%, #0a1628 100%);
  overflow: hidden;
  padding-top: 108px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(21,101,192,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(230,81,0,0.08) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

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

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(41,182,246,0.12);
  border: 1px solid rgba(41,182,246,0.25);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.hero-stat .lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}

.hero-img-wrap img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
}

.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 1.1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}

.hero-badge.top-right { top: -1rem; right: -1.5rem; }
.hero-badge.bottom-left { bottom: -1rem; left: -1.5rem; }

.hero-badge .icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--off-white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.02em;
}

.trust-item .ti {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================
   VALUE PROPOSITION
   ============================================ */
.value-section { background: var(--white); }

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

.value-content h2 { margin-bottom: 1rem; }
.value-content p { font-size: 1.05rem; margin-bottom: 1.25rem; }

.value-points { margin: 1.5rem 0 2rem; }
.value-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.value-point .vp-icon {
  width: 24px; height: 24px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.value-point p { margin: 0; font-size: 0.95rem; }

.value-visual {
  position: relative;
  background: linear-gradient(135deg, var(--navy), #0d2144);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  overflow: hidden;
}

.value-visual::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(33,150,243,0.2), transparent);
  border-radius: 50%;
}

.value-phoenix {
  width: 120px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.value-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.value-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.value-card .vc-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.value-card .vc-lbl {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-section { background: var(--off-white); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(33,150,243,0.12);
}

.service-card:hover::before { transform: scaleX(1); }

.sc-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(21,101,192,0.1), rgba(33,150,243,0.15));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem;
  transition: all var(--transition);
}

.service-card:hover .sc-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* ============================================
   FEATURE SECTION - WEBSITE DESIGN
   ============================================ */
.feature-section {
  background: var(--white);
}

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

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

.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }

.feature-content .section-label { margin-bottom: 0.75rem; }
.feature-content h2 { margin-bottom: 1rem; }
.feature-content p { font-size: 1.05rem; margin-bottom: 1.5rem; }

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  font-family: 'Open Sans', sans-serif;
}

.feature-list li::before {
  content: '✓';
  color: var(--blue-light);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--navy), #0d2144);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  position: relative;
}

.mockup-browser {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.mockup-bar {
  background: var(--gray-100);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c940; }

.mockup-url {
  flex: 1;
  background: var(--white);
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  margin-left: 0.5rem;
}

.mockup-body { padding: 1.5rem; }
.mockup-hero-bar {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 6px;
  height: 80px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  padding: 1rem;
}
.mockup-hero-bar .mhb-text { display: flex; flex-direction: column; gap: 4px; }
.mockup-hero-bar .mhb-line {
  height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.4);
}
.mockup-hero-bar .mhb-line.wide { width: 120px; }
.mockup-hero-bar .mhb-line.narrow { width: 80px; background: rgba(255,255,255,0.25); }
.mockup-hero-bar .mhb-btn {
  margin-left: auto;
  background: var(--orange);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.6rem;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.mockup-card {
  background: var(--off-white);
  border-radius: 6px;
  padding: 0.75rem;
}
.mockup-card .mc-line {
  height: 6px; border-radius: 3px;
  background: var(--gray-300);
  margin-bottom: 4px;
}
.mockup-card .mc-line.short { width: 60%; }

/* ============================================
   AI AGENTS SECTION
   ============================================ */
.ai-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2144 100%);
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(33,150,243,0.08), transparent 70%);
  border-radius: 50%;
}

.ai-section .section-header h2 { color: var(--white); }
.ai-section .section-header p { color: rgba(255,255,255,0.65); }

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

.ai-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
}

.ai-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(41,182,246,0.3);
  transform: translateY(-4px);
}

.ai-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(33,150,243,0.2), rgba(41,182,246,0.3));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.ai-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.ai-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin: 0;
}

.ai-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================
   LEAD GEN SECTION
   ============================================ */
.leadgen-section { background: var(--white); }

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

.leadgen-funnel {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.funnel-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--off-white);
  border-left: 4px solid var(--blue-light);
  margin-bottom: 0.5rem;
  transition: all var(--transition);
}

.funnel-step:hover {
  background: rgba(33,150,243,0.06);
  transform: translateX(4px);
}

.funnel-step:nth-child(2) { border-color: var(--cyan); margin-left: 1rem; }
.funnel-step:nth-child(3) { border-color: var(--blue); margin-left: 2rem; }
.funnel-step:nth-child(4) { border-color: var(--orange-mid); margin-left: 3rem; }
.funnel-step:nth-child(5) { border-color: var(--orange); margin-left: 4rem; }

.fs-num {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.fs-text h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.fs-text p { font-size: 0.8rem; margin: 0; color: var(--text-light); }

/* ============================================
   SERVICE AREAS
   ============================================ */
.areas-section { background: var(--off-white); }

.areas-map-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
  text-align: center;
}

.areas-map-wrap .map-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.area-chip {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  transition: all var(--transition);
  text-decoration: none;
}

.area-chip:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.area-chip .pin { font-size: 1rem; }

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section { background: var(--white); }

/* Portfolio page — black background so cards pop */
.page-content.portfolio-page {
  background: #000000;
}
/* Section-level headings and intros — white on black */
.page-content.portfolio-page > .container > h2,
.page-content.portfolio-page > .container > p {
  color: #ffffff;
}
/* Card body text stays dark (cards are white) */
.page-content.portfolio-page .pc-body h3,
.page-content.portfolio-page .pc-body h3 a {
  color: #0a1628;
}
.page-content.portfolio-page .pc-body p {
  color: #444444;
}
.page-content.portfolio-page .pc-tag {
  color: #f57c00;
  font-weight: 700;
}

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

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,0.45);
  transition: all var(--transition);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 4px solid #f57c00;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  border-top-color: #1565c0;
}

.pc-thumb-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.pc-thumb-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.3s ease;
}
.pc-thumb-link:hover .pc-thumb-img {
  transform: scale(1.03);
}

.pc-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.pc-thumb.blue-1 { background: linear-gradient(135deg, #0a1628, #1565c0); }
.pc-thumb.blue-2 { background: linear-gradient(135deg, #1565c0, #0288d1); }
.pc-thumb.blue-3 { background: linear-gradient(135deg, #0d2144, #0288d1); }
.pc-thumb.orange-1 { background: linear-gradient(135deg, #0a1628, #e65100); }
.pc-thumb.orange-2 { background: linear-gradient(135deg, #e65100, #f57c00); }
.pc-thumb.teal-1 { background: linear-gradient(135deg, #00695c, #0288d1); }

.pc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-card:hover .pc-overlay { opacity: 1; }

.pc-body { padding: 1.5rem; }
.pc-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.pc-body h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.pc-body p { font-size: 0.85rem; margin: 0; color: var(--text-light); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { background: var(--off-white); }

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

.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testi-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testi-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testi-info .name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.testi-info .biz {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent);
  border-radius: 50%;
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   CONTACT / FORM SECTION
   ============================================ */
.contact-section { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { font-size: 1.05rem; margin-bottom: 2rem; }

.contact-details { margin-bottom: 2rem; }
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cdi-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}

.cdi-text .label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  margin-bottom: 0.2rem;
}

.cdi-text .value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

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

.form-wrapper h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.form-wrapper > p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.ghl-form-container {
  width: 100%;
  min-height: 600px;
  position: relative;
}

.ghl-form-container iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: var(--radius);
  display: block;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { background: var(--white); }

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

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrap img {
  width: 100%;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.about-badge .ab-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.about-badge .ab-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2144 100%);
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(33,150,243,0.1), transparent);
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; position: relative; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 680px; margin: 0 auto; position: relative; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  position: relative;
}

.breadcrumb a { color: var(--cyan); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ============================================
   INNER PAGE CONTENT
   ============================================ */
.page-content { padding: 5rem 0; background: var(--white); }
.page-content h2 { margin-bottom: 1rem; }
.page-content h3 { margin: 2rem 0 0.75rem; }
.page-content p { font-size: 1.05rem; margin-bottom: 1.25rem; }

.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

.check-list { margin: 1.5rem 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  color: var(--text-light);
}

.check-list li::before {
  content: '✓';
  color: var(--blue-light);
  font-weight: 700;
  margin-top: 0.05rem;
  flex-shrink: 0;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(21,101,192,0.06), rgba(33,150,243,0.08));
  border-left: 4px solid var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.highlight-box p { margin: 0; font-size: 1rem; color: var(--navy); font-weight: 600; }

.page-cta-box {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
}

.page-cta-box h3 { color: var(--white); margin-bottom: 0.75rem; }
.page-cta-box p { color: rgba(255,255,255,0.75); margin-bottom: 1.75rem; }

/* ============================================
   SERVICE AREAS PAGE
   ============================================ */
.areas-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.area-detail-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--blue-light);
}

.area-detail-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.area-detail-card p { font-size: 0.9rem; margin: 0; }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo img { height: 40px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; }

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

.social-btn {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn svg {
  width: 20px; height: 20px;
  fill: currentColor;
  display: block;
}
.social-btn:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--cyan); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.footer-contact-item .ico { color: var(--cyan); font-size: 0.9rem; margin-top: 0.1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.8rem; margin: 0; }

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

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}
.footer-bottom-links a:hover { color: var(--cyan); }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-cyan { color: var(--cyan) !important; }
.text-blue { color: var(--blue) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.bg-navy { background: var(--navy); }
.bg-off-white { background: var(--off-white); }

.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.divider.left { margin-left: 0; }

/* Sticky CTA Bar */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  border-top: 2px solid var(--blue);
  padding: 0.9rem 1.5rem;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-cta p { margin: 0; color: rgba(255,255,255,0.85); font-size: 0.88rem; }
.sticky-cta.visible { display: flex; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar-left { display: none; }
  .top-bar-right { width: 100%; justify-content: center; }
  .top-bar-divider { display: none; }
  .top-bar-email { display: none; }

  #header { top: 36px; }

  section { padding: 3.5rem 0; }

  .nav-menu,
  .nav-cta { display: none; }

  .nav-toggle { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0 2rem;
    z-index: 999;
    align-items: stretch;
  }

  .nav-menu.open > li > a { padding: 0.75rem 1.5rem; border-radius: 0; }

  .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.04);
    border-radius: 0;
    padding: 0;
  }

  .has-dropdown.open .dropdown { display: block; }

  .dropdown li a { padding: 0.6rem 2.5rem; }

  .nav-menu.open .nav-cta-mobile {
    display: block;
    padding: 1rem 1.5rem 0;
  }

  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem 0; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero-content { max-width: 100%; }
  .hero-stats { gap: 1.5rem; }

  .value-grid,
  .feature-grid,
  .leadgen-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .feature-grid.reverse { direction: ltr; }

  .feature-list { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-detail-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; }

  .hero-buttons { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }

  .value-cards { grid-template-columns: 1fr 1fr; }

  .content-two-col { grid-template-columns: 1fr; }

  .funnel-step:nth-child(2),
  .funnel-step:nth-child(3),
  .funnel-step:nth-child(4),
  .funnel-step:nth-child(5) { margin-left: 0; }

  .hero-badge { display: none; }
  .about-badge { position: static; margin-top: 1rem; display: inline-block; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .trust-bar-inner { flex-direction: column; gap: 1rem; }
}

/* ============================================
   SERVICE PAGE IMAGES
   ============================================ */

/* Hero image banner on inner pages */
.page-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
}

.page-hero { position: relative; }
.page-hero .container { position: relative; z-index: 1; }

/* Inline content image */
.service-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 2.5rem 0;
}

.service-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* Placeholder shown when image hasn't been uploaded yet */
.img-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, var(--navy), #0d2144);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,0.35);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.75rem;
  text-align: center;
}

.img-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.4; }

.page-hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #0d2144 100%);
  z-index: 0;
}
