@font-face {
  font-family: 'Prata';
  src: url('assets/fonts/Prata-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Now Text';
  src: url('assets/fonts/HelveticaNowText-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Global tokens and base layout */
:root {
  --bg: #ffffff;
  --text: #111;
  --muted: #5a5a5a;
  --line: #cfcfcf;
  --panel: #f6f6f6;
  --brand: #2a5034;
  --brand-dark: #1f4b3a;
  --panel-soft: #f8f8f5;
  --radius-lg: 24px;
  --radius-md: 18px;
  --space-stack-sm: clamp(18px, 3vw, 28px);
  --space-stack-md: clamp(24px, 4vw, 40px);
  --space-stack-lg: clamp(32px, 5vw, 56px);
  --space-heading-text: clamp(14px, 2.2vw, 22px);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background: var(--brand);
  overflow-x: hidden;
}
html.has-pending-page-transition body {
  opacity: 0;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Helvetica Now Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: opacity .18s ease;
  overflow-x: clip;
}

body.is-language-switching,
body.is-language-switched {
  opacity: .4;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Page transition overlays and entrance states */
.page-transition-overlay {
  position: fixed;
  inset: -2px;
  display: grid;
  place-items: center;
  background: var(--brand);
  z-index: 9999;
  opacity: 1;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.page-transition-logo {
  display: block;
  width: min(280px, 62vw);
  height: auto;
  transform: translate3d(0, 0, 0);
  will-change: opacity, transform;
}

.page-transition-overlay--home {
  opacity: 0;
  animation: page-splash-fade-in .38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: opacity .4s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition-overlay--home .page-transition-logo {
  opacity: 0;
  animation: page-splash-logo-fade-in .52s cubic-bezier(0.22, 1, 0.36, 1) forwards, page-splash-pulse 2.2s ease-in-out .52s infinite;
}

.page-transition-overlay--home.is-exiting {
  opacity: 0;
}

.page-transition-overlay--home.is-exiting .page-transition-logo {
  animation: none;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .4s cubic-bezier(0.22, 1, 0.36, 1), transform .4s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition-overlay--page {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-transition-overlay--page.enter-from-right {
  transform: translate3d(calc(100% + 4px), 0, 0);
}

.page-transition-overlay--page.enter-from-left {
  transform: translate3d(calc(-100% - 4px), 0, 0);
}

.page-transition-overlay--page.is-leaving,
.page-transition-overlay--page.is-exiting {
  transition: transform .62s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition-overlay--page.is-active,
.page-transition-overlay--page.is-covering {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-transition-overlay--page.enter-from-right.is-exiting {
  transform: translate3d(calc(-100% - 4px), 0, 0);
}

.page-transition-overlay--page.enter-from-left.is-exiting {
  transform: translate3d(calc(100% + 4px), 0, 0);
}

@keyframes page-splash-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes page-splash-logo-fade-in {
  from {
    opacity: 0;
    transform: scale(.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes page-splash-pulse {
  0%,
  100% {
    opacity: .42;
    transform: scale(.985);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

section.scroll-reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .72s cubic-bezier(0.22, 1, 0.36, 1), transform .72s cubic-bezier(0.22, 1, 0.36, 1);
}

section.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero.scroll-reveal .hero-grid,
.hero.scroll-reveal .hero-content,
.hero.scroll-reveal .about-hero-content,
.hero.scroll-reveal .portfolio-hero-content,
.hero.scroll-reveal .hero-callout,
.hero.scroll-reveal .contact-map-media,
.hero.scroll-reveal .hero-grid > div:last-child,
.hero.scroll-reveal .hero-slides {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .72s cubic-bezier(0.22, 1, 0.36, 1), transform .72s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.scroll-reveal.is-visible .hero-grid,
.hero.scroll-reveal.is-visible .hero-content,
.hero.scroll-reveal.is-visible .about-hero-content,
.hero.scroll-reveal.is-visible .portfolio-hero-content,
.hero.scroll-reveal.is-visible .hero-callout,
.hero.scroll-reveal.is-visible .contact-map-media,
.hero.scroll-reveal.is-visible .hero-grid > div:last-child,
.hero.scroll-reveal.is-visible .hero-slides {
  opacity: 1;
  transform: translateY(0);
}

.site-header,
main,
footer {
  transition: transform .54s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-page-entering .site-header,
body.is-page-entering main,
body.is-page-entering footer {
  transform: translate3d(0, 18px, 0);
}

body.is-page-entering.is-page-enter-active .site-header,
body.is-page-entering.is-page-enter-active main,
body.is-page-entering.is-page-enter-active footer {
  transform: translate3d(0, 0, 0);
}

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.main-nav a:focus-visible::after,
.footer-links a:focus-visible::after {
  opacity: 1;
}

.btn:focus-visible {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.hero-side-link:focus-visible,
.hero-discovery-link:focus-visible,
.hero-scroll-hint:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.container { width: min(1200px, calc(100vw - clamp(20px, 6vw, 56px))); margin: 0 auto; }

/* Header, hero, and primary navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  transition: all .25s ease;
}

.header-inner {
  display: grid;
  grid-template-columns: 150px 1fr 140px;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  border-bottom: 1px solid transparent;
  transition: all .25s ease;
}

.site-header.top .header-inner {
  grid-template-columns: 1fr auto 1fr;
  min-height: 106px;
  background: transparent;
  border-bottom-color: transparent;
}

.site-header.scrolled .header-inner {
  min-height: 68px;
  margin-top: 8px;
  background: rgba(255,255,255,.96);
  border-bottom-color: #d8d8d8;
  backdrop-filter: blur(5px);
  box-shadow: 0 14px 32px rgba(17, 17, 17, .12);
  grid-template-columns: auto 1fr auto;
  width: min(1360px, calc(100vw - clamp(16px, 3vw, 42px)));
  margin-inline: auto;
  padding-inline: clamp(12px, 2.2vw, 24px);
  border: 1px solid #d8d8d8;
  border-radius: var(--radius-md);
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: .03em;
  border: 2px solid #111;
  width: fit-content;
  padding: .35rem .8rem;
  font-size: 1rem;
  transition: all .25s ease;
}

.site-header.top .logo {
  grid-column: 2;
  justify-self: center;
  font-size: 1.55rem;
  padding: .5rem 1.8rem;
  margin-top: 10px;
}

.site-header.scrolled .logo {
  grid-column: auto;
  justify-self: start;
  font-size: 1rem;
  padding: .35rem .8rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-family: 'Prata', serif;
  font-size: clamp(.82rem, 1.2vw, .95rem);
  min-width: 0;
}

.site-header.top .main-nav {
  display: none;
}

.site-header.scrolled .main-nav {
  display: flex;
}

.main-nav a,
.footer-links a {
  position: relative;
}

.main-nav a::after,
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.footer-links a:hover::after {
  opacity: 1;
}

.lang {
  justify-self: end;
  font-size: .85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0;
  user-select: none;
}

.lang-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 2px;
}

.lang-option::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  border-bottom: 1.5px solid currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.lang-option.is-active::after {
  transform: scaleX(1);
}

.lang-sep {
  opacity: .65;
  margin: 0 6px;
}

.site-header.top .lang {
  justify-self: end;
  color: #ffffff;
}

.site-header.scrolled .lang {
  color: #111111;
}

.hero {
  padding-top: 106px;
  min-height: 70vh;
  border-bottom: 1px solid var(--line);
  display: grid;
  align-items: center;
}

.hero:not(.hero-slider) {
  min-height: 100vh;
}

.hero:not(.hero-slider) .hero-grid {
  min-height: calc(100vh - 106px);
  align-content: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  filter: blur(10px);
  transform: scale(1.02);
  transition: opacity 1s ease, filter 1s ease, transform 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .34) 36%, rgba(0, 0, 0, .12) 100%);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  filter: blur(0);
  transform: scale(1);
}

.hero-slide.slide-0 {
  background-image: url('assets/images/Homepage-slider-0.jpg');
}

.hero-slide.slide-1 {
  background-image: url('assets/images/Homepage-slider-1.jpg');
}

.hero-slide.slide-2 {
  background-image: url('assets/images/Homepage-slider-2.jpg');
}

.hero-slide.slide-3 {
  background-image: url('assets/images/Homepage-slider-3.jpg');
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, 78vw);
  margin-left: 10%;
  margin-right: 16px;
  color: #fff;
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 14px;
  color: #fff;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-content p {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.hero-slide.slide-1 .hero-content,
.hero-slide.slide-2 .hero-content {
  width: min(760px, 76vw);
}

.hero-slide.slide-1 .hero-content p,
.hero-slide.slide-2 .hero-content p {
  max-width: 66ch;
}

.hero-bullets {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vh, 42px);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 12px;
}

.hero-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .85);
  background: transparent;
  opacity: .65;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}

.hero-bullet.is-active {
  opacity: 1;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.15);
}
.hero-side-link {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + 14px));
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(17, 17, 17, 0.86);
  background: transparent;
  border: 0;
  padding: 0;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .62s cubic-bezier(0.22, 1, 0.36, 1), transform .62s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-side-link [aria-hidden="true"] {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1;
}

.hero-side-link.left {
  left: clamp(12px, 2.4vw, 34px);
}

.hero-side-link.right {
  right: clamp(12px, 2.4vw, 34px);
}

.hero-side-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-slider .hero-side-link {
  color: rgba(255, 255, 255, 0.86);
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(87px, 12vh, 135px);
  transform: translate(-50%, 12px);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .52s cubic-bezier(0.22, 1, 0.36, 1), transform .52s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-scroll-hint span:last-child {
  font-size: 1rem;
  animation: scroll-hint-bounce 1.2s ease-in-out infinite;
}

.hero-scroll-hint.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.hero-scroll-hint:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes scroll-hint-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.hero-nav .hero-grid {
  grid-template-columns: 1fr;
  width: min(920px, 100%);
  margin-inline: auto;
}

.about-hero-content {
  text-align: center;
  width: min(100%, 520px);
  margin-inline: auto;
}

.about-hero-links {
  margin-top: clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.about-hero-links a {
  color: inherit;
  text-decoration: none;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.35;
}

.about-hero-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-side-link.is-visible {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}

h1 { font-family: 'Prata', serif; font-size: clamp(2rem, 5vw, 4.2rem); margin: 0 0 16px; }
h2 { font-family: 'Prata', serif; font-size: clamp(1.8rem, 2.5vw, 2.6rem); margin: 0 0 18px; }
h3 { font-family: 'Prata', serif; margin: 0 0 10px; font-size: 1.15rem; }
p { color: #222; line-height: 1.5; }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.arrow-link::after { content: '\2192'; font-size: 1.1rem; }

.section { padding: clamp(84px, 10vw, 120px) 0; border-bottom: 1px solid var(--line); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.placeholder {
  min-height: 260px;
  background: var(--panel);
  border: 1px solid #bdbdbd;
}

.service-placeholder {
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f5f4ef 0%, #e7eadf 100%);
}

.service-placeholder::before {
  content: attr(data-placeholder-label);
  font-family: 'Prata', serif;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: rgba(29, 53, 39, .68);
  text-align: center;
  padding: 16px;
}

.section-media {
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.section-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.placeholder,
.card .icon,
.service-card .icon,
.team-photo {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  padding: .8rem 1.35rem;
  min-height: 46px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 12px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(31, 75, 58, .16);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 12px;
  background: var(--panel);
  border: 1px solid #ccc;
  min-height: 180px;
}

.card .icon { height: 72px; border: 1px solid #bbb; background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; margin-bottom: 10px; }

.team-section .container {
  text-align: center;
}

.section h2 {
  margin-bottom: var(--space-heading-text);
}

.team-section .container > p {
  max-width: 1000px;
  margin-inline: auto;
}

.team-lead {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.team-grid {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-row {
  display: grid;
  gap: 24px;
}

.team-row--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-row--centered {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, calc((100% - 24px) / 2));
  margin-inline: auto;
}

.team-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, calc(((100% - 24px) / 2) + ((100% - 24px) / 4) + 24px));
  margin-inline: auto;
}

.team-card {
  padding: 10px;
  background: transparent;
  border: none;
  min-height: 0;
  text-align: center;
}

/* About page team section and portrait crops */
.team-photo {
  width: 148px;
  height: 148px;
  margin: 0 auto 14px;
  border-radius: 999px;
  border: 1px solid #bdbdbd;
  background: #f7f7f7;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.04);
}

.team-photo--gianantonio img {
  object-position: 50% 8%;
  transform: scale(1.1);
}

.team-photo--emanuela img,
.team-photo--enrico img {
  object-position: center 28%;
  transform: scale(1.16);
}

.team-photo--federico img {
  object-position: 46% 6%;
  transform: scale(1.16);
}

.team-photo--alessandro-tramet img {
  object-position: center 24%;
  transform: scale(1.08);
}

.team-photo--antonio img {
  object-position: 50% 8%;
  transform: scale(1.1);
}

.team-photo--alessandro-sclauzero img {
  object-position: 50% 8%;
  transform: scale(1.1);
}

.team-photo--francesco img {
  object-position: center 14%;
  transform: scale(1.08);
}

.team-photo--giulia img {
  object-position: center 16%;
  transform: scale(1.08);
}

.team-photo--francesco-salviato img {
  object-position: 47% 10%;
  transform: scale(1.22);
}

.team-photo--empty {
  background: linear-gradient(145deg, #f3f3f3, #e8e8e8);
}

.team-card h3 {
  margin: 0 0 8px;
}

.team-card .muted {
  margin: 0;
}

@media (max-width: 1200px) {
  .team-row--four,
  .team-row--centered,
  .team-row--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 640px) {
  .team-grid {
    gap: 20px;
  }

  .team-row--four,
  .team-row--centered,
  .team-row--three {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-photo {
    width: 132px;
    height: 132px;
  }
}

.mission-vision-stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.mission-vision-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.mission-vision-copy {
  max-width: 640px;
}

.mission-vision-media {
  width: min(100%, 520px);
  min-height: 260px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: var(--radius-lg);
}

.mission-row .mission-vision-copy {
  justify-self: start;
}

.mission-row .mission-vision-media {
  justify-self: center;
}

.vision-row .mission-vision-media {
  justify-self: start;
}

.vision-row .mission-vision-copy {
  justify-self: center;
}

.presence-section .container {
  text-align: center;
}

.presence-section .container > p {
  max-width: 980px;
  margin-inline: auto;
}

.presence-metrics {
  margin-top: var(--space-stack-lg);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 28px;
}

.presence-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
  background: transparent;
  border: none;
  padding: 0;
}

@media (min-width: 901px) {
  .presence-metric-row + .presence-metric-row {
    border-top: 1px solid #d9d9d9;
    padding-top: 28px;
  }
}

.presence-metric-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  gap: 14px;
  flex-wrap: nowrap;
}

.presence-thumb {
  width: 250px;
  height: 160px;
  min-height: 160px;
  border: 1px solid #bdbdbd;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  flex-shrink: 0;
}

.presence-counter {
  text-align: left;
  min-width: 150px;
}

.presence-metric-row:nth-child(2) .presence-counter {
  text-align: right;
}

.presence-counter b {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.presence-counter p {
  margin: 8px 0 0;
  font-size: .8rem;
  letter-spacing: .08em;
  line-height: 1.25;
}

.presence-metric-right {
  text-align: left;
  width: 100%;
  max-width: 620px;
  justify-self: start;
}

.presence-metric-row:first-child .presence-metric-left {
  justify-self: end;
}

.presence-metric-row:first-child .presence-counter {
  margin-left: -18px;
}

.presence-metric-row:first-child .presence-metric-right {
  max-width: 560px;
  justify-self: end;
}

.presence-metric-row:nth-child(2) {
  grid-template-columns: minmax(0, 1.45fr) auto;
  gap: 12px;
}

.presence-metric-row:nth-child(2) .presence-metric-left {
  order: 2;
  justify-content: flex-start;
  flex-direction: row-reverse;
  justify-self: start;
}

.presence-metric-row:nth-child(2) .presence-metric-right {
  order: 1;
  justify-self: start;
  max-width: 720px;
}

.presence-metric-right p {
  margin: 0 0 10px;
}

.presence-metric-right ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.presence-metric-right li {
  margin-top: 10px;
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
}

.presence-metric-right li::before {
  content: '+ ';
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 900px) {
  .presence-metrics {
    margin-top: 56px;
    gap: 56px;
  }

  .presence-metric-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }


  .presence-metric-left {
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }

  .presence-thumb {
    width: auto;
    max-width: 100%;
    height: 150px;
    min-height: 0;
    aspect-ratio: 34 / 22;
  }

  .presence-counter {
    min-width: 118px;
    flex: 0 1 118px;
    text-align: left;
  }

  .presence-metric-row:first-child .presence-counter {
    margin-left: 0;
  }

  .presence-counter p {
    text-align: left;
    font-size: .72rem;
    line-height: 1.12;
    letter-spacing: .05em;
  }

  .presence-metric-row:nth-child(2) .presence-counter {
    text-align: left;
  }

  .presence-counter b {
    font-size: clamp(1.95rem, 7vw, 2.35rem);
  }

  .presence-metric-right {
    text-align: center;
    max-width: 560px;
    margin-inline: auto;
  }

  .presence-metric-row:nth-child(2) {
    grid-template-columns: 1fr;
  }

  .presence-metric-row:nth-child(2) .presence-metric-left {
    order: 1;
    justify-content: center;
    flex-direction: row;
    justify-self: stretch;
  }

  .presence-metric-row:nth-child(2) .presence-metric-right {
    order: 2;
    justify-self: stretch;
    margin-inline: auto;
  }

  .presence-metric-right ul {
    margin-top: 12px;
    padding: 0;
    list-style: none;
  }

  .presence-metric-right li {
    margin-top: 10px;
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #d9d9d9;
    text-align: left;
  }

  .presence-metric-right li::before {
    content: '+ ';
    color: var(--brand);
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .mission-vision-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mission-row .mission-vision-copy,
  .mission-row .mission-vision-media,
  .vision-row .mission-vision-copy,
  .vision-row .mission-vision-media {
    justify-self: stretch;
  }

  .vision-row .mission-vision-copy {
    order: 1;
  }

  .vision-row .mission-vision-media {
    order: 2;
  }

  #history .container,
  #team .container,
  #mission-vision .container,
  #presence .container {
    text-align: center;
  }

  #history p,
  #team p,
  #mission-vision p,
  #presence p,
  #presence li {
    text-align: center;
  }

  #presence .presence-counter p {
    text-align: left;
  }
  #history .split > div:first-child {
    order: 1;
  }

  #history .split > .placeholder {
    order: 2;
  }
}
@media (max-width: 1200px) {
  .site-header.scrolled .header-inner {
    width: calc(100vw - 22px);
    padding-inline: 14px;
    border-radius: 12px;
  }
}

@media (max-width: 1024px) {
  .container { width: min(1120px, 95vw); }
  .main-nav { gap: 18px; font-size: .9rem; }
}

@media (max-width: 768px) {
  .container {
    width: min(1120px, calc(100vw - 36px));
  }

  .site-header.top .header-inner,
  .site-header.scrolled .header-inner {
    grid-template-columns: 1fr auto 1fr;
    min-height: 72px;
    width: calc(100vw - 16px);
    margin-inline: auto;
    border-radius: 12px;
    padding-inline: 12px;
  }

  .site-header.top .header-inner {
    background: transparent;
    border: 0;
    backdrop-filter: none;
  }

  .site-header.scrolled .header-inner {
    margin-top: 8px;
    background: rgba(255,255,255,.96);
    border: 1px solid #d8d8d8;
    backdrop-filter: none;
  }

  .site-header.top .logo,
  .site-header.scrolled .logo {
    grid-column: 2;
    justify-self: center;
    font-size: 1.2rem;
    padding: .38rem 1.5rem;
  }

  .main-nav,
  .site-header.scrolled .main-nav,
  .site-header.top .main-nav,
  .lang {
    display: none !important;
  }

  .hamburger { display: block !important; justify-self: end; grid-column: 3; }

  .hero {
    padding-top: 84px;
  }

  .hero:not(.hero-slider) {
    min-height: 100svh;
  }

  .hero:not(.hero-slider) .hero-grid {
    min-height: calc(100svh - 84px);
    align-content: center;
  }

  .hero-slider {
    min-height: 100svh;
    padding-top: 0;
  }

  .hero-content {
    width: min(560px, calc(100vw - 44px));
    margin-inline: auto;
  }

  .hero-slide.slide-1 .hero-content,
  .hero-slide.slide-2 .hero-content {
    width: min(560px, calc(100vw - 44px));
  }

  .hero-content p {
    font-size: clamp(1.06rem, 4.2vw, 1.32rem);
  }

  .hero-slide.slide-1 .hero-content p,
  .hero-slide.slide-2 .hero-content p {
    max-width: 58ch;
  }

  .hero-bullets {
    bottom: 18px;
    gap: 14px;
  }

  .hero-side-link {
    display: none;
  }

  .hero-bullet {
    width: 16px;
    height: 16px;
  }

  .hero-scroll-hint {
    display: inline-flex;
    bottom: 52px;
    font-size: 0.82rem;
  }

  .home-page h1,
  .home-page h2,
  .home-page h3,
  .home-page p {
    text-align: center;
  }

  .home-page .btn {
    margin-inline: auto;
  }

  .home-page .about-section .btn,
  .home-page .portfolio-section .btn {
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }

  .home-page .services-cards .service-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(320px, 100%);
  }

  .home-page .about-section .about-copy {
    order: 1;
  }

  .home-page .about-section .placeholder,
  .home-page .about-section .section-media {
    order: 2;
  }

  .home-page .portfolio-section .portfolio-copy {
    order: 1;
  }

  .home-page .portfolio-section .placeholder,
  .home-page .portfolio-section .section-media {
    order: 2;
  }

  .hero-grid, .split { grid-template-columns: 1fr; }
  .cards, .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
.hamburger {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 38px;
  padding: 7px 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #111;
  margin: 5px 0;
}

.site-header.top .hamburger span {
  background: #ffffff;
}

.site-header.scrolled .hamburger span {
  background: #111111;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 60;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.menu-overlay.open,
.menu-overlay.is-closing {
  visibility: visible;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay.is-closing {
  opacity: 0;
  pointer-events: none;
}

.menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  border: 0;
  background: transparent;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--brand);
}

.menu-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-logo img {
  display: block;
  width: auto;
  height: 78px;
}

.menu-lang {
  border: 1px solid rgba(29, 53, 39, .16);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.menu-content {
  display: grid;
  justify-items: center;
  gap: 28px;
  width: min(100%, 420px);
  padding: 48px 24px 32px;
}

.menu-links {
  display: grid;
  gap: 24px;
  text-align: center;
  font-family: 'Prata', serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

body.menu-open { overflow: hidden; }

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 75;
  width: min(760px, calc(100vw - 24px));
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(100% + 28px));
  transition: opacity .24s ease, transform .28s cubic-bezier(0.22, 1, 0.36, 1), visibility .24s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.cookie-banner.is-hiding {
  opacity: 0;
  visibility: visible;
  transform: translate(-50%, calc(100% + 28px));
  pointer-events: none;
}

.cookie-banner-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  border: 1px solid rgba(42, 80, 52, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 40px rgba(17, 17, 17, .14);
  backdrop-filter: blur(12px);
}

.cookie-banner-title {
  margin: 0 0 8px;
  font-family: 'Prata', serif;
  font-size: 1.1rem;
}

.cookie-banner-copy p:last-child {
  margin: 0;
  color: #222;
  line-height: 1.5;
}

.cookie-banner-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-actions,
.cookie-banner-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, .18);
  background: #fff;
  color: #111;
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.cookie-banner-action:hover {
  transform: translateY(-1px);
}

.cookie-banner-accept,
.cookie-banner-save {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.cookie-banner-panel {
  display: grid;
  gap: 14px;
  padding-top: 6px;
  border-top: 1px solid rgba(17, 17, 17, .08);
}

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

.cookie-banner-panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Prata', serif;
  font-size: 1rem;
}

.cookie-banner-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 18px;
  background: #fbfbf8;
}

.cookie-banner-option.is-required {
  background: #f5f7f4;
}

.cookie-banner-option-copy p {
  margin: 0;
}

.cookie-banner-option-title {
  font-weight: 700;
  color: #111;
}

.cookie-banner-option-text {
  margin-top: 6px !important;
  color: #454545;
  line-height: 1.45;
}

.cookie-banner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(42, 80, 52, .1);
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}

.cookie-banner-toggle {
  display: inline-flex;
  align-items: center;
}

.cookie-banner-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner-toggle-ui {
  position: relative;
  width: 56px;
  height: 32px;
  border-radius: 999px;
  background: #d6ddd7;
  transition: background-color .2s ease;
}

.cookie-banner-toggle-ui::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .14);
  transition: transform .22s ease;
}

.cookie-banner-checkbox:checked + .cookie-banner-toggle-ui {
  background: var(--brand);
}

.cookie-banner-checkbox:checked + .cookie-banner-toggle-ui::before {
  transform: translateX(24px);
}

.cookie-settings-button {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 74;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #111;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 17, 17, .12);
  backdrop-filter: blur(10px);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.cookie-settings-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, .16);
}

.cookie-settings-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cookie-settings-icon circle:first-of-type {
  fill: var(--brand);
  stroke: none;
}

@media (max-width: 768px) {
  .cookie-banner {
    width: calc(100vw - 12px);
    bottom: 6px;
  }

  .cookie-banner-shell {
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: calc(100vh - 92px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    border-radius: 18px;
  }

  .cookie-banner-copy {
    text-align: left;
  }

  .cookie-banner-title {
    margin-bottom: 6px;
    font-size: 1rem;
  }

  .cookie-banner-copy p:last-child {
    font-size: .92rem;
    line-height: 1.42;
  }

  .cookie-banner-actions,
  .cookie-banner-panel-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-banner-action {
    width: 100%;
  }

  .cookie-banner-action {
    min-height: 48px;
    font-size: .79rem;
    letter-spacing: .02em;
  }

  .cookie-banner-option {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 13px;
  }

  .cookie-banner-option-title {
    font-size: .95rem;
  }

  .cookie-banner-option-text {
    font-size: .88rem;
    line-height: 1.4;
  }

  .cookie-banner-badge,
  .cookie-banner-toggle {
    justify-self: start;
  }

  .cookie-settings-button {
    left: 8px;
    right: auto;
    bottom: 72px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }
}




/* Contacts page hero map and contact blocks */
body.contacts-page .hero:not(.hero-slider) .hero-grid {
  min-height: calc(100vh - 68px);
  column-gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

body.contacts-page .hero-grid .placeholder,
body.contacts-page .hero-grid .contact-map-media {
  min-height: clamp(360px, 58vh, 560px);
}

body.contacts-page .contact-map-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 24px 46px rgba(0, 0, 0, .18);
  align-self: stretch;
}

body.contacts-page .contact-map-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 80, 52, 0);
  transition: background .24s ease;
  pointer-events: none;
}

body.contacts-page .contact-map-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
}

body.contacts-page .contact-map-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 12px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: 0;
  transition: opacity .24s ease, transform .24s ease, background .24s ease;
  z-index: 1;
}

body.contacts-page .contact-map-media:hover::after,
body.contacts-page .contact-map-media:focus-within::after {
  background: rgba(42, 80, 52, 0.34);
}

body.contacts-page .contact-map-media:hover .contact-map-link,
body.contacts-page .contact-map-media:focus-within .contact-map-link {
  opacity: 1;
  transform: translate(-50%, -50%);
}

body.contacts-page .contact-map-link:hover {
  background: rgba(255, 255, 255, .2);
}

body.contacts-page .hero-grid > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

body.contacts-page .hero-grid > div:last-child .btn {
  display: inline-flex;
  width: fit-content;
  margin: 20px 0 0;
}

.contact-box {
  margin-top: var(--space-stack-sm);
  padding: 22px;
  border: 1px solid #d8d8d8;
  background: var(--panel-soft);
  border-radius: var(--radius-md);
}

.contact-mail-form {
  display: grid;
  gap: 10px;
}

.contact-mail-form input,
.contact-mail-form textarea {
  width: 100%;
  border: 1px solid #bdbdbd;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #111;
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-md);
}

.contact-mail-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-mail-form .btn {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
}

.contact-form-status {
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-md, 8px);
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-form-status.is-success {
  background: #e8f5e9;
  color: #2e7d32;
}

.contact-form-status.is-error {
  background: #fbe9e7;
  color: #c62828;
}

.contact-mail-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: wait;
}


@media (max-width: 768px) {
  body.contacts-page .site-header .logo {
    grid-column: 2;
    justify-self: center;
    font-size: 1.2rem;
    padding: .38rem 1.5rem;
  }

  body.contacts-page .hero:not(.hero-slider) .hero-grid {
    min-height: calc(100svh - 68px);
  }

  body.contacts-page .hero-grid > .contact-map-media {
    order: 2;
    min-height: clamp(300px, 46svh, 420px);
  }

  body.contacts-page .hero-grid > div:last-child {
    order: 1;
    align-items: center;
    text-align: center;
  }

  body.contacts-page .hero-grid > div:last-child p {
    text-align: center;
  }

  body.contacts-page .hero-grid > div:last-child .btn {
    margin: 20px auto 0;
  }

  body.contacts-page .section-copy .btn,
  body.contacts-page .contact-mail-form .btn {
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }

  .contact-box {
    padding: 18px;
  }

  .contact-mail-form .btn {
    margin-inline: auto;
  }
}

.branches-section .container {
  text-align: center;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.branch-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: 0;
  text-align: center;
  max-width: 320px;
  margin-inline: auto;
}

.branch-thumb {
  width: 100%;
  height: 180px;
  border: 1px solid #bdbdbd;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 12px;
}

.branch-card h3 {
  margin: 0 0 8px;
}

.branch-card p {
  margin: 0;
}

.branch-card-last {
  grid-column: 1 / -1;
  width: min(320px, 100%);
}

@media (max-width: 1200px) {
  .branches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .branch-card-last {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .branches-grid {
    grid-template-columns: 1fr;
  }

  .branch-card-last {
    grid-column: auto;
    width: 100%;
  }
}

/* Footer shared across all pages */
footer {
  position: relative;
  padding: clamp(40px, 6vw, 64px) 0 28px;
  background: linear-gradient(180deg, #2a5034 0%, #1f4330 100%);
  color: #ffffff;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: rgba(255, 255, 255, .14);
}

.footer-shell {
  display: grid;
  gap: 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(320px, 1fr);
  align-items: center;
  column-gap: clamp(24px, 4vw, 56px);
  row-gap: 22px;
}

.footer-top-contacts,
.footer-top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  font-size: .84rem;
  line-height: 1.6;
}

.footer-top-contacts {
  justify-content: flex-end;
  text-align: right;
}

.footer-contact-inline {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.footer-contact-separator {
  color: rgba(255, 255, 255, .68);
}

.footer-top-nav {
  justify-content: center;
  align-content: center;
  font-family: 'Prata', serif;
  font-size: .95rem;
  text-align: center;
}

@media (min-width: 769px) {
  .footer-top-nav {
    height: 100%;
    gap: 12px 28px;
  }
}

.footer-brand {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  padding-inline: 0;
}

.footer-brand .logo {
  margin-inline: 0;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

footer .muted,
footer p,
footer a {
  color: rgba(255, 255, 255, .82);
}

footer a:hover {
  color: #ffffff;
}

footer .footer-top-nav a::after,
footer .footer-bottom-policy a::after {
  background: rgba(255, 255, 255, .88);
}

.footer-brand-copy {
  max-width: 24ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #ffffff;
}

.footer-bottom {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-bottom-copy {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  color: rgba(255, 255, 255, .6);
}

.footer-bottom-policy {
  margin: 0;
  font-size: .84rem;
}

@media (max-width: 1200px) {
  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-top-contacts,
  .footer-top-nav {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-top {
    justify-items: center;
  }

  .footer-top-contacts,
  .footer-top-nav {
    justify-content: center;
    text-align: center;
  }

  .footer-top-nav {
    flex-direction: column;
    gap: 10px;
  }

  .footer-brand {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-inline: 0;
  }

  .footer-top-contacts {
    justify-content: center;
    text-align: center;
  }

  .footer-contact-inline {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    white-space: normal;
  }

  .footer-contact-separator {
    display: none;
  }
}

.contact-privacy-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 6px;
  font-size: .82rem;
  line-height: 1.45;
  color: #454545;
}

.contact-privacy-consent input {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.contact-privacy-consent a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Services page private label slider */
.private-label-section .container {
  text-align: center;
}

.private-label-copy {
  max-width: 980px;
  margin-inline: auto;
}

.private-label-slider {
  margin-top: var(--space-stack-lg);
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #e1e1e1;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fbfbf8 0%, #f3f3ee 100%);
}

.private-label-slides {
  flex: 1;
}

.private-label-slide {
  display: none;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
  gap: 8px;
  align-items: center;
}

.private-label-slide.is-active {
  display: grid;
}

.private-label-media {
  min-height: 380px;
  width: 100%;
  justify-self: center;
  align-self: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  border: 0;
}

.private-label-slide:nth-of-type(1) .private-label-media {
  background-image: url("assets/images/Biancolatte-prodotti.png");
}

.private-label-slide:nth-of-type(2) .private-label-media {
  background-image: url("assets/images/Maggese-prodotti.png");
}

.private-label-slide:nth-of-type(3) .private-label-media {
  background-image: url("assets/images/Kleis-prodotti.png");
}

.private-label-slide:nth-of-type(4) .private-label-media {
  background-image: url("assets/images/Putignano-1890-prodotti.png");
}

.private-label-slide:nth-of-type(5) .private-label-media {
  background-image: url("assets/images/Cora Brand-prodotti.png");
}
.private-label-text {
  text-align: center;
  width: 100%;
  max-width: 300px;
  justify-self: center;
  align-self: center;
}

.private-label-text h3 {
  margin: 0 0 var(--space-heading-text);
}

.private-label-text p {
  margin: 0;
  text-align: center;
}

.private-slider-arrow {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: transparent;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
}

.private-slider-arrow::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #2a5034;
  border-right: 2px solid #2a5034;
}

.private-slider-arrow.prev::before {
  transform: rotate(-135deg);
}

.private-slider-arrow.next::before {
  transform: rotate(45deg);
}

.private-slider-arrow:hover {
  opacity: .65;
}

@media (max-width: 768px) {
  .private-label-slider {
    display: block;
    padding-inline: 56px;
  }

  .private-label-slides {
    grid-column: auto;
    grid-row: auto;
  }

  .private-label-slide {
    grid-template-columns: 1fr;
  }

  .private-label-media {
    min-height: 280px;
  }

  .private-label-text,
  .private-label-text p,
  .private-label-text h3 {
    text-align: center;
  }

  .private-label-text {
    max-width: 100%;
    justify-self: center;
  }

  .private-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    margin-top: 0;
    width: 46px;
    height: 46px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(17, 17, 17, .08);
  }

  .private-slider-arrow.prev {
    left: 10px;
    transform: translateY(-50%);
  }

  .private-slider-arrow.next {
    right: 10px;
    transform: translateY(-50%);
  }
}
.services-preview .container {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.services-title {
  margin-bottom: var(--space-heading-text);
}

.services-intro {
  max-width: 760px;
  margin: 0 auto var(--space-stack-md);
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  min-height: 0;
  transition: opacity .2s ease, transform .2s ease;
}

.service-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 196px;
  min-height: 179px;
  margin-bottom: 10px;
}

.service-card .icon img {
  display: block;
  width: 100%;
  max-width: 179px;
  height: auto;
  margin: 0 auto;
}

.service-card h3 {
  margin: 0;
  font-size: 1rem;
}

.service-card:hover {
  opacity: .85;
  transform: translateY(-3px);
}

.services-more-btn {
  margin-top: var(--space-stack-lg);
  margin-inline: auto;
}

@media (min-width: 1201px) {
  .home-page .services-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .home-page .services-cards .service-card {
    flex: 0 0 calc((100% - 72px) / 5);
    max-width: calc((100% - 72px) / 5);
  }
}

@media (max-width: 1200px) {
  .services-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .services-cards {
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
    order: 4;
  }

  .services-title {
    order: 1;
  }

  .services-intro {
    order: 2;
    margin-bottom: 20px;
  }

  .services-more-btn {
    order: 3;
    margin-top: 0;
    margin-bottom: 32px;
  }

  .service-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 88px;
    min-height: 0;
    margin-bottom: 0;
  }

  .service-card .icon img {
    max-width: 100%;
    max-height: 84px;
  }

  .service-card h3 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 3.1em;
    margin-top: 6px;
    text-align: center;
  }

  .home-page .section .section-copy {
    order: 1;
  }

  .home-page .section .contact-box {
    order: 2;
    margin-top: 20px;
  }

  .section-copy,
  .mission-vision-copy,
  .portfolio-section-intro,
  .branches-section .container,
  .team-section .container,
  .private-label-section .container,
  .home-page .services-preview .container,
  .home-page .portfolio-copy,
  .home-page .about-copy,
  .home-page .contact-box,
  .home-page .section > .container > div:first-child {
    text-align: center;
  }

  .section-copy .btn,
  .mission-vision-copy .btn,
  .portfolio-section-intro .btn,
  .branches-section .btn,
  .team-section .btn,
  .private-label-section .btn,
  .home-page .section .btn {
    margin-inline: auto;
  }

  .split > .section-copy,
  .split > div:first-child:not(.section-media):not(.contact-box),
  .mission-row .mission-vision-copy,
  .vision-row .mission-vision-copy {
    order: 1;
  }

  .split > .section-media,
  .mission-row .mission-vision-media,
  .vision-row .mission-vision-media {
    order: 4;
  }

  .mission-vision-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mission-vision-copy {
    max-width: 100%;
  }

  .private-label-section .btn,
  .branches-section .btn,
  .team-section .btn,
  .portfolio-section-intro .btn {
    display: inline-flex;
    width: fit-content;
  }

  .portfolio-section-intro {
    max-width: 680px;
    margin: 0 auto 28px;
  }

  .branches-intro {
    max-width: 760px;
    margin-inline: auto;
  }

  .branches-grid,
  .team-grid {
    margin-top: 32px;
  }

  #market-access-commercial-development .container,
  #private-label-excellence .container,
  #market-intelligence-pricing .container,
  #integrated-marketing-digital .container,
  #sales-digitalization .container,
  #commercial-legal .container,
  #dedicated-customer-service .container {
    text-align: center;
  }

  #market-access-commercial-development h2,
  #market-access-commercial-development p,
  #private-label-excellence h2,
  #private-label-excellence h3,
  #private-label-excellence p,
  #market-intelligence-pricing h2,
  #market-intelligence-pricing p,
  #integrated-marketing-digital h2,
  #integrated-marketing-digital p,
  #sales-digitalization h2,
  #sales-digitalization p,
  #commercial-legal h2,
  #commercial-legal p,
  #dedicated-customer-service h2,
  #dedicated-customer-service p {
    text-align: center;
  }

  #market-access-commercial-development .split > .section-copy,
  #market-intelligence-pricing .split > .section-copy,
  #integrated-marketing-digital .split > .section-copy,
  #commercial-legal .split > .section-copy {
    order: 1 !important;
  }

  #market-access-commercial-development .split > .section-media,
  #market-intelligence-pricing .split > .section-media,
  #integrated-marketing-digital .split > .section-media,
  #commercial-legal .split > .section-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  #market-access-commercial-development .split > .section-media img,
  #market-intelligence-pricing .split > .section-media img,
  #integrated-marketing-digital .split > .section-media img,
  #commercial-legal .split > .section-media img {
    border-radius: inherit;
    overflow: hidden;
  }

  #market-access-commercial-development .split > .section-media,
  #market-intelligence-pricing .split > .section-media,
  #integrated-marketing-digital .split > .section-media,
  #commercial-legal .split > .section-media,
  #market-access-commercial-development .split > .placeholder,
  #market-intelligence-pricing .split > .placeholder,
  #integrated-marketing-digital .split > .placeholder,
  #commercial-legal .split > .placeholder {
    order: 2 !important;
  }
}

