/* Photography sits behind the existing opening and closing copy, without
   adding sections or moving/zooming images on scroll or hover. */
.page-with-photos { position: relative; }
.page-with-photos > .inner-hero,
.page-with-photos > .commerce-intro,
.page-with-photos > .home-page > .sales-hero {
  background-color: #202b24;
  background-image: linear-gradient(90deg, #111c17cf, #111c17aa 52%, #111c1766), var(--opening-photo);
  background-size: cover;
  background-position: center, var(--opening-position);
  background-repeat: no-repeat;
  color: #fff;
}
.page-with-photos > .inner-hero::after,
.page-with-photos > .home-page > .sales-hero::before { display: none; }
.page-with-photos > .inner-hero h1 { color: #fff; }
.page-with-photos > .inner-hero p,
.page-with-photos > .inner-hero .breadcrumb { color: #f0f2ec; }
.page-with-photos > .inner-hero .breadcrumb a { color: inherit; }

/* All existing final calls to action keep their copy, controls and spacing. */
.page-with-photos .cta-section {
  background-color: #202b24;
  background-image: linear-gradient(90deg, #111c17cf, #111c17aa 55%, #111c177a), var(--closing-photo);
  background-size: cover;
  background-position: center, var(--closing-position);
  background-repeat: no-repeat;
  color: #fff;
}
.page-with-photos .cta-section h2 { color: #fff; }
.page-with-photos .cta-section p { color: #f0f2ec; }

/* Forms and legal copy use a light veil, preserving their dark typography. */
.page-with-photos > .section:last-of-type:not(.cta-section) {
  background-color: var(--paper);
  background-image: linear-gradient(90deg, #f6f7f0ed, #f6f7f0ce), var(--closing-photo);
  background-size: cover;
  background-position: center, var(--closing-position);
  background-repeat: no-repeat;
}
/* Product, cart and team pages already have a single content section. Both
   backgrounds stay within that section, behind its original content. */
.page-with-photos > .section:only-of-type:not(.inner-hero):not(.cta-section) {
  background-image: linear-gradient(90deg, #f6f7f0ed, #f6f7f0ce), var(--opening-photo), var(--closing-photo);
  background-size: 100% 100%, 100% auto, 100% auto;
  background-position: center, center top, center bottom;
  background-repeat: no-repeat;
}
/* Keep the long catalogue on its clear background; photograph only its end. */
.page-with-photos > .products-section {
  background-image: linear-gradient(0deg, #f6f7f0cf, #f6f7f0e8 60%, var(--paper) 100%), var(--closing-photo);
  background-size: 100% 340px;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.page-with-photos > .products-section .catalog-main > .commerce-note:last-child {
  position: relative;
  padding: 16px;
  background: #ffffffd9;
}
.page-photo-credit {
  position: absolute;
  z-index: 3;
  right: 16px;
  max-width: calc(100% - 32px);
  padding: 4px 8px;
  border-radius: 3px;
  background: #111c17e8;
  color: #f5f5ef;
  font-size: 10px;
  line-height: 1.5;
}
.page-photo-credit--opening { top: 10px; }
.page-photo-credit--closing { bottom: 8px; }
.page-photo-credit a { color: inherit; text-underline-offset: 3px; }
.page-photo-credit a:hover { text-decoration: underline; }
.page-photo-credit a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 700px) {
  .page-with-photos > .inner-hero,
  .page-with-photos > .commerce-intro { padding-top: 58px; }
  .page-with-photos .cta-section { padding-bottom: 48px; }
  .page-photo-credit { right: 12px; max-width: calc(100% - 24px); }
}
@media print { .page-photo-credit { display: none; } }

/* Page-by-page interaction polish: motion is short, purposeful, and never
   changes photo geometry while the visitor scrolls. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page-with-photos .expertise-card,
  .page-with-photos .editorial-panel,
  .page-with-photos .product-card,
  .page-with-photos .case-card,
  .page-with-photos .sector-showcase-card,
  .page-with-photos .company-service-card,
  .page-with-photos .client-card,
  .page-with-photos .shop-family-card,
  .page-with-photos .service-side,
  .page-with-photos .case-facts,
  .page-with-photos .login-panel {
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  }
  .page-with-photos .expertise-card:hover,
  .page-with-photos .editorial-panel:hover,
  .page-with-photos .product-card:hover,
  .page-with-photos .case-card:hover,
  .page-with-photos .sector-showcase-card:hover,
  .page-with-photos .company-service-card:hover,
  .page-with-photos .client-card:hover,
  .page-with-photos .shop-family-card:hover,
  .page-with-photos .service-side:hover,
  .page-with-photos .case-facts:hover,
  .page-with-photos .login-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgb(24 31 25 / 12%);
  }
  .page-with-photos .expertise-card-media img,
  .page-with-photos .expertise-catalog-image img,
  .page-with-photos .company-works-section img,
  .page-with-photos .shop-family-card img,
  .page-with-photos .product-card-media img,
  .page-with-photos .case-card-image img,
  .page-with-photos .visual-gallery-card img,
  .page-with-photos .service-photo-figure img,
  .page-with-photos .convoyage-gallery img,
  .page-with-photos .convoyage-main-photo img {
    transition: filter .24s ease;
  }
  .page-with-photos .expertise-card:hover img,
  .page-with-photos .expertise-catalog-card:hover img,
  .page-with-photos .company-works-section article:hover img,
  .page-with-photos .shop-family-card:hover img,
  .page-with-photos .product-card:hover img,
  .page-with-photos .case-card:hover img,
  .page-with-photos .visual-gallery-card:hover img,
  .page-with-photos .service-photo-figure:hover img,
  .page-with-photos .convoyage-gallery figure:hover img,
  .page-with-photos .convoyage-main-photo:hover img {
    filter: saturate(1.08) contrast(1.025);
  }
  .page-with-photos .inner-hero h1,
  .page-with-photos .commerce-intro h1 {
    animation: page-title-enter .58s cubic-bezier(.2,.75,.25,1) both;
  }
  .page-with-photos .inner-hero p,
  .page-with-photos .commerce-intro p,
  .page-with-photos .commerce-promises {
    animation: page-copy-enter .52s .09s ease-out both;
  }
  .page-with-photos .cta-section .button,
  .page-with-photos .inner-hero .button,
  .page-with-photos .commerce-intro .button {
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  }
  .page-with-photos .cta-section .button:hover,
  .page-with-photos .inner-hero .button:hover,
  .page-with-photos .commerce-intro .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #0003;
  }
}
@keyframes page-title-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes page-copy-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .page-with-photos *, .page-with-photos *::before, .page-with-photos *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Shorter interior pages: retain every field, photo, instruction and action. */
.page-with-photos:not(:has(> .home-page)) .section,
.page-with-photos:not(:has(> .home-page)) .editorial-page { padding-block: clamp(38px, 5vw, 70px); }
.page-with-photos:not(:has(> .home-page)) > .inner-hero { padding-block: clamp(40px, 5vw, 72px); }
.page-with-photos:not(:has(> .home-page)) > .inner-hero h1 { margin-block: 12px 16px; font-size: clamp(2.25rem, 4.4vw, 4.5rem); }
.page-with-photos:not(:has(> .home-page)) > .inner-hero p { font-size: 1rem; line-height: 1.55; }
.page-with-photos:not(:has(> .home-page)) .breadcrumb { margin-bottom: 18px; }
.page-with-photos:not(:has(> .home-page)) .section-heading { margin-bottom: 22px; }
.page-with-photos:not(:has(> .home-page)) .section-heading h2,
.page-with-photos:not(:has(> .home-page)) .projects-intro h2,
.page-with-photos:not(:has(> .home-page)) .sectors-showcase-heading h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.page-with-photos:not(:has(> .home-page)) .expertise-grid,
.page-with-photos:not(:has(> .home-page)) .case-grid,
.page-with-photos:not(:has(> .home-page)) .sectors-showcase-grid,
.page-with-photos:not(:has(> .home-page)) .expertise-catalog-grid { gap: 14px; }
.page-with-photos:not(:has(> .home-page)) .expertise-card-copy,
.page-with-photos:not(:has(> .home-page)) .case-card-body,
.page-with-photos:not(:has(> .home-page)) .sector-showcase-body,
.page-with-photos:not(:has(> .home-page)) .expertise-catalog-copy { padding: 18px; }
.page-with-photos:not(:has(> .home-page)) .expertise-card h3,
.page-with-photos:not(:has(> .home-page)) .case-card-body h2,
.page-with-photos:not(:has(> .home-page)) .case-card-body h3,
.page-with-photos:not(:has(> .home-page)) .expertise-catalog-copy h3 { margin-block: 8px; font-size: 1.25rem; }
.page-with-photos:not(:has(> .home-page)) .expertise-card p,
.page-with-photos:not(:has(> .home-page)) .case-card-body p,
.page-with-photos:not(:has(> .home-page)) .expertise-catalog-copy p,
.page-with-photos:not(:has(> .home-page)) .sector-showcase-body p { margin-bottom: 12px; line-height: 1.55; }
.page-with-photos:not(:has(> .home-page)) .expertise-catalog-grid { margin-top: 24px; }
.page-with-photos:not(:has(> .home-page)) .expertise-catalog-image { aspect-ratio: 1.95; }
.page-with-photos:not(:has(> .home-page)) .company-services-grid { gap: 14px; margin-top: 22px; }
.page-with-photos:not(:has(> .home-page)) .company-service-media img { aspect-ratio: 2.1; }
.page-with-photos:not(:has(> .home-page)) .company-service-copy { padding: 17px 20px 19px; }
.page-with-photos:not(:has(> .home-page)) .company-service-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.page-with-photos:not(:has(> .home-page)) .company-service-card li { padding-block: 8px; }
.page-with-photos:not(:has(> .home-page)) .company-profile-grid { gap: 16px; }
.page-with-photos:not(:has(> .home-page)) .company-profile-grid article { padding: clamp(20px, 3vw, 34px); }
.page-with-photos:not(:has(> .home-page)) .company-profile-grid h2 { margin-block: 12px; }
.page-with-photos:not(:has(> .home-page)) .company-location-inner,
.page-with-photos:not(:has(> .home-page)) .expertise-approach-grid { gap: 28px; }
.page-with-photos:not(:has(> .home-page)) .products-grid { gap: 14px; }
.page-with-photos:not(:has(> .home-page)) .product-family { margin-top: 38px; }
.page-with-photos:not(:has(> .home-page)) .pool-equipment-section { margin-top: 46px; padding-top: 30px; }
.page-with-photos:not(:has(> .home-page)) .product-card-media { aspect-ratio: 1.2; }
.page-with-photos:not(:has(> .home-page)) .catalog-layout { gap: 22px; }
.page-with-photos:not(:has(> .home-page)) .catalog-sidebar { top: 96px; }
.page-with-photos:not(:has(> .home-page)) .commerce-intro { padding-block: clamp(32px, 4vw, 58px); }
.page-with-photos:not(:has(> .home-page)) .commerce-intro h1 { margin-block: 12px; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.page-with-photos:not(:has(> .home-page)) .commerce-detail { gap: clamp(22px, 3.5vw, 46px); }
.page-with-photos:not(:has(> .home-page)) .commerce-product-image { padding: 22px; }
.page-with-photos:not(:has(> .home-page)) .commerce-product-image img { height: 290px; }
.page-with-photos:not(:has(> .home-page)) .commerce-calculator { margin-top: 42px; padding: clamp(20px, 3vw, 38px); }
.page-with-photos:not(:has(> .home-page)) .commerce-calculator h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
.page-with-photos:not(:has(> .home-page)) .cart-page > h1 { margin-block: 12px 16px; font-size: clamp(2.2rem, 4vw, 4rem); }
.page-with-photos:not(:has(> .home-page)) .cart-lines { margin-block: 22px; }
.page-with-photos:not(:has(> .home-page)) .cart-line { padding-block: 20px; gap: 18px; }
.page-with-photos:not(:has(> .home-page)) .cta-section { padding-block: clamp(30px, 4vw, 54px); }
.page-with-photos:not(:has(> .home-page)) .cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.page-with-photos:not(:has(> .home-page)) .service-photo-figure { margin-top: 18px; padding: 8px; }
.page-with-photos:not(:has(> .home-page)) .service-side { padding: clamp(18px, 2.5vw, 28px); }
.page-with-photos:not(:has(> .home-page)) .contact-grid { gap: 26px; }
.page-with-photos:not(:has(> .home-page)) .form-panel { padding: clamp(20px, 3vw, 38px); }
.page-with-photos:not(:has(> .home-page)) .form-steps { margin-bottom: 26px; }
.page-with-photos:not(:has(> .home-page)) .login-layout { gap: clamp(28px, 4vw, 64px); }
.page-with-photos:not(:has(> .home-page)) .login-panel { padding: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) {
  .page-with-photos:not(:has(> .home-page)) .section,
  .page-with-photos:not(:has(> .home-page)) .editorial-page { padding-block: 34px; }
  .page-with-photos:not(:has(> .home-page)) > .inner-hero { padding-block: 34px; }
  .page-with-photos:not(:has(> .home-page)) > .inner-hero h1 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .page-with-photos:not(:has(> .home-page)) .expertise-card-media { height: 150px; }
  .page-with-photos:not(:has(> .home-page)) .case-card-image { height: 190px; }
  .page-with-photos:not(:has(> .home-page)) .company-service-media img { aspect-ratio: 1.9; }
  .page-with-photos:not(:has(> .home-page)) .company-profile-grid { gap: 12px; }
  .page-with-photos:not(:has(> .home-page)) .commerce-intro { padding-block: 34px; }
  .page-with-photos:not(:has(> .home-page)) .commerce-product-image img { height: 220px; }
  .page-with-photos:not(:has(> .home-page)) .cta-section { padding-block: 30px; }
  .page-with-photos:not(:has(> .home-page)) .form-panel,
  .page-with-photos:not(:has(> .home-page)) .login-panel { padding: 20px; }
}
@media (max-width: 600px) {
  .page-with-photos:not(:has(> .home-page)) .expertise-card-copy,
  .page-with-photos:not(:has(> .home-page)) .case-card-body,
  .page-with-photos:not(:has(> .home-page)) .sector-showcase-body,
  .page-with-photos:not(:has(> .home-page)) .expertise-catalog-copy { padding: 15px; }
  .page-with-photos:not(:has(> .home-page)) .case-card-image { height: 168px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page-with-photos .case-card { transform: none; }
  .page-with-photos .case-card:hover { transform: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page-with-photos .expertise-card { transform: none; }
  .page-with-photos .expertise-card:hover { transform: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page-with-photos .product-card { transform: none; }
  .page-with-photos .product-card:hover { transform: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page-with-photos .sector-showcase-card { transform: none; }
  .page-with-photos .sector-showcase-card:hover { transform: none; }
}
