/* Digismokes — overlay, top bar, sticky header fix, WhatsApp, enquiry modal */

.widget-categories .categories-list li.active > a {
  color: #cb4f18;
  font-weight: 600;
}

/* Long service submenu — scroll on desktop */
.header-default .site-menu .main-menu .submenu,
.header-3 .site-menu .main-menu .submenu {
  max-height: min(70vh, 420px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar (WebKit) while keeping submenu scrollable */
.header-default .site-menu .main-menu .submenu::-webkit-scrollbar,
.header-3 .site-menu .main-menu .submenu::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.main-menu-offcanvas .dropdown-menu {
  max-height: min(70vh, 380px);
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar (WebKit) while keeping offcanvas dropdown scrollable */
.main-menu-offcanvas .dropdown-menu::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Service detail — CTA strip + quote form */
.digi-service-cta {
  margin-top: 2.5rem;
  padding: 1.5rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(203, 79, 24, 0.09) 0%, rgba(18, 18, 18, 0.04) 100%);
  border: 1px solid rgba(203, 79, 24, 0.22);
}

.digi-service-cta__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #141414;
}

.digi-service-cta__text {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 36rem;
}

.digi-service-form-wrap .section-title .title {
  color: #fff;
}

.digi-service-form-wrap .section-title .sub-title {
  color: rgba(255, 255, 255, 0.85);
}

:root {
  --digi-overlay: #cb4f185c;
  --digi-brand: #cb4f18;
  --digi-brand-dark: #a63f14;
  --digi-topbar-h: 52px;
  --digi-surface: #fafafa;
  --digi-border: rgba(0, 0, 0, 0.08);
}

/* Page header / inner banners: brand-tinted overlay */
.inner-header {
  background-color: transparent !important;
  background-blend-mode: normal !important;
}

.inner-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--digi-overlay);
  z-index: 1;
  pointer-events: none;
}

.inner-header > .container {
  position: relative;
  z-index: 2;
}

/* Optional: same tone on other full-width image holders */
.bg-holder.digi-overlay-brand {
  position: relative;
}

.bg-holder.digi-overlay-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--digi-overlay);
  z-index: 1;
  pointer-events: none;
}

.bg-holder.digi-overlay-brand > * {
  position: relative;
  z-index: 2;
}

/* Top notification bar — matches dark header, accent stripe */
.digi-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10003;
  min-height: var(--digi-topbar-h);
  padding: 0 44px 0 16px;
  background: linear-gradient(180deg, #121212 0%, #0c0c0c 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  border-bottom: 2px solid var(--digi-brand);
}

.digi-top-bar__inner {
  max-width: 1320px;
  margin: 0 auto;
  min-height: var(--digi-topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 10px 0;
}

.digi-top-bar__brand {
  flex-shrink: 0;
  font-family: "Russo One", "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--digi-brand);
  padding: 4px 10px;
  border: 1px solid rgba(203, 79, 24, 0.45);
  border-radius: 4px;
  background: rgba(203, 79, 24, 0.08);
}

.digi-top-bar__text {
  flex: 1 1 220px;
  text-align: center;
  font-weight: 400;
  max-width: 640px;
}

.digi-top-bar__actions {
  flex-shrink: 0;
}

.digi-top-bar__cta {
  appearance: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: 999px;
  color: #0c0c0c;
  background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.digi-top-bar__cta:hover {
  color: #0c0c0c;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(203, 79, 24, 0.35);
}

.digi-top-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(203, 79, 24, 0.7);
}

.digi-top-bar-dismiss {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.digi-top-bar-dismiss:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 767px) {
  .digi-top-bar {
    padding-right: 42px;
    --digi-topbar-h: 56px;
  }

  .digi-top-bar__inner {
    flex-direction: column;
    text-align: center;
    padding: 12px 8px;
  }

  .digi-top-bar__text {
    text-align: center;
    font-size: 13px;
  }
}

body.digi-topbar-visible #page.main {
  padding-top: var(--digi-topbar-h);
}

html.digi-no-topbar #digi-top-bar {
  display: none !important;
}

html.digi-no-topbar body.digi-topbar-visible #page.main {
  padding-top: 0 !important;
}

html.digi-no-topbar body.digi-topbar-visible .header-default.is-sticky,
html.digi-no-topbar body.digi-topbar-visible .header-3.is-sticky {
  top: 0 !important;
}

/* Sticky header: stay fixed at top while scrolling (no hide-on-scroll-down) */
.header-default.is-sticky,
.header-3.is-sticky {
  top: 0 !important;
}

body.digi-topbar-visible .header-default.is-sticky,
body.digi-topbar-visible .header-3.is-sticky {
  top: var(--digi-topbar-h) !important;
}

.header-default,
.header-3 {
  z-index: 10002;
}

/* WhatsApp floating button */
.digi-whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
}

