/* ==========================================================================
   CLINOVA SYSTEMS - site-specific styles
   Loaded AFTER main.css. Contains only targeted additions/overrides:
     01. Accessibility helpers
     02. Header (logo, two-row navigation, dropdowns)
     03. Hero slider (rectangular, no wave)  <-- HERO IMAGES ARE SET HERE
     04. Page banner (breadcrumb)
     05. Shared content components (cards, lists, steps, notices)
     06. Home page sections
     07. Insights / articles
     08. Contact form
     09. Footer
     10. Reduced motion
   ========================================================================== */

/* 01. Accessibility helpers ------------------------------------------------ */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100000;
  background: var(--header);
  color: var(--white);
  padding: 10px 18px;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: var(--white); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--theme2);
  outline-offset: 2px;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important; width: 1px !important; height: 1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important;
}

/* Preloader letters use the brand navy */
.preloader .animation-preloader .txt-loading .letters-loading::before { color: var(--theme); }

/* 02. Header ---------------------------------------------------------------- */
.cl-header { position: relative; z-index: 999; background: var(--white); }
.cl-header .header-3::before { display: none; } /* remove the decorative colour block */

.cl-header .header-main { padding: 14px 0; gap: 24px; }

.cl-header .header-logo { display: inline-block; line-height: 0; }
.cl-header .header-logo img {
  height: 62px;           /* keeps the original 3.48:1 proportions */
  width: auto;
  max-width: 100%;
}
@media (max-width: 575px) {
  .cl-header .header-logo img { height: 48px; }
}

.cl-header .header-right { gap: 28px; }
.cl-header .header-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; line-height: 1.4; color: var(--text);
}
.cl-header .header-meta i { color: var(--theme); font-size: 20px; }
.cl-header .header-meta strong { display: block; color: var(--header); font-weight: 600; }
@media (max-width: 1199px) { .cl-header .header-meta { display: none; } }

.cl-header .header-button .theme-btn { padding: 18px 28px; }
@media (max-width: 1199px) { .cl-header .header-button { display: none; } }

.cl-header .header__hamburger .sidebar__toggle {
  font-size: 24px; color: var(--header); cursor: pointer;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--border);
}

/* Second row: the main navigation (desktop >= 1200px) */
.cl-navbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
@media (max-width: 1199px) { .cl-navbar { display: none; } }
.cl-header .cl-navbar .header-main.cl-nav-row { padding: 0; display: block; }
.cl-header .cl-navbar .mean__menu-wrapper { width: 100%; }

.cl-navbar .main-menu > nav > ul {
  display: flex; align-items: center; justify-content: flex-start; gap: 0 clamp(28px, 3.4vw, 52px);
  margin: 0;
}
.cl-header .cl-navbar .main-menu ul li { margin-inline-end: 0; }
.cl-header .cl-navbar .main-menu > nav > ul > li > a {
  font-size: 15px;
  padding: 16px 0;
  white-space: nowrap;
  text-transform: none;
}
.cl-header .cl-navbar .main-menu > nav > ul > li > a i { font-size: 12px; margin-left: 3px; }
@media (min-width: 1400px) {
  .cl-header .cl-navbar .main-menu > nav > ul > li > a { font-size: 16px; }
}

/* Active page indicator */
.cl-header .cl-navbar .main-menu > nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px;
  height: 2px; background: var(--theme); transform: scaleX(0);
  transform-origin: left; transition: transform .3s ease;
}
.cl-header .cl-navbar .main-menu > nav > ul > li.active > a,
.cl-header .cl-navbar .main-menu > nav > ul > li > a[aria-current="page"] { color: var(--theme); }
.cl-header .cl-navbar .main-menu > nav > ul > li.active > a::after,
.cl-header .cl-navbar .main-menu > nav > ul > li:hover > a::after,
.cl-header .cl-navbar .main-menu > nav > ul > li:focus-within > a::after { transform: scaleX(1); }

/* Dropdown: open on hover, keyboard focus and tap (.is-open set by clinova.js) */
.cl-header .main-menu ul li .submenu { min-width: 340px; border-top: 3px solid var(--theme); }
.cl-header .main-menu ul li .submenu li a { text-transform: none; }
.cl-header .main-menu ul li .submenu li.active > a { color: var(--theme); }
.cl-header .main-menu ul li:focus-within > .submenu,
.cl-header .main-menu ul li.is-open > .submenu {
  visibility: visible; opacity: 1; transform: translateY(0);
}

/* Escape pressed: keep the submenu closed while focus stays on the parent link */
.cl-header .main-menu ul li.is-closed-by-key > .submenu { visibility: hidden !important; opacity: 0 !important; }

/* Sticky state: the existing template adds .sticky to #header-sticky */
#header-sticky.sticky { box-shadow: 0 6px 24px rgba(2, 35, 92, .08); }
#header-sticky.sticky .header-main { padding: 8px 0; }
#header-sticky.sticky .header-logo img { height: 50px; }

/* Off-canvas (mobile) panel */
.offcanvas__logo img { height: 52px; width: auto; }
.offcanvas__info .offcanvas__contact ul li .offcanvas__contact-text { color: var(--header); }
.offcanvas__info .mobile-menu .mean-nav ul li a { text-transform: none; }

/* 03. Hero slider ------------------------------------------------------------
   Rectangular landscape slider. To replace a photo, overwrite the file in
   assets/img/photos/hero/ keeping the same name (recommended 2400x1030 px).
   Each slide's image path sits next to its text in index.html (search "Slide 1:").
   The gradient on .slider-image is the fallback when an image is missing.     */
.hero-3.cl-hero { overflow: hidden; background: var(--header); }
.hero-3.cl-hero .hero-slider { position: relative; z-index: 1; }
.hero-3.cl-hero .slider-image { z-index: -1; background-color: var(--header); background-position: center right; }
.hero-3.cl-hero .slider-image::before {
  background: linear-gradient(90deg, rgba(2, 20, 56, .92) 0%, rgba(2, 35, 92, .78) 45%, rgba(2, 35, 92, .15) 100%);
  opacity: 1;
}
.hero-3.cl-hero .swiper-slide-active .slider-image { transform: scale(1.04); }


