/* =============================================
   Prime Venue Services — Global Stylesheet
   Inspired by Merry Maids design language
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:        #0d1627;
  --blue:        #265f94;
  --blue-hover:  #1e4f7e;
  --blue-light:  #e8f1f9;
  --white:       #ffffff;
  --grey-light:  #f5f7fa;
  --grey-mid:    #e2e8f0;
  --grey:        #64748b;
  --text:        #1a2332;
  --header-height: 100px;
  --radius:      10px;
  --radius-lg:   18px;
  --shadow:      0 4px 24px rgba(13,22,39,0.10);
  --shadow-hover:0 8px 36px rgba(13,22,39,0.18);
  --transition:  0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--grey); line-height: 1.75; }

/* --- Layout --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 90px 0; }
.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38,95,148,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-dark:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 20px 48px; font-size: 1.1rem; }

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.logo img {
  height: 82px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}
.phone-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.phone-link:hover { color: var(--white); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--navy);
  padding-top: var(--header-height);
  padding-bottom: 0;
}
.hero > .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - var(--header-height));
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(13,22,39,0.82) 0%,
    rgba(13,22,39,0.50) 18%,
    rgba(13,22,39,0.10) 35%,
    rgba(13,22,39,0.0) 42%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 60px 0;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 32px;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: 1.06;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  text-align: center;
  width: 100%;
}
.hero h1 em {
  color: #5ba3d9;
  font-style: normal;
}
.hero > .container > .hero-content > p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  margin-bottom: 36px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(38,95,148,0.25);
  border: 1px solid rgba(38,95,148,0.5);
  color: #7eb8e8;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge span { color: var(--white); }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { color: #5ba3d9; font-style: normal; }
.hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}
.hero-stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-visual {
  position: absolute;
  right: 0; top: 100px; bottom: 0;
  width: 44%;
  background: linear-gradient(to bottom, rgba(38,95,148,0.15), rgba(13,22,39,0.6));
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, transparent 50%);
  z-index: 1;
}
.hero-card {
  position: absolute;
  bottom: 60px;
  right: 40px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  z-index: 2;
  min-width: 240px;
}
.hero-card-icon {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.hero-card h4 { color: var(--white); margin-bottom: 4px; }
.hero-card p { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.service-card-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,22,39,0.92) 0%, rgba(13,22,39,0.40) 55%, rgba(13,22,39,0.06) 100%);
  transition: background 0.35s ease;
  z-index: 1;
}
.service-card:hover .service-card-img { transform: scale(1.06); }
.service-card:hover::after {
  background: linear-gradient(to top, rgba(38,95,148,0.94) 0%, rgba(13,22,39,0.55) 60%, rgba(13,22,39,0.10) 100%);
}
.service-card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg { color: var(--white); }
.service-card h3 { color: var(--white); margin-bottom: 5px; font-size: 1.05rem; font-weight: 700; }
.service-card-link {
  color: rgba(255,255,255,0.60);
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease, gap 0.2s ease;
  text-transform: uppercase;
}
.service-card:hover .service-card-link { color: var(--white); gap: 9px; }

/* --- Why Us --- */
.why-us { background: var(--grey-light); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-content .section-header { margin-bottom: 36px; }
.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-item-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  margin-top: 2px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(38,95,148,0.25);
}
.why-item-icon svg { color: var(--white); }
.why-item h4 { color: var(--text); margin-bottom: 4px; font-size: 1rem; }
.why-item p { font-size: 0.88rem; color: var(--grey); line-height: 1.6; }
.why-visual {
  position: relative;
}
.why-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Photo Strip --- */
.photo-strip {
  padding: 0;
  overflow: hidden;
}
.photo-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 280px;
}
.photo-strip-item {
  overflow: hidden;
  position: relative;
}
.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.photo-strip-item:hover img {
  transform: scale(1.06);
}
.photo-strip-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,22,39,0.18);
  transition: background var(--transition);
}
.photo-strip-item:hover::after {
  background: rgba(13,22,39,0.05);
}

.why-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.why-badge strong { font-size: 2.2rem; font-weight: 800; display: block; }
.why-badge span { font-size: 0.8rem; opacity: 0.85; }

