:root {
  --navy: #153d68;
  --navy-dark: #0b2340;
  --orange: #f47c25;
  --orange-soft: #fff1e8;
  --cream: #fffaf4;
  --text: #10213a;
  --muted: #64748b;
  --white: #ffffff;
  --line: rgba(21, 61, 104, 0.14);
  --shadow: 0 24px 70px rgba(11, 35, 64, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(244, 124, 37, 0.12), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--cream) 52%, #ffffff 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(21, 61, 104, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
  gap: 24px;
}

.brand img {
  width: 180px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.nav-cta {
  padding: 12px 20px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(21, 61, 104, 0.18);
}

.btn {
  min-height: 52px;
  padding: 0 24px;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ff9b45);
  box-shadow: 0 18px 34px rgba(244, 124, 37, 0.26);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.nav-cta--mobile {
  display: none;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  min-height: calc(100vh - 95px);
  margin-top: 28px;
  padding: 84px clamp(24px, 6vw, 72px);
  border: 1px solid rgba(21, 61, 104, 0.08);
  border-radius: 46px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(255, 255, 255, 0.2) 72%),
    url("assets/hero-alp-mekanik-background.png") center right / cover no-repeat;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--navy-dark);
  font-size: clamp(2.65rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero h1 {
  max-width: min(760px, 62vw);
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero-content {
  min-width: 0;
  max-width: 780px;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy-dark);
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-content > p {
  max-width: 650px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.stats div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  color: var(--navy);
  font-size: 1.3rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-references {
  max-width: min(920px, 100%);
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(21, 61, 104, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(11, 35, 64, 0.08);
}

.references-heading {
  margin-bottom: 14px;
}

.references-heading span {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reference-logos {
  position: relative;
  margin: -8px;
  padding: 8px;
  overflow-x: hidden;
  overflow-y: visible;
}

.reference-logos::before,
.reference-logos::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 52px;
  pointer-events: none;
  content: "";
}

.reference-logos::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.reference-logos::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.reference-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: referenceMarquee 34s linear infinite;
  will-change: transform;
}

.reference-logos:hover .reference-track,
.reference-logos:focus-within .reference-track {
  animation-play-state: paused;
}

.reference-card {
  position: relative;
  flex: 0 0 178px;
  display: grid;
  gap: 9px;
  align-content: center;
  min-height: 126px;
  padding: 12px;
  border: 1px solid rgba(21, 61, 104, 0.1);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(11, 35, 64, 0.06);
  scroll-snap-align: start;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.reference-card:hover,
.reference-card:focus {
  z-index: 4;
  transform: translateY(-5px) scale(1.08);
  border-color: rgba(244, 124, 37, 0.44);
  box-shadow: 0 22px 48px rgba(11, 35, 64, 0.18);
  outline: none;
}

.reference-card img {
  width: 100%;
  height: 76px;
  object-fit: contain;
}

.reference-card span {
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

@keyframes referenceMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 6px));
  }
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.service-showcase {
  position: relative;
  overflow: hidden;
  height: clamp(360px, 48vw, 560px);
  margin-bottom: 28px;
  border: 10px solid var(--white);
  border-radius: 38px;
  background: var(--navy-dark);
  box-shadow: var(--shadow);
}

.service-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 1.2s ease,
    transform 5.5s ease;
}

.service-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(11, 35, 64, 0.9) 0%, rgba(11, 35, 64, 0.55) 45%, rgba(11, 35, 64, 0.08) 100%),
    linear-gradient(0deg, rgba(11, 35, 64, 0.28), transparent 45%);
}

.service-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.service-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03);
}

.service-slide-content {
  position: absolute;
  left: clamp(24px, 6vw, 64px);
  bottom: clamp(24px, 6vw, 60px);
  z-index: 2;
  max-width: 580px;
  color: var(--white);
}

.service-slide-content span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffd1a7;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-slide-content h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.service-slide-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(11, 35, 64, 0.08);
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}

