/* ============================================================
   Television Ad Group – Front-end stylesheet
   Base design (client approved) + CI4 dynamic page additions
   ============================================================ */

:root {
  --navy: #0d2b4e;
  --navy-mid: #163d6e;
  --navy-light: #1e5090;
  --blue: #0066cc;
  --blue-bright: #0080ff;
  --blue-dark: #004d99;

  /* Proper red replacing gold */
  --gold: #c1121f;
  --gold-light: #e85d5d;
  --gold-dark: #780000;

  --white: #ffffff;
  --off-white: #f4f7fb;
  --light-gray: #dde5f0;
  --text-dark: #0d2b4e;
  --text-body: #1e3354;
  --text-muted: #4a6080;

  --gradient-main: linear-gradient(135deg, #0d2b4e 0%, #1e5090 50%, #0066cc 100%);
  --gradient-blue: linear-gradient(135deg, #0066cc 0%, #0080ff 100%);
  --gradient-gold: linear-gradient(135deg, #c1121f 0%, #e85d5d 50%, #c1121f 100%);

  --shadow-card: 0 8px 32px rgba(13,43,78,0.13);
  --shadow-hover: 0 20px 60px rgba(13,43,78,0.22);
  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

/* ---- TOP BAR ---- */
#top-bar {
  background: var(--blue);
  padding: 9px 0;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--blue-dark);
  position: relative;
  z-index: 1050;
}
#top-bar a { color: var(--white); transition: color var(--transition); }
#top-bar a:hover { color: var(--gold-light); }
.top-bar-info { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.top-bar-info span, .top-bar-info a {
  display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.92);font-size:17px;
}
.top-bar-info i { color: var(--gold-light); font-size: 0.95rem; }
.top-bar-upload {
  background: var(--white);
  color: var(--blue) !important;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  text-transform: uppercase;
  transition: all var(--transition);
}
.top-bar-upload:hover { background: var(--gold-light); color: var(--blue-dark) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.2); transform: translateY(-1px); }

/* ---- NAVBAR ---- */
#mainNav {
  background: #ffffff;
  backdrop-filter: blur(12px);
  padding: 0;
  border-bottom: 3px solid var(--blue);
  transition: all var(--transition);
  z-index: 1040;
  box-shadow: 0 2px 20px rgba(13,43,78,0.1);
}
#mainNav.scrolled {
  box-shadow: 0 4px 32px rgba(13,43,78,0.18);
  background: #ffffff;
}
.navbar-brand img { height: 74px; width: 214px; object-fit: contain; }
.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 28px 14px !important;
  position: relative;
  transition: color var(--transition);
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px; height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--blue) !important; }
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }
.dropdown-menu {
  background: #ffffff;
  border: none;
  border-top: 3px solid var(--blue);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px 0;
  margin-top: 0;
  min-width: 210px;
  box-shadow: 0 8px 32px rgba(13,43,78,0.15);
}
.dropdown-item {
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.dropdown-item:hover { color: var(--blue); background: rgba(0,102,204,0.06); padding-left: 26px; }
.navbar-toggler { border-color: var(--blue); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230066cc' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); }

/* ---- HERO / BANNER ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-video-wrap {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-video-wrap video,
.hero-video-wrap iframe {
  width: 100%; height: 100%;
  pointer-events: none;
  object-fit: cover;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(1.05);
  min-width: 100%; min-height: 100%;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,rgba(10,22,40,0.88) 0%,rgba(10,22,40,0.65) 60%,rgba(10,22,40,0.82) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 40px 0;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--white); /* using your white variable */
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 2px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 16px;
  text-shadow: 0 2px 32px rgba(0,0,0,0.4);
}
.hero-title span { color: var(--gold-light); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-gold {
  background: var(--gradient-gold);
  color: var(--white); /* fixed */
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold:hover {
  box-shadow: 0 8px 32px rgba(193, 18, 31, 0.45); /* red shadow */
  transform: translateY(-2px);
  color: var(--white); /* keep white */
}

/* outline button */
.btn-outline-gold {
  background: transparent;
  color: var(--white); /* fixed for dark/red bg */
  border: 2px solid var(--white); /* match theme */
  font-weight: 700;
  padding: 12px 36px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-gold:hover {
  background: var(--white);
  color: var(--gold); /* red accent */
  box-shadow: 0 8px 32px rgba(193, 18, 31, 0.35); /* red shadow */
  transform: translateY(-2px);
}
.hero-phone {
  margin-top: 32px;
  font-size: 2rem;
  font-family: var(--font-display);
  color: var(--gold-light);
  letter-spacing: 0.06em;
}
.hero-phone i { font-size: 1.1rem; margin-right: 8px; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--gold); font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- SECTION COMMONS ---- */
section { position: relative; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }
.section-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title-white {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-lead {
  font-size: 1.15rem;
  color: var(--white) !important;
  max-width: 640px;
  line-height: 1.85;
}
.divider-gold {
  width: 56px; height: 4px;
  background: var(--blue);
  margin: 20px 0 36px;
  border-radius: 2px;
}
.divider-gold.center { margin-left: auto; margin-right: auto; }
.divider-gold.gold-on-dark { background: var(--gold-light); }

/* ---- CLIENTS CAROUSEL ---- */
.clients-section {
  background: var(--off-white);
  padding: 60px 0;
  border-top: 4px solid var(--blue);
  border-bottom: 1px solid var(--light-gray);
}
.clients-heading {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.clients-track-wrapper {
  overflow: hidden;
  position: relative;
}
.clients-track-wrapper::before,
.clients-track-wrapper::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.clients-track-wrapper::before { left: 0; background: linear-gradient(to right,var(--off-white),transparent); }
.clients-track-wrapper::after { right: 0; background: linear-gradient(to left,var(--off-white),transparent); }
.clients-track {
  display: flex;
  gap: 52px;
  align-items: center;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.clients-track:hover { animation-play-state: paused; }
.clients-track img {
  height: 48px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: none;
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}
.clients-track img:hover { opacity: 1; transform: scale(1.08); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- ABOUT / SERVICES SECTION ---- */
.services-bg {
  position: relative;
  z-index: 1;
  background: url('https://televisionadgroup.com/assets/upload_files/pagesliderimages/orig/1_6580352da8b7a_17029010376911.webp') center/cover no-repeat;
}

.services-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 43, 78, 0.65);
  z-index: 0;
}

/* make content stay above overlay */
.services-bg > * {
  position: relative;
  z-index: 1;
}
/* keep content above overlay */
.services-intro {
  position: relative;
  z-index: 2;
}

/* tabs */
.tab-nav-pills {
  border-bottom: none;
  gap: 4px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-nav-pills .nav-link {
  background: rgba(255,255,255,0.1); /* transparent glass */
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); /* changed */
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--radius);
  transition: all var(--transition);
  backdrop-filter: blur(6px);
}

/* active / hover */
.tab-nav-pills .nav-link.active,
.tab-nav-pills .nav-link:hover {
  background: var(--gradient-gold);
  color: var(--white);
  border-color: transparent;
}

/* layout */
.service-tab-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* image */
.service-tab-img {
  flex: 0 0 340px;
  max-width: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-tab-img img {
  /*width: 100%;
  height: 280px;
  object-fit: cover;*/
  display: block;
}

/* text container */
.service-tab-text {
  flex: 1;
  min-width: 260px;
  color: var(--white); /* global text fix */
}

/* quote */
.service-tab-text blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  font-style: italic;
  color: var(--white) !important;
  margin-bottom: 20px;
  font-size: 1.08rem;
}

/* paragraphs */
.service-tab-text p {
  color: rgba(255,255,255,0.9); /* changed */
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.section-lead {
  color: rgba(255,255,255,0.85);
}

/* optional: improve readability */
.services-bg::before {
  background: rgba(13, 43, 78, 0.7); /* strong overlay */
}

/* ---- STATS BAR ---- */
.stats-section {
  background: var(--gradient-main);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1600&q=80') center/cover no-repeat;
  opacity: 0.07;
}
.stat-item { text-align: center; position: relative; z-index: 1; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
}
.stat-divider {
  width: 1px; height: 60px;
  background: rgba(255,255,255,0.15);
  margin: auto;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=1600&q=80') center/cover no-repeat;
  opacity: 0.05;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.13);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.testimonial-quote {
  font-size: 2.5rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.8;
}
.testimonial-text {
  color: rgba(255,255,255,0.88);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-author-name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}
.testimonial-author-role {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.testimonial-company {
  font-size: 0.78rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---- GALLERY ---- */
.gallery-section { background: var(--off-white); }
.gallery-tabs .nav-link {
  background: var(--white);
  border: 2px solid var(--light-gray);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--radius);
  transition: all var(--transition);
  margin: 0 4px 8px;
}
.gallery-tabs .nav-link.active,
.gallery-tabs .nav-link:hover {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.gallery-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.gallery-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-card:hover .gallery-thumb img { transform: scale(1.06); }
.gallery-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,43,78,0.45);
  transition: background var(--transition);
}
.gallery-card:hover .gallery-play { background: rgba(0,102,204,0.55); }
.gallery-play i {
  font-size: 3rem;
  color: var(--white);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform var(--transition);
}
.gallery-card:hover .gallery-play i { transform: scale(1.15); color: var(--gold-light); }
.gallery-caption {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-align: center;
  border-top: 1px solid var(--light-gray);
  background: var(--white);
}

/* ---- FAQ ---- */
.faq-section {
  background: var(--white);
  position: relative;
}
.faq-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1444628838545-ac4016a5418a?w=1600&q=80') center/cover no-repeat;
  opacity: 0.03;
}
.faq-accordion .accordion-item {
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,43,78,0.06);
}
.faq-accordion .accordion-button {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  background: var(--white);
  padding: 20px 24px;
  box-shadow: none;
  line-height: 1.5;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--blue);
  color: var(--white);
}
.faq-accordion .accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230066cc' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.faq-accordion .accordion-body {
  font-size: 1.02rem;
  color: var(--text-body);
  padding: 22px 24px;
  line-height: 1.85;
  background: #f4f7fb;
}
.btn-view-all {
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-view-all:hover { background: var(--blue); color: var(--white); }

/* ---- CONTACT ---- */
.contact-section {
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80') center/cover;
  opacity: 0.06;
}
.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,168,75,0.2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative; z-index: 1;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 32px;
}
.contact-icon {
  width: 48px; height: 48px;
  background: rgba(200,168,75,0.12);
  border: 1px solid rgba(200,168,75,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.contact-info-value { color: var(--white); font-size: 1.1rem; font-weight: 600; }
.contact-info-value a { color: var(--white); }
.form-label { color: rgba(255,255,255,0.7); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 6px; }
.form-control, .form-select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(200,168,75,0.2);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,168,75,0.15);
  color: var(--white);
}
.form-control::placeholder { color: rgba(255,255,255,0.35); }
textarea.form-control { resize: none; }
.form-select option { background: var(--navy); color: var(--white); }

/* ---- FOOTER ---- */
footer {
  background: #081828;
  padding: 64px 0 0;
  border-top: 4px solid var(--blue);
}
.footer-logo img { height: 60px; width: auto; object-fit: contain; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.7; }
.footer-heading {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.92rem; transition: all var(--transition); }
.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

/* ---- VIMEO MODAL ---- */
.modal-video .modal-dialog { max-width: 860px; }
.modal-video .modal-content { background: var(--navy); border: 1px solid rgba(200,168,75,0.2); }
.modal-video .modal-header { border-bottom: 1px solid rgba(200,168,75,0.1); }
.modal-video .btn-close { filter: invert(1); }
.video-responsive {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
}
.video-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--blue);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(230,51,0,0.6) 0%, rgba(0,102,204,0) 60%);
}
.cta-band h2 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.1rem; position: relative; }
.btn-navy {
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-navy:hover { background: var(--gold-light); color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

/* ---- UTILITY ---- */
.text-gold { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }
.bg-navy { background: var(--navy); }
.bg-off-white { background: var(--off-white); }

/* ---- AOS OVERRIDES ---- */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .navbar-nav .nav-link { padding: 12px 16px !important; }
  .navbar-nav .nav-link::after { display: none; }
  .dropdown-menu { background: #f0f5fc; border: none; border-left: 3px solid var(--blue); padding-left: 16px; box-shadow: none; }
  .service-tab-img { flex: 0 0 100%; max-width: 100%; }
  #mainNav { padding: 8px 0; }
  .navbar-collapse { background: var(--white); padding: 12px 0; border-top: 1px solid var(--light-gray); }
}
@media (max-width: 767px) {
  .section-pad { padding: 70px 0; }
  .hero-actions { flex-direction: column; align-items: center; }
  .contact-card { padding: 32px 20px; }
  .top-bar-info { gap: 12px; }
  .stat-divider { display: none; }  
}
@media (max-width: 575px) {
  .navbar-brand img { height: 52px; width: auto; }
}

/* ============================================================
   CI4 DYNAMIC SITE ADDITIONS
   ============================================================ */

/* ---- Utilities ---- */
.text-white-75 { color: rgba(255,255,255,0.78) !important; }
.section-text { max-width: 720px; margin: -16px auto 0; color: var(--text-muted); }
.text-center .section-text { margin-left: auto; margin-right: auto; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
a:focus-visible, button:focus-visible, .gallery-card:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.btn-gold, .btn-outline-gold, .btn-navy, .btn-view-all { cursor: pointer; }
.btn-view-all { background: transparent; }

/* ---- Navbar CTA button (menu page flagged as "button") ---- */
.navbar-nav .nav-link.nav-cta {
  padding: 10px 24px !important;
  color: var(--white) !important;
  border-radius: var(--radius);
}
.navbar-nav .nav-link.nav-cta::after { display: none; }
.dropdown-item.active, .dropdown-item:active { background: rgba(0,102,204,0.08); color: var(--blue); }
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; }
}

/* ---- Hero tweaks ---- */
.hero-phone a { color: var(--gold-light); }
.hero-phone a:hover { color: var(--white); }
a.hero-scroll:hover { color: var(--gold-light); }

/* ---- Inner page banner ---- */
.page-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 90px 0 70px;
  background: var(--gradient-main);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.90) 0%, rgba(13,43,78,0.72) 60%, rgba(10,22,40,0.85) 100%);
}
.page-banner:not(.has-image) .page-banner-overlay { opacity: .35; }
.page-banner-content { position: relative; z-index: 2; text-align: center; }
.page-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  margin: 6px 0 0;
}
.page-banner .divider-gold { margin: 18px auto 18px; }
.page-banner .breadcrumb {
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: inline-flex;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: rgba(255,255,255,0.8); }
.page-banner .breadcrumb-item a:hover { color: var(--gold-light); }
.page-banner .breadcrumb-item.active { color: var(--gold-light); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.45); }
.page-banner-intro { max-width: 820px; margin: 0 auto; color: rgba(255,255,255,0.88); font-size: 1.1rem; }
.page-banner-intro h2, .page-banner-intro h3, .page-banner-intro h4 { color: var(--white) !important; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.page-banner-intro .btgrid { margin: 0 !important; padding: 0 !important; }

/* ---- Content sections & backgrounds ---- */
.content-section.bg-white { background: var(--white) !important; }
.content-section.bg-light { background: var(--off-white) !important; }
.content-section.bg-navy { background: var(--gradient-main) !important; color: var(--white); }
.content-section.bg-navy .legacy-content,
.content-section.bg-navy .legacy-content h1, .content-section.bg-navy .legacy-content h2,
.content-section.bg-navy .legacy-content h3, .content-section.bg-navy .legacy-content h4,
.content-section.bg-navy .legacy-content h5, .content-section.bg-navy .legacy-content p { color: var(--white); }
.content-narrow { max-width: 860px; margin: 0 auto; }
.image-text-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

/* ---- Legacy CKEditor content (old site classes) rendered in the new design ---- */
.legacy-content { color: var(--text-body); }
.legacy-content p { margin-bottom: 1rem; }
.legacy-content ul, .legacy-content ol { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.1rem; }
.legacy-content ol { list-style: decimal; }
.legacy-content li { margin-bottom: .35rem; }
.legacy-content h1, .legacy-content h2, .legacy-content h3 { font-family: var(--font-display); color: var(--text-dark); font-weight: 700; line-height: 1.25; margin-bottom: .9rem; }
.legacy-content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.legacy-content h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.legacy-content h4 { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin-bottom: .8rem; }
.legacy-content h5 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: .6rem; }
.legacy-content h6 { font-size: .95rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .8rem; }
.legacy-content a:not(.btn):not(.fancybox):not(.various):not(.btn-gold) { color: var(--blue); font-weight: 600; }
.legacy-content a:not(.btn):hover { color: var(--gold); }
.legacy-content img { max-width: 100%; height: auto; border-radius: 8px; }
.legacy-content iframe { max-width: 100%; border: 0; border-radius: var(--radius-lg); }
.legacy-content table { width: 100%; margin-bottom: 1rem; }
.legacy-content table td, .legacy-content table th { padding: 8px 10px; border: 1px solid var(--light-gray); }
.legacy-content blockquote { border-left: 4px solid var(--gold); padding: 6px 0 6px 20px; font-style: italic; margin: 1.2rem 0; }
.legacy-content strong.text-red, .legacy-content .text-red { color: var(--gold) !important; }
.legacy-content .white, .legacy-content .text-white { color: var(--white) !important; }
.legacy-content .text-black { color: var(--text-dark) !important; }
.legacy-content .text-color, .legacy-content .text-blue-foot { color: var(--blue) !important; }
.legacy-content .btgrid { margin-bottom: 2rem; }
.legacy-content .btgrid:last-child { margin-bottom: 0; }
.legacy-content .row { --bs-gutter-y: 1.5rem; }
.legacy-content .bg-light { background: var(--off-white) !important; border-radius: var(--radius-lg); }
.legacy-content .btgrid.bg-light, .legacy-content .btgrid_a { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.legacy-content .btgrid_a.p-5 { padding: 3rem !important; }
.legacy-content .btgrid_b,
.legacy-content .bg_fullsec, .legacy-content .bg_fullsec_P,
.legacy-content .bgdooh, .legacy-content .bgdooh1 {
  background: var(--gradient-main);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.legacy-content .btgrid_b h1, .legacy-content .btgrid_b h2, .legacy-content .btgrid_b h3, .legacy-content .btgrid_b h4,
.legacy-content .btgrid_b h5, .legacy-content .btgrid_b p, .legacy-content .btgrid_b li,
.legacy-content .bgdooh h3, .legacy-content .bgdooh p, .legacy-content .bgdooh1 h3, .legacy-content .bgdooh1 p,
.legacy-content .bg_fullsec h2, .legacy-content .bg_fullsec h3, .legacy-content .bg_fullsec p,
.legacy-content .bg_fullsec_P h2, .legacy-content .bg_fullsec_P p { color: var(--white); }
.legacy-content .btgrid_h { margin-bottom: 0; }
.legacy-content .section-headline h2, .legacy-content .section-headline0 h2 { margin-bottom: .6rem; }
.legacy-content .section-headline::after, .legacy-content .services-head::after {
  content: ''; display: block; width: 56px; height: 4px; background: var(--blue); margin: 18px auto 30px; border-radius: 2px;
}
.legacy-content .single-services, .legacy-content .services-details, .legacy-content .single-team-members,
.legacy-content .boxdooh-pos, .legacy-content .areadooh {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.6rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.legacy-content .single-services:hover, .legacy-content .single-team-members:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.legacy-content .numberCircle {
  width: 54px; height: 54px; line-height: 54px; border-radius: 50%;
  background: var(--gradient-gold); color: var(--white); text-align: center; font-weight: 800; font-size: 1.3rem;
  display: inline-block; margin-bottom: 12px;
}
.legacy-content .boldtxt { font-weight: 700; }
.legacy-content .listing li, .legacy-content .doohul li, .legacy-content .commerul li, .legacy-content .ulbxr li { list-style: none; position: relative; padding-left: 1.6rem; }
.legacy-content .listing li::before, .legacy-content .doohul li::before, .legacy-content .commerul li::before, .legacy-content .ulbxr li::before {
  content: '\2713'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 800;
}
.legacy-content .listing, .legacy-content .doohul, .legacy-content .commerul, .legacy-content .ulbxr { padding-left: 0; }
.legacy-content .btn-primary, .legacy-content .btn.btn-primary {
  background: var(--gradient-gold);
  border: none;
  color: var(--white) !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 12px 30px;
  transition: all var(--transition);
}
.legacy-content .btn-primary:hover { box-shadow: 0 8px 32px rgba(193,18,31,0.45); transform: translateY(-2px); }
.legacy-content .rounded-pill { border-radius: 50rem !important; }

/* Old "fancybox" video thumbnails inside content */
.legacy-content a.fancybox, .legacy-content a.various, .legacy-content a.fancyboxmp4 {
  position: relative; display: inline-block; width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); background: var(--navy);
}
.legacy-content a.fancybox img, .legacy-content a.various img, .legacy-content a.fancyboxmp4 img {
  width: 100% !important; height: auto !important; aspect-ratio: 16/9; object-fit: cover; border-radius: 0; display: block;
  transition: transform .6s ease, opacity var(--transition);
}
.legacy-content a.fancybox::after, .legacy-content a.various::after, .legacy-content a.fancyboxmp4::after {
  content: '\25B6';
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding-left: 4px;
  font-size: 1.4rem; color: var(--gold); background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: all var(--transition);
}
.legacy-content a.fancybox:hover img, .legacy-content a.various:hover img { transform: scale(1.05); }
.legacy-content a.fancybox:hover::after, .legacy-content a.various:hover::after, .legacy-content a.fancyboxmp4:hover::after { background: var(--gold); color: var(--white); }
.legacy-content a.fancybox .bx, .legacy-content a.various .bx, .legacy-content .youtubei { display: none; }

/* ---- Video gallery ---- */
.gallery-card[data-video] { cursor: pointer; }
.gallery-search { position: relative; max-width: 520px; margin: -10px auto 40px; }
.gallery-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.gallery-search .form-control {
  background: var(--white); color: var(--text-dark); border: 2px solid var(--light-gray);
  padding: 14px 18px 14px 46px; border-radius: 40px;
}
.gallery-search .form-control::placeholder { color: var(--text-muted); }
.gallery-search .form-control:focus { border-color: var(--blue); color: var(--text-dark); background: var(--white); box-shadow: 0 0 0 4px rgba(0,102,204,0.12); }
.lm-hidden { display: none !important; }

/* ---- Photo gallery ---- */
.photo-item {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: var(--navy); box-shadow: var(--shadow-card);
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-item:hover img { transform: scale(1.07); }
.photo-zoom {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.6rem; background: rgba(13,43,78,0); opacity: 0;
  transition: all var(--transition);
}
.photo-item:hover .photo-zoom { background: rgba(0,102,204,0.45); opacity: 1; }
.lightbox-modal .modal-content { background: transparent; border: 0; align-items: center; position: relative; }
.lightbox-modal img { max-height: 82vh; max-width: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-modal .lightbox-close { position: absolute; top: -40px; right: 0; filter: invert(1); opacity: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.9); color: var(--navy); font-size: 1.3rem; z-index: 2;
}
.lightbox-nav.prev { left: 8px; } .lightbox-nav.next { right: 8px; }
.lightbox-caption { color: var(--white); margin-top: 10px; font-weight: 600; }
.modal-backdrop.show { opacity: .85; }

/* ---- Testimonials ---- */
.testimonial-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; border: 2px solid rgba(255,255,255,0.3); }

/* ---- FAQ ---- */
.faq-group-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-dark); margin: 10px 0 18px; }
.faq-accordion .accordion-body p:last-child { margin-bottom: 0; }
.faq-accordion .accordion-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.faq-more { color: var(--blue); font-weight: 700; }
.faq-answer { font-size: 1.1rem; }