/* --- Join Our Team (Recruitment) --- */
.recruitment {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.recruitment::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(38,95,148,0.25) 0%, transparent 70%);
}
.recruitment-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.recruitment h2 { color: var(--white); }
.recruitment p { color: rgba(255,255,255,0.70); margin-bottom: 36px; }
.perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.perk-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all var(--transition);
}
.perk-card:hover {
  background: rgba(38,95,148,0.2);
  border-color: rgba(38,95,148,0.5);
}
.perk-icon {
  width: 38px; height: 38px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.perk-icon svg { color: var(--white); }
.perk-card h4 { color: var(--white); margin-bottom: 6px; font-size: 0.95rem; }
.perk-card p { color: rgba(255,255,255,0.55); font-size: 0.84rem; }

/* --- Process Steps --- */
.process-section {
  background: var(--grey-light);
  padding: 80px 0;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--navy));
  opacity: 0;
  transition: opacity var(--transition);
}
.step:hover::before { opacity: 1; }
.step:hover {
  box-shadow: 0 8px 32px rgba(13,22,39,0.1);
  transform: translateY(-4px);
  border-color: transparent;
}
.step-ghost {
  position: absolute;
  top: -10px; right: 12px;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(13,22,39,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.step-number { display: none; }
.step-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(38,95,148,0.28);
}
.step-icon svg { color: var(--white); }
.step h3 { margin-bottom: 8px; font-size: 1rem; color: var(--text); }
.step p { font-size: 0.87rem; color: var(--grey); line-height: 1.65; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  border: 1px solid var(--grey-mid);
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px; right: 24px;
  font-size: 8rem;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.08;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(13,22,39,0.1);
  transform: translateY(-4px);
  border-color: var(--blue);
}
.stars { color: #f59e0b; font-size: 1.05rem; margin-bottom: 18px; letter-spacing: 3px; }
.testimonial-card p { font-size: 0.95rem; color: var(--text); margin-bottom: 28px; font-style: italic; line-height: 1.75; }
.reviewer { display: flex; align-items: flex-start; flex-direction: column; gap: 4px; margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--blue); border-top-width: 2px; border-image: linear-gradient(90deg, var(--blue), transparent) 1; }
.reviewer-avatar { display: none; }
.reviewer-info strong { font-size: 0.9rem; display: block; color: var(--navy); font-weight: 700; }
.reviewer-info span { font-size: 0.75rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 500; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--blue);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.80); font-size: 1.05rem; margin-bottom: 36px; }
.cta-banner .btn-group { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { color: var(--blue); }
.contact-item h4 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey); margin-bottom: 3px; }
.contact-item p { font-size: 0.95rem; color: var(--text); font-weight: 500; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}
.form-tabs {
  display: flex;
  background: var(--grey-light);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 32px;
}
.form-tab {
  flex: 1;
  padding: 10px 16px;
  border-radius: 100px;
  border: none;
  background: none;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--grey);
  transition: all var(--transition);
  font-family: inherit;
}
.form-tab.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(38,95,148,0.10);
}
textarea { resize: vertical; min-height: 120px; }
select { color: var(--text); }
select option[value=""] { color: #9ca3af; }
select:invalid, select option:not(:checked) { color: var(--text); }
input::placeholder, textarea::placeholder { color: #9ca3af; }
select.placeholder { color: #9ca3af; }
.form-help {
  margin: -2px 0 10px;
  font-size: 0.82rem;
  color: #6b7280;
}
.availability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.availability-grid--days {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.availability-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  padding: 13px 14px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.availability-option:hover {
  border-color: rgba(38,95,148,0.35);
  background: rgba(38,95,148,0.03);
}
.availability-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
  flex: 0 0 auto;
}
.availability-option span {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
}
.availability-option:has(input:checked) {
  border-color: var(--blue);
  background: rgba(38,95,148,0.08);
  box-shadow: 0 0 0 3px rgba(38,95,148,0.08);
}
.form-submit { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }
.form-note { font-size: 0.8rem; color: var(--grey); text-align: center; margin-top: 12px; }

/* --- Locations --- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.location-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.location-map {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-map svg { opacity: 0.25; width: 80px; height: 80px; color: var(--white); }
.location-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 8px 20px;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.location-body { padding: 28px; }
.location-body h3 { margin-bottom: 8px; }
.location-body p { font-size: 0.9rem; margin-bottom: 16px; }
.location-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--grey);
  margin-bottom: 8px;
}
.location-detail svg { color: var(--blue); flex-shrink: 0; }

/* --- Team / About --- */
.about-hero {
  background: var(--navy);
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
}
.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23265f94' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.about-hero .container { position: relative; z-index: 1; }
.about-hero h1 { color: var(--white); margin-bottom: 20px; }
.about-hero p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 600px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.value-icon {
  width: 64px; height: 64px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.value-icon svg { color: var(--blue); }
.value-card h3 { margin-bottom: 10px; }

.stats-band {
  background: var(--navy);
  padding: 70px 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background-image: url('banner.jpg?v=20260518');
  background-size: cover;
  background-position: center 40%;
  padding: 140px 0 70px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,22,39,0.62) 0%, rgba(13,22,39,0.45) 100%);
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23265f94' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.70); font-size: 1.05rem; max-width: 560px; }

/* --- Footer --- */
/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  padding: 72px 0 0;
  border-top: 3px solid var(--blue);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.3fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-brand img {
  width: 158px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}
.footer-brand p {
  color: rgba(255,255,255,0.58);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0;
  max-width: 330px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 22px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul li { margin: 0; }
.footer-col ul li a,
.footer-col ul li span {
  color: rgba(255,255,255,0.6);
  font-size: 0.93rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-list li:first-child a {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.footer-contact-list a[href^="mailto"] {
  overflow-wrap: anywhere;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 0.81rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.5;
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }
.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-links span {
  color: rgba(255,255,255,0.42);
  font-size: 0.81rem;
}

/* --- Divider --- */
.divider {
  width: 60px; height: 4px;
  background: var(--blue);
  border-radius: 2px;
  margin: 16px 0 28px;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-grey { background: var(--grey-light); }
.bg-navy { background: var(--navy); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* --- Trust Bar --- */
.trust-bar {
  background: var(--navy);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-item svg { color: var(--blue); flex-shrink: 0; }

/* --- Service Nav Pills --- */
.service-pill {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 100px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white) !important;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.service-pill:hover {
  background: var(--white);
  color: var(--blue) !important;
  border-color: var(--white);
  transform: translateY(-1px);
}

/* --- Mobile / Responsive --- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .recruitment-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1.1fr; gap: 32px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-item { border-right: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav-links { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
  .nav-links.open { display: flex; }
  .nav-links a { color: rgba(255,255,255,0.85); }
  .nav-links a:hover, .nav-links a.active { color: var(--white); }
  .nav-toggle { display: flex; }
  .phone-link { display: none; }
  .hero-visual { display: none; }
  .nav-cta .btn { display: none; }
  .hero {
    min-height: 100svh;
    align-items: center;
  }
  .hero-video {
    object-position: center center;
  }
  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(13,22,39,0.82) 0%,
      rgba(13,22,39,0.55) 50%,
      rgba(13,22,39,0.20) 100%
    );
  }
  .hero > .container {
    width: 100%;
    max-width: 100%;
    min-height: calc(100svh - var(--header-height));
    padding: 0 24px;
    align-items: center;
    justify-content: center;
  }
  .hero-content {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
    transform: none;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 10.5vw, 3.6rem);
    margin-bottom: 12px;
    line-height: 1.1;
  }
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .hero-actions .btn {
    width: auto;
    max-width: none;
    padding: 11px 18px;
    font-size: 0.82rem;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { text-align: center; }
  .contact-info .divider { margin-left: auto; margin-right: auto; }
  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .availability-grid { grid-template-columns: 1fr; }
  .availability-grid--days { grid-template-columns: 1fr; }
  /* Footer: single column stack, centred */
  .site-footer { padding-top: 52px; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 44px;
    text-align: center;
  }
  .footer-brand img {
    width: clamp(120px, 32vw, 158px);
    margin: 0 auto 18px;
  }
  .footer-brand p {
    display: block;
    margin: 0 auto;
    max-width: 360px;
  }
  .footer-col ul { align-items: center; }
  .footer-contact-list a[href^="mailto"] {
    overflow-wrap: anywhere;
    font-size: clamp(0.72rem, 3.2vw, 0.93rem);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 18px 0;
  }
  .footer-links { gap: 16px; }
  .perks-grid { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .photo-strip-grid { grid-template-columns: 1fr 1fr; height: 360px; }

  /* ---- STATS BAND: blue background + compact height (matches services strip) ---- */
  .stats-band { background: var(--blue); padding: 12px 0; }

  /* ---- TEXT OVERFLOW PROTECTION ---- */
  h1, h2, h3 { overflow-wrap: break-word; word-break: break-word; }
  .stat-item span { white-space: normal !important; }

  /* ---- PAGE HERO: hide paragraph on mobile ---- */
  .page-hero p { display: none; }

  /* ---- TRUST BAR ---- */
  .trust-bar { padding: 14px 0; }
  .trust-items { gap: 16px; }
  .trust-item { font-size: 0.78rem; gap: 7px; }

  /* ---- SERVICE PILLS ---- */
  .service-pill { padding: 8px 16px; font-size: 0.82rem; }

  /* ---- CAROUSEL DOTS ---- */
  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-bottom: 4px;
  }
  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grey-mid);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
  }
  .carousel-dot.active {
    background: var(--blue);
    transform: scale(1.45);
  }
  /* Dots on dark (navy) backgrounds */
  .carousel-dots--dark .carousel-dot { background: rgba(255,255,255,0.28); }
  .carousel-dots--dark .carousel-dot.active {
    background: rgba(255,255,255,0.95);
    transform: scale(1.45);
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero .btn-lg { width: auto; }
}

/* =======================================================
   TEST IMPROVEMENTS — ANIMATIONS & LAYOUT REWORK
   ======================================================= */

/* --- Solid nav (home page only) --- */
.site-header { transition: box-shadow 0.45s ease; }

/* --- Hero entrance animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1         { animation: fadeUp 1s ease 0.3s both; }
.hero-actions    { animation: fadeUp 0.9s ease 0.6s both; }

/* --- Hero overlay — centred layout, darken left-to-right --- */
.hero-overlay {
  background: linear-gradient(
    to right,
    rgba(13,22,39,0.82) 0%,
    rgba(13,22,39,0.50) 40%,
    rgba(13,22,39,0.10) 70%,
    rgba(13,22,39,0.00) 100%
  );
}

/* --- Scroll indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.40);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: scrollBounce 2.4s ease-in-out infinite;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: none; }

/* Staggered grid reveal */
.reveal-group > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-group.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.00s; }
.reveal-group.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.05s; }
.reveal-group.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.10s; }
.reveal-group.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.15s; }
.reveal-group.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.20s; }
.reveal-group.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.25s; }

/* Values grid: fade only — no vertical movement avoids clip/reflow inside overflow:hidden sections */
.values-grid.reveal-group > * {
  opacity: 0;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);

}
.values-grid.reveal-group.visible > *:nth-child(1) { opacity:1; transition-delay:0.00s; }
.values-grid.reveal-group.visible > *:nth-child(2) { opacity:1; transition-delay:0.12s; }
.values-grid.reveal-group.visible > *:nth-child(3) { opacity:1; transition-delay:0.24s; }
.values-grid.reveal-group.visible > *:nth-child(4) { opacity:1; transition-delay:0.36s; }