.service-card div {
  padding: 28px;
}

.service-card--compact {
  position: relative;
  display: block;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.service-card--compact:hover,
.service-card--compact.is-active {
  transform: translateY(-4px);
  border-color: rgba(244, 124, 37, 0.45);
  box-shadow: 0 22px 55px rgba(11, 35, 64, 0.13);
}

.service-card--compact img {
  height: 170px;
}

.service-card--compact div {
  padding: 24px;
}

.service-card--compact h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.service-card--compact p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.service-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--orange));
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(21, 61, 104, 0.16);
}

.process {
  padding-top: 40px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-step {
  padding: 32px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--navy-dark));
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 18px;
  color: var(--navy-dark);
  background: var(--orange);
  font-weight: 900;
}

.process-step h3 {
  color: var(--white);
}

.process-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.trust {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 42px;
}

.trust-content {
  padding: 42px;
  border-radius: 34px;
  background: var(--orange-soft);
}

.trust-list {
  display: grid;
  gap: 16px;
}

.trust-list div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.trust-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.trust-list span {
  color: var(--muted);
  line-height: 1.6;
}

.media {
  padding-top: 36px;
}

.media .section-heading p {
  max-width: 720px;
}

.media-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.media-feature,
.media-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(11, 35, 64, 0.08);
}

.media-feature {
  position: relative;
  min-height: 520px;
}

.media-feature img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  background: var(--navy-dark);
}

.media-feature::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: linear-gradient(0deg, rgba(11, 35, 64, 0.82), rgba(11, 35, 64, 0.08) 62%);
  pointer-events: none;
}

.media-gallery-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition:
    opacity 0.8s ease,
    transform 4.8s ease;
}

.media-gallery-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.media-gallery-slide img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.media-gallery-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 58px;
  z-index: 3;
  pointer-events: none;
}

.media-feature span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #ffd1a7;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-feature h3 {
  max-width: 580px;
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.media-feature p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.media-gallery-control {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: var(--white);
  background: rgba(11, 35, 64, 0.62);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.media-gallery-prev {
  left: 18px;
}

.media-gallery-next {
  right: 18px;
}

.media-gallery-dots {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 18px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.media-gallery-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.media-gallery-dots button.is-active {
  width: 24px;
  background: var(--orange);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.media-item {
  position: relative;
  min-height: 250px;
}

.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
  background: var(--navy-dark);
}

.media-item > span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(11, 35, 64, 0.78);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-item--video > span {
  top: 16px;
  bottom: auto;
}

.media-video-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(244, 124, 37, 0.18), transparent 16rem),
    linear-gradient(145deg, var(--navy), var(--navy-dark));
}

.media-video-placeholder strong {
  color: var(--white);
  font-size: 1.18rem;
}

.media-video-placeholder span {
  position: static;
  max-width: 210px;
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.play-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  clip-path: circle(50%);
}

.play-icon::before {
  display: block;
  width: 0;
  height: 0;
  margin: 18px 0 0 22px;
  content: "";
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 40px;
  padding: 44px;
  border-radius: 38px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 35, 64, 0.92), rgba(21, 61, 104, 0.94)),
    url("assets/real-heating-tools.jpg") center/cover;
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card p {
  color: var(--white);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 28px;
  background: var(--white);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy-dark);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--text);
  background: #f8fafc;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(244, 124, 37, 0.12);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  padding: 15px 20px;
  border-radius: 999px;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.3);
  font-weight: 900;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 46px 20px;
  text-align: center;
  background: var(--navy-dark);
}

.footer img {
  width: 180px;
  padding: 10px;
  border-radius: 16px;
  background: var(--white);
}

