/* =========================================================
   Pandolfi — full-bleed layout (pre-hack Smart Slider look)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --pf-blue: #007bff;
  --pf-blue-dark: #0062cc;
  --pf-ink: #212529;
  --pf-muted: #6c757d;
  --pf-bg: #ffffff;
  --pf-bg-soft: #f7f7f7;
  --pf-footer: #3e3e3e;
  --pf-border: #e9ecef;
  --pf-max: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  margin: 0;
  padding: 0;
  width: 100%;
}

body.pandolfi-tpl {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  overflow-x: hidden;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pf-ink);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--pf-ink);
  line-height: 1.25;
}

a { color: var(--pf-blue); text-decoration: none; }
a:hover { color: var(--pf-blue-dark); }

img { max-width: 100%; height: auto; }

/* Kill any leftover framework width traps */
body.pandolfi-tpl .site-grid,
body.pandolfi-tpl .wrapper-static,
body.pandolfi-tpl .wrapper-fluid,
body.pandolfi-tpl .grid-child,
body.pandolfi-tpl .container-component,
body.pandolfi-tpl .container,
body.pandolfi-tpl .container-fluid {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---------- Top bar (full bleed) ---------- */
.pf-topbar-wrap,
.pf-topbar {
  width: 100%;
  background: var(--pf-blue);
  color: #fff;
}
.pf-topbar__inner {
  width: min(var(--pf-max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.55rem 0;
  font-size: 0.85rem;
  font-weight: 500;
}
.pf-topbar a { color: #fff !important; text-decoration: underline; }
.pf-topbar i { margin-right: 0.35rem; }

/* ---------- Header + MENU ---------- */
.pf-site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--pf-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.pf-header-bar { width: 100%; background: #fff; }
.pf-header-bar__inner {
  width: min(var(--pf-max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
  padding: 0.5rem 0;
}

.pf-logo img {
  display: block;
  max-height: 64px;
  width: auto;
}

.pf-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--pf-border);
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.pf-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--pf-ink);
}

.pf-mainnav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.pf-mainnav .mod-menu,
.pf-mainnav ul.mod-menu,
.pf-mainnav ul.nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pf-mainnav .mod-menu > li {
  position: relative;
  list-style: none;
}

.pf-mainnav .mod-menu > li > a,
.pf-mainnav .mod-menu > li > span,
.pf-mainnav .mod-menu > li > button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.7rem 0.85rem !important;
  color: var(--pf-ink) !important;
  font-family: Montserrat, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  background: transparent !important;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
}

.pf-mainnav .mod-menu > li > a:hover,
.pf-mainnav .mod-menu > li.active > a,
.pf-mainnav .mod-menu > li.current > a,
.pf-mainnav .mod-menu > li > button:hover {
  color: var(--pf-blue) !important;
}

.pf-mainnav .mod-menu .mod-menu,
.pf-mainnav .mod-menu .mod-menu__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--pf-border);
  box-shadow: 0 10px 28px rgba(0,0,0,.1);
  z-index: 1200;
  padding: 0.35rem 0;
  margin: 0;
  list-style: none;
  flex-direction: column !important;
}

.pf-mainnav .mod-menu > li:hover > .mod-menu,
.pf-mainnav .mod-menu > li:hover > .mod-menu__sub,
.pf-mainnav .mod-menu > li:focus-within > .mod-menu,
.pf-mainnav .mod-menu > li:focus-within > .mod-menu__sub {
  display: block !important;
}

.pf-mainnav .mod-menu .mod-menu a,
.pf-mainnav .mod-menu .mod-menu__sub a {
  display: block;
  padding: 0.55rem 1rem !important;
  color: var(--pf-ink) !important;
  font-size: 0.88rem;
  white-space: normal;
}

.pf-mainnav .mod-menu .mod-menu a:hover,
.pf-mainnav .mod-menu .mod-menu__sub a:hover {
  background: var(--pf-blue) !important;
  color: #fff !important;
}

/* ---------- Hero slider (full bleed) ---------- */
.pf-banner,
.pf-slider {
  width: 100%;
}

.pf-slider {
  position: relative;
  min-height: min(72vh, 620px);
  overflow: hidden;
  background: #1a1f26;
}

.pf-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
  display: grid;
  align-items: center;
  background-color: #1a1f26;
  background-position: center 25%;
  background-size: cover;
  background-repeat: no-repeat;
}