.hero-3.cl-hero .swiper-slide { height: auto; }
.hero-3.cl-hero .swiper-slide > .container { height: 100%; }
.hero-3.cl-hero .hero-content {
  min-height: clamp(520px, 74vh, 720px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 0 110px;            /* symmetrical: no space reserved for a wave */
  max-width: 760px;
}
@media (max-width: 991px) { .hero-3.cl-hero .hero-content { min-height: 520px; padding: 80px 0 110px; } }
@media (max-width: 575px) { .hero-3.cl-hero .hero-content { min-height: 0; padding: 64px 0 96px; } }

.hero-3.cl-hero .hero-content h5 { text-transform: uppercase; letter-spacing: .08em; font-size: 15px; color: #9BE6FF; }
.hero-3.cl-hero .hero-content h5::before { background-color: var(--theme2); }
.hero-3.cl-hero .hero-content .hero-title {
  color: var(--white);
  font-size: 60px; line-height: 1.12; font-weight: 700;
  margin-bottom: 22px; text-transform: none;
}
@media (max-width: 1199px) { .hero-3.cl-hero .hero-content .hero-title { font-size: 52px; } }
@media (max-width: 991px)  { .hero-3.cl-hero .hero-content .hero-title { font-size: 44px; } }
@media (max-width: 767px)  { .hero-3.cl-hero .hero-content .hero-title { font-size: 36px; } }
@media (max-width: 575px)  { .hero-3.cl-hero .hero-content .hero-title { font-size: 30px; } }
.hero-3.cl-hero .hero-content p { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.9); max-width: 640px; }
@media (max-width: 575px) { .hero-3.cl-hero .hero-content p { font-size: 16px; } }
.hero-3.cl-hero .hero-content .hero-button { margin-top: 38px; flex-wrap: wrap; }
@media (max-width: 575px) { .hero-3.cl-hero .hero-content .hero-button .theme-btn { width: 100%; text-align: center; } }

/* Controls (same look as the template's .array-prev / .array-next) */
.hero-3.cl-hero .array-button { left: auto; right: 40px; }
.hero-3.cl-hero .array-button .hero-nav-next,
.hero-3.cl-hero .array-button .hero-nav-prev {
  width: 56px; height: 56px; line-height: 56px; text-align: center; border-radius: 50%;
  color: var(--white); transition: all .4s ease-in-out;
}
.hero-3.cl-hero .array-button .hero-nav-next { background-color: var(--theme); }
.hero-3.cl-hero .array-button .hero-nav-prev { background-color: transparent; border: 1px solid var(--white); }
.hero-3.cl-hero .array-button .hero-nav-next:hover,
.hero-3.cl-hero .array-button .hero-nav-prev:hover { background-color: var(--white); color: var(--theme); }
.hero-3.cl-hero .array-button button { cursor: pointer; }
@media (max-width: 1399px) { .hero-3.cl-hero .array-button { right: 24px; } }
.hero-3.cl-hero .hero-pagination {
  position: absolute; left: 0; right: 0; bottom: 36px; z-index: 10;
  display: flex; justify-content: center; gap: 6px;
}
.hero-3.cl-hero .hero-pagination .swiper-pagination-bullet {
  width: 34px; height: 4px; border-radius: 0; margin: 0 !important;
  background: rgba(255,255,255,.45); opacity: 1; transition: background .3s, width .3s;
  /* larger hit area for touch */
  position: relative;
}
.hero-3.cl-hero .hero-pagination .swiper-pagination-bullet::after { content: ""; position: absolute; inset: -12px 0; }
.hero-3.cl-hero .hero-pagination .swiper-pagination-bullet-active { background: var(--theme2); width: 54px; }

/* 04. Page banner ------------------------------------------------------------ */
.breadcrumb-wrapper.cl-banner { background-color: var(--header); background-position: center; }
.breadcrumb-wrapper.cl-banner::before { background-image: linear-gradient(90deg, rgba(2,20,56,.85) 0%, rgba(2,35,92,.55) 100%); opacity: 1; }
.breadcrumb-wrapper.cl-banner .page-heading { padding: 110px 0; }
@media (max-width: 991px) { .breadcrumb-wrapper.cl-banner .page-heading { padding: 80px 0; } }
@media (max-width: 575px) { .breadcrumb-wrapper.cl-banner .page-heading { padding: 60px 0; } }
.breadcrumb-wrapper.cl-banner .page-heading h1 { font-size: 56px; text-transform: none; }
@media (max-width: 991px) { .breadcrumb-wrapper.cl-banner .page-heading h1 { font-size: 44px; } }
@media (max-width: 575px) { .breadcrumb-wrapper.cl-banner .page-heading h1 { font-size: 32px; } }
.breadcrumb-wrapper.cl-banner .page-heading.is-article h1 { font-size: 42px; max-width: 900px; margin: 0 auto; line-height: 1.2; }
@media (max-width: 991px) { .breadcrumb-wrapper.cl-banner .page-heading.is-article h1 { font-size: 34px; } }
@media (max-width: 575px) { .breadcrumb-wrapper.cl-banner .page-heading.is-article h1 { font-size: 26px; } }
.breadcrumb-wrapper.cl-banner .breadcrumb-items { flex-wrap: wrap; }
.breadcrumb-wrapper.cl-banner .page-heading .breadcrumb-items li a:hover { color: #9BE6FF; }
.breadcrumb-wrapper.cl-banner .border-shape, .breadcrumb-wrapper.cl-banner .line-shape { opacity: .35; }
@media (max-width: 991px) { .breadcrumb-wrapper.cl-banner .border-shape, .breadcrumb-wrapper.cl-banner .line-shape { display: none; } }

/* 05. Shared components -------------------------------------------------------- */
/* NOTE: main.css redefines Bootstrap's .mt-5 as -5px, so use .cl-mt-lg for large top spacing. */
.cl-mt-lg { margin-top: 48px !important; }
@media (max-width: 767px) { .cl-mt-lg { margin-top: 36px !important; } }

.section-title h2, .cl-heading { text-transform: none; }
.section-title .lead-text, .cl-lead { font-size: 18px; line-height: 1.7; color: var(--text); }
.section-bg-2 .section-title .lead-text, .cl-dark .cl-lead { color: rgba(255,255,255,.82); }
.cl-dark { background-color: var(--bg2); }
.cl-dark .section-title span { color: #9BE6FF; }
.cl-dark .section-title h2 { color: var(--white); }
.cl-soft { background-color: var(--bg); }

.cl-prose p + p { margin-top: 16px; }
.cl-prose h3 { font-size: 26px; margin: 34px 0 14px; text-transform: none; }
.cl-prose h4 { font-size: 21px; margin: 26px 0 10px; text-transform: none; }

/* Card */
.cl-card {
  position: relative; height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 34px 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cl-card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px;
  background: linear-gradient(90deg, var(--theme), var(--theme2));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.cl-card:hover, .cl-card:focus-within { transform: translateY(-4px); box-shadow: var(--box-shadow-2); border-color: transparent; }
.cl-card:hover::before, .cl-card:focus-within::before { transform: scaleX(1); }
.cl-card h3, .cl-card h4 { font-size: 21px; line-height: 1.35; margin-bottom: 12px; text-transform: none; }
.cl-card h3 a, .cl-card h4 a { color: var(--header); }
.cl-card h3 a:hover, .cl-card h4 a:hover { color: var(--theme); }
.cl-card p { margin-bottom: 0; }
.cl-card .theme-btn-2 { margin-top: 18px; color: var(--theme); }
.cl-card .theme-btn-2:hover { color: var(--header); }
.cl-card--compact { padding: 26px 24px; }

.cl-icon {
  width: 64px; height: 64px; display: grid; place-items: center;
  background: rgba(0, 87, 200, .08); color: var(--theme);
  font-size: 28px; margin-bottom: 22px;
  transition: background .3s ease, color .3s ease;
}
.cl-card:hover .cl-icon { background: var(--theme); color: var(--white); }

/* Dark variant */
.cl-dark .cl-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.cl-dark .cl-card h3, .cl-dark .cl-card h4 { color: var(--white); }
.cl-dark .cl-card p { color: rgba(255,255,255,.78); }
.cl-dark .cl-card .cl-icon { background: rgba(6,170,238,.14); color: #9BE6FF; }
.cl-dark .cl-card:hover { background: rgba(255,255,255,.07); }

/* CTA card inside a grid */
.cl-card--cta { background: linear-gradient(135deg, var(--header), var(--theme)); border: none; color: var(--white); display: flex; flex-direction: column; justify-content: center; }
.cl-card--cta h3 { color: var(--white); }
.cl-card--cta p { color: rgba(255,255,255,.85); }
.cl-card--cta .theme-btn { margin-top: 24px; align-self: flex-start; }

/* Check list */
.cl-check-list li { position: relative; padding-left: 34px; }
.cl-check-list li + li { margin-top: 12px; }
.cl-check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Pro"; font-weight: 900;
  position: absolute; left: 0; top: 0; color: var(--theme); font-size: 15px;
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  background: rgba(0,87,200,.1); border-radius: 50%; margin-top: 3px; font-size: 11px;
}
.cl-dark .cl-check-list li { color: rgba(255,255,255,.85); }
.cl-dark .cl-check-list li::before { color: #9BE6FF; background: rgba(6,170,238,.16); }
.cl-check-list strong { color: var(--header); }
.cl-dark .cl-check-list strong { color: var(--white); }

/* Tag chips */
.cl-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.cl-tag {
  display: inline-block; padding: 6px 14px; font-size: 14px; line-height: 1.4; font-weight: 600;
  color: var(--teal); background: rgba(8,127,140,.08); border: 1px solid rgba(8,127,140,.2);
}

/* Info / notice panel */
.cl-notice {
  border: 1px dashed var(--border3); background: var(--bg);
  padding: 30px 32px; display: flex; gap: 20px; align-items: flex-start;
}
.cl-notice i { color: var(--theme); font-size: 26px; margin-top: 4px; }
.cl-notice h3, .cl-notice h4 { font-size: 20px; margin-bottom: 8px; text-transform: none; }
.cl-notice p { margin: 0; }

.cl-note { font-size: 15px; line-height: 1.7; color: var(--text); border-left: 3px solid var(--theme2); padding: 4px 0 4px 18px; }

/* Process steps */
.cl-steps { counter-reset: step; }
.cl-step { position: relative; height: 100%; padding: 32px 28px; background: var(--white); border: 1px solid var(--border); }
.cl-step .num {
  font-size: 44px; font-weight: 700; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--theme); margin-bottom: 18px; display: block;
}
.cl-step h3 { font-size: 21px; margin-bottom: 10px; text-transform: none; }
.cl-step p { margin: 0; }
.cl-flow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 8px;
  font-weight: 600; color: var(--header);
}
.cl-flow li { display: flex; align-items: center; gap: 8px; }
.cl-flow li span { padding: 12px 22px; background: var(--white); border: 1px solid var(--border); }
.cl-flow { margin-bottom: 0; }
.cl-flow li:not(:last-child)::after { content: "\f061"; font-family: "Font Awesome 6 Pro"; font-weight: 300; color: var(--theme); }

/* CTA band (based on the template's cta-banner-2) */
.cl-cta-band { background: linear-gradient(120deg, var(--header) 0%, var(--theme) 100%); padding: 70px 0; position: relative; overflow: hidden; }
.cl-cta-band .cl-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 2; }
.cl-cta-band h2 { color: var(--white); text-transform: none; margin-bottom: 10px; }
.cl-cta-band p { color: rgba(255,255,255,.85); max-width: 720px; margin: 0; font-size: 17px; }
.cl-cta-band .theme-btn.bg-white { color: var(--header); }
.cl-cta-band .theme-btn.bg-white:hover { color: var(--white); }
.cl-cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  border: 40px solid rgba(255,255,255,.06); transform: rotate(30deg);
}

/* Facts list (company at a glance) */
.cl-facts { background: var(--header); color: var(--white); padding: 38px 36px; height: 100%; }
.cl-facts h3 { color: var(--white); font-size: 22px; margin-bottom: 22px; text-transform: none; }
.cl-facts dl { margin: 0; }
.cl-facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #9BE6FF; font-weight: 600; }
.cl-facts dd { margin: 4px 0 18px; font-size: 17px; color: var(--white); }
.cl-facts dd:last-child { margin-bottom: 0; }

/* Sidebar tweaks (service-details layout) */
.service-details-wrapper .service-details-items .details-content h2.cl-heading { font-size: 34px; }
@media (max-width: 767px) { .service-details-wrapper .service-details-items .details-content h2.cl-heading { font-size: 28px; } }
.service-details-wrapper .service-details-items .details-content h3.cl-heading { font-size: 26px; }
.service-details-wrapper .service-details-items .details-content .cl-card h3 { font-size: 20px; line-height: 1.35; }
.service-details-wrapper .service-details-items .details-content { margin-top: 0; }
.main-sidebar .single-sidebar-widget .widget-categories ul li a { text-transform: none; }
.cl-sidebar-cta { background: linear-gradient(135deg, var(--header), var(--theme)); padding: 34px 30px; color: var(--white); }
.cl-sidebar-cta h3 { color: var(--white); font-size: 22px; margin-bottom: 10px; text-transform: none; }
.cl-sidebar-cta p { color: rgba(255,255,255,.85); margin-bottom: 22px; }
.cl-sidebar-cta .theme-btn { width: 100%; text-align: center; }

/* 06. Home ------------------------------------------------------------------------ */
.cl-intro-card { background: var(--bg); padding: 40px 36px; height: 100%; border-left: 4px solid var(--theme); }
.cl-intro-card h3 { font-size: 22px; margin-bottom: 14px; text-transform: none; }

.marque-section .marquee-item .text-style { text-transform: none; }

/* 07. Insights / articles --------------------------------------------------------- */
.cl-article-card { display: flex; flex-direction: column; }
.cl-article-card .cl-article-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px;
}
.cl-article-card .cl-article-top i { font-size: 26px; color: var(--theme); }
.cl-article-card h3 { font-size: 22px; }
.cl-article-card .theme-btn-2 { margin-top: auto; padding-top: 18px; }
.cl-planned { border-style: dashed; }
.cl-planned .cl-tag { color: var(--text); background: var(--bg); border-color: var(--border); }

