.elementor-249 .elementor-element.elementor-element-a6c04f9{--display:flex;}.elementor-249 .elementor-element.elementor-element-f5fd9fb{--display:flex;}/* Start custom CSS for html, class: .elementor-element-392373f *//* =====================================================
   SPEEDFRAME PRODUCTS HERO
===================================================== */

:root {
    --sf-products-header-height: 120px;
}

.sf-products-hero {
    position: relative !important;
    display: block !important;

    width: 100vw !important;

    height: 85vh !important;
    min-height: 600px !important;
    max-height: 1900px !important;

    margin-top: var(--sf-products-header-height) !important;
    margin-bottom: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;

    background: #d7e1e8 !important;
    color: #ffffff !important;
}

/* =====================================================
   PRODUCTS HERO IMAGE
===================================================== */

.sf-products-hero-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    transform: scale(1.04) !important;
    transform-origin: center center !important;

    transition: transform 6s ease !important;

    will-change: transform;
}

.sf-products-hero.is-visible .sf-products-hero-image {
    transform: scale(1) !important;
}

/* =====================================================
   PRODUCTS HERO OVERLAY
===================================================== */

.sf-products-hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;

    width: 100% !important;
    height: 100% !important;

    pointer-events: none !important;

    background: linear-gradient(
        180deg,
        rgba(11, 20, 40, 0.36) 0%,
        rgba(11, 20, 40, 0.08) 38%,
        rgba(11, 20, 40, 0.04) 100%
    ) !important;
}

/* =====================================================
   PRODUCTS HERO CAPTION
===================================================== */

.sf-products-hero-caption {
    position: absolute !important;
    left: 0 !important;
    bottom: -1px !important;
    z-index: 5 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    width: min(320px, 32vw) !important;
    min-height: 120px !important;

    padding: 18px 24px 20px 32px !important;
    margin: 0 !important;

    box-sizing: border-box !important;

    background: rgba(255, 255, 255, 0.84) !important;
    color: #172032 !important;

    border: 0 !important;
    border-radius: 0 20px 0 0 !important;

    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;

    box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.06) !important;

    opacity: 0 !important;
    transform: translate3d(0, 24px, 0) !important;

    transition:
        opacity 0.9s ease 0.35s,
        transform 0.9s ease 0.35s !important;

    will-change: opacity, transform;
}