.digi-whatsapp-fab:hover {
  color: #fff !important;
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

@media (max-width: 575px) {
  .digi-whatsapp-fab {
    right: 16px;
    bottom: 80px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}

/* Footer: phone numbers — template used 32px / 22px line-height (too tight) */
.site-footer.footer-dark .widget-info a.number {
  line-height: 1.5;
  padding: 0.2rem 0;
  margin-bottom: 0.15rem;
}

.site-footer.footer-dark .widget-info a.number:last-of-type {
  margin-bottom: 0.25rem;
}

/* Footer social icons inside circular buttons */
.site-footer.footer-dark .widget-socail ul.socail-icon li a .fa-brands {
  font-size: 17px;
  line-height: 1;
  position: relative;
  z-index: 2;
}

/* Enquiry modal — light card, soft shadow (no heavy dark band) */
.digi-enquiry-dialog {
  max-width: 480px;
  width: calc(100% - 1.5rem);
  margin: 0.75rem auto;
}

.digi-enquiry-modal {
  border: 1px solid rgba(15, 20, 25, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(15, 20, 25, 0.06),
    0 24px 48px -12px rgba(15, 20, 25, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  background: #fff;
}

.digi-enquiry-modal__top {
  background: #fff;
  color: #141414;
  position: relative;
}

.digi-enquiry-modal__accent {
  height: 3px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--digi-brand) 0%, #e87838 50%, var(--digi-brand) 100%);
}

.digi-enquiry-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1rem;
  position: relative;
  border-bottom: 1px solid rgba(15, 20, 25, 0.06);
}

.digi-enquiry-modal__headtext {
  min-width: 0;
  padding-right: 0.25rem;
}

.digi-enquiry-modal__eyebrow {
  display: block;
  font-family: "Russo One", "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--digi-brand);
  margin-bottom: 0.4rem;
  opacity: 0.95;
}

.digi-enquiry-modal__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f1419;
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
}

.digi-enquiry-modal__sub {
  font-size: 0.875rem;
  color: #5c6570;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

.digi-enquiry-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  color: #3d454d;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  padding: 0;
  margin: 0;
}

.digi-enquiry-modal__close:hover {
  background: #e4e7ec;
  color: #0f1419;
}

.digi-enquiry-modal__close:active {
  transform: scale(0.96);
}

.digi-enquiry-modal__body {
  padding: 1.35rem 1.25rem 1.5rem;
  overflow: visible;
  background: #fafbfc;
}

/* Only when the viewport is very short (e.g. mobile + keyboard) */
@media (max-height: 560px) {
  #digiEnquiryModal .digi-enquiry-modal {
    max-height: calc(100vh - 1rem);
    display: flex;
    flex-direction: column;
  }

  #digiEnquiryModal .digi-enquiry-modal__body {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
  }
}

.digi-enquiry-form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2b3238;
  margin-bottom: 0.35rem;
  text-transform: none;
  letter-spacing: 0;
}

.digi-enquiry-form__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #888;
  font-size: 0.68rem;
}

.digi-enquiry-form__input,
.digi-enquiry-form__textarea {
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  padding: 0.62rem 0.85rem;
  font-size: 0.9375rem;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.digi-enquiry-form__input:focus,
.digi-enquiry-form__textarea:focus {
  background: #fff;
  border-color: rgba(203, 79, 24, 0.45);
  box-shadow: 0 0 0 3px rgba(203, 79, 24, 0.1);
  outline: none;
}

.digi-enquiry-form__textarea {
  resize: vertical;
  min-height: 5rem;
  max-height: 10rem;
}

.digi-enquiry-form__note {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0.65rem 0 1rem;
  line-height: 1.45;
}

/* Full-width CTA — do NOT use theme .btn (circular 160×160) on this control */
#digiEnquiryModal .digi-enquiry-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1.35rem;
  margin: 0;
  border: none;
  border-radius: 12px;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff !important;
  background: linear-gradient(180deg, var(--digi-brand) 0%, var(--digi-brand-dark) 100%);
  box-shadow: 0 2px 4px rgba(203, 79, 24, 0.2), 0 8px 24px rgba(203, 79, 24, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  cursor: pointer;
  line-height: 1.2;
}

#digiEnquiryModal .digi-enquiry-form__submit:hover,
#digiEnquiryModal .digi-enquiry-form__submit:focus-visible {
  color: #fff !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(203, 79, 24, 0.22), 0 12px 32px rgba(203, 79, 24, 0.32);
  outline: none;
}

#digiEnquiryModal .digi-enquiry-form__submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(203, 79, 24, 0.25);
}

/* Modals above sticky header */
#digiEnquiryModal {
  z-index: 10060 !important;
}

#digiFeedbackModal {
  z-index: 10070 !important;
}

body.modal-open .modal-backdrop {
  z-index: 10055 !important;
  background-color: #0f1419 !important;
  opacity: 0.52 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Softer open animation for Digismokes modals */
#digiEnquiryModal.modal.fade .modal-dialog,
#digiFeedbackModal.modal.fade .modal-dialog {
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

#digiEnquiryModal.modal.show .modal-dialog,
#digiFeedbackModal.modal.show .modal-dialog {
  transform: none;
  opacity: 1;
}

