/* cali-theme main.css - faithful clone of caliclean.com.au */
:root {
  --brand-primary: #03C7FE;
  --brand-primary-dark: #02a8d6;
  --brand-accent: #133475;
  --brand-navy: #133475;
  --brand-navy-deep: #0c265d;
  --bg-primary: #ffffff;
  --bg-secondary: #f4f7fb;
  --bg-dark: #0c265d;
  --bg-dark-2: #133475;
  --text-primary: #1a1a1a;
  --text-heading: #133475;
  --text-secondary: #4c5d5d;
  --text-muted: #6b7280;
  --text-light: #f7f9fc;
  --border-color: #e6e9ef;
  --heading-font: 'Ubuntu', system-ui, sans-serif;
  --body-font: 'Rubik', system-ui, sans-serif;
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.1);
  --shadow-md: 0 4px 10px -2px rgba(16,24,40,.08), 0 2px 4px -2px rgba(16,24,40,.08);
  --shadow-lg: 0 20px 40px -12px rgba(16,24,40,.18);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-primary-dark); }
button { font: inherit; cursor: pointer; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.25rem, 4.5vw + .5rem, 3.75rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(1.75rem, 2.6vw + .5rem, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1.2vw + 1rem, 1.6rem); }
p { margin: 0 0 1em; color: var(--text-secondary); }

/* Container / layout */
.container, .ccf-container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}
.text-center { text-align: center; }

.section, .ccf-section { padding: clamp(44px, 5.5vw, 72px) 0; }
.section-light, .ccf-bg-light { background: var(--bg-secondary); }
.ccf-bg-white { background: var(--bg-primary); }
.ccf-bg-dark  { background: var(--bg-dark); color: var(--text-light); }
.ccf-bg-brand { background: var(--brand-primary); color: #fff; }

/* Alternating off-white on consecutive light sections.
   Dark, brand and hero sections keep their own background. */
main > section:nth-of-type(even):not(.ccf-bg-dark):not(.ccf-bg-brand):not(.cali-hero-section):not(.ccf-hero):not(.hero):not(.page-hero):not(.ccf-testimonials):not(.ccf-cta-banner):not(.cta-section):not(.ccf-stats),
main > .ccf-section:nth-of-type(even):not(.ccf-bg-dark):not(.ccf-bg-brand):not(.ccf-testimonials):not(.ccf-cta-banner):not(.cta-section):not(.ccf-stats) {
  background: var(--bg-secondary);
}

.section-title, .ccf-section-heading {
  font-size: clamp(1.875rem, 2.8vw + .5rem, 2.75rem);
  color: var(--text-heading);
  margin-bottom: .6em;
  font-weight: 700;
}
.section-title em,
.ccf-section-heading em { font-style: italic; color: var(--brand-primary); font-weight: 700; }

.section-subtitle, .ccf-section-subheading {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin-inline: auto;
  line-height: 1.7;
}
.section-label, .ccf-pre-heading {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  font-family: var(--body-font);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
}
.btn-primary { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.btn-primary:hover { background: var(--brand-primary-dark); border-color: var(--brand-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline-dark { background: transparent; color: var(--text-heading); border-color: var(--text-heading); }
.btn-outline-dark:hover { background: var(--text-heading); color: #fff; }
.btn-white { background: #fff; color: var(--brand-accent); border-color: #fff; }
.btn-white:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.btn-quote { padding: .95rem 1.8rem; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eef1f6;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.site-header-inner {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 14px 0;
}
.site-brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-brand img { max-height: 48px; width: auto; }
.site-brand-text {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brand-accent);
  letter-spacing: .02em;
}
.site-nav { justify-self: center; }
.site-nav .nav-menu {
  display: flex; gap: 2rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav .nav-menu a {
  color: var(--text-heading);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem 0;
  font-family: var(--body-font);
}
.site-nav .nav-menu a:hover,
.site-nav .nav-menu .current-menu-item > a { color: var(--brand-primary); }
.site-nav .has-dropdown,
.site-nav .menu-item-has-children { position: relative; }
.site-nav .has-dropdown > a::after,
.site-nav .menu-item-has-children > a::after {
  content: ' \25BE';
  font-size: 1em;
  opacity: .85;
  margin-left: 4px;
  display: inline-block;
  transform: translateY(1px);
  transition: transform .2s ease;
}
.site-nav .has-dropdown:hover > a::after,
.site-nav .menu-item-has-children:hover > a::after { transform: translateY(1px) rotate(180deg); }
.site-nav .sub-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: .5rem 0;
  list-style: none; margin: 0;
  display: none;
  z-index: 50;
}
.site-nav .has-dropdown:hover > .sub-menu,
.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .has-dropdown:focus-within > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.site-nav .sub-menu li a { display: block; padding: .55rem 1.1rem; font-weight: 500; }
.site-nav .sub-menu li a:hover { background: var(--bg-secondary); color: var(--brand-primary); }

.site-header-actions { display: flex; align-items: center; gap: .75rem; }

.site-nav-toggle {
  display: none;
  background: transparent; border: 0; padding: .5rem;
  width: 42px; height: 42px;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.site-nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-heading); transition: transform .2s ease, opacity .2s ease; }
.site-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .site-nav-toggle { display: inline-flex; }
  .site-header-inner { grid-template-columns: auto 1fr auto; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border-color);
    display: none;
    padding: 1rem;
    justify-self: stretch;
  }
  .site-nav.is-open { display: block; }
  .site-nav .nav-menu { flex-direction: column; gap: .5rem; }
  .site-nav .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; display: block; }
  .btn-quote { padding: .7rem 1.2rem; font-size: .85rem; }
}

/* Site footer */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.8);
  margin-top: 0;
}
.site-footer-inner {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 2.25rem;
  padding: 56px 0 32px;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 1.1rem;
  font-weight: 600;
  font-family: var(--heading-font);
}
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--brand-primary); }
.site-footer a.btn.btn-white { color: var(--brand-accent); }
.site-footer a.btn.btn-white:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer .footer-menu li a { font-size: .95rem; }
.site-footer-logo { max-height: 56px; margin-bottom: 1rem; }
.site-footer-wordmark {
  font-family: var(--heading-font);
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.site-footer-desc {
  color: rgba(255,255,255,.7);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-contact-line { margin: 0 0 .35rem; color: rgba(255,255,255,.85); font-size: .95rem; }
.footer-contact-line a { color: rgba(255,255,255,.85); }
.footer-contact-line a:hover { color: var(--brand-primary); }
.footer-divider { height: 1px; background: rgba(255,255,255,.1); margin: 1rem 0; }
.footer-hours { color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.55; margin: 0; white-space: normal; }

.site-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  text-align: center;
}

@media (max-width: 980px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .site-footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 60px 0 32px; }
}

