/* Montoport floor plan section — matches html/floor-plan-section.html */
.montoport-fp-section {
  --fp-text: #54585a;
  --fp-rule: rgba(84, 88, 90, 0.2);
  --fp-placeholder: rgba(84, 88, 90, 0.08);
  --fp-col1: minmax(180px, 240px);
  --fp-col23: minmax(0, 1fr);
  --fp-font-serif: "Berlingske Serif", Georgia, "Times New Roman", serif;
  --fp-font-sans: 'Ghotam';
  --fp-body-size: 14px;
  --fp-body-lh: 20px;
  font-family: var(--fp-font-sans);
  font-size: var(--fp-body-size);
  font-weight: 325;
  line-height: var(--fp-body-lh);
  color: var(--fp-text);
  -webkit-font-smoothing: antialiased;
}

.elementor-widget-montoport_floor_plan_section {
  width: 100% !important;
}

.montoport-fp-section__wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.montoport-fp-section__row {
  display: grid;
  grid-template-columns: var(--fp-col1) var(--fp-col23) var(--fp-col23);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  padding-top: 0;
  padding-bottom: 0;
}

/* Vertical rhythm (Features & facilities → Floorplans → Design & details). */
.montoport-fp-section__row--facilities {
  padding-bottom: 60px;
}

.montoport-fp-section__row--facilities .montoport-fp-section__cell--facilities-lead {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.montoport-fp-section__row--facilities .montoport-fp-section__cell--facilities-lead > .montoport-fp-section__h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .montoport-fp-section__row {
    grid-template-columns: 1fr;
  }

  .montoport-fp-section__row--floorplans {
    grid-template-columns: 1fr;
  }

  .montoport-fp-section__cell--spacer {
    display: none;
  }
}

.montoport-fp-section__h2 {
  margin: 0 0 12px;
  color: #54585a;
  font-family: var(--fp-font-serif);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.24px;
}

.montoport-fp-section__intro {
  margin: 0;
  max-width: 36ch;
  color: #54585a;
  font-family: var(--fp-font-sans);
  font-size: var(--fp-body-size);
  font-style: normal;
  font-weight: 325;
  line-height: var(--fp-body-lh);
}

.montoport-fp-section__intro p {
  margin: 0 0 0.75em;
  color: inherit;
  font: inherit;
}

.montoport-fp-section__intro p:last-child {
  margin-bottom: 0;
}

.montoport-fp-section__img-slot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  min-height: 220px;
  background: var(--fp-placeholder);
  border: 1px solid rgba(84, 88, 90, 0.12);
}

.montoport-fp-section__img-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.montoport-fp-section__body p {
  margin: 0 0 1em;
  color: #54585a;
  font-family: var(--fp-font-sans);
  font-size: var(--fp-body-size);
  font-style: normal;
  font-weight: 350;
  line-height: var(--fp-body-lh);
}

.montoport-fp-section__body p:last-child {
  margin-bottom: 0;
}

.montoport-fp-section__icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.montoport-fp-section__icon-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.montoport-fp-section__icon-item > span:not(.montoport-fp-section__icon) {
  color: #54585a;
  font-family: var(--fp-font-sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 325;
  line-height: 16px;
}

.montoport-fp-section__icon {
  flex: 0 0 13px;
  width: 13px;
  height: auto;
  color: #54585a;
}

.montoport-fp-section__icon svg {
  display: block;
  width: 13px;
  height: auto;
}

.montoport-fp-section__icon i {
  font-size: 13px;
  line-height: 1;
  width: 13px;
  height: auto;
}

.montoport-fp-section__acc {
  border-top: 0;
}

.montoport-fp-section__acc-item {
  margin: 0;
  padding: 0px !important;
  border-bottom: 1px solid var(--fp-rule);
}

.montoport-fp-section__acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 16px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: #54585a;
  font-family: var(--fp-font-sans);
  font-size: var(--fp-body-size);
  font-style: normal;
  font-weight: 350;
  line-height: var(--fp-body-lh);
  appearance: none;
  -webkit-appearance: none;
}

.montoport-fp-section__acc-btn span {
  font-weight: bold;
}

.montoport-fp-section__acc-btn:hover {
  opacity: 0.85;
}

.montoport-fp-section__acc-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  min-width: 16px;
  font-size: 12px;
  font-weight: 350;
  line-height: 1;
  text-align: center;
  color: #54585a;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

