/*=====================================================================
  HYPEGINI PALETTE OVERRIDE — loaded after hypegini-brand.css.
  Owner spec (design-fidelity correction): keep the reference theme's
  layout/CSS architecture untouched; ONLY swap colour values to the
  brand palette  #0B0B0C (base)  /  #BCD630 (accent)  and add the few
  site-specific bits the theme doesn't ship (WhatsApp float, preview bar).
=====================================================================*/

/* Accent: #BDD631 → #BCD630 (both themes) */
:root,
[data-theme="dark"] {
  --hg-primary-500: #BCD630;
  --hg-primary: #BCD630;
  --theme: #BCD630;
}

/* Dark base: greenish #0F120D family → neutral #0B0B0C family */
[data-theme="dark"] {
  --body: #0B0B0C;
  --bg: #101113;
  --border: #26282c;

  --hg-background: #0B0B0C;
  --hg-surface: #141518;
  --hg-card: #141518;
  --hg-border: #26282c;
  --hg-hover-bg: #1a1c20;
  --hg-gradient-page: linear-gradient(180deg, #101113 0%, #0B0B0C 100%);
}

[data-theme="dark"] body {
  background-color: #0B0B0C;
  background-image: linear-gradient(180deg, #101113 0%, #0B0B0C 480px);
}

[data-theme="dark"] .hero-1[data-background] {
  background-image:
    radial-gradient(720px 460px at 14% 16%, rgba(188, 214, 48, 0.16), transparent 70%),
    radial-gradient(900px 560px at 86% 82%, rgba(141, 162, 27, 0.14), transparent 72%),
    linear-gradient(180deg, #101113 0%, #0B0B0C 100%) !important;
}

/*-------------------------------------------
  Hero CTA row — the reference placed a subscribe <form> 35px below the sub
  copy; our two buttons replace that form and inherited no spacing (they were
  touching the paragraph). Restore the same deliberate rhythm at every width.
-------------------------------------------*/
.hero-1 .hero-content>.d-flex.gap-3 {
  margin-top: 34px;
}

@media (max-width: 575px) {
  .hero-1 .hero-content>.d-flex.gap-3 {
    margin-top: 26px;
  }
}

/*-------------------------------------------
  Button hover fix — brand css ships two conflicting dark-hover rules
  (#1F2937 label on #262C20 pill = unreadable). Keep the label dark on
  the lime gradient, never behind a dark pill.
-------------------------------------------*/
[data-theme="dark"] .theme-btn-main:hover .theme-btn,
.theme-btn-main:hover .theme-btn {
  background-color: transparent !important;
  color: #1F2937 !important;
}

.theme-btn-main .theme-btn {
  color: #1F2937;
}

/* standalone .theme-btn (pricing cards): lime bg needs dark ink, both themes */
.pricing-box-items .theme-btn,
.pricing-box-items .theme-btn:hover {
  color: #1F2937;
}

/*-------------------------------------------
  Breadcrumb header — the reference blue photo clashes with the brand;
  replaced with the same ambient treatment the dark hero uses (owner fix).
-------------------------------------------*/
.breadcrumb-wrapper.bg-cover,
.breadcrumb-wrapper {
  background-image:
    radial-gradient(640px 420px at 12% 22%, rgba(188, 214, 48, 0.28), transparent 70%),
    radial-gradient(820px 520px at 88% 78%, rgba(207, 224, 88, 0.20), transparent 72%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFCF4 100%) !important;
}

[data-theme="dark"] .breadcrumb-wrapper.bg-cover,
[data-theme="dark"] .breadcrumb-wrapper {
  background-image:
    radial-gradient(720px 460px at 14% 20%, rgba(188, 214, 48, 0.16), transparent 70%),
    radial-gradient(900px 560px at 86% 80%, rgba(141, 162, 27, 0.13), transparent 72%),
    linear-gradient(180deg, #101113 0%, #0B0B0C 100%) !important;
}

.breadcrumb-wrapper .page-heading {
  padding: 150px 0 90px;
}

@media (max-width: 991px) {
  .breadcrumb-wrapper .page-heading {
    padding: 120px 0 60px;
  }
}

/*-------------------------------------------
  Spacing — a page's first regular section must clear the fixed header
  (about/faq start without a breadcrumb), and pt-0 chains stay tight.
-------------------------------------------*/
#smooth-content>section.section-padding:first-child {
  padding-top: 160px;
}

#smooth-content>section.section-padding.pt-0:first-child {
  padding-top: 160px !important;
}

@media (max-width: 991px) {

  #smooth-content>section.section-padding:first-child,
  #smooth-content>section.section-padding.pt-0:first-child {
    padding-top: 120px !important;
  }
}

/*-------------------------------------------
  Trust-strip marquee with text labels instead of logo images
-------------------------------------------*/
.brand-section-one .brand-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 34px;
}

