/* Seasonal call popup + mobile layout polish — D Square Builders */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

html.dsb-popup-open,
html.dsb-popup-open body {
  overflow: hidden;
}

.dsb-call-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  font-family: 'DM Sans', 'Poppins', sans-serif;
}

.dsb-call-popup[hidden] {
  display: none !important;
}

.dsb-call-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 41, 64, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: dsbPopupFade 0.35s ease both;
}

.dsb-call-popup__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 40px 32px 30px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fffaf4 48%, #fff7ee 100%);
  color: #1a2940;
  box-shadow:
    0 28px 64px rgba(26, 41, 64, 0.22),
    0 0 0 1px rgba(247, 157, 43, 0.22);
  overflow: hidden;
  animation: dsbPopupRise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  text-align: center;
}

.dsb-call-popup__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f79d2b 0%, #df6512 50%, #f79d2b 100%);
}

.dsb-call-popup__glow {
  position: absolute;
  top: -35%;
  left: 50%;
  width: 130%;
  height: 65%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(247, 157, 43, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.dsb-call-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 41, 64, 0.06);
  color: #1a2940;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.dsb-call-popup__close:hover,
.dsb-call-popup__close:focus {
  background: rgba(223, 101, 18, 0.12);
  color: #df6512;
  outline: none;
}

.dsb-call-popup__eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(247, 157, 43, 0.12);
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #df6512;
}

.dsb-call-popup__hook {
  position: relative;
  margin: 0 0 14px;
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: clamp(28px, 6.5vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #1a2940;
}

.dsb-call-popup__sub {
  position: relative;
  margin: 0 0 24px;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.6;
  color: #5a6578;
}

.dsb-call-popup__cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f79d2b 0%, #df6512 100%);
  color: #fff !important;
  text-decoration: none !important;
  text-align: left;
  box-shadow: 0 12px 28px rgba(223, 101, 18, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dsb-call-popup__cta:hover,
.dsb-call-popup__cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(223, 101, 18, 0.42);
  color: #fff !important;
}

.dsb-call-popup__cta-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 18px;
}