.pf-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,24,30,.78) 0%, rgba(20,24,30,.4) 48%, rgba(20,24,30,.18) 100%);
}

.pf-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.pf-slide__inner {
  position: relative;
  z-index: 1;
  width: min(var(--pf-max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.pf-slide h1,
.pf-slide h2 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0 0 1.25rem;
  max-width: 16ch;
  text-transform: uppercase;
}

.pf-slide__lead {
  max-width: 42ch;
  margin: 0 0 1.5rem;
  color: rgba(255,255,255,.92);
  font-size: 1.05rem;
}

.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.6rem;
  background: var(--pf-blue);
  color: #fff !important;
  font-family: Montserrat, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 1px solid transparent;
  transition: background .2s ease, transform .2s ease;
}
.pf-btn:hover { background: var(--pf-blue-dark); color: #fff !important; transform: translateY(-1px); }
.pf-btn--ghost { background: transparent; border-color: rgba(255,255,255,.8); }
.pf-btn--ghost:hover { background: rgba(255,255,255,.12); }

.pf-slider__prev,
.pf-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 0;
  background: rgba(0, 90, 200, .85);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.pf-slider__prev { left: 0; }
.pf-slider__next { right: 0; }
.pf-slider__prev:hover,
.pf-slider__next:hover { background: var(--pf-blue); }

.pf-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.1rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .55rem;
}
.pf-slider__dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.pf-slider__dots button.is-active { background: var(--pf-blue); border-color: var(--pf-blue); }

/* ---------- Intro / services ---------- */
.pf-intro {
  width: min(var(--pf-max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.25rem 0 1.5rem;
  text-align: center;
}
.pf-intro h2 {
  margin: 0 0 .85rem;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}
.pf-intro p { margin: 0 auto 0.85rem; max-width: 70ch; color: var(--pf-muted); }
.pf-intro ul {
  list-style: none;
  margin: 1.25rem auto 0;
  padding: 0;
  max-width: 70ch;
  text-align: left;
}
.pf-intro li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: .55rem;
  color: var(--pf-ink);
}
.pf-intro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .55rem;
  height: .55rem;
  background: var(--pf-blue);
}

.pf-bottom-a,
.pf-services {
  width: 100%;
  background: var(--pf-bg-soft);
}
.pf-services { padding: 2.5rem 0 3rem; }
.pf-services__wrap {
  width: min(var(--pf-max), calc(100% - 2rem));
  margin: 0 auto;
}
.pf-services h2 {
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  margin: 0 0 1.75rem;
}
.pf-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
.pf-service {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  background: #fff;
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
  text-align: center;
  color: var(--pf-ink) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pf-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 .5rem 1rem rgba(0,123,255,.16);
  color: var(--pf-ink) !important;
}
.pf-service i { font-size: 2.3rem; color: var(--pf-blue); }
.pf-service .title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.35;
}

/* Gallery */
.pf-gallery-section {
  width: 100%;
  padding: 2.75rem 0;
  background: #fff;
}
.pf-gallery-section__inner {
  width: min(var(--pf-max), calc(100% - 2rem));
  margin: 0 auto;
}
.pf-gallery-section h2 {
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}
.pf-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin: 0;
}
.pf-gallery a { display: block; overflow: hidden; }
.pf-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.pf-gallery a:hover img { transform: scale(1.05); }

