:root {
  --color-bg: #ffffff;
  --color-text: #454545;
  --color-muted: #6b6b6b;
  --color-accent: #b3273f;
  --color-accent-bright: #e51a3a;
  --color-border: #acabae;
  --color-nav-bg: #b3273f;
  --color-nav-text: #ffffff;
  --color-nav-active: #acabae;
  --color-footer-bg: #f3efef;
  --color-footer-text: #454545;
  --color-footer-muted: #6b6b6b;
  --color-footer-accent: #b3273f;
  --color-input-bg: #f8f8f8;
  --font-body: "Roboto", Helvetica, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Quicksand", "Trebuchet MS", "Segoe UI", sans-serif;
  --max: 1200px;
  --divider-gradient: linear-gradient(
    90deg,
    transparent 0%,
    rgba(179, 39, 63, .18) 6%,
    rgba(179, 39, 63, .75) 18%,
    var(--color-accent) 35%,
    var(--color-accent) 65%,
    rgba(179, 39, 63, .75) 82%,
    rgba(179, 39, 63, .18) 94%,
    transparent 100%
  );
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 0.96rem + 0.28vw, 1.125rem);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-bright); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: .5rem 1rem;
  z-index: 10000;
}
.skip-link:focus { left: 0; }

.site-header {
  display: contents;
}

.header-brand {
  background: var(--color-accent);
  padding: 1.4rem 0 1.1rem;
  position: relative;
  z-index: 1000;
}
.header-brand-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand {
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding: .55rem .75rem;
}
.brand img {
  display: block;
  width: min(400px, 58vw);
  height: auto;
  margin: 0 auto;
  border-radius: 0;
}
.brand-mobile { display: none; }

.hamburger {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  padding: .4rem;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.nav-desktop {
  background: var(--color-nav-bg);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1001;
}
.nav-desktop-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 15px;
}
.nav-desktop .nav-list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.nav-desktop .nav-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.nav-desktop .nav-link,
.nav-desktop .nav-details > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .7rem clamp(.15rem, 0.8vw, .6rem);
  color: var(--color-nav-text);
  font-size: clamp(0.82rem, 1.25vw, 1.125rem);
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  line-height: 1.15;
}
.nav-desktop .nav-details > summary::-webkit-details-marker { display: none; }
.nav-desktop .nav-details > summary::after {
  content: "";
  display: inline-block;
  margin-left: .35rem;
  border: .28rem solid transparent;
  border-top-color: currentColor;
  transform: translateY(.18rem);
}

.nav-desktop .nav-item.is-active > .nav-link,
.nav-desktop .nav-item.is-active > .nav-details > summary {
  color: var(--color-nav-active);
  font-weight: 500;
}
.nav-desktop .nav-item:hover > .nav-link,
.nav-desktop .nav-item:hover > .nav-details > summary {
  color: #fff;
}

