:root {
  --navy: #0F172A;
  --navy-deep: #07122A;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-soft: #EFF6FF;
  --slate: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 58px 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--blue);
  color: var(--white);
  border-radius: 999px;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.utility-bar {
  background: var(--navy-deep);
  color: var(--white);
  font-size: 0.86rem;
}

.utility-inner,
.utility-list {
  display: flex;
  align-items: center;
}

.utility-inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 24px;
}

.utility-list {
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.utility-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.utility-link:hover,
.utility-link:focus-visible {
  color: var(--white);
}

.utility-link:focus-visible {
  outline: 2px solid rgba(147, 197, 253, 0.75);
  outline-offset: 4px;
  border-radius: 999px;
}

.utility-link span {
  color: inherit;
  font-weight: inherit;
}

.utility-list span,
.utility-proof li::before {
  color: #93C5FD;
  font-weight: 800;
}

.utility-list .utility-link span {
  color: inherit;
  font-weight: inherit;
}

.utility-proof li::before {
  content: "✓";
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 var(--blue);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #60A5FA);
  font-size: 0.82rem;
  letter-spacing: 0;
}

img.brand-mark {
  object-fit: contain;
  background: transparent;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.35rem;
  line-height: 1;
}

.brand small {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  margin-top: 4px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
  font-size: 0.92rem;
  font-weight: 700;
}

.primary-nav a,
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 88px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--navy);
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.primary-nav a:hover,
.nav-button:hover,
.nav-button.is-open {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
  transform: translateY(-1px);
}

.primary-nav a.is-active {
  color: var(--blue);
}

.primary-nav a.is-active:hover {
  color: var(--white);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  flex: 0 0 auto;
}

.language-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 10px 4px 5px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--navy);
  background: var(--light);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.language-switcher__toggle:hover,
