:root {
  --bg: #0b0b0c;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --line: rgba(255,255,255,0.10);
  --line-gold: rgba(212,175,55,0.34);
  --text: #f7f4ec;
  --muted: #c8c3b8;
  --gold: #d4af37;
  --gold-strong: #f0ca54;
  --shadow: 0 24px 80px rgba(0,0,0,0.42);
}

* { box-sizing: border-box; }

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

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 3000;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--gold-strong);
  color: #080808;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0,0,0,0.36);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-strong);
  outline-offset: 4px;
}

#palvelut,
#yhteys,
#tood {
  scroll-margin-top: 96px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 65%);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: absolute;
  top: 30px;
  left: 50%;
  width: min(1120px, calc(100% - 40px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  z-index: 1000;
}

.navbar {
  min-height: 108px;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-shadow: none;
}

.brand-logo {
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0;
  color: var(--text);
  text-decoration: none;
  transition: 0.25s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo span {
  display: none;
}

.language-switcher {
  position: relative;
  min-width: 112px;
}

.language-switcher button {
  background: rgba(8,8,9,0.50);
  color: var(--text);
  border: 1px solid rgba(212,175,55,0.38);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 12px;
  transition: 0.25s ease;
}

.language-current {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.language-current::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: 0.25s ease;
}

.language-switcher.is-open .language-current::after {
  transform: translateY(2px) rotate(225deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: rgba(10,10,11,0.96);
  border: 1px solid var(--line-gold);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.language-switcher.is-open .language-options { display: flex; }

.language-options button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  text-align: left;
}

.language-switcher button:hover {
  background: rgba(212,175,55,0.14);
  border-color: rgba(212,175,55,0.72);
  color: var(--gold-strong);
}

.language-options button.is-active {
  background: var(--gold);
  color: #090909;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 19px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero {
  height: 92vh;
  min-height: 680px;
  display: flex;
  align-items: flex-start;
  padding: 154px 0 64px;
  background:
    linear-gradient(90deg, rgba(11,11,12,0.94), rgba(11,11,12,0.72) 46%, rgba(11,11,12,0.35)),
    linear-gradient(0deg, #0b0b0c 0%, rgba(11,11,12,0.10) 28%),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e');
  background-size: cover;
  background-position: center;
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-brand-name {
  margin: 0 0 26px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.1;
}

.hero h1 {
  margin-top: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #e7e1d4;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: #080808;
  box-shadow: 0 14px 34px rgba(212,175,55,0.24);
}

.btn-primary:hover {
  background: var(--gold-strong);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}

.btn-secondary:hover {
  border-color: rgba(212,175,55,0.6);
  color: var(--gold-strong);
  background: rgba(212,175,55,0.10);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  background: rgba(15,15,16,0.62);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.stat {
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,0.10);
}

.stat:last-child { border-right: 0; }

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 24px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.section-title {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 13px;
}

.section-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 999px;
}

.section-title-stacked {
  display: inline-flex;
  width: auto;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 0;
}

.section-title-stacked::after {
  content: none;
}

.section-title-stacked span:last-child {
  position: relative;
  padding-bottom: 13px;
}

.section-title-stacked span:last-child::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 999px;
}

.section-lead {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.testimonial-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025));
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
}

.service-card {
  color: inherit;
  text-decoration: none;
  min-height: 218px;
  padding: 22px;
  border-radius: 22px;
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  background: linear-gradient(145deg, rgba(212,175,55,0.11), rgba(255,255,255,0.035));
}

.service-number {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.service-hero {
  height: 58vh;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 74px;
  background:
    linear-gradient(90deg, rgba(11,11,12,0.96), rgba(11,11,12,0.74) 46%, rgba(11,11,12,0.36)),
    linear-gradient(0deg, #0b0b0c 0%, rgba(11,11,12,0.78) 16%, rgba(11,11,12,0.10) 42%),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e');
  background-size: cover;
  background-position: center;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  gap: 44px;
  align-items: end;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--gold-strong);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.back-link span[aria-hidden="true"] {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.back-link:hover span[aria-hidden="true"] {
  transform: translateX(-3px);
}

.section-contrast {
  background: #0b0b0c;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body[data-page="service"] .section-contrast {
  border-top: 0;
  border-bottom: 0;
}

.project-gallery { position: relative; }

.project-empty {
  max-width: 720px;
  margin: 0;
  padding: 24px 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

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

.project-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  background: rgba(255,255,255,0.025);
  box-shadow: var(--shadow);
}

.project-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  background: #0e0e10;
}

.project-images.is-single {
  grid-template-columns: 1fr;
}

.project-image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #111113;
  cursor: zoom-in;
  overflow: hidden;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.50), transparent 34%),
    linear-gradient(0deg, rgba(0,0,0,0.18), transparent 42%);
}

