/* ============================================
   Base stylesheet (Bootstrap 5 overrides)
   Colours come from app/config.php (inline :root in header.php); per-look overrides in themes/<name>/theme.css
   ============================================ */

/* Self-hosted Google Fonts (Latin subset) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url('/assets/fonts/cormorant-garamond.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 600;
  font-display: optional;
  src: url('/assets/fonts/montserrat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  ascent-override: 85.1%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 112.2%;
}
@font-face {
  font-family: 'Cormorant Garamond Fallback';
  src: local('Georgia'), local('Times New Roman');
  ascent-override: 81.5%;
  descent-override: 21.6%;
  line-gap-override: 0%;
  size-adjust: 113.5%;
}

:root {
  /* Brand Colors - Green & Sage Theme */
  --brand-primary: #125B49;
  --brand-primary-light: #1A7560;
  --brand-primary-dark: #0B3D31;
  --brand-sage: #AADD66;
  --brand-sage-light: #C4E892;
  --brand-sage-dark: #8CC152;
  --brand-accent: #d9e8e5;
  --brand-cream: #f7f5f0;

  /* Neutrals */
  --brand-dark: #1a1a1a;
  --brand-text: #333333;
  --brand-muted: #6c757d;
  --brand-light: #f8f9fa;
  --brand-white: #ffffff;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  --font-body: 'Montserrat', 'Montserrat Fallback', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 5rem;
}

/* Base Styles */
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--brand-text);
  background: var(--brand-white);
  line-height: 1.7;
  font-size: 0.95rem;
}

h1, h2, h3, .display-5, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h4, h5, h6, .h4, .h5, .h6 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.display-5 {
  font-weight: 500;
  font-size: 2.75rem;
}

@media (max-width: 767.98px) {
  .display-5 {
    font-size: 2rem;
  }
}

.lead {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--brand-text);
}

.text-white .lead {
  color: #fff;
}

a {
  color: var(--brand-primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--brand-primary-light);
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1050;
}

.site-header .navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brand-white) !important;
}

@media (max-width: 991.98px) {
  .brand-text {
    font-size: 1.25rem;
  }
}

/* Navigation */
.site-header .nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--brand-white);
}

.site-header .nav-link i {
  display: none;
}

@media (max-width: 991.98px) {
  .site-header .nav-link i {
    display: inline;
  }
}

/* Dropdown Menu - FIXED Z-INDEX */
.site-header .dropdown {
  position: relative;
}

.site-header .dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
  margin-top: 0;
  z-index: 1060;
  position: absolute;
  background: var(--brand-white);
}

.site-header .dropdown-item {
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header .dropdown-item:hover {
  background: var(--brand-accent);
  color: var(--brand-primary);
  padding-left: 2rem;
}

/* Hero Section (gradient only - the LCP element is the hero text, painting at FCP) */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #14201c 55%, var(--brand-primary-dark) 100%);
  color: var(--brand-white);
  padding: 4rem 0;
}

@media (min-width: 992px) {
  .hero {
    padding: 6rem 0;
  }
}

.hero h1,
.hero .display-5 {
  color: var(--brand-white);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

.hero .text-sage {
  color: var(--brand-sage) !important;
}

/* Page Header Section (gradient only, matches hero) */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #14201c 55%, var(--brand-primary-dark) 100%);
  color: var(--brand-white);
  padding: 3rem 0;
}

@media (min-width: 992px) {
  .page-header {
    padding: 4rem 0;
  }
}

.page-header h1,
.page-header .h1,
.page-header .h2 {
  color: var(--brand-white);
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.9);
}

.page-header .badge {
  background: var(--brand-sage) !important;
  color: var(--brand-dark) !important;
}

.page-header .text-sage,
.page-header .text-accent {
  color: var(--brand-sage) !important;
}

.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item a:hover {
  color: var(--brand-sage);
}

.page-header .breadcrumb-item.active {
  color: var(--brand-sage);
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: 0;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.9rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-white);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  color: var(--brand-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(18, 91, 73, 0.3);
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  border-width: 2px;
}

.btn-outline-primary:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-white);
  transform: translateY(-2px);
}

.btn-accent,
.btn-sage {
  background: var(--brand-sage);
  border-color: var(--brand-sage);
  color: var(--brand-dark) !important;
}

.btn-accent:hover,
.btn-sage:hover {
  background: var(--brand-sage-dark);
  border-color: var(--brand-sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(170, 221, 102, 0.4);
}

.btn-outline-light {
  border-width: 2px;
}

.btn-outline-light:hover {
  background: var(--brand-white);
  color: var(--brand-dark) !important;
}

.btn-outline-dark {
  border-width: 2px;
}

/* Section Titles */
.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--brand-sage);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-title-light::after {
  background: var(--brand-sage);
}

