* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #fff;
  font-family: 'Inconsolata', monospace;
  padding-top: 96px;
}

body.no-scroll {
  overflow: hidden;
}

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

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

@font-face {
  font-family: 'Mikko Sans';
  src: url('../fonts/MikkoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

.handwritten-title {
  font-family: 'Mikko Sans', cursive;
  font-weight: 600;
  letter-spacing: 0;
}

/* HEADER */

.site-header,
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(11, 11, 11, 0.55);
  backdrop-filter: blur(8px);
}

.navbar {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 18px 24px;
  gap: 24px;
}

.nav-links {
  display: flex;
  justify-content: flex-start;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  font-size: 18px;
  color: #fff;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 0 24px 24px;
  background: rgba(11, 11, 11, 0.94);
  backdrop-filter: blur(8px);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 20px;
}

.mobile-cta {
  width: fit-content;
}

/* BUTTONS */

button,
.cta-button {
  font-family: 'Inconsolata', monospace;
  font-size: 18px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 56px;
  padding: 14px 30px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  background: linear-gradient(to bottom, #1e1e20, #070707);
  color: #fff !important;
  font-weight: 500;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 18px rgba(255, 255, 255, 0.16),
    inset 0 0 10px rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cta-button:hover,
.cta-button:focus {
  border-color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 20px rgba(255, 255, 255, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.nav-cta {
  justify-self: end;
}

.button-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 0;
}

/* TYPOGRAPHY */

h1.logo {
  font-family: 'Inconsolata', monospace;
  font-weight: 300;
  font-size: clamp(12px, 1.4vw, 22px);
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.1em;
  margin-top: 60px;
  text-align: center;
}

h1 {
  margin: 0 0 24px;
  padding: 0;
  color: #fff;
  font-family: 'Inconsolata', monospace;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  text-align: center;
}

h2 {
  margin: 0 0 18px;
  padding: 0;
  color: #fff;
  font-family: 'Inconsolata', monospace;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  text-align: center;
}

h2.box-head {
  margin: 0 0 6px;
  padding: 0;
  color: #fff;
  font-family: 'Inconsolata', monospace;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  text-align: left;
  
}

h2.box {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Inconsolata', monospace;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 300;
  line-height: 1.2;
  text-align: left;
  max-width: 22ch;
}

h3 {
  margin: 0;
  color: #fff;
  font-family: 'Inconsolata', monospace;
}

p {
  line-height: 1.5;
}

/* GLOBAL PAGE LAYOUT */

main {
  width: 100%;
  flex: 1;
  background: #000;
  color: #fff;
  align-self: center;
}

.page-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 88px;
}

.page-hero {
  text-align: center;
  padding: 18px 0 18px;
}

.page-hero-text {
  max-width: 720px;
  margin: 18px auto 0;
  color: #cfcfcf;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.6;
  text-align: center;
}

.short-line {
  width: 180px;
  height: 2px;
  margin: 28px auto 28px;
  background: #fff;
}

.line.full-line,
.section-divider {
  width: min(100%, 980px);
  margin: 56px auto;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.section-center-title {
  text-align: center;
}

/* HOME */

.logo-hero {
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  width: 100%;
  padding: 32px 24px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-hero,
.index-page-content .image {
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  padding: 36px 36px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.logo-hero img,
.index-page-content .image img {
  width: clamp(220px, 34vw, 560px);
  height: auto;
  margin: 0;
  max-width: 1000px;
}

.index-page-content .hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 24px 20px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(100%, 1280px);
}

.hero-container img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 18px 0 12px;
}

.hero-container .button-wrapper {
  margin-top: -182px;
  margin-bottom: 42px;
}

.hero-info-box {
  width: min(100%, 980px);
  margin: -115px auto 42px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1.6fr auto;
  gap: 28px;
  align-items: center;
  background: rgba(10, 10, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.hero-info-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.hero-info-actions .cta-button {
  min-width: 170px;
  min-height: 50px;
  padding: 12px 24px;
}

/* HOME LOGOS */

.logo-showcase,
.logo-marquee-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px 22px;
  text-align: center;
}

.logo-section-title {
  margin-bottom: 44px;
  font-size: clamp(16px, 2vw, 22px);
  text-align: center;
}

.logo-static-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.logo-static-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
}

.logo-static-item img {
  width: auto;
  max-width: 170px;
  max-height: 46px;
  height: auto;
}

/* HOME GALLERY */

.gallery-section {
  width: 100%;
  margin: 0 auto;
  padding: 18px 24px 28px;
  align-items: center;
}

.gallery-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.gallery-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.gallery-arrow,
.references-logo-arrow {
  flex: 0 0 40px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
}

.gallery-container {
  display: flex;
  gap: 24px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.gallery-item {
  position: relative;
  flex: 0 0 calc((100% - 72px) / 4);
  transition: transform 0.25s ease;
  border-radius: 22px;
  overflow: hidden;
  background: #111;
}

.gallery-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.gallery-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  z-index: 1;
}

.gallery-link img {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  padding: 0;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item:hover img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.gallery-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  z-index: 2;
  color: #f3f3f3;
  font-size: 16px;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.768);
}

.gallery-arrow:disabled,
.references-logo-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.gallery-pictures,
.references-logo-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.dot,
.references-logo-dot {
  width: 8px;
  height: 8px;
  background-color: #666;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.dot.active,
.references-logo-dot.active {
  width: 26px;
  background-color: #fff;
  border-radius: 999px;
}

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

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 92%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 16px;
  background: #000;
}

/* ABOUT */

.about-page {
  max-width: 1240px;
}

.left-text-section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.h2-left {
  margin: 0 0 24px;
  padding: 0;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 50px);
  text-align: left;
}

.text-left {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  color: #d0d0d0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.9;
  text-align: left;
}

.experience {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 8px 0;
  text-align: center;
}

.stat-item h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 700;
}

.stat-item p {
  margin: 0;
  color: #9a9a9a;
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.features {
  margin: 10px 0 0;
  padding-left: 24px;
  color: #d0d0d0;
}

.features li {
  margin-bottom: 18px;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.8;
}

/* SERVICES */

.services-page {
  max-width: 1080px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-card {
  padding: 30px;
  background: #141414;
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  background: #101010;
  border: 1px solid #2c2c2c;
  border-radius: 14px;
}

.service-icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-card h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  text-align: left;
}

.service-card p {
  margin: 0 0 18px;
  color: #d0d0d0;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
  text-align: left;
}

.key-features-title {
  margin-top: 22px;
  margin-bottom: 12px;
  color: #fff !important;
  font-weight: 600;
  text-align: left;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #d0d0d0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.5;
}

.service-card ul li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 18px;
}

.service-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
}

