/* ==================================================================
   PROJECT DETAIL — shared styles for all project pages
   Self-contained, no Bootstrap dependency.

   FONT: reference uses a licensed webfont; Nunito Sans is the closest
   free match. Swap --pd-font below if you license the real face.
   ================================================================== */

.pd-wrap {
    --pd-font: "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
    --pd-ink: #181817;
    --pd-body: #3a3a38;
    --pd-link: #3064CC;
    --pd-rule: #d8d8d8;
    --pd-dot: #d8d8d8;
    --pd-dot-active: #7d7d7d;
    --pd-content: 1140px;
    --pd-gallery: 975px;
    --pd-hero-h: 705px;

    font-family: var(--pd-font);
    color: var(--pd-body);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
.pd-wrap * { box-sizing: border-box; }
.pd-wrap img { max-width: 100%; }
.pd-wrap h1, .pd-wrap h2, .pd-wrap h3 {
    font-family: var(--pd-font); text-transform: none; margin: 0; padding: 0;
}
.pd-wrap ul { list-style: none; padding: 0; margin: 0; }
.pd-wrap ul li:before { content: none; }

.pd-inner { max-width: var(--pd-content); margin: 0 auto; padding: 0 20px; }
.pd-narrow { max-width: var(--pd-gallery); margin: 0 auto; }
.pd-rule { border: 0; border-top: 1px solid var(--pd-rule); margin: 0; height: 0; opacity: 1; }

/* ---------- Hero ---------- */
.pd-hero { width: 100%; height: var(--pd-hero-h); overflow: hidden; margin: 0; }
.pd-hero img {
    width: 100% !important; height: 100% !important; max-width: none !important;
    object-fit: cover; object-position: center; display: block;
}

/* Per-page hero framing: add data-focus to .pd-hero when a portrait
   photo crops badly at 705px. e.g. <div class="pd-hero" data-focus="bottom"> */
.pd-hero[data-focus="top"]    img { object-position: center top; }
.pd-hero[data-focus="bottom"] img { object-position: center bottom; }

/* ---------- Title + intro ---------- */
.pd-titleblock { text-align: center; padding: 68px 0 0; }
.pd-wrap .pd-title {
    font-size: 40px; font-weight: 300; line-height: 1.15;
    color: var(--pd-ink); letter-spacing: .005em;
}
.pd-title-rule { width: 224px; height: 1px; background: var(--pd-rule); margin: 32px auto 0; }
.pd-intro {
    max-width: 1047px; margin: 45px auto 0;
    font-size: 16px; line-height: 21px; color: var(--pd-body);
}
.pd-titleblock .pd-rule { margin-top: 40px; }

/* ---------- Gallery ---------- */
.pd-gallery-wrap { padding: 55px 0 0; }
.pd-gallery { max-width: var(--pd-gallery); margin: 0 auto; position: relative; }

.pd-stage {
    position: relative; width: 100%; padding-top: 56.25%; /* 16:9 */
    overflow: hidden; background: #f4f4f2;
}
.pd-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; visibility: hidden; transition: opacity .5s ease;
}
.pd-slide.is-active { opacity: 1; visibility: visible; }
.pd-wrap .pd-slide img,
.pd-wrap .pd-slide video {
    width: 100% !important; height: 100% !important; max-width: none !important;
    object-fit: cover; display: block;
}
.pd-wrap .pd-slide video { background: #000; }

.pd-arrow {
    position: absolute; top: 50%; margin-top: -31px;
    width: 62px; height: 62px; border: 0; padding: 0;
    background: #fff; border-radius: 50%; cursor: pointer;
    box-shadow: 0 1px 5px rgba(0,0,0,.14);
    display: flex; align-items: center; justify-content: center;
    transition: box-shadow .2s ease; z-index: 5;
}
.pd-arrow:hover { box-shadow: 0 3px 12px rgba(0,0,0,.24); }
.pd-arrow:focus { outline: none; }
.pd-arrow--prev { left: -98px; }
.pd-arrow--next { right: -98px; }
.pd-arrow i {
    display: block; width: 0; height: 0;
    border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.pd-arrow--prev i { border-right: 14px solid #6f6f6f; margin-right: 3px; }
.pd-arrow--next i { border-left: 14px solid #6f6f6f; margin-left: 3px; }

.pd-dots { display: flex; justify-content: center; margin: 30px 0 0 !important; padding: 0; list-style: none; }
.pd-dots li { flex: 0 0 auto; margin: 0 3.5px; }
.pd-dots button {
    display: block; width: 9px; height: 9px; padding: 0; border: 0;
    border-radius: 50%; background: var(--pd-dot); cursor: pointer;
    text-indent: -9999px; overflow: hidden;
    transition: background-color .2s ease;
}
.pd-dots button:focus { outline: none; }
.pd-dots li.is-active button { background: var(--pd-dot-active); }

/* ---------- Closing copy ---------- */
.pd-closing { padding: 90px 0 0; }
.pd-closing p { font-size: 17px; line-height: 24px; color: var(--pd-body); }
.pd-closing .pd-rule { margin-top: 70px; }

/* ---------- Appliance package ---------- */
.pd-appliances { padding: 58px 0 96px; display: flex; flex-wrap: wrap; }
.pd-wrap .pd-appliances h2 {
    font-size: 14px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--pd-ink);
    margin-bottom: 38px; flex: 0 0 100%;
}
.pd-brand { flex: 0 0 33.333%; max-width: 33.333%; padding-right: 24px; margin-bottom: 26px; }
.pd-wrap .pd-brand h3 {
    font-size: 14px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--pd-ink); margin-bottom: 14px;
}
.pd-brand ul li { font-size: 16px; line-height: 1.6; margin-bottom: 8px; }

.pd-supplier { flex: 0 0 100%; margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1220px) {
    .pd-arrow--prev { left: 14px; }
    .pd-arrow--next { right: 14px; }
}
@media (max-width: 991px) {
    .pd-wrap { --pd-hero-h: 420px; }
    .pd-wrap .pd-title { font-size: 32px; }
    .pd-dots { margin-top: 55px; }
    .pd-closing { padding-top: 80px; }
    .pd-closing .pd-rule { margin-top: 64px; }
}
@media (max-width: 767px) {
    .pd-wrap { --pd-hero-h: 280px; }
    .pd-titleblock { padding-top: 40px; }
    .pd-wrap .pd-title { font-size: 25px; }
    .pd-title-rule { margin-top: 24px; width: 160px; }
    .pd-intro { margin-top: 28px; font-size: 15px; line-height: 22px; text-align: left; }
    .pd-titleblock .pd-rule { margin-top: 34px; }
    .pd-gallery-wrap { padding-top: 36px; }
    .pd-arrow { width: 44px; height: 44px; margin-top: -22px; }
    .pd-dots { margin-top: 32px; }
    .pd-closing { padding-top: 46px; }
    .pd-closing p { font-size: 15px; line-height: 22px; }
    .pd-closing .pd-rule { margin-top: 46px; }
    .pd-appliances { padding: 40px 0 60px; }
    .pd-brand { flex: 0 0 100%; max-width: 100%; padding-right: 0; }
}

.pd-group { flex: 0 0 100%; max-width: 100%; margin-bottom: 46px; }
.pd-group:last-of-type { margin-bottom: 0; }
 
.pd-wrap .pd-group-title {
    font-size: 14px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--pd-ink);
    margin-bottom: 26px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pd-rule);
}
 
.pd-group-brands { display: flex; flex-wrap: wrap; }
.pd-group-brands .pd-brand { flex: 0 0 33.333%; max-width: 33.333%; padding-right: 24px; }
 
@media (max-width: 767px) {
    .pd-group { margin-bottom: 34px; }
    .pd-group-brands .pd-brand { flex: 0 0 100%; max-width: 100%; padding-right: 0; }
}


.pd-hero picture,
.pd-wrap .pd-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}
 