/* Bella Interior Design — Homepage Design Styles */
.bella-styles{
  --bs-bg:#f4f5f5;
  --bs-paper:#fff;
  --bs-text:#191919;
  --bs-muted:#5f6362;
  --bs-sage:#718078;
  --bs-deep:#46534d;
  --bs-line:#d9dddb;
  --bs-dark:#111312;
  background:linear-gradient(180deg,#fff 0%,var(--bs-bg) 16%,var(--bs-bg) 88%,#fff 100%);
  color:var(--bs-text);
  padding:clamp(84px,9vw,138px) 0;
  overflow:clip;
}
.bella-styles__inner{display:grid;gap:clamp(44px,5vw,72px)}
.bella-styles__head{display:grid;gap:18px}
.bella-styles__eyebrow,.bella-styles__closing-script{font-family:"Parisienne",cursive;font-size:28px;line-height:1;color:var(--bs-sage)}
.bella-styles__heading-row{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.55fr);gap:clamp(34px,6vw,90px);align-items:end}
.bella-styles h2{margin:0;max-width:900px;font-size:clamp(32px,3.1vw,40px);line-height:1.08;font-weight:600;letter-spacing:-.035em}
.bella-styles__intro{max-width:860px;margin:20px 0 0;color:var(--bs-muted);font-size:17px;line-height:1.75}
.bella-styles__helper{display:grid;gap:13px;align-self:end;padding-bottom:4px}
.bella-styles__helper>span{width:52px;height:1px;background:var(--bs-sage)}
.bella-styles__helper p{margin:0;color:var(--bs-muted);font-size:15px;line-height:1.65}

