:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #f0f4fb;
  --ink: #19212f;
  --muted: #5b6471;
  --line: #dce3ef;
  --primary: #00a1e7;
  --primary-strong: #008cc9;
  --hero-blue: #0f66eb;
  --hero-blue-2: #0069f0;
  --radius: 14px;
  --shadow-sm: 0 8px 20px rgba(22, 34, 66, 0.08);
  --shadow-md: 0 20px 36px rgba(22, 34, 66, 0.12);
  --contact-overlay-opacity: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 32%, #f9fbff 100%);
  line-height: 1.58;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: var(--contact-overlay-opacity);
  background: radial-gradient(
    120% 105% at 50% 56%,
    rgba(0, 161, 231, 0.52) 0%,
    rgba(0, 145, 225, 0.34) 35%,
    rgba(0, 120, 208, 0.16) 68%,
    rgba(0, 101, 186, 0) 100%
  );
  transition: opacity 0.2s linear;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.contact-overlay-active::before {
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
}

main,
.site-footer {
  position: relative;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease,
    backdrop-filter 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.62);
  border-bottom-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 28px rgba(12, 26, 54, 0.1);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 90;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.site-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.site-nav a:not(.cta-link) {
  position: relative;
}

.site-nav a:not(.cta-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.24rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:not(.cta-link):hover::after,
.site-nav a:not(.cta-link):focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.site-nav .nav-instagram-link::after {
  display: none;
}

.site-nav .nav-instagram-link span {
  position: relative;
}

.site-nav .nav-instagram-link span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.24rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav .nav-instagram-link:hover span::after,
.site-nav .nav-instagram-link:focus-visible span::after {
  transform: scaleX(1);
}

.site-nav .cta-link {
  border-radius: 8px;
  padding: 0.62rem 1rem;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}

.site-header.is-scrolled .site-nav a {
  color: var(--ink);
}

.site-header.is-scrolled .site-nav .cta-link {
  background: var(--primary);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  font: inherit;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 90;
}

.menu-toggle-bars {
  width: 18px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle-bars span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open .menu-toggle-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-backdrop {
  display: none;
}

.site-header.is-scrolled .menu-toggle {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

@supports not (
  (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))
) {
  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
  }
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--hero-blue);
}

.hero-slides {
  height: 100vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(0);
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-copy,
.hero-figure {
  opacity: 0;
  transform: translateY(18px);
}

.hero-slide.is-active .hero-copy,
.hero-slide.is-active .hero-figure {
  opacity: 1;
  transform: translateY(0);
}

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

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
}

.hero-bg::before {
  inset: 0;
  background: linear-gradient(135deg, var(--hero-blue) 0%, var(--hero-blue-2) 70%);
}

.hero-bg::after {
  width: 42vw;
  max-width: 620px;
  min-width: 320px;
  height: 140vh;
  top: -16vh;
  right: 6%;
  transform: rotate(20deg);
  background: linear-gradient(180deg, rgba(43, 162, 255, 0.3), rgba(21, 123, 232, 0.15));
}