.cl-article { max-width: 820px; }
.cl-article .cl-article-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.cl-article p { font-size: 17px; line-height: 1.8; }
.cl-article h2 { font-size: 28px; margin: 38px 0 12px; text-transform: none; }
.cl-article .cl-article-cta { margin-top: 40px; padding: 30px 32px; background: var(--bg); border-left: 4px solid var(--theme); }
.cl-article .cl-article-cta p { margin-bottom: 18px; }

/* 08. Contact form ------------------------------------------------------------------ */
.cl-contact .contact-content h2.h3 { color: var(--header); font-weight: 700; font-size: 28px; margin-bottom: 6px; }
.cl-contact .contact-content { margin-left: 0; }
.cl-contact .contact-form-items .form-clt label {
  color: var(--header); font-weight: 600; margin-bottom: 10px; display: inline-block;
}
.cl-contact .contact-form-items .form-clt input,
.cl-contact .contact-form-items .form-clt textarea,
.cl-contact .contact-form-items .form-clt select {
  width: 100%; border: 1px solid var(--border); color: var(--header); background: var(--white);
  padding: 16px 18px; border-radius: 0; font-size: 16px;
}
.cl-contact .contact-form-items .form-clt textarea { padding-bottom: 16px; min-height: 170px; resize: vertical; }
.cl-contact .contact-form-items .form-clt select { appearance: auto; height: auto; }
.cl-contact .contact-form-items .form-clt input:focus,
.cl-contact .contact-form-items .form-clt textarea:focus,
.cl-contact .contact-form-items .form-clt select:focus { color: var(--header); border-color: var(--theme); }
.cl-contact .contact-form-items .form-clt input::placeholder,
.cl-contact .contact-form-items .form-clt textarea::placeholder { color: #8391A3; }
.cl-contact .form-clt [aria-invalid="true"] { border-color: #C62828 !important; }
.cl-contact .field-error { display: block; color: #B71C1C; font-size: 14px; margin-top: 6px; min-height: 0; }
.cl-contact .field-hint { display: block; font-size: 14px; color: var(--text); margin-top: 6px; }
.cl-contact fieldset { border: 0; padding: 0; margin: 0; }
.cl-contact fieldset legend { font-size: 16px; color: var(--header); font-weight: 600; margin-bottom: 10px; float: none; }
.cl-contact .cl-radios { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.cl-contact .cl-radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--header); margin: 0; }
.cl-contact .cl-radios input { width: 18px !important; height: 18px; padding: 0 !important; accent-color: var(--theme); }
.cl-contact .cl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cl-contact .form-status { margin-top: 20px; padding: 16px 18px; display: none; }
.cl-contact .form-status.is-visible { display: block; }
.cl-contact .form-status.is-success { background: rgba(8,127,140,.08); border-left: 4px solid var(--teal); color: var(--header); }
.cl-contact .form-status.is-error { background: #FDECEA; border-left: 4px solid #C62828; color: #7F1D1D; }
.cl-contact .theme-btn[disabled] { opacity: .65; cursor: not-allowed; }
.cl-contact .privacy-note { font-size: 14px; line-height: 1.6; margin-top: 14px; }

.cl-contact-info .contact-info-items .icon { display: grid; place-items: center; color: var(--white); font-size: 26px; }
.cl-contact-info .contact-info-items .content h3 { font-size: 22px; text-transform: none; }

/* 09. Footer ------------------------------------------------------------------------- */
.footer-section.cl-footer { position: relative; overflow: hidden; } /* template shape image caused horizontal scroll */

/* 10. Reduced motion ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-inner { animation: none !important; }
  .hero-3.cl-hero .swiper-slide-active .slider-image { transform: none; }
}

/* Headings inside Clinova components keep the copy's own capitalisation */
.cl-card h2, .cl-card h3, .cl-notice h2, .cl-notice h3, .cl-notice h4, .cl-step h3, h2.cl-heading, h3.cl-heading { text-transform: none; }

/* Small screens: the template removes the section-title bottom margin */
@media (max-width: 767px) {
  .section-title + .cl-prose, .section-title + .cl-lead, .section-title + p { margin-top: 18px; }
  .section-title-area .section-title { margin-bottom: 0; }
}

/* Tablet: stack section heading + button; keep hero arrows clear of the text */
@media (max-width: 991px) {
  .section-title-area { flex-wrap: wrap; gap: 20px; }
  .hero-3.cl-hero .array-button { display: none; }
}

/* ==========================================================================
   PHASE 2 - design tokens and components
     P1. Tokens (brand palette, orange buttons, motion)
     P2. Buttons (primary = logo orange, secondary = navy)
     P3. Hero images + parallax
     P4. Hover-reveal image cards (solutions & industries)
     P5. Illustrations, tilt / float effects
     P6. About page (image panel, Who We Are background, Values background slider)
     P7. Solution page figures
     P8. Footer (compact)
     P9. Cookie consent
     P10. FAQ + legal pages
   ========================================================================== */

/* P1. Tokens ---------------------------------------------------------------- */
:root {
  --cl-navy: #02235C;          /* logo lettering */
  --cl-deep: #102A43;          /* content guide deep navy */
  --cl-blue: #0057C8;
  --cl-cyan: #06AAEE;
  --cl-teal: #087F8C;
  --cl-orange: #FD8F01;        /* sampled from the logo's orange triangle (median #FE9101) */
  --cl-orange-dark: #E07A00;   /* hover */
  --cl-on-orange: #02235C;     /* navy text on orange: contrast 6.9:1 */
  --cl-cool: #EEF3F7;
  --cl-radius: 6px;
  --cl-shadow: 0 10px 30px rgba(2, 35, 92, .10);
  --cl-shadow-lg: 0 18px 44px rgba(2, 35, 92, .16);
  --cl-ease: cubic-bezier(.22, .61, .36, 1);
  --cl-fast: .25s;
  --cl-med: .45s;
  --cl-slow: .8s;
}

/* P2. Buttons ---------------------------------------------------------------- */
.theme-btn {
  background-color: var(--cl-orange);
  color: var(--cl-on-orange);
  transition: transform var(--cl-fast) var(--cl-ease), box-shadow var(--cl-fast) var(--cl-ease), color var(--cl-fast);
}
.theme-btn::before, .theme-btn::after { background-color: var(--cl-orange-dark); }
.theme-btn:hover, .theme-btn:focus-visible { color: var(--cl-on-orange); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(253, 143, 1, .28); }
.theme-btn:focus-visible { outline: 3px solid var(--cl-navy); outline-offset: 3px; }
.theme-btn:active { transform: translateY(0); }
/* the hero's primary button used .hover-white in the template; keep it orange */
.theme-btn.hover-white::before, .theme-btn.hover-white::after { background-color: var(--cl-orange-dark); }
.theme-btn.hover-white:hover { color: var(--cl-on-orange); }
/* secondary: navy */
.theme-btn.cl-btn-secondary { background-color: var(--cl-navy); color: var(--white); }
.theme-btn.cl-btn-secondary::before, .theme-btn.cl-btn-secondary::after { background-color: var(--cl-blue); }
.theme-btn.cl-btn-secondary:hover { color: var(--white); box-shadow: 0 8px 20px rgba(0, 87, 200, .25); }
/* secondary: outline on dark backgrounds (template .border-white) */
.theme-btn.border-white { background-color: transparent; color: var(--white); }
.theme-btn.border-white:hover { color: var(--cl-navy) !important; box-shadow: none; }
.theme-btn.border-white::before, .theme-btn.border-white::after { background-color: var(--white); }
/* small orange accents */
.section-title span::after { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--cl-orange); vertical-align: middle; margin-left: 10px; }
.cl-dark .section-title span::after, .cl-who .section-title span::after { background: var(--cl-orange); }
.cl-header .cl-navbar .main-menu > nav > ul > li > a::after { background: var(--cl-orange); }
.cl-header .main-menu ul li .submenu { border-top-color: var(--cl-orange); }
.hero-3.cl-hero .hero-pagination .swiper-pagination-bullet-active { background: var(--cl-orange); }
.cl-card::before { background: linear-gradient(90deg, var(--cl-blue), var(--cl-orange)); }
.cl-step .num { -webkit-text-stroke-color: var(--cl-orange); }

/* P3. Hero images ------------------------------------------------------------ */
.hero-3.cl-hero .slider-image { background: linear-gradient(120deg, #03163A 0%, #062C6E 60%, #0A4FAE 100%); }
.hero-3.cl-hero .slider-image .hero-img {
  position: absolute; inset: -2%; width: 104%; height: 104%;
  object-fit: cover; object-position: 70% center;
  transform: translate3d(calc(var(--hx, 0) * -14px), calc(var(--hy, 0) * -10px), 0);
  transition: transform .6s var(--cl-ease);
  z-index: -1;
}
.hero-3.cl-hero .slider-image::before { z-index: 0; }
.hero-3.cl-hero .slider-image .hero-img.is-missing { display: none; }
@media (max-width: 991px) {
  .hero-3.cl-hero .slider-image .hero-img { object-position: 82% center; opacity: .55; }
}

/* P4. Hover-reveal image cards ----------------------------------------------- */
.cl-reveal { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.cl-reveal__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, var(--cl-cool) 0%, #DCE7F3 100%);
  border-bottom: 1px solid var(--border);
}
.cl-reveal__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
  opacity: 0; transform: scale(1.08);
  transition: opacity var(--cl-med) var(--cl-ease), transform var(--cl-slow) var(--cl-ease);
}
.cl-reveal__media img.is-missing { display: none; }
.cl-reveal__media::after { /* brand overlay for depth */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,35,92,0) 55%, rgba(2,35,92,.28) 100%);
  opacity: 0; transition: opacity var(--cl-med) var(--cl-ease);
}
.cl-reveal__icon {
  position: absolute; left: 24px; bottom: 20px; z-index: 2;
  width: 60px; height: 60px; display: grid; place-items: center;
  background: var(--white); color: var(--cl-blue); font-size: 26px;
  box-shadow: var(--cl-shadow);
  transition: background var(--cl-fast), color var(--cl-fast), transform var(--cl-med) var(--cl-ease);
}
.cl-reveal__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.cl-reveal__body .theme-btn-2 { margin-top: auto; padding-top: 16px; }
/* default (desktop): soft background + large icon, image hidden */
@media (hover: hover) and (pointer: fine) {
  .cl-reveal__icon { left: 50%; bottom: 50%; transform: translate(-50%, 50%) scale(1.15); }
  .cl-reveal:hover .cl-reveal__media img, .cl-reveal:focus-within .cl-reveal__media img { opacity: 1; transform: scale(1); }
  .cl-reveal:hover .cl-reveal__media::after, .cl-reveal:focus-within .cl-reveal__media::after { opacity: 1; }
  .cl-reveal:hover .cl-reveal__icon, .cl-reveal:focus-within .cl-reveal__icon {
    left: 24px; bottom: 20px; transform: none; background: var(--cl-orange); color: var(--cl-on-orange);
  }
  .cl-reveal { transform-style: preserve-3d; }
  .cl-reveal:hover { box-shadow: var(--cl-shadow-lg); }
}
/* touch screens: images always visible (no hover needed) */
@media (hover: none), (pointer: coarse) {
  .cl-reveal__media img { opacity: 1; transform: none; }
  .cl-reveal__media::after { opacity: 1; }
}

/* P5. Illustrations, tilt, float ------------------------------------------- */
.cl-welcome-visual, .cl-why-visual, .cl-media-panel, .cl-who__visual { position: relative; perspective: 900px; }
.cl-welcome-visual { max-width: 460px; margin: 0 auto 26px; }
.cl-welcome-visual img, .cl-why-visual img, .cl-media-panel img, .cl-who__visual img { display: block; width: 100%; height: auto; }
.cl-why-visual { max-width: 520px; margin: 18px 0 8px; }
.cl-why-visual--dark { margin: 0 auto; max-width: 440px; }
.cl-tilt > * {
  transform: rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg)) translate3d(calc(var(--tx, 0) * .6px), calc(var(--ty, 0) * -.6px), 0);
  transition: transform .5s var(--cl-ease);
  will-change: transform;
}
@keyframes cl-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.cl-float { animation: cl-float 6s ease-in-out infinite; }
img.is-missing { visibility: hidden; }