/* CTA band */
.pf-cta {
  width: 100%;
  background: var(--pf-blue);
  color: #fff;
  text-align: center;
  padding: 2.75rem 1rem;
}
.pf-cta h2 { color: #fff; margin: 0 0 .75rem; text-transform: uppercase; }
.pf-cta p { margin: 0 auto 1.25rem; max-width: 50ch; opacity: .95; }
.pf-cta .pf-btn { background: #fff; color: var(--pf-blue) !important; }
.pf-cta .pf-btn:hover { background: #f0f0f0; }

/* ---------- Main content ---------- */
.pf-main { width: 100%; background: #fff; }
.pf-main__inner {
  width: min(var(--pf-max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
}
.pf-main--home .pf-main__inner { padding: 0; max-width: none; width: 100%; }

.item-page .page-header h1,
.blog .page-header h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.btn-primary,
.com-contact button[type="submit"] {
  background: var(--pf-blue) !important;
  border-color: var(--pf-blue) !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  font-weight: 500;
  font-family: Montserrat, sans-serif;
}
.com-contact .contact-form,
.com-contact .contact-address,
.com-contact .contact-miscinfo {
  background: #fff;
  border: 1px solid var(--pf-border);
  border-top: 3px solid var(--pf-blue);
  padding: 1.5rem;
}

.mod-breadcrumbs { font-size: .85rem; color: var(--pf-muted); margin-bottom: 1rem; }

.blog-item {
  border: 1px solid var(--pf-border);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.pf-site-footer {
  width: 100%;
  background: var(--pf-footer);
  color: rgba(255,255,255,.88);
}
.pf-footer-grid {
  width: min(var(--pf-max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  padding: 2.75rem 0 1.25rem;
}
.pf-footer-brand img {
  filter: brightness(0) invert(1);
  max-height: 56px;
  margin-bottom: 1rem;
}
.pf-footer-brand p,
.pf-footer-contacts p { margin: 0 0 .5rem; font-size: .95rem; }
.pf-footer-contacts .pf-label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .04em;
  margin-bottom: .75rem;
}
.pf-site-footer a { color: #fff !important; }
.mod-menu.policy-nav,
.pf-site-footer .mod-menu {
  width: min(var(--pf-max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.pf-site-footer .mod-menu a { color: rgba(255,255,255,.85) !important; font-size: .9rem; }
.pf-copy {
  width: min(var(--pf-max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 1.5rem;
  text-align: center;
  font-size: .75rem;
  color: rgba(255,255,255,.65);
}

@media (max-width: 991px) {
  .pf-nav-toggle { display: inline-flex; margin-left: auto; }
  .pf-mainnav {
    display: none;
    flex: 1 1 100%;
    justify-content: flex-start;
  }
  .pf-mainnav.is-open { display: block; }
  .pf-mainnav .mod-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    padding: .5rem 0 1rem;
  }
  .pf-mainnav .mod-menu > li > a,
  .pf-mainnav .mod-menu > li > button {
    width: 100%;
    justify-content: space-between;
  }
  .pf-mainnav .mod-menu .mod-menu,
  .pf-mainnav .mod-menu .mod-menu__sub {
    position: static;
    box-shadow: none;
    border: 0;
    max-height: none;
    display: none;
  }
  .pf-mainnav .mod-menu > li:focus-within > .mod-menu__sub,
  .pf-mainnav .mod-menu > li:hover > .mod-menu__sub {
    display: block !important;
  }
  .pf-services__grid { grid-template-columns: repeat(2, 1fr); }
  .pf-gallery { grid-template-columns: repeat(2, 1fr); }
  .pf-slider__prev,
  .pf-slider__next { display: none; }
}

@media (max-width: 575px) {
  .pf-services__grid { grid-template-columns: 1fr; }
  .pf-footer-grid { grid-template-columns: 1fr; }
  .pf-slider { min-height: 58vh; }
  .pf-gallery { grid-template-columns: 1fr 1fr; }
}

/* ---------- Hero: less crop ---------- */
.pf-slider {
  min-height: 0;
  aspect-ratio: 21 / 9;
  max-height: 560px;
}
.pf-slide {
  background-size: cover;
  background-position: center center;
}
.pf-slide.is-active { min-height: 100%; }

@media (max-width: 767px) {
  .pf-slider {
    aspect-ratio: 4 / 5;
    max-height: 520px;
  }
  .pf-slide { background-position: 70% center; }
}

/* ---------- Article images: full width, no float ---------- */
.item-page img,
.item-page .float-start,
.item-page .float-end,
.item-page .pull-left,
.item-page .pull-right,
.blog-item img,
.com-content-article img {
  float: none !important;
  display: block;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  margin: 1.25rem 0 1.5rem !important;
}
.item-page figure,
.item-page .image-left,
.item-page .image-right,
.item-page .img_caption {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 1.25rem 0 1.5rem !important;
}
.item-page .image-left img,
.item-page .image-right img {
  width: 100% !important;
}

/* ---------- Breadcrumbs inline ---------- */
.pf-breadcrumbs {
  margin: 0 0 1.25rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--pf-border);
}
.pf-breadcrumbs__list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pf-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--pf-muted);
}
.pf-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 0.55rem;
  color: #adb5bd;
}
.pf-breadcrumbs__item a { color: var(--pf-muted); }
.pf-breadcrumbs__item a:hover { color: var(--pf-blue); }
.pf-breadcrumbs__item.is-current span { color: var(--pf-ink); font-weight: 500; }

/* Kill default breadcrumb column layout */
.mod-breadcrumbs,
.mod-breadcrumbs__wrapper,
ol.breadcrumb {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.mod-breadcrumbs li,
.breadcrumb-item {
  display: inline-flex !important;
  float: none !important;
}

/* ---------- News grid ---------- */
.pf-news__title {
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.pf-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.pf-news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pf-border);
  overflow: hidden;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pf-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.08);
}
.pf-news-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9ecef;
}
.pf-news-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  margin: 0 !important;
  display: block;
}
.pf-news-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #007bff 0%, #003d7a 100%);
}
.pf-news-card__body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.pf-news-card__date {
  font-size: .78rem;
  color: var(--pf-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pf-news-card__title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}
.pf-news-card__title a { color: var(--pf-ink); }
.pf-news-card__title a:hover { color: var(--pf-blue); }
.pf-news-card__excerpt {
  color: var(--pf-muted);
  font-size: .92rem;
  flex: 1;
}
.pf-news-card__excerpt p { margin: 0 0 .5rem; }
.pf-news-card__excerpt img { display: none !important; }
.pf-news-card__more {
  align-self: flex-start;
  margin-top: .35rem;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--pf-blue) !important;
}
@media (max-width: 991px) {
  .pf-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .pf-news__grid { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.pf-contact__hero { margin-bottom: 1.75rem; }
.pf-contact__eyebrow {
  display: inline-block;
  margin: 0 0 .75rem;
  padding: .3rem .7rem;
  background: var(--pf-blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pf-contact__title {
  margin: 0 0 .65rem;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}
.pf-contact__lead {
  margin: 0;
  max-width: 55ch;
  color: var(--pf-muted);
}
.pf-contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}
.pf-contact__card {
  background: #fff;
  border: 1px solid var(--pf-border);
  border-top: 3px solid var(--pf-blue);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.pf-contact__card h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  text-transform: uppercase;
}
.pf-contact__row {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin: 0 0 .85rem;
  line-height: 1.45;
}
.pf-contact__row i {
  color: var(--pf-blue);
  margin-top: .2rem;
  width: 1.1rem;
  text-align: center;
}
.pf-contact__map {
  border: 1px solid var(--pf-border);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.pf-contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.pf-contact__form-intro {
  margin: -.35rem 0 1.1rem;
  color: var(--pf-muted);
  font-size: .95rem;
}
.pf-contact .control-group,
.pf-contact .mb-3 {
  margin-bottom: 1rem;
}
.pf-contact label {
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: .35rem;
}
.pf-contact input[type="text"],
.pf-contact input[type="email"],
.pf-contact input[type="tel"],
.pf-contact textarea,
.pf-contact select {
  width: 100%;
  border: 1px solid #ced4da;
  border-radius: 0;
  padding: .7rem .85rem;
  font-family: Montserrat, sans-serif;
}
.pf-contact textarea { min-height: 140px; }
.pf-contact button[type="submit"],
.pf-contact .btn-primary {
  width: 100%;
  padding: .95rem 1.25rem !important;
}
@media (max-width: 899px) {
  .pf-contact__grid { grid-template-columns: 1fr; }
}

/* ---------- Studio page extras ---------- */
.pf-studio-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 1.75rem 0 2rem;
}
.pf-studio-gallery a { display: block; overflow: hidden; }
.pf-studio-gallery img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover;
  margin: 0 !important;
  transition: transform .35s ease;
}
.pf-studio-gallery a:hover img { transform: scale(1.04); }
@media (max-width: 767px) {
  .pf-studio-gallery { grid-template-columns: 1fr 1fr; }
}

/* ---------- Lightbox ---------- */
.pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 14, 20, .9);
  display: grid;
  place-items: center;
  padding: 2rem;
}
.pf-lightbox[hidden] { display: none !important; }
.pf-lightbox__img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.pf-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* Article lead images: full width but not enormous height */
.item-page .item-image,
.item-page .item-image img,
.item-page .pull-none {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 1.5rem !important;
}
.item-page .item-image img {
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}
