/* ===== INTERIOR DESIGN PAGE ===== */

/* ---------- Hero ---------- */
.ix-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84vh;
  padding: calc(var(--header-h) + 4.5rem) 0 7rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: var(--woody-dark);
}

.ix-hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ix-zoom 16s ease-out forwards;
  will-change: transform;
}

@keyframes ix-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}

.ix-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(30, 20, 12, 0.9) 0%, rgba(30, 20, 12, 0.64) 54%, rgba(30, 20, 12, 0.34) 100%);
}

.ix-crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ix-crumbs a:hover { color: #fff; text-decoration: underline; }
.ix-crumbs [aria-current] { color: #e6cdb0; }

.ix-hero-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #e6cdb0;
  margin-bottom: 1.2rem;
}

.ix-hero-title {
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.ix-hero-title span { color: #e6cdb0; }

.ix-hero-desc {
  max-width: 640px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 2.4rem;
}

.ix-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ix-btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.ix-btn-glass:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: #fff;
  transform: translateY(-2px);
}

.ix-scroll {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
}

.ix-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 4px;
  animation: ix-wheel 1.8s ease-in-out infinite;
}

@keyframes ix-wheel {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Trust strip ---------- */
.ix-trust {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -3.4rem;
  background: #fff;
  border: 1px solid rgba(92, 64, 51, 0.1);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(62, 42, 34, 0.16);
}

.ix-trust li {
  padding: 1.7rem 1.6rem;
  text-align: center;
}

.ix-trust li + li { border-left: 1px solid rgba(92, 64, 51, 0.12); }

.ix-trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--woody);
  margin-bottom: 0.2rem;
}

.ix-trust span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Shared headings and text ---------- */
.ix-head {
  max-width: 700px;
  margin: 0 auto 3.4rem;
  text-align: center;
}

.ix-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--woody-light);
  margin-bottom: 1rem;
}

.ix-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 1.2rem;
}

.ix-title span { color: var(--woody); }

.ix-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---------- Split sections ---------- */
.ix-split {
  padding: 7rem 0;
  background: #fff;
  scroll-margin-top: var(--header-h);
}

.ix-split--alt { background: #F8F4EE; }

.ix-split:first-of-type { padding-top: 8rem; }

.ix-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ix-split--flip .ix-media { order: -1; }

.ix-copy p {
  font-size: 1.04rem;
  line-height: 1.85;
  color: #4a4540;
  margin-bottom: 1.2rem;
}

.ix-copy .ix-title { margin-bottom: 1.4rem; }

.ix-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
  padding: 0.95rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: var(--woody);
  border-radius: 50px;
  transition: background 0.3s ease, transform 0.3s ease, gap 0.3s ease, box-shadow 0.3s ease;
}

.ix-btn:hover {
  gap: 1rem;
  background: var(--woody-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(92, 64, 51, 0.3);
}

.ix-checks {
  display: grid;
  gap: 0.9rem;
  margin: 0.6rem 0 1.6rem;
}

.ix-checks li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 500;
  color: var(--black);
}

.ix-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--woody);
  border-radius: 50%;
}

/* Image with offset frame */
.ix-frame {
  --off: 20px;
  position: relative;
  isolation: isolate;
}

.ix-frame::before {
  content: '';
  position: absolute;
  inset: var(--off) calc(var(--off) * -1) calc(var(--off) * -1) var(--off);
  z-index: -1;
  border: 2px solid rgba(92, 64, 51, 0.28);
  border-radius: 30px;
  transition: inset 0.5s ease;
}

.ix-split--flip .ix-frame::before {
  inset: var(--off) var(--off) calc(var(--off) * -1) calc(var(--off) * -1);
}

.ix-frame:hover::before {
  inset: calc(var(--off) * 0.5) calc(var(--off) * -0.5) calc(var(--off) * -0.5) calc(var(--off) * 0.5);
}

.ix-split--flip .ix-frame:hover::before {
  inset: calc(var(--off) * 0.5) calc(var(--off) * 0.5) calc(var(--off) * -0.5) calc(var(--off) * -0.5);
}

.ix-frame img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, var(--woody), var(--woody-dark));
  border-radius: 28px;
  box-shadow: 0 28px 65px rgba(62, 42, 34, 0.22);
}

