:root {
  --blue: #0083c6;
  --green: #40b394;
  --orange: #f29727;
  --yellow: #fdd41f;
  --text: #2b2b2b;
  --muted: #6f6f74;
  --line: #e2e2e2;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --dark: #2a2a2a;
  --wrap: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Fira Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 104px;
}
.site-header .logo img { height: 84px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none; font-size: 15px; color: var(--text);
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--muted); }

/* Hero slideshow */
.slider { position: relative; overflow: hidden; height: min(37vw, 540px); min-height: 280px; background: var(--green); }
.slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  color: #fff; text-align: center;
  opacity: 0; transition: opacity .9s ease;
  padding: 0 60px;
}
.slide.active { opacity: 1; }
.slide h2 {
  margin: 0; font-weight: 500; letter-spacing: .03em;
  font-size: clamp(28px, 4.2vw, 52px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.slide p {
  margin: 6px 0 0; font-weight: 500; letter-spacing: .05em;
  font-size: clamp(16px, 1.9vw, 24px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.slide.yellow { background-color: var(--yellow); color: #3a3a3a; }
.slide.yellow h2, .slide.yellow p { text-shadow: none; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; border: 0; border-radius: 3px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 18px; cursor: pointer;
}
.slider-btn:hover { background: rgba(0, 0, 0, .8); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; }
.dots button.active { background: #fff; }

/* Intro */
.intro { text-align: center; padding: 56px 16px 48px; }
.intro h1 { margin: 0; font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); }
.intro p { margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.intro .logo-mark { width: 180px; margin: 0 auto 26px; }
.tags { list-style: none; padding: 0; margin: 22px auto 0; max-width: 760px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tags li { font-size: 13px; color: #3c3c3c; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }

/* Video slideshow */
.video-strip { position: relative; height: min(35vw, 520px); min-height: 260px; overflow: hidden; background: #000; }
.video-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.video-slide.active { opacity: 1; }
.video-slide video { width: 100%; height: 100%; object-fit: cover; }
.video-slide::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.video-slide h2 {
  position: absolute; inset: 0; z-index: 2; margin: 0;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 60px;
  color: #fff; font-weight: 500; font-size: clamp(26px, 3.6vw, 46px); letter-spacing: .03em;
}

/* Services */
.services { padding: 40px 0 24px; }
.service {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.service:last-child { border-bottom: 0; }
.service img, .service svg { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.service img.contain { object-fit: contain; }
.service h3 { margin: 0; font-weight: 400; font-size: 24px; }
.service h4 { margin: 4px 0 10px; font-weight: 400; font-size: 21px; color: #3c3c3c; }
.service p { margin: 0 0 6px; font-size: 14px; color: #444; }

/* Brands */
.brands { border-top: 2px solid #3a3a3a; padding: 28px 0 8px; }
.brands .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.brands img { height: 34px; width: auto; }

/* Footer */
.site-footer { padding: 20px 0 40px; font-size: 12px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.social { display: flex; gap: 6px; margin-bottom: 8px; }
.social a {
  width: 22px; height: 22px; display: grid; place-items: center; border-radius: 2px; color: #fff; text-decoration: none;
}
.social a svg { width: 14px; height: 14px; fill: currentColor; }
.social .fb { background: #3b5998; }
.social .ig { background: #e1306c; }

/* Portfolio */
.page-title { padding: 36px 0 18px; }
.page-title h1 { margin: 0; font-weight: 400; font-size: 30px; }
.page-title p { margin: 4px 0 0; font-size: 14px; color: #444; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-bottom: 50px; }
.gallery button { padding: 0; border: 0; background: #eee; cursor: zoom-in; aspect-ratio: 4 / 2.6; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .9); padding: 40px 60px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button {
  position: absolute; border: 0; background: none; color: #fff; font-size: 36px; cursor: pointer; padding: 8px 14px;
}
.lightbox .close { top: 8px; right: 12px; }
.lightbox .prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 13px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding: 48px 0 80px; align-items: start; }
.box { background: var(--dark); color: #fff; padding: 20px; }
.contact form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact form .fields { display: grid; gap: 10px; align-content: start; }
.contact input, .contact textarea {
  width: 100%; border: 1px solid #ddd; background: #fff; color: var(--text);
  font: inherit; font-size: 14px; padding: 8px 10px;
}
.contact textarea { min-height: 128px; resize: vertical; }
.contact .send { grid-column: 1 / -1; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.contact .send small { color: #bbb; font-size: 12px; }
.contact button[type="submit"] {
  border: 0; background: #d62d20; color: #fff; padding: 9px 22px; font: inherit; font-size: 14px; cursor: pointer;
}
.contact button[type="submit"]:hover { background: #b0241a; }
.info { text-align: center; }
.info h2 { margin: 4px 0 10px; font-weight: 500; font-size: 22px; }
.info p { margin: 2px 0; font-size: 14px; }
.info a { color: #fff; }
.info .social { justify-content: center; margin: 14px 0 0; }
.info .social a { background: #777; border-radius: 50%; }

@media (max-width: 760px) {
  .site-header .wrap { height: 80px; }
  .site-header .logo img { height: 62px; }
  .nav { gap: 18px; }
  .service { grid-template-columns: 1fr; gap: 16px; }
  .service img, .service svg { max-width: 260px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .contact form { grid-template-columns: 1fr; }
  .brands .wrap { justify-content: center; }
  .brands img { height: 26px; }
  .slider-btn { display: none; }
  .lightbox { padding: 40px 8px; }
}

/* Language switch */
.nav { align-items: center; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.nav .lang a { font-size: 12px; font-weight: 500; letter-spacing: .06em; padding: 4px 9px; color: var(--muted); }
.nav .lang a[aria-current="true"] { background: var(--blue); color: #fff; }
.nav .lang a:hover { color: var(--text); }
.nav .lang a[aria-current="true"]:hover { color: #fff; }

/* Contact form feedback */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-size: 14px; }
.form-status.ok { color: #9fe0c4; }
.form-status.err { color: #ffb4a8; }
.contact button[type="submit"]:disabled { opacity: .6; cursor: wait; }