.nav-desktop .nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  background: var(--color-nav-bg);
  list-style: none;
  margin: 0;
  padding: .25rem 0;
  z-index: 30;
}
.nav-desktop .nav-item:hover > .nav-details > .nav-sub,
.nav-desktop .nav-details[open] > .nav-sub {
  display: block;
}
.nav-desktop .nav-sub .nav-link {
  display: flex;
  justify-content: flex-start;
  text-align: left;
  padding: .65rem 1rem;
  font-size: .875rem;
  font-weight: 400;
  white-space: nowrap;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.nav-desktop .nav-sub .nav-item.is-active > .nav-link {
  color: var(--color-nav-active);
  font-weight: 500;
}
.nav-desktop .nav-sub .nav-link:hover {
  color: #fff;
  background: rgba(0,0,0,.12);
}

.nav-overlay,
.nav-drawer { display: none; }

.hero {
  background: #333 center / cover no-repeat;
  color: #fff;
  text-align: center;
  position: relative;
  min-height: min(78vh, 640px);
  height: min(78vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
}
.hero-image {
  background-image: linear-gradient(rgba(0,0,0,.27), rgba(0,0,0,.27)), var(--hero-image);
  background-attachment: fixed;
}
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
}
.hero-subtitle {
  margin: 1.2rem 0 0;
  font-size: 1.35rem;
  color: #fff;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 15px;
}
.section.narrow { max-width: 900px; }
.section.bordered-top {
  border-top: 0;
}
.section.bordered-top::before {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  margin: 0 0 2.5rem;
  background: var(--divider-gradient);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  margin: 0 0 1.1rem;
  line-height: 1.3;
  color: #252525;
}
.section h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin: 1.75rem 0 .85rem;
  color: #252525;
}
.section p {
  margin: 0 0 1.15rem;
  font-size: clamp(1.02rem, 1.2vw, 1.125rem);
  line-height: 1.65;
}
.section p a:hover { color: var(--color-accent); }

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 120px;
  padding: .75rem 1.5rem;
  background: var(--color-accent);
  color: #fff !important;
  border: 0;
  cursor: pointer;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  text-align: center;
}
.btn:hover { background: #8f1f32; color: #fff !important; }
.btn-center,
.section > .btn {
  display: flex;
  width: fit-content;
  margin: 1.5rem auto 0;
}

.home-slider {
  position: relative;
  min-height: min(78vh, 640px);
  height: min(78vh, 640px);
  background: #222;
  overflow: hidden;
}
.home-slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.home-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem 1.5rem 6.5rem;
  animation-name: home-slide-fade;
  animation-duration: calc(var(--slide-count) * var(--slide-duration));
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: calc(var(--slide-index) * var(--slide-duration));
}
.home-slider .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}
.home-slider .slide-content {
  position: relative;
  z-index: 1;
  max-width: min(1120px, 96vw);
  width: 100%;
  padding: 0 .5rem;
}
.home-slider .slide-heading {
  margin: 0 0 1.35rem;
  font-size: clamp(1.55rem, 3.5vw, 2.5rem);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
  white-space: nowrap;
}
.home-slider p {
  margin: 0;
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
  opacity: .95;
}