.ix-chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 0.55rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---------- Generic sections ---------- */
.ix-section {
  padding: 6.5rem 0 7rem;
  background: #F1F2ED;
  scroll-margin-top: var(--header-h);
}

.ix-section--dark {
  background:
    radial-gradient(900px 460px at 90% 0%, rgba(139, 107, 74, 0.32), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(139, 107, 74, 0.2), transparent 60%),
    var(--woody-dark);
}

.ix-section--dark .ix-label { color: #e6cdb0; }
.ix-section--dark .ix-title { color: #fff; }
.ix-section--dark .ix-title span { color: #e6cdb0; }
.ix-section--dark .ix-desc { color: rgba(255, 255, 255, 0.75); }

.ix-section--gallery { background: #fff; }
.ix-section--faq { background: #F8F4EE; }

/* ---------- Room cards ---------- */
.ix-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.ix-card {
  padding: 2.1rem 1.9rem 2rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.4s ease, background 0.4s ease;
}

.ix-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230, 205, 176, 0.5);
  background: rgba(255, 255, 255, 0.11);
}

.ix-num {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: var(--woody);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease;
}

.ix-card:hover .ix-num { transform: scale(1.08) rotate(-4deg); }

.ix-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.7rem;
}

.ix-card p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.3rem;
}

.ix-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ix-tags li {
  padding: 0.32rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #e6cdb0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50px;
}

/* ---------- Process ---------- */
.ix-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.ix-steps::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(92, 64, 51, 0.35) 0 8px, transparent 8px 16px);
}

.ix-step {
  position: relative;
  padding: 0 0.6rem;
  text-align: center;
}

.ix-step-num {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: var(--woody);
  border: 5px solid #F1F2ED;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(62, 42, 34, 0.25);
  transition: transform 0.4s ease, background 0.3s ease;
}

.ix-step:hover .ix-step-num {
  transform: translateY(-5px) scale(1.06);
  background: var(--woody-dark);
}

.ix-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ix-step p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- Gallery ---------- */
.ix-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 14px;
}

.ix-tile { min-width: 0; }
.ix-tile[hidden],
.ix-tile.is-missing { display: none; }

/* Every 9th tile is a large 2x2 feature (fills the grid with no gaps) */
.ix-tile:nth-child(9n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.ix-tile-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--woody), var(--woody-dark));
  border: none;
  border-radius: 18px;
  cursor: zoom-in;
  box-shadow: 0 10px 26px rgba(62, 42, 34, 0.12);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease;
}

.ix-tile-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ix-tile-btn img.is-loaded {
  opacity: 1;
  transform: none;
}

.ix-tile-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 20, 12, 0) 45%, rgba(30, 20, 12, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ix-tile-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(62, 42, 34, 0.26);
}

.ix-tile-btn:hover img.is-loaded { transform: scale(1.07); }
.ix-tile-btn:hover::after { opacity: 1; }

.ix-tile-btn:focus-visible {
  outline: 3px solid var(--woody);
  outline-offset: 3px;
}

.ix-tile-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ix-tile-btn:hover .ix-tile-zoom,
.ix-tile-btn:focus-visible .ix-tile-zoom {
  opacity: 1;
  transform: none;
}

.ix-more-wrap {
  margin-top: 2.8rem;
  text-align: center;
}

.ix-more-wrap[hidden] { display: none; }

