/* Island Windows JA — logo + hero readability (layout lives in island-preview.css) */
.header-logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  min-width: 0;
}
.header-logo img,
.offcanvas__logo img,
.preloader-logo img,
.widget-title img {
  background: transparent !important;
  object-fit: contain;
  max-height: 52px;
  width: auto;
  flex: 0 0 auto;
}

.iw-brand-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.1;
  gap: 2px;
}
.iw-brand-lockup__name {
  color: #C5A028;
  font-size: clamp(0.72rem, 1.05vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.iw-brand-lockup__tag {
  color: #5c4a38;
  font-size: clamp(0.58rem, 0.85vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Homepage dark/transparent header over hero video */
#header-sticky.header-7 .iw-brand-lockup__name {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
#header-sticky.header-7 .iw-brand-lockup__tag {
  color: #D4AF37;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
#header-sticky.header-7.sticky .iw-brand-lockup__name {
  color: #fff;
}
#header-sticky.header-7.sticky .iw-brand-lockup__tag {
  color: #D4AF37;
}

/* Inner white headers — gold name like the physical sign */
#header-sticky.header-2 .iw-brand-lockup__name {
  color: #C5A028;
}
#header-sticky.header-2 .iw-brand-lockup__tag {
  color: #5c4a38;
}
#header-sticky.header-2.sticky .iw-brand-lockup__name {
  color: #C5A028;
}

@media (max-width: 991.98px) {
  .iw-brand-lockup__tag {
    display: none;
  }
  .iw-brand-lockup__name {
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    white-space: normal;
    max-width: 9.5rem;
  }
  .header-logo img {
    max-height: 44px;
  }
}

@media (max-width: 420px) {
  .iw-brand-lockup__name {
    max-width: 7.5rem;
    font-size: 0.62rem;
  }
}

.hero-7.xcm-hero-video .xcm-hero-seo,
.hero-7.xcm-hero-video .xcm-hero-kicker {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-7.xcm-hero-video .hero-title-1,
.hero-7.xcm-hero-video .hero-title-2 {
  color: #fff !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

.hero-7.xcm-hero-video::before {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.62) 50%, rgba(0, 0, 0, 0.78) 100%) !important;
}

.xcm-hero-stat-pill__value,
.xcm-hero-kicker {
  color: #D4AF37 !important;
}

.weroi-pitch {
  display: none !important;
}

/* Do not override template header — transparent over hero, .sticky when scrolled */

.hero-contact-form-box.xcm-hero-form-compact--solid {
  background: rgba(255, 255, 255, 0.97) !important;
}

.hero-contact-form-box h3,
.hero-contact-form-box .xcm-hero-form-trust__text,
.hero-contact-form-box .xcm-hero-form-modehint {
  color: #0a0a0a !important;
}

#header-sticky.header-7.sticky {
  background-color: rgba(10, 10, 10, 0.92) !important;
  border-bottom-color: rgba(212, 175, 55, 0.2) !important;
}

#header-sticky.header-7 .header-right-icon .contacts-btn {
  border-color: #D4AF37 !important;
  color: #D4AF37 !important;
}

/* Hero trust pills: Google review + Instagram */
.xcm-hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.iw-hero-google-pill {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.iw-hero-google-pill:hover,
.iw-hero-google-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  outline: none;
}
.iw-hero-google-pill__g {
  flex: 0 0 auto;
  width: 52px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.iw-hero-google-pill__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 16px;
  background: #4285f4;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
.iw-hero-google-pill__copy strong {
  font-weight: 800;
  color: #fff !important;
}

.iw-hero-ig-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 17, 14, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  text-decoration: none !important;
  color: #14110e;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.iw-hero-ig-pill:hover,
.iw-hero-ig-pill:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 12px 28px rgba(0, 0, 0, 0.16);
  outline: none;
}
.iw-hero-ig-pill__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976 45%, #962fbf 70%, #4f5bd5);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.iw-hero-ig-pill__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.iw-hero-ig-pill__copy {
  color: #14110e !important;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.iw-hero-ig-pill__link {
  color: #8b6b4a !important;
  font-size: 0.66rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .xcm-hero-trust-row {
    justify-content: center;
  }
  .iw-hero-google-pill__copy {
    font-size: 0.72rem;
    padding: 9px 12px;
  }
  .iw-hero-google-pill__g {
    width: 46px;
  }
}

