/* ============================================================
   Royal Loom — blue + gold brand theme (refined)
   ============================================================ */
:root,
[data-bs-theme="dark"] {
  --rl-navy: #16324f;
  --rl-navy-deep: #0f2438;
  --rl-gold: #c9a34e;
  --rl-gold-light: #e6c878;
  --rl-gold-soft: rgba(201, 163, 78, 0.15);

  --at-theme-primary: var(--rl-gold);
  --at-gradient-primary: linear-gradient(135deg, var(--rl-navy) 0%, var(--rl-gold) 100%);
}

/* ---------- Buttons: elegant gold ---------- */
.at-btn {
  background-color: var(--rl-gold);
  color: #1a1206;
  border: 1px solid transparent;
}
.at-btn:hover,
.at-btn:focus-visible {
  color: #1a1206;
  background-color: var(--rl-gold-light);
}
.at-btn span span.text-1,
.at-btn span span.text-2 {
  color: #1a1206;
}

.at-btn-circle {
  background-color: var(--rl-navy) !important;
  color: #fff !important;
}
.at-btn-circle:hover {
  background-color: var(--rl-gold) !important;
  color: #1a1206 !important;
}

/* ---------- Header: subtle navy tint + gold hairline ---------- */
.at-header-area.at-header-spacing {
  border: 1px solid rgba(201, 163, 78, 0.16) !important;
}
.at-main-menu nav ul li a:hover {
  color: var(--rl-gold) !important;
}

/* ---------- Hero ---------- */
.sec-1-home-13__tagline span {
  color: var(--rl-gold-light);
}
.sec-1-home-13__service.swiper-slide-thumb-active::after {
  background-color: var(--rl-gold);
  box-shadow: 0 0 0 4px var(--rl-gold-soft);
}

/* ---------- Section labels / dots ---------- */
.sec-2-home-13__label-dot,
.sec-3-home-13__label-dot,
.sec-5-home-13__hint-dot,
.sec-6-home-13__label-dot,
.sec-7-home-13__label-dot,
.footer-13__meta-dot {
  background-color: var(--rl-gold) !important;
}

.sec-2-home-13__pill-dot {
  background-color: var(--rl-gold);
  box-shadow: 0 0 0 3px var(--rl-gold-soft);
}

[data-bs-theme="dark"] .sec-2-home-13__intro-text strong {
  color: var(--rl-gold-light);
}

/* ---------- CTA section: navy + gold glow (no orange) ---------- */
.sec-4-home-13__card {
  background-color: #0f2438;
  background-image:
    linear-gradient(rgba(230, 200, 120, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
.sec-4-home-13__glow {
  background: radial-gradient(
    closest-side,
    rgba(201, 163, 78, 0.5) 0%,
    rgba(22, 50, 79, 0.35) 45%,
    rgba(22, 50, 79, 0) 75%
  ) !important;
  opacity: 0.6;
}
.sec-4-home-13__bar-dot {
  background-color: var(--rl-gold) !important;
  box-shadow: 0 0 10px rgba(201, 163, 78, 0.6);
}
.sec-4-home-13__tag {
  color: var(--rl-gold) !important;
}

/* ---------- Process timeline ---------- */
.sec-6-home-13__phase--active .sec-6-home-13__phase-dot {
  background-color: var(--rl-gold);
  border-color: var(--rl-gold);
}
.sec-6-home-13__phase-num {
  color: var(--rl-gold);
}

/* ---------- Footer ---------- */
.footer-13__studio-dot--active {
  background-color: var(--rl-gold) !important;
  box-shadow: 0 0 0 4px var(--rl-gold-soft);
}

/* Footer: single office location */
.footer-13__studios--single {
  grid-template-columns: 1fr !important;
  max-width: 100%;
}
.footer-13__studios--single .footer-13__studio {
  border-right: none;
  padding-left: 0;
  max-width: 520px;
}
.footer-13__studios--single .footer-13__studio-status a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.footer-13__studios--single .footer-13__studio-status a:hover {
  color: var(--rl-gold-light);
}

/* Footer legal bar — copyright centered */
.footer-13__legal--center {
  justify-content: center !important;
  text-align: center;
}
.footer-13__legal--center .footer-13__copy {
  width: 100%;
}

/* Footer: 4 studio locations (legacy override disabled) */
.footer-13__studios:not(.footer-13__studios--single) {
  grid-template-columns: repeat(4, 1fr);
  max-width: 100%;
}
@media (max-width: 1199px) {
  .footer-13__studios {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .footer-13__studio {
    border-right: none;
    padding: 0;
  }
}
@media (max-width: 575px) {
  .footer-13__studios {
    grid-template-columns: 1fr;
  }
}
.footer-13__col-list a:hover,
.footer-13__col-list a:focus-visible,
.footer-13__form-btn:hover,
.footer-13__form-btn:focus-visible {
  color: var(--rl-gold-light) !important;
}

/* ---------- Safety: kill any leftover parallax/zoom jerk ---------- */
.at-gallery-item-wrapper,
.sec-5-home-13__card-media img,
.sec-5-home-13__card-media,
.sec-2-home-13__media img,
.sec-8-home-13__media img {
  transform: none !important;
}

/* ============================================================
   Inner pages — shared styling
   ============================================================ */
.at-main-menu nav ul li a.active {
  color: var(--rl-gold) !important;
}

/* ---------- Page banner ---------- */
.rl-banner {
  position: relative;
  padding: 220px 0 110px;
  background:
    linear-gradient(180deg, rgba(15, 36, 56, 0.86) 0%, rgba(10, 18, 28, 0.94) 100%),
    var(--rl-navy-deep);
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 163, 78, 0.14);
}
.rl-banner::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(closest-side, rgba(201, 163, 78, 0.16), rgba(201, 163, 78, 0) 70%);
  pointer-events: none;
}
.rl-banner__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.rl-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rl-gold-light);
  margin-bottom: 18px;
}
.rl-banner__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rl-gold);
}
.rl-banner__title {
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.02;
  margin: 0 0 16px;
  color: #fff;
}
.rl-banner__crumb {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}
.rl-banner__crumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}
.rl-banner__crumb a:hover {
  color: var(--rl-gold);
}
.rl-banner__crumb span {
  color: var(--rl-gold);
}

