:root {
  --dark: #1c281f;
  --dark-soft: #233128;
  --light: #ffffff;
  --soft: #f6f6f3;
  --line: rgba(28, 40, 31, 0.12);
  --line-strong: rgba(28, 40, 31, 0.18);
  --text: #4a584c;
  --muted: #667267;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  --header-height: 94px;
  --header-height-mobile: 78px;
  --header-safe-top: env(safe-area-inset-top, 0px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--light);
  padding-top: calc(var(--header-height) + var(--header-safe-top));
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--soft);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.86);
}

.section-intro,
.page-intro {
  max-width: 900px;
  margin-bottom: 36px;
}

.section-intro h2,
.page-intro h2,
.contact-form-box h2,
.contact-main h2 {
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--dark-soft);
  margin-bottom: 18px;
}

.section-intro p,
.page-intro p,
.contact-form-box p,
.contact-main p,
.service-copy p,
.intro-description-text p,
.page-hero p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--text);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
  padding-top: var(--header-safe-top);
  transform: translateY(0);
  -webkit-transform: translateY(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.28s ease;
  -webkit-transition: -webkit-transform 0.28s ease;
}

.site-header.header-hidden {
  transform: translateY(calc(-100% - var(--header-safe-top)));
  -webkit-transform: translateY(calc(-100% - var(--header-safe-top)));
}

.header-bar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-height: 100%;
}

.site-logo img {
  height: 62px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.desktop-nav a,
.mobile-nav a,
.footer-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after,
.footer-nav a:hover::after,
.footer-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle,
.mobile-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  padding: 0;
}

.menu-toggle-lines {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
}

.menu-toggle-lines span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

.mobile-overlay {
  display: none;
}

.mobile-menu {
  display: none;
}

.page-main {
  padding-top: 0;
}

.btn,
.link-button,
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: var(--light);
  color: var(--dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn:hover,
.link-button:hover,
.filter-btn:hover {
  background: var(--soft);
  border-color: rgba(28, 40, 31, 0.24);
  transform: translateY(-1px);
}

.btn-dark,
.filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--light);
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 470px;
  max-height: 640px;
  margin-top: 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0));
  pointer-events: none;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide .hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
  transition: transform 5s ease;
}

.hero-slide.active .hero-image {
  transform: scale(1);
}

.hero-slide .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 24, 20, 0.24), rgba(18, 24, 20, 0.36));
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
}

.hero-text {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-left: 22px;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
}

.hero-text h1,
.hero-text h2,
.page-hero h1 {
  color: var(--light);
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero .btn {
  border-color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.94);
  align-self: flex-start;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 3;
}

.hero-dots-row {
  display: flex;
  justify-content: center;
}

.hero-dot-list {
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 44px;
  height: 3px;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.hero-dot.active {
  background: #ffffff;
}

.intro-description {
  padding: 88px 0 104px;
}

.intro-description-editorial {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
}

.intro-description-main-wrap {
  display: grid;
  gap: 22px;
}

.intro-description-main {
  max-width: 760px;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--dark-soft);
}

.intro-description-text {
  max-width: 640px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.intro-description-image {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: #dde4db;
}

.intro-description-image img,
.contact-photo img,
.realisations-card img,
.service-card img,
.service-slide img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-description-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--light);
}

.intro-description-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px 22px 22px;
  background: linear-gradient(180deg, rgba(18, 24, 20, 0) 0%, rgba(18, 24, 20, 0.82) 100%);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.92rem;
  line-height: 1.7;
}

.services-overview {
  padding: 0 0 104px;
}

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

.service-card,
.realisations-card,
.contact-photo,
.contact-form-box,
.gallery-item,
.slider-frame {
  border: 1px solid var(--line);
  background: var(--light);
}

.service-card {
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  border-color: rgba(28, 40, 31, 0.22);
  transform: translateY(-1px);
}

.service-card-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #dde4db;
}

.service-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 24, 20, 0.30), rgba(18, 24, 20, 0.04) 46%, rgba(18, 24, 20, 0));
  pointer-events: none;
}

.service-card-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 36px);
  min-height: 56px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark);
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.services-overview-footer,
.realisations-preview-footer,
.section-footer {
  margin-top: 28px;
}

.realisations-preview {
  background: var(--soft);
  padding: 88px 0 96px;
}

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

.realisations-card {
  overflow: hidden;
}

.realisations-card img {
  height: 320px;
}

.contact-section {
  padding: 0 0 96px;
}

.contact-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.contact-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #d6dbd4;
}

.page-hero.page-hero-compact {
  min-height: 320px;
}

.page-hero.page-hero-banner {
  min-height: 220px;
}

.page-hero.page-hero-banner::after {
  background: linear-gradient(rgba(18, 24, 20, 0.08), rgba(18, 24, 20, 0.16));
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 24, 20, 0.24), rgba(18, 24, 20, 0.42));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 0 50px;
  color: #ffffff;
}