/* Cards */
.card {
  border: none;
  border-radius: 0;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-accent {
  border-top: 3px solid var(--brand-sage) !important;
}

.service-card {
  background: var(--brand-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
}

.service-card .service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-accent);
  margin-bottom: 1.5rem;
}

/* Badges */
.badge-accent {
  background: var(--brand-sage);
  color: var(--brand-dark);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Background Colors */
.bg-primary {
  background: var(--brand-primary) !important;
}

.bg-accent {
  background: var(--brand-accent) !important;
}

.bg-cream {
  background: var(--brand-cream) !important;
}

.bg-light {
  background: var(--brand-light) !important;
}

.bg-dark {
  background: var(--brand-dark) !important;
}

/* Text Colors */
.text-primary {
  color: var(--brand-primary) !important;
}

.text-sage {
  color: var(--brand-sage) !important;
}

/* Review Stars */
.review-stars {
  color: var(--brand-primary);
  font-size: 0.875rem;
  letter-spacing: 2px;
}

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: var(--brand-white);
}

.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-sage);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--brand-white);
}

.site-footer address {
  font-style: normal;
}

.site-footer .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Mobile CTA Bar */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: var(--brand-white);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
  z-index: 1030;
  padding: 0.5rem;
  gap: 0.5rem;
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  text-decoration: none;
  color: var(--brand-dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-cta-btn i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.mobile-cta-btn:hover {
  background: var(--brand-accent);
  color: var(--brand-primary);
}

.mobile-cta-primary {
  background: var(--brand-sage);
  color: var(--brand-dark) !important;
}

.mobile-cta-primary:hover {
  background: var(--brand-sage-dark);
  color: var(--brand-dark) !important;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 75px;
  }
}

/* Accordion */
.accordion-button {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
}

.accordion-button:not(.collapsed) {
  background: var(--brand-accent);
  color: var(--brand-primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(170, 221, 102, 0.25);
  border-color: var(--brand-sage);
}

.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Tables */
.table th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--brand-primary);
  color: var(--brand-white);
  border: none;
}

.table td {
  border-color: rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

/* Forms */
.form-control,
.form-select {
  border-radius: 0;
  border-color: rgba(0, 0, 0, 0.15);
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-sage);
  box-shadow: 0 0 0 3px rgba(170, 221, 102, 0.15);
}

.form-label {
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* Alerts */
.alert {
  border-radius: 0;
  border: none;
  border-left: 4px solid;
}

.alert-success {
  background: #e8f5e9;
  border-left-color: #4caf50;
  color: #2e7d32;
}

.alert-danger {
  background: #ffebee;
  border-left-color: #f44336;
  color: #c62828;
}

.alert-info {
  background: var(--brand-accent);
  border-left-color: var(--brand-sage-dark);
  color: var(--brand-primary);
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 1rem 1.5rem;
  background: var(--brand-white);
  color: var(--brand-dark);
  z-index: 10000;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

/* Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.page-header :focus-visible {
  outline-color: var(--brand-white);
}

/* Image Styling */
img {
  max-width: 100%;
  height: auto;
}

.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Before/After Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Testimonial Cards */
.testimonial-card {
  position: relative;
  padding: 2rem;
  background: var(--brand-white);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--brand-sage);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
  opacity: 0.3;
}

/* Stats */
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--brand-primary);
  line-height: 1;
}

/* Service Icons */
.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-accent);
}

/* Dividers */
.divider {
  width: 50px;
  height: 2px;
  background: var(--brand-sage);
  margin: 1.5rem 0;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Image Placeholders */
.img-placeholder {
  background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-cream) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 3rem;
}

/* Border Radius Override */
.rounded-0 {
  border-radius: 0 !important;
}

.rounded-4 {
  border-radius: 0 !important;
}

.rounded-3 {
  border-radius: 0 !important;
}

.rounded-pill {
  border-radius: 50rem !important;
}

/* Sticky Sidebar */
@media (min-width: 992px) {
  .sticky-lg-top {
    position: sticky;
    top: 20px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--brand-light);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary-light);
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .mobile-cta-bar,
  .btn {
    display: none !important;
  }

  body {
    padding-bottom: 0;
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Hero profile image */
.hero-profile-img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: 20px 20px 0 var(--brand-sage);
}

/* About section image */
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Sage accent underline */
.text-sage-underline {
  position: relative;
  display: inline-block;
}

.text-sage-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-sage);
}


/* Aveda mark (official artwork dropped into assets/img/brand/; text fallback otherwise) */
.aveda-mark {
  display: inline-block;
  height: 1.6em;
  width: auto;
  vertical-align: -0.35em;
}

.aveda-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Cookie & third-party consent banner */
.consent-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1080;
  max-width: 26rem;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--brand-white);
  color: var(--brand-text);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-top: 4px solid var(--brand-primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  font-size: 0.85rem;
  line-height: 1.55;
}

