/*--------------------------------------------------------------
# DesertLedger brand layer, loaded after the Mamba template CSS.
# Palette comes from the logo and the pitch deck:
#   navy #0a1522 / #0b2142, gold #d9a441 (text-safe #8f6314), cream #f6f3ec
--------------------------------------------------------------*/

body {
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  letter-spacing: -0.01em;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.header .topbar {
  background: var(--navy);
  border-bottom: 0;
  color: #c9d3df;
}

.header .topbar .contact-info i,
.header .topbar .topbar-place i {
  color: var(--gold);
  font-style: normal;
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span,
.header .topbar .topbar-place span {
  color: #e8edf3;
}

.header .topbar .topbar-place span {
  padding-left: 6px;
}

.header .logo img {
  max-height: 40px;
  margin-right: 0;
}

.scrolled .header {
  box-shadow: 0 2px 18px rgba(10, 21, 34, 0.12);
}

.navmenu .btn-nav {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 10px 18px !important;
  margin-left: 10px;
  font-weight: 600;
  font-size: 15px !important;
}

.navmenu .btn-nav:hover {
  background: var(--gold);
  color: var(--navy) !important;
}

@media (max-width: 1199px) {
  .navmenu .btn-nav {
    margin: 8px 20px;
    justify-content: center !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 120px;
  background: var(--navy);
  color: #c9d3df;
}

.hero .hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 70%;
  z-index: 0;
}

.hero .hero-grid {
  position: relative;
  z-index: 1;
}

.eyebrow,
.eyebrow-dark {
  font-family: var(--default-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow-dark {
  color: var(--gold-deep);
  margin: 0;
}

.hero h1,
.hero .hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  color: #f3efe6;
  margin: 0 0 22px;
  animation: none;
}

.hero .lead-text {
  font-size: 1.125rem;
  color: #9fb0c3;
  max-width: 34rem;
  margin-bottom: 32px;
  animation: none;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: 0.25s;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: #e8b957;
  color: var(--navy);
}

.btn-ghost {
  color: #f3efe6;
  border: 1px solid #3a4c61;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.browser {
  margin: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  background: #e9edf2;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c3cbd6;
}

.browser-bar em {
  margin-left: 12px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

/* the template's ".hero img" rule makes every hero image a full-bleed background */
.hero .browser img {
  position: static;
  inset: auto;
  z-index: auto;
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
}

/* Desktop hero: the brand banner on a light ground */
.hero .hero-dark {
  position: relative;
  padding: 56px 0 84px;
}

@media (min-width: 992px) {
  section.hero.section {
    padding: 0 0 44px;
    background: linear-gradient(#e9eef6, #ffffff 42%);
  }
}

.hero .hero-banner img {
  display: block;
  width: 100%;
  max-width: 1774px;
  height: auto;
  margin: 0 auto;
  position: static;
  inset: auto;
  z-index: auto;
  object-fit: initial;
}

.hero .hero-banner-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding-top: 8px;
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  border: 1px solid #9fb0c3;
  background: #fff;
  transition: 0.25s;
}

.btn-outline-navy:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

/* ---------- Partners ---------- */
.partners {
  padding: 56px 0 40px;
  background: #fff;
}

.partner-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding: 0 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.partner-logos .logo-collexia {
  height: 74px;
  width: auto;
}

.partner-logos .logo-creditinfo {
  height: 34px;
  width: auto;
}

.partner-card {
  height: 100%;
  padding: 28px 30px;
  background: var(--cream);
  border-radius: 10px;
}

.partner-card h3 {
  font-size: 1.35rem;
  margin: 0 0 2px;
}

.partner-card .partner-role {
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.partner-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

/* ---------- Section titles ---------- */
.section-title {
  padding-bottom: 44px;
}

.section-title h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title p {
  max-width: 44rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.dark-background .section-title p {
  color: #9fb0c3;
}

section,
.section {
  padding: 84px 0;
}

.partners.section {
  padding: 56px 0 40px;
}

/* ---------- About ---------- */
.about h3 {
  font-size: 1.7rem;
  line-height: 1.2;
}

.about .content ul i {
  color: var(--green);
}

.shot-frame {
  margin: 0;
}

.shot-frame img {
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(10, 33, 66, 0.18), 0 0 0 1px var(--line);
}

.shot-frame figcaption {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.shot-frame figcaption span {
  color: var(--gold-deep);
  font-weight: 600;
}

/* ---------- Why us (icon cards, no numbering: they are not a sequence) ---------- */
.why-us .card-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 30px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.why-us .card-item > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  font-size: 24px;
}

.why-us .card-item h4 {
  font-size: 1.3rem;
  margin: 22px 0 10px;
}

.why-us .card-item p {
  color: var(--muted);
  font-size: 1rem;
}

.why-us .card-item:hover {
  background: #fff;
  padding: 36px 30px;
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(10, 33, 66, 0.1);
}

.why-us .card-item:hover h4 {
  color: var(--heading-color);
}

.why-us .card-item:hover p {
  color: var(--muted);
}

/* ---------- Lifecycle (a real sequence, so it is numbered by position) ---------- */
.lifecycle {
  background: var(--navy);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  counter-reset: step;
}

.steps li {
  position: relative;
  text-align: center;
  padding: 26px 12px 22px;
  background: var(--navy-2);
  border: 1px solid #2e3f52;
  border-radius: 12px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #3a4c61;
  border-right: 2px solid #3a4c61;
  transform: translateY(-50%) rotate(45deg);
}

.steps li i {
  font-size: 26px;
  color: var(--gold);
}

.steps li h4 {
  font-size: 1.05rem;
  margin: 12px 0 6px;
  color: #f3efe6;
}

.steps li p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #9fb0c3;
}

.steps li:last-child {
  border-color: var(--gold);
}

@media (max-width: 1199px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps li::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Platform ---------- */
.services .service-item {
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}

.services .service-item .icon {
  margin: 0 0 18px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--gold-deep);
  box-shadow: none;
  font-size: 26px;
}

.services .service-item h3 {
  font-size: 1.2rem;
  padding-bottom: 0;
  margin-bottom: 10px;
}

.services .service-item h3::after {
  display: none;
}

.services .service-item p {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--muted);
}

.services .service-item:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 38px rgba(10, 33, 66, 0.09);
}

.services .service-item:hover h3 {
  color: var(--heading-color);
}

/* ---------- Screenshots ---------- */
.portfolio .portfolio-filters li {
  color: var(--heading-color);
  border: 1px solid var(--line);
  background: #fff;
  margin: 0 4px 8px;
  padding: 9px 20px;
  font-family: var(--default-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.shot {
  display: block;
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  color: var(--default-color);
  transition: transform 0.3s, box-shadow 0.3s;
}

.shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 33, 66, 0.14);
  color: var(--default-color);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
}

.shot .shot-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10, 21, 34, 0.82);
  color: #fff;
  font-size: 17px;
  opacity: 0;
  transition: opacity 0.25s;
}

.shot:hover .shot-zoom,
.shot:focus-visible .shot-zoom {
  opacity: 1;
}

.shot .shot-caption {
  display: block;
  padding: 16px 18px 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.shot .shot-caption strong {
  display: block;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 1.05rem;
  margin-bottom: 3px;
}

@media (hover: none) {
  .shot .shot-zoom {
    opacity: 1;
  }
}

.glightbox-clean .gdesc-inner {
  font-family: var(--default-font);
}

/* ---------- Client ---------- */
.client {
  background: var(--navy);
  padding: 72px 0;
}

.client .client-logo {
  width: 100%;
  max-width: 230px;
  height: auto;
}

.client h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 14px;
}

.client p:last-child {
  max-width: 40rem;
  color: #9fb0c3;
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* ---------- FAQ ---------- */
.faq .faq-item i {
  color: var(--gold-deep);
}

.faq .faq-item h4 {
  font-size: 1.05rem;
}

.faq .faq-item p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0;
}

/* ---------- Contact ---------- */
.contact .info-item {
  height: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: none;
  padding: 28px 16px;
  text-align: center;
}

.contact .info-item i {
  color: var(--gold-deep);
  border-color: color-mix(in srgb, var(--gold), transparent 30%);
}

.contact .info-item a {
  color: var(--heading-color);
  font-weight: 500;
}

.contact .info-item a:hover {
  color: var(--gold-deep);
}

.contact .contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
  margin-top: 22px;
}