/* P6. About ------------------------------------------------------------------ */
.cl-media-panel {
  background: linear-gradient(135deg, var(--cl-cool), #DCE7F3);
  border-radius: var(--cl-radius); overflow: hidden; box-shadow: var(--cl-shadow);
}
.cl-media-panel::after { /* thin orange accent */
  content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 4px; background: var(--cl-orange);
}
.cl-who { position: relative; background-color: var(--cl-deep); isolation: isolate; }
.cl-who__bg { position: absolute; inset: 0; z-index: -2; background-position: center right; background-size: cover; background-repeat: no-repeat; }
.cl-who::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(2,20,56,.94) 0%, rgba(2,35,92,.86) 50%, rgba(2,35,92,.55) 100%);
}
.cl-who .section-title span { color: #9BE6FF; }
.cl-who .section-title h2 { color: var(--white); }
.cl-who .cl-lead { color: rgba(255,255,255,.88); }
.cl-who__visual { max-width: 420px; margin-top: 26px; }
@media (max-width: 991px) {
  .cl-who::after { background: linear-gradient(180deg, rgba(2,20,56,.92), rgba(2,35,92,.9)); }
}

.cl-bgslider-section { position: relative; isolation: isolate; }
.cl-bgslider { position: absolute; inset: 0; z-index: -1; background: var(--cl-deep); }
.cl-bgslider__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease-in-out;
}
.cl-bgslider__slide.is-active { opacity: 1; }
.cl-bgslider::after { content: ""; position: absolute; inset: 0; background: rgba(16, 42, 67, .82); }
.cl-bgslider-section .cl-card { background: rgba(16, 42, 67, .55); backdrop-filter: none; }