.language-switcher__toggle:focus-visible,
.language-switcher.is-open .language-switcher__toggle,
.language-switcher:hover .language-switcher__toggle {
  background: var(--blue-soft);
  border-color: #BFDBFE;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

.language-switcher__toggle img,
.language-switcher__link img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.language-switcher__chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.language-switcher.is-open .language-switcher__chevron,
.language-switcher:hover .language-switcher__chevron {
  transform: translateY(1px) rotate(225deg);
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  display: grid;
  min-width: 190px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0.78;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.language-switcher.is-open .language-switcher__menu,
.language-switcher:hover .language-switcher__menu,
.language-switcher:focus-within .language-switcher__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.language-switcher--header .language-switcher__link,
.language-switcher--footer .language-switcher__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 12px;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.language-switcher--header .language-switcher__link:hover,
.language-switcher--header .language-switcher__link:focus-visible,
.language-switcher--footer .language-switcher__link:hover,
.language-switcher--footer .language-switcher__link:focus-visible {
  color: var(--blue);
  background: var(--blue-soft);
  transform: translateX(2px);
}

.language-switcher--header .language-switcher__link.active,
.language-switcher--footer .language-switcher__link.active {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

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

.btn-secondary {
  color: var(--blue);
  background: var(--white);
  border-color: #BFDBFE;
}

.btn-secondary:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.btn-danger {
  color: #FFFFFF;
  background: #DC2626;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.18);
}

.btn-danger:hover {
  background: #B91C1C;
}

.btn-light {
  color: var(--blue);
  background: var(--white);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.mobile-toggle {
  display: none;
  position: relative;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mobile-toggle:hover,
.mobile-toggle:focus-visible {
  border-color: rgba(37, 99, 235, 0.35);
  background: #F8FAFC;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
}

.mobile-toggle:active {
  transform: scale(0.96);
}

.mobile-toggle span:not(.sr-only) {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: top 0.22s ease, opacity 0.16s ease, transform 0.22s ease, background-color 0.2s ease;
}

.mobile-toggle span:not(.sr-only):nth-child(1) {
  top: 15px;
}

.mobile-toggle span:not(.sr-only):nth-child(2) {
  top: 21px;
}

.mobile-toggle span:not(.sr-only):nth-child(3) {
  top: 27px;
}

.mobile-toggle.is-open span:not(.sr-only) {
  background: var(--blue);
}

.mobile-toggle.is-open span:not(.sr-only):nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.mobile-toggle.is-open span:not(.sr-only):nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0.2);
}

.mobile-toggle.is-open span:not(.sr-only):nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

.expertise-nav {
  max-height: 0;
  overflow: hidden;
  background: var(--navy-deep);
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease;
}

.site-header.expertises-open .expertise-nav {
  max-height: 60px;
  opacity: 1;
  transform: translateY(0);
}

.expertise-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.expertise-tab {
  min-height: 46px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  background: transparent;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
}

.expertise-tab:hover,
.expertise-tab.is-selected {
  background: rgba(37, 99, 235, 0.2);
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0s linear 0.24s;
}

.site-header.expertises-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 24px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  transform: translateY(0);
}

.mega-grid article {
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.mega-grid article:last-child {
  border-right: 0;
}

.mega-grid h3 {
  margin: 0 0 14px;
  font-size: 0.95rem;
}

.mega-grid a {
  display: block;
  margin: 7px 0;
  color: var(--slate);
  font-size: 0.91rem;
}

.mega-grid a:hover {
  color: var(--blue);
}

/* Hero */
.hero {
  position: relative;
  padding-top: 36px;
  background:
    radial-gradient(circle at 78% 18%, rgba(37, 99, 235, 0.13), transparent 34%),
    radial-gradient(circle at 12% 72%, rgba(191, 219, 254, 0.34), transparent 32%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0), #FFFFFF);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 70px;
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: -40px -8% auto auto;
  width: 360px;
  height: 360px;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.55rem, 6vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  line-height: 1.2;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 14px;
  color: var(--slate);
  font-size: 1.08rem;
}

.hero-note {
  max-width: 610px;
  margin: 0 0 28px;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-note strong {
  color: var(--slate);
  font-weight: 700;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.social-proof-premium {
  width: min(100%, 620px);
  max-width: 100%;
  gap: 16px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.trust-proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
}

.social-proof p {
  margin: 0;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.35;
}

.social-proof strong {
  color: var(--navy);
  font-size: 1rem;
}

.avatar-stack {
  display: flex;
  flex: 0 0 auto;
  padding-top: 2px;
}

.avatar-stack span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: -8px;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, #0F172A, #2563EB);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

.avatar-stack span:first-child {
  margin-left: 0;
}

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

.proof-copy {
  display: grid;
  min-width: 0;
  gap: 9px;
}

.proof-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.proof-metrics span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 8px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid #BFDBFE;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
}

.proof-ticker {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.proof-ticker div {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: proofTicker 34s linear infinite;
}

.proof-ticker span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.proof-ticker span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 8px;
  background: #93C5FD;
  border-radius: 999px;
}

@keyframes proofTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-visual {
  position: relative;
}

.team-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 178px 178px 205px;
  padding-bottom: 142px;
  overflow: visible;
}

.team-member {
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--blue-soft);
  border-radius: 0;
  transform: scale(1);
  transform-origin: top left;
  will-change: transform;
}

.team-member::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.team-member img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.03) contrast(1.02);
  transition: opacity 0.36s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-member.is-active {
  grid-column: 1 / span 2;
  grid-row: 2 / span 2;
  cursor: default;
  z-index: 2;
  border-bottom-left-radius: 28px;
}

.team-member.is-active img {
  object-position: center 18%;
  transform: scale(1);
}

.team-member-coral img {
  object-position: center 22%;
}

.team-member-coral.is-active img {
  object-position: center 36%;
}

/* Fill tiles without stretching dashboard uploads and preserve headroom.
   Fabrice keeps his existing individual framing. */
.team-collage .team-member:not(.team-member-gold) img {
  object-fit: cover;
  object-position: center top;
  transform: none;
}

.team-collage .team-member:not(.team-member-gold)::before {
  background: var(--blue-soft);
}

.team-member[data-team-slot="0"] {
  grid-column: 1;
  grid-row: 1;
  border-top-left-radius: 28px;
}

.team-member[data-team-slot="1"] {
  grid-column: 2;
  grid-row: 1;
}

.team-member[data-team-slot="2"] {
  grid-column: 3;
  grid-row: 1;
  border-top-right-radius: 28px;
}

.team-member[data-team-slot="3"] {
  grid-column: 3;
  grid-row: 2;
}

.team-member-teal::before {
  background: #17A7A5;
}

.team-member-purple::before {
  background: #8F7CC0;
}

.team-member-gold::before {
  background: #F7B52C;
}

.team-member-coral::before {
  background: #F25A49;
}

.team-member-green::before {
  background: #95B83A;
}

.team-profile-card {
  position: absolute;
  left: 64px;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 28px 34px;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--navy);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-profile-card span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 11px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-profile-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.team-profile-card p {
  margin: 8px 0 0;
  color: var(--slate);
  font-size: 1rem;
  white-space: pre-line;
}

@media (min-width: 1101px) {
  .hero-grid > .hero-visual {
    align-self: start;
  }

  .team-profile-card {
    bottom: 16px;
  }
}

@media (min-width: 861px) {
  .team-profile-card[data-profile-index="2"] {
    left: 96px;
    right: 18px;
    padding: 20px 26px;
  }

  .team-profile-card[data-profile-index="2"] span {
    min-height: 23px;
    font-size: 0.7rem;
  }

  .team-profile-card[data-profile-index="2"] strong {
    margin-top: 7px;
    font-size: 1.18rem;
  }

  .team-profile-card[data-profile-index="2"] p {
    margin-top: 5px;
    font-size: 0.86rem;
    line-height: 1.4;
  }
}

.assurance-card {
  position: absolute;
  right: 28%;
  bottom: -34px;
  width: 190px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 12px;
  font-weight: 900;
}

.assurance-card h2 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.assurance-card p,
.service-card p,
.project-card p,
.blog-card p,
.stat-card p {
  color: var(--slate);
}

/* Sections de contenu */
.trust-band {
  padding: 34px 0 12px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.trust-grid article {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px;
}

.trust-grid span {
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 900;
}

.trust-grid h2 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.rating-card {
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.google-review-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px;
  border-radius: 10px;
}

a.google-review-badge:hover {
  background: var(--blue-soft);
}

a.google-review-badge:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.google-review-badge .google-review-logo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
}

.google-review-content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.google-review-badge .google-review-title {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.google-review-score {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.google-review-badge .google-review-number,
.google-review-badge .google-review-count span {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.google-review-stars {
  display: block;
  flex: 0 0 auto;
}

.google-review-action,
.google-review-count {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

a.google-review-badge .google-review-action {
  color: var(--blue);
}

.google-review-badge--compact {
  width: 100%;
  padding: 6px 0;
  gap: 8px;
}

.google-review-badge--compact .google-review-logo {
  width: 28px;
  height: 28px;
}

.google-review-badge--compact .google-review-title {
  font-size: 0.8rem;
}

.google-review-badge--compact .google-review-stars {
  width: 88px;
  height: 16px;
}

.agency-section {
  background: var(--light);
}

.agency-hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.15), transparent 34%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
}

.agency-hero::before {
  content: "";
  position: absolute;
  right: -110px;
  top: 30px;
  width: 420px;
  height: 420px;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.13) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle, #000 0%, transparent 72%);
  pointer-events: none;
}

.agency-hero .agency-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.agency-hero .hero-actions {
  margin-top: 28px;
}

.agency-anchor-nav {
  position: sticky;
  top: 82px;
  z-index: 35;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.agency-anchor-nav .container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-block: 10px;
}

.agency-anchor-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.agency-anchor-nav a:hover {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: #BFDBFE;
}

.agency-team-section {
  background: #FFFFFF;
}

.agency-values-section {
  background:
    linear-gradient(180deg, var(--light), #FFFFFF);
}

.agency-careers-section {
  background: #FFFFFF;
}

.accueil-focus {
  position: relative;
  background: linear-gradient(180deg, var(--light), #FFFFFF);
}

.method-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(37, 99, 235, 0.08), transparent 30%),
    #FFFFFF;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: stretch;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.method-grid article {
  position: relative;
  min-height: 220px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.74), rgba(255, 255, 255, 0.98)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.method-grid article::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 140px;
  height: 140px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 999px;
}

.method-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
}

