
/* =========================================
   FLEMMA SERVICE
   STYLE.CSS
   ========================================= */

:root {
  --black: #111111;
  --dark: #171717;
  --white: #ffffff;
  --text: #202020;
  --muted: #696969;
  --surface: #f6f6f4;
  --border: #e7e7e5;
  --font: "Manrope", Arial, sans-serif;
  --container: 1240px;
  --header-height: 94px;
  --section-space: 105px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.popup-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--black);
  color: var(--white);
}

/* GLOBAL */

.container {
  width: min(calc(100% - 72px), var(--container));
  margin-inline: auto;
}

.section-padding {
  padding-block: var(--section-space);
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-eyebrow.light {
  color: #c7c7c7;
}

.section-title {
  max-width: 790px;
  margin: 0;
  color: var(--black);
  font-size: clamp(35px, 4.1vw, 62px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.055em;
  white-space: pre-line;
  text-wrap: balance;
}

.section-title.light {
  color: var(--white);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 48px;
}

.section-intro {
  max-width: 350px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 55px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    transform .25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--black);
}

.btn-light:hover {
  background: #eaeaea;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: #333333;
}

.btn-outline-light {
  border-color: rgba(255,255,255,.8);
  background: transparent;
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
}

/* HEADER */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 5px 25px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: var(--header-height);
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 195px;
  height: 85px;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 31px);
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 12px 0;
  color: #414141;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--black);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #929292;
  font-size: 11px;
  font-weight: 800;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--black);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 12px 19px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease;
}

.header-cta:hover {
  background: var(--white);
  color: var(--black);
}

/* MOBILE NAV */

.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 102;
  width: 42px;
  height: 42px;
  padding: 8px 5px;
  border: 0;
  background: transparent;
}

.mobile-menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  margin: 6px auto;
  background: var(--black);
  transition: transform .25s ease, opacity .25s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  z-index: 101;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 20px 35px 35px;
  background: var(--white);
  box-shadow: 0 18px 35px rgba(0,0,0,.1);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}

.mobile-nav .mobile-cta {
  margin-top: 20px;
  padding: 15px;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

/* HERO */

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(650px, calc(100svh - 94px), 900px);
  overflow: hidden;
  isolation: isolate;
  background: #242424;
  color: var(--white);
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.52) 38%,
    rgba(0,0,0,.16) 75%,
    rgba(0,0,0,.08) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 105px 135px;
}

.hero-text {
  max-width: 780px;
}

.hero-text h1 {
  max-width: 780px;
  margin: 0 0 28px;
  color: var(--white);
  font-size: clamp(48px, 5.5vw, 82px);
  font-weight: 700;
  line-height: 1.11;
  letter-spacing: -.065em;
  white-space: pre-line;
  text-wrap: balance;
}

.hero-description {
  max-width: 525px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.95;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: max(36px, calc((100vw - var(--container)) / 2));
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: rgba(255,255,255,.88);
  font-size: 11px;
  font-weight: 700;
}

.hero-scroll span:last-child {
  font-size: 20px;
}

.hero-index {
  position: absolute;
  right: max(36px, calc((100vw - var(--container)) / 2));
  bottom: 41px;
  color: rgba(255,255,255,.75);
  font-size: 10px;
  letter-spacing: .14em;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(45px, 7vw, 105px);
}

.about-content {
  max-width: 550px;
}

.about-lead {
  margin: 28px 0 20px;
  color: var(--black);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -.03em;
}

.about-description {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--black);
  font-size: 12px;
  font-weight: 800;
  transition: gap .25s ease;
}

.text-link:hover {
  gap: 40px;
}

.about-image-wrapper {
  overflow: hidden;
  background: var(--surface);
}

.about-image-wrapper img {
  width: 100%;
  height: clamp(390px, 42vw, 560px);
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

/* SERVICES */

.services-section {
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
}

.service-card {
  min-width: 0;
}

.service-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #dededb;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.service-card:hover .service-image img {
  transform: scale(1.04);
}

.service-number {
  position: absolute;
  top: 15px;
  left: 15px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
}

.service-info {
  position: relative;
  padding: 22px 35px 0 0;
}

.service-info h3 {
  margin: 0 0 9px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.035em;
}