/* P7. Solution page figures --------------------------------------------------- */
.cl-figure {
  margin: 0; overflow: hidden; border-radius: var(--cl-radius);
  background: linear-gradient(135deg, var(--cl-cool), #DCE7F3);
  aspect-ratio: 5 / 2; border: 1px solid var(--border);
}
.cl-figure img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--cl-ease); }
.cl-figure:hover img { transform: scale(1.03); }
@media (max-width: 575px) { .cl-figure { aspect-ratio: 16 / 9; } }

/* P8. Footer ------------------------------------------------------------------ */
.cl-footer { background: #0A1F3D; color: rgba(255,255,255,.78); position: relative; overflow: hidden; isolation: isolate; }
.cl-footer__pattern {
  position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image:
    linear-gradient(rgba(6,170,238,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,170,238,.07) 1px, transparent 1px),
    radial-gradient(600px 300px at 85% 0%, rgba(0,87,200,.35), transparent 70%),
    radial-gradient(400px 200px at 0% 100%, rgba(253,143,1,.10), transparent 70%);
  background-size: 44px 44px, 44px 44px, auto, auto;
  animation: cl-grid-drift 40s linear infinite;
}
@keyframes cl-grid-drift { from { background-position: 0 0, 0 0, 0 0, 0 0; } to { background-position: 44px 44px, 44px 44px, 0 0, 0 0; } }
.cl-footer .footer-widgets-wrapper { padding: 64px 0 36px; }
.cl-footer .single-footer-widget { margin-top: 0; }
.cl-footer__logo { display: inline-block; line-height: 0; margin-bottom: 18px; }
.cl-footer__logo img { height: 58px; width: auto; }
.cl-footer__about { color: rgba(255,255,255,.78); max-width: 380px; margin-bottom: 12px; font-size: 15px; line-height: 1.7; }
.cl-footer__location { color: rgba(255,255,255,.85); margin: 0; font-size: 15px; }
.cl-footer__location i { color: var(--cl-orange); margin-right: 6px; }
.cl-footer__head { color: var(--white); font-size: 18px; margin-bottom: 18px; text-transform: none; position: relative; padding-bottom: 10px; }
.cl-footer__head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--cl-orange); }
.cl-footer__links li + li { margin-top: 10px; }
.cl-footer__links a, .cl-footer__linkbtn {
  color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.5; transition: color var(--cl-fast), padding var(--cl-fast);
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-family: inherit;
}
.cl-footer__links a:hover, .cl-footer__linkbtn:hover, .cl-footer__links a:focus-visible, .cl-footer__linkbtn:focus-visible { color: var(--white); padding-left: 4px; }
.cl-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.cl-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.cl-footer__bottom p { margin: 0; font-size: 14px; color: rgba(255,255,255,.7); }
.cl-footer__tagline { color: #9BE6FF !important; }
@media (max-width: 767px) {
  .cl-footer .footer-widgets-wrapper { padding: 48px 0 28px; }
  .cl-footer__bottom .container { justify-content: center; text-align: center; padding-right: 64px; padding-left: 12px; }
}
.cl-scrolltop {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--cl-orange); color: var(--cl-on-orange); border-radius: 50%;
  box-shadow: var(--cl-shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--cl-fast), transform var(--cl-fast), visibility var(--cl-fast);
}
.cl-scrolltop.is-visible { opacity: 1; visibility: visible; transform: none; }
.cl-scrolltop:hover { color: var(--cl-on-orange); background: var(--cl-orange-dark); }
body.cl-cookie-open .cl-scrolltop { bottom: 110px; }