/* Thank you / error — brand-aligned, no Bootstrap .btn (avoids theme circular buttons) */
.digi-feedback-dialog {
  max-width: 420px;
  width: calc(100% - 1.5rem);
  margin: 0.75rem auto;
}

.digi-feedback-modal {
  position: relative;
  border: 1px solid rgba(15, 20, 25, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(15, 20, 25, 0.06),
    0 24px 48px -12px rgba(15, 20, 25, 0.18);
  background: #fff;
}

.digi-feedback-modal__accent {
  height: 3px;
  background: linear-gradient(90deg, var(--digi-brand), #e87838, var(--digi-brand));
}

.digi-feedback-modal--danger .digi-feedback-modal__accent {
  background: linear-gradient(90deg, #c73e3e, #e85a5a);
}

.digi-feedback-modal__dismiss {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  color: #3d454d;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  padding: 0;
}

.digi-feedback-modal__dismiss:hover {
  background: #e4e7ec;
  color: #0f1419;
}

.digi-feedback-modal__dismiss:active {
  transform: scale(0.96);
}

.digi-feedback-modal__inner {
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}

.digi-feedback-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(203, 79, 24, 0.12) 0%, rgba(203, 79, 24, 0.06) 100%);
  color: var(--digi-brand);
}

.digi-feedback-modal--danger .digi-feedback-modal__icon {
  background: linear-gradient(145deg, rgba(199, 62, 62, 0.14) 0%, rgba(199, 62, 62, 0.06) 100%);
  color: #c73e3e;
}

.digi-feedback-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f1419;
  margin: 0 0 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.digi-feedback-modal__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #5c6570;
  margin: 0 0 1.5rem;
  text-align: center;
}

.digi-feedback-modal__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.digi-feedback-modal__btn {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 12px;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff !important;
  background: linear-gradient(180deg, var(--digi-brand) 0%, var(--digi-brand-dark) 100%);
  box-shadow: 0 2px 4px rgba(203, 79, 24, 0.2), 0 8px 24px rgba(203, 79, 24, 0.28);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  line-height: 1.2;
}

.digi-feedback-modal__btn:hover,
.digi-feedback-modal__btn:focus-visible {
  color: #fff !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(203, 79, 24, 0.22), 0 12px 32px rgba(203, 79, 24, 0.32);
  outline: none;
}

.digi-feedback-modal--danger .digi-feedback-modal__btn {
  background: linear-gradient(180deg, #c73e3e 0%, #a32d2d 100%);
  box-shadow: 0 4px 16px rgba(199, 62, 62, 0.35);
}

.digi-feedback-modal--danger .digi-feedback-modal__btn:hover,
.digi-feedback-modal--danger .digi-feedback-modal__btn:focus-visible {
  box-shadow: 0 6px 20px rgba(199, 62, 62, 0.45);
}

.digi-feedback-modal__secondary {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--digi-brand) !important;
  text-decoration: none !important;
  padding: 0.35rem;
}

.digi-feedback-modal__secondary:hover {
  text-decoration: underline !important;
}

/* Portfolio page — logo marquee + testimonial block */
.digi-portfolio-marquee .marquee-item .icon img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

/* Logo strip after dark testimonials — clear separation from footer */
.digi-portfolio-marquee--below-testimonials {
  margin-top: 0;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background: var(--digi-surface, #fafafa);
  border-top: 1px solid rgba(15, 20, 25, 0.06);
}

.digi-portfolio-testimonials .section-title .title {
  color: #fff;
}

/* Portfolio page — images/portfolio grid + lightbox */
.digi-portfolio-section .digi-portfolio-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #444;
}

.digi-portfolio-section .digi-portfolio-lead a {
  color: var(--digi-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.digi-portfolio-section .digi-portfolio-lead a:hover {
  color: var(--digi-brand-dark);
}

.digi-portfolio-grid .case-studies-img {
  position: relative;
 
}

.digi-portfolio-grid .case-studies-img .digi-portfolio-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: inherit;
  line-height: 0;
}

.digi-portfolio-grid .case-studies-img .digi-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.digi-portfolio-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.digi-portfolio-card:hover {
  transform: translateY(-4px);
}

.digi-portfolio-card .case-studies-img {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.35s ease;
}

.digi-portfolio-card:hover .case-studies-img {
  box-shadow: 0 22px 48px rgba(203, 79, 24, 0.16);
}

/* Home (index-03): contact — two addresses in a row (md+), phones & email full width below */
.digi-home-contact .digi-home-contact__phones-email {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .digi-home-contact .digi-home-contact__phones-email {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
  }
}

.digi-home-contact .digi-home-contact__info-line {
  font-weight: 400;
  line-height: 28px;
  font-size: inherit;
}

.digi-home-contact .digi-home-contact__phones-email .digi-home-contact__phones,
.digi-home-contact .digi-home-contact__phones-email .digi-home-contact__phones a {
  font-weight: 600;
  color: #ffffff;
}

.digi-home-contact .digi-home-contact__phones-email .digi-home-contact__hours,
.digi-home-contact .digi-home-contact__phones-email .digi-home-contact__support-note {
  font-weight: 400 !important;
  color: #d4d6d7 !important;
}