.consent-banner[hidden] {
  display: none;
}

.consent-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0;
}

.consent-text {
  margin: 0 0 1rem;
}

.consent-actions {
  display: flex;
  gap: 0.75rem;
}

.consent-actions .btn {
  flex: 1 1 0;
}

@media (max-width: 575.98px) {
  .consent-banner {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    border-left: 0;
    border-right: 0;
  }
}

/* Third-party embed shown only after consent */
.consent-embed {
  position: relative;
  min-height: 22rem;
  background: var(--brand-accent);
}

.consent-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.consent-embed-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 22rem;
  padding: 1.5rem;
  text-align: center;
}

.consent-embed.consent-embed-loaded {
  background: none;
}

/* Respect the visitor's motion settings */
@media (prefers-reduced-motion: reduce) {
  /* The site starts with animations on (motion_default); this applies only when data-motion is not "on". */
  html:not([data-motion="on"]) *,
  html:not([data-motion="on"]) *::before,
  html:not([data-motion="on"]) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html:not([data-motion="on"]) .hover-lift:hover,
  html:not([data-motion="on"]) .btn:hover,
  html:not([data-motion="on"]) .service-card:hover {
    transform: none;
  }
}

/* Gallery */
.gallery-grid { column-count: 1; column-gap: 1rem; }
@media (min-width: 576px) { .gallery-grid { column-count: 2; } }
@media (min-width: 992px) { .gallery-grid { column-count: 3; } }
.gallery-item { break-inside: avoid; margin: 0 0 1rem; }
.gallery-item img { width: 100%; height: auto; display: block; border-radius: .5rem; background: var(--brand-accent, #d9e8e5); }

.ico{width:1em;height:1em;vertical-align:-.125em;display:inline-block}

/* Generated content pages (scripts/build_pages.php): readable text column, full-width galleries and cards */
/* Owner 2026-11-29: text runs the full container width, left aligned, like the contact page. Single figures stay a sensible size, left aligned. */
.pg-text>.pg-figure{max-width:820px}
.pg-text>.consent-embed{max-width:860px}
.pg-text>:first-child{margin-top:0!important}
.pg-text>.consent-embed{display:block}
.pg-gallery .pg-lb{display:block;border-radius:.75rem;overflow:hidden;position:relative}
.pg-gallery .pg-thumb{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block;transition:transform .35s ease}
.pg-gallery .pg-lb:hover .pg-thumb,.pg-gallery .pg-lb:focus-visible .pg-thumb{transform:scale(1.06)}
.pg-gallery .pg-lb-sm{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#fff}
.pg-gallery .pg-lb-sm .pg-thumb{width:auto;max-width:100%;aspect-ratio:auto;object-fit:contain}
/* Phone check 2026-11-30: lines Duda stacked with <br> in a heading; long email buttons wrap instead of overflowing */
.pg-lines{list-style:none;padding-left:0;text-align:center;font-weight:700;font-size:1.15rem;line-height:1.5}
.btn{max-width:100%;overflow-wrap:anywhere}
p,li{overflow-wrap:break-word}
.pg-figure img{width:100%;height:auto}
.pg-cards .card img{aspect-ratio:4/3;object-fit:cover;width:100%}
.pg-chips{list-style:none;padding:0;margin:1rem 0 0;display:flex;flex-wrap:wrap;gap:.5rem}
.pg-chips a{display:inline-block;padding:.45rem .9rem;border-radius:999px;border:1px solid currentColor;text-decoration:none;font-size:.9rem}
.pg-cta{padding:3.5rem 0}
/* simple lightbox (assets/js/fx.js) */
.pg-lightbox{position:fixed;inset:0;z-index:2100;background:rgba(10,10,20,.92);display:flex;align-items:center;justify-content:center;padding:3.5rem 3.5rem}
.pg-lightbox img{max-width:100%;max-height:100%;object-fit:contain;border-radius:.5rem;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.pg-lightbox button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.4);border-radius:999px;width:46px;height:46px;font-size:1.4rem;line-height:1;cursor:pointer}
.pg-lightbox button:hover,.pg-lightbox button:focus-visible{background:rgba(255,255,255,.3)}
.pg-lb-close{top:1rem;right:1rem}.pg-lb-prev{left:1rem;top:50%;transform:translateY(-50%)}.pg-lb-next{right:1rem;top:50%;transform:translateY(-50%)}
.pg-lb-count{position:absolute;bottom:1rem;left:0;right:0;text-align:center;color:#fff;font-size:.85rem;opacity:.8}
@media (max-width:575.98px){.pg-lightbox{padding:3.5rem .5rem}.pg-lb-prev,.pg-lb-next{top:auto;bottom:.6rem;transform:none}}