.bella-styles__cards{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(18px,2vw,28px);perspective:1600px}
.bella-style-card{position:relative;flex:0 1 calc(25% - 22px);min-width:245px;max-width:305px;aspect-ratio:3/4;perspective:1350px;isolation:isolate}
.bella-style-card__inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .72s cubic-bezier(.22,.72,.18,1),filter .32s ease;will-change:transform}
.bella-style-card:hover .bella-style-card__inner,.bella-style-card.is-flipped .bella-style-card__inner{transform:rotateY(180deg)}
.bella-style-card:hover .bella-style-card__inner{filter:drop-shadow(0 28px 34px rgba(17,19,18,.13))}
.bella-style-card__face{position:absolute;inset:0;border-radius:18px;overflow:hidden;border:1px solid rgba(70,83,77,.18);backface-visibility:hidden;-webkit-backface-visibility:hidden;box-shadow:0 12px 34px rgba(17,19,18,.08)}
.bella-style-card__face:after{content:"";position:absolute;inset:8px;border:1px solid rgba(255,255,255,.38);border-radius:12px;pointer-events:none}
.bella-style-card__front{background:var(--bs-dark);transform:rotateY(0deg)}
.bella-style-card__media,.bella-style-card__media img{position:absolute;inset:0;width:100%;height:100%}
.bella-style-card__media{margin:0;background:#ddd}
.bella-style-card__media img{object-fit:cover;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.bella-style-card:hover .bella-style-card__media img,.bella-style-card.is-flipped .bella-style-card__media img{transform:scale(1.025)}
.bella-style-card__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,19,18,.04) 32%,rgba(17,19,18,.18) 60%,rgba(17,19,18,.82) 100%)}
.bella-style-card__front-copy{position:absolute;left:22px;right:22px;bottom:67px;z-index:2;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:end;color:#fff}
.bella-style-card__number{font-size:13px;letter-spacing:.13em;opacity:.72;padding-bottom:5px}
.bella-style-card__front-copy small{display:block;margin:0 0 7px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;opacity:.76}
.bella-style-card__front-copy h3{margin:0;font-size:clamp(21px,1.65vw,27px);line-height:1.05;font-weight:600;letter-spacing:-.035em}
.bella-style-card__flip{position:absolute;z-index:3;left:22px;right:22px;bottom:18px;display:flex;align-items:center;justify-content:space-between;border:0;border-top:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;padding:13px 0 0;font:600 12px/1 "Plus Jakarta Sans",sans-serif;letter-spacing:.02em;cursor:pointer}
.bella-style-card__flip i{font-style:normal;font-size:16px;transition:transform .35s ease}.bella-style-card__flip:hover i{transform:rotate(90deg)}

.bella-style-card__back{display:flex;flex-direction:column;background:linear-gradient(145deg,#fff 0%,#f7f8f7 62%,#eef1ef 100%);padding:22px;transform:rotateY(180deg);color:var(--bs-text)}
.bella-style-card__back:before{content:"";position:absolute;inset:auto -40px -70px auto;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(113,128,120,.16),rgba(113,128,120,0) 70%);pointer-events:none}
.bella-style-card__back:after{border-color:rgba(113,128,120,.16)}
.bella-style-card__back-top{position:relative;z-index:2;display:flex;justify-content:space-between;gap:10px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--bs-line)}
.bella-style-card__back-top>span{font-size:12px;letter-spacing:.15em;color:var(--bs-deep)}
.bella-style-card__back-top small{font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--bs-muted);text-align:right}
.bella-style-card__back-title{position:relative;z-index:2;margin:17px 0 10px;font-size:22px;line-height:1.08;font-weight:600;letter-spacing:-.035em}
.bella-style-card__summary{position:relative;z-index:2;margin:0 0 13px;color:var(--bs-muted);font-size:13px;line-height:1.52}
.bella-style-card__facts{position:relative;z-index:2;margin:0;display:grid;gap:8px}
.bella-style-card__facts>div{display:grid;grid-template-columns:67px 1fr;gap:8px;padding-top:8px;border-top:1px solid rgba(217,221,219,.88)}
.bella-style-card__facts dt{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--bs-deep)}
.bella-style-card__facts dd{margin:0;color:var(--bs-muted);font-size:11px;line-height:1.4}
.bella-style-card__effect{position:relative;z-index:2;margin:11px 0 0;padding:10px 11px;border-left:2px solid var(--bs-sage);background:rgba(113,128,120,.075);font-size:11px;line-height:1.45;color:var(--bs-muted)}
.bella-style-card__effect strong{color:var(--bs-text)}
.bella-style-card__back-actions{position:relative;z-index:2;margin-top:auto;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.bella-style-card__back-actions a{display:inline-flex;align-items:center;gap:8px;color:var(--bs-deep);font-size:11px;font-weight:700;text-decoration:none;border-bottom:1px solid rgba(70,83,77,.35);padding-bottom:3px}
.bella-style-card__back-actions a span{transition:transform .25s ease}.bella-style-card__back-actions a:hover span{transform:translateX(4px)}
.bella-style-card__back-actions button{border:0;background:transparent;color:var(--bs-muted);font:500 10px/1 "Plus Jakarta Sans",sans-serif;cursor:pointer;padding:6px}

.bella-styles__workflow{display:grid;gap:28px;padding:clamp(30px,4vw,52px);border:1px solid var(--bs-line);border-radius:22px;background:rgba(255,255,255,.78);box-shadow:0 18px 50px rgba(17,19,18,.04)}
.bella-styles__workflow-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:34px;align-items:end}
.bella-styles__workflow-head span{display:block;margin-bottom:8px;color:var(--bs-sage);font-size:12px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.bella-styles__workflow-head h3{margin:0;font-size:clamp(26px,2.4vw,34px);line-height:1.12;letter-spacing:-.035em}
.bella-styles__workflow-head p{margin:0;color:var(--bs-muted);font-size:15px;line-height:1.7}
.bella-styles__workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--bs-line)}
.bella-styles__workflow-grid article{display:grid;grid-template-columns:auto 1fr;gap:15px;padding:24px 24px 6px 0}
.bella-styles__workflow-grid article+article{border-left:1px solid var(--bs-line);padding-left:24px}
.bella-styles__workflow-grid article>span{font-size:12px;letter-spacing:.13em;color:var(--bs-sage);padding-top:3px}
.bella-styles__workflow-grid h4{margin:0 0 8px;font-size:18px;line-height:1.2}
.bella-styles__workflow-grid p{margin:0;color:var(--bs-muted);font-size:13px;line-height:1.62}