/* P9. Cookie consent ------------------------------------------------------------ */
.cl-cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99990;
  max-width: 980px; margin: 0 auto;
  background: var(--cl-deep); color: rgba(255,255,255,.9);
  border-left: 4px solid var(--cl-orange); border-radius: var(--cl-radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  padding: 18px 20px; display: flex; gap: 16px 22px; align-items: center; flex-wrap: wrap;
  transform: translateY(20px); opacity: 0; transition: transform .35s var(--cl-ease), opacity .35s var(--cl-ease);
}
.cl-cookie.is-visible { transform: none; opacity: 1; }
.cl-cookie__text { flex: 1 1 420px; margin: 0; font-size: 15px; line-height: 1.6; }
.cl-cookie__text a { color: #9BE6FF; text-decoration: underline; }
.cl-cookie__status { display: block; margin-top: 4px; font-size: 13px; color: #9BE6FF; }
.cl-cookie__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cl-cookie__btn {
  font-weight: 600; font-size: 15px; padding: 11px 22px; border: 0; cursor: pointer; border-radius: 3px;
  background: var(--cl-orange); color: var(--cl-on-orange); transition: background var(--cl-fast);
}
.cl-cookie__btn:hover { background: var(--cl-orange-dark); }
.cl-cookie__btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.45); }
.cl-cookie__btn--ghost:hover { background: rgba(255,255,255,.1); }
.cl-cookie__close {
  position: absolute; top: 6px; right: 8px; width: 34px; height: 34px; border: 0; background: transparent;
  color: rgba(255,255,255,.8); font-size: 20px; cursor: pointer; line-height: 1;
}
.cl-cookie__close:hover { color: var(--white); }
.cl-cookie :focus-visible { outline: 3px solid var(--cl-orange); outline-offset: 2px; }
@media (max-width: 575px) { .cl-cookie { padding: 16px 16px 16px 18px; } .cl-cookie__actions { width: 100%; } .cl-cookie__btn { flex: 1; } }

/* P10. FAQ + legal ---------------------------------------------------------------- */
.cl-faq .faq-content .accordion-item { border: 1px solid var(--border); border-radius: var(--cl-radius) !important; overflow: hidden; }
.cl-faq .faq-content .accordion-item .accordion-header .accordion-button { text-transform: none; font-size: 18px; line-height: 1.45; padding: 20px 56px 20px 24px; }
.cl-faq .faq-content .accordion-item .accordion-header .accordion-button:not(.collapsed) { background: var(--cl-navy); color: var(--white); }
.cl-faq .faq-content .accordion-item .accordion-header .accordion-button:focus-visible { outline: 3px solid var(--cl-orange); outline-offset: -3px; box-shadow: none; }
.cl-faq .accordion-body p + p { margin-top: 12px; }
.cl-faq .accordion-body p { margin-bottom: 0; }
.cl-faq__aside { margin-top: 30px; padding: 30px; background: var(--cl-cool); border-left: 4px solid var(--cl-orange); }
.cl-faq__aside h3 { font-size: 21px; margin-bottom: 8px; text-transform: none; }
.cl-faq__aside .theme-btn { margin-top: 16px; }
@media (min-width: 992px) { .cl-faq .col-lg-4 > * { position: relative; } .cl-faq .col-lg-4 { position: sticky; top: 140px; align-self: flex-start; } }

