@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&display=swap');

body,
html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    color: #1a1a1a;
}
*, *::before, *::after { box-sizing: border-box; }

.maincontent { max-width: 100%; padding: 0; margin: 0; }

.maincontent img {
max-width: 100%;
}

.serif { font-family: "Fraunces", Georgia, serif; }

.eyebrow {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .78rem;
  color: #C10505;
  display: inline-block;
  margin-bottom: 14px;
}

.cta-btn {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 14px 32px;
  border-radius: 999px;
  background-color: #C10505;
  color: #fff;
  cursor: pointer;
  border: 1px solid #C10505;
  transition: background-color .25s ease, color .25s ease;
  text-align: center;
}
.cta-btn:hover { background-color: #970404; text-decoration: none; color: #fff; }
.cta-btn.outline {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.7);
}
.cta-btn.outline:hover { background-color: rgba(255,255,255,.15); }
.cta-btn.dark {
  background-color: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}
.cta-btn.dark:hover { background-color: #1a1a1a; color: #fff; }

/* ---------- HERO ---------- */
.hero-main {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.75) 100%), url('/imageserver/Reusable/velux24/hero2.jpeg');
  background-size: cover;
  background-position: center;
}
.hero-main-inner {
  width: 100%;
  padding: 0 5% 6%;
  color: #fff;
}
.hero-main .eyebrow { color: #ff6b5f; }
.hero-headline {
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  max-width: 900px;
  margin: 0 0 30px;
}
.hero-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.hero-quicknav a {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  transition: .25s;
}
.hero-quicknav a:hover { background-color: rgba(255,255,255,.15); }

/* ---------- SECTION SHELLS ---------- */
.section-pad { padding: 6% 5%; }
.section-pad.tight { padding: 4% 5%; }
.bg-cream { background-color: #FAF6F0; }
.bg-white { background-color: #fff; }
.bg-dark { background-color: #111; color: #fff; }

.category-header {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.category-header h2 {
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 0 0 16px;
  line-height: 1.15;
}
.category-header p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}
.bg-dark .category-header p { color: #ccc; }

/* ---------- FEATURE TILES ---------- */
.feature-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 1400px;
  margin: 0 auto;
}
.feature-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background-color: #000;
}
.feature-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  transition: opacity .35s ease, transform .5s ease;
}
.feature-tile:hover img { transform: scale(1.04); opacity: .4; }
.feature-tile-label {
  position: absolute;
  left: 22px;
  bottom: 20px;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  z-index: 2;
}
.feature-tile-label svg { width: 24px; height: 24px; flex-shrink: 0; }
.feature-tile-label span {
  font-size: .95rem;
  font-weight: 500;
}
.feature-tile-toggle {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  z-index: 2;
  transition: transform .3s ease, background-color .3s ease;
}
.feature-tile.is-open .feature-tile-toggle {
  transform: rotate(45deg);
  background-color: #C10505;
  border-color: #C10505;
}
.feature-tile-desc {
  position: absolute;
  inset: 0;
  background-color: rgba(10,10,10,.88);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 3;
}
.feature-tile.is-open .feature-tile-desc { opacity: 1; pointer-events: auto; }
.feature-tile-desc p {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.5;
  font-weight: 300;
}
@media screen and (max-width: 900px) {
  .feature-tiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 550px) {
  .feature-tiles-grid { grid-template-columns: 1fr; }
}

/* ---------- VIDEO SHOWCASE ---------- */
.velux-videos-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}
.velux-video-card {
  max-width: 560px;
  width: calc(50% - 12px);
  min-width: 300px;
  border-radius: 4px;
  overflow: hidden;
}
.velux-video-card video {
  display: block;
  width: 100%;
  object-fit: cover;
  background-color: #000;
}

@media screen and (max-width: 650px) {
  .velux-video-card { width: 100%; }
}

/* ---------- PRODUCT GRID / CARDS ---------- */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
}
.product-card {
  flex: 1 1 300px;
  max-width: 380px;
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
}
.product-card-img {
  background-color: #f3f0eb;
  padding: 30px;
text-align: center;
}
.product-card-img img { max-width: 220px; margin: 0 auto; }
.product-card-body {
  padding: 24px 26px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 12px;
}
.product-card-body p.card-desc {
  font-size: .9rem;
  line-height: 1.55;
  color: #555;
  margin: 0 0 18px;
}
.feature-checklist {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0eeea;
  font-size: .83rem;
}
.feature-checklist li:last-child { border-bottom: none; }
.feature-checklist li svg { width: 17px; height: 17px; flex-shrink: 0; color: #C10505; }
.feature-checklist li.excluded { color: #bbb; }
.feature-checklist li.excluded svg { color: #ddd; }
.product-card-body .cta-btn { margin-top: auto; align-self: flex-start; }


.solo-product {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.solo-product-img { flex: 1 1 380px; background-color: #f3f0eb; padding: 40px; text-align: center; }
.solo-product-img img { max-width: 280px; width: 100%; margin: 0 auto; }
.solo-product-body { flex: 1 1 380px; padding: 20px; }
.solo-product-body h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0 0 14px;
}
.solo-product-body p { font-size: .95rem; line-height: 1.6; color: #444; margin: 0 0 20px; }
@media screen and (max-width: 700px) {
}

/* ---------- DETAIL PANELS ---------- */
.product-details {
  max-width: 1200px;
  margin: 40px auto 0;
  background-color: #FAF6F0;
  padding: 4%;
  border-radius: 4px;
}
.product-details .row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.product-details .col-md-6 { flex: 1 1 380px; }
.product-details h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.9rem;
  margin: 0 0 16px;
}
.product-details h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; }
.product-details p { line-height: 1.65; color: #333; }
.product-details h4 { font-size: .95rem; margin-bottom: 6px; }
.docs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: #C10505;
  text-decoration: none;
  margin: 4px 0;
}
.docs img { max-width: 18px; width: 18px; }
.deets { max-width: 380px; }
.deets-list { padding-top: 15px; }
.deets-list li { font-size: .88rem; margin-block: 8px; line-height: 1.5; }
.maincontent ul li { list-style-type: disc; text-align: left; }
.targetDiv { display: none; }

.img-box { min-height: 130px; display: flex; align-items: center; justify-content: center; }
.img-box img { max-width: 180px; }
.e-flex-group, .flat-flex-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.flex-item { text-align: center; max-width: 320px; }
.flex-item h3 { font-size: 1.05rem; margin: 14px 0 8px; }
.flex-item p { font-size: .85rem; }

/* sun tunnel list */
.suntunnel-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    margin: 10px auto 0;
    padding: 0;
    gap: 30px;
    max-width: 1200px;
}
.suntunnel-item {
    list-style-type: none !important;
    width: 300px;
    text-align: center !important;
}
.suntunnel-img-wrapper {
    position: relative;
    margin: 0 auto 20px;
    max-width: 260px;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 16px rgba(0,0,0,.08);
    overflow: hidden;
}
.suntunnel-img { display: block; max-width: 260px; width: 100%; height: auto; }
.suntunnel-img-wrapper-split .suntunnel-img { position: absolute; top: 0; left: 0; }
.suntunnel-img-wrapper-split .suntunnel-img-flex {
    clip-path: polygon(0 60px, calc(100% - 60px) 100%, 0 100%);
}
.suntunnel-img-wrapper-split .suntunnel-img-rigid {
    clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - 50px) 100%, 0 50px);
}
.suntunnel-item h4 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.15rem; margin: 0 0 4px; }
.suntunnel-item .suntunnel-product-row { display: block; font-size: .75em; font-weight: 700; margin-top: 6px; text-transform: uppercase; letter-spacing: .3px; }
.suntunnel-item .suntunnel-product-type {
    background-color: #1a1a1a; color: #fff; margin-inline: 2px 4px; padding: 2px 6px; border-radius: 4px; font-size: .7em;
}
.suntunnel-underline { width: 60px; height: 2px; background-color: #C10505; border: none; margin: 14px auto; }
.suntunnel-item p { font-size: .87rem; max-width: 280px; margin: 0 auto; color: #555; }

/* trust banner */
.trust-banner {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.6)), url('/imageserver/Reusable/velux24/collage-kitchen4-min.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.trust-banner-inner { max-width: 700px; margin: 0 auto; padding: 8% 5%; }
.trust-banner h2 { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 22px; }

@media screen and (max-width: 650px) {
  .hero-main { min-height: 78vh; }
  .section-pad { padding: 12% 6%; }
  .product-details .row { flex-direction: column; }
}