.method-grid h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.method-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--slate);
}

.agency-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 38px;
  align-items: start;
}

.agency-copy p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--slate);
  font-size: 1.02rem;
}

.agency-copy h1,
.agency-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.agency-visual-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: -8px;
}

.agency-visual-card,
.method-visual-card {
  position: relative;
  margin: 0;
  min-height: 300px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.method-visual-card {
  min-height: 100%;
  margin: 0;
}

.agency-team-work-card {
  min-height: 300px;
}

.agency-visual-card img,
.method-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
  transform: scale(1);
  transition: transform 0.5s ease;
}

.agency-team-work-card img {
  min-height: 300px;
  object-position: center 45%;
}

.agency-visual-card:hover img,
.method-visual-card:hover img {
  transform: scale(1.035);
}

.agency-visual-card::after,
.method-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 35%, rgba(15, 23, 42, 0.66) 100%);
  pointer-events: none;
}

.agency-visual-card figcaption,
.method-visual-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 14px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

.agency-visual-card figcaption strong,
.method-visual-card figcaption strong {
  font-size: 0.9rem;
}

.agency-visual-card figcaption span,
.method-visual-card figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  line-height: 1.45;
}

.agency-photo-strip {
  position: relative;
  height: 100%;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.agency-grid > .agency-photo-strip {
  grid-column: 1 / -1;
  width: 100%;
}

.agency-photo-carousel {
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(340px, 42vw, 620px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.agency-photo-carousel .swiper-wrapper {
  height: 100%;
}

.agency-carousel-slide {
  isolation: isolate;
  background: var(--navy-deep);
  border: 0;
  box-shadow: none;
}

.agency-photo-carousel .agency-carousel-backdrop {
  position: absolute;
  inset: -24px;
  z-index: -1;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  min-height: 0;
  object-fit: cover;
  filter: blur(24px) brightness(0.58) saturate(0.9);
  transform: scale(1.08);
}

.agency-photo-carousel .agency-carousel-media {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
}

.agency-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  opacity: 0;
  place-items: center;
  transform: translateY(-50%);
  transition: opacity 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.agency-photo-carousel:hover .agency-carousel-button,
.agency-photo-carousel:focus-within .agency-carousel-button {
  opacity: 1;
}

.agency-carousel-button:hover,
.agency-carousel-button:focus-visible {
  background: var(--white);
  transform: translateY(-50%) scale(1.06);
}

.agency-carousel-button span {
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.agency-carousel-prev {
  left: 20px;
}

.agency-carousel-prev span {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.agency-carousel-next {
  right: 20px;
}

.agency-carousel-next span {
  transform: rotate(45deg) translate(-1px, -1px);
}

.agency-photo-carousel .agency-carousel-pagination {
  left: auto;
  right: 28px;
  bottom: 24px;
  z-index: 5;
  display: flex;
  width: auto;
  gap: 7px;
}

.agency-photo-carousel .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.2);
  opacity: 1;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.agency-photo-carousel .swiper-pagination-bullet-active {
  width: 24px;
  background: var(--white);
  border-radius: 999px;
}

.agency-photo-strip img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.98) contrast(1.04);
  transition: transform 0.55s ease;
}

.agency-photo-strip:hover img {
  transform: scale(1.025);
}

.agency-photo-carousel:hover .agency-photo-strip img {
  transform: none;
}

.agency-photo-carousel .swiper-slide-active img {
  transform: scale(1.018);
  transition-duration: 5s;
}

.agency-photo-carousel .swiper-slide-active .agency-carousel-backdrop {
  transform: scale(1.1);
}

.agency-photo-carousel .swiper-slide-active .agency-carousel-media {
  transform: none;
}

.agency-photo-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.28) 44%, rgba(15, 23, 42, 0.04) 100%);
  z-index: 1;
  pointer-events: none;
}

