/* Protecta V11 — a compact, shared scale for every public page.
   Panels stay content-sized: zoom, translated text and longer forms can grow. */
body.pd-v11 {
  --pd-content-width: 1400px;
  --pd-page-gutter: clamp(16px, 2.6vw, 36px);
  --pd-header-height: 108px;
  --v11-space: clamp(28px, 3.4vw, 40px);
  --v11-gap: 20px;
  --v11-radius: 14px;
  --v11-line: #dfe7ed;
  font-size: 15px;
  line-height: 1.6;
  background: #fff;
}
/* Match the product container to the common header, including very wide screens. */
body.pd-v11[data-page='produs'] main .container {
  max-width: var(--pd-content-width);
}
body.pd-v11 :is(main, section, article, aside, form, fieldset, figure) {
  min-width: 0;
}
body.pd-v11 :is(h1, h2, h3) {
  text-wrap: balance;
}
body.pd-v11 :is(img, video, canvas, iframe) {
  max-width: 100%;
}
body.pd-v11 :is(button, .button, .btn, .sf7-button) {
  min-height: 44px;
}
body.pd-v11 :is(input, select, textarea) {
  max-width: 100%;
}
body.pd-v11 :is(.button, .btn, .sf7-button) {
  border-radius: 9px;
}
body.pd-v11 .button {
  padding: 11px 18px;
  font-size: 14px;
  line-height: 1.45;
}
body.pd-v11 :is(.breadcrumb, .shop-breadcrumb) {
  margin-bottom: 16px;
  line-height: 1.5;
}
body.pd-v11 .v5-header .v5-header-main {
  min-height: 64px;
  padding-block: 8px;
  gap: clamp(16px, 2vw, 28px);
}
body.pd-v11 .v5-header .v5-desktop-nav {
  gap: clamp(14px, 1.7vw, 24px);
}
body.pd-v11 .v5-quick-booking {
  min-height: 44px;
  padding-block: 10px;
}
body.pd-v11 .v5-header .v5-search {
  background: #f5f7f9;
}
body.pd-v11 .v5-header .v5-mobile-nav a {
  min-height: 44px;
}
body.pd-v11 main > .section {
  padding-block: var(--v11-space);
}
body.pd-v11 .pc-main > .pc-no-top {
  padding-top: 0;
}
body.pd-v11 .v9-presentation {
  --v9-space: var(--v11-space);
  --v9-gap: var(--v11-gap);
  --v9-radius: var(--v11-radius);
}
body.pd-v11 :is(.v5-section-heading, .content-v8-heading) {
  margin-bottom: 20px;
  gap: 16px;
}
body.pd-v11
  :is(
    .v5-section-heading h2,
    .v5-editorial h2,
    .v5-workshop-copy h2,
    .v5-home-contact h2,
    .content-v8-heading h2
  ) {
  font-size: clamp(26px, 2.35vw, 33px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}
body.pd-v11 :is(.v5-content-actions, .v9-home-actions) {
  gap: 10px;
}
body.pd-v11 :is(.v5-content-actions, .v9-home-actions) .button {
  min-height: 46px;
  padding: 11px 18px;
}

/* Hero: the brand's original navy/orange presence, grounded in an actual work. */
body.pd-v11 .v9-home-hero {
  padding-block: 30px;
  background: radial-gradient(ellipse at 75% 15%, #284864 0, #16334e 35%, #102940 75%);
  border: 0;
  color: #fff;
}
body.pd-v11 .v9-home-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 54px);
}
body.pd-v11 .v9-home-hero-copy {
  padding-block: 6px;
}
body.pd-v11 .v9-home-hero-copy > .v5-eyebrow {
  color: #d9e5ed;
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
}
body.pd-v11 .v9-home-hero-copy h1 {
  color: #fff;
  font-size: clamp(40px, 4.3vw, 59px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0 0 18px;
}
body.pd-v11 .v9-home-hero-copy h1 > span {
  color: #ff9950;
}
body.pd-v11 .v9-home-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #d8e3eb;
  max-width: 46ch;
  margin: 0 0 22px;
}
body.pd-v11 .v9-home-actions .button--outline {
  color: #fff;
  border-color: #8294a5;
  background: transparent;
}
body.pd-v11 .v9-home-actions .button--outline:hover {
  background: #ffffff14;
  border-color: #fff;
}
body.pd-v11 .v9-home-paths {
  margin-top: 20px;
  padding-top: 10px;
  gap: 4px 18px;
  border-color: #ffffff26;
}
body.pd-v11 .v9-home-paths a {
  color: #dde6ed;
  min-height: 44px;
  font-size: 12px;
}
body.pd-v11 .v9-home-paths a:hover {
  color: #fff;
}
body.pd-v11 .v9-home-feature {
  position: relative;
  border: 1px solid #ffffff30;
  border-radius: 16px;
  box-shadow: 0 16px 32px #07172536;
  background: #17324b;
}
body.pd-v11 .v9-home-feature-image > img {
  height: clamp(285px, 27vw, 355px);
  object-fit: cover;
  object-position: center 58%;
}
body.pd-v11 .v9-home-photo-label {
  top: 15px;
  left: 15px;
  max-width: calc(100% - 30px);
  font-size: 10px;
  padding: 7px 10px;
}
body.pd-v11 .v9-home-feature-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 20px 18px;
  color: #fff;
  background: linear-gradient(transparent, #071c31e8);
}
body.pd-v11 .v9-home-feature-caption > div > span {
  color: #d5e3ed;
}
body.pd-v11 .v9-home-feature-caption strong {
  font-size: 17px;
}
body.pd-v11 .v9-home-feature-arrow {
  background: #ffffffee;
  color: #142e47;
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}
body.pd-v11 .v5-purpose-strip > .container {
  min-height: 54px;
  padding-block: 5px;
  gap: 8px 20px;
}
body.pd-v11 .v5-purpose-strip a {
  min-height: 44px;
}
body.pd-v11 .v5-categories {
  gap: 14px;
}
body.pd-v11 .v5-category {
  gap: 10px 6px;
}
body.pd-v11 .v5-category > div {
  aspect-ratio: 1.55;
  border-radius: 12px;
  padding: 12px;
}
body.pd-v11 .v5-category > span {
  font-size: 14px;
}
body.pd-v11 .v5-personalization-panel {
  border-radius: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.pd-v11 .v5-personalization-copy {
  padding: 28px;
}
body.pd-v11 .v5-personalization-copy h2 {
  font-size: clamp(28px, 2.5vw, 34px);
  margin-bottom: 14px;
}
body.pd-v11 .v5-personalization-copy > p:not(.v5-eyebrow) {
  margin-bottom: 16px;
}
body.pd-v11 .v5-process {
  margin-bottom: 18px;
  gap: 12px;
}
body.pd-v11 .v5-home .pd-home-works {
  gap: 20px;
}
body.pd-v11 .v5-home .pd-home-works > a > img {
  aspect-ratio: 2.25;
}
body.pd-v11 .v5-home .pd-home-works > a > h3 {
  margin-block: 14px 7px;
  font-size: 21px;
}
body.pd-v11 .v5-home .pd-home-works > a > p {
  font-size: 14px;
}
body.pd-v11 .v5-workshop-grid {
  gap: 32px;
}
body.pd-v11 .v5-workshop-photo > img {
  aspect-ratio: 1.95;
}
body.pd-v11 .v5-service-panel {
  padding: 24px;
  gap: 22px;
}
body.pd-v11 .v5-service-panel h2 {
  font-size: 27px;
}
body.pd-v11 .v5-home-contact > .container {
  gap: 24px;
}

/* Services, machinery and portfolio share a predictable two-column rhythm. */
body.pd-v11 :is(.v5-page-intro, .v5-service-hero) {
  padding-block: 20px 28px;
}
body.pd-v11 :is(.v5-page-intro, .v5-service-hero) .breadcrumb {
  margin-bottom: 18px;
}
body.pd-v11 :is(.v5-page-intro h1, .v5-service-copy h1, .v5-contact-intro h1) {
  font-size: clamp(31px, 3vw, 41px);
  line-height: 1.13;
  margin-bottom: 16px;
}
body.pd-v11 :is(.v5-service-layout, .v5-editorial) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
body.pd-v11 .v5-service-copy > p:not(.pd-eyebrow) {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 18px;
}
body.pd-v11 :is(.v5-service-photo > img, .v5-editorial > figure > img) {
  aspect-ratio: 1.8;
  max-height: 325px;
  object-fit: cover;
}
body.pd-v11 .v5-content-tags {
  margin-top: 14px;
}
body.pd-v11 :is(.v5-detail-grid, .v5-services-grid, .v5-tech-grid) {
  gap: 20px;
  align-items: stretch;
}
body.pd-v11 .v5-detail-card {
  padding: 22px;
}
body.pd-v11 .v5-detail-card .v5-card-index {
  margin-bottom: 12px;
}
body.pd-v11 .v5-detail-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
body.pd-v11 .v5-detail-card p {
  font-size: 15px;
  line-height: 1.6;
}
body.pd-v11 .v5-service-card {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
body.pd-v11 .v5-service-card-image {
  min-height: 0;
  height: 100%;
}
body.pd-v11 .v5-service-card-copy {
  display: flex;
  flex-direction: column;
  padding: 22px;
  min-height: 0;
}
body.pd-v11 .v5-service-card h2 {
  font-size: 23px;
}
body.pd-v11 .v5-service-card p {
  font-size: 14px;
  line-height: 1.65;
}
body.pd-v11 .v5-card-link {
  margin-top: auto;
}
body.pd-v11 :is(.v5-content-cta, .v5-service-callout, .auto-v5-cross) {
  padding: 24px 28px;
  gap: 24px;
  border-radius: 14px;
}
body.pd-v11 :is(.v5-content-cta h2, .v5-service-callout h2) {
  font-size: clamp(26px, 2.3vw, 31px);
}
body.pd-v11 .v5-tech-card {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
body.pd-v11 .v5-tech-card > img {
  min-height: 190px;
}
body.pd-v11 .v5-tech-card > div {
  padding: 22px;
}
body.pd-v11 .v5-tech-card h3 {
  font-size: 21px;
}
body.pd-v11 .v5-tech-card:last-child {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 3.15fr);
}
body.pd-v11 .pd-gallery-toolbar {
  padding: 16px;
  margin-bottom: 20px;
  gap: 16px;
}
body.pd-v11 .pd-gallery-grid {
  gap: 20px;
}
body.pd-v11 .pd-gallery-card > div {
  aspect-ratio: 1.7;
}
body.pd-v11 .pd-gallery-card > h2 {
  font-size: 20px;
}

/* Catalog collections and editorial blocks remain under the owner's control. */
body.pd-v11 .commerce-catalog-intro {
  padding-top: 18px;
}
body.pd-v11 .commerce-title-row {
  padding-bottom: 16px;
  gap: 20px;
}
body.pd-v11 .commerce-title-row h1 {
  font-size: clamp(29px, 2.8vw, 38px);
  margin: 4px 0 8px;
}
body.pd-v11 .commerce-category-landing {
  padding-block: 24px 36px;
}
body.pd-v11 .commerce-category-grid {
  gap: 18px;
}
body.pd-v11 .commerce-category-image {
  aspect-ratio: 2;
}
body.pd-v11 .commerce-category-copy {
  padding: 18px;
}
body.pd-v11 .commerce-category-copy h3 {
  font-size: 20px;
}
body.pd-v11 .commerce-category-copy p {
  line-height: 1.6;
}
body.pd-v11 .shop-catalog-section {
  padding-block: 22px 36px;
}
body.pd-v11 .shop-catalog-layout {
  gap: 20px;
}
body.pd-v11 .shop-product-grid {
  gap: 16px;
}
body.pd-v11 .shop-product-visual {
  aspect-ratio: 1.2;
}
body.pd-v11 .shop-product-info {
  padding: 14px;
}
body.pd-v11 .shop-product-info h3 {
  font-size: 15px;
  line-height: 1.4;
  min-height: 2.8em;
}
body.pd-v11 .shop-product-price {
  font-size: 21px;
}
body.pd-v11 .shop-product-bottom {
  padding-top: 10px;
}
body.pd-v11 .shop-toolbar {
  margin-bottom: 16px;
}
body.pd-v11 .shop-active-filters button {
  min-height: 44px;
}
body.pd-v11 .shop-category-tree button {
  min-height: 44px;
}
body.pd-v11 .sf7-root {
  padding-block: 20px 28px;
}
body.pd-v11 .sf7-section {
  margin-bottom: 28px;
}
body.pd-v11 .sf7-root .sf7-hero {
  padding: 28px;
  border-radius: 14px;
}
body.pd-v11 :is(.sf7-root h1, #category-page-v8 .sf7-hero h1) {
  font-size: clamp(29px, 2.8vw, 38px);
}
body.pd-v11 .sf7-root h2 {
  font-size: clamp(25px, 2.3vw, 32px);
}
body.pd-v11 .sf7-hero-image {
  aspect-ratio: 1.9;
  max-height: 275px;
}
body.pd-v11 .sf7-with-image {
  gap: 24px;
}
body.pd-v11 .sf7-grid {
  gap: 18px;
}
body.pd-v11 .sf7-category-copy {
  padding: 18px;
}
body.pd-v11 .sf7-category-photo {
  aspect-ratio: 2;
}
body.pd-v11 .sf7-product-photo {
  aspect-ratio: 1.2;
}
body.pd-v11 :is(.sf7-banner, .sf7-benefit) {
  padding: 24px;
}
body.pd-v11 .content-v8-related {
  margin-block: 32px;
}
body.pd-v11 .content-v8-group + .content-v8-group {
  margin-top: 28px;
}
body.pd-v11 :is(.content-v8-guides, .content-v8-projects) {
  gap: 18px;
}
body.pd-v11 .content-v8-project-image {
  aspect-ratio: 1.8;
}
body.pd-v11 :is(.content-v8-project-copy, .content-v8-guide-card > div) {
  padding: 18px;
}
body.pd-v11 .content-v8-guide-page {
  padding-block: 24px 36px;
}

body.pd-v11 .content-v8-guide-article > header {
  margin-block: 18px 24px;
}
body.pd-v11 :is(.content-v8-guide-article h1, .content-v8-guide-empty h1) {
  font-size: clamp(31px, 3.2vw, 43px);
  line-height: 1.15;
  margin-block: 12px 16px;
}
body.pd-v11 .content-v8-guide-summary {
  font-size: 18px;
}
body.pd-v11 .content-v8-guide-cover {
  margin-bottom: 26px;
}
body.pd-v11 .content-v8-guide-cover img {
  max-height: 360px;
}
body.pd-v11 .content-v8-guide-body {
  font-size: 16px;
  line-height: 1.8;
}
body.pd-v11 .content-v8-guide-body p {
  margin-bottom: 20px;
}
body.pd-v11 .content-v8-guide-footer {
  margin-top: 30px;
  padding: 22px;
}
body.pd-v11 main > .section > .narrow > h1 {
  font-size: clamp(32px, 3.4vw, 45px);
  line-height: 1.15;
}

/* Contact and project requests: compact introductions, spacious working fields. */
body.pd-v11 .v5-contact-intro {
  padding-block: 20px 24px;
}
body.pd-v11 .v5-contact-intro .breadcrumb {
  margin-bottom: 16px;
}
body.pd-v11 .v5-contact-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 22px;
}
body.pd-v11 .contact-questionnaire {
  padding: 24px;
}
body.pd-v11 :is(.contact-questionnaire h2, .v5-contact-direct h2) {
  font-size: 25px;
  margin-bottom: 12px;
}
body.pd-v11 .contact-form-intro {
  line-height: 1.6;
  margin-bottom: 14px;
}
body.pd-v11 .contact-form-grid {
  gap: 14px 16px;
}
body.pd-v11 .contact-field :is(input:not([type='file']), textarea, select) {
  min-height: 44px;
  padding: 10px 12px;
}
body.pd-v11 .contact-upload {
  padding: 16px;
}
body.pd-v11 .v5-contact-direct {
  padding: 24px;
}
body.pd-v11 .v5-contact-details {
  padding-inline: 24px;
}
body.pd-v11 .v5-contact-detail {
  padding-block: 18px;
}
body.pd-v11 .v5-contact-detail .text-link {
  min-height: 44px;
}
body.pd-v11 .pr10-page {
  padding-bottom: 36px;
}
body.pd-v11 .pr10-intro {
  padding-block: 20px 24px;
}
body.pd-v11 .pr10-intro .breadcrumb {
  margin-bottom: 16px;
}
body.pd-v11 .pr10-intro h1 {
  font-size: clamp(31px, 3vw, 41px);
}
body.pd-v11 .pr10-intro-grid {
  gap: 28px;
}
body.pd-v11 .pr10-layout {
  gap: 22px;
}
body.pd-v11 .pr10-card {
  padding: 24px;
  border-radius: 14px;
}
body.pd-v11 .pr10-step-title {
  margin-bottom: 20px;
}
body.pd-v11 .pr10-contact-heading {
  margin-top: 24px;
  padding-top: 24px;
}
body.pd-v11 .pr10-item {
  padding: 16px;
}
body.pd-v11 .pr10-field {
  margin-bottom: 14px;
}
body.pd-v11 .pr10-field :is(input, select, textarea) {
  padding: 10px 12px;
  min-height: 44px;
}
body.pd-v11 .pr10-remove {
  min-height: 44px;
  padding-block: 10px;
}

/* Calendar is immediately visible; details grow below the first screen as needed. */
body.pd-v11 .bv-heading {
  padding-block: 18px 22px;
}
body.pd-v11 .bv-heading .breadcrumb {
  margin-bottom: 14px;
}
body.pd-v11 .bv-heading h1 {
  font-size: clamp(29px, 2.8vw, 39px);
  line-height: 1.15;
}
body.pd-v11 .bv-heading-row {
  gap: 24px;
}
body.pd-v11 .service-v7-points {
  padding-top: 12px;
}
body.pd-v11 .bv-layout {
  gap: 20px;
  align-items: stretch;
}
body.pd-v11 :is(.bv-calendar-panel, .bv-form-panel, .bv-manage) {
  padding: 22px;
  border-radius: 14px;
}
body.pd-v11 .bv-calendar-panel {
  align-self: start;
}
body.pd-v11 .bv-welcome {
  min-height: 0;
  height: 100%;
  padding: 24px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body.pd-v11 .bv-welcome h2 {
  font-size: 29px;
}
body.pd-v11 :is(.bv-calendar-nav, .bv-panel-label) {
  margin-bottom: 16px;
}
body.pd-v11 .bv-calendar-nav h2 {
  font-size: 23px;
}
body.pd-v11 .bv-day {
  min-height: 44px;
  height: 44px;
  aspect-ratio: auto;
}
body.pd-v11 .bv-calendar-legend {
  padding-block: 14px;
  gap: 10px 16px;
}
body.pd-v11 .bv-calendar-help {
  margin-top: 0;
  padding-top: 12px;
}
body.pd-v11 .bv-bottom-note {
  padding-block: 12px 26px;
}
body.pd-v11 .auto-v5-services {
  gap: 20px;
  padding-block: 12px 32px;
}
body.pd-v11 .auto-v5-services > article {
  padding: 22px;
}
body.pd-v11 .auto-v5-services h2 {
  font-size: 24px;
}
body.pd-v11 .auto-v5-how {
  padding-block: 32px;
  gap: 28px;
}
body.pd-v11 .auto-v5-how h2 {
  font-size: 31px;
}
body.pd-v11 .auto-v5-cross {
  margin-bottom: 32px;
}

/* Checkout, customer area, legal reading and customization use the same scale. */
body.pd-v11 :is(.shop-order-hero, .pc-main .pc-account-heading) {
  padding-block: 22px;
}
body.pd-v11 :is(.shop-order-hero h1, .pc-main .pc-account-heading h1) {
  font-size: clamp(29px, 2.8vw, 39px);
}
body.pd-v11 :is(.shop-order-section, .shop-cart-section, .shop-checkout-section) {
  padding-block: 24px 36px;
}
body.pd-v11
  :is(
    .shop-cart-layout,
    .shop-checkout-layout,
    .pc-auth-layout,
    .pc-account-layout,
    .pc-order-layout
  ) {
  gap: 22px;
}
body.pd-v11 :is(.shop-summary, .shop-form-panel, .pc-main .pc-card) {
  padding: 22px;
  border-radius: 14px;
}
body.pd-v11 .shop-cart-item {
  padding: 18px;
  gap: 16px;
}
body.pd-v11 .pc-auth-note h2 {
  font-size: clamp(26px, 2.8vw, 37px);
  line-height: 1.2;
}
body.pd-v11 .pd-legal {
  width: calc(100% - var(--pd-page-gutter) * 2);
  max-width: 900px;
  padding: 24px 0 40px;
}
body.pd-v11 .pd-legal h1 {
  font-size: clamp(30px, 3vw, 40px);
  margin: 12px 0 22px;
}
body.pd-v11 .pd-legal h2 {
  font-size: 22px;
  margin-top: 26px;
}
body.pd-v11 .pd-legal :is(p, li) {
  font-size: 15px;
  line-height: 1.75;
}
body.pd-v11 :is(.studio-page, .quote-page) {
  padding-block: 22px 36px;
}
body.pd-v11 :is(.studio-heading, .quote-heading) {
  margin-bottom: 22px;
}
body.pd-v11 :is(.studio-heading h1, .quote-heading h1) {
  font-size: clamp(30px, 3vw, 41px);
  line-height: 1.15;
  margin-bottom: 14px;
}
body.pd-v11 :is(.studio-heading .breadcrumb, .quote-heading .breadcrumb) {
  margin-bottom: 16px;
}
body.pd-v11 .quote-layout {
  gap: 22px;
}
body.pd-v11 :is(.studio-controls, .quote-aside, #quote-form) {
  padding: 24px;
}
body.pd-v11 .category-choices {
  gap: 12px;
  margin-top: 18px;
}
body.pd-v11 .category-choice-body {
  padding: 18px;
  min-height: 0;
  height: 100%;
}
body.pd-v11 .category-choice-body > .icon {
  margin-bottom: 12px;
}
body.pd-v11 .category-choice-body > small {
  font-size: 13px;
  line-height: 1.55;
}
body.pd-v11 .wizard-progress {
  padding: 16px 22px;
}
body.pd-v11 .wizard-step > h2 {
  font-size: 25px;
}
body.pd-v11 .site-footer.v5-footer {
  padding-top: 30px;
}
body.pd-v11 .v5-footer .footer-grid {
  gap: 24px;
  padding-bottom: 24px;
}
body.pd-v11 .v5-footer .footer-bottom {
  padding-block: 18px;
}
body.pd-v11 .v5-footer .social-links a {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 1180px) {
  body.pd-v11 .v9-home-hero-grid {
    gap: 28px;
  }
  body.pd-v11 .v9-home-hero-copy h1 {
    font-size: clamp(38px, 4.5vw, 51px);
  }
  body.pd-v11 .v9-home-feature-image > img {
    height: 330px;
  }
  body.pd-v11 .v5-service-card {
    grid-template-columns: minmax(0, 1fr);
  }
  body.pd-v11 .v5-service-card-image {
    height: auto;
    aspect-ratio: 2.2;
  }
  body.pd-v11 .v5-tech-card {
    grid-template-columns: minmax(0, 1fr);
  }
  body.pd-v11 .v5-tech-card > img {
    min-height: 0;
    height: auto;
    aspect-ratio: 2;
  }
  body.pd-v11 .v5-tech-card:last-child {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  body.pd-v11 .v5-tech-card:last-child > img {
    height: 100%;
    aspect-ratio: auto;
  }
}
@media (max-width: 1080px) {
  body.pd-v11 {
    --pd-header-height: 64px;
  }
  body.pd-v11 .v5-header .v5-header-main {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  body.pd-v11 {
    --v11-space: 32px;
    --v11-gap: 18px;
  }
  body.pd-v11 .v9-home-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  body.pd-v11 .v9-home-hero-copy h1 {
    font-size: clamp(37px, 5vw, 44px);
  }
  body.pd-v11 .v9-home-feature-image > img {
    height: 350px;
    aspect-ratio: auto;
  }
  body.pd-v11 .v9-home-feature-caption {
    padding-inline: 16px;
  }
  body.pd-v11 .v9-home-feature-caption strong {
    font-size: 15px;
  }
  body.pd-v11 .v9-home-paths {
    column-gap: 14px;
  }
  body.pd-v11 .v5-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.pd-v11 .v5-category > div {
    aspect-ratio: 1.9;
  }
  body.pd-v11 :is(.v5-service-layout, .v5-editorial, .v5-workshop-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  body.pd-v11 :is(.v5-service-photo > img, .v5-editorial > figure > img, .v5-workshop-photo > img) {
    aspect-ratio: 1.15;
    max-height: none;
  }
  body.pd-v11 .v5-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.pd-v11 .v5-detail-card {
    display: block;
    padding: 18px;
  }
  body.pd-v11 .v5-detail-card > .v5-card-index {
    margin-bottom: 12px;
    padding: 0;
  }
  body.pd-v11 .v5-detail-card h3 {
    font-size: 20px;
  }
  body.pd-v11 .v5-contact-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 18px;
  }
  body.pd-v11 :is(.contact-questionnaire, .v5-contact-direct) {
    padding: 20px;
  }
  body.pd-v11 .v5-contact-details {
    padding-inline: 20px;
  }
  body.pd-v11 .bv-layout {
    gap: 18px;
  }
  body.pd-v11 :is(.bv-calendar-panel, .bv-form-panel, .bv-manage) {
    padding: 18px;
  }
  body.pd-v11 .bv-welcome {
    padding: 20px 0;
    min-height: 220px;
  }
  body.pd-v11 .pr10-intro-grid {
    gap: 22px;
  }
  body.pd-v11 .pr10-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
    gap: 18px;
  }
  body.pd-v11 .pr10-card {
    padding: 20px;
  }
}
/* At this width the contact sidebar is already a narrow outer column.
   V9's inner two-column sidebar belongs only to the stacked layout. */
@media (min-width: 761px) and (max-width: 900px) {
  body.pd-v11 .v5-contact-sidebar {
    display: block;
  }
}
@media (max-width: 760px) {
  body.pd-v11 {
    --pd-header-height: 112px;
    font-size: 16px;
  }
  body.pd-v11 .v5-header .v5-header-main {
    min-height: 0;
    gap: 8px 10px;
    padding-block: 8px;
  }
  body.pd-v11 .v5-search input[type='search'] {
    font-size: 16px;
  }
  body.pd-v11 main :is(input:not([type='checkbox']):not([type='radio']), select, textarea) {
    font-size: 16px;
  }
  body.pd-v11 .v9-home-hero {
    padding-block: 28px;
  }
  body.pd-v11 .v9-home-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  body.pd-v11 .v9-home-hero-copy h1 {
    font-size: clamp(40px, 7vw, 53px);
  }
  body.pd-v11 .v9-home-lead {
    max-width: 50ch;
    margin-bottom: 20px;
  }
  body.pd-v11 .v9-home-hero-copy > .v5-eyebrow {
    margin-bottom: 14px;
  }
  body.pd-v11 .v9-home-paths {
    margin-top: 16px;
    padding-top: 8px;
  }
  body.pd-v11 .v9-home-feature-image > img {
    height: auto;
    aspect-ratio: 1.9;
  }
  body.pd-v11 .v5-purpose-strip > .container {
    justify-content: space-between;
    gap: 4px 16px;
  }
  body.pd-v11 .v5-purpose-strip .v5-strip-service {
    flex: 1 1 100%;
    justify-content: space-between;
    border-top: 1px solid #dfe7ed;
    padding-block: 8px;
  }
  body.pd-v11 .v5-personalization-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  body.pd-v11 .v5-personalization-photo {
    aspect-ratio: 2;
  }
  body.pd-v11 .v5-personalization-copy {
    padding: 24px;
  }
  body.pd-v11
    :is(
      .v5-personalization-copy > p:not(.v5-eyebrow),
      .v5-service-copy > p:not(.pd-eyebrow),
      .v5-editorial > div > p:not(.pd-eyebrow),
      .v5-detail-card p,
      .v5-service-card p,
      .v5-tech-card p:not(.pd-eyebrow),
      .auto-v5-services p
    ) {
    font-size: 16px;
    line-height: 1.6;
  }
  body.pd-v11 :is(.v5-service-layout, .v5-editorial, .v5-workshop-grid) {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  body.pd-v11 :is(.v5-service-photo > img, .v5-editorial > figure > img, .v5-workshop-photo > img) {
    aspect-ratio: 1.85;
    max-height: 320px;
  }
  body.pd-v11 .v5-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  body.pd-v11 .v5-detail-card {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0 14px;
    padding: 20px;
  }
  body.pd-v11 .v5-detail-card > .v5-card-index {
    grid-row: 1 / 3;
    margin-bottom: 0;
    padding-top: 4px;
  }
  body.pd-v11 .v5-detail-card > p {
    grid-column: 2;
  }
  body.pd-v11 .v5-content-cta > div {
    flex-basis: 100%;
  }
  body.pd-v11 :is(.v5-content-cta, .v5-service-callout, .auto-v5-cross) {
    padding: 22px;
    gap: 20px;
  }
  body.pd-v11 .v5-contact-intro > div:not(.v5-contact-mobile-actions) {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  body.pd-v11 .v5-contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  body.pd-v11 .v5-contact-sidebar {
    position: static;
  }
  body.pd-v11 .pr10-intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  body.pd-v11 .pr10-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  body.pd-v11 .pr10-sidebar {
    position: static;
  }
  body.pd-v11 .bv-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  body.pd-v11 .bv-welcome {
    height: auto;
    min-height: 0;
    padding-block: 18px;
  }
  body.pd-v11 .bv-heading-row {
    gap: 16px;
    flex-wrap: wrap;
  }
  body.pd-v11 .bv-phone {
    border-left: 0;
    padding-left: 0;
    min-height: 44px;
  }
  body.pd-v11 .bv-day {
    height: 46px;
  }
  body.pd-v11 .commerce-category-image {
    aspect-ratio: 1.75;
  }
  body.pd-v11 .commerce-category-grid.is-root .commerce-category-image {
    aspect-ratio: auto;
  }
  body.pd-v11 .shop-product-grid {
    gap: 14px;
  }
  body.pd-v11 .shop-product-info {
    padding: 12px;
  }
  body.pd-v11 .shop-product-info h3 {
    font-size: 15px;
  }
  body.pd-v11 .sf7-root .sf7-hero {
    padding: 22px;
  }
  body.pd-v11 :is(.sf7-description, .pd-legal p, .pd-legal li, .pr10-intro-grid > p) {
    font-size: 16px;
  }
  body.pd-v11 .sf7-grid {
    gap: 14px;
  }
  body.pd-v11 :is(.shop-summary, .shop-form-panel, .pc-main .pc-card) {
    padding: 20px;
  }
  body.pd-v11 .v5-footer .footer-grid {
    gap: 24px 18px;
  }
  body.pd-v11 .v5-footer .footer-grid > div > a:not(.brand) {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  body.pd-v11 .v5-footer .footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (max-width: 560px) {
  body.pd-v11 {
    --pd-page-gutter: 16px;
    --v11-space: 28px;
  }
  body.pd-v11 .v9-home-feature-image > img {
    aspect-ratio: 1.55;
  }
  body.pd-v11 .v9-home-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  body.pd-v11 .v9-home-actions .button {
    padding-inline: 12px;
    justify-content: space-between;
    text-align: left;
  }
  body.pd-v11 .v9-home-paths {
    column-gap: 12px;
  }
  body.pd-v11 .v9-home-paths a {
    font-size: 12px;
  }
  body.pd-v11 .v5-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  body.pd-v11 .v5-category > div {
    aspect-ratio: 1.5;
  }
  body.pd-v11 :is(.v5-services-grid, .v5-tech-grid) {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  body.pd-v11 .v5-service-card {
    grid-template-columns: minmax(0, 1fr);
  }
  body.pd-v11 .v5-service-card-image {
    aspect-ratio: 1.9;
  }
  body.pd-v11 .v5-tech-card:last-child {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }
  body.pd-v11 .v5-tech-card:last-child > img {
    height: auto;
    aspect-ratio: 1.9;
  }
  body.pd-v11 .v5-service-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }
  body.pd-v11 .v5-service-panel .v5-service-actions {
    grid-column: 1;
  }
  body.pd-v11 .v5-home .pd-home-works {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  body.pd-v11 .v5-home .pd-home-works > a > img {
    aspect-ratio: 1.8;
  }
  body.pd-v11 .pd-gallery-grid {
    gap: 16px;
  }
  body.pd-v11 .contact-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body.pd-v11
    :is(
      .contact-questionnaire,
      .pr10-card,
      .bv-calendar-panel,
      .bv-form-panel,
      .bv-manage,
      .studio-controls,
      .quote-aside,
      #quote-form
    ) {
    padding: 18px;
  }
  body.pd-v11 .pr10-item {
    padding: 14px;
  }
  body.pd-v11 .pr10-item-top {
    grid-template-columns: minmax(0, 1fr) 90px;
  }
  body.pd-v11 .bv-calendar-days,
  body.pd-v11 .bv-weekdays {
    gap: 4px;
  }
  body.pd-v11 .bv-calendar-nav {
    gap: 8px;
  }
  body.pd-v11 .bv-calendar-nav h2 {
    font-size: 21px;
  }
  body.pd-v11 .auto-v5-services {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  body.pd-v11 .auto-v5-how {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  body.pd-v11 .shop-product-grid {
    gap: 12px;
  }
  body.pd-v11 .shop-product-info {
    padding: 11px;
  }
  body.pd-v11 .shop-product-info h3 {
    font-size: 14px;
  }
  body.pd-v11 .shop-product-price {
    font-size: 20px;
  }
  body.pd-v11 .shop-product-bottom {
    gap: 8px;
  }
  body.pd-v11 .sf7-category-copy {
    padding: 14px;
  }
  body.pd-v11 .sf7-category-copy h3 {
    font-size: 17px;
  }
  body.pd-v11 .quote-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  body.pd-v11 .category-choices {
    grid-template-columns: minmax(0, 1fr);
  }
  body.pd-v11 .category-choice-body {
    padding: 18px;
  }
  body.pd-v11 .wizard-progress {
    padding: 14px;
    gap: 8px;
  }
  body.pd-v11 .wizard-progress > li {
    flex-wrap: wrap;
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  body.pd-v11 {
    --pd-page-gutter: 12px;
  }
  body.pd-v11 .v9-home-actions {
    grid-template-columns: minmax(0, 1fr);
  }
  body.pd-v11 .v9-home-hero-copy h1 {
    font-size: 39px;
  }
  body.pd-v11 :is(.bv-calendar-panel, .bv-form-panel) {
    padding: 12px;
  }
  body.pd-v11 .bv-calendar-days,
  body.pd-v11 .bv-weekdays {
    gap: 3px;
  }
  body.pd-v11 .bv-day {
    font-size: 15px;
  }
  body.pd-v11 .shop-product-grid {
    gap: 10px;
  }
  body.pd-v11 .shop-product-info {
    padding: 10px;
  }
  body.pd-v11 .shop-product-info h3 {
    overflow-wrap: anywhere;
  }
  body.pd-v11 .pr10-item-top {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-height: 600px) {
  body.pd-v11 {
    --pd-header-height: 0px;
  }
  body.pd-v11 .site-header.v5-header {
    position: static;
  }
  body.pd-v11 :is(.shop-summary, .pc-account-sidebar, .canvas-panel) {
    position: static;
    max-height: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.pd-v11 *,
  body.pd-v11 *::before,
  body.pd-v11 *::after {
    scroll-behavior: auto;
  }
  body.pd-v11 .v9-home-feature:hover .v9-home-feature-image > img {
    transform: none;
  }
}