@keyframes home-slide-fade {
  0% { opacity: 0; }
  2% { opacity: 1; }
  18% { opacity: 1; }
  20% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-email {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(90vw, 480px);
  max-width: calc(100% - 2rem);
  padding: .85rem 1.5rem;
  background: rgba(0, 0, 0, .55);
  color: #fff !important;
  font-size: clamp(1.05rem, 2.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  word-break: break-word;
}
.hero-email:hover {
  color: #fff !important;
  background: rgba(179, 39, 63, .88);
  border-color: rgba(255,255,255,.55);
}

.home-main {
  background: #ffffff;
  padding: 3.75rem 0 3.85rem;
}
.home-intro {
  width: 83.333%;
  margin: 0 auto;
  text-align: center;
  padding: .35rem 0 .5rem;
}
.home-title {
  margin: 0 0 1.35rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 2.125rem);
  color: #252525;
  line-height: 1.2;
  letter-spacing: .01em;
}
.home-intro .lead {
  margin: 0;
  text-align: center;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.7;
  color: var(--color-text);
}
.home-more {
  margin: .85rem 0 0;
  text-align: center;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.7;
}
.more-link {
  color: var(--color-accent);
  text-decoration: none;
}
.more-link:hover { color: var(--color-accent-bright); }

.home-divider {
  border: 0;
  height: 2px;
  width: 100%;
  margin: 2.85rem 0 3.15rem;
  background: var(--divider-gradient);
}

.home-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.home-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-items: stretch;
  text-align: center;
  min-width: 0;
  height: 100%;
}
.home-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #eaeaea;
}
.home-card-body {
  background: #f2f2f2;
  padding: 1.35rem 1.35rem 1.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .9rem;
  flex: 1;
}
.home-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 500;
  color: #252525;
  line-height: 1.25;
}
.home-card p {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  flex: 1;
}
.home-card .btn {
  width: fit-content;
  margin-top: auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col.contact-grid { gap: 2.5rem 4rem; }
.contact-form-col {
  border-left: 1px solid var(--color-border);
  padding-left: 3rem;
  scroll-margin-top: 5rem;
}
.contact-info .contact-address {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 1.25vw, 1.15rem);
  line-height: 1.6;
}
.contact-meta {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: .65rem;
}
.contact-meta li {
  margin: 0;
  font-size: clamp(1.02rem, 1.2vw, 1.1rem);
  line-height: 1.5;
}
.contact-meta-label {
  display: block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .15rem;
}
.contact-with-icon {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.contact-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  color: var(--color-accent);
}
.contact-subtitle {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 500;
  color: #252525;
  line-height: 1.3;
}
.contact-form-intro {
  margin: 0 0 1.35rem;
  color: var(--color-muted);
}
.contact-form-col form {
  position: relative;
  background: #fafafa;
  border: 1px solid #e6e6e6;
  padding: 1.5rem 1.35rem 1.75rem;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1rem;
}
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field input,
.form-field textarea {
  font: inherit;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  padding: .7rem .8rem;
  min-height: 44px;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.form-field.is-required input,
.form-field.is-required textarea {
  background: #fff5f6;
  border-color: #e8b8c0;
}
.form-field.is-filled input,
.form-field.is-filled textarea,
.form-field.is-ok input,
.form-field.is-ok textarea {
  background: #f6fbf7;
  border-color: #c5ddc9;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #c8c8c8;
  opacity: 1;
}
.form-field input:focus::placeholder {
  color: transparent;
  opacity: 0;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(179, 39, 63, .12);
}
.form-field.is-filled input:focus,
.form-field.is-filled textarea:focus,
.form-field.is-ok input:focus,
.form-field.is-ok textarea:focus {
  border-color: #a8cbae;
  box-shadow: 0 0 0 3px rgba(168, 203, 174, .22);
}
.form-field textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.5;
}
.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: var(--color-accent);
  background: #ffecef;
}
.form-field-error {
  margin: 0;
  color: var(--color-accent);
  font-size: .92rem;
  line-height: 1.35;
}
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-actions {
  margin: 2.75rem 0 0;
  padding-top: .85rem;
  text-align: center;
}
.form-actions .btn {
  display: inline-flex;
  min-width: 10rem;
  justify-content: center;
  padding: .85rem 1.6rem;
}
.form-actions .btn:disabled {
  opacity: .55;
  cursor: wait;
}
.form-alert {
  padding: 1.1rem 1.15rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-border);
}
.form-alert.success {
  background: #f3fff5;
  border-color: #8cbc95;
  padding: 1.4rem 1.25rem;
}
.form-alert.success .form-alert-title {
  font-size: 1.35rem;
}
.form-alert.error {
  background: #fff5f5;
  border-color: #d99;
  color: #8a1f30;
}
.form-alert-title {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f6b35;
}
.form-alert p { margin: 0; }

.list-check { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .65rem;
  font-size: clamp(1.02rem, 1.2vw, 1.125rem);
  line-height: 1.65;
}
.list-check li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.team-grid { display: grid; gap: 0; }
.team-member {
  display: block;
  padding: 2.6rem 0 2.2rem;
  border-bottom: 0;
}
.team-member:not(:last-child)::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  margin-top: 1.6rem;
  background: var(--divider-gradient);
}
.team-intro {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
.team-photo { width: 100%; }
.team-member img,
.team-photo img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  background: #eee;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}
.team-name {
  margin: 0 0 .95rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.7vw, 1.9rem);
  font-weight: 500;
  color: #252525;
  line-height: 1.25;
}
.team-meta {
  margin: 0 0 .55rem;
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--color-text);
}
.team-cv { margin: 1.2rem 0 0; }
.team-domains-block {
  margin-top: 1.75rem;
}
.team-domains-text p {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}
.team-domains-text p:last-child {
  margin-bottom: 0;
}
.team-domains {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  font-weight: 500;
  color: #252525;
  line-height: 1.25;
}
.team-member .list-check {
  margin: 0;
}
.team-member .list-check li {
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  margin-bottom: .7rem;
}
.team-member .list-check strong {
  font-weight: 700;
  color: #252525;
}
.team-member h2 { margin-top: 0; }
.team-member h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  margin: 0 0 .55rem;
}

