@media (max-width: 1199.98px) {
  .hero {
    .swiper,
    .swiper-slide,
    .hero-content {
      min-height: 100svh;
      height: 100svh;
    }

    .hero-content {
      align-items: end;
      justify-content: flex-start;
      max-width: 100%;
      padding-top: calc(var(--header-h) + 1.25rem);
      padding-bottom: 5.5rem;
    }

    .hero-heading {
      margin-bottom: 1.25rem;
    }

    .heading-sans {
      font-size: clamp(2.6rem, 5.5vw, 3.8rem);
    }

    .heading-serif {
      font-size: clamp(3.2rem, 6.8vw, 4.6rem);
    }

    .hero-subtext {
      font-size: 1.05rem;
      margin-bottom: 2.2rem;
      max-width: 480px;
    }

    .hero-pagination-bar {
      inset-inline-end: 2rem;
      bottom: 2.25rem;
      gap: 2rem;
    }

    .hero-pagination-bar .hero-num {
      font-size: 1.2rem;
    }
  }

  .service-vcard {
    &.is-offset {
      margin-top: 0;
    }

    .service-vcard-img {
      aspect-ratio: 3 / 3.8;
    }
  }

  .collection-item-tall {
    height: clamp(180px, 32vw, 320px);
  }

  }

@media (max-width: 991.98px) {
  .about-features-new li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 1.25rem;
  }

  .service-vcard {
    .service-vcard-img {
      aspect-ratio: 3 / 3.4;
    }
  }

  .section-num {
    font-size: 7rem;
    top: 2% !important;
  }

  /* Velora About Section Tablet */

  .velora-about__content {
    max-width: 100%;
    margin-bottom: 2.5rem;
  }

  .velora-about__heading .heading-line-1,
  .velora-about__heading .heading-line-2 {
    font-size: 2.2rem;
  }

  .velora-about__visual {
    max-width: 100%;
    margin-inline: auto;
    padding: 30px 25px 30px 20px;
  }

  .velora-about__image-wrap {
    height: 440px;
  }

  /* Velora Services Tablet */

  .velora-services__header .velora-about__heading .heading-line-1,
  .velora-services__header .velora-about__heading .heading-line-2 {
    font-size: 2.1rem;
  }

  .velora-services__description {
    font-size: 1.05rem;
  }

  .velora-service-card {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: none;
  }
}