@media (max-width: 560px) {
  .services-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 320px;
    margin-inline: auto;
  }

  .home-page .services-cards .service-card:last-child {
    width: 100%;
  }
}

/* Portfolio page interactive sections */
.portfolio-hero-content {
  text-align: center;
  width: min(100%, 520px);
  margin-inline: auto;
  min-height: min(70vh, 700px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.portfolio-hero-content h1 {
  margin: 0;
}

.portfolio-hero-links {
  margin-top: clamp(28px, 5vw, 48px);
}

.portfolio-ring-section .container {
  text-align: center;
  width: 100%;
}

.portfolio-ring-section-title {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.portfolio-ring-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.portfolio-ring-svg {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  height: auto;
  overflow: visible;
}

.portfolio-ring-visuals {
  pointer-events: none;
}

.portfolio-ring-visual image {
  image-rendering: auto;
}

.portfolio-ring-segment {
  fill: rgba(42, 80, 52, 0.001);
  stroke: #fff;
  stroke-width: 2;
  cursor: pointer;
  pointer-events: all;
  transition: fill .22s ease;
}

.portfolio-ring-segment:hover,
.portfolio-ring-segment:focus-visible,
.portfolio-ring-segment.is-active {
  fill: rgba(42, 80, 52, 0.96);
  outline: none;
}
.portfolio-ring-core {
  fill: #fff;
  stroke: #d9d9d9;
  stroke-width: 1.5;
}

.portfolio-ring-label {
  opacity: 0;
  pointer-events: none;
}

.portfolio-ring-center-media {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: auto;
  width: min(55.7%, 434px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .24s ease;
  pointer-events: none;
}

.portfolio-ring-center-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42, 80, 52, 0.84);
}

.portfolio-ring-wrapper.is-segment-active .portfolio-ring-center-media {
  opacity: 1;
}
.portfolio-ring-center-label {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: auto;
  width: min(38%, 240px);
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12em;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: #171717;
  transition: color .2s ease;
  text-align: center;
  pointer-events: none;
}

.portfolio-ring-wrapper.is-segment-active .portfolio-ring-center-label {
  color: #fff;
}

.portfolio-ring-center-label span {
  display: block;
}

@media (max-width: 900px) {
  .portfolio-ring-svg {
    width: min(100%, 620px);
  }

  .portfolio-ring-center-media {
    width: min(55.7%, 344px);
  }

  .portfolio-ring-center-label {
    width: min(42%, 220px);
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .portfolio-hero-content {
    min-height: min(64vh, 520px);
  }

  .portfolio-hero-links {
    margin-top: 24px;
  }

  .portfolio-ring-section {
    min-height: 100svh;
    padding: 20px 0;
  }

  .portfolio-ring-svg {
    width: min(100%, 500px);
  }

  .portfolio-ring-label {
    font-size: 16px;
  }
}

body.portfolio-modal-open {
  overflow: hidden;
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 999;
  transition: opacity .25s ease, visibility .25s ease;
}

.portfolio-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, .62);
}

.portfolio-modal-dialog {
  position: relative;
  width: min(100%, 980px);
  margin: 24px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.portfolio-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(17, 17, 17, .82);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.portfolio-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: min(78vh, 620px);
}

.portfolio-modal-copy {
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  overflow-y: auto;
}

.portfolio-modal-copy h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.portfolio-modal-copy p {
  margin: 0;
  color: #242424;
  line-height: 1.65;
}

.portfolio-modal-media {
  position: relative;
  background: #f4f4f4;
  overflow: hidden;
}

.portfolio-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .portfolio-modal-dialog {
    width: min(100%, 520px);
  }

  .portfolio-modal-grid {
    height: min(82vh, 700px);
  }
}

