/* ── caz-banner ───────────────────────────────────────────── */
.caz-banner {
  min-height: 360px;
  padding-top: 80px;
  background: url(/img/app/home/cover_1.jpg) no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 54px; }

.caz-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 10, 4, 0.50) 0%,
    rgba(20, 10, 4, 0.75) 100%
  ); }

.caz-banner .container { position: relative; z-index: 1; }

.caz-banner-supra {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8A9E4A;
  margin-bottom: 14px; }

.caz-banner h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 46px;
  font-weight: 300;
  color: #fff;
  margin: 0;
  line-height: 1.15em; }

/* ── caz-context (fișă tehnică) ───────────────────────────── */
.caz-context {
  background: #EDE5D8;
  border-bottom: 1px solid #D9CFC4;
  padding: 44px 0; }

.caz-context-item {
  text-align: center;
  padding: 10px 12px; }

.caz-context-label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A89070;
  margin-bottom: 8px; }

.caz-context-value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #2C1A0E; }

/* ── caz-narativ (provocare / soluție / rezultat) ─────────── */
.caz-narativ-block {
  padding: 0 20px;
  margin-bottom: 30px; }

.caz-narativ-nr {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B7A3A;
  margin-bottom: 14px; }

.caz-narativ-block h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: #2C1A0E;
  margin: 0 0 14px 0; }

.caz-narativ-block p {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #7A6655;
  line-height: 1.7em; }

.caz-narativ-detalii {
  list-style: none;
  padding: 0;
  margin: 0; }

.caz-narativ-detalii li {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #3D2B1F;
  padding: 10px 0;
  border-bottom: 1px solid #EDE5D8; }

.caz-narativ-detalii li:last-child { border-bottom: 0; }

.caz-narativ-detalii-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A89070;
  margin-bottom: 4px; }

/* ── caz-afirmatie (statement evidențiat) ─────────────────── */
.caz-afirmatie {
  max-width: 760px;
  margin: 10px auto 0;
  padding: 26px 32px;
  background: #F7F2EB;
  border-left: 4px solid #6B7A3A;
  text-align: center; }

.caz-afirmatie p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: #2C1A0E;
  margin: 0;
  line-height: 1.5em; }

/* ── caz-narativ-section / caz-galerie-section (fără gol dublu între ele) ── */
.caz-narativ-section { padding-bottom: 20px; }

.caz-galerie-section { padding-top: 0; }

.caz-galerie-section h2 { margin-top: 20px; }

/* ── caz-rezultate (cifre) ────────────────────────────────── */
.caz-rezultate {
  background: #2C1A0E;
  padding: 54px 0; }

.caz-rez-item { padding: 16px 12px; }

.caz-rez-nr {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 50px;
  font-weight: 300;
  color: #F7F2EB;
  line-height: 1em;
  margin-bottom: 10px; }

.caz-rez-nr .ph-cifra {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  background: #3D2B1F;
  border-color: #6B7A3A;
  color: #F9A825; }

.caz-rez-label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A89070; }

/* ── caz-tour (galerie continua "Producția, pas cu pas") ──────
   Acelasi tipar ca .th-tour de pe Tiny Houses (derulare orizontala,
   poza din fata cu legenda, liniute + sageti dedesubt), cu poze pe
   orizontala la rezolutia nativa (1200x800 -> 600x400 pe ecran, 3:2).
   Sectiunea sta pe fundal deschis (fara .section-primary), deci
   liniutele/sagetile raman in tonuri inchise, ca in varianta originala
   de pe Tiny Houses. JS: public/js/app/caz-tour-slider.js */
.caz-tour-slider {
  position: relative;
  display: flex;
  gap: 20px;
  margin-top: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch; }

.caz-tour-slider::-webkit-scrollbar { display: none; }

/* spatiu la final, ca si ultima poza sa poata ajunge "in fata" (in stanga) */
.caz-tour-slider::after {
  content: "";
  flex: 0 0 calc(100% - 600px - 20px); }

.caz-tour-item {
  position: relative;
  flex: 0 0 600px;
  height: 400px;
  scroll-snap-align: start;
  overflow: hidden; }

.caz-tour-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer; }

.caz-tour-item.is-active .caz-tour-link { cursor: zoom-in; }

.caz-tour-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease; }