.brand-section-one .brand-img span {
  color: var(--hg-muted);
}

/*-------------------------------------------
  Responsive corrections (owner QA): stacking + overflow on small screens
-------------------------------------------*/
@media (max-width: 991px) {
  .section-title-area {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 20px;
  }

  .hero-1 .hero-content h1 {
    font-size: clamp(2rem, 7.5vw, 3rem);
  }

  .hero-1 .hero-items {
    margin-top: 34px;
  }

  .how-it-image {
    margin-top: 30px;
  }

  .choose-us-section .dashboard-image {
    margin-top: 30px;
  }

  .footer-top-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer-top-wrapper .title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .contact-box {
    margin-top: 24px;
  }
}

@media (max-width: 575px) {
  .hero-1 .hero-content .d-flex.gap-3 .theme-btn-main {
    width: 100%;
    justify-content: center;
  }

  .breadcrumb-wrapper .page-heading h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
  }

  .project-box-items-2 .content-items {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-box-items {
    margin-bottom: 10px;
  }

  .brand-section-one .brand-img {
    padding: 0 20px;
  }

  .brand-section-one .brand-img span {
    font-size: 16px !important;
  }

  .section-title .sec_title br,
  .section-title h2 br {
    display: none;
  }
}

img {
  max-width: 100%;
  height: auto;
}

/*-------------------------------------------
  Footer polish — balanced columns + tidy bottom row
-------------------------------------------*/
.footer-section .footer-widget-wrapper {
  padding-bottom: 20px;
}

.footer-widget-items .footer-content p {
  max-width: 340px;
  line-height: 1.7;
}

.footer-widget-items .footer-content .footer-initiative {
  font-size: 13px;
  opacity: 0.75;
  margin-top: 10px;
}

.footer-bottom-wrapper {
  row-gap: 8px;
}

/* Get-in-touch column: icon + text rows aligned, lime accent icons */
.footer-section .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-section .contact-list .contact-ico {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(188, 214, 48, 0.12);
  color: #BCD630;
  font-size: 14px;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .footer-bottom-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .footer-widget-items {
    margin-bottom: 26px;
  }
}

/*-------------------------------------------
  404 / maintenance (main-lite layout) — one shared, branded treatment so the
  503 page looks as finished as the 404 instead of a bare glyph.
-------------------------------------------*/
.lite-logo {
  height: 46px;
  width: auto;
  margin-bottom: 28px;
}

.lite-code {
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  margin: 0 0 6px;
  letter-spacing: -2px;
}

.lite-icon {
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  line-height: 1;
  color: #BCD630;
  margin-bottom: 20px;
}

.lite-icon i {
  filter: drop-shadow(0 0 24px rgba(188, 214, 48, 0.35));
}

.lite-message {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/*-------------------------------------------
  Public contact form — the reference only styles inputs inside the team-details
  page, so our /contact fields fell back to unstyled browser boxes. Bring them
  up to the brand (dark surfaces, lime focus). Theme-aware via --hg-* tokens.
-------------------------------------------*/
.contact-box {
  background: var(--hg-surface);
  border: 1px solid var(--hg-border);
  border-radius: 16px;
  padding: 34px;
}

@media (max-width: 575px) {
  .contact-box {
    padding: 22px;
  }
}

.contact-box h3 {
  margin-bottom: 22px;
}

.contact-box .form-clt input,
.contact-box .form-clt textarea,
.contact-box .form-clt select {
  width: 100%;
  background: var(--hg-background, var(--body));
  color: var(--hg-text);
  border: 1px solid var(--hg-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-box .form-clt textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-box .form-clt input::placeholder,
.contact-box .form-clt textarea::placeholder {
  color: var(--hg-muted, #6b7280);
  opacity: 1;
}

.contact-box .form-clt input:hover,
.contact-box .form-clt textarea:hover,
.contact-box .form-clt select:hover {
  border-color: rgba(188, 214, 48, 0.5);
}

.contact-box .form-clt input:focus,
.contact-box .form-clt textarea:focus,
.contact-box .form-clt select:focus {
  outline: none;
  border-color: #BCD630;
  box-shadow: 0 0 0 3px rgba(188, 214, 48, 0.20);
}

.contact-box .form-clt select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b8f98' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.contact-box .form-clt select option {
  color: #1F2937;
}

.contact-box .hg-field-error {
  margin-top: 6px;
}

/*-------------------------------------------
  Contact page left column — the theme only styles .contact-content inside its
  own .contact-us-wrapper markup, so ours rendered unstyled with uneven gaps.
  Give each info row a tidy card that lines up with the form column.
-------------------------------------------*/
.contact-section .contact-info-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-section .contact-info-area .contact-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 20px;
  background: var(--hg-surface);
  border: 1px solid var(--hg-border);
  border-radius: 14px;
}

.contact-section .contact-info-area .contact-content .icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(188, 214, 48, 0.12);
}

.contact-section .contact-info-area .contact-content .icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* The channel SVGs are white (built for the dark theme), so on the pale lime
   tile they vanished in light theme. Give the tile a solid lime chip and paint
   the glyph near-black in light theme so it always reads. */
[data-theme="light"] .contact-section .contact-info-area .contact-content .icon {
  background: #BCD630;
}

[data-theme="light"] .contact-section .contact-info-area .contact-content .icon img {
  filter: brightness(0);
}

.contact-section .contact-info-area .contact-content .cont {
  min-width: 0;
}

.contact-section .contact-info-area .contact-content .cont span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--hg-muted);
  margin-bottom: 5px;
}