@media (max-width: 768px) {
  .portfolio-modal-close {
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    font-size: 32px;
    z-index: 6;
  }

  .portfolio-modal-dialog {
    width: 100%;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .portfolio-modal-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 44% 56%;
    min-height: 100%;
  }

  .portfolio-modal-copy {
    order: 2;
    padding: 24px;
  }

  .portfolio-modal-media {
    order: 1;
  }
}


/* Portfolio mobile accordion overrides */
.portfolio-priorities {
  padding-top: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(circle at top left, rgba(181, 197, 173, .28), transparent 34%),
    linear-gradient(180deg, #f8f8f2 0%, #eef1e7 100%);
}

.portfolio-priorities-shell {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
}

.portfolio-priorities-copy {
  text-align: center;
}

.portfolio-priorities-copy h2 {
  margin-bottom: var(--space-heading-text);
}

.portfolio-priorities-layout {
  display: grid;
  grid-template-columns: minmax(320px, 620px) minmax(220px, 300px);
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.portfolio-priorities-pyramid {
  width: min(100%, 620px);
  justify-self: end;
  margin: 0;
}

.portfolio-priorities-pyramid img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.portfolio-priorities-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  min-height: clamp(320px, 43vw, 520px);
  padding: clamp(78px, 8vw, 96px) 0 clamp(18px, 2vw, 30px);
}

.portfolio-priorities-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(29, 53, 39, .1);
  box-shadow: 0 18px 34px rgba(17, 17, 17, .07);
}