.caz-tour-item:not(.is-active) .caz-tour-link:hover .caz-tour-photo { transform: scale(1.03); }

.caz-tour-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 4, 0.78) 0%, rgba(20, 10, 4, 0) 50%);
  opacity: 0;
  transition: opacity 0.5s ease; }

.caz-tour-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease; }

.caz-tour-item.is-active .caz-tour-overlay { opacity: 1; }

.caz-tour-item.is-active .caz-tour-caption {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s; }

.caz-tour-caption-main {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: #F7F2EB;
  line-height: 1.2em; }

/* liniute (unde ai ajuns / cate mai sunt) + sageti */
.caz-tour-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px; }

.caz-tour-dots {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 0; }

.caz-tour-dot {
  flex: 0 1 90px;
  height: 23px;
  padding: 10px 0;
  border: 0;
  background-color: rgba(44, 26, 14, 0.2);
  background-clip: content-box;
  cursor: pointer;
  transition: background-color 0.3s ease; }

.caz-tour-dot:hover { background-color: rgba(44, 26, 14, 0.45); }

.caz-tour-dot.is-active { background-color: #2C1A0E; }

.caz-tour-dot:focus { outline: none; }

.caz-tour-dot:focus-visible { outline: 2px solid #6B7A3A; outline-offset: 2px; }

.caz-tour-arrows {
  display: flex;
  gap: 10px;
  flex: 0 0 auto; }

.caz-tour-arrow {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(44, 26, 14, 0.35);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease; }

.caz-tour-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: solid #2C1A0E;
  border-width: 0 2px 2px 0; }

.caz-tour-prev::before { transform: translate(-30%, -50%) rotate(135deg); }

.caz-tour-next::before { transform: translate(-70%, -50%) rotate(-45deg); }

.caz-tour-arrow:hover:not(:disabled) {
  border-color: #2C1A0E;
  background-color: rgba(44, 26, 14, 0.06); }

.caz-tour-arrow:disabled {
  opacity: 0.3;
  cursor: default; }

@media (min-width: 768px) and (max-width: 991px) {
  .caz-tour-item { flex-basis: 480px; height: 320px; }
  .caz-tour-slider::after { flex-basis: calc(100% - 480px - 20px); } }

@media (max-width: 767px) {
  .caz-tour-slider { gap: 12px; margin-top: 28px; }
  .caz-tour-item { flex-basis: 78%; height: auto; aspect-ratio: 3 / 2; }
  .caz-tour-slider::after { flex-basis: calc(22% - 12px); }
  .caz-tour-caption { padding: 16px 16px 18px; }
  .caz-tour-caption-main { font-size: 19px; }
  .caz-tour-nav { margin-top: 18px; gap: 14px; }
  .caz-tour-dots { gap: 6px; }
  .caz-tour-arrow { width: 40px; height: 40px; } }

/* ── caz-lightbox (vizualizare poze galerie, mărite) ──────── */
.caz-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 4, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 60px; }

.caz-lightbox.is-open {
  display: flex; }

.caz-lightbox img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5); }

.caz-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F7F2EB;
  font-family: "DM Sans", sans-serif;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(247, 242, 235, 0.4);
  border-radius: 50%;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease; }

.caz-lightbox-close:hover {
  background: rgba(247, 242, 235, 0.12);
  border-color: rgba(247, 242, 235, 0.8); }

@media (max-width: 767px) {
  .caz-lightbox { padding: 20px 16px; }
  .caz-lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 22px; } }

/* ── caz-citat ────────────────────────────────────────────── */
.caz-citat {
  background: #EDE5D8;
  padding: 70px 0; }

.caz-citat blockquote {
  border: 0;
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  padding: 0; }

.caz-citat blockquote p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  color: #2C1A0E;
  line-height: 1.5em;
  margin-bottom: 24px; }

.caz-citat-attrib {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #6B7A3A;
  text-transform: uppercase; }

/* ── responsive ───────────────────────────────────────────── */
@media (max-width: 767px) {
  .caz-banner { min-height: 280px; padding-bottom: 34px; }
  .caz-banner h1 { font-size: 30px; }
  .caz-context-item { padding: 8px 4px; margin-bottom: 14px; }
  .caz-rez-nr { font-size: 34px; }
  .caz-citat blockquote p { font-size: 20px; } }