/* --- Stats strip (home page) --- */
.trust-bar { display: none; }

.stats-strip {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-strip-item {
  padding: 40px 24px;
  text-align: center;
  transition: background 0.3s ease;
  cursor: default;
}
.stats-strip-item:hover { background: rgba(91,163,217,0.05); }
.stat-value {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-suffix { font-size: 0.52em; color: #5ba3d9; font-weight: 700; }
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 500;
}

/* --- Featured service card (spans 2 cols) --- */
.service-card--featured {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

/* --- Why section: full-bleed split --- */
.why-section { padding: 0; overflow: hidden; }
.why-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}
.why-section-left {
  position: relative;
  overflow: hidden;
}
.why-section-left img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s ease;
}
.why-section:hover .why-section-left img { transform: scale(1.04); }
.why-section-badge {
  position: absolute;
  bottom: 40px; right: 0;
  background: var(--blue);
  color: var(--white);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: -6px 8px 32px rgba(0,0,0,0.28);
}
.why-section-badge svg { flex-shrink: 0; color: rgba(255,255,255,0.80); }
.why-section-badge strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--white); }
.why-section-badge span  { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.why-section-right {
  background: var(--grey-light);
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-section-right h2 { margin-top: 12px; margin-bottom: 16px; }
.why-section-right > p { margin-bottom: 36px; }

/* --- Page hero animation (inner pages) --- */
.page-hero .container > * {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}
.page-hero .container > *:nth-child(1) { animation-delay: 0.1s; }
.page-hero .container > *:nth-child(2) { animation-delay: 0.25s; }
.page-hero .container > *:nth-child(3) { animation-delay: 0.40s; }

/* --- Stats band: animated counters --- */
.stats-band .stat-item strong,
.stats-strip-item .stat-value { will-change: contents; }

/* --- Testimonials: dark editorial --- */
.testimonials-section {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(38,95,148,0.20) 0%, transparent 70%);
  pointer-events: none;
}
.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,163,217,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.testimonials-section .section-tag { background: rgba(91,163,217,0.18); color: #89cff5; }
.testimonials-section .testimonial-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.testimonials-section .testimonial-card::before { display: none; }
.testimonials-section .testimonial-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(91,163,217,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.40);
}
.quote-mark {
  font-size: 4rem;
  line-height: 0.9;
  color: #5ba3d9;
  opacity: 0.50;
  font-family: Georgia, serif;
  font-weight: 900;
  margin-bottom: -4px;
  display: block;
}
.testimonials-section .testimonial-card p { color: rgba(255,255,255,0.72); }
.testimonials-section .reviewer-info strong { color: rgba(255,255,255,0.95); }
.testimonials-section .reviewer-info span   { color: rgba(255,255,255,0.45); }

/* --- CTA banner: diagonal clip-path --- */
.cta-banner {
  background: var(--blue);
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  margin: -44px 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before { background: none; }
.cta-banner-pad {
  padding: 130px 0 140px;
  position: relative;
}
.cta-banner-pad::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p  { color: rgba(255,255,255,0.82); }
.cta-banner .container { position: relative; z-index: 2; text-align: center; }
.cta-banner .btn-group { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }


/* =======================================================
   VISUAL UPGRADE — Cards, Hierarchy, Flow
   ======================================================= */

/* ---- Service cards: stronger editorial style ---- */
.service-card--featured {
  grid-column: span 1 !important;
  aspect-ratio: 4/3 !important;
}
.services-grid { gap: 16px; }
.service-card { aspect-ratio: 3/2.3; border-radius: 16px; }

.service-card::after {
  background: linear-gradient(
    to top,
    rgba(13,22,39,0.96) 0%,
    rgba(13,22,39,0.52) 48%,
    rgba(13,22,39,0.00) 100%
  ) !important;
}
.service-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(38,95,148,0.97) 0%,
    rgba(13,22,39,0.65) 55%,
    rgba(13,22,39,0.00) 100%
  ) !important;
}
.service-card-body {
  justify-content: flex-end !important;
  padding: 20px 22px !important;
  gap: 10px;
}
.service-icon {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(10px);
  width: 40px; height: 40px;
  border-radius: 10px;
}
.service-card h3 {
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.01em;
}
.service-card-link {
  font-size: 0.77rem !important;
  color: rgba(255,255,255,0.52) !important;
  letter-spacing: 0.06em !important;
}
.service-card:hover .service-card-link { color: rgba(255,255,255,0.95) !important; }

/* ---- Section tag pill: more refined ---- */
.section-tag {
  background: rgba(38,95,148,0.09) !important;
  color: var(--blue) !important;
  border: 1px solid rgba(38,95,148,0.16) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
  padding: 6px 16px !important;
}

/* ---- Value cards: left-aligned with top accent bar ---- */
.value-card {
  text-align: left !important;
  padding: 36px 32px !important;
  border: 1px solid var(--grey-mid) !important;
  border-top: 3px solid var(--blue) !important;
  background: var(--white) !important;
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 90px; height: 90px;
  background: radial-gradient(circle at bottom right, rgba(38,95,148,0.06), transparent 70%);
  pointer-events: none;
}
.value-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%) !important;
  border-radius: 12px !important;
  margin: 0 0 18px !important;
  box-shadow: 0 4px 14px rgba(38,95,148,0.22);
}
.value-icon svg { color: var(--white) !important; }
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 0.88rem; line-height: 1.72; }

/* ---- Perk cards: cleaner, more presence ---- */
.perk-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-top: 3px solid rgba(91,163,217,0.45) !important;
  padding: 28px 24px !important;
  border-radius: 14px !important;
  transition: all 0.3s ease !important;
}
.perk-card:hover {
  background: rgba(38,95,148,0.16) !important;
  border-color: rgba(91,163,217,0.35) !important;
  border-top-color: #5ba3d9 !important;
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.30);
}
.perk-icon {
  width: 44px; height: 44px;
  background: rgba(91,163,217,0.12) !important;
  border: 1px solid rgba(91,163,217,0.22);
  border-radius: 10px !important;
  margin-bottom: 16px !important;
}
.perk-icon svg { color: #5ba3d9 !important; }
.perk-card h4 { font-size: 1rem !important; font-weight: 700 !important; letter-spacing: -0.01em; }

/* ---- Process steps: dark section, connecting line ---- */
.process-section {
  background: var(--navy) !important;
  padding: 100px 0 !important;
}
.process-section .section-tag {
  background: rgba(91,163,217,0.14) !important;
  color: #89cff5 !important;
  border-color: rgba(91,163,217,0.20) !important;
}
.process-section .section-header h2 { color: var(--white); }
.process-section .section-header p { color: rgba(255,255,255,0.55); }
.process-steps {
  position: relative;
  gap: 20px !important;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 62px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,163,217,0.30) 15%, rgba(91,163,217,0.30) 85%, transparent);
  z-index: 0;
  pointer-events: none;
}
.step {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-top: 3px solid rgba(91,163,217,0.40) !important;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.step::before {
  background: linear-gradient(90deg, #5ba3d9, var(--blue)) !important;
}
.step:hover {
  background: rgba(38,95,148,0.14) !important;
  border-top-color: #5ba3d9 !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35) !important;
}
.step-ghost { color: rgba(255,255,255,0.03) !important; }
.step-icon {
  background: rgba(91,163,217,0.12) !important;
  border: 1px solid rgba(91,163,217,0.22);
  box-shadow: none !important;
}
.step-icon svg { color: #5ba3d9 !important; }
.step h3 { color: var(--white) !important; font-size: 1.02rem !important; }
.step p { color: rgba(255,255,255,0.50) !important; }

/* ---- Page hero: restore banner image, add more depth ---- */
.page-hero {
  padding: 160px 0 100px !important;
  min-height: 480px !important;
}
.page-hero::before {
  background: linear-gradient(150deg, rgba(13,22,39,0.55) 0%, rgba(13,22,39,0.35) 58%, rgba(63,120,170,0.20) 100%);
  z-index: 0 !important;
}
.page-hero .section-tag {
  background: rgba(91,163,217,0.14) !important;
  color: #89cff5 !important;
  border-color: rgba(91,163,217,0.22) !important;
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }

/* ---- Testimonial cards: more breathing room ---- */
.testimonial-card { padding: 44px 40px 36px !important; }
.testimonials-grid { gap: 20px !important; }

/* ---- Photo strip: taller on desktop ---- */
@media (min-width: 1024px) {
  .photo-strip-grid { height: 400px !important; }
}

/* ---- Section spacing ---- */
#services { padding: 100px 0 !important; }
#services .section-header { margin-bottom: 44px !important; }
/* No section-tag pill in services section on home */
#services .section-tag { display: none; }

/* =======================================================
   WHY SECTION — clean contained layout
   ======================================================= */
.why-clean-section { padding: 100px 0; }
.why-clean-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 88px;
  align-items: center;
}
.why-clean-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 24px 64px rgba(13,22,39,0.14);
}
.why-clean-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s ease;
}
.why-clean-section:hover .why-clean-image img { transform: scale(1.03); }
.why-clean-content h2 { margin-bottom: 16px; }
.why-clean-content > p { margin-bottom: 36px; font-size: 1rem; }