/* Height animated via max-height in JS (grid 0fr left phantom gap under some browsers). */
.montoport-fp-section__acc-panel-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.montoport-fp-section__acc-panel {
  overflow: hidden;
  max-width: 52ch;
  padding: 0 0 20px;
  color: #54585a;
  font-family: var(--fp-font-sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 20px;
  opacity: 0;
  transition: opacity 0.32s ease 0.05s;
}

.montoport-fp-section__acc-item.is-open .montoport-fp-section__acc-panel {
  opacity: 1;
  transition-delay: 0.08s;
}

.montoport-fp-section__acc-panel p {
  margin: 0 0 0.75em;
  color: inherit;
  font: inherit;
}

.montoport-fp-section__acc-panel p:last-child {
  margin-bottom: 0;
}

.montoport-fp-section__acc-panel p span {
  font-weight: 300 !important;
  font-size: 14px !important;
}

@media (prefers-reduced-motion: reduce) {
  .montoport-fp-section__acc-panel-wrap,
  .montoport-fp-section__acc-panel,
  .montoport-fp-section__acc-toggle {
    transition: none;
  }

  .montoport-fp-section__acc-panel {
    opacity: 1;
  }
}

.montoport-fp-section__acc-item.is-open .montoport-fp-section__acc-toggle::before {
  content: "−";
}

.montoport-fp-section__acc-item:not(.is-open) .montoport-fp-section__acc-toggle::before {
  content: "+";
}

.montoport-fp-section__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 260px;
  background: var(--fp-placeholder) center / cover no-repeat;
  border: 1px solid rgba(84, 88, 90, 0.12);
}

.montoport-fp-section__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Row 1: intro + dual desktop images + mobile-only slider */
.montoport-fp-section__row--floorplans {
  grid-template-columns: var(--fp-col1) minmax(0, 1fr);
  padding-bottom: 143px;
}

.montoport-fp-section__cell--floorplans-media {
  min-width: 0;
}

.montoport-fp-section__dual-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
}

.montoport-fp-section__floorplan-slider {
  display: none;
}

.montoport-fp-section__floorplan-slider--single .montoport-fp-section__floorplan-slider-track {
  transform: none !important;
}

.montoport-fp-section__floorplan-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.montoport-fp-section__floorplan-slider-track {
  display: flex;
  width: 200%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.montoport-fp-section__floorplan-slider-slide {
  flex: 0 0 50%;
  box-sizing: border-box;
  padding: 0;
}

.montoport-fp-section__img-slot--slider {
  aspect-ratio: 3 / 4;
  min-height: 220px;
  margin: 0;
}

.montoport-fp-section__floorplan-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.montoport-fp-section__floorplan-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(84, 88, 90, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.montoport-fp-section__floorplan-slider-dot.is-active {
  width: 36px;
  border-radius: 4px;
  background: rgba(84, 88, 90, 0.55);
}

.montoport-fp-section__floorplan-slider-next {
  margin-left: 4px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #54585a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .montoport-fp-section__floorplan-slider-track {
    transition: none;
  }
}

.montoport-fp-section__divider--floorplans {
  display: none;
}

@media (max-width: 767px) {
  .ed-cta-wrapper,
  .ed-cta-wrapper-580 {
    align-items: center !important;
  }

  .montoport-fp-section__row--floorplans .montoport-fp-section__intro,
  .montoport-fp-section__cell--facilities-lead .montoport-fp-section__intro {
    padding-left: 29px;
    padding-right: 29px;
  }

  .montoport-fp-section__row.montoport-fp-section__row--design {
    padding-left: 29px;
    padding-right: 29px;
    padding-bottom: 48px;
  }

  .montoport-fp-section__acc {
    padding-left: 29px;
    padding-right: 29px;
  }

  h2.ed-cta-heading {
    text-align: center !important;
  }

  p.ed-cta-desc {
    padding-left: 29px;
    padding-right: 29px;
    text-align: center;
    font-family: 'Ghotam';
  }

  .montoport-fp-section {
    background: transparent;
  }

  .montoport-fp-section__divider--floorplans {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
  }

  .montoport-fp-section__divider--floorplans img {
    display: block;
    width: min(358px, 100%);
    height: auto;
    max-width: 100%;
  }

  .montoport-fp-section__wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .montoport-fp-section .montoport-fp-section__h2 {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-align: center;
  }

  .montoport-fp-section__row--facilities .montoport-fp-section__cell--facilities-lead {
    text-align: center;
  }

  .montoport-fp-section__row--facilities .montoport-fp-section__cell--facilities-lead .montoport-fp-section__h2 {
    max-width: 100%;
  }

  .montoport-fp-section__row--facilities {
    padding-bottom: 40px;
  }

  .montoport-fp-section__row--floorplans {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 40px;
  }

  .montoport-fp-section__cell--floorplans-intro {
    text-align: center;
  }

  .montoport-fp-section__row--floorplans .montoport-fp-section__intro,
  .montoport-fp-section__cell--facilities-lead .montoport-fp-section__intro {
    margin-left: auto;
    margin-right: auto;
    max-width: 100ch;
    text-align: center;
  }

  p.montoport-fp-section__intro {
    margin-bottom: 45px;
  }

  .montoport-fp-section__dual-images {
    display: none;
  }

  .montoport-fp-section__floorplan-slider {
    display: block;
  }

  .montoport-fp-section__row--design .montoport-fp-section__body,
  .montoport-fp-section__row--design .montoport-fp-section__icon-item > span:not(.montoport-fp-section__icon) {
    text-align: left;
  }

  .montoport-fp-section__row--design .montoport-fp-section__body p {
    text-align: left;
  }

  .montoport-fp-section__row--facilities .montoport-fp-section__cell--facilities-photo {
    display: none;
  }

  .montoport-fp-section__img-slot--slider {
    min-height: 240px;
    border: 0;
    background: rgba(84, 88, 90, 0.12);
  }
}