.values-list {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}
.value-item h3 {
  margin: 0;
  color: var(--color-accent);
  font-size: 1.15rem;
}
.value-item p { margin: .25rem 0 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: .5rem .15rem 1.25rem;
}
.gallery-grid a {
  position: relative;
  display: block;
  background: transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .38);
  transition: box-shadow .25s ease;
}
.gallery-grid a:hover,
.gallery-grid a:focus-visible {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}
.gallery-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #1a1a1a;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 1rem 1.1rem;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: clamp(.85rem, 1.4vw, 1rem);
  font-weight: 400;
  line-height: 1.35;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}
.gallery-caption-name {
  display: block;
  font-weight: 700;
  font-size: 1.05em;
}
.gallery-caption-detail {
  display: block;
  font-weight: 400;
  font-size: .92em;
  opacity: .95;
}
.gallery-grid a:hover .gallery-caption,
.gallery-grid a:focus-visible .gallery-caption {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  padding: 1.5rem;
}
.lightbox:target { display: flex; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  object-fit: contain;
}
.lightbox--portrait {
  padding: clamp(1rem, 3vh, 2rem) clamp(1rem, 5vw, 3.5rem);
}
.lightbox--portrait .lightbox-frame {
  margin: 0;
  width: min(80vmin, 720px);
  height: min(80vmin, 720px);
  max-width: calc(100vw - 5rem);
  max-height: calc(100vh - 4rem);
  overflow: hidden;
  background: #111;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.lightbox--portrait .lightbox-frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.5rem;
  text-decoration: none;
  padding: .5rem;
}
.lightbox-nav.prev { left: .5rem; }
.lightbox-nav.next { right: .5rem; }

.accred-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin: 1rem 0 2rem;
}
.accred-logos img {
  max-height: 70px;
  width: auto;
  background: #fff;
  padding: .25rem;
}
.accred-logos .accred-belbin {
  max-height: 88px;
  border-radius: 50%;
  padding: 0;
}

.formations-page > h2:not(:first-of-type),
.interventions-page > h2:not(:first-of-type),
.conseil-page > h2:not(:first-of-type) {
  margin-top: 0;
}
.formations-page > h2:not(:first-of-type)::before,
.interventions-page > h2:not(:first-of-type)::before,
.conseil-page > h2:not(:first-of-type)::before {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  margin: 2.5rem 0 1.85rem;
  background: var(--divider-gradient);
}

.list-check strong {
  font-weight: 700;
  color: #252525;
}