.footer p,
.footer span {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer span {
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 1200px) {
  .hero h1 {
    max-width: min(680px, 64vw);
    font-size: clamp(2.5rem, 5.4vw, 4.7rem);
  }
}

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

  .menu-toggle {
    display: block;
  }

  .navbar.is-open {
    align-items: flex-start;
  }

  .navbar.is-open .nav-links {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: grid;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .navbar.is-open .nav-links a {
    padding: 10px 0;
  }

  .navbar.is-open .nav-cta--mobile {
    display: inline-flex;
    justify-self: center;
    margin-top: 8px;
    padding: 12px 28px;
  }

  .hero,
  .intro,
  .trust,
  .media-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 58%, rgba(255, 255, 255, 0.78) 100%),
      url("assets/hero-alp-mekanik-background.png") center right / cover no-repeat;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 8vw, 4.4rem);
  }

  .service-showcase {
    height: 460px;
  }

  .media-feature,
  .media-feature img {
    min-height: 420px;
  }

  .service-slide::after {
    background: linear-gradient(0deg, rgba(11, 35, 64, 0.92) 0%, rgba(11, 35, 64, 0.5) 60%, rgba(11, 35, 64, 0.1) 100%);
  }
}

@media (max-width: 640px) {
  .navbar,
  .section {
    width: min(100% - 24px, 1180px);
  }

  .brand img,
  .footer img {
    width: 138px;
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    margin-top: 16px;
    padding: 38px 18px;
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.96) 62%, rgba(255, 255, 255, 0.88) 100%),
      url("assets/hero-alp-mekanik-background.png") 68% center / cover no-repeat;
  }

  .eyebrow {
    max-width: 100%;
    align-items: flex-start;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    line-height: 1.35;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 10.5vw, 3.05rem);
    line-height: 1;
    letter-spacing: -0.055em;
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .hero-content > p,
  p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin: 26px 0;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  .service-showcase {
    height: 390px;
    border-width: 6px;
    border-radius: 28px;
  }

  .service-slide-content {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .service-slide-content p {
    font-size: 0.98rem;
  }

  .service-card--compact img {
    height: 175px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 24px;
  }

  .service-slide-content h3 {
    font-size: clamp(1.4rem, 6vw, 2rem);
    letter-spacing: -0.04em;
  }

  .media-feature,
  .media-feature img,
  .media-feature video,
  .media-gallery-slide img,
  .media-item,
  .media-item img,
  .media-item video {
    min-height: 260px;
  }

  .media-feature {
    min-height: 360px;
  }

  .media-gallery-slide img {
    min-height: 360px;
  }

  .media-gallery-content {
    left: 18px;
    right: 18px;
    bottom: 54px;
  }

  .media-gallery-content h3 {
    font-size: 1.6rem;
  }

  .media-gallery-control {
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
  }

  .media-gallery-prev {
    left: 10px;
  }

  .media-gallery-next {
    right: 10px;
  }

  .media-gallery-dots {
    left: 18px;
    right: 18px;
    justify-content: center;
  }

  .media-grid {
    gap: 14px;
  }

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

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .hero-references {
    margin-top: 18px;
    padding: 12px;
    border-radius: 22px;
  }

  .references-heading {
    margin-bottom: 10px;
  }

  .reference-card {
    flex-basis: 138px;
    min-height: 104px;
    padding: 10px;
    border-radius: 16px;
  }

  .reference-card:hover,
  .reference-card:focus {
    transform: translateY(-2px);
  }

  .reference-card img {
    height: 58px;
  }

  .reference-card span {
    font-size: 0.72rem;
  }

  .reference-track {
    gap: 10px;
    animation-duration: 28s;
  }

  .contact-card,
  .trust-content {
    padding: 22px;
    border-radius: 28px;
  }

  .contact-form {
    padding: 18px;
    border-radius: 22px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 13px 14px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 13px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 390px) {
  .navbar,
  .section {
    width: min(100% - 18px, 1180px);
  }

  .hero {
    padding: 32px 14px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 10vw, 2.45rem);
  }

  .stats div {
    padding: 16px;
  }

  .service-showcase {
    height: 360px;
  }

  .media-feature,
  .media-gallery-slide img {
    min-height: 330px;
  }

  .reference-card {
    flex-basis: 128px;
  }
}