/* =======================================================
   TESTIMONIALS — Premium visual cards
   ======================================================= */
.testimonials-v3 {
  background: var(--navy);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.testimonials-v3::before {
  content: '';
  position: absolute;
  top: -220px; left: -180px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(38,95,148,0.16) 0%, transparent 70%);
  pointer-events: none;
}
.testimonials-v3::after {
  content: '';
  position: absolute;
  bottom: -220px; right: -180px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(91,163,217,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.testimonials-v3 h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}
.testimonials-v3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.testimonial-v3 {
  background: linear-gradient(148deg, rgba(38,95,148,0.14) 0%, rgba(13,22,39,0.55) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid var(--blue);
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-top-color 0.35s ease;
}
.testimonial-v3:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 72px rgba(0,0,0,0.42);
  border-top-color: #5ba3d9;
}
.testimonial-v3-quote {
  font-size: 5rem;
  line-height: 0.75;
  color: var(--blue);
  font-family: Georgia, serif;
  font-weight: 900;
  opacity: 0.60;
  margin-bottom: 22px;
  display: block;
}
.testimonial-v3 p {
  color: rgba(255,255,255,0.82);
  font-size: 0.96rem;
  line-height: 1.82;
  flex: 1;
  margin-bottom: 0;
}
.testimonial-v3-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.testimonial-v3-avatar {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--blue) 0%, #1b3d62 100%);
  border-radius: 50%;
  border: 2px solid rgba(91,163,217,0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-v3-footer strong {
  display: block;
  color: rgba(255,255,255,0.92);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.testimonial-v3-footer span {
  color: rgba(255,255,255,0.38);
  font-size: 0.76rem;
}

/* =======================================================
   CTA — clean, no diagonal
   ======================================================= */
.cta-clean {
  background: var(--blue);
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-clean::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-clean .container { position: relative; z-index: 1; max-width: 680px; }
.cta-clean h2 { color: var(--white); margin-bottom: 16px; }
.cta-clean p { color: rgba(255,255,255,0.80); margin-bottom: 40px; font-size: 1.05rem; }

/* =======================================================
   MOBILE — why + testimonials
   ======================================================= */
@media (max-width: 900px) {
  .why-clean-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why-clean-image { aspect-ratio: 4/3; max-height: 380px; }
}
@media (max-width: 768px) {
  .testimonials-v3-grid { grid-template-columns: 1fr; }
  .testimonials-v3 { padding: 80px 0; }
  .cta-clean { padding: 80px 0; }
  .page-hero { padding: 120px 0 72px !important; min-height: 360px !important; }
}

/* =======================================================
   SERVICES — editorial card grid (in keeping with testimonials)
   ======================================================= */
.svc-section {
  --svc-logo-x: 50%;
  --svc-logo-y: 0%;
  --svc-logo-size: 120vw;
  --svc-logo-angle: -7deg;
  --svc-logo-fade: 0.14;
  --svc-logo-lift: 10%;
  background: #3f78aa;
  padding: 88px 40px 72px;
  position: relative;
  overflow: hidden;
}
.svc-section::before {
  content: '';
  position: absolute;
  inset: -70%;
  background-image: url('logo-tile.svg');
  background-size: 120px 106px;
  background-repeat: repeat;
  opacity: 0.13;
  pointer-events: none;
  transform: rotate(-7deg);
  transform-origin: center;
}
.svc-container {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-blue-logo-section {
  --site-logo-x: 50%;
  --site-logo-y: 0%;
  --site-logo-size: 120vw;
  --site-logo-angle: -7deg;
  --site-logo-fade: 0.095;
  --site-logo-lift: 10%;
  background: #3f78aa !important;
  position: relative;
  overflow: hidden;
}
.site-blue-logo-section::before {
  content: '';
  position: absolute;
  inset: -70%;
  background-image: url('logo-tile.svg');
  background-size: 120px 106px;
  background-repeat: repeat;
  opacity: 0.13;
  pointer-events: none;
  transform: rotate(-7deg);
  transform-origin: center;
}
.site-blue-logo-section > .container {
  position: relative;
  z-index: 1;
}
.site-blue-logo-section h2,
.site-blue-logo-section h3,
.site-blue-logo-section h4,
.site-blue-logo-section .contact-info h2,
.site-blue-logo-section .service-full-body h2 {
  color: #ffffff !important;
}
.site-blue-logo-section p,
.site-blue-logo-section .contact-info p {
  color: rgba(255,255,255,0.86) !important;
}
.site-blue-logo-section .divider {
  background: rgba(255,255,255,0.78) !important;
}
.site-blue-logo-section .section-tag {
  background: rgba(255,255,255,0.14) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.22) !important;
}
.site-blue-logo-section .contact-item,
.site-blue-logo-section .contact-form-wrap,
.site-blue-logo-section .value-card {
  background: rgba(255,255,255,0.96) !important;
  color: var(--navy);
}
.site-blue-logo-section .contact-item h4,
.site-blue-logo-section .contact-item p,
.site-blue-logo-section .contact-item a,
.site-blue-logo-section .contact-form-wrap p,
.site-blue-logo-section .value-card h3 {
  color: var(--navy) !important;
}
.site-blue-logo-section .value-card p {
  color: #5f6673 !important;
}

.site-blue-logo-section .values-grid--standards.reveal-group > * {
  opacity: 0;
  transform: translateX(-34px) rotate(-1deg);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease;
}
.site-blue-logo-section .values-grid--standards.reveal-group.visible > *:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.00s;
}
.site-blue-logo-section .values-grid--standards.reveal-group.visible > *:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.10s;
}
.site-blue-logo-section .values-grid--standards.reveal-group.visible > *:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.20s;
}
.site-blue-logo-section .values-grid--standards.reveal-group.visible > *:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.30s;
}
.site-blue-logo-section .form-note {
  color: #5f6673 !important;
}
.site-soft-section {
  background:
    linear-gradient(135deg, rgba(13,22,39,0.06) 0%, rgba(38,95,148,0.03) 42%, rgba(244,191,123,0.08) 100%),
    linear-gradient(180deg, #f4f9f8 0%, #e4eeee 100%) !important;
}
.service-detail-section {
  padding: 80px 0 20px !important;
}

/* Section heading — centred, editorial */
.svc-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.svc-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.svc-header p {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin: 0;
  letter-spacing: 0;
}

/* Card grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Each card starts hidden for scroll reveal (handled by reveal-group) */
.svc-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 16px rgba(13,22,39,0.06);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.30s ease, box-shadow 0.30s ease;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(13,22,39,0.12);
}