.cl-legal { max-width: 860px; margin: 0 auto; }
.cl-legal h2 { font-size: 26px; margin: 40px 0 12px; text-transform: none; }
.cl-legal p { font-size: 17px; line-height: 1.8; }
.cl-legal .cl-check-list { margin: 10px 0 14px; }
.cl-legal code { color: var(--cl-navy); background: var(--cl-cool); padding: 1px 6px; font-size: 14px; }
.cl-legal__draft { margin-bottom: 26px; border-color: var(--cl-orange); }
.cl-legal__draft i { color: var(--cl-orange); }
.cl-legal__updated { font-size: 15px; color: var(--text); }
.cl-tbc { display: inline-block; padding: 0 8px; font-size: .88em; font-weight: 600; color: #8A4B00; background: #FFF1DC; border: 1px dashed var(--cl-orange); }

/* Reduced motion: stop floating, drifting, tilting and background slides */
@media (prefers-reduced-motion: reduce) {
  .cl-float, .cl-footer__pattern { animation: none !important; }
  .cl-tilt > *, .hero-3.cl-hero .slider-image .hero-img { transform: none !important; }
  .cl-bgslider__slide { transition: none !important; }
}
.cl-welcome-visual + .cl-intro-card { height: auto; }
/* Header CTA: the template forces var(--theme) with !important below 1900px */
.cl-header .header-3 .header-main .header-right .header-button .theme-btn { background-color: var(--cl-orange) !important; color: var(--cl-on-orange); }
@media (min-width: 768px) { .cl-footer__bottom .container { padding-right: 84px; } }
.cl-faq .faq-content .accordion-item .accordion-header .accordion-button:not(.collapsed)::after { color: var(--cl-orange); }

/* ==========================================================================
   PHASE 3 - real photography, contact details, map, blog images, chatbot
     Q1. Photo frames + figures (photos live in assets/img/photos/)
     Q2. Hero photos
     Q3. Photo cards (solutions, industries)
     Q4. Blog thumbnails + featured images
     Q5. Contact details, contact photo, Google Map
     Q6. Header / footer contact details
     Q7. Chat assistant
   ========================================================================== */

/* Q1. Photo frames ------------------------------------------------------------ */
.cl-photo-frame {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--cl-radius);
  aspect-ratio: 4 / 3; background: #C9D3DE; box-shadow: var(--cl-shadow); perspective: 900px;
}
.cl-photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--cl-ease); }
.cl-photo-frame:hover img { transform: scale(1.04); }
.cl-photo-frame::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32%; height: 4px; background: var(--cl-orange); }
.cl-photo-frame--welcome { margin-bottom: 26px; }
.cl-photo-frame--small { aspect-ratio: 16 / 9; max-width: 440px; margin-top: 26px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.cl-photo-frame--dark { box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.cl-why .cl-photo-frame { margin: 18px 0 8px; }
.cl-tilt.cl-photo-frame > img { transform: rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg)) scale(1.03); }
.cl-figure { aspect-ratio: 16 / 9; background: #C9D3DE; }
.cl-figure img { object-fit: cover; }
img.is-missing { visibility: hidden; }

/* Q2. Hero photos -------------------------------------------------------------- */
.hero-3.cl-hero .slider-image .hero-img { object-position: center; }
.hero-3.cl-hero .slider-image::before {
  background: linear-gradient(90deg, rgba(2,20,56,.90) 0%, rgba(2,35,92,.78) 42%, rgba(2,35,92,.30) 75%, rgba(2,35,92,.10) 100%);
}
@media (max-width: 991px) {
  .hero-3.cl-hero .slider-image .hero-img { opacity: 1; object-position: 65% center; }
  .hero-3.cl-hero .slider-image::before { background: linear-gradient(180deg, rgba(2,20,56,.80) 0%, rgba(2,35,92,.72) 100%); }
}

/* Q3. Photo cards --------------------------------------------------------------- */
.cl-reveal__media { background: #C9D3DE; }
.cl-reveal__media img { opacity: 1; transform: scale(1.02); filter: saturate(.55) brightness(1.04); }
.cl-reveal__media::after { opacity: 1; background: linear-gradient(180deg, rgba(2,35,92,.10) 0%, rgba(2,35,92,.35) 100%); transition: opacity var(--cl-med) var(--cl-ease); }
.cl-reveal__icon { left: 20px; bottom: 18px; width: 52px; height: 52px; font-size: 22px; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .cl-reveal__icon { left: 20px; bottom: 18px; transform: none; }
  .cl-reveal:hover .cl-reveal__media img, .cl-reveal:focus-within .cl-reveal__media img { filter: none; transform: scale(1.08); }
  .cl-reveal:hover .cl-reveal__media::after, .cl-reveal:focus-within .cl-reveal__media::after { opacity: .35; }
  .cl-reveal:hover .cl-reveal__icon, .cl-reveal:focus-within .cl-reveal__icon { left: 20px; bottom: 18px; }
}
@media (hover: none), (pointer: coarse) {
  .cl-reveal__media img { filter: none; transform: none; }
  .cl-reveal__media::after { opacity: .5; }
}

/* Q4. Blog images ----------------------------------------------------------------- */
.cl-article-card .cl-thumb {
  display: block; margin: -34px -30px 22px; aspect-ratio: 16 / 9; overflow: hidden; background: #C9D3DE;
}
.cl-card--compact.cl-article-card .cl-thumb { margin: -26px -24px 18px; }
.cl-article-card .cl-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cl-ease); }
.cl-article-card:hover .cl-thumb img { transform: scale(1.05); }
.cl-featured { margin: 0 0 28px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--cl-radius); background: #C9D3DE; }
.cl-featured img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Q5. Contact page ------------------------------------------------------------------ */
.cl-contact-info .contact-info-items .content h3.cl-contact-links { font-size: 19px; line-height: 1.5; word-break: break-word; }
.cl-contact-info .contact-info-items .content h3 a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 4px; }
.cl-contact-info .contact-info-items .content h3 a:hover { text-decoration-color: var(--cl-orange); }
.cl-contact-photo { margin-top: 26px; aspect-ratio: 16 / 10; }
.cl-map {
  position: relative; border-radius: var(--cl-radius); overflow: hidden;
  aspect-ratio: 16 / 7; min-height: 320px; background: var(--cl-cool); border: 1px solid var(--border);
}
@media (max-width: 767px) { .cl-map { aspect-ratio: 4 / 3; } }
.cl-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cl-map__placeholder, .cl-map__consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 30px; gap: 8px;
}
.cl-map__placeholder i, .cl-map__consent i { font-size: 44px; color: var(--cl-blue); margin-bottom: 6px; }
.cl-map__placeholder h3, .cl-map__consent h3 { font-size: 22px; margin: 0; text-transform: none; }
.cl-map__placeholder p, .cl-map__consent p { max-width: 520px; margin: 0; }
.cl-map__consent .theme-btn { margin-top: 12px; }
.cl-map__links { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.cl-map__links:empty { display: none; }
.cl-map__links a { font-weight: 600; color: var(--cl-blue); }

/* Q6. Header / footer contact details -------------------------------------------- */
.cl-header .header-meta span { display: flex; flex-direction: column; }
.cl-header .header-meta a { color: var(--text); line-height: 1.45; }
.cl-header .header-meta a.header-meta__phone { color: var(--header); font-weight: 700; }
.cl-header .header-meta a:hover { color: var(--cl-blue); }
.offcanvas__contact-text a { color: var(--header); }
.cl-footer__contact { margin: 4px 0 0; }
.cl-footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.85); }
.cl-footer__contact li + li { margin-top: 8px; }
.cl-footer__contact i { color: var(--cl-orange); margin-top: 5px; width: 16px; }
.cl-footer__contact span { display: flex; flex-wrap: wrap; gap: 0 14px; }
.cl-footer__contact a { color: rgba(255,255,255,.88); }
.cl-footer__contact a:hover { color: var(--white); text-decoration: underline; }