.sf-products-hero.is-visible .sf-products-hero-caption {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

.sf-products-hero-caption h1,
.sf-products-hero-caption h2 {
    width: 100% !important;
    max-width: 240px !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    color: #0c2a78 !important;

    font-size: clamp(16px, 1.8vw, 22px) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;

    text-align: left !important;
    text-transform: uppercase !important;
}

.sf-products-hero-caption p {
    width: 100% !important;
    max-width: 230px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #172032 !important;

    font-size: clamp(10px, 0.8vw, 12px) !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    text-align: left !important;
}

/* =====================================================
   ELEMENTOR FULL-WIDTH FIX
===================================================== */

.elementor-widget-html:has(.sf-products-hero),
.elementor-widget-html:has(.sf-products-hero) > .elementor-widget-container,
.elementor-widget-container:has(.sf-products-hero) {
    width: 100vw !important;
    max-width: 100vw !important;

    margin: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding: 0 !important;
    border: 0 !important;

    overflow: visible !important;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {
    :root {
        --sf-products-header-height: 120px;
    }

    .sf-products-hero {
        height: 680px !important;
        min-height: 580px !important;
        max-height: none !important;
    }

    .sf-products-hero-image {
        object-position: center center !important;
    }

    .sf-products-hero-caption {
        width: min(72vw, 360px) !important;
        min-height: 120px !important;

        padding: 22px 26px !important;

        border-radius: 0 22px 0 0 !important;
    }

    .sf-products-hero-caption h1,
    .sf-products-hero-caption h2 {
        max-width: 310px !important;

        margin-bottom: 10px !important;

        font-size: clamp(22px, 4vw, 30px) !important;
        line-height: 1.05 !important;
    }

    .sf-products-hero-caption p {
        max-width: 300px !important;

        font-size: 12px !important;
        line-height: 1.45 !important;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 560px) {
    :root {
        --sf-products-header-height: 90px;
    }

    .sf-products-hero {
        height: 620px !important;
        min-height: 560px !important;
        max-height: none !important;
    }

    .sf-products-hero-image {
        object-position: center center !important;
    }

    .sf-products-hero-caption {
        width: calc(100% - 90px) !important;
        min-height: 120px !important;

        padding: 20px 20px 22px !important;

        border-radius: 0 20px 0 0 !important;
    }

    .sf-products-hero-caption h1,
    .sf-products-hero-caption h2 {
        width: 100% !important;
        max-width: 100% !important;

        margin-bottom: 8px !important;

        font-size: clamp(20px, 6.5vw, 26px) !important;
        line-height: 1.05 !important;
    }

    .sf-products-hero-caption p {
        width: 100% !important;
        max-width: 100% !important;

        font-size: 11px !important;
        line-height: 1.4 !important;
    }
}

/* =====================================================
   REDUCED MOTION ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {
    .sf-products-hero-image,
    .sf-products-hero-caption {
        transition: none !important;
        transform: none !important;
    }

    .sf-products-hero-caption {
        opacity: 1 !important;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-92e7a91 *//* =====================================================
   PROJECT GRID - 3 COLUMNS / 4 ROWS
===================================================== */

.sf-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;

  width: 100%;
  padding: 28px;
  margin-top: 0;

  opacity: 1;
  visibility: visible;
  max-height: none;
  overflow: visible;
  transform: none;
}

.sf-project-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  min-width: 0;

  background: transparent;
  color: inherit;
  text-decoration: none;
}

.sf-project-card-media {
  display: block;

  width: 100%;
  overflow: hidden;

  background: #ffffff;
  color: inherit;

  border: 1px solid #e5e7eb;

  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.sf-project-card-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(17, 24, 39, 0.12);
}

.sf-project-card img {
  display: block;

  width: 100%;
  height: 220px;

  object-fit: cover;
  object-position: center;
}

.sf-project-info {
  width: 100%;
  padding: 14px 12px 16px;

  background: #ffffff;
}

.sf-project-info h3 {
  margin: 0 0 8px;

  color: #172032;

  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;

  text-transform: uppercase;
}

.sf-project-info p {
  margin: 0;

  color: #555555;

  font-family: 'Roboto', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.sf-spec-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 14px;
  padding: 11px 24px;

  background: #bc1c1c;
  color: #ffffff;

  border: 0;
  border-radius: 999px;

  font-family: 'Roboto', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;

  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.sf-spec-button:hover {
  background: #981b1b;
  transform: translateY(-2px);
}

/* =====================================================
   GLOBAL BOX SIZING
===================================================== */

.sf-spec-modal,
.sf-spec-modal *,
.sf-plan-viewer,
.sf-plan-viewer * {
  box-sizing: border-box;
}

/* =====================================================
   TECHNICAL SPECIFICATIONS MODAL
===================================================== */

.sf-spec-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: none !important;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  padding: 24px;

  overflow: hidden;
}

.sf-spec-modal.is-active {
  display: flex !important;
}

.sf-spec-modal-overlay {
  position: absolute;
  inset: 0;

  background: rgba(8, 14, 25, 0.72);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.sf-spec-modal-window {
  position: relative;
  z-index: 2;

  width: min(1180px, calc(100vw - 48px));
  max-width: 1180px;
  max-height: calc(100dvh - 48px);

  background: #ffffff;

  border-radius: 8px;

  overflow-x: hidden;
  overflow-y: auto;

  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.sf-spec-close {
  position: sticky;
  top: 14px;
  right: 14px;
  z-index: 20;

  float: right;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  margin: 14px 14px -42px 0;
  padding: 0;

  background: #bc1c1c;
  color: #ffffff;

  border: 0;
  border-radius: 999px;

  font-size: 28px;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.sf-spec-close:hover {
  background: #981b1b;
  transform: scale(1.05);
}

.sf-spec-sheet {
  width: 100%;
  max-width: 100%;
  padding: 26px;

  color: #172032;

  font-family: 'Roboto', Arial, sans-serif;

  overflow: hidden;
}


.sf-spec-header > *,
.sf-spec-icons > *,
.sf-spec-content-grid > * {
  min-width: 0;
}

/* =====================================================
   TECHNICAL SPECIFICATIONS HERO
===================================================== */

.sf-spec-header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
  align-items: stretch;

  width: 100%;
  height: 700px;
}

.sf-spec-hero {
  position: relative;

  width: 100%;
  height: 700px;
  min-height: 0;
  max-height: 700px;

  aspect-ratio: auto;

  overflow: hidden;

  background: #f3f4f6;
}

.sf-spec-hero img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 58%;

  transform: none;
  transform-origin: center center;

  background: #f3f4f6;
}

.sf-spec-brand {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 18px;

  width: auto;
  min-width: 240px;
  max-width: min(380px, calc(100% - 36px));

  padding: 12px 14px;

  background: rgba(255, 255, 255, 0.88);

  border-left: 4px solid #0c2a78;

  overflow-wrap: anywhere;
}

.sf-spec-brand h2 {
  margin: 0 0 5px;

  color: #0c2a78;

  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 800;
  line-height: 0.95;

  text-transform: uppercase;
}

.sf-spec-brand p {
  margin: 0 0 6px;

  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.sf-spec-brand strong {
  color: #1d2634;

  font-size: 10px;
}

/* =====================================================
   SPECIFICATION PLANS
===================================================== */

.sf-spec-plans {
  display: flex;
  flex-direction: column;

  width: 100%;
  height: 700px;
  min-width: 0;
  min-height: 0;

  padding: 18px;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  overflow: hidden;
}

.sf-spec-logo {
  flex: 0 0 auto;

  margin-bottom: 10px;
  padding-bottom: 7px;

  overflow: hidden;

  color: #0c2a78;

  border-bottom: 4px solid #bc1c1c;

  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;

  text-align: center;
}

.sf-spec-logo img {
  display: block;

  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 55px;

  margin: 0 auto;

  object-fit: contain;
}

.sf-spec-plans h3,
.sf-spec-panel h3 {
  margin: 0 0 14px;

  color: #172032;

  font-size: 14px;
  font-weight: 900;

  text-transform: uppercase;
}

/* =====================================================
   FLOOR PLAN SUMMARY
===================================================== */

.sf-plan-summary {
  flex: 0 0 auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;

  width: 100%;
  margin: 10px 0 12px;
}

.sf-plan-summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 54px;
  padding: 7px 6px;

  background: #f3f6fb;

  border: 1px solid #e1e6ee;
  border-top: 3px solid #0c2a78;
  border-radius: 6px;

  text-align: center;

  overflow-wrap: anywhere;
}

.sf-plan-summary-item strong {
  display: block;

  color: #0c2a78;

  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.sf-plan-summary-item span {
  display: block;

  margin-top: 4px;

  color: #374151;

  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;

  text-transform: uppercase;
}

/* =====================================================
   FLOOR PLANS — VERTICAL LAYOUT
===================================================== */

.sf-plan-grid {
  flex: 1;
  min-height: 0;

  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;

  width: 100%;
  max-width: 100%;

  margin: 0;
  padding: 0;

  overflow: hidden;
}

.sf-plan-box {
  display: flex;
  flex-direction: column;

  width: 100%;
  min-width: 0;
  min-height: 0;
}

.sf-plan-box h4 {
  flex: 0 0 auto;

  margin: 0 0 5px;

  color: #172032;

  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;

  text-align: center;
  text-transform: uppercase;
}

.sf-plan-image-wrap {
  position: relative;

  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: auto;
  min-height: 0;
  padding: 6px;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #d7dce3;
  border-radius: 6px;

  cursor: zoom-in;
}

.sf-plan-image {
  display: block;

  width: auto !important;
  height: auto !important;

  max-width: 100% !important;
  max-height: 100% !important;

  object-fit: contain !important;
  object-position: center center;

  cursor: zoom-in;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.sf-plan-image-wrap:hover .sf-plan-image {
  transform: scale(1.025);
  opacity: 0.92;
}

.sf-plan-image-wrap::after {
  content: "Click to enlarge";

  position: absolute;
  right: 8px;
  bottom: 8px;

  padding: 5px 8px;

  background: rgba(12, 42, 120, 0.88);
  color: #ffffff;

  border-radius: 4px;

  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;

  text-transform: uppercase;

  opacity: 0;
  transform: translateY(4px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;

  pointer-events: none;
}

.sf-plan-image-wrap:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.sf-plan-error {
  margin: 0;
  padding: 14px;

  color: #bc1c1c;

  font-size: 11px;
  line-height: 1.4;

  text-align: center;
}

/* =====================================================
   FLOOR PLAN FULLSCREEN VIEWER
===================================================== */

.sf-plan-viewer {
  position: fixed;
  inset: 0;
  z-index: 1000001;

  display: none;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  padding: 24px;
}

.sf-plan-viewer.is-active {
  display: flex;
}

.sf-plan-viewer-overlay {
  position: absolute;
  inset: 0;

  background: rgba(5, 10, 18, 0.9);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  cursor: zoom-out;
}

.sf-plan-viewer-window {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  width: min(1100px, calc(100vw - 48px));
  max-width: 1100px;
  max-height: calc(100dvh - 48px);

  padding: 20px;

  overflow: hidden;

  background: #ffffff;

  border-radius: 10px;

  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.sf-plan-viewer-window h3 {
  margin: 0 55px 14px 0;

  color: #172032;

  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;

  text-transform: uppercase;
}

.sf-plan-viewer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  padding: 0;

  background: #bc1c1c;
  color: #ffffff;

  border: 0;
  border-radius: 999px;

  font-size: 28px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.sf-plan-viewer-close:hover {
  background: #981b1b;
  transform: scale(1.05);
}

.sf-plan-viewer-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 300px;
  max-height: calc(100dvh - 145px);
  padding: 14px;

  overflow: auto;

  background: #f5f6f8;

  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.sf-plan-viewer-image-wrap img {
  display: block;

  width: auto !important;
  height: auto !important;

  max-width: 100% !important;
  max-height: calc(100dvh - 175px) !important;

  object-fit: contain !important;
  object-position: center center;
}

body.sf-plan-viewer-open,
body.sf-spec-modal-open {
  overflow: hidden;
}

/* =====================================================
   SPECIFICATION ICONS
===================================================== */

.sf-spec-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;

  margin: 18px 0;
}

.sf-spec-icons div {
  min-width: 0;
  padding: 14px;

  background: #f3f6fb;

  border-left: 4px solid #0c2a78;

  overflow-wrap: anywhere;
}

.sf-spec-icons strong {
  display: block;

  margin-bottom: 4px;

  color: #0c2a78;

  font-size: 12px;

  text-transform: uppercase;
}

.sf-spec-icons span {
  display: block;

  font-size: 11px;
  line-height: 1.4;
}

/* =====================================================
   SPECIFICATION CONTENT GRID
===================================================== */

.sf-spec-content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sf-spec-panel {
  min-width: 0;
  padding: 16px;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  overflow-wrap: anywhere;
}

.sf-spec-panel p,
.sf-spec-panel li {
  color: #1d2634;

  font-size: 12px;
  line-height: 1.55;
}

.sf-spec-panel ul {
  margin: 0;
  padding-left: 18px;
}

/* =====================================================
   PRICE CARD
===================================================== */

.sf-spec-price-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 8;

  min-width: 160px;
  padding: 10px 12px 11px;

  background: rgba(255, 255, 255, 0.94);
  color: #111827;

  border-left: 4px solid #08295f;
  border-radius: 10px;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.sf-spec-price-card span {
  display: block;

  margin-bottom: 4px;

  color: #4b5563;

  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.sf-spec-price-card strong {
  display: block;

  color: #08295f;

  font-size: 18px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* ===== HIDE PRICE ===== */

.sf-spec-price-card {
  display: none !important;
}

/* =====================================================
   FLOOR PLAN SUMMARY
===================================================== */

.sf-plan-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;

  width: 100%;
  margin: 26px 0 16px;
}

.sf-plan-summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 64px;
  padding: 10px 8px;

  background: #f3f6fb;

  border: 1px solid #e1e6ee;
  border-top: 3px solid #0c2a78;
  border-radius: 6px;

  text-align: center;

  overflow-wrap: anywhere;
}

.sf-plan-summary-item strong {
  display: block;

  color: #0c2a78;

  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.sf-plan-summary-item span {
  display: block;

  margin-top: 5px;

  color: #374151;

  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;

  text-transform: uppercase;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {
  .sf-product-main {
    grid-template-columns: 1fr;
  }

  .sf-product-list-content {
    padding: 38px 30px 32px;
  }

  .sf-product-list-image {
    min-height: 320px;
  }

  .sf-product-list-content p {
    max-width: 100%;
  }

  .sf-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;

    padding: 24px;
  }

  .sf-spec-modal {
    padding: 16px;
  }

  .sf-spec-modal-window {
    width: calc(100vw - 32px);
    max-width: none;
    max-height: calc(100dvh - 32px);

    border-radius: 8px;
  }

  .sf-spec-close {
    top: 10px;

    width: 40px;
    height: 40px;

    margin: 10px 10px -40px 0;

    font-size: 26px;
  }

  .sf-spec-sheet {
    padding: 22px;
  }

  .sf-spec-header {
    grid-template-columns: 1fr;
    gap: 18px;

    height: auto;
  }

  .sf-spec-hero {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;

    aspect-ratio: 3 / 4;
  }

  .sf-spec-hero img {
    width: 100%;
    height: 100%;
    min-height: 0;

    object-fit: contain;
    object-position: center center;

    transform: none;

    background: #f3f4f6;
  }

  .sf-spec-brand {
    left: 16px;
    top: 16px;

    min-width: 220px;
    max-width: calc(100% - 32px);
  }

  .sf-spec-plans {
    height: auto;
    min-height: 0;

    padding: 18px;

    overflow: visible;
  }

  .sf-spec-logo img {
    max-height: 60px;
  }

  .sf-plan-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;

    height: auto;
    overflow: visible;
  }

  .sf-plan-box {
    flex: 0 0 auto;

    width: 100%;
    min-width: 0;
    min-height: 0;
  }

  .sf-plan-image-wrap {
    flex: none;

    width: 100%;
    height: 240px;
  }

  .sf-spec-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-spec-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-plan-viewer {
    padding: 16px;
  }

  .sf-plan-viewer-window {
    width: min(900px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
  }

  .sf-plan-viewer-image-wrap {
    max-height: calc(100dvh - 130px);
  }

  .sf-plan-viewer-image-wrap img {
    max-height: calc(100dvh - 160px) !important;
  }
}

/* =====================================================
   SMALL TABLET
===================================================== */

@media (max-width: 700px) {
  .sf-spec-modal {
    padding: 10px;
  }

  .sf-spec-modal-window {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);

    border-radius: 6px;
  }

  .sf-spec-sheet {
    padding: 18px;
  }

  .sf-spec-header {
    gap: 14px;
  }

  .sf-spec-hero {
    height: auto;
    min-height: 0;
    max-height: none;

    aspect-ratio: 3 / 4;
  }

  .sf-spec-brand {
    left: 12px;
    top: 12px;

    width: calc(100% - 24px);
    min-width: 0;
    max-width: 320px;

    padding: 10px 12px;
  }

  .sf-spec-plans {
    padding: 16px;
  }

  .sf-spec-content-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 560px) {
  .sf-product-list-section {
    padding: 24px 0;
  }

  .sf-product-list-container {
    width: min(100% - 28px, 1180px);
    gap: 24px;
  }

  .sf-product-list-content {
    padding: 32px 24px 28px;
  }

  .sf-product-main {
    min-height: auto;
  }

  .sf-product-list-image {
    min-height: 260px;
  }

  .sf-product-list-content h2 {
    font-size: 30px;
  }

  .sf-product-list-image-label {
    font-size: 24px;
  }

  .sf-project-grid {
    grid-template-columns: 1fr;
    gap: 24px;

    padding: 18px 14px;
  }

  .sf-project-card img {
    height: 210px;
  }

  .sf-spec-button {
    width: auto;
    padding: 10px 18px;

    font-size: 13px;
  }

  .sf-spec-modal {
    padding: 0;
  }

  .sf-spec-modal-window {
    width: 100vw;
    max-width: 100vw;

    height: 100dvh;
    max-height: 100dvh;

    border-radius: 0;
  }

  .sf-spec-close {
    position: sticky;
    top: 8px;
    right: 8px;

    width: 38px;
    height: 38px;

    margin: 8px 8px -38px 0;

    font-size: 24px;
  }

  .sf-spec-sheet {
    padding: 16px;
  }

  .sf-spec-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sf-spec-hero {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;

    aspect-ratio: 3 / 4;
  }

  .sf-spec-hero img {
    width: 100%;
    height: 100%;
    min-height: 0;

    object-fit: contain;
    object-position: center center;

    transform: none;
  }

  .sf-spec-brand {
    left: 10px;
    top: 10px;

    width: calc(100% - 20px);
    min-width: 0;
    max-width: 280px;

    padding: 9px 10px;

    border-left-width: 3px;
  }

  .sf-spec-brand h2 {
    font-size: 14px;
    line-height: 1;
  }

  .sf-spec-brand p {
    font-size: 9px;
  }

  .sf-spec-brand strong {
    font-size: 8px;
  }

  .sf-spec-plans {
    width: 100%;
    height: auto;
    min-height: 0;

    padding: 14px;

    overflow: visible;
  }

  .sf-spec-logo {
    margin-bottom: 14px;

    font-size: 20px;
  }

  .sf-spec-logo img {
    max-height: 48px;
  }

  /* Floor plans stack vertically on mobile. */

  .sf-plan-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;

    height: auto;
    padding-bottom: 10px;

    overflow: visible;
    scroll-snap-type: none;
  }

  .sf-plan-box {
    flex: 0 0 auto;

    width: 100%;
    min-width: 0;

    scroll-snap-align: none;
  }

  .sf-plan-image-wrap {
    flex: none;

    width: 100%;
    height: 210px;
  }

  .sf-plan-image-wrap::after {
    content: "Tap to enlarge";

    opacity: 1;
    transform: none;

    font-size: 7px;
  }

  /*
   * Original three-column summary remains.
   * It scrolls horizontally when needed.
   */

  .sf-plan-summary {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 8px;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
  }

  .sf-plan-summary-item {
    min-height: 58px;
    padding: 8px 6px;
  }

  .sf-plan-summary-item strong {
    font-size: 18px;
  }

  .sf-plan-summary-item span {
    font-size: 9px;
  }

  .sf-spec-icons {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sf-spec-icons div {
    padding: 12px;
  }

  .sf-spec-content-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sf-spec-panel {
    padding: 14px;
  }

  .sf-spec-panel p,
  .sf-spec-panel li {
    font-size: 11px;
  }

  .sf-plan-viewer {
    padding: 10px;
  }

  .sf-plan-viewer-window {
    width: 100%;
    max-width: 100%;
    max-height: 96dvh;

    padding: 14px;

    border-radius: 8px;
  }

  .sf-plan-viewer-window h3 {
    margin-right: 48px;

    font-size: 15px;
  }

  .sf-plan-viewer-close {
    top: 8px;
    right: 8px;

    width: 38px;
    height: 38px;

    font-size: 25px;
  }

  .sf-plan-viewer-image-wrap {
    min-height: 250px;
    max-height: calc(96dvh - 75px);

    padding: 8px;
  }

  .sf-plan-viewer-image-wrap img {
    max-height: calc(96dvh - 100px) !important;
  }
}

/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 380px) {
  .sf-project-grid {
    padding-inline: 10px;
  }

  .sf-spec-sheet {
    padding: 12px;
  }

  .sf-spec-hero {
    min-height: 220px;
  }

  .sf-spec-brand {
    max-width: calc(100% - 20px);
  }

  .sf-spec-plans {
    padding: 12px;
  }

  .sf-plan-box {
    width: 100%;
    min-width: 0;
  }

  .sf-plan-image-wrap {
    height: 190px;
  }
}

/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {
  .sf-project-card-media,
  .sf-spec-button,
  .sf-plan-image,
  .sf-spec-close,
  .sf-plan-viewer-close {
    transition: none;
  }
}/* End custom CSS */