:root {
  --ink: #263142;
  --accent: #b7121f;
  --paper: #faf9f8;
  --line: #e7e2df;
  color: var(--ink);
  font: 16px/1.6 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: white; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
a { color: var(--accent); text-underline-offset: 0.18em; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 0.65em; }
h1 { font-size: clamp(2.3rem, 4vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; }
h2 span { color: var(--accent); }
[id] { scroll-margin-top: 1rem; }
:focus-visible { outline: 3px solid #e25c63; outline-offset: 4px; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 10; background: white; padding: .5rem 1rem; }
.wrap { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.site-header { position: relative; z-index: 2; background: white; border-bottom: 1px solid var(--line); }
.header-row { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-row img { width: 224px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 2rem); }
.site-header nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--accent); }
.mobile-nav { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1.15rem; border: 2px solid transparent; border-radius: 3px; text-decoration: none; font-weight: 700; line-height: 1.25; text-align: center; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: #94101a; }
.outline { color: white; border-color: #d63240; }
.outline:hover { background: var(--accent); }
.light { background: white; color: var(--accent); }
.hero { height: 80vh; height: 80svh; min-height: 410px; max-height: 860px; position: relative; background: #292827; color: white; }
.slide { position: absolute; inset: 0; }
.slide-image { width: 100%; height: 100%; object-fit: cover; }
.slide-caption { position: absolute; left: 50%; bottom: 3.5rem; transform: translateX(-50%); width: min(560px, 76%); padding: 1.3rem 1.7rem; background: rgb(0 0 0 / .80); border-top: 5px solid var(--accent); }
.slide-caption h2 { text-transform: uppercase; font-size: clamp(1.55rem, 3.2vw, 2.2rem); margin-bottom: .3rem; }
.slide-caption p { font-size: 1.05rem; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 52px; height: 56px; border: 0; background: rgb(0 0 0 / .52); color: white; font: 42px/1 system-ui; cursor: pointer; }
.carousel-arrow:hover { background: rgb(0 0 0 / .82); }
.carousel-arrow.prev { left: 1rem; }
.carousel-arrow.next { right: 1rem; }
.carousel-dots { position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%); padding: 0 .3rem; display: flex; border-radius: 20px; background: rgb(0 0 0 / .65); }
.carousel-dots button { display: grid; place-items: center; width: 30px; height: 32px; background: none; border: 0; cursor: pointer; }
.carousel-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1px solid white; }
.carousel-dots button[aria-pressed="true"]::before { background: white; }
.welcome { background: var(--paper); border-bottom: 1px solid var(--line); }
.welcome-row { padding-block: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem 3rem; }
.welcome-row p { max-width: 70ch; margin-bottom: 0; }
.section { padding-block: clamp(2.4rem, 5vw, 4.8rem); }
.soft { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.6rem; }
.cards article { border: 1px solid var(--line); border-radius: 4px; padding: clamp(1rem, 2.6vw, 1.8rem); background: white; }
.certifications article { text-align: center; }
.certifications img { width: 88px; height: 80px; object-fit: contain; margin: 0 auto 1rem; }
.section-link { margin: 1.6rem 0 0; }
.contact-banner { background: var(--accent); color: white; padding: 2.5rem 0; }
.contact-banner h2 { margin-bottom: .3em; }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); padding: 0; list-style: none; gap: .6rem; margin: 1.6rem 0 2.8rem; }
.logos li { border: 1px solid var(--line); min-height: 72px; display: grid; place-items: center; padding: .5rem; }
.logos img { width: 90px; height: 48px; object-fit: contain; filter: grayscale(100%); }
.logos li:hover img { filter: grayscale(0); }
.gallery-title { font-size: clamp(1.45rem, 3vw, 2.05rem); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; background: var(--paper); }
.gallery img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.gallery figcaption { padding: .65rem .9rem; }
.service-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.service-nav a { padding: .4rem .7rem; border: 1px solid var(--line); }
.service { display: grid; align-items: center; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 2rem; gap: 2rem; border-top: 1px solid var(--line); }
.service img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.banner { width: 100%; max-height: 400px; object-fit: cover; margin-bottom: 2rem; }
.commitments, .legal { max-width: 85ch; }
.commitments section { margin-bottom: 1.65rem; }
.commitments h2, .legal h2 { margin-top: 1.4em; font-size: 1.35rem; }
.site-footer { background: #252529; color: #f8f7f6; }
.site-footer a:not(.button) { color: inherit; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; padding-block: 2rem; }
.footer-grid h2 { font-size: 1.1rem; }
.footer-grid address + p { margin-top: .65rem; }
.brochure-link { display: inline-flex; align-items: center; gap: .8rem; }
.brochure-link img { width: 44px; }
.footer-end { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: space-between; padding-block: 1rem; border-top: 1px solid #64646b; font-size: .9rem; }
@media (max-width: 800px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { cursor: pointer; font-weight: 700; padding-block: .65rem; }
  .mobile-nav nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: .15rem; background: white; padding: .7rem 1.5rem; border-bottom: 1px solid var(--line); }
  .mobile-nav nav a { display: block; padding-block: .6rem; }
  .header-row img { width: min(190px, 48vw); }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 2rem, 1160px); }
  .hero { min-height: 380px; height: 73svh; }
  .slide-caption { width: calc(100% - 2rem); padding: 1rem; }
  .carousel-arrow { top: 40%; width: 42px; height: 48px; }
  .welcome-row, .cards, .service, .footer-grid { grid-template-columns: 1fr; }
  .welcome-row .button { justify-self: start; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