/* Q7. Chat assistant ------------------------------------------------------------------ */
.cl-scrolltop { right: 26px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; }
body.cl-cookie-open .cl-scrolltop { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.cl-chat-launcher {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 99980;
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--cl-navy); color: var(--white); font-size: 24px;
  box-shadow: 0 10px 26px rgba(2,35,92,.35); display: grid; place-items: center;
  transition: transform var(--cl-fast) var(--cl-ease), background var(--cl-fast);
}
.cl-chat-launcher:hover { transform: translateY(-2px); background: var(--cl-blue); }
.cl-chat-launcher:focus-visible { outline: 3px solid var(--cl-orange); outline-offset: 3px; }
.cl-chat-launcher .cl-chat-launcher__dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--cl-orange); border: 2px solid var(--white); }
.cl-chat-launcher[aria-expanded="true"] .cl-chat-launcher__dot { display: none; }
body.cl-cookie-open .cl-chat-launcher { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 767px) {
  body.cl-cookie-open .cl-chat-launcher, body.cl-cookie-open .cl-scrolltop { visibility: hidden; }
}
.cl-chat {
  position: fixed; right: 20px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 99985;
  width: 370px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px);
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(2,35,92,.28); display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transform-origin: bottom right;
  transition: opacity .25s var(--cl-ease), transform .25s var(--cl-ease), visibility .25s;
}
.cl-chat.is-open { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 575px) {
  .cl-chat { right: 8px; left: 8px; width: auto; max-width: none; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); height: auto; top: calc(70px + env(safe-area-inset-top, 0px)); max-height: none; }
}
.cl-chat__head { background: var(--cl-navy); color: var(--white); padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 3px solid var(--cl-orange); }
.cl-chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; flex: none; overflow: hidden; }
.cl-chat__avatar img { width: 30px; height: 30px; object-fit: contain; }
.cl-chat__title { flex: 1; min-width: 0; }
.cl-chat__title strong { display: block; font-size: 16px; line-height: 1.3; color: var(--white); }
.cl-chat__title span { font-size: 13px; color: #9BE6FF; }
.cl-chat__close { width: 36px; height: 36px; border: 0; background: transparent; color: var(--white); font-size: 22px; cursor: pointer; border-radius: 50%; }
.cl-chat__close:hover { background: rgba(255,255,255,.12); }
.cl-chat__close:focus-visible, .cl-chat__chip:focus-visible, .cl-chat__send:focus-visible, .cl-chat__input:focus-visible { outline: 3px solid var(--cl-orange); outline-offset: 2px; }
.cl-chat__log { flex: 1; overflow-y: auto; padding: 16px; background: var(--cl-cool); display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cl-chat__msg { max-width: 88%; padding: 10px 13px; border-radius: 12px; font-size: 15px; line-height: 1.55; word-wrap: break-word; }
.cl-chat__msg--bot { background: var(--white); color: var(--header); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(2,35,92,.06); align-self: flex-start; }
.cl-chat__msg--user { background: var(--cl-blue); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.cl-chat__msg a { color: var(--cl-blue); font-weight: 600; text-decoration: underline; }
.cl-chat__msg ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.cl-chat__msg li + li { margin-top: 2px; }
.cl-chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; background: var(--white); border-top: 1px solid var(--border); }
.cl-chat__chip { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 18px; border: 1px solid var(--cl-blue); color: var(--cl-blue); background: var(--white); cursor: pointer; line-height: 1.2; }
.cl-chat__chip:hover { background: var(--cl-blue); color: var(--white); }
.cl-chat__chip--accent { border-color: var(--cl-orange); background: var(--cl-orange); color: var(--cl-on-orange); }
.cl-chat__chip--accent:hover { background: var(--cl-orange-dark); color: var(--cl-on-orange); }
.cl-chat__form { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); background: var(--white); }
.cl-chat__input { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 22px; padding: 10px 14px; font-size: 15px; color: var(--header); }
.cl-chat__input::placeholder { color: #7E8DA1; }
.cl-chat__send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--cl-orange); color: var(--cl-on-orange); cursor: pointer; }
.cl-chat__send:hover { background: var(--cl-orange-dark); }
.cl-chat__note { font-size: 12px; color: var(--text); padding: 0 14px 8px; background: var(--white); margin: 0; }
@media (prefers-reduced-motion: reduce) { .cl-chat, .cl-chat-launcher { transition: none; } }
.cl-article-card .cl-tag { align-self: flex-start; }
.cl-map:has(.cl-map__placeholder) { aspect-ratio: auto; min-height: 260px; }

/* ==========================================================================
   PHASE 4 - responsive photographs (<picture> WebP + JPEG), photo backgrounds
   ========================================================================== */
/* <picture> wrappers should not create their own box inside fixed-shape containers */
.slider-image picture, .cl-photo-frame picture, .cl-figure picture, .cl-reveal__media picture,
.cl-thumb picture, .cl-featured picture, .cl-who__bg picture, .cl-bgslider__slide picture, .cl-banner__bg picture { display: contents; }

/* Hero: full-bleed photo, no movement other than the slide fade */
.hero-3.cl-hero .slider-image .hero-img { inset: 0; width: 100%; height: 100%; transform: none !important; }
.hero-3.cl-hero .swiper-slide-active .slider-image { transform: none; }

/* Photo backgrounds rendered as real images (responsive srcset) */
.cl-who__bg img, .cl-bgslider__slide img, .cl-banner__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.cl-who::after { background: linear-gradient(90deg, rgba(2,20,56,.93) 0%, rgba(2,35,92,.84) 48%, rgba(2,35,92,.55) 100%); }
.cl-banner__bg { position: absolute; inset: 0; z-index: 0; }
.breadcrumb-wrapper.cl-banner { background-image: linear-gradient(120deg, #03163A 0%, #062C6E 60%, #0A4FAE 100%); }
.breadcrumb-wrapper.cl-banner::before { z-index: 1; }
.breadcrumb-wrapper.cl-banner .container { position: relative; z-index: 2; }

/* Section without photo: keep the plain navy treatment tidy */
.cl-bgslider:empty { background: var(--bg2); }
.cl-bgslider:empty::after { display: none; }

.cl-figure--wide { aspect-ratio: 21 / 9; }
@media (max-width: 767px) { .cl-figure--wide { aspect-ratio: 16 / 9; } }

/* PHASE 4b - banner photos: lighter overlay so the photo shows, text stays readable */
.breadcrumb-wrapper.cl-banner:has(.cl-banner__bg)::before {
  background-image: radial-gradient(ellipse 60% 75% at 50% 50%, rgba(2,20,56,.72) 0%, rgba(2,20,56,.45) 100%),
                    linear-gradient(90deg, rgba(2,35,92,.35) 0%, rgba(2,35,92,.15) 100%);
}
.breadcrumb-wrapper.cl-banner:has(.cl-banner__bg) h1,
.breadcrumb-wrapper.cl-banner:has(.cl-banner__bg) .breadcrumb-items { text-shadow: 0 2px 14px rgba(0,10,30,.55); }