.hero-bg-2::before {
  background: linear-gradient(135deg, #0056d6 0%, #1376f2 72%);
}

.hero-bg-3::before {
  background: linear-gradient(135deg, #0a4dc2 0%, #0f6de8 72%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.hero-copy {
  color: #fff;
}

.hero-eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-copy h1 {
  margin: 0;
  line-height: 1.04;
  font-size: clamp(2.4rem, 6.2vw, 5.1rem);
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.hero-copy p {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 53ch;
  font-size: 1.04rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.38rem;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-figure {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-illustration {
  width: min(560px, 100%);
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 25px 45px rgba(3, 24, 77, 0.28);
}

.figure-tag {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 999px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.3rem 0.88rem;
  background: rgba(255, 255, 255, 0.12);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.hero-arrow-prev {
  left: 3.3vw;
}

.hero-arrow-next {
  right: 3.3vw;
}

.hero-arrow span {
  font-size: 1.35rem;
  line-height: 1;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  display: flex;
  gap: 0.48rem;
  z-index: 4;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  width: 25px;
  background: #fff;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #f2f6ff 0%, #edf3ff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: #50618a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}

h2,
h3 {
  margin: 0;
  line-height: 1.16;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.6rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  color: var(--muted);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-block {
  width: 100%;
}

.section-head {
  text-align: center;
  margin: 0 auto 2.1rem;
  max-width: 730px;
}

.section-head p {
  margin-top: 0.95rem;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(13, 33, 74, 0.12);
  border-color: #c8d8f4;
}

.service-icon {
  height: 56px;
  width: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eaf0ff;
  color: #0d63c7;
  margin-bottom: 0.85rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon--brand {
  background: linear-gradient(145deg, #ebf6ff, #dcedff);
  color: #0e66cc;
}

.service-icon--print {
  background: linear-gradient(145deg, #e8fbff, #d7f4fb);
  color: #007fa7;
}

.service-icon--sign {
  background: linear-gradient(145deg, #eafaf2, #daf3e7);
  color: #1d8c58;
}

.service-icon--vehicle {
  background: linear-gradient(145deg, #eff6ff, #dfeeff);
  color: #2d6fd2;
}

.service-icon--window {
  background: linear-gradient(145deg, #ecf8ff, #d9efff);
  color: #0d6ea9;
}

.service-icon--textile {
  background: linear-gradient(145deg, #f5f1ff, #e9e1ff);
  color: #6a4cc3;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.service-card a {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.trust-section {
  background: linear-gradient(180deg, #f7fbff 0%, #f1f8ff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.trust-logo-card {
  min-height: 150px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.trust-logo-card img {
  --trust-scale: 1;
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: translateZ(0) scale(var(--trust-scale));
  transform-origin: center center;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 auto 1.2rem;
  max-width: 920px;
}

.filter-btn {
  border: 1px solid #d4deec;
  background: #fff;
  color: #2b3f5f;
  border-radius: 999px;
  padding: 0.46rem 0.88rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.filter-btn:hover {
  border-color: #b8cae3;
  box-shadow: 0 5px 12px rgba(13, 46, 99, 0.06);
}

.filter-btn.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: none;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.work-card {
  grid-column: auto;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  overflow: hidden;
  min-height: 0;
  box-shadow: 0 6px 14px rgba(10, 28, 62, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.work-card--wide,
.work-card--tall {
  grid-column: auto;
}
.work-card--tall .work-media {
  aspect-ratio: 4 / 3;
}

.work-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(10, 28, 62, 0.1);
  border-color: #c8d7ea;
}

.work-media {
  aspect-ratio: 4 / 3;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #ecf2fa;
  cursor: zoom-in;
}

.work-media img,
.work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.work-media video {
  background: #0f1f42;
}

.work-content {
  position: static;
  padding: 0.62rem 0.72rem 0.72rem;
  background: #fff;
}

.work-tag {
  display: none;
}

.work-card:hover .work-media img,
.work-card:hover .work-media video {
  transform: scale(1.02);
}

.work-card h3 {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.3;
  margin: 0;
  font-weight: 500;
}

.work-card.is-hidden {
  display: none;
}

.works-actions {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
}

.works-load-more.is-hidden {
  display: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.about-card,
.faq-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.about-card p,
.faq-card p {
  margin-top: 0.9rem;
}

.about-card ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.about-card li {
  margin-bottom: 0.45rem;
}

.faq-card details {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem 0.84rem;
  background: #fbfdff;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
}

.faq-card details p {
  margin-top: 0.5rem;
}

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

.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-card h3 {
  margin-top: 0.9rem;
  font-size: 1rem;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-wrap {
  position: relative;
  z-index: 62;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.contact-copy p {
  margin-top: 0.95rem;
}

.contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.38rem;
  color: var(--muted);
}

.contact-list a {
  text-decoration: none;
  color: var(--primary);
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--surface-2);
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.contact-selected-service {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #d9e7f8;
  background: #f2f8ff;
  color: #30517f;
  font-size: 0.84rem;
}

.contact-selected-service strong {
  color: #0f4d9e;
  font-weight: 700;
}

.form-captcha {
  margin-top: 0.2rem;
}

.fallback-captcha {
  margin-top: 0.2rem;
}

.fallback-captcha label {
  margin-bottom: 0;
}

.fallback-captcha-question {
  display: inline-block;
  margin-left: 0.4rem;
  color: #253a5f;
  font-weight: 600;
}

.form-feedback {
  min-height: 1.1rem;
  margin-top: 0.55rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #0c5eb8;
}

.form-feedback.is-error {
  color: #b42318;
}

.form-feedback.is-success {
  color: #127a3b;
}

.contact-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.map-wrap {
  display: grid;
  gap: 1rem;
}

.map-head {
  margin-bottom: 0;
}

.map-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.map-card iframe {
  width: 100%;
  height: min(56vh, 460px);
  border: 0;
  display: block;
}

.map-open-btn {
  justify-self: center;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid #cfd8ea;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(55, 99, 235, 0.22);
  border-color: var(--primary);
}

.site-footer {
  background: linear-gradient(135deg, #005fc9 0%, #007fdb 52%, #00a1e7 100%);
  color: rgba(255, 255, 255, 0.86);
  padding: 3.4rem 0 1.4rem;
  margin-top: 2.3rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 1.2rem;
  padding-bottom: 1.8rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 0.85rem;
  max-width: 34ch;
}

.footer-socials {
  margin-top: 1rem;
  display: flex;
  gap: 0.45rem;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-instagram {
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.footer-socials .icon-instagram {
  width: 18px;
  height: 18px;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.48);
}

.footer-col h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  color: #fff;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0.4rem 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover,
.footer-legal a:hover {
  color: #fff;
}

.footer-newsletter p {
  margin-bottom: 0.65rem;
}

.footer-newsletter form {
  display: grid;
  gap: 0.55rem;
}

.footer-newsletter input {
  margin: 0;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-newsletter button {
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 0.63rem 0.8rem;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.86rem;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.site-footer p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.72);
}

.quick-actions {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 66;
  display: grid;
  gap: 0.58rem;
}

.quick-btn {
  min-width: 118px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(8, 28, 63, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(8, 28, 63, 0.26);
  filter: brightness(1.02);
}

.quick-btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.quick-btn-call {
  background: var(--primary);
  color: #fff;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem max(1rem, env(safe-area-inset-right)) max(1.2rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  background: rgba(8, 16, 36, 0.58);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.portfolio-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-lightbox-close,
.portfolio-lightbox-nav {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0b2f78;
  width: 50px;
  height: 50px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 26px rgba(8, 20, 50, 0.28);
}

.portfolio-lightbox-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  font-size: 1.7rem;
  line-height: 1;
}

.portfolio-lightbox-nav {
  font-size: 1.25rem;
  align-self: center;
}

.portfolio-lightbox-stage {
  width: min(1040px, 100%);
  margin: 0 auto;
  max-height: 86vh;
  display: grid;
  gap: 0.75rem;
}

.portfolio-lightbox-image,
.portfolio-lightbox-video {
  width: 100%;
  max-height: min(74vh, 860px);
  object-fit: contain;
  background: rgba(10, 16, 34, 0.75);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 22px 40px rgba(7, 16, 40, 0.36);
}

.portfolio-lightbox-image {
  display: none;
}

.portfolio-lightbox-video {
  display: none;
}

.portfolio-lightbox-image.is-visible,
.portfolio-lightbox-video.is-visible {
  display: block;
}

.portfolio-lightbox-caption {
  color: #fff;
  text-align: left;
  padding-inline: 0.3rem;
}

.portfolio-lightbox-caption h3 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.portfolio-lightbox-caption p {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
}

.portfolio-lightbox-caption p:empty {
  display: none;
}

html.lightbox-open,
body.lightbox-open {
  overflow: hidden;
}

body.lightbox-open .quick-actions {
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
}

.reveal-item {
  opacity: 0;
  transition: opacity 0.75s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity;
}

.reveal-item.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-item {
    opacity: 1;
    transition: none;
  }
}

/* Pages légales */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(220, 227, 239, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.legal-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-logo-link {
  display: inline-flex;
  align-items: center;
}

.legal-logo {
  height: 42px;
  width: auto;
}

.legal-home-link {
  text-decoration: none;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.legal-home-link:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
}

.legal-main {
  flex: 1;
  padding: 1.8rem 0 2.8rem;
}

.legal-hero {
  margin-bottom: 1rem;
}

.legal-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.legal-hero h1 {
  margin: 0.35rem 0 0.45rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
}

.legal-hero p {
  margin: 0;
  max-width: 66ch;
  color: var(--muted);
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.1rem, 2.5vw, 1.8rem);
  margin-bottom: 0.95rem;
}

.legal-prose h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.14rem, 2vw, 1.32rem);
}

.legal-prose p {
  margin: 0.45rem 0;
  color: #263041;
}

.legal-prose ul {
  margin: 0.4rem 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.25rem;
}

.legal-prose a {
  color: var(--primary-strong);
  text-decoration-thickness: 1px;
}

.legal-note {
  margin-top: 0.6rem;
  border-left: 4px solid var(--primary);
  background: #eef7ff;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.legal-footer {
  background: linear-gradient(135deg, #005fc9 0%, #007fdb 52%, #00a1e7 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 1rem 0;
}

.legal-footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.legal-footer-wrap p {
  margin: 0;
}

.legal-footer-links {
  display: flex;
  gap: 1rem;
}

.legal-footer-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-footer-links a:hover,
.legal-footer-links a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 760px) {
  .legal-header-inner {
    min-height: 74px;
  }

  .legal-logo {
    height: 34px;
  }

  .legal-home-link {
    font-size: 0.84rem;
    padding: 0.58rem 0.84rem;
  }

  .legal-main {
    padding-top: 1.2rem;
  }

  .legal-footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-footer-links {
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (max-width: 1160px) {
  .hero-arrow {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-layout,
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    padding-top: 120px;
    padding-bottom: 100px;
    gap: 1.5rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-figure {
    min-height: 290px;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card,
  .work-card--wide {
    grid-column: auto;
  }

  .work-card--tall .work-media {
    aspect-ratio: 16 / 10;
  }

  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html.menu-open,
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open {
    touch-action: none;
  }

  body.menu-open .site-header {
    background: rgba(255, 255, 255, 0.24);
    border-bottom-color: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(24px) saturate(185%);
    -webkit-backdrop-filter: blur(24px) saturate(185%);
    z-index: 80;
  }

  body.menu-open .quick-actions {
    opacity: 0;
    pointer-events: none;
  }

  .portfolio-lightbox {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: max(70px, calc(env(safe-area-inset-top) + 48px));
  }

  .portfolio-lightbox-close {
    width: 44px;
    height: 44px;
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
  }

  .portfolio-lightbox-nav {
    position: absolute;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    z-index: 2;
  }

  .portfolio-lightbox-prev {
    left: 12px;
  }

  .portfolio-lightbox-next {
    right: 12px;
  }

  .portfolio-lightbox-stage {
    max-height: 82vh;
  }

  .portfolio-lightbox-image,
  .portfolio-lightbox-video {
    max-height: 70vh;
  }

  .map-card iframe {
    height: 52vh;
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 64;
    opacity: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(32px) saturate(190%);
    -webkit-backdrop-filter: blur(32px) saturate(190%);
    transition: opacity 0.3s ease;
  }

  body.menu-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open .menu-toggle {
    color: #0a4aa5;
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(10, 74, 165, 0.2);
  }

  .nav-wrap {
    min-height: 78px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.7rem;
    background: transparent;
    padding: max(104px, calc(env(safe-area-inset-top) + 74px)) 9vw
      max(36px, env(safe-area-inset-bottom));
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.99);
    transition: opacity 0.28s ease, transform 0.35s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 70;
    isolation: isolate;
  }

  .site-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 85% 12%, rgba(0, 161, 231, 0.18), rgba(0, 161, 231, 0) 36%),
      rgba(255, 255, 255, 0.32);
  }

  .site-nav > * {
    position: relative;
    z-index: 1;
  }

  .site-nav a {
    color: #062b72;
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    line-height: 1.05;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav.open a:nth-child(1) {
    transition-delay: 0.05s;
  }

  .site-nav.open a:nth-child(2) {
    transition-delay: 0.09s;
  }

  .site-nav.open a:nth-child(3) {
    transition-delay: 0.13s;
  }

  .site-nav.open a:nth-child(4) {
    transition-delay: 0.17s;
  }

  .site-nav.open a:nth-child(5) {
    transition-delay: 0.21s;
  }

  .site-nav .cta-link {
    margin-top: 0.7rem;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.2;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 1.2rem;
  }

  .site-nav .nav-instagram-link {
    gap: 0.55rem;
  }

  .site-nav .nav-instagram-link .icon-instagram {
    width: 0.95em;
    height: 0.95em;
  }

  .site-header.is-scrolled .site-nav a {
    color: #0a4aa5;
  }

  .site-header.is-scrolled .site-nav .cta-link {
    background: var(--primary);
    color: #fff;
  }

  @supports not (
    (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))
  ) {
    .mobile-nav-backdrop {
      background: rgba(255, 255, 255, 0.92);
    }
  }

  .hero-slider,
  .hero-slides,
  .hero-slide,
  .hero-layout {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-layout {
    padding-top: max(94px, calc(env(safe-area-inset-top) + 72px));
    padding-bottom: max(52px, calc(env(safe-area-inset-bottom) + 38px));
    gap: 0.75rem;
    align-content: space-between;
  }

  .hero-copy {
    align-self: start;
  }

  .hero-eyebrow {
    margin-bottom: 0.52rem;
    letter-spacing: 0.11em;
    font-size: 0.69rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.78rem, 8.5vw, 2.45rem);
    line-height: 1.05;
    max-width: 16ch;
  }

  .hero-copy p {
    margin-top: 0.82rem;
    font-size: 0.92rem;
    line-height: 1.42;
    max-width: 42ch;
  }

  .hero-actions {
    margin-top: 1.08rem;
    gap: 0.56rem;
  }

  .hero-actions .btn {
    padding: 0.62rem 1.02rem;
    font-size: 0.84rem;
  }

  .hero-figure {
    align-self: end;
    min-height: 0;
    height: auto;
  }

  .hero-illustration {
    width: min(100%, 480px);
    max-height: min(34svh, 280px);
    object-fit: contain;
    object-position: center bottom;
  }

  .figure-tag {
    bottom: 4px;
    font-size: 0.66rem;
    padding: 0.24rem 0.72rem;
  }

  .hero-dots {
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-img {
    height: 36px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.45rem;
  }

  .quick-actions {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .quick-btn {
    min-width: 108px;
    height: 42px;
    font-size: 0.85rem;
  }
}

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: clamp(1.58rem, 8.2vw, 2.1rem);
    max-width: 17ch;
  }

  .hero-copy p {
    font-size: 0.86rem;
    margin-top: 0.72rem;
  }

  .hero-actions {
    margin-top: 0.9rem;
  }

  .hero-actions .btn {
    font-size: 0.79rem;
    padding: 0.58rem 0.9rem;
  }

  .hero-illustration {
    max-height: min(31svh, 226px);
  }

  .figure-tag {
    display: none;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }
}
