/* ══════════════════════ Pagina model MOD 3 ══════════════════════ */

/* ---------- banner ---------- */
.m3-banner {
  min-height: 520px; padding-top: 80px;
  background: url('/img/app/modele/mod-3/cover.jpg') no-repeat center center;
  background-size: cover; position: relative;
  display: flex; align-items: flex-end; padding-bottom: 56px; }
.m3-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,10,4,.35) 0%, rgba(20,10,4,.78) 100%); }
.m3-banner .container { position: relative; z-index: 1; }
.m3-banner-supra {
  font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: #8A9E4A; margin-bottom: 14px; }
.m3-banner h1 {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 64px; font-weight: 400;
  color: #fff; margin: 0 0 14px; line-height: 1; }
.m3-banner-sub {
  font-family: "DM Sans", sans-serif; font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,.82); max-width: 560px; line-height: 1.6; margin: 0 0 28px; }
.m3-banner-row { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.m3-banner-price-nr {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; color: #fff; }
.m3-banner-price-note {
  display: block; font-family: "DM Sans", sans-serif; font-size: 12px; color: rgba(255,255,255,.65); margin-top: 2px; }

/* ---------- section header (numerotat, ca in fisa de produs) ---------- */
.m3-sec { padding: 72px 0; }
.m3-sec-linen { background: #EDE5D8; padding: 32px 0; }
.m3-sec-tight-top { padding-top: 10px; }
.m3-sec-tight-bottom { padding-bottom: 10px; }
.m3-sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; border-bottom: 1px solid #D9CFC4; padding-bottom: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.m3-sec-num {
  font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #A89070; margin: 0 0 6px; }
.m3-sec-head h2 {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; font-weight: 500; color: #2C1A0E; margin: 0; }
.m3-sec-head-tag {
  font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #7A6655; white-space: nowrap; }

/* ---------- foto mare + caption ---------- */
.m3-photo-lg { width: 100%; height: 460px; object-fit: cover; display: block; }
.m3-photo-caption {
  font-family: "DM Sans", sans-serif; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #A89070; margin: 12px 0 32px; }
.m3-intro {
  font-size: 16px; color: #3D2B1F; line-height: 1.75; max-width: 78ch; margin: 0 0 44px; }

/* ---------- doua coloane: caracteristici + date tehnice ---------- */
.m3-two-col { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 860px) { .m3-two-col { grid-template-columns: 1.1fr 1fr; } }
.m3-col-label {
  font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #2C1A0E; margin: 0 0 10px; }
.m3-feat-list { list-style: none; margin: 0; padding: 0; }
.m3-feat-list li {
  padding: 5px 0; border-top: 1px solid #D9CFC4; }
.m3-feat-list li:last-child { border-bottom: 1px solid #D9CFC4; }
.m3-feat-list b {
  display: block; font-family: "DM Sans", sans-serif; font-size: 13.5px; font-weight: 700;
  color: #2C1A0E; margin-bottom: 2px; }
.m3-feat-list span { font-size: 14px; color: #7A6655; line-height: 1.3; }
.m3-feat-list b::before { content: "\25C6"; color: #6B7A3A; font-size: 9px; margin-right: 9px; }
.m3-feat-link { color: #6B7A3A; font-weight: 600; white-space: nowrap; text-decoration: none; }
.m3-feat-link:hover { color: #8A9E4A; text-decoration: underline; }

/* ---------- legea 169/2026, regim de notificare ---------- */
.m3-notificare-section { padding: 72px 0; scroll-margin-top: 80px; }
@media (max-width: 767px) { .m3-notificare-section { padding: 56px 0; } }

.m3-spec-box { border: 1px solid #D9CFC4; background: #FFFDF9; }
.m3-spec-box .row-line {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 4px 22px; border-bottom: 1px solid #EDE5D8; }
.m3-spec-box .row-line:last-child { border-bottom: 0; }
.m3-spec-box .row-line dt { font-size: 14px; color: #7A6655; margin: 0; }
.m3-spec-box .row-line dd {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 19px; font-weight: 700;
  color: #2C1A0E; margin: 0; text-align: right; }
.m3-spec-note {
  margin-top: 6px; padding: 6px 18px; background: #F2EEE4; border-left: 3px solid #6B7A3A;
  font-family: "DM Sans", sans-serif; font-size: 12.5px; letter-spacing: .02em; color: #7A6655; text-align: center; }

.m3-spec-col { display: flex; flex-direction: column; }
.m3-spec-col .m3-spec-note { margin-top: auto; }

/* ---------- plan + fatade ---------- */
.m3-plan-row { display: grid; grid-template-columns: 1fr; gap: 24px; }
.m3-plan-img { width: 100%; height: auto; object-fit: contain; background: #EDE5D8; display: block; border: 1px solid #D9CFC4; box-sizing: border-box; padding: 16px; }
.m3-img-link { display: block; cursor: zoom-in; }
.m3-img-link:hover .m3-plan-img { opacity: .92; }
.m3-plan-caption { font-size: 12px; font-style: italic; color: #7A6655; margin: 8px 0 0; }

@media (min-width: 860px) {
  .m3-plan-row { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------- detaliu de perete ---------- */
.m3-wall-row { display: grid; grid-template-columns: 1fr; gap: 24px; }
.m3-wall-photo-img { width: 100%; height: 320px; object-fit: cover; display: block; border: 1px solid #D9CFC4; }
.m3-wall-info { display: flex; flex-direction: column; justify-content: center; }
.m3-wall-info .m3-col-label { margin-bottom: 16px; }

@media (min-width: 860px) {
  .m3-wall-row { grid-template-columns: 1.1fr 1fr; align-items: stretch; gap: 40px; }
  .m3-wall-photo-img { height: 100%; min-height: 340px; }
}

.m3-wall-list { list-style: decimal; margin: 0; padding: 0 0 0 22px; }
.m3-wall-list li {
  font-size: 14.5px; color: #3D2B1F; line-height: 1.6; padding: 10px 0; border-top: 1px solid #D9CFC4; }
.m3-wall-list li:last-child { border-bottom: 1px solid #D9CFC4; }
.m3-wall-list li::marker { color: #A89070; font-family: "DM Mono", monospace; font-weight: 600; }

/* ---------- galerie ---------- */
.m3-photo-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 620px) { .m3-photo-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .m3-photo-grid { grid-template-columns: repeat(3, 1fr); } }
.m3-gallery-trigger { display: block; overflow: hidden; }
.m3-gallery-trigger img {
  width: 100%; height: 240px; object-fit: cover; display: block;
  transition: transform .4s ease, opacity .2s ease; cursor: zoom-in; }
.m3-gallery-trigger:hover img { transform: scale(1.04); opacity: .92; }

/* ---------- lightbox (poze marite) ---------- */
.m3-lightbox {
  display: none; position: fixed; inset: 0; background: rgba(20,10,4,.92);
  z-index: 9999; align-items: center; justify-content: center; padding: 60px; }
.m3-lightbox.is-open { display: flex; }
.m3-lightbox img { max-width: 100%; max-height: 100%; box-shadow: 0 10px 60px rgba(0,0,0,.5); }
.m3-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,.4);
  border-radius: 50%; padding: 0; transition: background .2s ease, border-color .2s ease; }
.m3-lightbox-close:hover { background: rgba(247,242,235,.12); border-color: rgba(247,242,235,.8); }

.m3-lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: transparent; border: 1px solid rgba(247,242,235,.4);
  border-radius: 50%; padding: 0; transition: background .2s ease, border-color .2s ease; }
.m3-lightbox-arrow:hover { background: rgba(247,242,235,.12); border-color: rgba(247,242,235,.8); }
.m3-lightbox-arrow::before {
  content: ''; display: block; width: 12px; height: 12px;
  border-style: solid; border-color: #F7F2EB; border-width: 0 2px 2px 0; }
.m3-lightbox-prev { left: 24px; }
.m3-lightbox-prev::before { transform: rotate(135deg); margin-left: 4px; }
.m3-lightbox-next { right: 24px; }
.m3-lightbox-next::before { transform: rotate(-45deg); margin-right: 4px; }

@media (max-width: 767px) {
  .m3-lightbox { padding: 20px 16px; }
  .m3-lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 22px; }
  .m3-lightbox-arrow { width: 38px; height: 38px; }
  .m3-lightbox-arrow::before { width: 9px; height: 9px; }
  .m3-lightbox-prev { left: 8px; }
  .m3-lightbox-next { right: 8px; } }

/* ---------- repere rapide sub banner ---------- */
.m3-quickfacts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid #D9CFC4; border-bottom: 1px solid #D9CFC4; margin: 0 0 10px; }
@media (min-width: 700px) { .m3-quickfacts { grid-template-columns: repeat(4, 1fr); } }
.m3-quickfacts div { padding: 22px 20px; border-right: 1px solid #D9CFC4; border-bottom: 1px solid #D9CFC4; }
@media (min-width: 700px) { .m3-quickfacts div { border-bottom: 0; } }
.m3-quickfacts div:nth-child(2n) { border-right: 0; }
@media (min-width: 700px) {
  .m3-quickfacts div:nth-child(2n) { border-right: 1px solid #D9CFC4; }
  .m3-quickfacts div:last-child { border-right: 0; }
}
.m3-quickfacts dt {
  font-family: "DM Sans", sans-serif; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: #A89070; margin: 0 0 6px; }
.m3-quickfacts dd {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 23px; color: #2C1A0E; margin: 0; }

/* ---------- buton catre configurator (sub plan + fatade) ---------- */
.m3-configurator-cta-row { text-align: center; margin-top: 40px; }

/* ---------- configurator de pret ---------- */
.m3-configurator-band {
  background: #2C1A0E; padding: 90px 0; scroll-margin-top: 80px; }
.m3-configurator-eyebrow {
  font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: #8A9E4A;
  text-align: center; margin: 0 0 14px; }
.m3-configurator-h2 {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; font-weight: 300;
  color: #F7F2EB; text-align: center; margin: 0 0 44px; }

.pc-configurator { max-width: 760px; margin: 0 auto; }
.pc-groups {
  display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
@media (min-width: 620px) { .pc-groups { grid-template-columns: 1fr 1fr; } }

.pc-group-label {
  display: block; font-family: "DM Sans", sans-serif; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: #A89070; margin-bottom: 8px; }
.pc-select {
  width: 100%; background: rgba(247,242,235,.06); border: 1px solid rgba(168,144,112,.5);
  color: #F7F2EB; font-family: "DM Sans", sans-serif; font-size: 14.5px;
  padding: 12px 14px; border-radius: 2px; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #A89070 50%), linear-gradient(135deg, #A89070 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 13px) center;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.pc-select:focus { outline: none; border-color: #8A9E4A; }
.pc-select option { color: #2C1A0E; }

.pc-total {
  border-top: 1px solid rgba(168,144,112,.4); padding-top: 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.pc-total-estimate { text-align: left; }
.pc-send-btn {
  flex: 0 0 auto; max-width: 300px; white-space: normal; line-height: 1.4;
  padding: 16px 26px; border-radius: 0; text-align: center; }
@media (max-width: 619px) {
  .pc-total { flex-direction: column; gap: 24px; }
  .pc-total-estimate { text-align: center; }
  .pc-send-btn { max-width: 100%; } }
.pc-total-label {
  display: block; font-family: "DM Sans", sans-serif; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: #A89070; margin-bottom: 10px; }
.pc-total-value {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 44px; color: #8A9E4A; }
.pc-total-currency {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; color: #8A9E4A; margin-left: 4px; }
.pc-total-note {
  font-family: "DM Sans", sans-serif; font-size: 12.5px; color: #A89070; margin: 10px 0 0; }

/* ---------- livrare si montaj ---------- */
.m3-delivery-section { display: flex; min-height: 260px; background: #6B7A3A; }
.m3-delivery-photo { flex: 0 0 42%; max-width: 42%; position: relative; overflow: hidden; }
.m3-delivery-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m3-delivery-cnt { flex: 1; display: flex; align-items: center; padding: 44px 56px; }
.m3-delivery-cnt-inner { max-width: 560px; }
.m3-delivery-cnt p {
  font-family: "DM Sans", sans-serif; font-size: 16px; font-weight: 300;
  color: #F7F2EB; line-height: 1.7; margin: 0; }

@media (max-width: 767px) {
  .m3-banner h1 { font-size: 44px; }
  .m3-banner-sub { font-size: 14px; }
  .m3-photo-lg { height: 260px; }
  .m3-sec { padding: 48px 0; }
  .m3-sec-head h2 { font-size: 26px; }
  .m3-sec-tight-top { padding-top: 10px; }
  .m3-sec-tight-bottom { padding-bottom: 10px; }
  .m3-configurator-band { padding: 56px 0; }
  .m3-configurator-h2 { font-size: 28px; }
  .m3-configurator-cta-row .btn-cta {
    display: inline-block; max-width: 100%; white-space: normal;
    padding: 14px 22px; font-size: 12px; line-height: 1.4; }
  .m3-delivery-section { flex-direction: column; min-height: 0; }
  .m3-delivery-photo { flex: none; max-width: 100%; height: 220px; }
  .m3-delivery-cnt { padding: 32px 24px; }
}