.agency-photo-strip figcaption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  max-width: 430px;
  gap: 6px;
  padding: 20px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.agency-photo-strip figcaption strong {
  font-size: 1.05rem;
}

.agency-photo-strip figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.agency-team-photo img {
  object-position: center 44%;
}

.agency-career-photo img {
  object-position: center 36%;
}

.section-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
}

.legal-section {
  background: var(--light);
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.legal-summary,
.legal-content article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.legal-summary {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 10px;
  padding: 22px;
}

.legal-summary h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.legal-summary a {
  color: var(--slate);
  font-size: 0.94rem;
  font-weight: 800;
}

.legal-summary a:hover {
  color: var(--blue);
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content article {
  padding: 28px;
  scroll-margin-top: 160px;
}

.legal-content h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.legal-content p {
  margin: 0 0 12px;
  color: var(--slate);
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--blue);
  font-weight: 900;
}

.legal-note {
  padding: 14px 16px;
  background: var(--blue-soft);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-sm);
}

.agency-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.agency-points article {
  position: relative;
  min-height: 210px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.agency-points article:hover {
  transform: translateY(-3px);
  border-color: #BFDBFE;
  box-shadow: var(--shadow-md);
}

.agency-points strong {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  margin-bottom: 18px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-weight: 900;
}

.agency-hero-points {
  align-items: stretch;
}

.agency-hero-points article {
  min-height: 260px;
}

.agency-hero-points article:hover {
  transform: translateY(-4px);
}

.agency-skill-points strong,
.agency-value-points strong {
  min-width: auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.agency-points h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.agency-points p {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.centered {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.section-heading.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.portfolio-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(180deg, #FFFFFF, var(--light));
}

.portfolio-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
}

.portfolio-hero-grid p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--slate);
  font-size: 1.06rem;
}

.portfolio-hero-stats {
  display: grid;
  gap: 12px;
}

.portfolio-hero-stats article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.portfolio-hero-stats strong {
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1;
}

.portfolio-hero-stats span {
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: right;
}

.portfolio-section {
  background: linear-gradient(180deg, var(--light), #FFFFFF);
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.portfolio-filter a {
  display: inline-flex;
  align-items: center;
  max-width: min(100%, 360px);
  min-height: 38px;
  padding: 0 14px;
  overflow: hidden;
  color: var(--slate);
  background: var(--light);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-filter a:hover,
.portfolio-filter a.is-active {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: #BFDBFE;
}

.project-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 0;
  margin-bottom: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.project-featured img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.project-featured div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
}

.project-featured span {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 900;
}

.project-featured h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.project-featured p {
  margin: 0 0 24px;
  color: var(--slate);
  font-size: 1.02rem;
}

.project-featured .btn {
  width: fit-content;
}

.empty-state {
  padding: 36px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.empty-state p {
  color: var(--slate);
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(5, 1fr);
}

.service-card,
.project-card,
.blog-card,
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card {
  min-height: 210px;
  padding: 24px;
}

.service-card:hover,
.project-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  border-color: #BFDBFE;
  box-shadow: var(--shadow-sm);
}

.service-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--blue-soft), var(--white));
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.03rem;
}

.service-card p {
  margin: 0 0 18px;
  font-size: 0.92rem;
}

.service-card a,
.project-card a,
.blog-card a {
  color: var(--blue);
  font-weight: 900;
  font-size: 0.88rem;
}

.service-detail-section {
  padding-top: 16px;
  background: linear-gradient(180deg, var(--white), var(--light));
}

.service-detail-nav {
  position: sticky;
  top: 126px;
  z-index: 12;
  display: flex;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: -4px auto 26px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  overflow-x: auto;
}

.service-detail-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  color: var(--slate);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-detail-nav a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.service-detail-group {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) 1fr;
  gap: 22px;
  margin-top: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 170px;
}

.service-detail-group:target {
  border-color: var(--blue);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.14);
}

.service-detail-featured {
  border-color: #BFDBFE;
  background: linear-gradient(135deg, #EFF6FF, var(--white));
}

.service-detail-intro {
  padding: 8px 8px 8px 0;
}

.service-detail-intro h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.service-detail-intro p {
  margin: 0;
  color: var(--slate);
}

.detail-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 18px;
  padding: 0 16px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #BFDBFE;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.detail-cta:hover {
  color: var(--white);
  background: var(--blue);
  transform: translateY(-2px);
}

.service-detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-detail-list article {
  position: relative;
  min-height: 138px;
  padding: 18px;
  background: var(--light);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  scroll-margin-top: 170px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-detail-list .service-detail-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #F8FAFC, #EFF6FF);
}

.service-detail-list .service-detail-full {
  grid-column: 1 / -1;
  min-height: auto;
  background: linear-gradient(135deg, var(--white), #F8FAFC);
}

.service-detail-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: transparent;
  transition: background 0.2s ease;
}