/* ---------- Section shell ---------- */
.rl-section {
  padding: 100px 0;
}
.rl-section--tight {
  padding: 70px 0;
}
.rl-section__head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.rl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rl-gold-light);
  margin-bottom: 14px;
}
.rl-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rl-gold);
}
.rl-section__title {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  margin: 0 0 14px;
  color: #fff;
}
.rl-section__text {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  margin: 0;
}

/* ---------- Product / feature grid ---------- */
.rl-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, 1fr);
}
.rl-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 991px) {
  .rl-grid,
  .rl-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 575px) {
  .rl-grid,
  .rl-grid--2 {
    grid-template-columns: 1fr;
  }
}

.rl-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.rl-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 163, 78, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}
.rl-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.rl-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.rl-card:hover .rl-card__media img {
  transform: scale(1.05);
}
.rl-card__body {
  padding: 24px 24px 28px;
}
.rl-card__title {
  font-size: 21px;
  margin: 0 0 8px;
  color: #fff;
}
.rl-card__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
  margin: 0 0 18px;
}
.rl-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rl-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rl-specs li span:first-child {
  color: rgba(255, 255, 255, 0.5);
}
.rl-specs li span:last-child {
  color: var(--rl-gold-light);
  font-weight: 600;
}

/* icon feature */
.rl-feature {
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  height: 100%;
}
.rl-feature__num {
  font-size: 14px;
  font-weight: 700;
  color: var(--rl-gold);
  letter-spacing: 0.1em;
}
.rl-feature__title {
  font-size: 20px;
  margin: 12px 0 10px;
  color: #fff;
}
.rl-feature__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- About split ---------- */
.rl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 991px) {
  .rl-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.rl-split__media img {
  width: 100%;
  border-radius: 18px;
  display: block;
}
.rl-split__title {
  font-size: clamp(26px, 3.5vw, 40px);
  color: #fff;
  margin: 0 0 18px;
}
.rl-split__text {
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  margin: 0 0 16px;
  line-height: 1.7;
}
.rl-ticks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.rl-ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}
.rl-ticks li::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rl-gold-soft);
  color: var(--rl-gold);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Stats ---------- */
.rl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .rl-stats {
    grid-template-columns: 1fr 1fr;
  }
}
.rl-stat {
  text-align: center;
  padding: 26px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.rl-stat__num {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: var(--rl-gold);
  line-height: 1;
}
.rl-stat__label {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* ---------- Contact ---------- */
.rl-contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
}
@media (max-width: 991px) {
  .rl-contact {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.rl-info-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.rl-info-item__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--rl-gold-soft);
  color: var(--rl-gold);
  font-size: 18px;
}
.rl-info-item__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 4px;
}
.rl-info-item__value {
  color: #fff;
  font-size: 17px;
  margin: 0;
}
.rl-info-item__value a {
  color: #fff;
}
.rl-info-item__value a:hover {
  color: var(--rl-gold);
}