/* ---- Contact cards ---- */
.contact-card-title { color: var(--white); font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.4rem; }
.contact-card-text { color: rgba(255,255,255,0.6); margin-bottom: 36px; font-size: 0.95rem; }
.contact-info-value { word-break: break-word; }
.footer-logo + .footer-tagline + .d-flex .contact-icon { color: var(--gold-light); }
footer .contact-icon { text-decoration: none; }
footer .contact-icon:hover { background: var(--gold); color: var(--white); }

/* ---- Lead form: light variant (used inside page content / [ContactForm]) ---- */
.lead-form .alert { font-size: .95rem; }
.lead-form-light .form-label { color: var(--text-dark); }
.lead-form-light .form-control, .lead-form-light .form-select {
  background: var(--white); color: var(--text-dark); border: 1.5px solid var(--light-gray);
}
.lead-form-light .form-control:focus, .lead-form-light .form-select:focus {
  background: var(--white); color: var(--text-dark); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,102,204,0.12);
}
.lead-form-light .form-control::placeholder { color: #8a9ab3; }
.lead-form-light .form-select option { background: var(--white); color: var(--text-dark); }
.contact-section .form-select { color: var(--white); }
.contact-section .form-select:invalid, .contact-section .form-select option[value=""] { color: rgba(255,255,255,0.6); }
.lead-form .was-validated .form-control:invalid, .lead-form.was-validated .form-control:invalid { border-color: var(--gold-light); }
.lead-submit[disabled] { opacity: .7; }

/* ---- CTA band ---- */
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---- News / blog / events ---- */
.news-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden; height: 100%;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: all var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--gradient-main); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-thumb[data-empty] { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 3rem; }
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { font-size: .85rem; color: var(--text-muted); margin-bottom: 8px; }
.news-meta a { color: var(--blue); font-weight: 600; }
.news-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; margin-bottom: 10px; }
.news-title a { color: var(--text-dark); }
.news-title a:hover { color: var(--blue); }
.news-body p { font-size: .97rem; color: var(--text-muted); flex: 1; }
.news-more { color: var(--gold); font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.news-more:hover { color: var(--blue); }
.site-pagination .page-link { color: var(--blue); border-color: var(--light-gray); font-weight: 700; }
.site-pagination .page-item.active .page-link { background: var(--blue); border-color: var(--blue); color: var(--white); }
.sidebar-card {
  background: var(--off-white); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px;
  border-top: 4px solid var(--blue);
}
.sidebar-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-dark); margin-bottom: 12px; }
.sidebar-list { padding: 0; margin: 0; }
.sidebar-list li { padding: 10px 0; border-bottom: 1px solid var(--light-gray); }
.sidebar-list li:last-child { border-bottom: 0; }
.sidebar-list a { color: var(--text-dark); font-weight: 600; line-height: 1.4; display: block; }
.sidebar-list a:hover { color: var(--blue); }
.sidebar-list small { color: var(--text-muted); }
.empty-state { text-align: center; padding: 50px 20px; color: var(--text-muted); }
.empty-state i { font-size: 3rem; color: var(--blue); display: block; margin-bottom: 12px; }

