/*------------------------------------------------------------------
* Homepage responsive refinements — mobile & tablet only
* Scoped with .home-page so other pages stay untouched.
------------------------------------------------------------------*/

/* =========================================================
   Base safety for small screens
   ========================================================= */
body.home-page {
  overflow-x: clip;
}

.home-page #responsive-menu .nav-link {
  text-transform: uppercase !important;
}

.home-page .about .about-right h2.about-heading {
  max-width: 25ch;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.home-page .about .about-right h2.about-heading .text-gradient {
  display: block;
  margin-top: 0.12em;
}

.home-page .services-grid .services-info p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.home-page .services-grid .service-card-title,
.home-page .services-grid .service-card-description {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.75);
}

.home-page .services-grid .services-info {
  width: 100%;
  padding: 0 12px;
}

.home-page .pricing .pricing-box-featured {
  border: 1px solid rgba(201, 165, 107, 0.85);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(201, 165, 107, 0.14);
}

.home-page .package-recommended {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  background: #C9A56B;
  color: #111719;
  font-size: 0.75rem;
  font-weight: 700;
}

.home-page .services-grid .services-image img {
  filter: blur(1.5px);
  transform: scale(1.015);
}

/* =========================================================
   Header + hamburger menu
   ========================================================= */
@media (max-width: 1199.98px) {
  .home-page .header-inner {
    position: relative;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  /* Make sure the hamburger menu is active up to the Bootstrap xl breakpoint */
  .home-page div#slicknav-mobile {
    display: block;
  }

  .home-page #responsive-menu {
    display: none;
  }

  .home-page .header-inner .row {
    min-height: 46px;
    align-items: center;
  }

  .home-page .header-logo img {
    width: 205px !important;
    height: auto !important;
  }

  /* Proper 48x48 tap target instead of the old 0x0 pseudo button */
  .home-page .slicknav_btn {
    position: absolute;
    top: 50%;
    right: 0;
    left: auto;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
    background-color: rgba(14, 19, 22, 0.55);
    border: 1px solid rgba(201, 165, 107, 0.5);
    border-radius: 10px 0 10px 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    z-index: 1003;
    -webkit-tap-highlight-color: transparent;
  }

  .home-page .slicknav_btn::before {
    position: static;
    top: auto;
    left: auto;
    display: block;
    padding: 0;
    font-size: 21px;
    line-height: 1;
    color: #ffffff;
  }

  .home-page .slicknav_btn.slicknav_open {
    background-color: rgba(169, 138, 91, 0.16);
    border-color: rgba(201, 165, 107, 0.85);
  }

  .home-page .slicknav_btn.slicknav_open::before {
    color: #C9A56B;
  }

  .home-page .slicknav_btn:focus-visible {
    outline: 2px solid #C9A56B;
    outline-offset: 3px;
  }

  /* Dropdown panel, aligned with the logo/content edges */
  .home-page .slicknav_nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #0E1316;
    border: 1px solid rgba(201, 165, 107, 0.22);
    border-top-color: rgba(201, 165, 107, 0.45);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
    z-index: 1002;
  }

  .home-page .slicknav_nav li {
    margin: 0;
  }

  .home-page .slicknav_nav li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .home-page .slicknav_nav .nav-link {
    display: block;
    padding: 15px 22px !important;
    margin: 0 !important;
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase !important;
    color: #E8E4DC;
    background-color: transparent;
    transition: background-color 0.25s ease, color 0.25s ease;
  }

  .home-page .slicknav_nav .nav-link:hover,
  .home-page .slicknav_nav .nav-link:focus {
    color: #ffffff !important;
    background-color: rgba(169, 138, 91, 0.18) !important;
  }

  .home-page .slicknav_nav .nav-link.active {
    color: #C9A56B !important;
    background-color: rgba(169, 138, 91, 0.12) !important;
    box-shadow: inset 3px 0 0 0 #C9A56B;
  }

  /* Keep the header pinned from the first pixel, so it never snaps in */
  .home-page header.header-nav-menu {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    background-color: rgba(14, 19, 22, 0.97);
    box-shadow: inset 0 -1px 0 0 rgba(201, 165, 107, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .home-page header.navbar-sticky-in {
    display: block !important;
    position: sticky !important;
    top: 0;
    background-color: rgba(14, 19, 22, 0.99) !important;
    box-shadow: inset 0 -1px 0 0 rgba(201, 165, 107, 0.24), 0 10px 30px rgba(0, 0, 0, 0.35);
  }

  /* The hero sits directly under the 70px mobile header */
  .home-page .banner {
    margin-top: -70px;
  }
}

@media (max-width: 991.98px) {
  .home-page .header-logo img {
    width: 200px !important;
  }
}

@media (max-width: 767.98px) {
  .home-page .header-logo img {
    width: 180px !important;
  }
}

@media (max-width: 359.98px) {
  .home-page .header-logo img {
    width: 164px !important;
  }
}

/* Keep all six links visible on short landscape screens */
@media (max-width: 1199.98px) and (max-height: 500px) {
  .home-page .slicknav_nav .nav-link {
    padding: 10px 22px !important;
    font-size: 15px;
  }
}

/* =========================================================
   Section rhythm
   ========================================================= */
@media (max-width: 1199.98px) {
  .home-page section,
  .home-page .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .home-page .banner .banner-slider .slide {
    height: 680px;
  }
}

@media (max-width: 767.98px) {
  .home-page section,
  .home-page .section-padding {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .home-page .banner .banner-slider .slide {
    height: 620px;
  }

  .home-page .services-title,
  .home-page .projects-title,
  .home-page .pricing-title {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 575.98px) {
  .home-page section,
  .home-page .section-padding {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .home-page .banner .banner-slider .slide {
    height: 600px;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.home-page .banner .banner-slider .slick-dots {
  bottom: 28px;
  z-index: 4;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .banner .banner-slider .slick-dots li {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  transition: width 0.3s ease;
}

.home-page .banner .banner-slider .slick-dots li button {
  width: 100%;
  height: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.home-page .banner .banner-slider .slick-dots li button::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  opacity: 1;
  transition: background-color 0.3s ease;
}

.home-page .banner .banner-slider .slick-dots li.slick-active {
  width: 30px;
}

.home-page .banner .banner-slider .slick-dots li.slick-active button::before {
  background: #C9A56B;
  border: 0;
  opacity: 1;
}

@media (max-width: 767.98px) {
  .home-page .banner .banner-slider .slick-dots {
    bottom: 20px;
    gap: 8px;
  }
}

@media (max-width: 1199.98px) {
  .home-page .banner .slide-inner {
    width: min(680px, 90%) !important;
    padding: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .home-page .banner .slide-inner {
    width: 100% !important;
    max-width: 560px;
    padding: 0 22px !important;
  }

  .home-page .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.3em;
    margin-bottom: 0.85rem;
  }

  .home-page .banner .hero-title {
    font-size: clamp(1.95rem, 8.4vw, 2.6rem);
    line-height: 1.08;
    margin-bottom: 1.15rem !important;
  }

  .home-page .banner .slide-inner p {
    max-width: 36ch;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 1.75rem !important;
    font-size: 15px;
    line-height: 1.65;
  }

  .home-page .banner .slide-inner .btn-primary {
    min-width: 210px;
    padding: 12px 26px;
  }
}

@media (max-width: 399.98px) {
  .home-page .banner .banner-slider .slide {
    height: 580px;
  }

  .home-page .banner .hero-title {
    font-size: 1.95rem;
  }
}

/* =========================================================
   Photo strip under the hero
   ========================================================= */
@media (max-width: 767.98px) {
  .home-page .gallery-slider .slide img {
    height: 300px;
    object-fit: cover;
  }
}

/* =========================================================
   About
   ========================================================= */
@media (max-width: 991.98px) {
  .home-page .about .about-single-image {
    max-width: 420px;
  }

  .home-page .about .row.gx-lg-5 {
    --bs-gutter-y: 2rem;
  }
}

@media (max-width: 575.98px) {
  .home-page .about .about-single-image {
    max-width: 100%;
    padding: 9px;
  }

  .home-page .about .about-single-image::before,
  .home-page .about .about-single-image::after {
    width: 54px;
    height: 54px;
  }

  .home-page .about-bottom {
    padding: 1.25rem;
  }

  .home-page .about .about-right h2 {
    font-size: 1.65rem;
    line-height: 1.18;
  }

  .home-page .about .about-right p {
    font-size: 15px;
  }
}

/* =========================================================
   Services
   ========================================================= */
@media (max-width: 991.98px) {
  .home-page .services-grid .services-image img {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 767.98px) {
  .home-page .services-grid .services-body > .row {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px;
  }

  .home-page .services-grid .services-body > .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .home-page .services-grid .services-image img {
    aspect-ratio: 3 / 4;
  }

  .home-page .services-grid .services-info {
    width: 100%;
    padding: 0 10px;
  }

  .home-page .services-grid .services-info h4 {
    margin-bottom: 0.75rem !important;
    font-size: 1rem;
    line-height: 1.2;
  }

  .home-page .services-grid .services-info p {
    margin-bottom: 0 !important;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .home-page .services-grid .services-info .divider {
    width: 46% !important;
  }
}

@media (max-width: 359.98px) {
  .home-page .services-grid .services-info h4 {
    font-size: 0.9rem;
  }
}

/* =========================================================
   Projects
   ========================================================= */
@media (max-width: 991.98px) {
  .home-page .projects-body .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
  }

  .home-page .projects .projects-body .project-img img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 575.98px) {
  .home-page .projects .projects-body .project-img a::after {
    inset: 8px;
  }
}

/* =========================================================
   Pricing
   ========================================================= */
@media (max-width: 991.98px) {
  .home-page .pricing-body .row {
    justify-content: center;
    --bs-gutter-y: 1.25rem;
  }

  .home-page .pricing .pricing-box {
    padding: 2rem 1.25rem !important;
  }

  .home-page .pricing .pricing-box .price {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

@media (max-width: 575.98px) {
  .home-page .pricing .pricing-box {
    padding: 1.6rem 1.1rem !important;
  }

  .home-page .pricing .pricing-box ul li {
    padding-bottom: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 15px;
  }

  .home-page .pricing .pricing-box ul li:last-child {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* Two compact cards per row on large phones / small tablets */
@media (min-width: 576px) and (max-width: 767.98px) {
  .home-page .pricing-body .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .home-page .pricing .pricing-box {
    padding: 1.75rem 1.1rem !important;
  }

  .home-page .pricing .pricing-box ul li {
    font-size: 14px;
  }
}

/* =========================================================
   Process ("Нашият процес")
   ========================================================= */
.home-page .services1 .process-grid > [class*="col-"] {
  display: flex;
}

.home-page .services1 .process-grid .service-box {
  width: 100%;
  min-height: 320px;
}

.home-page .process-intro-heading .process-eyebrow {
  display: block;
  margin-bottom: 0.4rem;
  color: #C9A56B;
  font-family: "Jost", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-page .process-intro-heading h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-transform: none;
}

.home-page .process-intro-description {
  padding-left: 1.25rem;
  border-left: 2px solid rgba(201, 165, 107, 0.6);
}

.home-page .process-intro-description p {
  max-width: 64ch;
  font-size: 0.95rem;
  color: #d8d3ca;
  line-height: 1.75;
}

@media (max-width: 767.98px) {
  .home-page .process-intro-description {
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(201, 165, 107, 0.45);
    border-left: 0;
  }

  .home-page .services1 .process-grid .service-box {
    min-height: 300px;
  }
}

/* =========================================================
   Review
   ========================================================= */
@media (max-width: 991.98px) {
  .home-page .review {
    background-attachment: scroll;
    background-position: center;
  }

  .home-page .review .row.gx-lg-5 {
    --bs-gutter-y: 2rem;
  }
}

@media (max-width: 575.98px) {
  .home-page .review .review-box {
    padding: 1.25rem !important;
  }

  .home-page .review .review-box .h6 {
    font-size: 15px;
    line-height: 1.55;
  }

  .home-page .review .review-box ul {
    gap: 0.9rem !important;
  }

  .home-page .review .review-box ul li img {
    height: 64px !important;
    width: 64px !important;
  }

  .home-page .review .review-box ul .h5 {
    font-size: 17px;
  }

  .home-page .review .review-right h3 {
    font-size: 1.45rem;
    line-height: 1.22;
  }
}

/* =========================================================
   Footer + copyright
   ========================================================= */
.home-page footer .footer-contact .footer-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.home-page footer .footer-contact .footer-phone a {
  white-space: nowrap;
}

.home-page footer .footer-contact .footer-phone-sep {
  display: none;
  opacity: 0.55;
}

@media (min-width: 1200px) {
  .home-page footer .footer-contact .footer-phone {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.55rem;
  }

  .home-page footer .footer-contact .footer-phone-sep {
    display: inline;
  }
}

.home-page .copyright-right a {
  color: #C9A56B;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.home-page .copyright-right a:hover,
.home-page .copyright-right a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 991.98px) {
  .home-page footer .row.gx-lg-5 {
    --bs-gutter-y: 2.25rem;
  }

  .home-page footer .footer-logo img {
    width: 190px !important;
    max-width: 190px;
  }
}

@media (max-width: 767.98px) {
  .home-page footer .footer-contact > ul {
    text-align: center !important;
  }

  .home-page footer .footer-contact > ul > li > ul {
    justify-content: center;
  }

  /* Keep the email icon directly beside the email details on phones */
  .home-page footer .footer-contact > ul > li:last-child > ul {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem !important;
    width: fit-content;
    margin-inline: auto;
  }

  .home-page footer .footer-contact > ul > li:last-child > ul > li:last-child {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .home-page footer .footer-logo img {
    width: 170px !important;
    max-width: 170px;
  }

  .home-page footer .footer-contact ul li {
    margin-bottom: 1rem !important;
  }

  .home-page .copyright {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .home-page .copyright p {
    font-size: 13px;
  }
}