.contact-section .contact-info-area .contact-content .cont h3 {
  font-size: 18px;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-section .contact-info-area .contact-content .cont h3 a {
  color: inherit;
}

.contact-section .contact-info-area .contact-content .cont h3 a:hover {
  color: #BCD630;
}

@media (max-width: 991px) {
  .contact-section .contact-info-area {
    gap: 14px;
  }
}

/*-------------------------------------------
  Preloader — "logo reveal" (promoted from the preloader lab, Variant C):
  the brand logo animates in with a light sweep, then the panel slides up to
  uncover the page. Theme-aware, reduced-motion aware. The failsafe animation
  hides the panel even if hg-preloader.js never runs, so it can never stick.
-------------------------------------------*/
.hg-preloader {
  position: fixed;
  inset: 0;
  /* Above everything: the theme itself goes as high as 9999999. */
  z-index: 99999999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #0B0B0C;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
  animation: hg-preloader-failsafe 0s linear 6s forwards;
}

[data-theme="light"] .hg-preloader {
  background-color: #F8FAF7;
}

.hg-preloader.is-sliding {
  transform: translateY(-100%);
}

.hg-preloader .hg-logo {
  position: relative;
  z-index: 2;
  /* Size by width — the wordmark is wide, so the shared inline height must go. */
  width: min(300px, 58vw) !important;
  height: auto !important;
  opacity: 0;
  transform: scale(0.86) translateY(8px);
  animation: hg-preloader-logo-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s forwards;
}

.hg-preloader-sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(188, 214, 48, 0.20) 50%, transparent 60%);
  background-size: 260% 100%;
  background-position: 120% 0;
  animation: hg-preloader-sweep 1.15s ease 0.35s 1;
}

@keyframes hg-preloader-logo-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hg-preloader-sweep {
  to {
    background-position: -60% 0;
  }
}

@keyframes hg-preloader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hg-preloader {
    transition: none;
    /* No decorative motion, but KEEP a JS-independent failsafe so the panel
       still uncovers if hg-preloader.js never runs (a 0s-duration flip to
       hidden is not perceptible motion). JS removes it sooner in practice. */
    animation: hg-preloader-failsafe 0s linear 2s forwards;
  }

  .hg-preloader .hg-logo {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hg-preloader-sweep {
    display: none;
  }
}

/*-------------------------------------------
  Floating WhatsApp CTA (site feature, matches theme's back-to-top style)
-------------------------------------------*/
.hg-wa-float {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 150ms ease;
}

.hg-wa-float:hover {
  transform: translateY(-2px);
  color: #fff;
}

/*-------------------------------------------
  Draft preview banner (admin feature)
-------------------------------------------*/
.hg-preview-bar {
  background: #BCD630;
  color: #1F2937;
  font-weight: 700;
  padding: 9px 16px;
  text-align: center;
  position: relative;
  z-index: 1000;
}

/*-------------------------------------------
  Contact form validation states (uses theme form styling)
-------------------------------------------*/
.hg-field-error {
  color: #E53935;
  font-size: 14px;
  margin: 6px 0 0;
}

.hg-form-success {
  border: 1px solid #BCD630;
  background: rgba(188, 214, 48, 0.12);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.hg-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/*-------------------------------------------
  Branding logos — when a light-theme logo is uploaded (Settings → Branding),
  both render and only the one matching the active theme is shown.
-------------------------------------------*/
.hg-logo-light {
  display: none;
}

/* Swap to the light-theme logo ONLY when one was actually uploaded
   (Settings → Branding). Without this guard, light theme hid the default logo
   and — with no light logo present — showed no logo at all. */
[data-theme="light"] .hg-logo-dark:has(+ .hg-logo-light) {
  display: none;
}

[data-theme="light"] .hg-logo-light {
  display: inline-block;
}