/* ---- 404 ---- */
.not-found-code {
  font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1;
  background: var(--gradient-main); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 40px; padding: 0; }
.not-found-links a { color: var(--blue); font-weight: 600; }

/* ---- Responsive additions ---- */
@media (max-width: 991px) {
  .page-banner { min-height: 280px; padding: 70px 0 50px; }
  .navbar-nav .nav-link.nav-cta { display: inline-flex; margin: 8px 16px 12px; }
}
@media (max-width: 767px) {
  .legacy-content .btgrid_b, .legacy-content .btgrid_a.p-5, .legacy-content .bgdooh { padding: 1.6rem !important; }
  .cta-actions a { width: 100%; justify-content: center; }
  .hero-section { min-height: 88vh; }
  .hero-phone { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
  html { scroll-behavior: auto; }
}


/* ============================================================
   DESIGNED INNER-PAGE SECTIONS
   ============================================================ */
.designed-section { position: relative; overflow: hidden; }
.designed-section.bg-light::before {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -180px; top: -200px; background: radial-gradient(circle, rgba(0,102,204,0.07), transparent 70%); pointer-events: none;
}
.designed-section.bg-navy::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 380px at 100% 0, rgba(232,93,93,0.18), transparent 60%),
              radial-gradient(600px 360px at 0 100%, rgba(0,128,255,0.18), transparent 60%);
}
.designed-section > .container { position: relative; z-index: 1; }
.content-section.bg-navy .section-text, .content-section.bg-navy .section-intro { color: rgba(255,255,255,0.78); }
.section-intro { max-width: 760px; color: var(--text-muted); font-size: 1.08rem; }
.section-intro p:last-child { margin-bottom: 0; }
.section-note { margin-top: 1.4rem; color: var(--text-muted); }
.section-note p:last-child { margin-bottom: 0; }
.bg-navy .section-note { color: rgba(255,255,255,0.75); }
.section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.text-center .section-actions, .col-lg-10.text-center .section-actions { justify-content: center; }
.split-subtitle { font-size: 1.15rem; font-weight: 600; color: var(--blue); margin: -6px 0 0; }
.bg-navy .split-subtitle { color: var(--gold-light); }