.service-detail-list article:hover,
.service-detail-list article:target {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.service-detail-list .service-detail-wide:target,
.service-detail-list .service-detail-full:target {
  transform: none;
  border-color: #D7E3F3;
  box-shadow: var(--shadow-sm);
}

.service-detail-list article:target {
  background: var(--blue-soft);
  animation: targetPulse 0.65s ease;
}

.service-detail-list .service-detail-wide:target,
.service-detail-list .service-detail-full:target {
  background: linear-gradient(135deg, #F8FAFC, #EFF6FF);
}

.service-detail-list article:hover::before,
.service-detail-list article:target::before {
  background: var(--blue);
}

.service-detail-list .service-detail-wide:target::before,
.service-detail-list .service-detail-full:target::before {
  background: transparent;
}

.service-detail-list .service-detail-wide:hover,
.service-detail-list .service-detail-full:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.service-detail-list .service-detail-wide:hover::before,
.service-detail-list .service-detail-full:hover::before {
  background: var(--blue);
}

.service-detail-list h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1rem;
}

.tool-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.tool-icon svg {
  width: 27px;
  height: 27px;
}

.tool-icon-wordpress {
  color: #21759B;
  background: #EEF7FB;
  border-color: #CBE6F2;
}

.tool-icon-canva {
  color: #2563EB;
  background: linear-gradient(135deg, #EEF6FF, #F5F3FF);
  border-color: #BFDBFE;
}

.tool-icon-figma {
  color: #0F172A;
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.tool-icon-affinity {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.service-detail-list h5 {
  margin: 18px 0 6px;
  color: var(--navy);
  font-size: 0.95rem;
}

.service-detail-list p {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
}

.service-detail-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.service-detail-list li {
  position: relative;
  padding-left: 18px;
  color: var(--slate);
  font-size: 0.9rem;
}

.service-detail-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateY(-50%);
}

@keyframes targetPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.24);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
  }
}

.seo-feature {
  padding-top: 16px;
}

.seo-panel {
  display: grid;
  grid-template-columns: 280px 1fr 310px 190px;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: #F1F5FF;
  border: 1px solid #DBEAFE;
  border-radius: var(--radius);
}

.seo-visual-card {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.seo-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.04);
}

.seo-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.58));
  pointer-events: none;
}

.seo-visual-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.search-mockup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
}

.search-bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding: 12px;
  color: var(--muted);
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
}

.map-card,
.chart-card {
  min-height: 110px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.map-card {
  position: relative;
  background: linear-gradient(135deg, #E0F2FE, #FFFFFF);
}

.map-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
}

.chart-card {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 16px;
}

.chart-card span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: #93C5FD;
}

.chart-card span:nth-child(1) { height: 35%; }
.chart-card span:nth-child(2) { height: 58%; }
.chart-card span:nth-child(3) { height: 82%; background: var(--blue); }

.seo-copy p:last-child {
  margin-bottom: 0;
  color: var(--slate);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--slate);
  font-weight: 700;
  font-size: 0.92rem;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.72rem;
}

.stat-card {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  color: var(--blue);
  font-size: 2.8rem;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 900;
  font-size: 0.88rem;
}

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

.project-card,
.blog-card {
  overflow: hidden;
}

.project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.project-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.project-card div,
.blog-card div {
  padding: 18px;
}

.project-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.project-card span,
.blog-card span {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 900;
}

.project-card h3,
.blog-card h3 {
  margin: 6px 0 8px;
}

.project-card h3,
.project-card p,
.blog-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.project-card h3,
.blog-card h3 {
  -webkit-line-clamp: 2;
}

.project-card p {
  -webkit-line-clamp: 4;
}

.project-card a {
  margin-top: auto;
}

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

.blog-card {
  display: grid;
  grid-template-columns: 120px 1fr;
}

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

.blog-card time {
  float: right;
  color: var(--muted);
  font-size: 0.76rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  position: relative;
  width: 100%;
  min-height: 86px;
  padding: 22px 48px 22px 22px;
  border: 0;
  color: var(--navy);
  background: var(--white);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 1.35rem;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--slate);
  font-size: 0.92rem;
}

.final-cta {
  padding: 28px 0 10px;
}

.cta-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 38px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(29, 78, 216, 0.98)),
    var(--blue);
  border-radius: var(--radius);
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--blue);
  background: var(--white);
  border-radius: 18px;
  font-size: 2rem;
  font-weight: 900;
}

.cta-panel p {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.lead-form {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 6px;
  padding: 26px;
  color: var(--navy);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lead-form label,
.admin-form label,
.admin-filters label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.92rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--navy);
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
}

.lead-form textarea,
.admin-form textarea {
  resize: vertical;
}

.form-full {
  grid-column: 1 / -1;
}

.form-consent {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  font-weight: 700;
}

.form-consent input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.lead-form .btn {
  margin-top: 18px;
  border: 0;
}

.site-footer {
  margin-top: 0;
  padding: 44px 0 22px;
  color: var(--white);
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr 0.9fr 1fr;
  gap: 34px;
}

.brand-footer .brand-mark {
  background: var(--white);
  color: var(--blue);
}

.brand-footer img.brand-mark {
  background: transparent;
}

.site-footer p,
.site-footer a,
.site-footer address {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-size: 0.9rem;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 0.95rem;
}

.site-footer nav a,
.site-footer address a {
  display: block;
  margin: 8px 0;
}

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