.ix-more-count {
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.ix-more {
  padding: 1rem 2.2rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.97rem;
  color: #fff;
  background: var(--woody);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ix-more:hover {
  background: var(--woody-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(92, 64, 51, 0.3);
}

.ix-noscript {
  text-align: center;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.ix-faq-wrap { max-width: 880px; }

.ix-faq { display: grid; gap: 1rem; }

.ix-qa {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(92, 64, 51, 0.16);
  border-radius: 30px;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, border-radius 0.35s ease;
}

.ix-qa:hover { border-color: rgba(92, 64, 51, 0.34); }

.ix-qa[open] {
  background: #fff;
  border-color: rgba(92, 64, 51, 0.3);
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(62, 42, 34, 0.09);
}

.ix-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.4rem 1.9rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
  cursor: pointer;
  list-style: none;
  border-radius: inherit;
}

.ix-qa summary::-webkit-details-marker { display: none; }

.ix-qa summary:focus-visible {
  outline: 3px solid var(--woody-light);
  outline-offset: -3px;
}

.ix-qa summary i {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.ix-qa summary i::before,
.ix-qa summary i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.35s ease, background 0.3s ease;
}

.ix-qa summary i::after { transform: rotate(90deg); }
.ix-qa[open] summary i::before,
.ix-qa[open] summary i::after { background: var(--woody); }
.ix-qa[open] summary i::after { transform: rotate(0deg); }

.ix-qa p {
  padding: 0 1.9rem 1.6rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- Image viewer ---------- */
.ix-lb {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.ix-lb[hidden] { display: none; }

.ix-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 6, 0.93);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.ix-lb-fig {
  position: relative;
  max-width: min(1200px, 86vw);
  margin: 0;
  touch-action: pan-y;
  animation: ix-pop 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes ix-pop {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.ix-lb-fig img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  background: #2a1c15;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.ix-lb-fig figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
}

.ix-lb-close,
.ix-lb-nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.ix-lb-close:hover,
.ix-lb-nav:hover { background: rgba(255, 255, 255, 0.3); }

.ix-lb-close {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  font-size: 1.8rem;
  line-height: 1;
}

.ix-lb-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
}

.ix-lb-prev { left: 18px; }
.ix-lb-next { right: 18px; }

.ix-lb-close:focus-visible,
.ix-lb-nav:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ---------- Reveal on scroll ---------- */
.ix-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ix-reveal.ix-in {
  opacity: 1;
  transform: none;
}

.ix-card.ix-reveal.ix-in {
  transition:
    opacity 0.8s ease,
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.4s ease,
    background 0.4s ease;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ix-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; }
  .ix-grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .ix-split { padding: 5rem 0; }
  .ix-split:first-of-type { padding-top: 6rem; }

  .ix-split-grid {
    grid-template-columns: 1fr;
    gap: 3.4rem;
  }

  .ix-split--flip .ix-media { order: 0; }
  .ix-media { max-width: 600px; margin-inline: auto; width: 100%; }

  .ix-trust { grid-template-columns: repeat(2, 1fr); }
  .ix-trust li:nth-child(3) { border-left: none; }
  .ix-trust li:nth-child(n + 3) { border-top: 1px solid rgba(92, 64, 51, 0.12); }

  .ix-steps { grid-template-columns: repeat(2, 1fr); gap: 2.8rem 1.6rem; }
  .ix-steps::before { display: none; }
}

@media (max-width: 768px) {
  .ix-hero {
    min-height: 76vh;
    padding: calc(var(--header-h) + 3rem) 0 6rem;
  }

  .ix-section { padding: 4.8rem 0 5.2rem; }
  .ix-head { margin-bottom: 2.6rem; }
  .ix-scroll { display: none; }
}

@media (max-width: 640px) {
  .ix-hero-actions { flex-direction: column; }
  .ix-hero-actions .btn,
  .ix-btn-glass { width: 100%; }

  .ix-grid-cards { grid-template-columns: 1fr; }
  .ix-steps { grid-template-columns: 1fr; }

  .ix-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .ix-tile-btn { border-radius: 14px; }

  .ix-qa summary { padding: 1.2rem 1.3rem; font-size: 1rem; }
  .ix-qa p { padding: 0 1.3rem 1.4rem; }
  .ix-frame { --off: 12px; }

  .ix-lb-fig { max-width: 94vw; }
  .ix-lb-fig img { max-height: 68vh; }
  .ix-lb-nav { top: auto; bottom: 22px; margin-top: 0; }
  .ix-lb-prev { left: calc(50% - 66px); }
  .ix-lb-next { right: calc(50% - 66px); }
}

@media (max-width: 420px) {
  .ix-trust { grid-template-columns: 1fr; }
  .ix-trust li + li { border-left: none; border-top: 1px solid rgba(92, 64, 51, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  .ix-hero-img { animation: none; }
  .ix-scroll span { animation: none; opacity: 1; }
  .ix-reveal { opacity: 1; transform: none; transition: none; }
  .ix-card, .ix-tile-btn, .ix-tile-btn img, .ix-frame::before { transition: none; }
  .ix-lb-fig { animation: none; }
}