* {
  box-sizing: border-box;
}

:root {
  --bg: #f3f0ec;
  --text: #30393a;
  --footer-bg: #30393a;
  --footer-h: clamp(82px, 11.23vw, 115px);
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
}

/* ===========================
   DESKTOP
=========================== */

.page {
  min-height: calc(100vh - var(--footer-h));
  padding: 0 0 var(--footer-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.desktop-layout {
  display: flex;
  justify-content: center;
  width: 100%;
}

.visual-wrap {
  position: relative;
  width: min(100vw, 1440px);
  max-height: calc(100vh - var(--footer-h));
  aspect-ratio: 1440 / 909;
}

.main-visual {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot,
.footer-hotspot {
  position: absolute;
  display: block;
  z-index: 5;
  overflow: hidden;
  text-indent: -9999px;
  white-space: nowrap;
}

.email {
  left: 40.1%;
  top: 73.8%;
  width: 19.8%;
  height: 3.8%;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--footer-h);
  background: var(--footer-bg);
  z-index: 10;
  display: flex;
  justify-content: center;
}

.footer-desktop {
  position: relative;
  width: min(100vw, 1440px);
  height: 100%;
}

.footer-visual {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
}

.phone {
  left: 32.4%;
  top: 30%;
  width: 11.8%;
  height: 43%;
}

.youtube {
  left: 52.55%;
  top: 24%;
  width: 2.4%;
  height: 52%;
}

.instagram {
  left: 56%;
  top: 24%;
  width: 2.4%;
  height: 52%;
}

.linkedin {
  left: 59.45%;
  top: 24%;
  width: 2.4%;
  height: 52%;
}

.mobile-layout,
.footer-mobile {
  display: none;
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 700px) {
  body {
    min-height: 100vh;
  }

  .page {
    min-height: auto;
    padding: 52px 22px 38px;
    display: block;
  }

  .desktop-layout,
  .footer-desktop {
    display: none;
  }

  .mobile-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 390px;
    margin: 0 auto;
  }

  .mobile-chapeau {
    display: block;
    width: clamp(70px, 18vw, 96px);
    height: auto;
    margin: 0 auto 34px;
  }

  .mobile-layout h1 {
    margin: 0;
    font-family: "Arial Black", Arial, Helvetica, sans-serif;
    font-size: clamp(45px, 12.8vw, 60px);
    line-height: 0.95;
    letter-spacing: -0.055em;
    font-weight: 900;
    color: var(--text);
    text-transform: uppercase;
  }

  .mobile-intro {
    margin: 30px 0 0;
    font-size: 20px;
    line-height: 1.35;
    color: var(--text);
  }

  .mobile-contact {
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.18;
    color: var(--text);
  }

  .mobile-contact a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .mobile-illustration {
    display: block;
    width: min(230px, 62vw);
    height: auto;
    margin: 34px auto 0;
  }

  .site-footer {
    position: relative;
    height: auto;
    display: block;
    padding: 22px 18px;
  }

  .footer-mobile {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-mobile__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
  }

  .footer-address,
  .footer-phone {
    text-align: center;
    margin: 0;
    padding: 0;
    border: none;
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    white-space: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .footer-separator {
    display: none;
  }

  .socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 0;
  }

  .socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
  }

  .socials img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
  }

  .footer-mobile-logo {
    width: 160px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 360px) {
  .page {
    padding-top: 42px;
  }

  .mobile-layout h1 {
    font-size: 42px;
  }

  .footer-address,
  .footer-phone {
    font-size: 13px;
  }

  .socials {
    gap: 10px;
  }

  .socials a,
  .socials img {
    width: 26px;
    height: 26px;
  }

  .footer-mobile-logo {
    width: 135px;
  }
}