.footer-address {
  display: inline-block;
  border-radius: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-address:hover,
.footer-address:focus-visible {
  transform: translateX(2px);
}

.footer-address:focus-visible {
  outline: 2px solid rgba(147, 197, 253, 0.75);
  outline-offset: 4px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-weight: 900;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.social-links a:focus-visible {
  outline: 3px solid rgba(147, 197, 253, 0.45);
  outline-offset: 3px;
}

.social-links span {
  line-height: 1;
}

.language-switcher--footer {
  margin-top: 14px;
}

.site-footer .language-switcher--footer .language-switcher__toggle {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.site-footer .language-switcher--footer .language-switcher__toggle:hover,
.site-footer .language-switcher--footer .language-switcher__toggle:focus-visible,
.site-footer .language-switcher--footer.is-open .language-switcher__toggle,
.site-footer .language-switcher--footer:hover .language-switcher__toggle {
  background: rgba(37, 99, 235, 0.95);
  border-color: rgba(255, 255, 255, 0.45);
}

.site-footer .language-switcher--footer .language-switcher__menu {
  top: auto;
  right: auto;
  bottom: calc(100% + 10px);
  left: 0;
}

.site-footer .language-switcher--footer .language-switcher__link {
  color: var(--navy);
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-body {
  min-height: 100vh;
  background: var(--light);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - var(--container)) / 2));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.admin-nav a,
.admin-logout-form button {
  color: var(--slate);
}

.admin-nav a:hover,
.admin-logout-form button:hover {
  color: var(--blue);
}

.admin-main {
  width: min(calc(100% - 32px), 1120px);
  margin: 0 auto;
  padding: 44px 0 70px;
}

.admin-title {
  margin-bottom: 26px;
}

.admin-title h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-title p {
  color: var(--slate);
}

.admin-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.admin-login,
.thank-you-card {
  max-width: 520px;
  margin: 40px auto;
}

.admin-login h1 {
  margin-bottom: 24px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
}

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-login .admin-form input:focus {
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.admin-settings-list {
  display: grid;
  gap: 24px;
}

.admin-settings-card {
  scroll-margin-top: 24px;
}

.admin-settings-heading h2 {
  margin: 4px 0 8px;
  font-size: 1.6rem;
}

.admin-settings-heading p:last-child {
  margin: 0 0 22px;
  color: var(--slate);
}

.admin-setting-image {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 18px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.admin-setting-image .admin-image-preview {
  margin: 0;
}

.admin-setting-image .admin-image-preview img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.admin-setting-image .admin-image-preview figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-setting-fieldset {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.admin-setting-subheading {
  margin-top: 18px;
  padding: 12px 16px;
  color: var(--navy);
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 900;
}

.admin-setting-fieldset legend {
  padding: 0 8px;
  color: var(--navy);
  font-weight: 900;
}

.admin-setting-translations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-settings-actions {
  flex-wrap: wrap;
  padding-top: 6px;
}

.admin-reset-button {
  color: #B91C1C;
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.admin-reset-button:hover {
  color: var(--white);
  background: #DC2626;
  border-color: #DC2626;
}

.admin-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-translation-block {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.admin-translation-block h2 {
  margin: 4px 0 6px;
  font-size: 1.35rem;
}

.admin-translation-panel {
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.admin-translation-panel summary {
  padding: 14px 16px;
  color: var(--navy);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.admin-translation-panel label {
  margin: 14px 16px;
}

.form-alert {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.form-alert-error {
  color: #991B1B;
  background: #FEE2E2;
}

.form-alert-success {
  color: #047857;
  background: #D1FAE5;
}

.form-alert-dev {
  display: grid;
  gap: 8px;
  color: #1D4ED8;
  background: #DBEAFE;
}

.form-alert-dev a {
  overflow-wrap: anywhere;
  color: #1D4ED8;
  text-decoration: underline;
}

.admin-stats,
.admin-detail-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-stats-compact article {
  position: relative;
  overflow: hidden;
}

.admin-stats-compact article::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 82px;
  height: 82px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
}

.admin-detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-stats article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.admin-stats span {
  color: var(--muted);
  font-weight: 800;
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 2.2rem;
}

.admin-section-head,
.admin-filters {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-filters {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.admin-section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.admin-section-actions form {
  margin: 0;
}

.admin-filters label:first-child {
  min-width: min(320px, 100%);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table a {
  color: var(--blue);
  font-weight: 800;
}

.admin-badge,
.admin-row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.badge-primary {
  color: #1D4ED8;
  background: #DBEAFE;
  border-color: #BFDBFE;
}

.badge-purple {
  color: #6D28D9;
  background: #F3E8FF;
  border-color: #DDD6FE;
}

.badge-neutral {
  color: var(--slate);
  background: var(--light);
  border-color: var(--line);
}

.badge-info {
  color: #0369A1;
  background: #E0F2FE;
  border-color: #BAE6FD;
}

.badge-warning {
  color: #A16207;
  background: #FEF3C7;
  border-color: #FDE68A;
}

.badge-success {
  color: #047857;
  background: #D1FAE5;
  border-color: #A7F3D0;
}

.admin-row-action {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: #BFDBFE;
}

.admin-row-action:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-row-actions form {
  margin: 0;
}

.admin-row-actions button {
  cursor: pointer;
  font: inherit;
}

.admin-row-action-danger {
  color: #B91C1C;
  background: #FEF2F2;
  border-color: #FECACA;
}

.admin-row-action-danger:hover {
  color: #FFFFFF;
  background: #DC2626;
  border-color: #DC2626;
}

.admin-actions,
.admin-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-actions form {
  margin: 0;
}

.admin-actions button {
  padding: 0;
  color: #B91C1C;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.has-confirm-modal {
  overflow: hidden;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.confirm-modal[hidden] {
  display: none;
}

.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 42, 0.56);
  backdrop-filter: blur(8px);
}

.confirm-modal__panel {
  position: relative;
  width: min(100%, 460px);
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(7, 18, 42, 0.26);
  animation: confirmModalIn 0.18s ease-out;
}

.confirm-modal__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #B91C1C;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1.35rem;
}

.confirm-modal__panel h2 {
  margin: 0;
  font-size: 1.45rem;
}

.confirm-modal__panel p {
  margin: 10px 0 0;
  color: var(--slate);
}

.confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

@keyframes confirmModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.admin-image-preview {
  width: min(320px, 100%);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--light);
}

.admin-image-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.admin-image-preview figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.86rem;
}

.admin-detail-grid {
  grid-template-columns: 1.4fr 0.8fr;
}

.admin-definition-list {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px 18px;
  margin: 0;
}

.admin-definition-list dt {
  color: var(--muted);
  font-weight: 800;
}

.admin-definition-list dd {
  margin: 0;
}

.admin-message {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.7;
}

.thank-you-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--light);
}

/* Responsive */
@media (max-width: 1100px) {
  .primary-nav {
    gap: 16px;
  }

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

  .portfolio-hero-grid,
  .project-featured {
    grid-template-columns: 1fr;
  }

  .project-featured img {
    min-height: 320px;
  }

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

  .method-layout {
    grid-template-columns: 1fr;
  }

  .method-visual-card {
    min-height: 320px;
  }

  .service-detail-group {
    grid-template-columns: 1fr;
  }

  .service-detail-nav {
    top: 86px;
    justify-content: flex-start;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .hero-visual {
    max-width: 720px;
    container-type: inline-size;
  }

  .team-collage {
    grid-template-rows: repeat(3, calc(100cqw / 3)) auto;
    padding-bottom: 0;
  }

  .team-profile-card {
    position: static;
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 0;
  }

  .trust-grid,
  .agency-points,
  .method-grid,
  .service-grid,
  .service-detail-list,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-panel {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 860px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .utility-inner {
    align-items: flex-start;
    padding: 8px 0;
  }

  .utility-proof,
  .header-cta {
    display: none;
  }

  .header-inner {
    min-height: 72px;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-toggle {
    display: grid;
    order: 3;
  }

  .language-switcher--header {
    order: 2;
    margin-left: auto;
  }

  .primary-nav {
    position: absolute;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a,
  .nav-button {
    justify-content: flex-start;
    min-width: 0;
    padding: 13px 14px;
    border-radius: 10px;
    text-align: left;
  }

  .primary-nav a:hover,
  .nav-button:hover,
  .nav-button.is-open {
    color: var(--blue);
    background: var(--blue-soft);
    box-shadow: none;
    transform: none;
  }

  .primary-nav a.is-active,
  .primary-nav a.is-active:hover,
  .primary-nav a.is-active:focus-visible {
    color: var(--blue);
    background: var(--blue-soft);
    box-shadow: none;
    transform: none;
  }

  .language-switcher__menu {
    right: 0;
    min-width: 176px;
  }

  .site-header.expertises-open .expertise-nav,
  .site-header.expertises-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.expertises-open .expertise-nav {
    max-height: 280px;
  }

  .agency-anchor-nav {
    top: 72px;
  }

  .site-header.expertises-open .mega-menu {
    max-height: calc(100vh - 190px);
  }

  .mega-menu {
    position: static;
    max-height: 0;
    overflow: hidden;
    pointer-events: auto;
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  }

  .expertise-tabs,
  .mega-grid {
    width: min(calc(100% - 28px), var(--container));
    margin-inline: auto;
  }

  .expertise-tabs {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .expertise-tab {
    min-height: 42px;
    padding: 0 14px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 190px);
    overflow: auto;
    padding: 18px;
  }

  .mega-grid article {
    padding: 16px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mega-grid article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 44px 0;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    gap: 42px;
  }

  .team-profile-card {
    padding: 22px 26px;
  }

  .assurance-card {
    right: 16px;
    bottom: -22px;
  }

  .section-heading.split,
  .cta-panel,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading.split {
    display: flex;
  }

  .project-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    grid-template-columns: 150px 1fr;
  }

  .cta-panel {
    display: flex;
  }

  .form-grid,
  .admin-stats,
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-header,
  .admin-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-setting-translations {
    grid-template-columns: 1fr;
  }

  .admin-section-actions {
    justify-content: flex-start;
    width: 100%;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .utility-list {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .brand strong {
    font-size: 1.1rem;
  }

  .hero-actions,
  .cta-actions,
  .btn {
    width: 100%;
  }

  .social-proof {
    align-items: flex-start;
  }

  .social-proof-premium {
    width: 100%;
    align-items: flex-start;
    border-radius: var(--radius-sm);
  }

  .proof-ticker {
    width: 100%;
  }

  .agency-visual-pair {
    grid-template-columns: 1fr;
  }

  .agency-visual-card,
  .method-visual-card {
    border-radius: 18px;
  }

  .agency-photo-strip {
    min-height: 260px;
    border-radius: 18px;
  }

  .agency-photo-carousel {
    height: auto;
    border-radius: 18px;
  }

  .agency-photo-carousel .swiper-wrapper,
  .agency-photo-carousel .agency-carousel-slide {
    height: auto;
  }

  .agency-photo-carousel .agency-carousel-slide {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 0;
  }

  .agency-photo-carousel .agency-carousel-backdrop {
    display: none;
  }

  .agency-carousel-button {
    display: grid;
    top: 0;
    width: 44px;
    height: 44px;
    margin-top: calc(100% / 3);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0.92;
  }

  .agency-carousel-prev {
    left: 10px;
  }

  .agency-carousel-next {
    right: 10px;
  }

  .agency-photo-strip img {
    min-height: 260px;
  }

  .agency-photo-carousel .agency-carousel-media {
    flex: none;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .agency-photo-strip figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    padding: 14px;
  }

  :is(.agency-visual-card, .method-visual-card, .agency-career-photo, .agency-team-photo),
  :is(.agency-visual-card, .method-visual-card, .agency-career-photo, .agency-team-photo) img {
    height: auto;
    min-height: 0;
  }

  :is(.agency-visual-card, .method-visual-card, .agency-career-photo, .agency-team-photo):hover img {
    transform: none;
  }

  :is(.agency-visual-card, .method-visual-card, .agency-career-photo, .agency-team-photo)::after,
  .agency-carousel-slide::after {
    content: none;
  }

  :is(.agency-visual-card, .method-visual-card, .agency-career-photo, .agency-team-photo) figcaption,
  .agency-photo-carousel .agency-carousel-slide .agency-carousel-caption {
    position: static;
    border: 0;
    border-radius: 0;
    background: #1d263b;
    backdrop-filter: none;
  }

  .agency-photo-carousel .agency-carousel-caption {
    flex: 1;
    align-content: start;
  }

  .agency-photo-carousel .agency-carousel-pagination {
    position: static;
    justify-content: center;
    padding: 8px;
    background: var(--navy-deep);
  }

  .portfolio-hero {
    padding-top: 38px;
  }

  .portfolio-hero-stats article {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-hero-stats span {
    text-align: left;
  }

  .portfolio-filter {
    flex-wrap: nowrap;
    margin-inline: -14px;
    overflow-x: auto;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    scrollbar-width: none;
  }

  .portfolio-filter::-webkit-scrollbar {
    display: none;
  }

  .portfolio-filter a {
    flex: 0 0 auto;
    max-width: 280px;
  }

  .project-featured {
    border-radius: var(--radius-sm);
  }

  .project-featured img {
    min-height: 230px;
  }

  .project-featured div,
  .empty-state {
    padding: 24px;
  }

  .project-featured h2 {
    font-size: 1.75rem;
  }

  .team-collage {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    overflow: visible;
    border: 0;
    border-radius: 22px;
    box-shadow: none;
  }

  .team-member,
  .team-member.is-active,
  .team-member[data-team-slot="0"],
  .team-member[data-team-slot="1"],
  .team-member[data-team-slot="2"],
  .team-member[data-team-slot="3"] {
    min-height: 0;
  }

  .team-member.is-active {
    grid-column: 1 / span 2;
    grid-row: 2 / span 2;
    z-index: 2;
    border-bottom-left-radius: 22px;
  }

  .team-member.is-active img {
    object-position: center 30%;
  }

  .team-member:not(.is-active) img {
    object-position: center 20%;
  }

  .team-member-teal.is-active img,
  .team-member-gold.is-active img {
    object-position: center top;
  }

  .team-member-teal:not(.is-active) img,
  .team-member-gold:not(.is-active) img {
    object-position: center 6%;
  }

  .team-member[data-team-slot="0"] {
    grid-column: 1;
    grid-row: 1;
    border-top-left-radius: 22px;
  }

  .team-member[data-team-slot="1"] {
    grid-column: 2;
    grid-row: 1;
    border-radius: 0;
  }

  .team-member[data-team-slot="2"] {
    grid-column: 3;
    grid-row: 1;
    border-top-right-radius: 22px;
  }

  .team-member[data-team-slot] {
    border-top: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.7);
  }

  .team-member[data-team-slot="3"] {
    border-right: 0;
  }

  .team-profile-card {
    padding: 20px 22px;
    border-width: 2px;
    border-radius: 0;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.13);
  }

  .team-profile-card strong {
    font-size: 1.12rem;
  }

  .team-profile-card p {
    font-size: 0.92rem;
  }

  .assurance-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .trust-grid,
  .agency-points,
  .method-grid,
  .service-grid,
  .service-detail-list,
  .seo-panel,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    padding: 10px;
  }

  .search-mockup {
    grid-template-columns: 1fr;
  }

  .search-bar {
    grid-column: auto;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card img {
    height: 170px;
  }

  .cta-panel {
    padding: 28px 22px;
  }

  .admin-setting-image {
    grid-template-columns: 1fr;
  }

  .admin-table-wrap {
    overflow: visible;
  }

  .admin-leads-table {
    min-width: 0;
  }

  .admin-leads-table thead {
    display: none;
  }

  .admin-leads-table,
  .admin-leads-table tbody,
  .admin-leads-table tr,
  .admin-leads-table td {
    display: block;
    width: 100%;
  }

  .admin-leads-table tr {
    margin-bottom: 14px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
  }

  .admin-leads-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    text-align: right;
  }

  .admin-leads-table td:last-child {
    border-bottom: 0;
  }

  .admin-leads-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 900;
    text-align: left;
  }

  .admin-row-actions,
  .admin-section-actions,
  .confirm-modal__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .footer-bottom {
    display: block;
  }
}
.admin-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.admin-logout-form {
  margin: 0;
}

.admin-logout-form button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