.project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-image:hover img { transform: scale(1.045); }

.project-image span {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  color: #090909;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--gold-strong);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
}

.project-comparison {
  --split: 50%;
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 260px;
  background: #0e0e10;
  overflow: hidden;
  isolation: isolate;
}

.comparison-layer {
  position: absolute;
  inset: 0;
}

.comparison-layer img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.comparison-after {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.comparison-labels {
  position: absolute;
  z-index: 3;
  inset: 14px 14px auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.comparison-labels span {
  color: #090909;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--gold-strong);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
}

.comparison-handle {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 3px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.20);
  pointer-events: none;
}

.comparison-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255,255,255,0.95);
  border-radius: 50%;
  background: rgba(12,12,13,0.82);
  box-shadow: 0 10px 24px rgba(0,0,0,0.36);
}

.comparison-range {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}

.comparison-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 50%;
  background: rgba(12,12,13,0.72);
  color: #fff;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.30);
}

.comparison-open svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comparison-open:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #090909;
}

.project-content {
  padding: 24px 26px 28px;
}

.project-content h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.project-content p { margin-bottom: 0; }

.lightbox-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: 50%;
  background: rgba(17,17,18,0.88);
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  transition: 0.25s ease;
}

.lightbox-close:hover {
  background: var(--gold);
  color: #000;
}

.testimonial-carousel {
  overflow: hidden;
  border-radius: 28px;
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.testimonials-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-control {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: var(--gold-strong);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  transition: 0.25s ease;
}

.testimonial-control:hover {
  background: rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,0.72);
}

.testimonial-track {
  --testimonial-gap: 14px;
  display: flex;
  align-items: flex-start;
  gap: var(--testimonial-gap);
  width: max-content;
  transition: transform 0.35s ease;
}

.testimonial-card {
  flex: 0 0 calc((min(1120px, 100vw - 40px) - (var(--testimonial-gap) * 2)) / 3);
  height: 208px;
  max-height: 208px;
  min-height: 0;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
}

.testimonial-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}

.testimonial-text {
  display: -webkit-box;
  overflow: hidden;
  max-height: calc(1.45em * 5);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.testimonial-card.has-overflow .testimonial-text {
  max-height: calc(1.45em * 4);
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.testimonial-read-more {
  align-self: flex-start;
  flex: 0 0 auto;
  min-height: calc(1.45em * 1);
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-strong);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.testimonial-read-more[hidden] {
  display: none;
}

.testimonial-read-more:hover {
  color: var(--gold);
}

.testimonial-card span {
  margin-top: auto;
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.trust-strip {
  padding: 0;
  background: transparent;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.certificates-title {
  margin: 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.certificate-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.certificate-logos img {
  width: auto;
  max-width: min(220px, 42vw);
  max-height: 92px;
  object-fit: contain;
}

.footer {
  padding: 0 0 32px;
  background: #080809;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(430px, auto);
  gap: 42px;
  align-items: start;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 50px;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, max-content));
  gap: 56px;
  justify-content: end;
  justify-self: end;
}

.footer-logo {
  display: block;
  width: 150px;
  height: auto;
}

.footer-brand a {
  display: inline-flex;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.footer-brand a:hover {
  transform: translateY(-1px);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h2 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.footer-column a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--gold-strong);
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(212,175,55,0.42);
  border-radius: 50%;
  background: rgba(12,12,13,0.82);
  color: var(--gold-strong);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.30);
}

.scroll-top:hover {
  background: rgba(212,175,55,0.16);
}

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

.lightbox.is-open { display: flex; }

.lightbox-content {
  position: relative;
  width: min(100%, 1100px);
  outline: 0;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
  background: #111112;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  background: #111112;
}

.lightbox-nav {
  position: static;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: 50%;
  background: rgba(17,17,18,0.82);
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.34);
}

.lightbox-nav:hover {
  background: var(--gold);
  color: #000;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-footer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}

.lightbox-caption {
  margin: 0;
  color: var(--text);
  text-align: center;
}

.testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px;
  background: rgba(0,0,0,0.88);
  overflow-x: hidden;
  overflow-y: auto;
  max-width: 100vw;
}

.testimonial-modal.is-open {
  display: flex;
}

.testimonial-modal-content {
  position: relative;
  width: min(760px, 100%);
  max-width: 760px;
  min-width: 0;
  margin: max(28px, 6vh) auto;
  overflow: hidden;
  padding: 34px 86px 34px 34px;
  border: 1px solid rgba(212,175,55,0.32);
  border-radius: 22px;
  background: #111112;
  box-shadow: var(--shadow);
  outline: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.testimonial-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: 50%;
  background: rgba(17,17,18,0.88);
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.30);
}