/* Framed image (image + text) */
.framed-image { position: relative; border-radius: var(--radius-lg); }
.framed-image::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg);
  background: var(--gradient-gold); opacity: .9; z-index: 0;
}
.flex-row-reverse .framed-image::before { inset: 18px 18px -18px -18px; }
.framed-image img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); background: var(--white); }
.framed-image.is-video { cursor: pointer; }
.frame-play {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: var(--gold); background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 12px rgba(255,255,255,0.25); transition: all var(--transition);
}
.framed-image.is-video:hover .frame-play { background: var(--gold); color: var(--white); transform: translate(-50%, -50%) scale(1.06); }
.bg-navy .framed-image::before { background: linear-gradient(135deg, var(--blue-bright), var(--gold)); }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 12px 28px; }
.check-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-list.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.check-ic {
  flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(193,18,31,0.1); color: var(--gold); font-size: .95rem; margin-top: 1px;
}
.check-list.on-dark li { color: rgba(255,255,255,0.9); }
.check-list.on-dark .check-ic { background: rgba(255,255,255,0.12); color: var(--gold-light); }
.text-center .check-list { text-align: left; max-width: 760px; margin-left: auto; margin-right: auto; }

/* Feature cards */
.feature-card {
  position: relative; height: 100%; background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; border: 1px solid var(--light-gray); box-shadow: 0 6px 24px rgba(13,43,78,0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.feature-card::after {
  content: ''; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px;
  background: var(--gradient-gold); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
  width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--gradient-blue); color: var(--white); font-size: 1.7rem; margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(0,102,204,0.28);
}
.feature-icon.has-img { background: var(--off-white); box-shadow: none; width: 84px; height: 84px; padding: 10px; }
.feature-icon.has-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.feature-number {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 16px;
  background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feature-media { margin: -32px -28px 22px; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature-card:hover .feature-media img { transform: scale(1.05); }
.feature-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; }
.feature-text { color: var(--text-muted); font-size: .98rem; flex: 1; }
.feature-text p { margin-bottom: .6rem; }
.feature-text p:last-child { margin-bottom: 0; }
.feature-text ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.feature-text ul li { background: var(--off-white); border-radius: 30px; padding: 3px 12px; font-size: .85rem; font-weight: 600; color: var(--text-dark); }
.feature-link { margin-top: 14px; color: var(--gold); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.feature-link:hover { color: var(--blue); }
.feature-card.on-dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); box-shadow: none; backdrop-filter: blur(4px); }
.feature-card.on-dark .feature-title { color: var(--white); }
.feature-card.on-dark .feature-text { color: rgba(255,255,255,0.78); }
.feature-card.on-dark .feature-icon { background: var(--gradient-gold); box-shadow: 0 10px 24px rgba(193,18,31,0.35); }
.feature-card.on-dark:hover { background: rgba(255,255,255,0.1); }

/* Steps */
.steps-track { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); position: relative; }
.steps-track::before {
  content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 18px); opacity: .35;
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num {
  position: relative; z-index: 1; width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800;
  color: var(--white); background: var(--gradient-main); box-shadow: 0 0 0 8px var(--white), 0 12px 28px rgba(13,43,78,0.25);
}
.bg-light .step-num { box-shadow: 0 0 0 8px var(--off-white), 0 12px 28px rgba(13,43,78,0.25); }
.step:last-child .step-num { background: var(--gradient-gold); }
.step-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-dark); margin-bottom: 6px; }
.step-text { color: var(--text-muted); font-size: .95rem; margin: 0; }
.steps-track.on-dark .step-title { color: var(--white); }
.steps-track.on-dark .step-text { color: rgba(255,255,255,.75); }
.steps-track.on-dark .step-num { box-shadow: 0 0 0 8px rgba(255,255,255,.08); }

/* Packages */
.package-card {
  position: relative; height: 100%; display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-card); transition: transform var(--transition), box-shadow var(--transition);
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.package-card.is-highlight { border: 2px solid var(--gold); }
.package-badge {
  position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--gradient-gold); color: var(--white);
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 30px;
}
.package-media { position: relative; aspect-ratio: 16/9; background: var(--gradient-main); cursor: pointer; overflow: hidden; }
.package-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.package-card:hover .package-media img { transform: scale(1.06); }
.play-pill {
  position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,0.95); color: var(--navy);
  font-weight: 700; font-size: .82rem; padding: 6px 14px 6px 10px; border-radius: 30px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.play-pill i { color: var(--gold); }
.package-body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.package-step { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.package-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--text-dark); margin: 4px 0 10px; }
.package-text { color: var(--text-muted); font-size: .95rem; }
.package-features { list-style: none; padding: 0; margin: 10px 0 22px; }
.package-features li { display: flex; gap: 9px; padding: 7px 0; border-bottom: 1px dashed var(--light-gray); font-size: .94rem; line-height: 1.45; }
.package-features li:last-child { border-bottom: 0; }
.package-features i { color: var(--gold); margin-top: 2px; }

/* Video showcase */
.video-group-head {
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; margin-bottom: 28px;
  padding: 28px 30px; background: var(--white); border-radius: var(--radius-lg); border-left: 5px solid var(--gold);
  box-shadow: 0 6px 24px rgba(13,43,78,0.07);
}
.bg-white .video-group-head { background: var(--off-white); box-shadow: none; }
.video-group-head.has-image { grid-template-columns: 1.4fr 1fr; }
.video-group-head.on-dark { background: rgba(255,255,255,0.07); box-shadow: none; }
.vg-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: var(--blue); padding: 4px 12px; border-radius: 30px; margin-bottom: 10px; }
.vg-title { font-family: var(--font-display); font-size: 1.55rem; color: var(--text-dark); margin-bottom: 8px; }
.vg-text { color: var(--text-muted); }
.vg-text p:last-child { margin-bottom: 0; }
.video-group-head.on-dark .vg-title { color: var(--white); }
.video-group-head.on-dark .vg-text { color: rgba(255,255,255,.78); }
.vg-image img { width: 100%; border-radius: 10px; box-shadow: var(--shadow-card); }
.gallery-thumb.no-thumb { background: var(--gradient-main); }
.bg-navy .gallery-card { background: rgba(255,255,255,0.06); }
.bg-navy .gallery-caption { background: transparent; color: var(--white); border-top-color: rgba(255,255,255,0.12); }