.service-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.service-arrow {
  position: absolute;
  top: 19px;
  right: 0;
  font-size: 23px;
}

/* PROJECTS */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 26px;
}

.project-card {
  min-width: 0;
}

.project-large {
  grid-column: 1 / -1;
}

.project-image {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--surface);
}

.project-large .project-image {
  aspect-ratio: 16 / 8;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease);
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.project-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
}

.project-category {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.project-info h3 {
  margin: 0;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 800;
  letter-spacing: -.04em;
}

.project-icon {
  font-size: 26px;
}

/* BEFORE AFTER */

.comparison-section {
  background: var(--surface);
}

.comparison {
  position: relative;
  width: 100%;
  height: clamp(380px, 52vw, 650px);
  overflow: hidden;
  isolation: isolate;
  background: #dddddd;
  user-select: none;
  -webkit-user-select: none;
}

.comparison-after,
.comparison-before img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-after {
  z-index: 1;
}

.comparison-before {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.comparison-before img {
  max-width: none;
}

.compare-label {
  position: absolute;
  z-index: 4;
  top: 22px;
  padding: 9px 16px;
  background: rgba(17,17,17,.85);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
}

.label-before {
  left: 22px;
}

.label-after {
  right: 22px;
}

.comparison-divider {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 23px;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 20px rgba(0,0,0,.2);
}

.comparison-range {
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}

.compare-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* PROCESS */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.process-step {
  padding-top: 25px;
  border-top: 1px solid #d0d0cd;
}

.process-number {
  display: block;
  margin-bottom: 35px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.process-step h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.process-step p {
  max-width: 245px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* CONTACT */

.contact-section {
  background: var(--dark);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: clamp(45px, 7vw, 115px);
}

.contact-description {
  max-width: 430px;
  margin: 28px 0 0;
  color: #c9c9c9;
  font-size: 15px;
  line-height: 2;
}

.contact-form-wrapper {
  padding: clamp(25px, 4vw, 45px);
  background: var(--white);
  color: var(--black);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 9px;
}

.form-group label {
  color: #333333;
  font-size: 12px;
  font-weight: 700;
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 13px 14px;
  border: 1px solid #dedede;
  border-radius: 0;
  outline: none;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
}

.form-group textarea {
  min-height: 145px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 1px var(--black);
}

.form-consent {
  margin-top: 2px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--black);
}

.checkbox-label span {
  color: #666666;
  font-size: 12px;
  line-height: 1.75;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-submit:disabled {
  opacity: .65;
  cursor: wait;
  pointer-events: none;
  transform: none;
}

.form-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.form-status:empty {
  display: none;
}

.form-status.error {
  color: #b42318;
}

.form-status.success {
  color: #176534;
}

/* SPAMBEVEILIGING */

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

/* FOOTER */

.site-footer {
  padding-top: 75px;
  border-top: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 65px;
}

.footer-brand img {
  width: 190px;
  height: auto;
  max-height: 110px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 350px;
  margin: 22px 0 0;
  color: #555555;
  font-size: 13px;
  line-height: 1.9;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
}

.footer-links a,
.footer-contact a {
  color: #555555;
  font-size: 13px;
}

.footer-contact p {
  margin: 0;
  color: #555555;
  font-size: 13px;
  line-height: 1.8;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--black);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: #666666;
  font-size: 11px;
}

/* POPUP */

.popup-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
}

.popup-dialog {
  position: relative;
  width: min(100%, 480px);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 25px 80px rgba(0,0,0,.25);
}

.popup-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--white);
  color: var(--black);
  font-size: 25px;
}