.testimonial-modal-close:hover {
  background: var(--gold);
  color: #000;
}

.testimonial-modal-title {
  min-width: 0;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 20px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.testimonial-modal-text {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media(max-width: 980px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }

  .navbar {
    justify-content: flex-end;
    min-height: 88px;
  }

  .brand-logo {
    width: 88px;
    height: 88px;
  }

  .brand-logo img {
    width: 100%;
  }

  .language-switcher {
    min-width: 104px;
  }

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

  .testimonials-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-card {
    flex-basis: calc((min(1120px, 100vw - 40px) - var(--testimonial-gap)) / 2);
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-info {
    width: 100%;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    justify-content: start;
    justify-self: stretch;
  }

}

@media(max-width: 720px) {
  .site-header {
    width: min(100% - 28px, 1120px);
    top: 18px;
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .brand-logo {
    width: 78px;
    height: 78px;
  }

  .brand-logo img {
    width: 100%;
  }

  .language-switcher {
    min-width: 88px;
  }

  .language-switcher button {
    font-size: 12px;
    padding: 9px 10px;
  }

  .container,
  .hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    height: 92vh;
    min-height: 680px;
    padding: 138px 0 36px;
  }

  .hero-actions,
  .footer-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }

  .stat:last-child { border-bottom: 0; }

  .service-grid,
  .project-images {
    grid-template-columns: 1fr;
  }

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

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .service-card {
    min-height: 138px;
    padding: 16px;
  }

  .service-card p {
    display: none;
  }

  .service-card h3 {
    margin-bottom: 0;
    font-size: clamp(15px, 4vw, 17px);
  }

  .service-number {
    margin-bottom: 20px;
  }

  .testimonial-carousel {
    margin-right: -14px;
  }

  .testimonial-card {
    flex-basis: min(86vw, 340px);
    height: 214px;
    max-height: 214px;
    padding: 22px;
  }

  .project-card {
    border-radius: 22px;
  }

  .project-card {
    display: flex;
    flex-direction: column;
  }

  .project-content {
    order: -1;
  }

  .trust-strip-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    padding: 42px 0 92px;
  }

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

  .footer-main,
  .footer-brand,
  .footer-info,
  .footer-column {
    align-items: center;
    text-align: center;
  }

  .certificate-logos {
    gap: 18px;
  }

  .certificate-logos img {
    max-width: min(260px, 88vw);
  }

  .scroll-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    right: 14px;
    bottom: 14px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 26px;
  }

  .lightbox-footer {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  .testimonial-modal {
    padding: 16px;
  }

  .testimonial-modal-content {
    width: 100%;
    max-width: 100%;
    margin: 24px auto;
    padding: 72px 22px 24px;
    border-radius: 18px;
  }

  .testimonial-modal-close {
    top: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