.bella-styles__closing{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:36px;align-items:end;padding-top:4px}
.bella-styles__closing h3{margin:8px 0 12px;font-size:clamp(25px,2.3vw,32px);line-height:1.12;letter-spacing:-.03em}
.bella-styles__closing p{max-width:760px;margin:0;color:var(--bs-muted);font-size:15px;line-height:1.7}
.bella-styles__closing-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.bella-styles__cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:0 18px;border:1px solid var(--bs-deep);color:var(--bs-deep);text-decoration:none;font-size:13px;font-weight:600;transition:background .25s ease,color .25s ease,transform .25s ease}
.bella-styles__cta:hover{transform:translateY(-2px);background:var(--bs-deep);color:#fff}
.bella-styles__cta--primary{background:var(--bs-deep);color:#fff}.bella-styles__cta--primary:hover{background:var(--bs-dark)}

@media (max-width:1120px){
  .bella-styles__heading-row{grid-template-columns:1fr}.bella-styles__helper{max-width:650px}
  .bella-style-card{flex-basis:calc(33.333% - 20px);max-width:315px}
  .bella-styles__workflow-head{grid-template-columns:1fr}
}
@media (max-width:820px){
  .bella-styles{padding:78px 0}
  .bella-styles__cards{gap:18px}
  .bella-style-card{flex-basis:calc(50% - 10px);min-width:0;max-width:none}
  .bella-styles__workflow-grid{grid-template-columns:1fr}
  .bella-styles__workflow-grid article{padding:20px 0}.bella-styles__workflow-grid article+article{border-left:0;border-top:1px solid var(--bs-line);padding-left:0}
  .bella-styles__closing{grid-template-columns:1fr}.bella-styles__closing-actions{justify-content:flex-start}
}
@media (max-width:560px){
  .bella-styles__eyebrow,.bella-styles__closing-script{font-size:24px}
  .bella-styles__cards{display:grid;grid-template-columns:1fr;justify-items:center}
  .bella-style-card{width:min(100%,360px);max-width:360px;aspect-ratio:3/4}
  .bella-style-card__back{padding:21px}
  .bella-styles__workflow{padding:24px 20px}
  .bella-styles__closing-actions{display:grid;grid-template-columns:1fr}.bella-styles__cta{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .bella-style-card__inner,.bella-style-card__media img,.bella-style-card__flip i,.bella-style-card__back-actions a span,.bella-styles__cta{transition:none!important}
}

/* 2026-10-01 v3 — reliable two-face 3D flip; no mirrored front/image on reverse */
.bella-style-card{
  transform-style:preserve-3d;
}
.bella-style-card__inner{
  transform:none !important;
  filter:none !important;
  transform-style:preserve-3d;
  will-change:auto;
}
.bella-style-card:hover .bella-style-card__inner,
.bella-style-card.is-flipped .bella-style-card__inner{
  transform:none !important;
  filter:none !important;
}
.bella-style-card__face{
  -webkit-backface-visibility:hidden !important;
  backface-visibility:hidden !important;
  transform-style:preserve-3d;
  transition:
    transform .62s cubic-bezier(.22,.7,.18,1),
    opacity .01s linear .30s,
    box-shadow .28s ease;
}
.bella-style-card__front{
  z-index:2;
  opacity:1;
  pointer-events:auto;
  transform:perspective(1200px) rotateY(0deg) translateZ(1px) !important;
}
.bella-style-card__back{
  z-index:1;
  opacity:0;
  pointer-events:none;
  transform:perspective(1200px) rotateY(-180deg) translateZ(1px) !important;
  background:#fff !important;
  background-image:none !important;
  isolation:isolate;
}
.bella-style-card__back::before{
  content:"";
  position:absolute;
  inset:0;
  width:auto;
  height:auto;
  border-radius:inherit;
  background:#fff !important;
  z-index:0;
  pointer-events:none;
}
.bella-style-card__back::after{
  z-index:1;
  border-color:rgba(113,128,120,.18) !important;
}
.bella-style-card__back > *{
  position:relative;
  z-index:2;
}
.bella-style-card:hover .bella-style-card__front,
.bella-style-card.is-flipped .bella-style-card__front{
  z-index:1;
  opacity:0;
  pointer-events:none;
  transform:perspective(1200px) rotateY(180deg) translateZ(1px) !important;
}
.bella-style-card:hover .bella-style-card__back,
.bella-style-card.is-flipped .bella-style-card__back{
  z-index:3;
  opacity:1;
  pointer-events:auto;
  transform:perspective(1200px) rotateY(0deg) translateZ(2px) !important;
  box-shadow:0 24px 54px rgba(17,19,18,.14);
}
.bella-style-card:hover .bella-style-card__media img,
.bella-style-card.is-flipped .bella-style-card__media img{
  transform:none !important;
}
.bella-style-card__back{
  padding:24px 22px 20px;
}
.bella-style-card__back-top{
  padding-bottom:12px;
}
.bella-style-card__back-title{
  margin:14px 0 9px;
  font-size:20px;
  line-height:1.08;
}
.bella-style-card__summary{
  margin:0 0 10px;
  color:#454a48;
  font-size:12px;
  line-height:1.48;
}
.bella-style-card__facts{
  gap:5px;
}
.bella-style-card__facts>div{
  display:block;
  padding-top:7px;
}
.bella-style-card__facts dt{
  margin:0 0 3px;
  font-size:9px;
  letter-spacing:.1em;
}
.bella-style-card__facts dd{
  margin:0;
  color:#565b59;
  font-size:10.5px;
  line-height:1.38;
}
.bella-style-card__effect{
  margin-top:9px;
  padding:9px 10px;
  background:#f3f5f4;
  color:#4f5552;
  font-size:10.5px;
  line-height:1.4;
}
.bella-style-card__back-actions{
  padding-top:9px;
}
.bella-style-card__back-actions a{
  max-width:72%;
  line-height:1.3;
}

@media (hover:none){
  .bella-style-card:hover .bella-style-card__front{
    opacity:1;
    pointer-events:auto;
    transform:perspective(1200px) rotateY(0deg) translateZ(1px) !important;
  }
  .bella-style-card:hover .bella-style-card__back{
    opacity:0;
    pointer-events:none;
    transform:perspective(1200px) rotateY(-180deg) translateZ(1px) !important;
  }
  .bella-style-card.is-flipped .bella-style-card__front{
    opacity:0;
    pointer-events:none;
    transform:perspective(1200px) rotateY(180deg) translateZ(1px) !important;
  }
  .bella-style-card.is-flipped .bella-style-card__back{
    opacity:1;
    pointer-events:auto;
    transform:perspective(1200px) rotateY(0deg) translateZ(2px) !important;
  }
}

@media (prefers-reduced-motion:reduce){
  .bella-style-card__face{
    transition:opacity .18s ease !important;
    transform:none !important;
  }
  .bella-style-card__back{opacity:0 !important}
  .bella-style-card:hover .bella-style-card__front,
  .bella-style-card.is-flipped .bella-style-card__front{opacity:0 !important}
  .bella-style-card:hover .bella-style-card__back,
  .bella-style-card.is-flipped .bella-style-card__back{opacity:1 !important}
}

/* 2026-10-01 v4 — back-face content visibility fix
   The research-led reverse copy is intentionally denser than the image front.
   Give every card slightly more vertical room, and keep a no-clipping fallback
   for browser zoom / larger user font settings. */
.bella-style-card{
  aspect-ratio:3 / 4.35;
}
.bella-style-card__back{
  overflow-x:hidden !important;
  overflow-y:auto !important;
  scrollbar-width:none;
  overscroll-behavior:contain;
  padding-bottom:18px;
}
.bella-style-card__back::-webkit-scrollbar{
  width:0;
  height:0;
}
.bella-style-card__back-actions{
  flex:0 0 auto;
  margin-top:10px;
  padding-top:8px;
}

@media (max-width:820px){
  .bella-style-card{
    aspect-ratio:3 / 4.4;
  }
}

@media (max-width:560px){
  .bella-style-card{
    aspect-ratio:3 / 4.45;
  }
  .bella-style-card__back{
    padding:22px 21px 18px;
  }
}