.map-section {
  margin: 0 0 0;
  padding: 0 15px 1.5rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.map-frame {
  height: 500px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  overflow: hidden;
  background: #e9e9e9;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-directions {
  margin: .85rem 0 0;
  text-align: center;
  font-size: .95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .55rem .85rem;
}
.map-directions a {
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.map-directions a:hover {
  color: var(--color-accent-bright);
}
.map-directions-sep {
  color: #bbb;
  font-weight: 600;
}
.map-gmaps-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  display: block;
}

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 2rem 0 1.1rem;
  margin-top: 1.5rem;
}
.site-footer a {
  color: var(--color-footer-text);
  text-decoration: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.footer-col-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  align-content: start;
}
.footer-col-links {
  padding-left: 0;
  margin-left: 0;
}
.footer-col p {
  margin: 0 0 .45rem;
  font-size: 1rem;
  line-height: 1.45;
}
.footer-label {
  margin: 0 0 .35rem !important;
  font-size: .9rem !important;
  font-weight: 700;
  color: var(--color-footer-accent);
}
.footer-label-links {
  color: var(--color-footer-accent);
}
.footer-col .footer-label + .footer-label { margin-top: .75rem !important; }
.footer-with-icon {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.footer-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  color: var(--color-footer-accent);
}
.footer-links {
  list-style: none;
  margin: .15rem 0 0;
  padding: 0;
}
.footer-links li {
  position: relative;
  margin-bottom: .4rem;
  padding-left: 1.15rem;
}
.footer-links li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-footer-accent);
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
}
.footer-links a {
  color: var(--color-footer-text);
  font-size: 1rem;
  line-height: 1.4;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size .28s ease, color .2s ease;
}
.footer-links a:hover {
  color: var(--color-footer-accent);
  background-size: 100% 1px;
}
.footer-company {
  font-weight: 700;
}
.site-footer .footer-col a {
  color: var(--color-footer-text);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size .28s ease, color .2s ease;
}
.site-footer .footer-col a:hover {
  color: var(--color-footer-accent);
  background-size: 100% 1px;
}
.footer-bottom {
  margin: 1.1rem auto 0;
  padding-top: .7rem;
  border-top: 1px solid rgba(64, 56, 57, .15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom-credit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
  flex-shrink: 0;
}
.footer-bottom-copy {
  color: var(--color-footer-muted);
  text-align: right;
  white-space: nowrap;
}
.footer-teamtaom {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  opacity: .92;
  transition: opacity .2s ease, transform .2s ease;
}
.footer-teamtaom img {
  display: block;
  width: auto;
  height: 1.55rem;
  max-height: 28px;
}
.footer-teamtaom:hover {
  opacity: 1;
  transform: translateY(-1px);
  background-size: 0 !important;
}
.footer-bottom a {
  color: var(--color-footer-muted);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size .28s ease, color .2s ease;
}
.footer-bottom a:hover {
  color: var(--color-footer-accent);
  background-size: 100% 1px;
}
.footer-bottom a.footer-teamtaom:hover {
  background-size: 0;
}

.scroll-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: .9;
}
.scroll-top svg { width: 1.1rem; height: 1.1rem; }
.scroll-top:hover { opacity: 1; color: #fff; }

.legal-page h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  margin: 1.5rem 0 .65rem;
}