.rl-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 34px;
}
.rl-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 575px) {
  .rl-form__row {
    grid-template-columns: 1fr;
  }
}
.rl-field {
  margin-bottom: 18px;
}
.rl-field label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}
.rl-field input,
.rl-field select,
.rl-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 15px;
  color: #fff;
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.rl-field input:focus,
.rl-field select:focus,
.rl-field textarea:focus {
  outline: none;
  border-color: var(--rl-gold);
  background: rgba(255, 255, 255, 0.06);
}
.rl-field textarea {
  min-height: 130px;
  resize: vertical;
}
.rl-form__btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: var(--rl-gold);
  color: #1a1206;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.rl-form__btn:hover {
  background: var(--rl-gold-light);
}
.rl-map {
  margin-top: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  filter: grayscale(0.3) contrast(1.05);
}
.rl-maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 767px) {
  .rl-maps {
    grid-template-columns: 1fr;
  }
}
.rl-map__label {
  padding: 12px 16px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rl-gold-light);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rl-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* ---------- CTA strip ---------- */
.rl-cta {
  text-align: center;
  padding: 80px 30px;
  border-radius: 22px;
  background:
    radial-gradient(closest-side at 50% 0%, rgba(201, 163, 78, 0.18), rgba(201, 163, 78, 0) 70%),
    var(--rl-navy-deep);
  border: 1px solid rgba(201, 163, 78, 0.2);
}
.rl-cta__title {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  margin: 0 0 14px;
}
.rl-cta__text {
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ============================================================
   Quote modal
   ============================================================ */
body.rl-quote-open {
  overflow: hidden;
}

.rl-quote-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.rl-quote-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rl-quote-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.82);
  backdrop-filter: blur(8px);
}

.rl-quote-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(201, 163, 78, 0.22);
  background: #0c1826;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.rl-quote-modal.is-open .rl-quote-modal__dialog {
  transform: translateY(0) scale(1);
}

.rl-quote-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.rl-quote-modal__close:hover {
  background: var(--rl-gold);
  border-color: var(--rl-gold);
  color: #1a1206;
}

.rl-quote-modal__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}
@media (max-width: 767px) {
  .rl-quote-modal__grid {
    grid-template-columns: 1fr;
  }
}

.rl-quote-modal__aside {
  padding: 40px 34px;
  background:
    radial-gradient(closest-side at 20% 10%, rgba(201, 163, 78, 0.2), rgba(201, 163, 78, 0) 65%),
    linear-gradient(160deg, var(--rl-navy) 0%, var(--rl-navy-deep) 100%);
  border-right: 1px solid rgba(201, 163, 78, 0.12);
}
@media (max-width: 767px) {
  .rl-quote-modal__aside {
    padding: 32px 24px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(201, 163, 78, 0.12);
  }
}

.rl-quote-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rl-gold-light);
  margin-bottom: 14px;
}
.rl-quote-modal__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rl-gold);
}
.rl-quote-modal__aside-title {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 12px;
}
.rl-quote-modal__aside-text {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 22px;
}
.rl-quote-modal__perks {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.rl-quote-modal__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.rl-quote-modal__perks li::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rl-gold-soft);
  color: var(--rl-gold);
  font-size: 12px;
  font-weight: 700;
}
.rl-quote-modal__contact {
  display: grid;
  gap: 8px;
}
.rl-quote-modal__contact a {
  color: var(--rl-gold-light);
  font-size: 14px;
  text-decoration: none;
}
.rl-quote-modal__contact a:hover {
  color: #fff;
}

.rl-quote-modal__main {
  padding: 40px 34px 34px;
}
@media (max-width: 767px) {
  .rl-quote-modal__main {
    padding: 24px;
  }
}

.rl-quote-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 575px) {
  .rl-quote-form__row {
    grid-template-columns: 1fr;
  }
}

.rl-quote-modal__success {
  text-align: center;
  padding: 30px 10px 10px;
}
.rl-quote-modal__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rl-gold-soft);
  color: var(--rl-gold);
  font-size: 28px;
  font-weight: 700;
}
.rl-quote-modal__success-title {
  color: #fff;
  font-size: 26px;
  margin: 0 0 10px;
}
.rl-quote-modal__success-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  margin: 0 0 24px;
  line-height: 1.6;
}