/* REFERENCES */

.references-page {
  max-width: 1040px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.project-card {
  overflow: hidden;
  background: #141414;
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.project-card:hover img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.project-info {
  padding: 22px;
  text-align: left;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: #9a9a9a;
  font-size: 14px;
}

.project-info h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.2vw, 30px);
  text-align: left;
}

.project-info p {
  margin: 0;
  color: #d0d0d0;
  font-size: clamp(16px, 1.4vw, 17px);
  line-height: 1.8;
  text-align: left;
}

.logos-section {
  text-align: center;
}

.logos-section h2 {
  margin-bottom: 14px;
}

.logos-section p {
  max-width: 680px;
  margin: 0 auto 32px;
  color: #ccc;
  text-align: center;
}

.references-logo-slider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.references-logo-viewport {
  width: 100%;
  overflow: hidden;
}

.references-logo-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.references-logo-item {
  flex: 0 0 calc((100% - 40px) / 3);
}

.logo-box {
  width: 100%;
  height: 84px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.box-stats {
  margin-top: 40px;
  padding: 34px;
  background: transparent;
}

/* CTA / FOOTER / MODAL */

.cta-section {
  margin-bottom: 12px;
  text-align: center;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: #cfcfcf;
  font-size: clamp(16px, 2vw, 22px);
  text-align: center;
}

.footer {
  width: 100%;
  margin-top: 50px;
  padding: 30px 0 18px;
  background-color: #18181B;
  border-top: 1px solid #232323;
}

.footer-container {
  width: min(88%, 1240px);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  justify-content: flex-start;
}

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

.footer-info {
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.footer-info p {
  margin: 8px 0;
}

.footer-info a,
.footer-links a {
  color: #c7c7c7;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-info a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.footer-links li {
  margin: 8px 0;
}

.footer-bottom {
  width: min(88%, 1240px);
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #c7c7c7;
  font-size: 14px;
  text-align: center;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  overflow-y: auto;
}

.modal-overlay:target {
  display: flex;
}

.modal-content {
  box-sizing: border-box;
  position: relative;
  width: min(100%, 620px);
  max-height: 100vh;
  margin: 40px auto;
  padding: 2rem;
  background: #141414;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 25px 80px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(255, 255, 255, 0.08);
  font-family: 'Inconsolata', monospace;
  text-align: left;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  cursor: pointer;
}

.modal-content h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 42px);
  text-align: left;
}