.contact .contact-form .form-control {
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #cfd6df;
  color: var(--default-color);
}

.contact .contact-form .form-control::placeholder {
  color: #6b7686;
}

.contact .contact-form .form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold), transparent 65%);
}

.contact .contact-form button[type=submit] {
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 13px 30px;
  font-weight: 600;
  transition: 0.25s;
}

.contact .contact-form button[type=submit]:hover {
  background: var(--gold);
  color: var(--navy);
}

.contact .form-note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact .form-error {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #fbeceb;
  color: #8a1f17;
  font-weight: 500;
  text-align: left;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #c9d3df;
  font-size: 15px;
}

.footer .footer-top {
  padding-top: 64px;
}

.footer a {
  color: #e8edf3;
}

.footer a:hover {
  color: var(--gold);
}

.footer .footer-about .logo img {
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  height: auto;
  width: 170px;
  max-height: none;
}

.footer h4 {
  color: #f3efe6;
}

.footer .footer-links ul a {
  color: #c9d3df;
  line-height: 1.2;
}

.footer .footer-links ul a:hover {
  color: var(--gold);
}

.footer .powered-chip {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  padding: 8px 18px;
}

.footer .powered-chip img {
  display: block;
  height: 88px;
  width: auto;
}

.footer .footer-contact p {
  font-family: var(--default-font);
  font-weight: 400;
}

