/* ========================================
   Archy.studio — Custom Overrides
   ======================================== */

/* --- Dark footer --- */
.footer-dark {
  background-color: #111;
}
.footer-dark .footer__inner {
  border-top-color: rgba(255,255,255,0.15);
}
.footer-dark .footer-widget-box:not(:last-child) {
  border-right-color: rgba(255,255,255,0.15);
}
.footer-dark .footer-widget-box .title {
  color: rgba(255,255,255,0.5);
}
.footer-dark .footer-widget-box .subscribe-form .title {
  color: #fff;
}
.footer-dark .footer-widget-box .subscribe-form .input-group {
  border-top-color: rgba(255,255,255,0.15);
}
.footer-dark .footer-widget-box .subscribe-form .input-group:last-of-type {
  border-bottom-color: rgba(255,255,255,0.15);
}
.footer-dark .footer-widget-box .subscribe-form input {
  color: rgba(255,255,255,0.7);
}
.footer-dark .footer-widget-box .subscribe-form input::placeholder {
  color: rgba(255,255,255,0.4);
}
.footer-dark .footer-widget-box .subscribe-form .input-group i {
  color: rgba(255,255,255,0.5);
}
.footer-dark .footer-widget-box .copyright-text .text {
  color: #fff;
}
.footer-dark .footer-widget-box .footer-nav-list li {
  color: #fff;
}
.footer-dark .footer-widget-box .footer-nav-list li a {
  color: #fff;
}
.footer-dark .footer-widget-box .footer-nav-list li a::after {
  color: #fff;
}
.footer-dark .footer-widget-box .footer-location p {
  color: #fff;
}
.footer-dark .footer-widget-box .footer-location a {
  color: rgba(255,255,255,0.7);
}

/* --- Footer: reduce height — compress copyright margin --- */
.footer-widget-box {
  padding-top: 37px !important;
  padding-bottom: 40px !important;
}
.footer-widget-box .copyright-text {
  margin-top: 130px !important;
}
@media only screen and (max-width: 1399px) {
  .footer-widget-box .copyright-text {
    margin-top: 100px !important;
  }
}

/* Prevent white from bleeding below dark footer (GSAP smooth-scroll gap) */
html {
  background-color: #111;
}

/* --- Contact info: offices aligned to same column as form --- */
.contact-offices-align {
  display: grid;
  gap: 0 60px;
  align-items: flex-start;
  grid-template-columns: 1fr 995px;
}
@media only screen and (max-width: 1919px) {
  .contact-offices-align {
    grid-template-columns: 1fr 730px;
  }
}
@media only screen and (max-width: 1399px) {
  .contact-offices-align {
    grid-template-columns: 1fr 680px;
  }
}
@media only screen and (max-width: 1199px) {
  .contact-offices-align {
    grid-template-columns: 1fr 550px;
  }
}
@media only screen and (max-width: 991px) {
  .contact-offices-align {
    grid-template-columns: 1fr;
    gap: 20px 0;
  }
}
.contact-offices-grid {
  display: flex;
  gap: 60px;
}
@media (max-width: 767px) {
  .contact-offices-grid {
    flex-direction: column;
    gap: 30px;
  }
}