.modal-content p {
  margin: 0 0 28px;
  color: #ddd;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.45;
  text-align: left;
}

.modal-content label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  text-align: left;
}

input,
textarea {
  width: 100%;
  margin: 8px 0 12px;
  padding: 14px;
  background-color: #000;
  color: white;
  border: 1px solid #333;
  border-radius: 12px;
  font-family: 'Inconsolata', monospace;
  font-size: 16px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: #ffffff;
  outline: none;
}

form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-y: auto;
}

button {
  width: 100%;
  margin-top: 18px;
  padding: 18px;
  background: linear-gradient(to bottom, #1e1e20, #070707);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  cursor: pointer;
}

button:hover {
  border-color: #fff;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin: 0 0 25px;
}

.modal-content button {
  width: 100%;
  margin-top: 5px;
}

#msg {
  display: none;
  margin-bottom: 10px;
  color: #66d17a;
  text-align: center;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.line-reveal {
  position: relative;
  overflow: hidden;
}

.line-reveal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 0;
  height: 1px;
  background: #fff;
  transform: translateX(-50%);
  transition: width 0.8s ease;
}

.line-reveal.visible::after {
  width: 100%;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  body {
    padding-top: 90px;
  }

  .navbar {
    padding: 16px 20px;
  }

  .logo-static-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
  }

  .references-logo-item {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .logo-hero,
  .index-page-content .image {
    padding: 26px 16px;
    align-self: start;
    margin: auto;
  }

  .logo-hero img,
  .index-page-content .image img {
    width: min(80vw, 330px);
    align-self: start;
    margin: auto;
  }

  .hero-info-actions {
    align-items: center;
    gap: 10px;
  }

  .hero-info-actions .cta-button {
    width: 100%;
    max-width: 420px;
    min-height: 48px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 16px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    justify-items: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-links ul {
    text-align: center;
  }

  .gallery-item {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .page-content {
    padding: 28px 16px 64px;
    max-width: 500px;
    align-items: center;
    justify-content: center;
  }

  .logo-hero {
    min-height: 46vh;
  }

  .logo-hero,
  .index-page-content .image {
    padding: 26px 16px;
    align-self: start;
    margin: auto;
  }

  .logo-hero img,
  .index-page-content .image img {
    width: min(80vw, 330px);
    align-self: start;
    margin: auto;
  }

  .index-page-content .hero-section {
    padding: 0 16px 20px;
  }

  .hero-container .button-wrapper {
    margin-top: -34px;
    margin-bottom: 6px;
  }

  .button-wrapper {
    flex-direction: column;
    gap: 14px;
  }

  .cta-button {
    width: 150px;
    align-self: center;
  }

  .hero-info-box {
    margin: -64px auto 24px;
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 18px;
    border-radius: 18px;
  }

  .hero-info-text,
  .hero-info-actions {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }

  h2.box-head,
  h2.box {
    margin-left: 0;
    text-align: center;
  }

  h2.box-head {
    margin-bottom: 16px;
    font-size: 28px;
    line-height: 1.08;
    margin-top: 16px;
  }

  h2.box {
    font-size: 18px;
    line-height: 1.2;
    max-width: none;
    margin-bottom: 22px;
  }

  .hero-info-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-info-actions .cta-button {
    min-height: 46px;
    padding: 10px 18px;
    font-size: 15px;
    width: 100%;
  }

  .line.full-line,
  .section-divider {
    width: 90%;
    margin: 42px auto;
  }

  .logo-static-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }

  .logo-static-item img {
    max-width: 138px;
    max-height: 38px;
  }

  .gallery-slider,
  .references-logo-slider {
    gap: 10px;
  }

  .gallery-item,
  .references-logo-item {
    flex: 0 0 100%;
  }

  .gallery-item img {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    padding: 0;
  }

  .gallery-caption {
    font-size: 16px;
  }

  .gallery-arrow,
  .references-logo-arrow {
    font-size: 26px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .service-card-header {
    gap: 12px;
    margin-bottom: 16px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .service-icon img {
    width: 24px;
    height: 24px;
  }

  .box-stats {
    padding: 24px 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .modal-content {
    width: 100%;
    max-width: 95%;
    padding: 20px;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .modal-content input,
  .modal-content textarea {
    padding: 10px;
    font-size: 15px;
  }

  .modal-content button {
    padding: 14px;
    font-size: 16px;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-logo img {
    max-width: 140px;
  }

  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .footer-links li {
    list-style: none;
  }

  .footer-links a {
    display: inline-block;
  }
}