.page-hero h1 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 3.1vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: #ffffff;
}

.page-hero-content.services-hero-content h1 {
  max-width: 560px;
}

.page-hero-content.services-hero-content p {
  max-width: 640px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.page-hero-content-subtext {
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding-top: 72px;
  padding-bottom: 36px;
}

.page-hero-content-subtext-inner {
  max-width: 660px;
}

.page-hero-content-subtext p {
  max-width: 760px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.94);
}

.service-list {
  display: grid;
  gap: 34px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 520px);
  gap: 44px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.service-row.reverse {
  grid-template-columns: minmax(320px, 520px) minmax(0, 1.05fr);
}

.service-row.reverse .service-visual {
  order: 1;
}

.service-row.reverse .service-copy {
  order: 2;
}

.service-copy .section-kicker {
  margin-bottom: 14px;
}

.service-copy h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.service-slider {
  position: relative;
}

.slider-frame {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: #eef1ed;
}

.service-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.service-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slider-arrow,
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow {
  background: rgba(233, 222, 200, 0.96);
  color: var(--dark);
  border: 1px solid rgba(185, 170, 141, 0.7);
}

.lightbox-close,
.lightbox-arrow {
  background: rgba(255, 255, 255, 0.94);
  color: var(--dark);
}

.slider-arrow {
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
}

.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }

.slider-counter {
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.filters-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.gallery-topbar {
  padding: 22px 0 28px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.gallery-status {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 24, 20, 0.64), rgba(18, 24, 20, 0.12) 48%, rgba(18, 24, 20, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.gallery-item:hover .gallery-tag {
  opacity: 1;
  transform: translateY(0);
}

.gallery-empty {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--text);
  line-height: 1.8;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: min(1240px, 92vw);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  top: -18px;
  right: -18px;
  width: 46px;
  height: 46px;
  font-size: 1.35rem;
}

.lightbox-arrow {
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.45rem;
}

.lightbox-arrow.prev { left: -72px; }
.lightbox-arrow.next { right: -72px; }

.lightbox-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -44px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-page-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.contact-simple-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.contact-simple-intro {
  max-width: 560px;
  margin: 0 auto 28px;
  text-align: center;
}

.contact-simple-intro .section-kicker {
  margin-bottom: 12px;
}

.contact-simple-intro h2 {
  margin-bottom: 12px;
}

.contact-simple-card {
  max-width: 740px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--light);
  padding: 36px;
}

.contact-card-head {
  max-width: 520px;
  margin-bottom: 24px;
}

.contact-card-head h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 10px;
}

.contact-card-head p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
}

.contact-form-box {
  padding: 28px;
}

.contact-form-box.compact {
  border: none;
  padding: 26px;
}

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 0;
}

.form-row {
  display: grid;
  gap: 20px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--dark);
  padding: 14px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input {
  min-height: 54px;
}

.form-field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: rgba(28, 40, 31, 0.34);
  box-shadow: 0 0 0 3px rgba(28, 40, 31, 0.06);
}

.contact-form .btn {
  align-self: flex-start;
}

.contact-simple-card .btn {
  align-self: flex-start;
  min-width: 220px;
}


.contact-minimal-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-minimal-intro {
  margin-bottom: 24px;
}

.contact-minimal-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--dark-soft);
  margin-bottom: 12px;
}

.contact-minimal-intro p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text);
}

.contact-minimal-card {
  border: 1px solid var(--line);
  background: var(--light);
  padding: 28px;
}

.contact-form-minimal {
  gap: 16px;
}

.contact-form-minimal .btn {
  margin-top: 4px;
  min-width: 220px;
}


.contact-clean-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.contact-clean-intro {
  max-width: 560px;
  margin: 0 auto 22px;
  text-align: left;
}

.contact-clean-intro h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--dark-soft);
  margin-bottom: 10px;
}

.contact-clean-intro p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text);
}

.contact-direct-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 860px;
  margin: 0 auto 26px;
  padding: 6px 0 18px;
  border-bottom: 1px solid var(--line);
}

.contact-direct-item {
  display: block;
  text-decoration: none;
}

.contact-direct-item[href]:hover strong {
  color: var(--dark);
}

.contact-direct-item .section-kicker {
  margin-bottom: 8px;
}

.contact-direct-item strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--dark-soft);
  transition: color 0.25s ease;
}

.contact-direct-item p {
  margin-top: 5px;
  color: var(--text);
  line-height: 1.6;
}

.contact-clean-card {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--light);
  padding: 30px;
}

.contact-form-clean {
  gap: 18px;
}