.footer .footer-contact strong {
  font-weight: 600;
  color: #f3efe6;
}

.footer .copyright {
  border-top: 1px solid #22344a;
  color: #9fb0c3;
}

.footer .copyright .sitename {
  color: #f3efe6;
}

.footer .credits {
  color: #6e7f93;
}

.footer .credits a {
  color: #9fb0c3;
}

/* ---------- Preloader / misc ---------- */
#preloader:before {
  border-color: var(--gold);
  border-top-color: color-mix(in srgb, var(--gold), transparent 85%);
}

.scroll-top {
  background-color: var(--navy);
}

.scroll-top i {
  color: var(--gold);
}

.scroll-top:hover {
  background-color: var(--gold);
}

.scroll-top:hover i {
  color: var(--navy);
}

@media (max-width: 991px) {
  section.hero.section {
    padding: 0;
  }
  .partner-logos {
    gap: 36px;
  }
  section,
  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  :root {
    scroll-behavior: auto;
  }
}

/*--------------------------------------------------------------
# Light, airy design pass
# Cool blue-white grounds, soft shadows instead of borders, large radii,
# coloured icon tiles, eyebrow labels over section titles.
--------------------------------------------------------------*/
:root {
  --royal: #0b2a63;
  --blue: #1b5fc4;
  --soft: #f3f7fc;
  --soft-line: #e3eaf3;
  --shadow-card: 0 12px 34px rgba(18, 52, 110, 0.08);
  --shadow-lift: 0 18px 44px rgba(18, 52, 110, 0.14);
}

/* tinted icon tiles */
.tile,
.services .service-item .icon {
  --tile-bg: #e8f1fd;
  --tile-fg: #2c7be5;
}

.tile-blue   { --tile-bg: #e8f1fd; --tile-fg: #2c7be5; }
.tile-sky    { --tile-bg: #e4f6fb; --tile-fg: #139fc4; }
.tile-green  { --tile-bg: #e3f7ee; --tile-fg: #1c9a69; }
.tile-amber  { --tile-bg: #fdf1dc; --tile-fg: #d9901a; }
.tile-purple { --tile-bg: #efe9fb; --tile-fg: #7a4fd6; }
.tile-red    { --tile-bg: #fde8ec; --tile-fg: #e0344c; }

.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--tile-bg);
  color: var(--tile-fg);
  font-size: 26px;
  line-height: 1;
}

.tile i,
.services .service-item .icon i {
  color: var(--tile-fg);
}

/* eyebrow label above section titles */
.eyebrow-blue {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px !important;
}

.section-title h2 {
  color: var(--royal);
  font-weight: 700;
}

/* header */
.header {
  background: #fff;
}

.header .topbar {
  background: var(--royal);
}

.navmenu a {
  position: relative;
}

@media (min-width: 1200px) {
  .navmenu .active:not(.btn-nav)::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
  }
}

.navmenu .btn-nav {
  background: var(--royal);
  border-radius: 10px;
  padding: 12px 20px !important;
  gap: 8px;
}

.navmenu .btn-nav i {
  font-size: 13px !important;
  margin: 0 !important;
}

.navmenu .btn-nav:hover {
  background: var(--blue);
  color: #fff !important;
}

/* buttons */
.btn-gold {
  background: var(--royal);
  color: #fff;
  border-radius: 10px;
}

.btn-gold:hover {
  background: var(--blue);
  color: #fff;
}

.btn-outline-navy {
  border: 1.5px solid var(--royal);
  border-radius: 10px;
  color: var(--royal);
}

.btn-outline-navy:hover {
  background: var(--royal);
  border-color: var(--royal);
}

/* hero extras */
.check-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin: 22px 0 0;
  padding: 0;
  font-size: 0.95rem;
  color: #2b3644;
}

.check-pills li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.check-pills i {
  color: var(--green);
  font-size: 1.15rem;
}

@media (min-width: 992px) {
  section.hero.section {
    background: linear-gradient(#eaf1fa, #ffffff 55%);
    padding-bottom: 36px;
  }
}

/* partners: one soft card, three columns */
.partners.section {
  background: #fff;
  padding: 36px 0 64px;
}

.partner-band {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1fr;
  align-items: center;
  gap: 0;
  margin: 0 0 28px;
  padding: 34px 0;
  border: 0;
  border-radius: 20px;
  background: var(--soft);
  box-shadow: var(--shadow-card);
}

.partner-band > * {
  padding: 0 36px;
}

.partner-band > * + * {
  border-left: 1px solid var(--soft-line);
}

.partner-intro h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.25;
  color: var(--royal);
  margin: 0;
}

.partner-logos {
  justify-content: center;
  gap: 44px;
}

.partner-note p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.partner-note a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue);
}

