/* SERVICE PRODUCER – MOBILE OVERFLOW FIX
   Upload this file into the same folder as index.html and link it before </head>:
   <link rel="stylesheet" href="service-producer-mobile-fix.css?v=20260706">
*/

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

img,
video,
svg,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

.container,
.nav,
.hero .container,
.strip .container,
.contact-box,
.split,
.grid-2,
.grid-3,
.service-list,
.card,
.image-card,
.nda-box,
.address,
.hero-panel,
.photo {
  max-width: 100%;
  min-width: 0;
}

p,
h1,
h2,
h3,
span,
a,
strong,
address,
.footer {
  overflow-wrap: anywhere;
  word-break: normal;
}

.photo,
.hero {
  background-size: cover;
  background-position: center;
}

@media (max-width: 1020px) {
  .hero .container,
  .split,
  .contact-box {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .grid-3,
  .grid-2,
  .service-list,
  .strip .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --radius: 22px;
  }

  .container {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    gap: 12px;
  }

  .logo {
    min-width: 0;
    gap: 10px;
  }

  .logo span:last-child {
    white-space: normal;
    line-height: 1.05;
    letter-spacing: .08em;
  }

  .navlinks {
    flex-shrink: 0;
    gap: 8px;
  }

  .lang {
    flex-shrink: 0;
  }

  .lang button {
    padding: 7px 9px;
  }

  .hero .container {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px;
    padding-top: 82px;
    padding-bottom: 68px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 48px);
    letter-spacing: -0.055em;
  }

  h2 {
    font-size: clamp(31px, 10vw, 42px);
    letter-spacing: -0.04em;
  }

  .lead {
    font-size: 17px;
  }

  .hero-panel,
  .card,
  .service,
  .nda-box,
  .address {
    padding: 24px;
    border-radius: 22px;
  }

  .grid-3,
  .grid-2,
  .service-list,
  .strip .container {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .photo {
    width: 100%;
    min-height: 300px;
    border-radius: 24px;
  }

  .image-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .btn,
  .actions,
  .actions a {
    max-width: 100%;
  }

  .btn {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
  }

  .footer {
    padding-left: 18px;
    padding-right: 18px;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .nav {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .logo span:last-child {
    font-size: 11px;
  }

  .hero-panel,
  .card,
  .service,
  .nda-box,
  .address {
    padding: 20px;
  }
}