/* Image grid */
.banner-tile { margin: 0; background: var(--white); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-card); height: 100%; display: flex; flex-direction: column; justify-content: center; }
.banner-tile img { width: 100%; height: auto; border-radius: 8px; }
.banner-tile figcaption { text-align: center; font-weight: 700; margin-top: 8px; color: var(--text-dark); }

/* Quote box */
.quote-box {
  display: grid; grid-template-columns: 1.6fr 1fr; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-hover); background: var(--white); border: 1px solid var(--light-gray);
}
.quote-box.no-phone { grid-template-columns: 1fr; text-align: center; }
.quote-copy { padding: 44px 46px; }
.quote-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--text-dark); margin-bottom: 12px; }
.quote-text { color: var(--text-muted); font-size: 1.05rem; }
.quote-phone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 6px; padding: 40px 30px; background: var(--gradient-main); color: var(--white); overflow: hidden;
}
.quote-phone::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,0.05); right: -90px; top: -90px; }
.qp-icon {
  width: 66px; height: 66px; border-radius: 50%; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 0 0 10px rgba(255,255,255,0.08); animation: qp-pulse 2.4s infinite;
}
@keyframes qp-pulse { 0%,100% { box-shadow: 0 0 0 10px rgba(255,255,255,0.08); } 50% { box-shadow: 0 0 0 18px rgba(255,255,255,0.03); } }
.qp-label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 10px; }
.qp-number { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--white); }
.quote-phone:hover .qp-number { color: var(--gold-light); }
.bg-navy .quote-box { border-color: transparent; }

/* Contact notice */
.contact-notice { display: flex; gap: 12px; padding: 14px 16px; margin-bottom: 22px; border-radius: 10px; background: rgba(232,93,93,0.12); border: 1px solid rgba(232,93,93,0.35); color: rgba(255,255,255,0.92); font-size: .95rem; }
.contact-notice i { color: var(--gold-light); font-size: 1.2rem; }

@media (max-width: 991px) {
  .quote-box { grid-template-columns: 1fr; }
  .video-group-head.has-image { grid-template-columns: 1fr; }
  .check-list.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-track::before { display: none; }
}
@media (max-width: 767px) {
  .check-list.cols-2, .check-list.cols-3 { grid-template-columns: 1fr; }
  .quote-copy { padding: 30px 24px; }
  .framed-image::before { inset: 12px -10px -12px 10px; }
  .feature-card { padding: 26px 22px; }
}
.page-banner .page-banner-intro, .page-banner .page-banner-intro p { color: rgba(255,255,255,0.9); }
.page-banner .page-banner-intro p { font-size: 1.2rem; margin-bottom: 0; letter-spacing: .02em; }

/* ==========================================================================
   v4 – client feedback round: clear banners, highlighted phone, contact form,
   equal testimonials, infinite scroll, news / blog, FAQ pages, polish
   ========================================================================== */

/* ---- Top bar: highlighted phone ---- */
#top-bar { padding: 6px 0; background: linear-gradient(90deg, var(--navy) 0%, var(--blue-dark) 55%, var(--blue) 100%); border-bottom: 0; }
.top-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.top-bar-info { gap: 22px; }
.top-bar-info a, .top-bar-info span { font-size: .92rem; color: rgba(255,255,255,.88); }
.top-bar-tagline { letter-spacing: .08em; text-transform: uppercase; font-size: .76rem !important; font-weight: 700; color: rgba(255,255,255,.7) !important; }
.top-bar-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
#top-bar a.top-phone {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gradient-gold); background-size: 200% 100%;
  color: #fff; padding: 5px 18px 5px 6px; border-radius: 40px;
  box-shadow: 0 6px 22px rgba(193,18,31,.45), inset 0 0 0 1px rgba(255,255,255,.25);
  transition: transform var(--transition), box-shadow var(--transition), background-position .6s ease;
}
#top-bar a.top-phone:hover { color: #fff; transform: translateY(-1px); background-position: 100% 0; box-shadow: 0 10px 28px rgba(193,18,31,.55); }
.top-phone-icon {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; position: relative;
}
.top-phone-icon::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75);
  animation: phone-pulse 1.8s ease-out infinite;
}
.top-phone-icon i { animation: phone-ring 2.4s ease-in-out infinite; color: var(--gold) !important; }
.top-phone-text { display: flex; flex-direction: column; line-height: 1.05; }
.top-phone-text small { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .9; }
.top-phone-text strong { font-size: 1.22rem; font-weight: 800; letter-spacing: .02em; font-family: var(--font-body); }
@keyframes phone-pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes phone-ring { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(-16deg); } 70% { transform: rotate(14deg); } 76% { transform: rotate(-10deg); } 82% { transform: rotate(8deg); } }
#top-bar a.top-bar-upload { display: inline-flex; align-items: center; gap: 6px; border-radius: 40px; padding: 7px 16px; }
@media (max-width: 575px) {
  .top-bar-row { justify-content: center; }
  .top-bar-actions { margin: 0 auto; }
  .top-phone-text strong { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .top-phone-icon::after, .top-phone-icon i { animation: none; } }

/* ---- Navbar: submenu caret ---- */
.navbar .dropdown-toggle::after { display: none !important; }
.navbar-nav .nav-link.dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; }
.navbar-nav .nav-link.dropdown-toggle::after {
  display: block !important; content: ''; position: absolute; bottom: 0; left: 14px; right: 14px; height: 3px;
  background: var(--blue); transform: scaleX(0); transition: transform var(--transition); border: 0; margin: 0;
}
.navbar-nav .nav-link.dropdown-toggle:hover::after { transform: scaleX(1); }
.nav-caret { font-size: .7rem; transition: transform var(--transition); -webkit-text-stroke: .6px; }
.navbar .dropdown:hover .nav-caret, .navbar .dropdown.show .nav-caret, .nav-link.show .nav-caret { transform: rotate(180deg); }
.dropdown-item { position: relative; transition: padding var(--transition), color var(--transition), background var(--transition); }
.dropdown-item:hover { padding-left: 26px; color: var(--blue); background: rgba(0,102,204,.06); }
@media (max-width: 991px) {
  .navbar-nav .nav-link.dropdown-toggle { justify-content: space-between; width: 100%; }
  .navbar-nav .nav-link.dropdown-toggle::after { display: none !important; }
}