@media (max-width: 991px) {
  .partner-band {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0;
  }
  .partner-band > * + * {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
    padding-top: 22px;
  }
}

.partner-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.partner-card .partner-role {
  color: var(--blue);
}

/* about / why-us / platform cards */
.shot-frame img {
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
}

.why-us .card-item,
.why-us .card-item:hover {
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.why-us .card-item:hover {
  box-shadow: var(--shadow-lift);
}

.why-us .card-item > .tile {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--tile-bg);
  color: var(--tile-fg);
}

.why-us .card-item > .tile i {
  color: var(--tile-fg);
  background: none;
  width: auto;
  height: auto;
}

.services .service-item {
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.services .service-item:hover {
  box-shadow: var(--shadow-lift);
}

.services .service-item .icon {
  background: var(--tile-bg);
  border-radius: 16px;
}

.services .service-item h3,
.why-us .card-item h4 {
  color: var(--royal);
}

/* lifecycle: light cards with tinted tiles */
.lifecycle {
  background: var(--soft);
}

.lifecycle .section-title p {
  color: var(--muted);
}

.steps li {
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.steps li::before {
  color: var(--blue);
}

.steps li::after {
  border-color: #b8c7dc !important;
}

.steps li .tile {
  width: 52px;
  height: 52px;
  font-size: 24px;
}

.steps li .tile i {
  color: var(--tile-fg);
  font-size: 24px;
}

.steps li h4 {
  color: var(--royal);
}

.steps li p {
  color: var(--muted);
}

.steps li:last-child {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

/* screenshots */
.portfolio .portfolio-filters li {
  border: 0;
  box-shadow: 0 4px 14px rgba(18, 52, 110, 0.08);
  color: var(--royal);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  background: var(--royal);
  color: #fff;
}

.shot {
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.shot:hover {
  box-shadow: var(--shadow-lift);
}

.shot .shot-caption strong {
  color: var(--royal);
}

/* client: navy rounded card on the light page */
.client {
  background: #fff;
  padding: 72px 0;
}

.client-card {
  background: var(--navy);
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: var(--shadow-lift);
}

@media (max-width: 767px) {
  .client-card {
    padding: 36px 26px;
  }
}

/* faq */
.faq .faq-item i {
  color: var(--blue);
}

.faq .faq-item h4 {
  color: var(--royal);
}

.faq .faq-item {
  border-color: var(--soft-line);
}

/* contact */
.contact .info-item {
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.contact .info-item i {
  border: 0;
  border-radius: 16px;
  background: var(--soft);
  color: var(--blue);
}

.contact .contact-form {
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.contact .contact-form .form-control {
  border-radius: 10px;
}

.contact .contact-form button[type=submit] {
  background: var(--royal);
  border-radius: 10px;
}

.contact .contact-form button[type=submit]:hover {
  background: var(--blue);
  color: #fff;
}

/* footer keeps a deep navy */
.footer,
.scroll-top {
  background-color: #0a1d3d;
}

/* specificity fixes for the pass above */
.section-title p.eyebrow-blue {
  max-width: none;
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
}

.why-us .card-item > span.tile {
  display: inline-flex;
  font-size: 26px;
  font-weight: 400;
  color: var(--tile-fg);
}

.services .service-item .icon.tile-blue   { --tile-bg: #e8f1fd; --tile-fg: #2c7be5; }
.services .service-item .icon.tile-sky    { --tile-bg: #e4f6fb; --tile-fg: #139fc4; }
.services .service-item .icon.tile-green  { --tile-bg: #e3f7ee; --tile-fg: #1c9a69; }
.services .service-item .icon.tile-amber  { --tile-bg: #fdf1dc; --tile-fg: #d9901a; }
.services .service-item .icon.tile-purple { --tile-bg: #efe9fb; --tile-fg: #7a4fd6; }
.services .service-item .icon.tile-red    { --tile-bg: #fde8ec; --tile-fg: #e0344c; }

/*--------------------------------------------------------------
# Hero: wording on the left, devices on the right, then the feature strip
--------------------------------------------------------------*/
section.hero.section {
  padding: 0;
  background: linear-gradient(100deg, #e8f0fa 0%, #f5f8fd 55%, #fbfcfe 100%);
  color: var(--default-color);
}

.hero .hero-split {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.hero .hero-split-inner {
  position: relative;
  z-index: 2;
}

.hero .hero-text {
  max-width: 560px;
  padding: 72px 0 64px;
}

.hero .hero-text .eyebrow-blue {
  margin: 0 0 18px !important;
}

.hero .hero-text h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--royal);
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

.hero .hero-text h1 .gold {
  color: var(--gold);
}

.hero .hero-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #3d4a5c;
  max-width: 34rem;
  margin: 0 0 30px;
  animation: none;
}

.hero .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .hero-buttons .btn-gold,
.hero .hero-buttons .btn-outline-navy {
  padding: 16px 28px;
  font-size: 16px;
}

.hero .hero-text .check-pills {
  justify-content: flex-start;
  margin-top: 28px;
  gap: 10px 26px;
  font-size: 0.92rem;
}

.hero .hero-text .check-pills li + li {
  padding-left: 26px;
  border-left: 1px solid #d3dceb;
}

.hero .hero-devices {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  max-width: 1000px;
  z-index: 1;
  pointer-events: none;
}

.hero .hero-devices img {
  position: static;
  inset: auto;
  z-index: auto;
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%), linear-gradient(to bottom, transparent 0, #000 12%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 18%), linear-gradient(to bottom, transparent 0, #000 12%);
  mask-composite: intersect;
}

@media (max-width: 991px) {
  .hero .hero-split {
    min-height: 0;
  }
  .hero .hero-text {
    padding: 48px 0 12px;
    max-width: none;
  }
  .hero .hero-devices {
    position: relative;
    width: 100%;
    max-width: none;
  }
  .hero .hero-devices img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 14%);
  }
  .hero .hero-text .check-pills li + li {
    padding-left: 0;
    border-left: 0;
  }
}

/* feature strip under the hero */
.hero .hero-features {
  position: relative;
  z-index: 2;
  background: #fff;
  padding-top: 26px;
  padding-bottom: 26px;
}

section.hero.section .hero-features {
  max-width: none;
  width: 100%;
  background: #fff;
}

.feature-strip {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1296px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.feature-strip li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 22px;
}

.feature-strip li + li {
  border-left: 1px solid var(--soft-line);
}

.feature-strip .tile {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  font-size: 28px;
}

.feature-strip h4 {
  font-size: 1.02rem;
  margin: 0 0 3px;
  color: var(--royal);
}

.feature-strip p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--muted);
}

@media (max-width: 1199px) {
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }
  .feature-strip li:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 575px) {
  .feature-strip {
    grid-template-columns: 1fr;
  }
  .feature-strip li {
    border-left: 0 !important;
  }
}

/* the template caps ".hero p" at 60% width -- not wanted inside the feature strip */
.hero .feature-strip p,
.hero .feature-strip h4 {
  max-width: none;
}

.feature-strip li > div {
  min-width: 0;
}

.feature-strip li {
  gap: 13px;
  padding: 6px 14px;
}

.feature-strip .tile {
  width: 50px;
  height: 50px;
  font-size: 23px;
  border-radius: 14px;
}

.feature-strip h4 {
  font-size: 0.93rem;
  white-space: nowrap;
}

/*--------------------------------------------------------------
# Hero picture: the wide four-device image (tablet, monitor, phone, laptop)
--------------------------------------------------------------*/
@media (min-width: 992px) {
  .hero .hero-devices {
    width: 66%;
    max-width: none;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .hero .hero-devices img {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%);
    mask-image: linear-gradient(to right, transparent 0, #000 7%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }
}

@media (max-width: 991px) {
  .hero .hero-devices img {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Wide hero picture: sits to the right of the wording on large screens, under it on smaller ones */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero .hero-split {
    min-height: 0;
  }
  .hero .hero-text {
    max-width: 600px;
    padding: 64px 0 8px;
  }
  .hero .hero-devices {
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
  }
  .hero .hero-devices img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
  }
}

@media (min-width: 1200px) {
  .hero .hero-split {
    --cw: 1140px;   /* Bootstrap container width at this breakpoint */
    --tw: 500px;    /* wording column */
  }
  .hero .hero-text {
    max-width: var(--tw);
  }
  .hero .hero-text h1 {
    font-size: 3.1rem;
  }
  .hero .hero-devices {
    left: calc(max(0px, (100% - var(--cw)) / 2) + 12px + var(--tw) + 20px);
    right: 0;
    width: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .hero .hero-devices img {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 4%),
      linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0, #000 4%),
      linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }
}

@media (min-width: 1400px) {
  .hero .hero-split {
    --cw: 1320px;
    --tw: 560px;
  }
  .hero .hero-text h1 {
    font-size: clamp(3.1rem, 3.6vw, 3.5rem);
  }
}

/* the template caps ".hero p" at 60% width -- keep the label on one line */
.hero .hero-text .eyebrow-blue {
  max-width: none;
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1399px) {
  .hero .hero-text .check-pills {
    gap: 8px 16px;
    font-size: 0.85rem;
  }
  .hero .hero-text .check-pills li + li {
    padding-left: 16px;
  }
}

/* contact form: spam trap + result message */
.contact .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact .form-status {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 500;
  text-align: left;
}

.contact .form-status.is-ok {
  background: #e3f7ee;
  color: #135f43;
}

.contact .form-status.is-error {
  background: #fde8ec;
  color: #8a1f2c;
}

.contact .contact-form button[type=submit]:disabled {
  opacity: 0.7;
  cursor: progress;
}

/*--------------------------------------------------------------
# Registration workflow: header sign-in link and the "Get started" steps
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu .nav-signin a {
    padding-right: 6px;
  }
  .navmenu .nav-signin a::after {
    content: none !important;
  }
}

.reg-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: none;
}

.reg-steps li {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 26px 22px 24px;
}

.reg-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -14px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #b8c7dc;
  border-right: 2px solid #b8c7dc;
  transform: rotate(45deg);
}

.reg-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--royal);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
}

.reg-steps li:last-child .reg-no {
  background: var(--gold);
  color: var(--navy);
}

.reg-steps h4 {
  font-size: 1.05rem;
  color: var(--royal);
  margin: 16px 0 8px;
}

.reg-steps p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.reg-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.reg-note {
  text-align: center;
  margin: 16px 0 0;
  color: var(--muted);
}

.reg-note a {
  color: var(--blue);
  font-weight: 600;
}

@media (max-width: 1199px) {
  .reg-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .reg-steps li::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .reg-steps {
    grid-template-columns: 1fr;
  }
}

/* document-portal links */
.header .topbar .staff-link {
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  color: #e8edf3;
  font-size: 13px;
}

.header .topbar .staff-link:hover {
  color: var(--gold);
}

.reg-steps .step-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
}

.reg-steps .step-link:hover {
  color: var(--royal);
}

.reg-actions .btn-outline-navy i {
  font-size: 1.1rem;
}


/* ---------- Pricing ---------- */
.pricing {
  background: #fff;
}

.pricing .included-band {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--navy);
  color: #e8edf3;
  border-radius: 14px;
  padding: 20px 26px;
  margin-bottom: 36px;
}

.pricing .included-band i {
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.pricing .included-band p {
  margin: 0;
  font-size: 1rem;
}

.pricing .included-band strong {
  color: #fff;
}

.price-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 28px 30px;
}

.price-card.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 18px 40px rgba(11, 33, 66, 0.12);
}

.price-flag {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.price-blurb {
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 3em;
  margin: 0 0 14px;
}

.price-amount {
  font-family: var(--heading-font);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 20px;
}

.price-amount .cur {
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 4px;
  color: #8f6314;
}

.price-amount .per {
  font-family: var(--default-font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
}

.price-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
}

.price-list li i {
  color: #1f7a4d;
  font-size: 1.1rem;
  line-height: 1.4;
}

.price-cta {
  text-align: center;
  justify-content: center;
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.pricing-notes div {
  background: var(--soft, #f3f7fc);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 0.95rem;
}

.pricing-fine {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 18px 0 0;
}

@media (max-width: 991px) {
  .pricing-notes {
    grid-template-columns: 1fr;
  }
}