.form-field select {
  min-height: 54px;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--dark) 50%), linear-gradient(135deg, var(--dark) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.contact-form-clean .btn {
  margin-top: 6px;
  min-width: 220px;
}

.site-footer {
  background: var(--dark);
  color: var(--light);
  padding: 34px 0 38px;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand img {
  height: 54px;
  width: auto;
}

.footer-text p,
.footer-contact p,
.footer-contact a {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.footer-contact {
  display: grid;
  gap: 12px;
  justify-items: end;
  text-align: right;
}

.footer-contact strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-note {
  max-width: 620px;
  text-align: right;
  font-size: 0.9rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.88);
}

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

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

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

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

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 860px) {
  body {
    padding-top: calc(var(--header-height-mobile) + var(--header-safe-top));
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    padding-top: env(safe-area-inset-top, 0px);
    min-height: calc(var(--header-height-mobile) + env(safe-area-inset-top, 0px));
    height: auto;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .header-bar {
    min-height: var(--header-height-mobile);
    height: var(--header-height-mobile);
    gap: 16px;
  }

  .site-logo img {
    height: 48px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
    border: 1px solid rgba(28, 40, 31, 0.16);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
  }

  .mobile-overlay {
    position: fixed;
    inset: calc(var(--header-height-mobile) + var(--header-safe-top)) 0 0 0;
    display: block;
    background: rgba(12, 16, 13, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1001;
  }

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

  .mobile-menu {
    position: fixed;
    top: calc(var(--header-height-mobile) + var(--header-safe-top));
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 20px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(28, 40, 31, 0.08);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    transform-origin: top center;
    transition: opacity 0.25s ease, transform 0.28s ease, visibility 0s linear 0.28s;
    z-index: 1002;
    max-height: min(440px, calc(100dvh - (var(--header-height-mobile) + var(--header-safe-top))));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.28s ease;
  }

  .mobile-menu-head {
    display: none;
  }

  .mobile-close {
    display: none;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
  }

  .mobile-nav a {
    width: 100%;
    min-height: 64px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(28, 40, 31, 0.08);
  }

  .page-main {
    padding-top: 0;
  }

  .hero {
    margin-top: 0;
    min-height: 420px;
    height: 62vh;
  }

  .intro-description,
  .section,
  .realisations-preview,
  .contact-section {
    padding-bottom: 76px;
  }

  .intro-description-editorial,
  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
  }

  .intro-description-image {
    height: 340px;
  }

  .service-row.reverse .service-copy,
  .service-row.reverse .service-visual {
    order: initial;
  }

  .slider-frame {
    height: 300px;
  }

  .page-hero.page-hero-banner,
  .page-hero.page-hero-compact {
    height: 260px;
    min-height: 260px;
  }

  .page-hero-content {
    padding: 52px 0 42px;
  }

  .realisations-grid,
  .footer-top,
  .contact-shell {
    grid-template-columns: 1fr 1fr;
  }

  .footer-text {
    grid-column: span 2;
  }

  .footer-contact {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-logo img {
    height: 44px;
  }

  .header-bar {
    height: var(--header-height-mobile);
    min-height: var(--header-height-mobile);
  }

  .hero {
    min-height: 380px;
    height: 58vh;
  }

  .hero-text h1,
  .hero-text h2,
  .page-hero h1 {
    font-size: clamp(1.18rem, 6.6vw, 1.75rem);
    max-width: 92%;
  }

  .services-grid,
  .realisations-grid,
  .gallery-grid,
  .footer-top,
  .contact-shell,
  .form-row.two-columns {
    grid-template-columns: 1fr;
  }

  .intro-description-image {
    height: 280px;
  }

  .service-card-image {
    aspect-ratio: 16 / 10;
  }

  .slider-frame {
    height: 230px;
  }

  .page-hero.page-hero-banner,
  .page-hero.page-hero-compact {
    height: 220px;
    min-height: 220px;
  }

  .page-hero-content {
    padding: 34px 0 28px;
  }

  .lightbox {
    padding: 20px 12px 50px;
  }

  .lightbox-arrow {
    width: 42px;
    height: 42px;
  }

  .lightbox-meta {
    bottom: -34px;
    font-size: 0.68rem;
  }

  .contact-form-box,
  .contact-form-box.compact,
  .contact-simple-card {
    padding: 22px;
  }

  .footer-note {
    text-align: left;
  }
}


@media (max-width: 640px) {
  .contact-minimal-card {
    padding: 20px;
  }

  .contact-form-minimal .btn {
    width: 100%;
    min-width: 0;
  }
}


@media (max-width: 640px) {
  .contact-clean-card {
    padding: 22px;
  }

  .contact-direct-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .contact-clean-wrap {
    max-width: 100%;
  }

  .contact-clean-intro {
    margin-bottom: 18px;
  }

  .contact-clean-card {
    padding: 20px;
  }

  .contact-form-clean .btn {
    width: 100%;
    min-width: 0;
  }
}


@media (max-width: 860px) {
  .filters-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .filter-btn {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    text-align: center;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
  }

  .gallery-topbar {
    padding: 18px 0 22px;
    margin-bottom: 24px;
  }

  .gallery-status {
    font-size: 0.76rem;
  }

  .section {
    padding: 64px 0;
  }

  .service-list {
    gap: 28px;
  }

  .service-row {
    gap: 20px;
    padding-bottom: 28px;
  }
}

@media (max-width: 560px) {
  .page-hero.page-hero-banner,
  .page-hero.page-hero-compact {
    height: 220px;
    min-height: 220px;
  }

  .page-hero-content-subtext {
    padding-top: 44px;
    padding-bottom: 18px;
  }

  .page-hero-content-subtext p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .page-hero h1 {
    margin-bottom: 10px;
    max-width: 88%;
  }

  .section,
  .intro-description,
  .realisations-preview,
  .contact-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .filters-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .filter-btn {
    justify-content: flex-start;
    min-height: 42px;
    padding: 0 14px;
  }

  .gallery-topbar {
    padding: 14px 0 18px;
    margin-bottom: 18px;
  }

  .gallery-grid {
    gap: 16px;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .slider-arrow.prev {
    left: 10px;
  }

  .slider-arrow.next {
    right: 10px;
  }

  .slider-counter {
    margin-top: 10px;
    font-size: 0.72rem;
  }

  .contact-clean-card {
    padding: 18px;
  }

  .contact-clean-intro h2 {
    font-size: 1.35rem;
  }
}

@media (max-width: 560px) {
  .header-bar {
    gap: 14px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .menu-toggle-lines {
    width: 26px;
    gap: 4px;
  }

  .menu-toggle-lines span {
    height: 2px;
  }

  .page-hero-content-subtext {
    padding-top: 42px;
    padding-bottom: 18px;
  }

  .page-hero-content-subtext p {
    max-width: 86%;
  }
}



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

  body.menu-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    touch-action: none;
  }

  .menu-toggle,
  .mobile-close {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .menu-toggle {
    align-self: center;
  }

  .menu-toggle-lines {
    width: 26px;
  }

  .menu-toggle-lines span {
    height: 2px;
  }

  .header-bar {
    align-items: center;
  }

  .site-logo {
    min-height: var(--header-height-mobile);
  }

  .site-logo img {
    display: block;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 860px) {
    .site-header {
      position: fixed;
      top: 0;
    }
  }
}



/* Burger simple + croix simple */
.menu-toggle {
  border: 1px solid rgba(28, 40, 31, 0.14);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
}

.menu-toggle-lines {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
}

.menu-toggle-lines span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 0;
  background: currentColor;
  opacity: 1;
  transition: none;
  transform: none;
}

.menu-toggle-lines span:nth-child(1) {
  top: 0;
}

.menu-toggle-lines span:nth-child(2) {
  top: 8px;
}

.menu-toggle-lines span:nth-child(3) {
  top: 16px;
}

.menu-toggle.is-open .menu-toggle-lines span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

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

.menu-toggle.is-open .menu-toggle-lines span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

@media (max-width: 560px) {
  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .menu-toggle-lines {
    width: 22px;
    height: 16px;
  }

  .menu-toggle-lines span:nth-child(1) {
    top: 0;
  }

  .menu-toggle-lines span:nth-child(2) {
    top: 7px;
  }

  .menu-toggle-lines span:nth-child(3) {
    top: 14px;
  }

  .menu-toggle.is-open .menu-toggle-lines span:nth-child(1),
  .menu-toggle.is-open .menu-toggle-lines span:nth-child(3) {
    top: 7px;
  }
}

/* Contact sécurisé */
.form-alert {
  margin: 0 auto 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  line-height: 1.5;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.form-alert-success {
  border-color: rgba(47, 117, 74, 0.28);
  background: rgba(47, 117, 74, 0.08);
  color: #214f2d;
}

.form-alert-error {
  border-color: rgba(148, 45, 45, 0.28);
  background: rgba(148, 45, 45, 0.08);
  color: #7c2525;
}

.form-alert.is-out {
  opacity: 0;
  transform: translateY(-6px);
}

.required {
  color: #7c2525;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea,
.form-field.is-invalid select {
  border-color: rgba(148, 45, 45, 0.7);
  box-shadow: 0 0 0 3px rgba(148, 45, 45, 0.08);
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-status {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
}

.spam-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text);
}

.contact-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-info-strip > div {
  display: grid;
  gap: 6px;
  background: #fff;
  padding: 16px;
}

.contact-info-strip strong {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
}

.contact-info-strip a,
.contact-info-strip span {
  color: var(--text);
  text-decoration: none;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .contact-info-strip {
    grid-template-columns: 1fr;
  }
}
