/* ============================================================
   ETOUCH SOLUTIONS — our-studio.css
   Page-specific layer for our-studio.html only.
   Loaded AFTER css/style.css. This page leans heavily on shared
   components (style.css §19, §21, §22): the breadcrumb pattern,
   accent badge, gradient text, numbered process rail, the dark
   "why choose" band language and the dark CTA panel. Only what
   is genuinely new to this page lives below.

   O1 Tokens · O2 Hero · O3 Studio space cards
   O4 Why-choose strip · O5 Process panel · O6 Gallery (Swiper)
   O7 Responsive
============================================================ */

/* ------------------------------------------------------------
   O1 · PAGE TOKENS
------------------------------------------------------------ */
:root {
  --st-mist: #F5FFF7;
}

/* Breadcrumb — same pattern as the other subpages */
.st-crumb { padding: .9rem 0 .2rem; }
.st-crumb .breadcrumb { margin-bottom: 0; font-size: .74rem; font-weight: 500; }
.st-crumb .breadcrumb-item a { color: var(--gray); }
.st-crumb .breadcrumb-item a:hover { color: var(--green); }
.st-crumb .breadcrumb-item.active { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------
   O2 · HERO
------------------------------------------------------------ */
.st-hero {
  position: relative;
  background: linear-gradient(160deg, #FFFFFF 0%, var(--st-mist) 45%, #E9F9EF 100%);
  padding: 20px 0 54px;
  overflow: hidden;
}
.st-hero::before {
  content: "";
  position: absolute; left: -120px; top: -150px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 174, 96, .14), transparent 68%);
}

.st-title {
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.16;
  font-weight: 800;
  color: #0E1B14;
  margin-bottom: .9rem;
}

.st-lead { font-size: .84rem; color: var(--gray); line-height: 1.9; max-width: 400px; margin-bottom: 1.5rem; }

/* Feature icons — inline chip + two-line label */
.st-facts { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-bottom: 1.7rem; }
.st-facts li { display: flex; align-items: center; gap: .5rem; font-size: .7rem; font-weight: 600; line-height: 1.4; max-width: 128px; }
.st-facts .s-ico {
  flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--green-light);
  color: var(--green-deep-2);
  font-size: .82rem;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.st-facts li:nth-child(2n) .s-ico { background: rgba(244, 180, 0, .16); color: #C98F00; }
.st-facts li:hover .s-ico { transform: translateY(-3px); }

/* Hero image + floating cards */
.st-visual { position: relative; }
.st-shot {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.st-shot img { width: 100%; display: block; transition: transform .7s var(--ease); }
.st-shot:hover img { transform: scale(1.04); }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  padding: .6rem .8rem;
}
.float-card .fc-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: .9rem;
  flex: 0 0 auto;
  background: var(--green-light);
  color: var(--green-deep-2);
}
.float-card.is-gold .fc-ico { background: rgba(244, 180, 0, .16); color: #C98F00; }
.float-card .fc-cap { font-size: .58rem; color: var(--gray); line-height: 1.4; }
.float-card .fc-val { font-size: .9rem; font-weight: 800; color: #0E1B14; line-height: 1.2; }
.float-card .fc-stars { color: var(--yellow); font-size: .6rem; letter-spacing: 1px; }

.fc-spaces { top: 6%;  left: -3%; }
.fc-rating { top: 34%; right: -2%; }
.fc-projects { bottom: 8%; left: 4%; }

.st-dots {
  position: absolute; right: 1%; top: 4%;
  display: grid; grid-template-columns: repeat(3, 5px); gap: 7px;
}
.st-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(10, 122, 67, .3); display: block; }

/* ------------------------------------------------------------
   O3 · STUDIO SPACE CARDS
------------------------------------------------------------ */
.space-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.1rem 1.3rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.space-card:hover {
  transform: translateY(-10px);
  border-color: rgba(10, 174, 96, .28);
  box-shadow: 0 24px 44px rgba(10, 174, 96, .18);
}

.space-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.space-num {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: .82rem; font-weight: 700;
  color: var(--white);
  flex: 0 0 auto;
}
.space-num.n-1 { background: var(--green-deep-2); }
.space-num.n-2 { background: var(--yellow); color: #4A3600; }
.space-num.n-3 { background: var(--green-deep-2); }
.space-title { font-size: 1rem; margin-bottom: .05rem; }
.space-tag   { font-size: .68rem; color: var(--gray); }

.space-media { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 440 / 260; margin-bottom: 1rem; }
.space-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.space-card:hover .space-media img { transform: scale(1.06); }

.space-list { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.space-list li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .76rem; color: #3B4A42;
  margin-bottom: .5rem;
}
.space-list i { color: var(--green); font-size: .85rem; line-height: 1.5; flex: 0 0 auto; }
.space-list.gold i { color: #D19A00; }

.space-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: .6rem;
  margin-top: auto;
}
.space-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1rem;
  background: var(--green-light);
  color: var(--green-deep-2);
  flex: 0 0 auto;
}
.space-badge.is-gold { background: rgba(244, 180, 0, .16); color: #C98F00; }

/* ------------------------------------------------------------
   O4 · WHY-CHOOSE STRIP
------------------------------------------------------------ */
.why-strip {
  background: linear-gradient(120deg, #0C3A24 0%, #062B18 60%, #0A3520 100%);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  position: relative;
  overflow: hidden;
}
.why-strip::after {
  content: "";
  position: absolute; right: -70px; top: -80px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 174, 96, .28), transparent 70%);
}
.why-heading {
  text-align: center;
  color: var(--white);
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  margin-bottom: 1.4rem;
  position: relative; z-index: 1;
}

.why-item { display: flex; align-items: center; gap: .6rem; justify-content: center; position: relative; z-index: 1; }
.why-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(244, 180, 0, .4);
  color: var(--yellow);
  flex: 0 0 auto;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.why-item:hover .why-ico { background: var(--yellow); color: var(--green-deep-2); transform: translateY(-4px); }
.st-why-label { font-size: .74rem; font-weight: 600; color: rgba(255, 255, 255, .92); line-height: 1.35; }

/* ------------------------------------------------------------
   O5 · PROCESS PANEL
   The rail is the shared .step-rail (style.css §21.3); only the
   light surface is page-specific.
------------------------------------------------------------ */
.st-panel {
  background: linear-gradient(120deg, var(--st-mist) 0%, #ECF9F1 100%);
  border: 1px solid rgba(10, 174, 96, .12);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.6rem 1.4rem;
}

/* ------------------------------------------------------------
   O6 · GALLERY (Swiper)
------------------------------------------------------------ */
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }

.st-swiper { overflow: hidden; padding-bottom: .4rem; }
.st-swiper .swiper-slide { height: auto; }

.gal-card {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  background: var(--green-ink);
}
.gal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-card:hover img { transform: scale(1.09); }
.gal-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 22, 14, 0) 45%, rgba(4, 22, 14, .78) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gal-card:hover::after, .gal-card:focus-visible::after { opacity: 1; }