/* ───────── Hero (dark with image) ───────── */
.ccf-hero,
.hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0c265d 0%, #0f2c6b 55%, #133475 100%);
  overflow: hidden;
  padding: 72px 0 72px;
}
.ccf-hero__bg,
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .32;
  z-index: 0;
}
.ccf-hero::after,
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(12,38,93,.92) 0%, rgba(12,38,93,.78) 60%, rgba(19,52,117,.55) 100%);
  z-index: 1;
}
.ccf-hero__content,
.hero .container {
  position: relative; z-index: 2;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 820px;
}
/* Position of the content column within the hero container */
.hero-content--align-left   { margin-right: auto; margin-left: 0; }
.hero-content--align-center { margin-left: auto;  margin-right: auto; }
.hero-content--align-right  { margin-left: auto;  margin-right: 0; }
/* Text alignment inside the content column */
.hero-content--text-left   { text-align: left; }
.hero-content--text-center { text-align: center; }
.hero-content--text-right  { text-align: right; }
.hero-content--text-center .hero-desc,
.hero-content--text-center .hero p { margin-left: auto; margin-right: auto; }
.hero-content--text-center .hero-actions { justify-content: center; }
.hero-content--text-right  .hero-actions { justify-content: flex-end; }
.ccf-hero h1,
.hero h1 {
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.ccf-hero h1 em,
.hero h1 em { font-style: normal; color: var(--brand-primary); }
.ccf-hero__subheading,
.hero-desc,
.hero p {
  color: rgba(255,255,255,.88);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 2rem;
}
.ccf-hero__actions,
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
}