/* Mobile quote form: collapsed shell until tap (desktop stays full) */
@media (max-width: 1199px) {
  .hero-7 .hero-contact-form-box.xcm-hero-form-compact.is-shell-collapsed {
    padding: 14px 16px !important;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2) !important;
  }
  .hero-7 .hero-contact-form-box.xcm-hero-form-compact.is-shell-collapsed .xcm-hero-form-trust,
  .hero-7 .hero-contact-form-box.xcm-hero-form-compact.is-shell-collapsed .xcm-hero-form-modehint,
  .hero-7 .hero-contact-form-box.xcm-hero-form-compact.is-shell-collapsed .xcm-hero-options,
  .hero-7 .hero-contact-form-box.xcm-hero-form-compact.is-shell-collapsed .row.g-3 {
    display: none !important;
  }
  .hero-7 .hero-contact-form-box.xcm-hero-form-compact.is-shell-collapsed h3,
  .hero-7 .hero-contact-form-box.xcm-hero-form-compact.is-shell-collapsed h3[data-xcm-form-title] {
    margin: 0 !important;
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    cursor: pointer;
    user-select: none;
  }
  .hero-7 .hero-contact-form-box.xcm-hero-form-compact.is-shell-collapsed h3::after {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid #8b6b4a;
    border-bottom: 2px solid #8b6b4a;
    transform: rotate(45deg);
    margin-top: -4px;
  }
}

/* Projects marquee — same linear continuous slide as Unique Decor */
.xcm-projects-compact .project-slider-7.xcm-projects-swiper-ready .swiper-wrapper {
  transition-timing-function: linear !important;
  -webkit-transition-timing-function: linear !important;
}

/* Organised gallery (even grid, not sprawling masonry) */
.iw-reels-banner--compact {
  min-height: clamp(160px, 22vw, 240px);
}
.iw-reels-banner--compact .iw-reels-banner__inner {
  min-height: clamp(160px, 22vw, 240px);
  padding: 1.25rem 1rem;
}
.iw-reels-banner--compact .iw-reels-banner__play-icon {
  width: 64px;
  height: 64px;
}
.iw-reels-banner--compact .iw-reels-banner__play-icon::before {
  border-width: 9px 0 9px 15px;
}
.iw-reels-banner--compact .iw-reels-banner__label {
  font-size: 0.95rem;
}

.iw-gallery {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: #f7f5f2;
}
.iw-gallery__head {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}
.iw-gallery__title {
  color: #0a0a0a;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  margin: 0.35rem 0 0.65rem;
  letter-spacing: -0.02em;
}
.iw-gallery__lead {
  color: #5c4a38;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}
.iw-gallery__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 auto 1.75rem;
  max-width: 52rem;
}
.iw-gallery__filter {
  appearance: none;
  border: 1px solid rgba(10, 10, 10, 0.14);
  background: #fff;
  color: #0a0a0a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.55rem 0.95rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.iw-gallery__filter:hover,
.iw-gallery__filter:focus-visible {
  border-color: #C5A028;
  color: #0a0a0a;
  outline: none;
}
.iw-gallery__filter.is-active {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #D4AF37;
}
.iw-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.iw-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  background: #1a1714;
  aspect-ratio: 4 / 3;
  text-decoration: none !important;
}
.iw-gallery__item.is-hidden {
  display: none;
}
.iw-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.iw-gallery__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.78) 100%);
  z-index: 2;
}
.iw-gallery__cat {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.iw-gallery__item:hover img,
.iw-gallery__item:focus-visible img {
  transform: scale(1.04);
}
.iw-gallery__item:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}
.iw-gallery__empty {
  text-align: center;
  color: #5c4a38;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}

@media (max-width: 991.98px) {
  .iw-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
  }
}
@media (max-width: 767.98px) {
  .iw-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .iw-gallery__filter {
    font-size: 0.7rem;
    padding: 0.48rem 0.75rem;
  }
}