@media (max-width: 767.98px) {
  /* Safer gutters so button frames / eyebrows don't clip */
  .container,
  .container-fluid {
    --bs-gutter-x: 2.5rem;
  }

  .header {
    .navbar-brand img {
      width: 115px;
    }

    .header-actions {
      gap: 0.65rem;
    }

    .header-bar {
      gap: 0.5rem;
    }
  }

  .hero {
    .hero-content {
      padding-top: calc(var(--header-h) + 0.5rem);
      padding-bottom: 7rem;
    }

    .hero-eyebrow {
      flex-wrap: wrap;
      gap: 0.75rem;
      max-width: 100%;
    }

    .eyebrow-text {
      font-size: 11.5px;
      letter-spacing: 0.18em;
      line-height: 1.35;
      max-width: 100%;
    }

    .eyebrow-line {
      flex: 1 1 48px;
      min-width: 40px;
      max-width: 72px;
    }

    .heading-sans {
      font-size: clamp(2.1rem, 7.8vw, 2.9rem);
    }

    .heading-serif {
      font-size: clamp(2.6rem, 9.5vw, 3.6rem);
    }

    .hero-subtext {
      font-size: 1.05rem;
      margin-bottom: 1.85rem;
      max-width: 100%;
    }

    .velora-btn {
      width: min(220px, 100%);
      height: 50px;
    }

    .hero-pagination-bar {
      inset-inline-end: 1rem;
      bottom: 1.25rem;
      gap: 1.15rem;
    }

    .hero-pagination-bar .hero-num {
      font-size: 1rem;
    }
  }

  /* Keep floating call / WhatsApp clear of hero pagination */
  body:has(.hero) .social-icon {
    bottom: calc(7.25rem + env(safe-area-inset-bottom, 0px));
  }

  .velora-about__eyebrow-text,
  .velora-achievements__eyebrow-text,
  .velora-media__eyebrow-text,
  .velora-clients__eyebrow-text,
  .velora-projects__eyebrow-text,
  .velora-contact__eyebrow-text,
  .eyebrow__text,
  .eyebrow-text {
    letter-spacing: 0.12em;
    font-size: 0.88rem;
    font-weight: 900 !important;
  }

  .velora-btn__label,
  .btn-quote-header,
  .btn-circle-link {
    font-weight: 900 !important;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .collection-item-tall {
    height: clamp(180px, 42vw, 260px);
  }

  .page-header {
    min-height: clamp(280px, 52vw, 360px);
    padding-top: calc(var(--header-h, 90px) + 2.5rem);
    padding-bottom: 2.5rem;
  }

  /* Keep button corner frames inside section bounds */
  .velora-services__cta,
  .velora-about__cta,
  .velora-projects__cta,
  .velora-media__header-actions,
  .velora-clients__header-actions {
    padding-inline: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .circle-arrow {
    width: 42px;
    height: 42px;
  }

  .btn-circle-link,
  .btn-hero-link,
  .btn-text-link,
  .btn-outline-link {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .project-tabs .nav-link {
    white-space: nowrap;
  }

  /* Velora About Section Mobile */

  .velora-about__heading {
    margin-bottom: 1.65rem;
  }

  .velora-about__heading .heading-line-1,
  .velora-about__heading .heading-line-2 {
    font-size: 1.85rem;
  }

  .velora-about__description {
    margin-bottom: 2rem;
  }

  .velora-about__description p,
  p.velora-about__description,
  .velora-about__body-text {
    font-size: 1.05rem;
    line-height: 1.68;
    margin-bottom: 1.25rem;
  }

  .velora-about__subheading {
    font-size: 1.85rem;
  }

  ul.velora-about__body-text {
    margin-bottom: 0;
  }

  .velora-projects__description,
  .velora-achievements__description,
  .velora-media__description,
  .velora-clients__description,
  .velora-contact__description {
    font-size: 1.05rem;
    line-height: 1.68;
  }

  .velora-about__cta {
    margin-bottom: 2.75rem;
  }

  .velora-about__visual {
    padding: 22px 18px 22px 15px;
  }

  .velora-about__image-wrap {
    height: clamp(340px, 80vw, 420px);
  }

  .velora-about__deco-top-right {
    width: 110px;
    height: 85px;
  }

  .velora-about__deco-bottom-right {
    width: 130px;
    height: 75px;
    right: 15px;
  }

  .velora-about__deco-left {
    width: 35px;
    height: 65px;
  }

  .velora-about__deco-frame {
    width: 90px;
    top: 18px;
  }

  /* Velora Services Mobile */

  .velora-services__header {
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .velora-services__header .velora-about__heading .heading-line-1,
  .velora-services__header .velora-about__heading .heading-line-2 {
    font-size: 1.75rem;
  }

  .velora-services__description {
    font-size: 1.05rem;
  }

  .velora-services__cta {
    padding-bottom: 0;
  }

  .velora-service-card {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: none;
    border-radius: 18px;
  }

  .velora-service-card__overlay {
    min-height: 165px;
    padding: 22px 22px 18px;
    border-radius: 20px 20px 0 0;
  }

  .velora-service-card__title {
    font-size: 1.35rem;
  }

  .velora-service-card__description {
    font-size: 1.05rem;
    padding-right: 36px;
  }

  .velora-services__cta {
    margin-top: 2.5rem !important;
  }
}

@media (min-width: 1200px) {
  /* Desktop hover open for nav dropdowns */
  .header .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    animation: dropdownIn 0.22s ease;
  }
}

@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* =========================================================
   VELORA PROJECTS SECTION RESPONSIVENESS
   ========================================================= */
@media (max-width: 991.98px) {

  .velora-projects__layout {
    gap: 2.5rem;
  }

  .velora-projects__copy {
    text-align: start;
  }

  .velora-projects__grid {
    grid-template-rows: repeat(2, 220px);
  }
}

@media (max-width: 767.98px) {

  .velora-projects__collage {
    padding: 16px 0 0 16px;
  }

  [dir="rtl"] .velora-projects__collage {
    padding: 16px 16px 0 0;
  }

  .velora-projects__deco-blue {
    width: 140px;
    height: 120px;
  }

  .velora-projects__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .velora-project-card--featured {
    grid-column: 1;
    grid-row: auto;
    height: 300px;
  }

  .velora-project-card--top,
  .velora-project-card--bottom {
    grid-column: 1;
    grid-row: auto;
    height: 200px;
  }

  .velora-project-card__info {
    padding: 1rem 1.25rem;
  }
}

/* =========================================================
   VELORA ACHIEVEMENTS SECTION RESPONSIVENESS
   ========================================================= */
@media (min-width: 992px) {
  .velora-achievements__stats > .col:not(:first-child) .velora-achievements__stat {
    border-inline-start: 1px solid rgba(32, 32, 32, 0.14);
  }
}

@media (max-width: 991.98px) {

  .velora-achievements__col-text {
    margin-bottom: 2.5rem;
  }

  .velora-achievements__content {
    text-align: start;
  }

  .velora-achievements__stats > .col:nth-child(2n) .velora-achievements__stat {
    border-inline-start: 1px solid rgba(32, 32, 32, 0.14);
  }

}

@media (max-width: 767.98px) {

  .velora-achievements__heading {
    font-size: clamp(1.7rem, 5.5vw, 2.1rem);
    margin-bottom: 1rem;
  }

  .velora-achievements__description {
    font-size: 1.05rem;
    line-height: 1.68;
  }

  .velora-achievements__stat {
    padding: 6px 10px;
  }

  .velora-achievements__icon-wrap {
    height: 40px;
    margin-bottom: 8px;
  }

  .velora-achievements__icon {
    width: 36px;
    height: 36px;
  }

  .velora-achievements__number {
    font-size: clamp(2rem, 7vw, 2.5rem);
    margin-bottom: 6px;
  }

  .velora-achievements__label {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    line-height: 1.35;
  }

  .velora-service-card__description {
    padding-right: 28px;
  }

  [dir="rtl"] .velora-service-card__description {
    padding-right: 0;
    padding-left: 28px;
  }

  .velora-service-card__arrow {
    right: 18px;
    bottom: 18px;
  }

  [dir="rtl"] .velora-service-card__arrow {
    right: auto;
    left: 18px;
  }
}

@media (max-width: 575.98px) {
  .hero .hero-content {
    /* justify-content: end; */
    padding-bottom: 7.5rem;
  }

  .hero .hero-cta-group {
    gap: 1.1rem;
  }

  .btn-hero-video {
    align-items: center;
    gap: 0.65rem;
    font-size: 0.84rem;
  }

  .btn-hero-video .video-play-ring {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .velora-works__masonry {
    column-count: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Moved from style.css — viewport / interaction breakpoints
   ========================================================= */

@media (max-width: 991.98px) {
  .hero,
  .hero .hero-content {
    min-height: 100svh;
  }
}

@media (max-width: 575.98px) {
  .hero,
  .hero .hero-content {
    min-height: 100svh;
    height: 100svh;
  }
}

@media (max-width: 767.98px) {
  .velora-btn__corner::before {
    top: -6px;
    bottom: -6px;
    left: -8px;
    right: -8px;
  }

  .velora-btn__corner::after {
    top: -8px;
    bottom: -8px;
    left: -6px;
    right: -6px;
  }

  .velora-btn:hover .velora-btn__corner::before,
  .velora-btn.is-hovered .velora-btn__corner::before {
    top: -7px;
    bottom: -7px;
    left: -10px;
    right: -10px;
  }

  .velora-btn:hover .velora-btn__corner::after,
  .velora-btn.is-hovered .velora-btn__corner::after {
    top: -10px;
    bottom: -10px;
    left: -7px;
    right: -7px;
  }
}

@media (max-width: 991.98px) {
  .velora-product-tabs__nav.nav-fill {
    flex-wrap: wrap;
  }

  .velora-product-tabs__nav.nav-fill > .nav-item {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }

  .velora-product-tabs__nav .nav-item + .nav-item::before {
    display: none;
  }

  .velora-product-tabs__nav .nav-link {
    white-space: normal;
    min-height: 3.75rem;
    padding: 0.95rem 0.75rem;
    letter-spacing: 0.1em;
    font-size: 0.74rem;
    gap: 0.45rem;
  }
}

@media (max-width: 575.98px) {
  .velora-product-tabs__switch {
    padding: 8px;
  }

  .velora-product-tabs__nav .nav-link {
    flex-direction: column;
    gap: 0.35rem;
    min-height: 4.4rem;
    padding: 0.95rem 0.55rem;
    letter-spacing: 0.1em;
    font-size: 0.68rem;
  }

  .velora-product-tabs__nav .nav-link::after {
    left: 22%;
    right: 22%;
  }
}

@media (max-width: 991.98px) {
  .velora-slat-details__gallery {
    position: static;
    margin-bottom: 2.5rem;
  }

  .velora-slat-details__main-image img {
    height: clamp(280px, 60vw, 380px);
  }

  .velora-slat-details__copy {
    padding-inline-start: 0;
  }
}

@media (hover: none) {
  .velora-pgrid-card__hover {
    opacity: 1;
    transform: none;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.2) 80%,
      rgba(0, 0, 0, 0.4) 100%
    );
  }
}

@media (max-width: 991.98px) {
  .velora-project-story::before {
    background: rgba(255, 255, 255, 0.94);
  }
}

@media (max-width: 575.98px) {
  .velora-project-tile__media {
    min-height: 380px;
    aspect-ratio: 4 / 4.8;
  }
  .velora-project-tile__hover-curtain {
    padding: 20px;
  }
}

@media (max-width: 1199.98px) {
  .velora-media__gallery {
    grid-template-rows: 215px 215px;
  }
}

@media (max-width: 991.98px) {

  .velora-media__gallery-wrap {
    margin-top: 2rem;
  }

  .velora-media__corner-accent {
    display: none;
  }

  /* Tablet: Featured full width, remaining 4 in 2x2 grid */
  .velora-media__gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .velora-media__item--featured {
    grid-column: 1 / span 2;
    grid-row: auto;
    height: 340px;
  }

  .velora-media__item--pergolas,
  .velora-media__item--railings,
  .velora-media__item--windows,
  .velora-media__item--aluminum {
    grid-column: auto;
    grid-row: auto;
    height: 220px;
  }
}

@media (max-width: 575.98px) {

  .velora-media__eyebrow-text {
    font-size: 0.85rem;
    letter-spacing: 3.5px;
  }

  .velora-media__heading {
    font-size: 1.85rem;
    letter-spacing: -0.3px;
  }

  .velora-media__description {
    font-size: 1.05rem;
    line-height: 1.68;
  }

  .velora-media__gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .velora-media__item--featured {
    grid-column: 1;
    height: 270px;
  }

  .velora-media__item--pergolas,
  .velora-media__item--railings,
  .velora-media__item--windows,
  .velora-media__item--aluminum {
    height: 200px;
  }

  .velora-media__header-actions {
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .velora-btn.velora-media__btn {
    width: min(220px, 100%);
    height: 46px;
  }
}

@media (max-width: 991.98px) {
  .velora-clients__header-actions {
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .velora-client-card {
    height: 145px;
    padding: 18px;
  }
}

@media (max-width: 575.98px) {
  .velora-clients__heading {
    font-size: 1.85rem;
    letter-spacing: -0.3px;
  }

  .velora-clients__description {
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .velora-client-card {
    height: 125px;
    padding: 14px;
  }
}

@media (max-width: 991.98px) {
  .velora-contact {
    padding: 75px 0 80px;
  }

  .velora-contact::before {
    background: rgba(255, 255, 255, 0.95);
  }

  .velora-contact__form-wrap {
    margin-top: 2rem;
  }

  .velora-contact__form-card {
    padding: 24px 20px;
  }

  .velora-contact__form-wrap::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .velora-contact {
    padding: 55px 0 60px;
  }

  .velora-contact__heading {
    font-size: 1.85rem;
  }

  .velora-contact__description {
    font-size: 1.05rem;
    line-height: 1.68;
    margin-bottom: 25px;
  }

  .velora-contact__form-card {
    padding: 20px 16px;
  }

  .velora-contact__form-title {
    font-size: 1.2rem;
  }

  .velora-btn.velora-contact__submit-btn {
    width: 100%;
    height: 46px;
  }
}

@media (min-width: 992px) {
  .velora-footer__col-divider {
    border-left: 1px solid rgba(0, 0, 0, 0.10);
    padding-left: 2rem !important;
    min-height: 250px;
  }
}

@media (max-width: 991.98px) {
  #footer,
  .velora-footer {
    padding-top: 48px;
    background-position: 70% top;
  }

  #footer::before,
  .velora-footer::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.88) 28%,
        #ffffff 58%,
        #ffffff 100%
      ),
      linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.92) 40%,
        rgba(255, 255, 255, 0.35) 72%,
        rgba(255, 255, 255, 0.08) 100%
      );
  }

  .velora-footer__main {
    padding-top: 20px;
    padding-bottom: 25px;
  }

  .velora-footer__col-divider {
    border-left: none;
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    min-height: auto;
  }

  .velora-footer__statement {
    max-width: 100%;
  }

  .velora-footer__notch-divider .notch-line--left {
    flex: 0 0 35%;
  }
}

@media (max-width: 575.98px) {
  #footer,
  .velora-footer {
    padding-top: 60px;
  }

  .velora-footer__main {
    padding-top: 35px;
    padding-bottom: 20px;
  }

  .velora-footer__bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .velora-footer__notch-divider .notch-accent {
    width: 44px;
    height: 5px;
  }
}

@media (min-width: 992px) {
  [dir="rtl"] .velora-footer__col-divider,
  body.rtl .velora-footer__col-divider,
  html[lang="ar"] .velora-footer__col-divider {
    border-left: none;
    border-right: 1px solid rgba(0, 0, 0, 0.10);
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-right: 2rem !important;
  }
}

@media (min-width: 992px) {
  .velora-pgrid__switch .velora-product-tabs__nav.nav-fill > .nav-item {
    flex: 1 1 0;
    width: auto;
    max-width: none;
  }

  .velora-pgrid__switch .velora-product-tabs__nav .nav-link {
    padding-inline: 0.85rem;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    gap: 0.55rem;
  }
}

@media (min-width: 768px) {
  .velora-works__masonry {
    column-count: 3;
    column-gap: 1.15rem;
  }
}

@media (min-width: 1200px) {
  .velora-works__masonry {
    column-count: 4;
    column-gap: 1.25rem;
  }
}