/* Page-hero (smaller inner-page) */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0c265d 0%, #0f2c6b 55%, #133475 100%);
  overflow: hidden;
  padding: 80px 20px;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,38,93,.82) 0%, rgba(19,52,117,.88) 100%);
  z-index: 1;
}
.page-hero h1,
.page-hero p { position: relative; z-index: 2; color: #fff; }
.page-hero h1 { font-size: clamp(2rem, 4vw + .5rem, 3rem); margin-bottom: .5rem; text-transform: uppercase; font-weight: 900; }
.page-hero p { font-size: 1.125rem; color: rgba(255,255,255,.88); max-width: 720px; }

/* ───────── Stats (cyan pill) ───────── */
.ccf-stats {
  padding: clamp(28px, 4vw, 44px) 0 clamp(28px, 4vw, 44px);
  position: relative;
  background: transparent !important;
  color: inherit;
}
.ccf-stats .ccf-container,
.ccf-stats-inner,
.ccf-stats .container {
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: 0 18px 36px -14px rgba(3,199,254,.45);
}
/* Never let a bg_color modifier paint over the stats wrapper */
.ccf-stats.ccf-bg-dark,
.ccf-stats.ccf-bg-light,
.ccf-stats.ccf-bg-brand,
.ccf-stats.ccf-bg-white { background: transparent !important; color: inherit; }
.ccf-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.ccf-stat-item { text-align: center; color: #fff; }
.ccf-stat-item__number {
  font-family: var(--heading-font);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.01em;
}
.ccf-stat-item__suffix { font-size: 1em; color: #fff; }
.ccf-stat-item__label {
  margin-top: .6rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: .95rem;
}
.ccf-stats + .section,
.ccf-stats + .ccf-section { padding-top: clamp(44px, 5.5vw, 72px); }

/* ───────── Text + Image (corporate layout) ───────── */
.ccf-text-image,
section.text_image { padding: clamp(44px, 5.5vw, 72px) 0; }

.corporate-layout,
.ccf-text-image__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
/* If text_image / corporate-layout has only one child (image removed), collapse to single column */
.corporate-layout:has(> :only-child),
.ccf-text-image__grid:has(> :only-child) { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; gap: 1.5rem; }
/* Also tidy the CTA banner when media is removed */
.ccf-cta-banner__inner:has(> :only-child) { grid-template-columns: 1fr; }
.ccf-cta-banner__content { max-width: 820px; }

.corporate-layout.image-right > :first-child,
.ccf-text-image--image-right > :first-child { order: 1; }
.corporate-layout.image-right > :last-child,
.ccf-text-image--image-right > :last-child { order: 2; }
.corporate-image img,
.ccf-text-image__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.corporate-features { display: grid; gap: 1.5rem; margin-top: 2rem; }
.corp-feature { display: flex; gap: 1rem; align-items: flex-start; }
.corp-feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(3,199,254,.12); color: var(--brand-primary);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.corp-feature h4 {
  margin: 0 0 .25rem;
  color: var(--text-heading);
  font-size: 1.05rem;
  font-weight: 600;
}
.corp-feature p { margin: 0; color: var(--text-secondary); font-size: .95rem; }

/* Dark variant of text_image (deep purple bg) */
.ccf-bg-dark .section-title,
.ccf-bg-dark .ccf-section-heading,
.ccf-bg-dark .corp-feature h4 { color: #fff; }
.ccf-bg-dark .section-title em,
.ccf-bg-dark .ccf-section-heading em { color: var(--brand-primary); }
.ccf-bg-dark p,
.ccf-bg-dark .section-subtitle,
.ccf-bg-dark .ccf-section-subheading { color: rgba(255,255,255,.8); }
.ccf-bg-dark .corp-feature-icon { background: rgba(3,199,254,.18); color: var(--brand-primary); }
.ccf-bg-dark .corp-feature p { color: rgba(255,255,255,.75); }

@media (max-width: 860px) {
  .corporate-layout, .ccf-text-image__grid { grid-template-columns: 1fr; gap: 2rem; }
  .corporate-layout.image-right > :first-child,
  .ccf-text-image--image-right > :first-child { order: 0; }
}

/* ───────── Fleet cards (service cards) ───────── */
.ccf-fleet-cards { padding: clamp(44px, 5.5vw, 72px) 0; }
.ccf-fleet-cards__header { text-align: center; margin-bottom: 2rem; }

.fleet-grid,
.ccf-fleet-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.fleet-card,
.ccf-fleet-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid #eef1f6;
}
.fleet-card:hover,
.ccf-fleet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fleet-card-image,
.ccf-fleet-card__image {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  background-color: #eef3f8;
  position: relative;
}
.fleet-card-image img,
.ccf-fleet-card__image img { width: 100%; height: 100%; object-fit: cover; }
.fleet-card-body,
.ccf-fleet-card__body {
  padding: 28px 26px;
  flex: 1;
  display: flex; flex-direction: column;
  align-items: flex-start;
  background: #fff;
}
.fleet-card-name,
.ccf-fleet-card__name,
.ccf-fleet-card__title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-heading);
  margin: 0 0 .6rem;
}
.fleet-card-spec,
.ccf-fleet-card__desc,
.ccf-fleet-card__body p {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.ccf-fleet-card__cta,
.fleet-card-cta {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 980px) {
  .fleet-grid, .ccf-fleet-cards__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fleet-grid, .ccf-fleet-cards__grid { grid-template-columns: 1fr; }
}

/* ───────── Feature cards / highlights ───────── */
.ccf-feature-cards { padding: clamp(44px, 5.5vw, 72px) 0; }
.ccf-feature-cards__header { text-align: center; margin-bottom: 2rem; }

.highlights-grid,
.ccf-feature-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.highlight-card,
.ccf-feature-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: left;
}
.highlight-card:hover,
.ccf-feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.highlight-icon,
.ccf-feature-card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(3,199,254,.12);
  color: var(--brand-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.highlight-card h3,
.ccf-feature-card__title {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--text-heading);
  font-size: 1.15rem;
  margin: 0 0 .5rem;
}
.highlight-card p,
.ccf-feature-card__desc {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 980px) {
  .highlights-grid, .ccf-feature-cards__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .highlights-grid, .ccf-feature-cards__grid { grid-template-columns: 1fr; }
}

/* ───────── Testimonials ───────── */
.ccf-testimonials {
  padding: clamp(44px, 5.5vw, 72px) 0;
  background: var(--brand-primary);
  color: #fff;
}
.ccf-testimonials__header { text-align: center; margin-bottom: 2rem; color: #fff; }
.ccf-testimonials__header .section-title,
.ccf-testimonials__header .ccf-section-heading { color: #fff; }
.ccf-testimonials__header .section-title em,
.ccf-testimonials__header .ccf-section-heading em { color: #fff; opacity: .9; }
.ccf-testimonials__header p,
.ccf-testimonials__header .section-subtitle { color: rgba(255,255,255,.9); }

.testimonials-track,
.ccf-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card,
.ccf-testimonial {
  background: #fff;
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}
.testimonial-stars,
.ccf-testimonial__stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  font-size: 1rem;
}
.testimonial-text,
.ccf-testimonial__quote {
  color: var(--text-primary);
  font-size: .98rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: normal;
}
.testimonial-author,
.ccf-testimonial__author { display: flex; align-items: center; gap: .8rem; }
.testimonial-avatar,
.ccf-testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.testimonial-name,
.ccf-testimonial__name {
  font-weight: 700;
  color: var(--text-heading);
  font-size: .95rem;
}
.testimonial-role,
.ccf-testimonial__role {
  font-size: .82rem;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .testimonials-track, .ccf-testimonials__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ───────── CTA Banner (blue rounded) ───────── */
.ccf-cta-banner,
.cta-section {
  padding: clamp(40px, 5.5vw, 72px) 0;
  background: #fff;
}
.ccf-cta-banner__inner,
.cta-section__inner {
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 20px 60px -20px rgba(3,199,254,.4);
}
.ccf-cta-banner__content .section-title,
.ccf-cta-banner__content h2 {
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  text-transform: none;
}
.ccf-cta-banner__content .section-title em,
.ccf-cta-banner__content h2 em { color: #fff; opacity: .85; }
.ccf-cta-banner__content p {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.ccf-cta-banner__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.ccf-cta-banner__actions .btn-primary { background: #fff; color: var(--brand-accent); border-color: #fff; }
.ccf-cta-banner__actions .btn-primary:hover { background: var(--brand-accent); color: #fff; border-color: var(--brand-accent); }
.ccf-cta-banner__actions .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.ccf-cta-banner__actions .btn-outline:hover { background: rgba(255,255,255,.15); }

.ccf-cta-banner__media img { border-radius: var(--radius-lg); width: 100%; height: auto; }

@media (max-width: 860px) {
  .ccf-cta-banner__inner, .cta-section__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ───────── Steps ───────── */
.ccf-steps { padding: clamp(44px, 5.5vw, 72px) 0; }
.ccf-steps__header { text-align: center; margin-bottom: 2rem; }
.steps-grid,
.ccf-steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.step-card,
.ccf-step {
  text-align: center;
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid #eef1f6;
}
.step-number,
.ccf-step__number {
  width: 56px; height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.25rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.ccf-step__title {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--text-heading);
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.ccf-step__desc { color: var(--text-secondary); font-size: .95rem; }

/* ───────── FAQ ───────── */
.ccf-faq { padding: clamp(44px, 5.5vw, 72px) 0; }
.ccf-faq__header { text-align: center; margin-bottom: 2rem; }
.ccf-faq__list, .faq-list { max-width: 820px; margin: 0 auto; }
.ccf-faq__item, .faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}
.ccf-faq__question, .faq-q {
  font-weight: 600;
  font-family: var(--heading-font);
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  gap: 1rem;
}
.ccf-faq__question::after, .faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--brand-primary);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.ccf-faq__item.is-open .ccf-faq__question::after,
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.ccf-faq__answer, .faq-a {
  padding-top: 1rem;
  color: var(--text-secondary);
  display: none;
  line-height: 1.7;
}
.ccf-faq__item.is-open .ccf-faq__answer,
.faq-item.is-open .faq-a { display: block; }

/* ───────── CTA Form ───────── */
.ccf-cta-form { padding: clamp(44px, 5.5vw, 72px) 0; background: var(--bg-secondary); }
.ccf-cta-form__wrap { max-width: 820px; margin: 0 auto; text-align: center; }
.cta-box {
  background: #fff;
  color: var(--text-primary);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 2rem auto 0;
  text-align: left;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text-heading); }
.form-group input, .form-group textarea, .form-group select {
  padding: .85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.form-submit { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .cta-box { padding: 28px; } }

/* ───────── Logo bar ───────── */
.ccf-logo-bar, .logos-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #fff;
}
.ccf-logo-bar__label, .logos-label {
  text-align: center;
  color: var(--text-muted);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.ccf-logo-bar__track, .logos-track {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 3rem;
  filter: grayscale(1);
  opacity: .7;
}
.ccf-logo-bar__track img, .logos-track img { max-height: 44px; width: auto; }

/* ───────── Gallery bento ───────── */
.ccf-gallery-bento, .gallery-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}
.ccf-gallery-bento__item, .gi {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
}
.ccf-gallery-bento__item img, .gi img { width: 100%; height: 100%; object-fit: cover; }
.gi.size-tall { grid-row: span 2; }
.gi.size-wide { grid-column: span 2; }
.gi.size-large { grid-column: span 2; grid-row: span 2; }
@media (max-width: 860px) {
  .ccf-gallery-bento, .gallery-bento { grid-template-columns: repeat(2, 1fr); }
  .gi.size-large { grid-column: span 2; }
}

/* ───────── Video showcase ───────── */
.ccf-video-showcase, .video-showcase {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}
.video-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.2);
  cursor: pointer;
}
.play-circle {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--brand-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2rem;
}

/* ───────── Trust signals ───────── */
.ccf-trust-signals {
  padding: 36px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #fff;
}
.ccf-trust-signals__list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2.5rem;
}
.ccf-trust-signal {
  display: inline-flex; align-items: center;
  gap: .75rem;
  font-weight: 500;
  color: var(--text-heading);
  font-size: .95rem;
}
.ccf-trust-signal__icon { color: var(--brand-primary); font-size: 1.3rem; }

/* ───────── Text content ───────── */
.ccf-text-content { padding: clamp(44px, 5.5vw, 72px) 0; }
.ccf-text-content.width-narrow .ccf-text-content__body { max-width: 680px; margin-inline: auto; }
.ccf-text-content.width-medium .ccf-text-content__body { max-width: 860px; margin-inline: auto; }
.ccf-text-content.width-full .ccf-text-content__body { max-width: var(--container-max); margin-inline: auto; }
.ccf-text-content__body { line-height: 1.65; }
.ccf-text-content__body p { margin: 0 0 .9em; }
.ccf-text-content__body p:last-child { margin-bottom: 0; }
.ccf-text-content__body h2, .ccf-text-content__body h3 { margin-top: 1.5em; color: var(--text-heading); }
.ccf-text-content__body a { color: var(--brand-primary); text-decoration: underline; }

/* ───────── Spacer ───────── */
.ccf-spacer { height: 40px; }
.ccf-spacer.size-small  { height: 20px; }
.ccf-spacer.size-medium { height: 40px; }
.ccf-spacer.size-large  { height: 72px; }

/* ───────── Entry content fallback ───────── */
.entry-content { padding: clamp(32px, 5vw, 72px) 0; }
.entry-content h1, .entry-content h2 { margin-top: 1.5em; color: var(--text-heading); }
.entry-content a { color: var(--brand-primary); text-decoration: underline; }
.fallback-article .page-title { color: var(--text-heading); }

/* ───────── Reveal on scroll ───────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

[hidden] { display: none !important; }

/* Pre-heading (eyebrow) inside hero / page-hero */
.hero-pre-heading {
  display: block;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.75rem 0;
  text-transform: none;
}

/* page-hero gradient (no-image) - subtle dark blue used on service detail banners */
.page-hero {
  background: linear-gradient(135deg, var(--brand-dark, #0b1b4d) 0%, #1a2c6b 55%, #233a82 100%);
  color: #fff;
}
.page-hero h1,
.page-hero .hero-pre-heading,
.page-hero .hero-desc,
.page-hero p { color: #fff; }
.page-hero .hero-pre-heading { color: rgba(255, 255, 255, 0.85); }

.highlights-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.highlights-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.highlights-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .highlights-grid--cols-3,
  .highlights-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .highlights-grid--cols-2,
  .highlights-grid--cols-3,
  .highlights-grid--cols-4 { grid-template-columns: 1fr; }
}

/* Blog grid v2 - archive & single */
.page-hero--blog,
.page-hero--post {
  background: linear-gradient(135deg, var(--brand-dark, #0b1b4d) 0%, #1a2c6b 55%, #233a82 100%);
  color: #fff;
  padding: clamp(60px, 8vw, 110px) 0 clamp(48px, 6vw, 80px);
}
.page-hero--blog .hero-pre-heading,
.page-hero--post .hero-pre-heading { color: rgba(255, 255, 255, 0.85); }
.page-hero--blog h1,
.page-hero--post h1 {
  color: #fff;
  margin: 0.2rem 0 0.8rem;
  text-transform: none;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.15;
}
.page-hero--blog .hero-desc { color: rgba(255, 255, 255, 0.9); max-width: 620px; font-size: 1.05rem; }
.page-hero--post h1 { max-width: 900px; }

.blog-archive-section {
  padding: clamp(48px, 6vw, 80px) 0 clamp(60px, 7vw, 100px);
  background: #f6f7fb;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(11, 27, 77, 0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(11, 27, 77, 0.08);
  border-color: #d8deea;
}
.blog-card__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.blog-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-card__date {
  font-size: .85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-accent, #24b6ff);
  margin: 0;
  font-weight: 600;
}
.blog-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--brand-dark, #0b1b4d);
  text-transform: none;
}
.blog-card__title a {
  color: inherit;
  text-decoration: none;
}
.blog-card__title a:hover { color: var(--brand-accent, #24b6ff); }
.blog-card__excerpt {
  color: #55607a;
  font-size: 0.98rem;
  line-height: 1.55;
  flex: 1;
}
.blog-card__excerpt p { margin: 0; }
.blog-card__more {
  margin-top: 6px;
  align-self: flex-start;
  color: var(--brand-accent, #24b6ff);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.blog-card__more:hover { color: var(--brand-dark, #0b1b4d); }

.blog-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.blog-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8ecf3;
  color: var(--brand-dark, #0b1b4d);
  text-decoration: none;
}
.blog-pagination .page-numbers.current {
  background: var(--brand-dark, #0b1b4d);
  color: #fff;
}

/* Single post layout */
.blog-single-section {
  padding: clamp(40px, 5vw, 70px) 0 clamp(60px, 7vw, 100px);
  background: #fff;
}
.blog-single {
  max-width: 780px;
  margin: 0 auto;
}
.blog-single__body {
  color: #2b3245;
  font-size: 1.05rem;
  line-height: 1.7;
}
.blog-single__body h2 {
  color: var(--brand-dark, #0b1b4d);
  font-size: 1.5rem;
  margin: 2rem 0 0.6rem;
  text-transform: none;
}
.blog-single__body h3 {
  color: var(--brand-dark, #0b1b4d);
  font-size: 1.2rem;
  margin: 1.6rem 0 0.5rem;
  text-transform: none;
}
.blog-single__body p { margin: 0 0 1.1rem; }
.blog-single__body ul, .blog-single__body ol { margin: 0 0 1.1rem 1.2rem; }
.blog-single__body li { margin-bottom: 0.3rem; }
.blog-single__body a { color: var(--brand-accent, #24b6ff); text-decoration: underline; text-underline-offset: 3px; }
.blog-single__foot {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #e8ecf3;
}

/* Older rules we added earlier - suppress the duplicate title headings on archive/single */
body.blog article.entry > h2, body.archive article.entry > h2 { /* no-op to avoid collision */ }

/* Back-to-blog button on light backgrounds */
.blog-single__foot .btn.btn-outline {
  background: transparent;
  color: var(--brand-dark, #0b1b4d);
  border: 1px solid var(--brand-dark, #0b1b4d);
}
.blog-single__foot .btn.btn-outline:hover {
  background: var(--brand-dark, #0b1b4d);
  color: #fff;
}

/* Service CPT layout */
.highlight-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(36, 182, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--brand-accent, #24b6ff);
  font-size: 1.6rem;
}
.service-body { color: #2b3245; line-height: 1.7; font-size: 1.02rem; }
.service-body p { margin: 0 0 1rem; }
.service-body ul, .service-body ol { margin: 0 0 1rem 1.2rem; }

/* Inline stats block (usable inside any section via stats[] data) */
.ccf-stats.ccf-stats--inline {
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: clamp(26px, 3.5vw, 40px) clamp(20px, 3vw, 36px);
  background: var(--brand-accent, #24b6ff);
  border-radius: 18px;
  display: grid;
  gap: 20px 24px;
  color: #fff;
  width: 100%;
}
.ccf-stats--inline[data-count="1"] { grid-template-columns: 1fr; }
.ccf-stats--inline[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.ccf-stats--inline[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.ccf-stats--inline[data-count="4"] { grid-template-columns: repeat(4, 1fr); }
.ccf-stats--inline[data-count="5"],
.ccf-stats--inline[data-count="6"] { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .ccf-stats--inline[data-count="3"],
  .ccf-stats--inline[data-count="4"],
  .ccf-stats--inline[data-count="5"],
  .ccf-stats--inline[data-count="6"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .ccf-stats--inline { grid-template-columns: 1fr !important; }
}
.ccf-stats--inline .ccf-stat-item {
  text-align: center;
  padding: 10px 4px;
}
.ccf-stats--inline .ccf-stat-item__number {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  color: #fff;
}
.ccf-stats--inline .ccf-stat-item__label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
}

/* Stats bar color fix - use brand-primary (cyan) explicitly */
.ccf-text-content .ccf-stats.ccf-stats--inline,
section .ccf-stats.ccf-stats--inline,
.ccf-stats.ccf-stats--inline {
  background: var(--brand-primary, #03C7FE) !important;
  color: #fff !important;
}
.ccf-stats.ccf-stats--inline .ccf-stat-item__number { color: #fff !important; }
.ccf-stats.ccf-stats--inline .ccf-stat-item__label { color: rgba(255,255,255,0.95) !important; }

/* cali-stats-bar inline component (reusable inside any section) */
.cali-stats-bar {
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: clamp(26px, 3.5vw, 40px) clamp(20px, 3vw, 36px);
  background: var(--brand-primary, #03C7FE);
  border-radius: 18px;
  display: grid;
  gap: 20px 24px;
  color: #fff;
  max-width: 1180px;
  box-shadow: 0 8px 22px rgba(3, 199, 254, 0.18);
}
.cali-stats-bar[data-count="1"] { grid-template-columns: 1fr; }
.cali-stats-bar[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.cali-stats-bar[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.cali-stats-bar[data-count="4"] { grid-template-columns: repeat(4, 1fr); }
.cali-stats-bar[data-count="5"],
.cali-stats-bar[data-count="6"] { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .cali-stats-bar[data-count="3"],
  .cali-stats-bar[data-count="4"],
  .cali-stats-bar[data-count="5"],
  .cali-stats-bar[data-count="6"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .cali-stats-bar { grid-template-columns: 1fr !important; }
}
.cali-stats-bar .ccf-stat-item { text-align: center; padding: 10px 4px; }
.cali-stats-bar .ccf-stat-item__number {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  color: #fff;
}
.cali-stats-bar .ccf-stat-item__label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
}

/* Stats bar full width override - match container width */
.cali-stats-bar {
  max-width: none !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Contact form feedback */
.cali-form-feedback {
  min-height: 22px;
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 0 4px;
  text-align: center;
}
.cali-form-feedback:empty { display: none; }
.cali-form-feedback--success {
  padding: 10px 14px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 8px;
  color: #0b7a3e;
}
.cali-form-feedback--error {
  padding: 10px 14px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: 8px;
  color: #b91c1c;
}
.cali-form-submit[disabled] { opacity: 0.6; cursor: wait; }

/* Date input tidy-up - keep native picker but match other inputs */
.form-input--date {
  font-family: inherit;
  color: var(--text-primary, #1a1a1a);
}
.form-input--date::-webkit-datetime-edit-fields-wrapper,
.form-input--date::-webkit-datetime-edit-text { color: inherit; }
.form-input--date::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.75;
  filter: invert(0.2);
}
.form-input--date::-webkit-calendar-picker-indicator:hover { opacity: 1; }

/* Honeypot + sr-only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Unified banner style - all hero/page-hero banners match about-us */
.hero,
.page-hero,
.page-hero--post,
.page-hero--blog {
  background: linear-gradient(135deg, #0b1b4d 0%, #1a2c6b 55%, #233a82 100%) !important;
  padding: 80px 0 !important;
  min-height: 0 !important;
  height: auto !important;
  color: #fff;
}
.hero h1,
.page-hero h1,
.page-hero--post h1,
.page-hero--blog h1 {
  font-size: 48px !important;
  line-height: 1.15 !important;
  color: #fff !important;
  margin: 0.2rem 0 0.8rem !important;
}
@media (max-width: 720px) {
  .hero h1,
  .page-hero h1,
  .page-hero--post h1,
  .page-hero--blog h1 {
    font-size: 36px !important;
  }
  .hero,
  .page-hero,
  .page-hero--post,
  .page-hero--blog { padding: 56px 0 !important; }
}
.hero .hero-desc,
.hero p,
.page-hero .hero-desc,
.page-hero p,
.page-hero--post p,
.page-hero--blog .hero-desc,
.page-hero--blog p {
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-top: 0 !important;
  max-width: 640px;
}
.hero .hero-pre-heading,
.page-hero .hero-pre-heading,
.page-hero--post .hero-pre-heading,
.page-hero--blog .hero-pre-heading {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0 0 0.75rem 0 !important;
}
.hero .hero-actions,
.page-hero .hero-actions {
  margin-top: 28px;
}

/* text_image image-left/right reversal + section-actions + section-body styling */
.corporate-layout.image-left > :nth-child(1) { order: 1; }
.corporate-layout.image-left > :nth-child(2) { order: 2; }
.corporate-layout.image-right > :nth-child(1) { order: 1; }
.corporate-layout.image-right > :nth-child(2) { order: 2; }
.section .section-actions { margin-top: 24px; }
.section .section-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.section .section-body { color: #2b3245; line-height: 1.7; font-size: 1.02rem; }
.section .section-body p { margin: 0 0 1rem; }
.section .section-body p:last-child { margin-bottom: 0; }
.section .section-subtitle { color: #3a4562; font-size: 1.05rem; margin: 0 0 1rem; }
.section .pre-heading {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent, #24b6ff);
  margin: 0 0 10px 0;
  font-weight: 600;
}

/* Normalise text_image image aspect - crop vertical/landscape to same shape */
.corporate-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg, 18px);
  box-shadow: 0 10px 30px rgba(11, 27, 77, 0.08);
}
.corporate-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
  border-radius: inherit;
}
/* Same treatment for the newer ccf-text-image wrapper if it's ever used */
.ccf-text-image__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg, 18px);
}
.ccf-text-image__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

/* text_image tall variant - portrait aspect */
.corporate-image--tall { aspect-ratio: 3 / 4; max-width: 480px; margin-left: auto; margin-right: auto; }
.corporate-layout.image-right .corporate-image--tall { margin-right: 0; }
.corporate-layout.image-left  .corporate-image--tall { margin-left: 0; }


/* ===== Hero with side image and badge pill ===== */
.hero--has-side-image .container {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}
.hero--has-side-image .hero-content {
  flex: 1 1 420px;
  max-width: 540px;
}
.hero-side-image {
  flex: 0 1 460px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  aspect-ratio: 4 / 5;
  max-height: 560px;
}
.hero-side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-side-image .hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  margin-bottom: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--brand-navy, #133475);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  margin-bottom: 24px;
  white-space: nowrap;
}
.hero-badge .pulse {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
  display: inline-block;
  animation: hero-badge-pulse 2s ease-in-out infinite;
}
@keyframes hero-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.10); }
}
@media (max-width: 980px) {
  .hero--has-side-image .container { flex-direction: column; gap: 32px; }
  .hero-side-image { width: 100%; max-width: 360px; }
}