.gal-view {
  position: absolute; inset: 0;
  z-index: 2;
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gal-card:hover .gal-view, .gal-card:focus-visible .gal-view { opacity: 1; }
.gal-view span {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--green-deep-2);
  display: grid; place-items: center;
  font-size: 1rem;
}
.gal-caption {
  position: absolute; left: 1rem; bottom: .9rem;
  z-index: 2;
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gal-card:hover .gal-caption, .gal-card:focus-visible .gal-caption { opacity: 1; transform: none; }

/* Swiper controls in brand colours */
.st-swiper .swiper-pagination { position: static; margin-top: 1rem; }
.st-swiper .swiper-pagination-bullet {
  width: 7px; height: 7px;
  background: rgba(10, 122, 67, .28);
  opacity: 1;
  transition: width .3s var(--ease), background-color .3s var(--ease);
}
.st-swiper .swiper-pagination-bullet-active {
  width: 22px; border-radius: 4px;
  background: var(--green);
}

/* Lightbox (vanilla, our-studio.js) */
.st-lightbox {
  position: fixed; inset: 0;
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background: rgba(4, 18, 11, .86);
  backdrop-filter: blur(4px);
}
.st-lightbox.is-open { display: flex; }
.st-lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.st-lightbox-close {
  position: absolute; top: 4vw; right: 5vw;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .14);
  color: var(--white);
  font-size: 1.2rem;
  display: grid; place-items: center;
  transition: background-color .3s var(--ease);
}
.st-lightbox-close:hover { background: var(--green); }

/* ------------------------------------------------------------
   O7 · RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 991.98px) {
  .st-hero { text-align: center; }
  .st-lead { margin-left: auto; margin-right: auto; }
  .st-facts { justify-content: center; }
  .st-visual { margin-top: 2.5rem; }
  .st-dots { display: none; }
  .fc-spaces { left: 0; }
  .fc-rating { right: 0; }

  .why-item { justify-content: flex-start; }
}

@media (max-width: 767.98px) {
  .st-title { font-size: 1.9rem; }
  .st-hero .btn { width: 100%; justify-content: center; }
  .st-facts { gap: 1rem; }
  .st-facts li { max-width: 118px; }
  .float-card { padding: .45rem .6rem; }
  .float-card .fc-val { font-size: .8rem; }
  .st-panel { padding: 1.4rem 1rem 1rem; }
  .why-strip { padding: 1.4rem 1rem; }
  .why-item { justify-content: center; }
}

@media (max-width: 575.98px) {
  .fc-spaces { top: -2%; }
  .fc-projects { bottom: -2%; left: 0; }
  .fc-rating { top: 36%; }
  .space-card { padding: 1rem .9rem 1.1rem; }
}