.dsb-call-popup__cta-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dsb-call-popup__cta-copy strong {
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.dsb-call-popup__cta-copy span {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.dsb-call-popup__hours {
  position: relative;
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #8a93a3;
}

/* Accent themes — light mode */
.dsb-call-popup[data-accent="rose"] .dsb-call-popup__eyebrow {
  color: #c23a54;
  background: rgba(232, 93, 117, 0.12);
}
.dsb-call-popup[data-accent="rose"] .dsb-call-popup__panel::before {
  background: linear-gradient(90deg, #e85d75 0%, #c23a54 100%);
}
.dsb-call-popup[data-accent="rose"] .dsb-call-popup__cta {
  background: linear-gradient(135deg, #e85d75 0%, #c23a54 100%);
  box-shadow: 0 12px 28px rgba(194, 58, 84, 0.28);
}
.dsb-call-popup[data-accent="rose"] .dsb-call-popup__glow {
  background: radial-gradient(ellipse at center, rgba(232, 93, 117, 0.14) 0%, transparent 70%);
}
.dsb-call-popup[data-accent="rose"] .dsb-call-popup__panel {
  background: linear-gradient(180deg, #ffffff 0%, #fff7f9 100%);
  box-shadow: 0 28px 64px rgba(26, 41, 64, 0.18), 0 0 0 1px rgba(232, 93, 117, 0.18);
}

.dsb-call-popup[data-accent="patriot"] .dsb-call-popup__eyebrow {
  color: #1d4f91;
  background: rgba(29, 79, 145, 0.1);
}
.dsb-call-popup[data-accent="patriot"] .dsb-call-popup__panel::before {
  background: linear-gradient(90deg, #c41e3a 0%, #1d4f91 100%);
}
.dsb-call-popup[data-accent="patriot"] .dsb-call-popup__cta {
  background: linear-gradient(135deg, #c41e3a 0%, #9b152c 100%);
  box-shadow: 0 12px 28px rgba(196, 30, 58, 0.28);
}
.dsb-call-popup[data-accent="patriot"] .dsb-call-popup__glow {
  background: radial-gradient(ellipse at center, rgba(29, 79, 145, 0.12) 0%, transparent 70%);
}

.dsb-call-popup[data-accent="harvest"] .dsb-call-popup__eyebrow {
  color: #a14d1a;
  background: rgba(196, 92, 38, 0.12);
}
.dsb-call-popup[data-accent="harvest"] .dsb-call-popup__panel::before {
  background: linear-gradient(90deg, #c45c26 0%, #8b3a12 100%);
}
.dsb-call-popup[data-accent="harvest"] .dsb-call-popup__cta {
  background: linear-gradient(135deg, #c45c26 0%, #8b3a12 100%);
}
.dsb-call-popup[data-accent="harvest"] .dsb-call-popup__panel {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f1 100%);
}

.dsb-call-popup[data-accent="holiday"] .dsb-call-popup__eyebrow {
  color: #1f7a4d;
  background: rgba(31, 122, 77, 0.1);
}
.dsb-call-popup[data-accent="holiday"] .dsb-call-popup__panel::before {
  background: linear-gradient(90deg, #1f7a4d 0%, #145c38 100%);
}
.dsb-call-popup[data-accent="holiday"] .dsb-call-popup__cta {
  background: linear-gradient(135deg, #1f7a4d 0%, #145c38 100%);
  box-shadow: 0 12px 28px rgba(31, 122, 77, 0.28);
}
.dsb-call-popup[data-accent="holiday"] .dsb-call-popup__glow {
  background: radial-gradient(ellipse at center, rgba(31, 122, 77, 0.12) 0%, transparent 70%);
}
.dsb-call-popup[data-accent="holiday"] .dsb-call-popup__panel {
  background: linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
}

.dsb-call-popup[data-accent="spring"] .dsb-call-popup__eyebrow {
  color: #2a7044;
  background: rgba(61, 154, 95, 0.12);
}
.dsb-call-popup[data-accent="spring"] .dsb-call-popup__panel::before {
  background: linear-gradient(90deg, #3d9a5f 0%, #2a7044 100%);
}
.dsb-call-popup[data-accent="spring"] .dsb-call-popup__cta {
  background: linear-gradient(135deg, #3d9a5f 0%, #2a7044 100%);
}
.dsb-call-popup[data-accent="spring"] .dsb-call-popup__panel {
  background: linear-gradient(180deg, #ffffff 0%, #f5faf6 100%);
}

.dsb-call-popup[data-accent="navy"] .dsb-call-popup__eyebrow {
  color: #1a2940;
  background: rgba(26, 41, 64, 0.08);
}
.dsb-call-popup[data-accent="navy"] .dsb-call-popup__panel::before {
  background: linear-gradient(90deg, #1a2940 0%, #f79d2b 100%);
}

@keyframes dsbPopupFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dsbPopupRise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ——— Mobile layout polish ——— */
@media only screen and (max-width: 767px) {
  .auto-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Keep phone visible + centered in header on mobile */
  .main-header .header-top {
    padding: 10px 0;
  }

  .main-header .header-top .auto-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .main-header .header-top .top-left {
    display: block !important;
    float: none !important;
    width: 100%;
    text-align: center;
  }

  .main-header .header-top .top-left:before {
    display: none !important;
  }

  .main-header .header-top .top-left .info-list {
    float: none !important;
    display: inline-block;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .main-header .header-top .top-left .info-list li {
    float: none !important;
    display: inline-block;
    margin: 0;
    padding-left: 22px;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
  }

  .main-header .header-top .top-left .info-list li span {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .main-header .header-top .top-left .info-list li:nth-child(2) {
    display: none;
  }

  .main-header .header-top .top-right {
    display: none !important;
  }

  .main-header .header-upper .logo-outer .logo img {
    max-height: 52px;
    width: auto;
  }

  .nav-outer .mobile-nav-toggler {
    padding: 22px 0;
    margin-left: 12px;
  }

  /* Banner */
  .banner-section .slide-item .content-box {
    height: auto;
    min-height: 420px;
    padding: 100px 0 48px;
  }

  .banner-section .slide-item {
    text-align: center;
  }

  .banner-section .slide-item h2 {
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.2;
    padding-left: 0;
    margin-bottom: 14px;
  }

  .banner-section .slide-item h2 br {
    display: none;
  }

  .banner-section .slide-item .text {
    font-size: 15px;
    line-height: 1.55;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 4px;
  }

  .banner-section .slide-item .btn-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
  }

  .banner-section .slide-item .btn-box .theme-btn {
    display: block;
    width: 100%;
    margin: 0 !important;
    text-align: center;
  }

  /* About + sections */
  .about-section .content-column .inner-column,
  .about-section .image-column .inner-column {
    padding-left: 0;
    padding-right: 0;
  }

  .about-section .sec-title h2 {
    font-size: 26px;
    line-height: 1.25;
  }

  .about-section .text p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
  }

  .about-section .info-list li {
    padding-left: 48px;
    margin-bottom: 16px;
    line-height: 1.55;
  }

  .call-to-action {
    padding: 36px 0;
  }

  .call-to-action .outer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .call-to-action .title-box,
  .call-to-action .info-box {
    width: 100%;
    padding: 0;
    float: none;
  }

  .call-to-action .title-box h3 {
    font-size: 22px;
    line-height: 1.35;
    margin: 0;
  }

  .call-to-action .info-box h3 {
    font-size: 24px;
    margin: 0;
    line-height: 1.2;
  }

  .call-to-action .info-box h3 .icon {
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle;
  }

  .services-section .sec-title h2,
  .services-and-skills .sec-title h2,
  .testimonials-section .sec-title h2,
  .news-section .sec-title h2 {
    font-size: 26px;
    line-height: 1.25;
  }

  .services-section .sec-title .text,
  .services-and-skills .sec-title .text {
    font-size: 15px;
    line-height: 1.55;
  }

  .services-and-skills .sec-title .text br {
    display: none;
  }

  .service-block .inner-box {
    margin-bottom: 8px;
  }

  .service-block h4 {
    font-size: 18px;
    line-height: 1.3;
  }

  .fun-facts-section .counter-column {
    margin-bottom: 28px;
  }

  .fun-facts-section .counter-column .inner {
    padding: 28px 16px;
    text-align: center;
  }

  .video-section .video-column .inner-column {
    text-align: center;
    padding: 0 0 28px;
  }

  .video-section .video-column h4 {
    font-size: 22px;
    line-height: 1.35;
    margin: 16px 0;
  }

  .video-section .dsb-intro-video {
    min-height: 200px;
    border-radius: 2px;
  }

  .news-section .sec-title {
    margin-bottom: 28px;
  }

  .news-section .sec-title .column {
    margin-bottom: 12px;
  }

  .news-section .sec-title .theme-btn {
    display: inline-block !important;
    margin-top: 4px;
  }

  .news-block .lower-content {
    padding: 22px 18px 26px;
  }

  .news-block h3 {
    font-size: 20px;
    line-height: 1.3;
  }

  .newsletter-section .inner-container {
    padding: 28px 18px;
  }

  .newsletter-section .title-column h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .main-footer .footer-widget {
    margin-bottom: 36px;
  }

  .main-footer .about-widget .text {
    font-size: 14px;
    line-height: 1.6;
  }

  .main-footer .contact-widget .number {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .main-footer .footer-bottom {
    padding-top: 18px;
    text-align: center;
  }

  .main-footer .footer-bottom .pull-left,
  .main-footer .footer-bottom .pull-right {
    float: none;
    width: 100%;
  }

  .main-footer .footer-links {
    margin-top: 10px;
    justify-content: center;
  }

  /* Sticky mobile call bar */
  .dsb-mobile-callbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(135deg, #1a2940 0%, #0d1522 100%);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.25);
    text-decoration: none !important;
    color: #fff !important;
    font-family: 'DM Sans', 'Poppins', sans-serif;
  }

  .dsb-mobile-callbar strong {
    font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .dsb-mobile-callbar span.phone {
    color: #f79d2b;
    font-weight: 700;
    font-size: 15px;
  }

  body {
    padding-bottom: 64px;
  }

  html.dsb-popup-open .dsb-mobile-callbar {
    visibility: hidden;
    pointer-events: none;
  }

  .scroll-to-top {
    bottom: 78px;
  }

  .dsb-call-popup {
    padding: 12px;
    align-items: flex-end;
  }

  .dsb-call-popup__panel {
    max-width: 100%;
    padding: 34px 22px 24px;
    border-radius: 18px 18px 12px 12px;
  }

  .dsb-call-popup__hook {
    font-size: 27px;
  }

  .dsb-call-popup__sub {
    font-size: 14.5px;
  }

  .dsb-call-popup__cta-copy strong {
    font-size: 15px;
  }

  .dsb-call-popup__cta-copy span {
    font-size: 19px;
  }
}

@media only screen and (min-width: 768px) {
  .dsb-mobile-callbar {
    display: none !important;
  }
}

@media only screen and (max-width: 479px) {
  .banner-section .slide-item .content-box {
    min-height: 380px;
    padding: 88px 0 40px;
  }

  .banner-section .slide-item h2 {
    font-size: 24px;
  }

  .sec-title h2 {
    font-size: 24px;
  }

  .call-to-action .info-box h3 {
    font-size: 22px;
  }

  .dsb-call-popup__hook {
    font-size: 25px;
  }
}