/* --- Contact form: services tag-pill toggle buttons --- */
.contact-formfield--services {
  border-bottom: 1px solid var(--primary);
  padding-bottom: 12px;
}
.services-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.services-tags__label {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: -0.54px;
  margin-bottom: 0;
  line-height: 20px;
}
.services-tags__row {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.service-tag {
  cursor: pointer;
  display: inline-flex;
}
.service-tag__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.service-tag__btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 500px;
  border: 1px solid #DADADA;
  font-size: 13px;
  font-weight: 500;
  color: #999;
  background: transparent;
  cursor: pointer;
  letter-spacing: -0.4px;
  user-select: none;
  line-height: 1;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.service-tag:hover .service-tag__btn {
  border-color: #aaa;
  color: #555;
}
.service-tag__input:checked ~ .service-tag__btn {
  background: #111;
  color: #fff;
  border-color: #111;
}
@media (max-width: 767px) {
  .services-tags__row {
    justify-content: flex-start;
  }
  .service-tag__btn {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* --- Works section: max 6 items on desktop, swipeable on mobile --- */
.works-section-12--limited .works-section-12__wrapper {
  overflow: hidden;
}

/* Mobile: horizontal scroll */
@media (max-width: 767px) {
  .works-section-12--limited .works-section-12__wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
    grid-template-columns: none;
  }
  .works-section-12--limited .works-section-12__item {
    flex: 0 0 80vw;
    max-width: 80vw;
    scroll-snap-align: start;
  }
}

/* --- Hero-section-12 dark theme --- */
.hero-section-12-dark {
  background-color: #111;
}
.hero-section-12-dark .hero-section-12__title {
  color: #fff;
}
.hero-section-12-dark .hero-section-12__subtitle {
  color: rgba(255,255,255,0.7);
}
.hero-section-12-dark .hero-section-12__subtitle span {
  color: #fff;
}
.hero-section-12-dark .hero-section__left-text,
.hero-section-12-dark .hero-section__right-text {
  color: rgba(255,255,255,0.5);
}

/* --- Grey background section --- */
.section-grey-bg {
  background-color: #f5f5f5;
}

/* --- Header-area-13 dark override --- */
.header-area-13-dark .header-main {
  border-bottom-color: rgba(255,255,255,0.15);
}
.header-area-13-dark .main-menu ul li a {
  color: #fff;
}
.header-area-13-dark .main-menu ul li a:hover {
  color: rgba(255,255,255,0.7);
}
/* --- Header dark: Let's Talk button → white bg / black text with transition --- */
.header-area-13-dark .header-right .rr-btn-primary {
  background: #fff !important;
  border: none !important;
  transition: background 0.35s ease, opacity 0.35s ease;
}
.header-area-13-dark .header-right .rr-btn-primary .text span {
  color: #111 !important;
  transition: color 0.35s ease;
}
.header-area-13-dark .header-right .rr-btn-primary .right-icon {
  color: #111 !important;
  transition: color 0.35s ease;
}
.header-area-13-dark .header-right .rr-btn-primary i {
  color: #111 !important;
  transition: color 0.35s ease;
}
.header-area-13-dark .header-right .rr-btn-primary:hover {
  background: rgba(255,255,255,0.88) !important;
}
.header-area-13-dark .bar-icon span {
  background-color: #fff;
}

/* --- About page: invert stats row --- */
.about-experience-invert .experience__inner {
  background: #111;
  border-top-color: rgba(255, 255, 255, 0.2);
  padding-top: 55px;
  padding-bottom: 70px;
}
.about-experience-invert .experience__item p,
.about-experience-invert .experience__item .title,
.about-experience-invert .experience__item .odometer {
  color: #fff;
}
.about-experience-invert .experience__item p {
  font-size: 20px;
  line-height: 24px;
}
.about-experience-invert .experience__wrapper {
  margin-top: 48px;
}
.about-experience-invert .experience__item .title {
  font-size: 160px;
  margin-top: 112px;
  line-height: 140px;
}
@media only screen and (max-width: 1399px) {
  .about-experience-invert .experience__item .title {
    font-size: 130px;
    margin-top: 92px;
    line-height: 115px;
  }
}
@media only screen and (max-width: 1199px) {
  .about-experience-invert .experience__item .title {
    font-size: 90px;
    margin-top: 70px;
    line-height: 90px;
  }
  .about-experience-invert .experience__item p {
    font-size: 18px;
    line-height: 22px;
  }
}
@media only screen and (max-width: 767px) {
  .about-experience-invert .experience__item p {
    font-size: 17px;
    line-height: 21px;
  }
}
@media (max-width: 575px) {
  .about-experience-invert .experience__item p {
    font-size: 16px;
    line-height: 20px;
  }
}

/* --- About page: clients marquee style --- */
.about-clients-section {
  padding-top: 145px;
  padding-bottom: 180px;
}
.about-brand-7__wrapper {
  margin-left: 0;
  border-top: none;
  min-height: 540px;
  padding-top: 0;
  align-items: center;
}
.about-brand-7__info {
  max-width: 360px;
}
.about-clients-section .brand-7__active {
  width: 100%;
}
.about-client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 500px;
  padding: 16px 34px;
  white-space: nowrap;
  background: #fff;
}
.about-client-logo img {
  width: auto;
  height: 30px;
  object-fit: contain;
  display: block;
}
@media (max-width: 767px) {
  .about-clients-section {
    padding-top: 100px;
    padding-bottom: 120px;
  }
  .about-brand-7__wrapper {
    min-height: 380px;
  }
  .about-client-logo {
    padding: 10px 22px;
  }
  .about-client-logo img {
    height: 22px;
  }
}

/* --- Services page: add premium top breathing space before FAQ --- */
.services-faq-section {
  padding-top: 120px;
}
.services-long-image {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .services-faq-section {
    padding-top: 80px;
  }
}