@media (max-width: 1024px) {
  .brand-desktop { display: none; }
  .brand-mobile { display: block; }
  .brand-mobile img { width: min(300px, 68vw); }
  .header-brand {
    position: sticky;
    top: 0;
    z-index: 1001;
  }
  .header-brand-inner {
    justify-content: flex-start;
    padding-right: 3rem;
  }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1100;
  }
  .nav-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100%;
    background: #f1f1f1;
    z-index: 1200;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    padding: 4.5rem 1.25rem 2rem;
  }
  .nav-toggle:checked ~ .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle:checked ~ .nav-drawer {
    transform: translateX(0);
  }
  .nav-drawer .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-drawer .nav-link,
  .nav-drawer .nav-details > summary {
    display: block;
    padding: .8rem 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
    color: #252525;
    font-size: 1.05rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .05em;
    list-style: none;
    cursor: pointer;
  }
  .nav-drawer .nav-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
  }
  .nav-drawer .nav-details > summary::-webkit-details-marker { display: none; }
  .nav-drawer .nav-details > summary::after {
    content: "";
    flex: 0 0 auto;
    width: 0;
    height: 0;
    border-left: .35rem solid transparent;
    border-right: .35rem solid transparent;
    border-top: .45rem solid var(--color-accent);
    transition: transform .2s ease;
  }
  .nav-drawer .nav-details[open] > summary::after {
    transform: rotate(180deg);
  }
  .nav-drawer .has-children > .nav-details > summary {
    font-weight: 400;
  }
  .nav-drawer .nav-sub {
    list-style: none;
    margin: 0;
    padding: 0 0 .55rem .95rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .nav-drawer .nav-sub .nav-link {
    font-size: .95rem;
    font-weight: 400;
    color: #555;
    border-bottom: 0;
    padding: .55rem 0;
    text-transform: none;
    letter-spacing: .02em;
    position: relative;
    padding-left: .85rem;
    text-align: left;
    justify-content: flex-start;
  }
  .nav-drawer .nav-sub .nav-link::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: .75rem;
  }
  .nav-drawer .is-active > .nav-link,
  .nav-drawer .is-active > .nav-details > summary,
  .nav-drawer .nav-sub .is-active > .nav-link {
    color: var(--color-accent-bright);
    font-weight: 500;
  }
  .hero {
    background-attachment: scroll;
    padding: 2rem 1.2rem;
  }
  .hero-image { background-attachment: scroll; }
  .home-intro { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .two-col,
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-form-col {
    border-left: 0;
    padding-left: 0;
    border-top: 0;
    padding-top: 0;
  }
  .contact-form-col form {
    padding: 1.25rem 1rem 1.5rem;
  }
  .contact-form-col::before {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    margin: 0 0 2rem;
    background: var(--divider-gradient);
  }
  .team-member {
    padding: 2rem 0 1.75rem;
  }
  .team-intro {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .team-photo img,
  .team-member img {
    width: min(180px, 45vw);
    max-width: 180px;
    height: auto;
  }
  .form-grid { grid-template-columns: 1fr; }
  .map-frame { height: 320px; }
  .map-section { padding-left: 15px; padding-right: 15px; }
}

@media (max-width: 767px) {
  .home-cards { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-col-contact { grid-template-columns: 1fr; }
  .footer-col-links { padding-left: 0; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom-credit {
    justify-content: flex-start;
  }
  .footer-bottom-copy { text-align: left; }
  .accred-logos {
    gap: 1.25rem;
    padding-right: 1.25rem;
  }
  .accred-logos .accred-belbin {
    max-height: 110px;
    margin-right: .75rem;
  }
}

@media (max-width: 900px) {
  .home-slider .slide-heading {
    white-space: normal;
    font-size: clamp(1.5rem, 4.2vw, 2.1rem);
  }
  .home-slider p {
    font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  }
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .home-slider,
  .hero {
    min-height: 420px;
    height: 420px;
  }
  .home-slider .slide-heading {
    font-size: clamp(1.4rem, 5.4vw, 1.85rem);
    margin-bottom: 1.1rem;
  }
  .home-slider p {
    font-size: clamp(0.92rem, 3.4vw, 1.05rem);
  }
  .hero-email {
    bottom: 1rem;
    font-size: 0.95rem;
    min-width: calc(100% - 2rem);
    padding: .75rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-slider .slide {
    animation: none;
    opacity: 0;
  }
  .home-slider .slide:first-child { opacity: 1; }
}

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(179, 39, 63, .08), transparent 60%),
    #fff;
}
.error-top {
  background: var(--color-accent);
  padding: 1.2rem 0;
}
.error-top-inner {
  display: flex;
  justify-content: center;
}
.error-brand img {
  width: min(280px, 70vw);
  height: auto;
  background: #fff;
  border-radius: 10px;
  padding: .35rem .55rem;
}
.error-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 3rem 0 2.5rem;
}
.error-panel {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.error-code {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 500;
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -.04em;
  opacity: .9;
}
.error-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 500;
  color: #252525;
  line-height: 1.25;
}
.error-lead {
  margin: 0 0 .85rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--color-text);
}
.error-hint {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: var(--color-muted);
}
.error-actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
}
.error-actions .btn {
  min-width: 11rem;
  justify-content: center;
}
.error-btn-secondary {
  background: #333 !important;
}
.error-btn-secondary:hover {
  background: #222 !important;
}
.error-page-banned .error-code {
  opacity: .75;
}
.error-foot {
  padding: 1.25rem 0 1.5rem;
  text-align: center;
  color: var(--color-muted);
  font-size: .95rem;
  border-top: 1px solid #eee;
}
.error-foot p { margin: 0; }