.portfolio-priorities-rank {
  font-family: 'Prata', serif;
  font-size: 1.15rem;
  color: #315942;
}

.portfolio-priorities-name {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  color: #1d3527;
}

.portfolio-priorities-text {
  display: grid;
  gap: 6px;
}

.portfolio-priorities-description {
  margin: 0;
  font-size: .96rem;
  line-height: 1.55;
  color: #4f5d54;
}

.portfolio-priorities-item.priority-top {
  transform: none;
}

.portfolio-priorities-item.priority-base {
  transform: none;
}
.portfolio-private-label {
  background: linear-gradient(180deg, #fbfbf7 0%, #f3f4ed 100%);
}

.portfolio-private-label-shell {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.portfolio-private-label-heading {
  margin-bottom: 0;
  text-align: center;
}

.portfolio-private-label-intro {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.68;
  color: #1f2a24;
}

.portfolio-private-label-board {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
  aspect-ratio: 1.82 / 1;
  min-height: 650px;
  padding: clamp(38px, 4vw, 58px) clamp(40px, 5vw, 64px);
  border-radius: 36px;
  border: 1px solid rgba(26, 44, 33, .1);
  background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(249,249,245,.92) 100%);
  box-shadow: 0 30px 56px rgba(17, 28, 21, .08);
  overflow: visible;
}

.portfolio-private-label-rings {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.portfolio-private-label-ring,
.portfolio-private-label-axis {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.portfolio-private-label-ring {
  border: 1px solid rgba(42, 80, 52, .22);
  border-radius: 50%;
}

.ring-outer {
  display: none;
}

.ring-middle {
  display: none;
}

.ring-inner {
  display: none;
}

.portfolio-private-label-axis {
  background: rgba(42, 80, 52, .22);
}

.axis-horizontal {
  width: min(76%, 760px);
  height: 1px;
}

.axis-vertical {
  width: 1px;
  height: min(74%, 560px);
}

.portfolio-private-label-axis-label {
  position: absolute;
  z-index: 4;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(249, 249, 245, .96);
  font-family: 'Prata', serif;
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.15;
  color: #1d3527;
  white-space: nowrap;
}

.portfolio-private-label-axis-label.axis-top {
  top: 4.5%;
  left: 50%;
  transform: translateX(-50%);
}

.portfolio-private-label-axis-label.axis-right {
  top: 50%;
  right: 9%;
  transform: translateY(-50%);
}

.portfolio-private-label-axis-label.axis-bottom {
  bottom: 4.5%;
  left: 50%;
  transform: translateX(-50%);
}

.portfolio-private-label-axis-label.axis-left {
  top: 50%;
  left: 9%;
  transform: translateY(-50%);
}

.portfolio-private-label-point {
  position: absolute;
  z-index: 3;
  max-width: 180px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.portfolio-private-label-point::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 8px rgba(42, 80, 52, .1);
  transform: translate(-50%, -50%);
}

.portfolio-private-label-point span {
  display: inline-block;
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(17, 17, 17, .08);
  box-shadow: 0 10px 20px rgba(17, 17, 17, .06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.portfolio-private-label-point:hover span,
.portfolio-private-label-point:focus-visible span,
.portfolio-private-label-point.is-active span {
  transform: translateY(-2px);
  border-color: rgba(42, 80, 52, .28);
  box-shadow: 0 14px 24px rgba(17, 17, 17, .1);
}

.point-sourcing { top: 29%; left: 31%; transform: translate(-50%, -50%); }
.point-claims { top: 35%; left: 66%; transform: translate(-50%, -50%); }
.point-packaging { top: 26%; left: 66%; transform: translate(-50%, -50%); }
.point-compliance { top: 18%; left: 51%; transform: translate(-50%, -50%); }
.point-pricing { top: 55%; left: 25%; transform: translate(-50%, -50%); }
.point-logistics { top: 63%; left: 69%; transform: translate(-50%, -50%); }
.point-prototype { top: 74%; left: 50%; transform: translate(-50%, -50%); }
.point-label { top: 50%; left: 56%; transform: translate(-50%, -50%); }

.portfolio-private-label-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: min(300px, calc(100% - 40px));
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 22px 38px rgba(17,17,17,.14);
  transform: translate(-50%, calc(-100% - 18px));
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}

.portfolio-private-label-overlay:not([hidden]) {
  opacity: 1;
}

.portfolio-private-label-overlay h3 {
  margin: 0 0 10px;
  text-align: center;
}

.portfolio-private-label-overlay p {
  margin: 0;
  text-align: center;
  color: #2c2c2c;
}

.portfolio-mobile-accordion {
  display: none;
}

.portfolio-accordion-item {
  border: 1px solid #d8d8d8;
  border-radius: var(--radius-md);
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.portfolio-accordion-trigger {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 46px 16px 18px;
  border: 0;
  background: #f8f8f8;
  color: #111;
  font: inherit;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.portfolio-accordion-trigger > span:first-child {
  width: 100%;
}

.portfolio-accordion-icon {
  position: absolute;
  right: 18px;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .2s ease;
}

.portfolio-accordion-item.is-open .portfolio-accordion-icon {
  transform: rotate(45deg);
}

.portfolio-accordion-panel {
  padding: 18px;
  text-align: center;
}

.portfolio-accordion-panel h3 {
  margin: 16px 0 10px;
  font-size: 1.2rem;
}

.portfolio-accordion-panel p {
  margin: 0;
}

.portfolio-accordion-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
}

.portfolio-accordion-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .portfolio-ring-section {
    min-height: auto;
  }

  .portfolio-ring-section-title {
    margin-bottom: 0;
  }

  .portfolio-ring-wrapper {
    display: none;
  }

  .portfolio-mobile-accordion {
    display: grid;
    gap: 12px;
    width: min(calc(100% - 32px), 560px);
    margin: 40px auto 0;
  }
}

/* Logo image sizing override */
.logo {
  padding: 0;
  border: 0;
  line-height: 0;
  font-size: 0;
}

.logo img {
  display: block;
  width: auto;
  height: 24px;
}

.site-header.top .logo img {
  height: 98px;
}

.site-header.scrolled .logo img {
  height: 34px;
}

.footer-brand .logo img {
  height: 82px;
}

@media (max-width: 768px) {
  .site-header.top .logo,
  .site-header.scrolled .logo {
    padding: 0;
    display: flex;
    align-items: center;
    align-self: center;
  }

  .site-header.top .logo {
    margin-top: 8px;
  }

  .site-header.scrolled .logo {
    margin-top: 0;
  }

  .site-header.top .logo img {
    height: 70px;
  }

  .site-header.scrolled .logo img {
    height: 54px;
  }
}






























/* About page media refresh */
body.about-page .hero.hero-nav {
  background: var(--brand);
  color: #fff;
}

body.about-page .hero.hero-nav .hero-side-link,
body.about-page .hero.hero-nav .about-hero-links a,
body.about-page .hero.hero-nav h1 {
  color: #fff;
}


body.about-page .hero.hero-nav .about-hero-links a:hover,
body.about-page .hero.hero-nav .hero-side-link:hover {
  color: rgba(255, 255, 255, 0.82);
}

.about-history-media {
  min-height: 320px;
}

.about-history-media img,
.mission-vision-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.mission-vision-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.presence-thumb,
.branch-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
}

.presence-thumb img,
.branch-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.branch-thumb img {
  max-width: 100%;
  max-height: 100%;
}

body.about-page .presence-thumb {
  width: 340px;
  height: 220px;
  min-height: 220px;
}

@media (max-width: 900px) {
  body.about-page .presence-thumb {
    width: min(220px, 52vw);
    height: auto;
    min-height: 0;
    aspect-ratio: 34 / 22;
  }
}

@media (max-width: 768px) {
  body.about-page .presence-thumb {
    width: auto;
    height: 150px;
  }
}



body.about-page .branch-thumb img {
  max-width: 78%;
  max-height: 78%;
}

body.about-page .branches-grid {
  row-gap: 60px;
}

@media (max-width: 768px) {
  body.about-page .branches-grid {
    row-gap: 36px;
  }
}

.trade-shows-section .section-copy {
  max-width: 620px;
}

.trade-shows-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.trade-shows-list li {
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
}

.trade-shows-list li::before {
  content: '+ ';
  color: var(--brand);
  font-weight: 700;
}

.trade-shows-media {
  min-height: 320px;
}

@media (max-width: 768px) {
  .trade-shows-section .container {
    text-align: center;
  }

  .trade-shows-list {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  body.about-page .presence-metric-right p br {
    display: none;
  }
}

@media (max-width: 560px) {
  .presence-metric-left,
  .presence-metric-row:nth-child(2) .presence-metric-left {
    flex-direction: column;
    gap: 16px;
  }

  .presence-counter,
  .presence-metric-row:nth-child(2) .presence-counter {
    min-width: 0;
    flex-basis: auto;
    text-align: center;
  }

  .presence-counter p,
  #presence .presence-counter p {
    text-align: center;
  }

  body.about-page .presence-thumb {
    width: min(100%, 240px);
    height: auto;
  }
}




/* Section hero refresh */
body.services-page .hero.hero-nav,
body.portfolio-page .hero.hero-nav,
body.contacts-page .hero {
  background: var(--brand);
  color: #fff;
}

body.services-page .hero.hero-nav h1,
body.services-page .hero.hero-nav .about-hero-links a,
body.services-page .hero.hero-nav .hero-side-link,
body.portfolio-page .hero.hero-nav h1,
body.portfolio-page .hero.hero-nav .about-hero-links a,
body.portfolio-page .hero.hero-nav .hero-side-link,
body.contacts-page .hero h1,
body.contacts-page .hero p,
body.contacts-page .hero .hero-side-link {
  color: #fff;
}


body.contacts-page .hero .placeholder,
body.contacts-page .hero .contact-map-media {
  background: transparent;
  border: 0;
}

body.contacts-page .hero .btn {
  background: #fff;
  border-color: #fff;
  color: var(--brand);
}

body.contacts-page .hero .btn:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(31, 75, 58, .16);
}




























































/* Privacy and cookie policy page */
body.policy-page .hero {
  background: #ffffff;
  color: #111111;
}

body.policy-page .hero:not(.hero-slider) {
  min-height: auto;
}

body.policy-page .hero:not(.hero-slider) .hero-grid {
  min-height: calc(100vh - 68px);
  align-content: start;
}

body.policy-page .policy-grid {
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 4vw, 68px);
  padding: clamp(48px, 7vw, 88px) 0;
  align-items: start;
}

.policy-summary {
  position: sticky;
  top: 108px;
}

.policy-eyebrow {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.policy-status {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(42, 80, 52, .09);
  color: var(--brand-dark);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.policy-intro {
  max-width: 36ch;
  font-size: 1rem;
  color: #222222;
}

.policy-summary-card,
.policy-content {
  border: 1px solid #d9d9d9;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 20px 38px rgba(17, 17, 17, .06);
}

.policy-summary-card {
  margin-top: 28px;
  padding: 24px;
}

.policy-summary-card p {
  margin: 0;
}

.policy-summary-card p + p {
  margin-top: 14px;
}

.policy-anchor-nav {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.policy-anchor-nav a {
  display: inline-flex;
  width: fit-content;
  padding: 6px 0;
  font-weight: 700;
  color: #111111;
  transition: color .2s ease, transform .2s ease;
}

.policy-anchor-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-anchor-nav a.is-active,
.policy-anchor-nav a[aria-current="true"] {
  color: var(--brand);
  transform: translateX(4px);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-content {
  padding: clamp(24px, 3.2vw, 40px);
}

.policy-section + .policy-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e4e4e4;
}

.policy-section h2 {
  margin-bottom: var(--space-heading-text);
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.policy-section p,
.policy-list li {
  color: #222222;
  line-height: 1.7;
}

.policy-list {
  margin: 16px 0;
  padding-left: 20px;
}

.policy-list li + li {
  margin-top: 8px;
}

.policy-callout {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  background: #f7f8f4;
}

.policy-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(17, 17, 17, .18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 12px, 0);
  transition: opacity .24s ease, transform .24s ease, background .2s ease;
}

.policy-back-to-top:hover {
  background: var(--brand);
}

.policy-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

body.policy-page .footer-links a[aria-current="page"]::after {
  opacity: 1;
}

@media (max-width: 900px) {
  body.policy-page .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  body.policy-page .hero:not(.hero-slider) .hero-grid {
    min-height: auto;
  }

  body.policy-page .policy-grid {
    padding: 28px 0 42px;
  }

  .policy-list {
    text-align: left;
  }

  .policy-anchor-nav {
    gap: 8px;
    justify-items: stretch;
  }

  .policy-summary-card {
    padding: 20px;
  }

  .policy-anchor-nav a {
    width: 100%;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    background: #fff;
  }

  .policy-back-to-top {
    right: 16px;
    bottom: 16px;
    padding: 11px 14px;
  }
}

body.policy-page .site-header.top .logo img,
body.policy-page .site-header.scrolled .logo img {
  content: normal;
}

body.policy-page .site-header.top .lang,
body.policy-page .site-header.scrolled .lang {
  color: #111111;
}

body.policy-page .site-header.top .hamburger span,
body.policy-page .site-header.scrolled .hamburger span {
  background: #111111;
}






body.about-page .hero-callout,
body.services-page .hero-callout,
body.portfolio-page .hero-callout {
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

body.about-page .hero-callout h1,
body.about-page .hero-callout .about-hero-links a,
body.services-page .hero-callout h1,
body.services-page .hero-callout .about-hero-links a,
body.portfolio-page .hero-callout h1,
body.portfolio-page .hero-callout .about-hero-links a {
  color: #fff;
}

body.about-page .hero-callout .about-hero-links a:hover,
body.services-page .hero-callout .about-hero-links a:hover,
body.portfolio-page .hero-callout .about-hero-links a:hover {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 768px) {
  body.about-page .hero-callout,
  body.services-page .hero-callout,
  body.portfolio-page .hero-callout {
    width: calc(100% - 30px);
    max-width: 340px;
    padding: 0;
    border-radius: 0;
  }

  .about-hero-links {
    width: min(100%, 360px);
    gap: 10px;
    margin-top: 20px;
  }

  .about-hero-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
  }
}
body.about-page .hero.hero-nav .hero-callout h1,
body.about-page .hero.hero-nav .hero-callout .about-hero-links a,
body.services-page .hero.hero-nav .hero-callout h1,
body.services-page .hero.hero-nav .hero-callout .about-hero-links a,
body.portfolio-page .hero.hero-nav .hero-callout h1,
body.portfolio-page .hero.hero-nav .hero-callout .about-hero-links a {
  color: #fff;
}

body.about-page .hero.hero-nav .hero-callout .about-hero-links a:hover,
body.services-page .hero.hero-nav .hero-callout .about-hero-links a:hover,
body.portfolio-page .hero.hero-nav .hero-callout .about-hero-links a:hover {
  color: rgba(255, 255, 255, 0.82);
}
body.home-page .hero-slider .hero-side-link {
  background: var(--brand);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

body.home-page .hero-slider .hero-side-link:hover {
  color: #fff;
  background: var(--brand-dark);
}

body.about-page .hero.hero-nav .hero-side-link,
body.services-page .hero.hero-nav .hero-side-link,
body.portfolio-page .hero.hero-nav .hero-side-link,
body.contacts-page .hero .hero-side-link {
  background: #fff;
  border-color: rgba(8, 56, 45, 0.1);
  color: var(--brand);
}

body.about-page .hero.hero-nav .hero-side-link:hover,
body.services-page .hero.hero-nav .hero-side-link:hover,
body.portfolio-page .hero.hero-nav .hero-side-link:hover,
body.contacts-page .hero .hero-side-link:hover {
  color: var(--brand);
  background: #f4f8f6;
}
body.home-page .hero-slider .hero-side-link,
body.about-page .hero.hero-nav .hero-side-link,
body.services-page .hero.hero-nav .hero-side-link,
body.portfolio-page .hero.hero-nav .hero-side-link,
body.contacts-page .hero .hero-side-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}
.contact-careers-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.contact-careers-list li {
  position: relative;
  padding-left: 18px;
}

.contact-careers-list li + li {
  margin-top: 10px;
}

.contact-careers-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}
#work-with-us .btn {
  margin-top: 24px;
}

#work-with-us .split {
  align-items: stretch;
}

#work-with-us .section-media {
  min-height: clamp(320px, 42vw, 460px);
  border-radius: 28px;
}