.popup-image {
  height: 195px;
  overflow: hidden;
  background: var(--surface);
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-content {
  padding: 32px 35px 35px;
}

.popup-eyebrow {
  display: block;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.popup-content h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.05em;
}

.popup-content p {
  margin: 0 0 24px;
  color: #666666;
  font-size: 13px;
  line-height: 1.85;
}

.popup-cta {
  display: flex;
  width: 100%;
}

.popup-secondary {
  display: block;
  width: 100%;
  margin-top: 17px;
  padding: 7px;
  border: 0;
  background: transparent;
  color: #666666;
  font-size: 12px;
  text-align: center;
}

/* FLOATING CONTACT */

.floating-contact {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding: 14px 19px;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  font-size: 12px;
  font-weight: 800;
}

.floating-contact-icon {
  font-size: 20px;
  line-height: 1;
}

/* REVEAL */

.reveal {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .65s var(--ease),
    transform .65s var(--ease);
}

.js-reveal .reveal.visible {
  opacity: 1;
  transform: none;
}

/* LAPTOP */

@media (max-width: 1200px) {
  :root {
    --section-space: 90px;
  }

  .site-logo {
    width: 165px;
  }

  .desktop-nav {
    gap: 17px;
  }

  .header-actions {
    gap: 14px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 25px;
  }

  .service-image {
    aspect-ratio: 5 / 4;
  }
}

/* TABLET */

@media (max-width: 1024px) {
  :root {
    --header-height: 82px;
    --section-space: 80px;
  }

  .container {
    width: calc(100% - 56px);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .site-logo {
    width: 160px;
    height: 74px;
  }

  .hero-section {
    min-height: calc(100svh - 82px);
  }

  .hero-scroll {
    left: 28px;
  }

  .hero-index {
    right: 28px;
  }

  .about-grid,
  .contact-grid {
    gap: 40px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  :root {
    --header-height: 76px;
    --section-space: 68px;
  }

  html {
    scroll-padding-top: 85px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .section-title {
    font-size: clamp(34px, 9vw, 46px);
  }

  .section-header {
    display: block;
    margin-bottom: 34px;
  }

  .section-intro {
    margin-top: 20px;
  }

  .site-logo {
    width: 135px;
    height: 66px;
  }

  .header-inner {
    gap: 15px;
  }

  .header-actions {
    gap: 13px;
  }

  .language-switcher {
    gap: 8px;
    margin-left: auto;
  }

  .lang-btn {
    font-size: 10px;
  }

  .mobile-nav {
    padding: 18px 22px 30px;
  }

  .hero-section {
    min-height: calc(100svh - 76px);
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(0,0,0,.82) 0%,
      rgba(0,0,0,.57) 60%,
      rgba(0,0,0,.3) 100%
    );
  }

  .hero-content {
    padding-block: 85px 125px;
  }

  .hero-text h1 {
    font-size: clamp(40px, 10vw, 59px);
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-buttons {
    gap: 12px;
    margin-top: 30px;
  }

  .hero-buttons .btn {
    min-height: 52px;
    padding: 13px 17px;
    font-size: 11px;
  }

  .hero-scroll {
    bottom: 25px;
    left: 18px;
  }

  .hero-index {
    right: 18px;
    bottom: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-lead {
    font-size: 21px;
  }

  .about-image-wrapper img {
    height: 350px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .service-image {
    aspect-ratio: 5 / 4;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .project-large {
    grid-column: auto;
  }

  .project-image,
  .project-large .project-image {
    aspect-ratio: 5 / 4;
  }

  .comparison {
    height: 420px;
  }

  .compare-label {
    top: 14px;
    padding: 7px 11px;
    font-size: 10px;
  }

  .label-before {
    left: 12px;
  }

  .label-after {
    right: 12px;
  }

  .comparison-divider span {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 20px;
    margin-top: 40px;
  }

  .process-number {
    margin-bottom: 22px;
  }

  .process-step h3 {
    font-size: 17px;
  }

  .process-step p {
    font-size: 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-form-wrapper {
    padding: 25px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer {
    padding-top: 55px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
    padding-bottom: 55px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    width: 165px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .popup-overlay {
    padding: 12px;
  }

  .popup-dialog {
    max-height: calc(100svh - 24px);
  }

  .popup-image {
    height: 150px;
  }

  .popup-content {
    padding: 25px 22px 28px;
  }

  .popup-content h2 {
    font-size: 27px;
  }

  .floating-contact {
    right: 15px;
    bottom: 15px;
    padding: 12px 14px;
    font-size: 11px;
  }
}

/* SMALL MOBILE */

@media (max-width: 390px) {
  .site-logo {
    width: 115px;
  }

  .header-actions {
    gap: 10px;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .floating-contact-text {
    display: none;
  }

  .floating-contact {
    width: 48px;
    height: 48px;
    justify-content: center;
    padding: 0;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}