/* Image */
.svc-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.50s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.svc-card:hover .svc-card-img img { transform: scale(1.06); }

/* Blue accent bar sweeps in from left under image on hover */
.svc-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #265f94;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.svc-card:hover .svc-card-img::after { transform: scaleX(1); }

/* Card body */
.svc-card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 16px;
}
.svc-card-text {
  text-align: center;
}
.svc-card-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #0d1627;
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: 0;
}
.svc-card-text p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #5f6673;
  line-height: 1.75;
  margin: 0;
  letter-spacing: 0;
}
.svc-mobile-desc { display: none; }
.svc-desktop-word { display: inline; }

/* Footer row — arrow button */
.svc-card-footer {
  display: flex;
  justify-content: flex-end;
}
.svc-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.svc-card:hover .svc-arrow {
  background: #265f94;
  border-color: #265f94;
  color: #fff;
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-section { padding: 56px 16px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .svc-card-img { height: 130px; }
  .svc-card-body { padding: 14px 14px 12px; gap: 10px; }
  .svc-card-text h3 { font-size: 0.9rem; margin-bottom: 6px; }
  .svc-desktop-word { display: none; }
  .svc-card-text > p { display: none; }
  .svc-card-body { padding: 10px 12px 10px; gap: 6px; }
  .svc-arrow { width: 28px; height: 28px; }
  .svc-header { margin-bottom: 36px; }
}

/* =======================================================
   TESTIMONIALS — screenshot replica
   ======================================================= */
.testimonials-dybo {
  background:
    linear-gradient(135deg, rgba(13,22,39,0.06) 0%, rgba(38,95,148,0.03) 42%, rgba(244,191,123,0.08) 100%),
    linear-gradient(180deg, #f4f9f8 0%, #e4eeee 100%);
  padding: 58px 0 40px;
  overflow: hidden;
}
.tdb-container {
  width: calc(100vw - 128px);
  max-width: 1844px;
  min-height: 744px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  position: relative;
  background: transparent;
  border-radius: 0 0 14px 14px;
  overflow: visible;
  box-shadow: none;
}
.tdb-left {
  position: absolute;
  left: 0;
  top: 58px;
  width: 660px;
  height: 640px;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  z-index: 1;
}
.tdb-poster,
.tdb-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.tdb-poster {
  display: block;
  filter: saturate(0.85) contrast(0.95);
}
.tdb-video {
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: scale(0.985);
  border-radius: inherit;
  background: #0d1627;
}
.tdb-sound-toggle {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(13,22,39,0.82);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.tdb-sound-toggle:hover {
  background: rgba(38,95,148,0.92);
  transform: translateY(-1px);
}
.tdb-sound-toggle.is-on {
  background: rgba(38,95,148,0.95);
}
.tdb-right {
  grid-column: 2;
  min-width: 0;
  background: transparent;
  padding: 168px 0 0 8px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  z-index: 2;
}
.tdb-nav {
  display: none;
}
.tdb-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #efc48f;
  background: #fff;
  color: #0d1627;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.tdb-arrow--active,
.tdb-arrow:hover {
  background: #f4bf7b;
  border-color: #f4bf7b;
  color: #0d1627;
}
.tdb-overflow {
  overflow: hidden;
  width: calc(100% + max(64px, calc((100vw - 1844px) / 2)));
}
.tdb-track {
  display: flex;
  gap: 26px;
  transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}
.tdb-card {
  flex: 0 0 594px;
  min-width: 594px;
  max-width: 594px;
  min-height: 380px;
  background: #fff;
  border: 1px solid #e0e3e7;
  border-radius: 8px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 2px 10px rgba(60,64,67,0.08);
}
.tdb-card > p {
  font-family: Arial, 'Inter', sans-serif;
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 1.62;
  color: #202124;
  margin: 0;
  flex: 1;
  letter-spacing: 0;
}
.tdb-mobile-quote { display: none; }
.tdb-card mark {
  background: #cfe2f3;
  color: #527791;
  padding: 0 4px 1px;
  border-radius: 2px;
}
.tdb-reviewer {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 18px;
  border-top: 1px solid #edf0f2;
}
.tdb-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.tdb-av1 { background: linear-gradient(135deg, #b77a54, #0d1627); }
.tdb-av2 { background: linear-gradient(135deg, #f3d8cf, #265f94); }
.tdb-av3 { background: linear-gradient(135deg, #d8c4b9, #0d1627); }
.tdb-av4 { background: linear-gradient(135deg, #bba292, #0d1627); }
.tdb-av5 { background: linear-gradient(135deg, #d7b98d, #0d1627); }
.tdb-av6 { background: linear-gradient(135deg, #265f94, #0d1627); }
.tdb-av7 { background: linear-gradient(135deg, #3c6f76, #0d1627); }
.tdb-av8 { background: linear-gradient(135deg, #8f6b52, #0d1627); }
.tdb-av9 { background: linear-gradient(135deg, #5b7fa4, #0d1627); }
.tdb-av10 { background: linear-gradient(135deg, #c79b66, #0d1627); }
.tdb-reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.tdb-reviewer-info strong {
  display: block;
  font-family: Arial, 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #202124;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 3px;
}
.tdb-reviewer-info span {
  display: block;
  font-family: Arial, 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #5f6368;
  margin-bottom: 10px;
}
.tdb-stars {
  color: #fbbc04;
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1;
}
.tdb-stars em {
  color: #dadce0;
  -webkit-text-stroke: 0;
  font-style: normal;
}
.tdb-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 76px;
  padding-right: 140px;
}
.tdb-dot {
  height: 6px;
  width: 44px;
  border-radius: 100px;
  border: none;
  background: #e8edee;
  cursor: pointer;
  padding: 0;
  transition: all 0.28s ease;
}
.tdb-dot.active {
  width: 88px;
  background: #f4bf7b;
}
@media (max-width: 900px) {
  .testimonials-dybo { padding: 24px 0 48px; overflow: hidden; }
  .tdb-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    overflow: visible;
  }
  .tdb-left {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 24px);
    margin: 0 12px;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    z-index: 1;
  }
  .tdb-right {
    grid-column: 1;
    padding: 0 0 0 12px;
    margin-top: -52px;
    z-index: 2;
    overflow: visible;
  }
  .tdb-nav { display: none; }
  .tdb-overflow {
    overflow: hidden;
    width: calc(100vw - 12px);
  }
  .tdb-track { gap: 14px; }
  .tdb-card {
    flex: 0 0 62vw;
    min-width: 62vw;
    max-width: 62vw;
    min-height: 0;
    padding: 20px 18px 20px;
    gap: 16px;
  }
  .tdb-card > p:not(.tdb-mobile-quote) { display: none !important; }
  .tdb-mobile-quote {
    display: block !important;
    font-size: 0.66rem;
    line-height: 1.65;
    flex: 1;
  }
  .tdb-reviewer { padding-top: 14px; align-items: flex-start; }
  .tdb-avatar { width: 48px; height: 48px; font-size: 0.88rem; }
  .tdb-reviewer-info { align-items: flex-start; }
  .tdb-reviewer-info strong { font-size: 0.88rem; }
  .tdb-reviewer-info span { font-size: 0.68rem; margin-bottom: 6px; }
  .tdb-stars { font-size: 0.9rem; }
  .tdb-arrow { width: 40px; height: 40px; }
  .tdb-dots { display: none; }
}

/* --- Mobile nav CTA visible --- */
@media (max-width: 768px) {
  .nav-cta .btn { display: inline-flex !important; font-size: 0.78rem; padding: 9px 14px; }

  /* Stats strip — infinite carousel, 2 visible at a time */
  .stats-strip { overflow: hidden; }
  .stats-strip-grid {
    display: flex;
    flex-wrap: nowrap;
    /* JS controls transform */
  }
  .stats-strip-item {
    flex: 0 0 50%;
    min-width: 50%;
    padding: 28px 16px;
  }
  .stat-value { font-size: 2.2rem; }

  /* Why section */
  .why-section-inner { grid-template-columns: 1fr; }
  .why-section-left  { min-height: 380px; }
  .why-section-right { padding: 48px 24px; }

  /* Featured card */
  .service-card--featured { grid-column: span 1; aspect-ratio: 4/3; }

  /* CTA */
  .cta-banner { clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%); margin: -24px 0; }
  .cta-banner-pad { padding: 90px 0 100px; }
}

/* =======================================================
   SITE-WIDE TEMPLATE — match the refined homepage style
   ======================================================= */
.page-hero {
  min-height: 460px !important;
  padding: 150px 0 92px !important;
  background-image: url('banner.jpg?v=20260518') !important;
  background-size: cover !important;
  background-position: center 42% !important;
}
.page-hero::before {
  background: linear-gradient(150deg, rgba(13,22,39,0.55) 0%, rgba(13,22,39,0.35) 58%, rgba(63,120,170,0.20) 100%) !important;
}
.page-hero::after {
  background: none !important;
}
.page-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.55rem, 5vw, 3.9rem) !important;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 780px;
}
.page-hero p {
  color: rgba(255,255,255,0.84) !important;
  font-size: clamp(1rem, 1.25vw, 1.08rem) !important;
  font-weight: 500;
  line-height: 1.68;
  max-width: 640px !important;
}
.page-hero .section-tag,
.recruitment .section-tag[style],
.section-tag[style] {
  background: rgba(91,163,217,0.16) !important;
  color: #d6ecff !important;
  border-color: rgba(214,236,255,0.22) !important;
}
.stats-band {
  background: var(--navy) !important;
  padding: 0 !important;
}
.stats-row {
  grid-template-columns: repeat(4, 1fr);
  gap: 0 !important;
}
.stat-item {
  padding: 40px 24px !important;
  border-right: 0 !important;
  transition: background 0.3s ease;
}
.stat-item:hover {
  background: rgba(91,163,217,0.05);
}
.stat-item strong {
  font-size: clamp(2.4rem, 4vw, 3.6rem) !important;
  letter-spacing: 0;
}
.stat-item span {
  color: rgba(255,255,255,0.62) !important;
  letter-spacing: 0.14em !important;
}
.bg-grey {
  background: #f4f9f8 !important;
}
.why-grid,
.contact-grid,
.recruitment-inner,
.service-full-grid {
  gap: clamp(36px, 5vw, 72px);
}
.why-image-wrap,
.service-full-visual {
  border-radius: 14px !important;
  box-shadow: 0 18px 44px rgba(13,22,39,0.12);
}
.service-full {
  padding: 82px 0 !important;
  border-bottom: none !important;
}
.service-full-body h2,
.contact-info h2,
.recruitment h2,
.section-header h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.service-full-body p,
.contact-info p,
.section-header p {
  color: #5f6673;
  font-size: 0.98rem;
  line-height: 1.75;
}
.service-includes {
  gap: 12px !important;
}
.service-includes li {
  color: #0d1627 !important;
  font-weight: 500;
  line-height: 1.55;
}
.service-pill {
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
}
.service-pill:hover {
  background: rgba(255,255,255,0.18) !important;
  transform: translateY(-1px);
}
.value-card,
.contact-form-wrap,
details {
  border-radius: 14px !important;
  border: 1px solid rgba(13,22,39,0.08) !important;
  box-shadow: 0 8px 30px rgba(13,22,39,0.06) !important;
}
.contact-form-wrap {
  background: #ffffff !important;
}
.contact-item {
  background: #ffffff;
  border: 1px solid rgba(13,22,39,0.08);
  border-radius: 12px;
  padding: 20px 18px;
  min-height: 160px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.contact-item-icon {
  background: rgba(38,95,148,0.10) !important;
  color: var(--blue);
}
.recruitment {
  background: var(--navy) !important;
}
.recruitment::before {
  background: radial-gradient(circle at top left, rgba(63,120,170,0.20), transparent 52%) !important;
}
.recruitment p {
  color: rgba(255,255,255,0.72) !important;
}
.perk-card {
  border-radius: 14px !important;
}

/* Contact highlights strip */
.contact-highlight-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 22px 32px;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
}
a.contact-highlight-item:hover { color: #ffffff; }
.contact-highlights.visible .contact-highlight-item { opacity: 1; transform: translateY(0); }
.contact-highlights.visible .contact-highlight-item:nth-child(1) { transition-delay: 0.05s; }
.contact-highlights.visible .contact-highlight-item:nth-child(2) { transition-delay: 0.18s; }
.contact-highlights.visible .contact-highlight-item:nth-child(3) { transition-delay: 0.31s; }
.contact-highlights.visible .contact-highlight-item:nth-child(4) { transition-delay: 0.44s; }
.contact-highlight-item--lg {
  padding: 26px 52px;
  font-size: 0.88rem;
  gap: 12px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
}

/* Careers highlights strip */
.careers-highlight-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 22px 32px;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.careers-highlights.visible .careers-highlight-item { opacity: 1; transform: translateY(0); }
.careers-highlights.visible .careers-highlight-item:nth-child(1) { transition-delay: 0.05s; }
.careers-highlights.visible .careers-highlight-item:nth-child(2) { transition-delay: 0.15s; }
.careers-highlights.visible .careers-highlight-item:nth-child(3) { transition-delay: 0.25s; }
.careers-highlights.visible .careers-highlight-item:nth-child(4) { transition-delay: 0.35s; }

/* Perk cards on light/beige background */
.site-soft-section .perk-card {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-top: 3px solid rgba(91,163,217,0.5) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
.site-soft-section .perk-card:hover {
  background: #f0f7ff !important;
  border-color: rgba(38,95,148,0.2) !important;
  border-top-color: #5ba3d9 !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10) !important;
}
.site-soft-section .perk-card h4 { color: var(--navy) !important; }
.site-soft-section .perk-card p { color: var(--text) !important; }
.site-soft-section .recruitment h2 { color: var(--navy) !important; }
.site-soft-section .recruitment p { color: var(--text) !important; }
.site-soft-section h2 { color: var(--navy) !important; }
.site-soft-section p { color: var(--text) !important; }

.cta-clean {
  background: #3f78aa !important;
}
.cta-clean h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
}
.cta-clean p {
  color: rgba(255,255,255,0.86) !important;
  font-weight: 500;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 360px !important;
    padding: 126px 0 70px !important;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    padding: 28px 16px !important;
  }
  .service-full {
    padding: 58px 0 !important;
  }
  .contact-item {
    padding: 16px;
  }
}

/* Final cohesion pass: preserve homepage rhythm on every page */
.site-service-nav-band {
  background: #3f78aa;
  padding: 24px 0;
}
.site-blue-logo-section {
  background: #3f78aa !important;
}
.site-blue-logo-section::before {
  content: '' !important;
  position: absolute !important;
  inset: -70% !important;
  background-image: url('logo-tile.svg') !important;
  background-size: 120px 106px !important;
  background-repeat: repeat !important;
  opacity: 0.13 !important;
  pointer-events: none !important;
  transform: rotate(-7deg) !important;
  transform-origin: center !important;
}
.site-blue-logo-section h2,
.site-blue-logo-section h3,
.site-blue-logo-section h4,
.site-blue-logo-section .contact-info h2 {
  color: #ffffff !important;
}
.site-blue-logo-section > .container > p,
.site-blue-logo-section .contact-info > p,
.site-blue-logo-section .reveal-left > p,
.site-blue-logo-section .section-header p {
  color: rgba(255,255,255,0.86) !important;
}
.site-blue-logo-section .contact-item h4,
.site-blue-logo-section .contact-item p,
.site-blue-logo-section .contact-item a,
.site-blue-logo-section .contact-form-wrap h3,
.site-blue-logo-section .contact-form-wrap p,
.site-blue-logo-section .contact-form-wrap label,
.site-blue-logo-section .value-card h3 {
  color: var(--navy) !important;
}
.site-blue-logo-section .value-card p {
  color: #5f6673 !important;
}

/* About values: hanging cards with expandable detail */
.values-template-section {
  background: #3f78aa !important;
}
.values-template-section::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  inset: -70% !important;
  background-image: url('logo-tile.svg') !important;
  background-size: 120px 106px !important;
  background-repeat: repeat !important;
  opacity: 0.13 !important;
  pointer-events: none !important;
  transform: rotate(-7deg) !important;
  transform-origin: center !important;
}
.values-template-section .section-header h2 {
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 850 !important;
  letter-spacing: -0.035em !important;
}
.values-template-section .section-header p {
  color: rgba(255,255,255,0.86) !important;
}
.site-blue-logo-section .values-grid--standards {
  display: flex !important;
  justify-content: center;
  align-items: start;
  max-width: 980px;
  margin: 96px auto 0;
  padding: 0 22px 58px;
  position: relative;
  overflow: visible !important;
}
.site-blue-logo-section .values-grid--standards::before {
  display: none;
}
.site-blue-logo-section .value-card {
  --value-accent: #183f68;
  --value-accent-dark: #0d1627;
  flex: 0 0 250px;
  min-height: 208px;
  padding: 104px 18px 28px !important;
  border: 0 !important;
  border-radius: 0 0 30px 30px !important;
  background: linear-gradient(180deg, var(--value-accent) 0%, var(--value-accent-dark) 100%) !important;
  box-shadow: none !important;
  text-align: center !important;
  position: relative;
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.site-blue-logo-section .value-card + .value-card {
  margin-left: -34px;
}
.site-blue-logo-section .value-card:nth-child(1) { z-index: 4; }
.site-blue-logo-section .value-card:nth-child(2) { z-index: 3; }
.site-blue-logo-section .value-card:nth-child(3) { z-index: 2; }
.site-blue-logo-section .value-card:nth-child(4) { z-index: 1; }
.site-blue-logo-section .value-card::before {
  content: '';
  display: block;
  position: absolute;
  top: 130px;
  left: 22px;
  right: 22px;
  height: 84px;
  background: radial-gradient(ellipse at center, rgba(13,22,39,0.20) 0%, rgba(13,22,39,0.10) 44%, transparent 78%);
  filter: blur(18px);
  z-index: 0;
  transform: translateY(26px);
}
.site-blue-logo-section .value-card::after {
  display: none;
}
.site-blue-logo-section .value-card:hover {
  transform: translateY(-6px);
  box-shadow: none !important;
  z-index: 8;
}
.site-blue-logo-section .value-card--quality {
  --value-accent: #3f78aa;
  --value-accent-dark: #1c5179;
}
.site-blue-logo-section .value-card--people {
  --value-accent: #4d9183;
  --value-accent-dark: #275f57;
}
.site-blue-logo-section .value-card--accountability {
  --value-accent: #c59a5b;
  --value-accent-dark: #7e5b2e;
}
.site-blue-logo-section .value-icon {
  position: absolute;
  top: -66px;
  left: 50%;
  width: 126px !important;
  height: 126px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 35% 28%, #ffffff 0%, #f4f8f8 48%, #dce9e7 100%) !important;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow:
    0 14px 24px rgba(13,22,39,0.18),
    0 2px 4px rgba(13,22,39,0.08),
    inset 0 0 0 9px rgba(255,255,255,0.42) !important;
  margin: 0 auto 20px !important;
  transform: translateX(-50%);
  z-index: 2;
}
.site-blue-logo-section .value-icon svg {
  color: var(--value-accent-dark) !important;
  width: 70px;
  height: 70px;
}
.site-blue-logo-section .value-icon img {
  display: block;
  width: 78px;
  height: 58px;
  object-fit: contain;
}
.site-blue-logo-section .value-card--people .value-icon img {
  width: 92px;
  height: 70px;
}
.site-blue-logo-section .value-card h3 {
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1.12rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.015em !important;
  line-height: 1.06 !important;
  margin: 0 !important;
  text-transform: uppercase;
  max-width: 150px;
}

@media (max-width: 980px) {
  .site-blue-logo-section .values-grid--standards {
    flex-wrap: wrap;
    max-width: 580px;
    row-gap: 62px;
  }
  .site-blue-logo-section .value-card + .value-card {
    margin-left: -24px;
  }
  .site-blue-logo-section .value-card:nth-child(3) {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .site-blue-logo-section .values-grid--standards {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: none;
    overflow-x: auto !important;
    overflow-y: visible !important;
    gap: 0 !important;
    margin-top: 112px;
    padding: 0 34px 64px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .site-blue-logo-section .value-card {
    min-height: 0;
    flex-basis: 244px;
    scroll-snap-align: center;
  }
  .site-blue-logo-section .value-card + .value-card,
  .site-blue-logo-section .value-card:nth-child(3) {
    margin-left: -28px;
  }
  .site-blue-logo-section .value-icon {
    width: 126px !important;
    height: 126px !important;
  }
  .site-blue-logo-section .value-card h3 {
    font-size: 1.08rem !important;
  }
  .site-blue-logo-section .value-card p {
    font-size: 0.82rem !important;
    line-height: 1.52 !important;
  }
}
.site-soft-section {
  background:
    linear-gradient(135deg, rgba(13,22,39,0.06) 0%, rgba(38,95,148,0.03) 42%, rgba(244,191,123,0.08) 100%),
    linear-gradient(180deg, #f4f9f8 0%, #e4eeee 100%) !important;
}

/* =============================================
   Reveal animations inside overflow:hidden sections
   Use opacity-only — no transforms — to prevent
   background shifts and layout jumps
   ============================================= */
.site-blue-logo-section .reveal,
.site-blue-logo-section .reveal-left,
.site-blue-logo-section .reveal-right {
  transform: none !important;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;

}
.site-blue-logo-section .reveal.visible,
.site-blue-logo-section .reveal-left.visible,
.site-blue-logo-section .reveal-right.visible {
  opacity: 1 !important;
  transform: none !important;
}
.site-blue-logo-section .reveal-group > * {
  transform: none !important;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;

}
.site-blue-logo-section .reveal-group.visible > *:nth-child(1) { opacity:1 !important; transition-delay:0.00s !important; }
.site-blue-logo-section .reveal-group.visible > *:nth-child(2) { opacity:1 !important; transition-delay:0.12s !important; }
.site-blue-logo-section .reveal-group.visible > *:nth-child(3) { opacity:1 !important; transition-delay:0.24s !important; }
.site-blue-logo-section .reveal-group.visible > *:nth-child(4) { opacity:1 !important; transition-delay:0.36s !important; }
.site-blue-logo-section .reveal-group.visible > *:nth-child(5) { opacity:1 !important; transition-delay:0.48s !important; }
.site-blue-logo-section .reveal-group.visible > *:nth-child(6) { opacity:1 !important; transition-delay:0.60s !important; }

/* --- Blog --- */
.blog-highlight-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 22px 32px;
  color: rgba(255,255,255,0.62);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.blog-highlight-item svg {
  color: #7eb8e8;
  flex: 0 0 auto;
}
.blog-index-section .section-header h2,
.blog-index-section .section-header p {
  color: #ffffff !important;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blog-grid--preview {
  margin-top: 8px;
}
.blog-card {
  background: #ffffff;
  border: 1px solid rgba(13,22,39,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(13,22,39,0.07);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 38px rgba(13,22,39,0.13);
}
.blog-card-img {
  height: 205px;
  overflow: hidden;
  position: relative;
}
.blog-card-img::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #265f94;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s ease;
}
.blog-card:hover .blog-card-img::after {
  transform: scaleX(1);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}
.blog-card-body {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-meta {
  color: #265f94;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.blog-card h3 {
  color: #0d1627 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0;
}
.blog-card p {
  color: #5f6673 !important;
  font-size: 0.94rem;
  line-height: 1.72;
  margin: 0;
}
.blog-card-link {
  color: #265f94;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: auto;
}
.blog-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: #ffffff;
  border: 1px solid rgba(13,22,39,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(13,22,39,0.13);
  margin-bottom: 28px;
}
.blog-feature-img {
  min-height: 380px;
}
.blog-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-feature-body {
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.blog-feature-body h2 {
  color: #0d1627 !important;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}
.blog-feature-body p {
  color: #5f6673 !important;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 54px;
  align-items: start;
}
.article-content {
  background: #ffffff;
  border: 1px solid rgba(13,22,39,0.08);
  border-radius: 18px;
  padding: clamp(30px, 5vw, 58px);
  box-shadow: 0 12px 34px rgba(13,22,39,0.08);
}
.article-content .blog-meta {
  display: inline-block;
  margin-bottom: 18px;
}
.article-content h2 {
  margin: 34px 0 12px;
  color: #0d1627;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.025em;
}
.article-content p {
  color: #4f5867;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.article-content ul {
  display: grid;
  gap: 10px;
  margin: 10px 0 24px;
  padding-left: 20px;
  list-style: disc;
}
.article-content li {
  color: #4f5867;
  line-height: 1.75;
}
.article-aside {
  position: sticky;
  top: 124px;
  display: grid;
  gap: 18px;
}
.article-aside-card {
  background: #ffffff;
  border: 1px solid rgba(13,22,39,0.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(13,22,39,0.07);
}
.article-aside-card h3 {
  color: #0d1627;
  margin-bottom: 10px;
  font-size: 1.02rem;
  font-weight: 800;
}
.article-aside-card p,
.article-aside-card a {
  color: #5f6673;
  font-size: 0.92rem;
}
.article-aside-card a {
  display: block;
  font-weight: 700;
  color: #265f94;
  margin-top: 12px;
}

@media (max-width: 980px) {
  .blog-grid,
  .blog-feature,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .blog-feature-img {
    min-height: 280px;
  }
  .article-aside {
    position: static;
  }
}

@media (max-width: 768px) {
  .blog-highlight-item {
    justify-content: center;
    width: 100%;
    padding: 18px 16px;
    white-space: normal;
    text-align: center;
  }
  .blog-card-img {
    height: 190px;
  }
}

/* =====================================================
   MOBILE CAROUSEL — overflow fix + resets
   ===================================================== */

@media (max-width: 768px) {
  /* Safety net: prevent any element causing horizontal page scroll */
  body { overflow-x: hidden; }

  /* Values "What We Stand For" — static vertical column, no carousel */
  .site-blue-logo-section .values-grid--standards {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    overflow: visible !important;
    margin-top: 32px !important;
    padding: 0 16px 40px !important;
    max-width: 100% !important;
    scroll-snap-type: none !important;
    -webkit-overflow-scrolling: auto !important;
  }
  .site-blue-logo-section .value-card {
    flex: 0 0 auto !important;
    width: min(85vw, 280px) !important;
    min-height: auto !important;
    padding: 24px 16px 22px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }
  .site-blue-logo-section .value-card + .value-card,
  .site-blue-logo-section .value-card:nth-child(3) {
    margin-left: 0 !important;
  }
  /* Icon: inline inside the card on mobile, scales with viewport width */
  .site-blue-logo-section .value-icon {
    position: static !important;
    transform: none !important;
    width: clamp(54px, 14vw, 72px) !important;
    height: clamp(54px, 14vw, 72px) !important;
    min-width: unset !important;
    margin: 0 auto 10px !important;
    left: auto !important;
    top: auto !important;
    flex-shrink: 0 !important;
  }
  .site-blue-logo-section .value-icon svg {
    width: clamp(28px, 7vw, 38px) !important;
    height: clamp(28px, 7vw, 38px) !important;
  }
  .site-blue-logo-section .value-icon img {
    width: clamp(36px, 9vw, 50px) !important;
    height: auto !important;
  }
  .site-blue-logo-section .value-card h3 {
    font-size: clamp(0.85rem, 4vw, 1.05rem) !important;
    margin: 0 !important;
  }
  /* Remove drop shadow — looks wrong on mobile */
  .site-blue-logo-section .value-card::before {
    display: none !important;
  }

  /* Contact items: vertical stack, all cards equal full width, content centred */
  .contact-items {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }
  .contact-items .contact-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: unset !important;
    width: 100% !important;
    min-width: unset !important;
    max-width: 100% !important;
    min-height: 120px !important;
    padding: 14px 16px !important;
    gap: 6px !important;
    scroll-snap-align: none !important;
  }
  .contact-items .contact-item-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex-shrink: 0 !important;
  }
  .contact-items .contact-item-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
  .contact-items .contact-item h4 {
    text-align: center !important;
    font-size: 0.72rem !important;
    margin-bottom: 1px !important;
  }
  .contact-items .contact-item p,
  .contact-items .contact-item a {
    text-align: center !important;
    font-size: 0.85rem !important;
    word-break: break-word !important;
  }

  /* Careers highlights: centre text inside each carousel slide */
  .careers-highlight-item {
    justify-content: center;
    width: 100%;
  }

  /* Contact highlights: centre phone/email within full-width carousel slide */
  .contact-highlight-item {
    justify-content: center !important;
    width: 100%;
  }

  /* Blog cards: ensure full-width card looks correct in carousel */
  .blog-grid .blog-card {
    display: flex;
    flex-direction: column;
  }

  /* Form overflow safety — prevent form busting out of viewport */
  .contact-form-wrap {
    padding: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .contact-form-wrap input,
  .contact-form-wrap select,
  .contact-form-wrap textarea,
  .form-row,
  .availability-grid {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Page hero (inner pages only — home uses .hero) — 30% smaller text on mobile */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 1.68rem !important;
    text-align: left !important;
    max-width: 65% !important;
  }
}

/* Hero video: step from 85% at smallest toward centre as screen widens */
@media (max-width: 480px) {
  .hero-video { object-position: 85% center; }
}
@media (min-width: 481px) and (max-width: 600px) {
  .hero-video { object-position: 74% center; }
}
@media (min-width: 601px) and (max-width: 768px) {
  .hero-video { object-position: 60% center; }
}

@media (max-width: 600px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .site-header .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .header-inner {
    gap: 12px;
  }
  .logo img {
    height: 72px !important;
  }
  .nav-cta {
    flex-shrink: 0;
  }
  .nav-cta .btn {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
  }
  .hero > .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(2.25rem, 11vw, 2.85rem) !important;
    line-height: 1.12 !important;
  }
  .hero-actions .btn {
    padding: 10px 16px !important;
    font-size: 0.78rem !important;
  }
}