#work-with-us .placeholder {
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 53, 39, .12);
  background:
    radial-gradient(circle at top left, rgba(181, 197, 173, .36), transparent 34%),
    linear-gradient(145deg, #f6f5ee 0%, #e7ebdf 100%);
  box-shadow: 0 24px 44px rgba(17, 28, 21, .08);
}

#work-with-us .placeholder::before {
  content: attr(data-placeholder-label);
  font-family: 'Prata', serif;
  font-size: clamp(1.02rem, 1.7vw, 1.3rem);
  color: rgba(29, 53, 39, .72);
  text-align: center;
  padding: 20px;
}
@media (max-width: 768px) {
  body.home-page .hero-slider .hero-side-link,
  body.about-page .hero.hero-nav .hero-side-link,
  body.services-page .hero.hero-nav .hero-side-link,
  body.portfolio-page .hero.hero-nav .hero-side-link,
  body.contacts-page .hero .hero-side-link {
    display: none;
  }

  body.contacts-page .contact-map-media::after {
    background: rgba(42, 80, 52, 0.28);
  }

  body.contacts-page .contact-map-link {
    top: auto;
    bottom: 16px;
    transform: translateX(-50%);
    opacity: 1;
    padding: 11px 18px;
    background: rgba(42, 80, 52, 0.72);
    border-color: rgba(255, 255, 255, .92);
  }

  body.contacts-page .contact-map-media:hover .contact-map-link,
  body.contacts-page .contact-map-media:focus-within .contact-map-link {
    transform: translateX(-50%);
  }

  .menu-close {
    top: 16px;
    right: 18px;
    font-size: 2.7rem;
  }

  .menu-content {
    gap: 24px;
    padding-top: 58px;
  }

  .menu-links {
    gap: 18px;
    font-size: clamp(1.6rem, 8vw, 2.3rem);
  }

  .menu-lang {
    min-height: 46px;
  }

  .contact-mail-form input,
  .contact-mail-form textarea {
    padding: 14px 16px;
    font-size: 16px;
  }

  .contact-privacy-consent {
    gap: 12px;
    font-size: .88rem;
  }

  .contact-privacy-consent input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
  }
}