/* ---- Inner page banner: clear photo, readable text panel ---- */
.page-banner { min-height: 400px; padding: 80px 0 64px; background-color: var(--navy); }
.page-banner.has-image .page-banner-overlay {
  background:
    linear-gradient(180deg, rgba(10,22,40,.10) 0%, rgba(10,22,40,0) 40%, rgba(10,22,40,.35) 100%),
    rgba(13,43,78, var(--banner-overlay, .35));
}
.page-banner:not(.has-image) .page-banner-overlay { opacity: 1; background: radial-gradient(circle at 80% 20%, rgba(0,128,255,.35), transparent 55%); }
.page-banner-panel {
  display: inline-block; max-width: 900px; padding: 26px 40px 28px;
  background: rgba(10,22,40,.55); border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.page-banner:not(.has-image) .page-banner-panel { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
.page-banner .breadcrumb { background: rgba(255,255,255,.1); margin-bottom: 14px; }
.page-banner-title { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.page-banner .divider-gold { margin: 14px auto 14px; }
.page-banner-intro, .page-banner-intro p { text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.page-banner-post .page-banner-title { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.post-banner-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: .98rem !important; }
.post-banner-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-banner-meta i { color: var(--gold-light); }
@media (max-width: 767px) {
  .page-banner { min-height: 300px; padding: 46px 0 40px; }
  .page-banner-panel { padding: 18px 18px 20px; border-radius: 14px; }
}

/* ---- Forms: clear, solid inputs everywhere ---- */
.lead-form .form-label, .lead-form legend.form-label { font-size: .9rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 7px; }
.lead-form .req { color: var(--gold-light); margin-left: 2px; }
.lead-form-light .req { color: var(--gold); }
.lead-form .form-control, .lead-form .form-select, .lead-form .input-group-text {
  background-color: #fff; color: var(--text-dark); border: 1.5px solid #c9d6e8; border-radius: 8px;
  padding: 13px 16px; font-size: 1rem; box-shadow: 0 1px 2px rgba(13,43,78,.05);
}
.lead-form .form-select { padding-right: 40px; }
.lead-form .form-select option { background: #fff; color: var(--text-dark); }
.lead-form .form-control::placeholder { color: #8796ad; opacity: 1; }
.lead-form .form-control:focus, .lead-form .form-select:focus {
  background-color: #fff; color: var(--text-dark); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,102,204,.18);
}
.lead-form .input-group-text { color: var(--blue); padding: 0 14px; border-right: 0; border-radius: 8px 0 0 8px; }
.lead-form .input-budget .form-control { border-left: 0; border-radius: 0 8px 8px 0 !important; }
.contact-section .lead-form .form-select, .contact-section .lead-form .form-select:invalid { color: var(--text-dark); }
.lead-form-dark .form-label, .lead-form-dark legend.form-label { color: #fff; }
.lead-form .invalid-feedback { color: #ff9a9a; font-weight: 600; font-size: .84rem; }
.lead-form-light .invalid-feedback { color: var(--gold); }
.lead-form.was-validated .form-control:invalid, .lead-form.was-validated .form-select:invalid { border-color: var(--gold) !important; background-image: none; box-shadow: 0 0 0 3px rgba(193,18,31,.15); }
.lead-form.was-validated .form-control:valid, .lead-form.was-validated .form-select:valid { border-color: #2e9d62; background-image: none; }
.check-group { border: 0; padding: 0; margin: 0; }
.check-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pill {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; user-select: none;
  padding: 10px 16px; border-radius: 40px; font-weight: 600; font-size: .93rem;
  background: #fff; color: var(--text-dark); border: 1.5px solid #c9d6e8; transition: all .2s ease;
}
.check-pill i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #a9b8cf; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; color: transparent; transition: all .2s ease; }
.check-pill:hover { border-color: var(--blue); }
.btn-check:checked + .check-pill { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(0,102,204,.3); }
.btn-check:checked + .check-pill i { background: #fff; border-color: #fff; color: var(--blue); }
.btn-check:focus-visible + .check-pill { outline: 3px solid rgba(0,102,204,.35); outline-offset: 2px; }
.check-group .check-feedback { display: none; margin-top: 8px; }
.check-group.is-invalid .check-feedback { display: block; }
.check-group.is-invalid .check-pill { border-color: var(--gold); }
.lead-privacy { margin: 12px 0 0; text-align: center; font-size: .84rem; color: var(--text-muted); }
.lead-form-dark .lead-privacy { color: rgba(255,255,255,.65); }
.lead-form .lead-submit { padding: 16px; font-size: 1.02rem; border-radius: 8px; }
.lead-form .g-recaptcha { transform-origin: left top; }
@media (max-width: 380px) { .lead-form .g-recaptcha { transform: scale(.88); } }
.contact-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.contact-notice { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-left: 4px solid var(--gold-light); color: #fff; }

/* ---- Testimonials: equal boxes + read more ---- */
.testimonial-card { display: flex; flex-direction: column; width: 100%; margin: 0; padding: 30px 30px 26px; min-height: 360px; background: rgba(255,255,255,.08); }
.testimonial-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.testimonial-quote { margin: 0; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--gold-light); opacity: 1; }
.testimonial-stars { color: #ffc94d; font-size: .9rem; letter-spacing: 2px; }
.testimonial-text { flex: 1; margin: 0 0 6px; }
.testimonial-text p { margin: 0; color: rgba(255,255,255,.9); font-size: 1.02rem; line-height: 1.75; }
.testimonial-text.is-clamped p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.testimonial-more { align-self: flex-start; background: none; border: 0; padding: 4px 0; margin-bottom: 14px; color: var(--gold-light); font-weight: 700; font-size: .88rem; letter-spacing: .05em; text-transform: uppercase; }
.testimonial-more:hover { color: #fff; }
.testimonial-more i { transition: transform var(--transition); }
.testimonial-more:hover i { transform: translateX(4px); }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; margin: 0; border: 2px solid rgba(255,255,255,.4); }
.testimonial-initial { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--gradient-gold); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.testimonial-company { font-family: var(--font-display); font-size: 1.08rem; color: #fff; margin: 0; }
.testimonial-author-name { font-size: .88rem; color: rgba(255,255,255,.75); font-weight: 600; }
.testimonial-author-role { color: rgba(255,255,255,.55); font-weight: 400; }
.testimonial-modal .modal-content { border: 0; border-radius: 16px; overflow: hidden; }
.testimonial-modal .modal-header { background: var(--gradient-main); border: 0; padding: 18px 24px; }
.testimonial-modal .modal-header .btn-close { filter: invert(1); opacity: .9; }
.testimonial-modal .modal-body { padding: 28px 32px 32px; }
.testimonial-modal .tm-company { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); margin-bottom: 14px; }
.testimonial-modal .tm-text { font-size: 1.08rem; line-height: 1.85; color: var(--text-body); }
.testimonial-modal .tm-person { margin: 20px 0 0; font-weight: 700; color: var(--navy); border-top: 1px solid var(--light-gray); padding-top: 14px; }
.testimonial-modal .tm-person span { display: block; font-weight: 400; color: var(--text-muted); font-size: .92rem; }

/* ---- Infinite scroll loader ---- */
.lm-sentinel { text-align: center; padding: 30px 0 0; color: var(--text-muted); font-size: .9rem; font-weight: 600; }
.testimonials-section .lm-sentinel { color: rgba(255,255,255,.7); }

/* ---- Pagination ---- */
.pager-wrap { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.site-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pager-link, .pager-gap {
  min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 10px; font-weight: 700; font-size: .95rem;
}
.pager-link { background: #fff; color: var(--navy); border: 1.5px solid var(--light-gray); box-shadow: 0 2px 8px rgba(13,43,78,.06); }
a.pager-link:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.pager-link.active { background: var(--gradient-blue); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(0,102,204,.35); }
.pager-link.disabled { opacity: .45; }
.pager-prev, .pager-next { padding: 0 18px; }
.pager-gap { color: var(--text-muted); min-width: 24px; padding: 0; }
.pager-info { font-size: .85rem; color: var(--text-muted); }
@media (max-width: 575px) { .pager-prev span, .pager-next span { display: none; } .pager-link { min-width: 40px; height: 40px; } }

/* ---- News / blog listing ---- */
.news-section { background: var(--off-white); }
.post-card {
  position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 6px 24px rgba(13,43,78,.08); border: 1px solid #e6edf6; transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(13,43,78,.16); }
.post-card.no-img { border-top: 4px solid var(--blue); }
.post-card.no-img::before { content: '\201C'; position: absolute; right: 20px; top: 0; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: rgba(0,102,204,.07); pointer-events: none; }
.post-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: #e9eff7; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .82rem; color: var(--text-muted); margin-bottom: 12px; }
.post-meta time, .post-meta .post-read { display: inline-flex; align-items: center; gap: 5px; }
.post-cat { display: inline-block; background: rgba(0,102,204,.1); color: var(--blue) !important; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 30px; }
.post-cat:hover { background: var(--blue); color: #fff !important; }
.post-cat-alt { background: rgba(193,18,31,.1); color: var(--gold) !important; }
.post-title { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.32; margin: 0 0 10px; font-weight: 700; }
.post-title a { color: var(--navy); background-image: linear-gradient(var(--blue), var(--blue)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .4s ease, color .3s ease; }
.post-title a:hover { color: var(--blue); background-size: 100% 2px; }
.post-excerpt { color: var(--text-muted); font-size: .98rem; line-height: 1.7; margin: 0 0 14px; flex: 1; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 30px; background: #f0f4fa; color: var(--navy-mid); font-size: .8rem; font-weight: 600; border: 1px solid #e0e8f3; transition: all .2s ease; }
.tag-chip small { color: var(--text-muted); font-weight: 700; font-size: .7rem; }
.tag-chip:hover, .tag-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag-chip:hover small, .tag-chip.active small { color: rgba(255,255,255,.7); }
.post-more { margin-top: auto; align-self: flex-start; color: var(--gold); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.post-more i { transition: transform var(--transition); }
.post-more:hover { color: var(--blue); }
.post-more:hover i { transform: translateX(5px); }
/* featured (first post) */
.post-card.is-featured { margin-bottom: 8px; }
@media (min-width: 768px) {
  .post-card.is-featured.has-img { flex-direction: row; }
  .post-card.is-featured.has-img .post-thumb { flex: 0 0 52%; aspect-ratio: auto; min-height: 340px; }
}
.post-card.is-featured .post-body { padding: 32px 34px; justify-content: center; }
.post-card.is-featured .post-title { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.post-card.is-latest::after { content: 'Latest'; position: absolute; top: 16px; left: 16px; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 30px; box-shadow: 0 4px 14px rgba(193,18,31,.4); }
.post-card.is-latest.no-img::after { left: auto; right: 16px; }
.news-search-note { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--light-gray); border-radius: 12px; padding: 14px 18px; margin-bottom: 24px; }
.news-search-note i { color: var(--blue); }
.news-search-note a { margin-left: auto; font-weight: 700; color: var(--gold); font-size: .9rem; }
.news-archive-intro { background: #fff; border-radius: 14px; padding: 24px 28px; margin-bottom: 30px; border-left: 4px solid var(--blue); }
/* sidebar */
.news-sidebar { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 22px; }
.side-box { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 6px 24px rgba(13,43,78,.07); border: 1px solid #e6edf6; }
.side-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--off-white); position: relative; }
.side-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: var(--gold); }
.side-search form { display: flex; border: 1.5px solid var(--light-gray); border-radius: 40px; overflow: hidden; transition: border-color .2s; }
.side-search form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,102,204,.12); }
.side-search input { flex: 1; border: 0; padding: 12px 18px; outline: none; font-size: .95rem; color: var(--text-dark); min-width: 0; }
.side-search button { border: 0; background: var(--blue); color: #fff; width: 50px; }
.side-call { background: var(--gradient-main); color: #fff; text-align: center; border: 0; position: relative; overflow: hidden; }
.side-call::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -90px; top: -90px; background: rgba(255,255,255,.07); }
.side-call-icon { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--gold-light); }
.side-call h3 { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.side-call p { color: rgba(255,255,255,.75); font-size: .93rem; margin-bottom: 10px; }
.side-call-phone { display: block; font-size: 1.55rem; font-weight: 800; color: #fff; letter-spacing: .02em; }
.side-call-phone:hover { color: var(--gold-light); }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li + li { border-top: 1px dashed #e3eaf3; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 9px 2px; color: var(--text-body); font-weight: 600; font-size: .95rem; }
.side-links a em { font-style: normal; font-size: .75rem; font-weight: 700; background: var(--off-white); color: var(--text-muted); padding: 2px 9px; border-radius: 20px; }
.side-links a:hover, .side-links a.active { color: var(--blue); }
.side-links a.active em { background: var(--blue); color: #fff; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.side-recent { list-style: none; margin: 0; padding: 0; }
.side-recent li { padding: 10px 0; border-top: 1px dashed #e3eaf3; }
.side-recent li:first-child { border-top: 0; padding-top: 0; }
.side-recent a { display: block; color: var(--navy); font-weight: 600; line-height: 1.4; font-size: .95rem; }
.side-recent a:hover { color: var(--blue); }
.side-recent time { display: block; font-size: .78rem; color: var(--text-muted); margin-top: 3px; }
.side-archive details { border-top: 1px dashed #e3eaf3; }
.side-archive details:first-child { border-top: 0; }
.side-archive summary { display: flex; justify-content: space-between; align-items: center; padding: 9px 2px; cursor: pointer; font-weight: 800; color: var(--navy); list-style: none; }
.side-archive summary::-webkit-details-marker { display: none; }
.side-archive summary::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: .7rem; margin-right: 8px; transition: transform .2s; color: var(--blue); }
.side-archive details[open] summary::before { transform: rotate(90deg); }
.side-archive summary a { flex: 1; color: inherit; }
.side-archive summary a.active { color: var(--blue); }
.side-archive summary em { font-style: normal; font-size: .75rem; background: var(--off-white); color: var(--text-muted); padding: 2px 9px; border-radius: 20px; }
.side-archive .side-links { padding-left: 20px; padding-bottom: 6px; }
.side-archive .side-links a { font-weight: 500; font-size: .9rem; padding: 6px 2px; }
@media (max-width: 991px) { .news-sidebar { position: static; margin-top: 10px; } }

/* ---- Single post ---- */
.post-section { background: #fff; }
.post-hero-img { margin: 0 0 28px; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(13,43,78,.14); }
.post-hero-img img { width: 100%; display: block; }
.post-lead { font-size: 1.24rem; line-height: 1.7; color: var(--navy); font-weight: 500; padding: 4px 0 22px 22px; border-left: 4px solid var(--gold); margin-bottom: 26px; }
.post-content { font-size: 1.08rem; line-height: 1.85; }
.post-content h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 1.6em 0 .6em; }
.post-content h3 { font-size: 1.35rem; margin: 1.4em 0 .5em; }
.post-content img { border-radius: 12px; margin: 10px 0; }
.post-content blockquote { border-left: 4px solid var(--blue); background: var(--off-white); padding: 18px 24px; border-radius: 0 12px 12px 0; font-style: italic; }
.post-footer { margin-top: 40px; padding: 22px 0; border-top: 1px solid var(--light-gray); border-bottom: 1px solid var(--light-gray); display: flex; flex-wrap: wrap; gap: 16px 30px; justify-content: space-between; align-items: center; }
.post-footer .post-tags { margin: 0; align-items: center; }
.post-footer-label { font-weight: 800; color: var(--navy); font-size: .88rem; margin-right: 4px; display: inline-flex; align-items: center; gap: 6px; }
.post-share { display: flex; align-items: center; gap: 8px; }
.post-share a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--off-white); color: var(--navy); transition: all .2s ease; }
.post-share a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.post-nav-link { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 14px; background: var(--off-white); border: 1px solid #e3eaf3; transition: all .25s ease; }
.post-nav-link.next { text-align: right; grid-column: 2; }
.post-nav-link small { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.post-nav-link span { color: var(--navy); font-weight: 700; line-height: 1.35; }
.post-nav-link:hover { background: #fff; border-color: var(--blue); box-shadow: 0 10px 30px rgba(13,43,78,.1); }
@media (max-width: 575px) { .post-nav { grid-template-columns: 1fr; } .post-nav-link.next { grid-column: 1; } }
.related-posts { margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--light-gray); }
.related-title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--navy); text-align: center; margin-bottom: 30px; }

/* ---- FAQ single ---- */
.faq-single { background: var(--off-white); }
.faq-answer-card { background: #fff; border-radius: 18px; box-shadow: 0 10px 40px rgba(13,43,78,.08); overflow: hidden; border: 1px solid #e6edf6; }
.faq-answer-q { display: flex; gap: 16px; align-items: flex-start; padding: 26px 30px; background: linear-gradient(135deg, #f4f8fd, #fff); border-bottom: 1px solid #e6edf6; }
.faq-answer-q h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--navy); margin: 4px 0 0; line-height: 1.3; }
.faq-answer-a { display: flex; gap: 16px; align-items: flex-start; padding: 26px 30px 30px; }
.faq-answer-a .faq-answer { flex: 1; font-size: 1.08rem; line-height: 1.85; }
.faq-badge { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--gradient-blue); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,102,204,.3); }
.faq-badge-a { background: var(--gradient-gold); box-shadow: 0 6px 16px rgba(193,18,31,.3); }
.faq-cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding: 22px 26px; border-radius: 16px; background: var(--gradient-main); color: #fff; }
.faq-cta-inline strong { display: block; font-family: var(--font-display); font-size: 1.25rem; }
.faq-cta-inline span { color: rgba(255,255,255,.75); }
.faq-related a { display: flex !important; gap: 8px; }
.faq-related a i { color: var(--blue); margin-top: 3px; }
.faq-more { font-weight: 700; color: var(--blue); }

/* ---- General polish for inner pages ---- */
.section-pad { padding: 90px 0; }
@media (max-width: 767px) { .section-pad { padding: 60px 0; } }
.section-title { letter-spacing: -.01em; }
.feature-card, .package-card, .contact-card, .gallery-card, .accordion-item { will-change: transform; }
.gallery-card { border-radius: 14px; overflow: hidden; }
.gallery-card .gallery-thumb img { transition: transform .7s ease; }
.gallery-card:hover .gallery-thumb img { transform: scale(1.06); }
.faq-accordion .accordion-item { border-radius: 12px !important; overflow: hidden; margin-bottom: 12px; border: 1px solid #e3eaf3; box-shadow: 0 4px 16px rgba(13,43,78,.05); }
.faq-accordion .accordion-button { font-weight: 700; color: var(--navy); }
.faq-accordion .accordion-button:not(.collapsed) { background: linear-gradient(90deg, rgba(0,102,204,.08), transparent); color: var(--blue); box-shadow: none; }
.legacy-content a:not([class]) { text-decoration: underline; text-decoration-color: rgba(0,102,204,.35); text-underline-offset: 3px; }
.legacy-content a:not([class]):hover { text-decoration-color: var(--blue); }
::selection { background: rgba(0,102,204,.18); }

/* ---- Overflow guards ---- */
html, body { overflow-x: clip; }
.navbar-brand { flex-shrink: 0; max-width: 214px; overflow: hidden; }
.navbar-brand img { max-width: 100%; overflow: hidden; }
@media (min-width: 992px) and (max-width: 1399px) {
  .navbar-nav .nav-link { padding: 28px 9px !important; font-size: .8rem; letter-spacing: .03em; }
  .navbar-nav .nav-link::after { left: 9px; right: 9px; }
  .navbar-nav .nav-link.nav-cta { padding: 10px 16px !important; margin-left: 8px !important; }
  .navbar-brand { max-width: 180px; }
  .navbar-brand img { height: 62px; }
}
@media (min-width: 1400px) { .navbar-nav .nav-link { padding: 28px 12px !important; } }
@media (max-width: 575px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
.post-card.no-img::before { display: none; }
/* testimonials – equal boxes */
.testimonial-text { flex: 0 0 auto; height: calc(1.02rem * 1.75 * 6); overflow: hidden; }
.testimonial-more, .testimonial-more-space { display: block; height: 32px; margin-bottom: 12px; }
.testimonial-card .testimonial-company { font-family: var(--font-display); text-transform: none; letter-spacing: 0; font-size: 1.08rem; line-height: 1.3; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.testimonial-author { min-height: 92px; }
.contact-section .contact-icon { background: rgba(255,255,255,.12); color: var(--gold-light); border: 1px solid rgba(255,255,255,.18); }
.contact-section .contact-info-label { color: rgba(255,255,255,.65); }
.lead-form .form-control, .lead-form .form-select, .lead-form .check-group { scroll-margin-top: 150px; }
.post-card.is-featured .post-title { font-size: clamp(1.3rem, 1.9vw, 1.6rem); }
.post-card.is-featured .post-excerpt { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.post-excerpt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; flex: 0 0 auto; }
.post-body .post-tags { margin-top: auto; }
.post-body .post-tags + .post-more { margin-top: 0; }

/* ==========================================================================
   v5 – clear banners, white text on dark, back to top, image ratio
   ========================================================================== */

/* ---- Banner: photo stays visible, text panel is light glass ---- */
.page-banner.has-image .page-banner-overlay {
  background:
    linear-gradient(180deg, rgba(10,22,40,.25) 0%, rgba(10,22,40,0) 30%, rgba(10,22,40,0) 70%, rgba(10,22,40,.3) 100%),
    rgba(13,43,78, var(--banner-overlay, .15));
}
.page-banner-panel {
  background: rgba(10,22,40,.32);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
.page-banner-title { text-shadow: 0 2px 4px rgba(0,0,0,.55), 0 4px 24px rgba(0,0,0,.45); }
.page-banner-intro, .page-banner-intro p, .post-banner-meta { text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.page-banner .breadcrumb { background: rgba(10,22,40,.35); }

/* ---- White text on every dark background ---- */
#top-bar, #top-bar a, #top-bar span, .top-bar-info a, .top-bar-info span, .top-bar-tagline,
footer[role="contentinfo"], footer[role="contentinfo"] p, footer[role="contentinfo"] li, footer[role="contentinfo"] span,
footer[role="contentinfo"] a, footer[role="contentinfo"] div, footer[role="contentinfo"] address,
.page-banner, .page-banner a, .page-banner p, .page-banner span, .page-banner li, .page-banner .breadcrumb-item, .page-banner .breadcrumb-item.active,
.hero-section, .hero-section p, .hero-section span, .hero-section a:not(.btn-gold):not(.btn-outline-gold), .hero-subtitle,
.stats-section, .stats-section .stat-label, .stats-section .stat-number, .stats-section p,
.testimonials-section, .testimonials-section p, .testimonials-section span, .testimonials-section div, .testimonials-section .section-label,
.testimonial-text p, .testimonial-author-name, .testimonial-author-role, .testimonial-more,
.contact-section, .contact-section p, .contact-section span:not(.req), .contact-section label, .contact-section legend, .contact-section a:not(.btn-gold),
.contact-info-label, .contact-card-text, .lead-form-dark .lead-privacy,
.bg-navy, .bg-navy p, .bg-navy li, .bg-navy span, .bg-navy a:not([class*="btn"]), .bg-navy .section-label, .bg-navy .section-text,
.content-section.bg-navy p, .content-section.bg-navy .section-text, .content-section.bg-navy .qp-label,
.cta-band, .cta-band p, .cta-band span, .side-call, .side-call p, .side-call a:not(.btn-gold), .faq-cta-inline, .faq-cta-inline span,
.quote-phone, .quote-phone p, .quote-phone span, .qp-label, .not-found, .not-found p {
  color: #fff;
}
/* red accents → white with a red marker, so nothing on navy is red/grey text */
.testimonials-section .section-label, .contact-section .section-label, .bg-navy .section-label, .stats-section .section-label,
.hero-section .section-label, .content-section.bg-navy .section-label, .cta-band .section-label {
  color: #fff !important;
}
.footer-heading { color: #fff !important; }
.footer-heading::after { background: var(--gold-light); }
.stats-section .stat-number { color: #fff !important; text-shadow: 0 0 22px rgba(255,255,255,.18); }
.hero-section a[href^="tel:"] { color: #fff !important; font-weight: 800; }
.testimonial-more { color: #fff !important; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-light); }
.testimonial-more:hover { text-decoration-color: #fff; }
.page-banner .breadcrumb-item.active { font-weight: 700; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.85); }
footer[role="contentinfo"] a:hover, .bg-navy a:not([class*="btn"]):hover, .side-call a:not(.btn-gold):hover,
.hero-section a:not(.btn-gold):not(.btn-outline-gold):hover, .contact-section a:not(.btn-gold):hover { color: var(--gold-light) !important; }
.lead-form-dark .invalid-feedback { color: #ffd2d2; }
.lead-form-dark .req { color: #ffb3b3; }
/* form fields stay dark text on white */
.contact-section .lead-form .form-control, .contact-section .lead-form .form-select, .contact-section .lead-form .check-pill,
.contact-section .lead-form .input-group-text, .contact-section .lead-form .check-pill span { color: var(--text-dark); }
.contact-section .lead-form .btn-check:checked + .check-pill { color: #fff; }

/* ---- Content images: never squeezed (CKEditor saves fixed width/height) ---- */
.legacy-content img, .page-content img, .post-content img, .faq-answer img {
  max-width: 100% !important; height: auto !important; object-fit: contain;
}
.legacy-content img[style*="width"], .post-content img[style*="width"] { width: auto; }
.legacy-content .alignleft { float: left; margin: 6px 24px 14px 0; }
.legacy-content .alignright { float: right; margin: 6px 0 14px 24px; }
.legacy-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.legacy-content::after { content: ''; display: table; clear: both; }
@media (max-width: 575px) { .legacy-content .alignleft, .legacy-content .alignright { float: none; margin: 10px auto; display: block; } }
.legacy-content iframe, .legacy-content video { max-width: 100%; }
.legacy-content iframe[src*="youtube"], .legacy-content iframe[src*="vimeo"], .legacy-content iframe[src*="rumble"] { width: 100%; height: auto; aspect-ratio: 16/9; }

/* ---- Back to top ---- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-gold); color: #fff; font-size: 1.9rem;
  box-shadow: 0 10px 26px rgba(193,18,31,.4), 0 0 0 4px rgba(255,255,255,.85);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: #fff; transform: translateY(-3px); background: var(--gradient-blue); }
@media (max-width: 575px) { .back-to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; } }
.side-call-title { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.page-banner .breadcrumb a, .page-banner .breadcrumb-item a { color: #fff !important; }
.bg-navy .section-text, .bg-navy p, .content-section.bg-navy .section-text, .content-section.bg-navy p { color: #fff !important; }
.contact-section .contact-info-label, .contact-info-label { color: #fff !important; opacity: .92; }
#top-bar .top-bar-tagline, #top-bar .top-bar-info a { color: #fff !important; }
.testimonials-section .lm-sentinel { color: #fff; }
.services-section .section-label, .services-tabs-section .section-label, section[class*="services"] .section-label { color: #fff !important; }
.services-bg .section-label, .services-bg .section-label.text-gold-light, .services-bg p:not(.tab-pane p) { color: #fff !important; }
#top-bar a.top-bar-upload, #top-bar a.top-bar-upload span, #top-bar a.top-bar-upload i { color: var(--blue) !important; }
#top-bar a.top-bar-upload:hover, #top-bar a.top-bar-upload:hover span, #top-bar a.top-bar-upload:hover i { color: var(--navy) !important; }
footer[role="contentinfo"] .footer-social a, footer[role="contentinfo"] .footer-social a i, footer[role="contentinfo"] [class*="social"] a i { color: #fff !important; }
footer[role="contentinfo"] [class*="social"] a:hover { background: var(--gold) !important; }
footer[role="contentinfo"] .contact-icon, footer[role="contentinfo"] .contact-icon i { color: #fff !important; }
footer[role="contentinfo"] .contact-icon:hover { background: var(--gold) !important; border-color: var(--gold) !important; }