/* portfolio mobile refinement */
@media (max-width: 900px) {
  .portfolio-priorities-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .portfolio-priorities-pyramid {
    width: min(100%, 520px);
    justify-self: center;
  }

  .portfolio-priorities-list {
    width: min(100%, 420px);
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    gap: 12px;
  }

  .portfolio-priorities-item {
    padding: 16px 18px;
    border-radius: 18px;
  }

  .portfolio-private-label-board {
    display: block;
    width: min(100%, 760px);
    min-height: 540px;
    aspect-ratio: 1.42 / 1;
    padding: 30px 22px;
    border-radius: 28px;
    overflow: hidden;
  }

  .portfolio-private-label-rings,
  .portfolio-private-label-axis-label {
    display: block;
  }

  .portfolio-private-label-overlay {
    display: none;
  }

  .portfolio-private-label-axis-label {
    font-size: 1rem;
  }

  .portfolio-private-label-axis-label.axis-top {
    top: 5%;
  }

  .portfolio-private-label-axis-label.axis-right {
    right: 5%;
  }

  .portfolio-private-label-axis-label.axis-bottom {
    bottom: 5%;
  }

  .portfolio-private-label-axis-label.axis-left {
    left: 5%;
  }

  .portfolio-private-label-point {
    position: absolute;
    transform: translate(-50%, -50%);
    max-width: 138px;
    width: auto;
  }

  .portfolio-private-label-point::before {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 6px rgba(42, 80, 52, .1);
  }

  .portfolio-private-label-point span {
    display: inline-block;
    padding: 7px 10px;
    font-size: .82rem;
    line-height: 1.25;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #work-with-us .section-media {
    min-height: 260px;
  }

  .section h2,
  .services-title,
  .portfolio-priorities-copy h2,
  .portfolio-private-label-heading {
    margin-bottom: 16px;
  }

  .section-copy > p:first-of-type,
  .services-intro,
  .portfolio-private-label-intro,
  #work-with-us .section-copy > p:first-of-type {
    margin-top: 0;
  }

  .portfolio-priorities {
    padding-top: 28px;
  }

  .portfolio-priorities-shell {
    gap: 22px;
  }

  .portfolio-priorities-pyramid {
    width: min(calc(100% - 40px), 360px);
    margin-inline: auto;
  }

  .portfolio-priorities-list {
    width: min(100%, 320px);
  }

  .portfolio-priorities-item {
    gap: 12px;
    padding: 14px 16px;
  }

  .portfolio-priorities-rank {
    font-size: 1rem;
  }

  .portfolio-priorities-name {
    font-size: .98rem;
  }

  .portfolio-priorities-description {
    font-size: .9rem;
  }

  .portfolio-private-label-shell {
    gap: 20px;
  }

  .portfolio-private-label-board {
    width: min(100%, 360px);
    min-height: 420px;
    aspect-ratio: 1 / 1.08;
    padding: 22px 16px;
    border-radius: 22px;
  }

  .axis-horizontal {
    width: 78%;
  }

  .axis-vertical {
    height: 72%;
  }

  .portfolio-private-label-axis-label {
    font-size: .88rem;
  }

  .portfolio-private-label-axis-label.axis-top {
    top: 4%;
  }

  .portfolio-private-label-axis-label.axis-right {
    right: 2%;
  }

  .portfolio-private-label-axis-label.axis-bottom {
    bottom: 4%;
  }

  .portfolio-private-label-axis-label.axis-left {
    left: 2%;
  }

  .portfolio-private-label-point {
    max-width: 96px;
  }

  .portfolio-private-label-point span {
    padding: 6px 7px;
    font-size: .69rem;
    line-height: 1.2;
    border-radius: 14px;
  }

  .point-sourcing { top: 26%; left: 29%; }
  .point-claims { top: 33%; left: 69%; }
  .point-packaging { top: 23%; left: 67%; }
  .point-compliance { top: 16%; left: 50%; }
  .point-pricing { top: 55%; left: 22%; }
  .point-logistics { top: 63%; left: 74%; }
  .point-prototype { top: 75%; left: 50%; }
  .point-label { top: 50%; left: 56%; }
}
/* private-label mobile tap overlay */
@media (max-width: 900px) {
  .portfolio-private-label-board {
    padding-bottom: 126px;
  }

  .portfolio-private-label-overlay {
    display: block;
    top: auto;
    bottom: 16px;
    left: 50%;
    width: calc(100% - 28px);
    max-width: 420px;
    padding: 14px 16px;
    border-radius: 18px;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 1;
    box-shadow: 0 16px 28px rgba(17,17,17,.12);
  }

  .portfolio-private-label-overlay[hidden] {
    display: none;
  }

  .portfolio-private-label-overlay h3 {
    margin: 0 0 6px;
    font-size: .98rem;
  }

  .portfolio-private-label-overlay p {
    font-size: .9rem;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .portfolio-private-label-board {
    padding-bottom: 132px;
  }

  .portfolio-private-label-overlay {
    width: calc(100% - 24px);
    max-width: 320px;
    bottom: 12px;
    padding: 12px 14px;
  }

  .portfolio-private-label-overlay h3 {
    font-size: .9rem;
  }

  .portfolio-private-label-overlay p {
    font-size: .82rem;
  }
}

