@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700;800&display=swap");

:root {
  --bg-1: #f6d9bf;
  --bg-2: #fbe8d6;
  --canvas: #fff7f1;
  --surface: #ffffff;
  --ink: #1b1713;
  --muted: #1f1f1f;
  --line: #ecd9c8;
  --primary: #ff9800;
  --primary-2: #e27600;
  --accent-grad: linear-gradient(180deg, #ffa31a 0%, #f28b07 100%);
  --radius-xl: 20px;
  --radius-lg: 20px;
  --radius-control: 14px;
  --shadow-soft: 0 16px 40px rgba(125, 70, 20, 0.16);
  --shadow-card: 0 10px 24px rgba(114, 62, 15, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter Tight", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: #f5f5f5;
}

.bg-pattern {
  display: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(255, 246, 236, 0.9);
  border-bottom: 1px solid rgba(236, 191, 146, 0.48);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 0;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  padding: 0 8px;
}

.brand span {
  color: var(--primary-2);
}

.main-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff8f1;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #1b1713;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav a,
.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius-control);
  transition: all 0.22s ease;
}

.main-nav a.active,
.main-nav a:hover,
.lang-switch a.active,
.lang-switch a:hover {
  color: #fff;
  background: var(--accent-grad);
}

.lang-switch {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 4px;
  overflow: hidden;
}

main {
  margin-top: 22px;
}

.section {
  padding: 28px 0;
}

.section-tight {
  padding-top: 0;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-control);
  min-height: 480px;
  background: linear-gradient(105deg, rgba(18, 31, 45, 0.78), rgba(36, 54, 74, 0.52)),
    url("../../main_img/home_webp/hero-bg.webp") center/cover;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-content {
  max-width: 720px;
  padding: 54px 48px 140px;
  color: #fff;
}

h1,
h2,
h3 {
  font-family: "Unbounded", "Inter Tight", sans-serif;
  font-weight: 700;
margin: 0 0 12px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.92);
}

.lead {
  font-size: 1.08rem;
  font-weight: 600;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius-control);
  padding: 0 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(24, 76, 126, 0.2);
}

.btn-primary {
  color: #fff;
  background: var(--accent-grad);
}

.btn-light {
  color: #111111;
  background: rgba(255, 255, 255, 0.92);
}

.btn-outline {
  color: #111111;
  border-color: #f3c79f;
  background: linear-gradient(180deg, #fff3e4, #ffe7cb);
}

.hero-form {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.92);
}

.hero-form input {
  min-height: 44px;
}

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

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.metric {
  text-align: center;
  padding: 20px;
}

.metric strong {
  display: block;
  font-size: 1.8rem;
  color: var(--primary-2);
  margin-bottom: 6px;
}

.metric span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.feature-image {
  padding: 0;
  overflow: hidden;
  min-height: 250px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-text h2 {
  margin-bottom: 14px;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #fff8f2;
  border: 1px solid #f3dfcb;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
}

.why-mark {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--accent-grad);
  flex: 0 0 auto;
}

.audience-list li {
  font-weight: 700;
}

.feature-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f4e3d2;
}

.feature-foot p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}

 .card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 22px;
}

.card-accent {
  background: linear-gradient(160deg, #fff2e6, #ffffff);
}

.check-list,
.dot-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.process-card ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.work-showcase {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 16px;
}

.work-steps-panel {
  background: linear-gradient(160deg, #fff7ef, #ffffff);
}

.work-steps-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.work-step-card {
  border: 1px solid #efcfb1;
  border-radius: var(--radius-control);
  background: #fff8f2;
  padding: 12px;
  min-height: 120px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.work-step-no {
  width: 38px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.work-step-card p {
  margin: 0;
  color: #6c5a49;
  font-weight: 600;
  line-height: 1.35;
}

.work-cta-panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  overflow: hidden;
  min-height: 100%;
}

.work-cta-shell {
  padding: 22px;
  min-height: 100%;
  display: grid;
  gap: 14px;
  align-content: start;
}

.work-cta-panel h2,
.work-cta-text {
  color: #fff;
}

.work-cta-text {
  margin: 0;
  line-height: 1.45;
}

.work-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.work-metric-row span {
  border: 1px solid rgba(255, 219, 186, 0.45);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(3px);
  padding: 10px 10px 8px;
  display: grid;
  gap: 2px;
}

.work-metric-row strong {
  color: #fff;
  font-size: 1.08rem;
}

.work-metric-row small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  line-height: 1.2;
}

.work-cta-actions {
  margin-top: 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.section-kicker {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: var(--radius-control);
  background: var(--accent-grad);
  border: 1px solid #efcaa3;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.page-hero {
  padding: 26px;
}

.section-intro {
  margin-bottom: 14px;
}

.text-link {
  color: #111111;
  text-decoration: none;
  font-weight: 700;
}

.service-card h3,
.service-card h2 {
  min-height: 56px;
}

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

.service-preview-card,
.service-work-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-preview-card h3,
.service-work-card h2,
.service-work-card p {
  color: #fff;
  text-shadow: 0 1px 8px rgba(18, 9, 3, 0.35);
  max-width: 80%;
}

.service-preview-card .btn,
.service-work-card .btn {
  width: fit-content;
}

.service-card.detailed {
  position: relative;
  padding-top: 42px;
}

.service-number {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
  background: var(--accent-grad);
}

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

.project-card {
  border-left: 4px solid #f3c79f;
}

.project-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.project-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  border-radius: var(--radius-control);
  background: #fff4eb;
  border: 1px solid #f1d7bf;
  font-size: 0.8rem;
  font-weight: 700;
  color: #111111;
}

.project-actions {
  margin-top: 10px;
}

.project-gallery {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.project-photo {
  display: block;
  border-radius: var(--radius-control);
  overflow: hidden;
  border: 1px solid #f1d7bf;
  background: #fff8f1;
}

.project-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.catalog-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
}

.catalog-intro h2 {
  margin-bottom: 8px;
}

.catalog-intro {
  min-width: 0;
}

.catalog-intro p {
  margin-bottom: 14px;
}

.catalog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.catalog-card {
  background: #fff8f1;
  border: 1px solid #f3dfcb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding-bottom: 10px;
}

.catalog-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.catalog-card h3 {
  font-size: 0.92rem;
  line-height: 1.35;
  padding: 8px 10px 4px;
  margin: 0;
}

.catalog-card p {
  margin: 0;
  padding: 0 10px;
  font-size: 0.78rem;
  color: #1f1f1f;
}

.cta-strip {
  display: grid;
  gap: 8px;
  align-items: center;
}

.cooperation-grid .card,
.role-card {
  min-height: 100%;
}

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

.role-card h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 2.4vw, 2.5rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.role-card p {
  margin: 0;
  color: #1f1f1f;
}

.career-rate-title {
  margin-top: 16px;
  margin-bottom: 12px;
}

.career-rate-list {
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.career-rate-list li {
  position: relative;
  padding: 12px 12px 12px 34px;
  border: 1px solid #f1d7bf;
  border-radius: var(--radius-control);
  background: #fff8f1;
  font-weight: 600;
  color: #111111;
}

.career-rate-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: var(--accent-grad);
}

.form {
  display: grid;
  gap: 12px;
}

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

.form-grid .full-width {
  grid-column: 1 / -1;
}

.career-form {
  column-gap: 14px;
  row-gap: 14px;
}

.career-apply-btn {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 240px;
}

.form-send-btn {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 240px;
}

label {
  display: grid;
  gap: 7px;
  color: #1f1f1f;
  font-size: 0.92rem;
  font-weight: 700;
}

input,
textarea,
select {
  min-height: 44px;
  border: 1px solid #efcfb1;
  border-radius: var(--radius-control);
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fffbf8;
}

textarea {
  resize: vertical;
}

.map-card h2,
.map-card h3 {
  margin-bottom: 12px;
}

#contact-preview > .container + .container {
  margin-top: 16px;
}

.contact-company-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-company-name {
  margin: 0;
  font-family: "Unbounded", "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #111111;
}

.contact-company-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-company-list li {
  padding: 12px;
  border: 1px solid #f1d7bf;
  border-radius: var(--radius-control);
  background: #fff8f1;
}

.contact-company-list span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6f5a45;
}

.contact-company-list p {
  margin: 0;
  color: #111111;
  line-height: 1.35;
}

.contact-company-list a {
  color: #111111;
  text-decoration: none;
  font-weight: 700;
}

.contact-company-list a:hover {
  color: #000;
  text-decoration: underline;
}

.contact-company-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-main-grid {
  align-items: stretch;
}

.contact-main-grid > .card {
  min-height: 100%;
}

.contact-form-card {
  display: flex;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-send-btn {
  margin-top: auto;
}

.map-frame {
  border: 1px solid #efcfb1;
  border-radius: var(--radius-control);
  overflow: hidden;
  min-height: 320px;
  background: #fff4eb;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.site-footer {
  margin-top: 34px;
  backdrop-filter: blur(10px);
  background: rgba(255, 246, 236, 0.9);
  border-top: 1px solid rgba(232, 184, 136, 0.45);
  color: #111111;
}

.footer-shell {
  padding: 24px 0 16px;
}

.footer-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 12px;
}

.footer-brand {
  margin: 0 0 4px;
  font-family: "Unbounded", "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  color: #2d2016;
}

.footer-brand span {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-tag {
  margin: 0 0 12px;
  color: #1f1f1f;
}

.footer-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-badge {
  padding: 6px 10px;
  border: 1px solid #efcfb1;
  background: #fff3e9;
  border-radius: var(--radius-control);
  font-size: 0.82rem;
  color: #111111;
  font-weight: 700;
}

.footer-col {
  border: 1px solid #efcfb1;
  background: #fff8f1;
  border-radius: var(--radius-lg);
  padding: 14px;
}

.footer-col-main {
  background: linear-gradient(160deg, #fff1e4, #fffaf6);
}

.footer-col h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  color: #2d2016;
}

.footer-col p {
  margin: 0 0 6px;
  color: #1f1f1f;
}

.footer-hours {
  margin-top: 10px;
  font-size: 0.84rem;
  color: #1f1f1f;
}

.footer-bottom {
  margin-top: 12px;
  border-top: 1px solid #f1d5bd;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  color: #1f1f1f;
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #111111;
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: #2a1d12;
}

.quick-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.quick-action {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  display: grid;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(24, 76, 126, 0.26);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  animation: quick-vibe 2.6s ease-in-out infinite;
}

.quick-action:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 24px rgba(24, 76, 126, 0.32);
  filter: saturate(1.08);
  animation-play-state: paused;
}

.quick-action svg {
  width: 27px;
  height: 27px;
  display: block;
  fill: currentColor;
}

.quick-action-message {
  color: #ffffff;
  background: var(--accent-grad);
  border-color: rgba(255, 255, 255, 0.36);
}

.quick-action-call {
  color: #111111;
  background: #fff3e9;
  border-color: #f0cda9;
}

.quick-action-message svg,
.quick-action-call svg {
  filter: drop-shadow(0 1px 2px rgba(16, 52, 86, 0.18));
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(12, 10, 8, 0.8);
  backdrop-filter: blur(3px);
}

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

.image-lightbox-inner {
  position: relative;
  width: min(1200px, 96vw);
  max-height: 92vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
  background: #111111;
}

.image-lightbox-img {
  width: 100%;
  max-height: 92vh;
  display: block;
  object-fit: contain;
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(16, 16, 16, 0.72);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.image-lightbox-close:hover {
  background: rgba(22, 22, 22, 0.92);
}

@keyframes quick-vibe {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  8% {
    transform: translateX(-1px) rotate(-1deg);
  }
  16% {
    transform: translateX(1px) rotate(1deg);
  }
  24% {
    transform: translateX(-1px) rotate(-1deg);
  }
  32% {
    transform: translateX(1px) rotate(1deg);
  }
  40% {
    transform: translateX(0) rotate(0deg);
  }
}

@media (max-width: 760px) {
  .quick-actions {
    right: 12px;
    bottom: 12px;
  }

  .quick-action {
    width: 56px;
    height: 56px;
  }

  .quick-action svg {
    width: 24px;
    height: 24px;
  }

  .image-lightbox {
    padding: 14px;
  }

  .image-lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1040px) {
  .metrics-grid,
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .feature-layout {
    grid-template-columns: 1fr;
  }

  .work-showcase {
    grid-template-columns: 1fr;
  }

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

  .hero-content {
    padding-bottom: 200px;
  }

  .catalog-section {
    grid-template-columns: 1fr;
  }

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

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

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

  .map-frame,
  .map-frame iframe {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 246, 236, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  body {
    padding-top: 86px;
  }

  main {
    margin-top: 0;
  }

  .container {
    width: min(1180px, calc(100% - 20px));
  }

  .nav-wrap {
    min-height: auto;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand {
    font-size: 1.05rem;
    padding: 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .lang-switch {
    order: 2;
    margin-left: 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-control);
    background: #fff8f1;
  }

  .main-nav.is-open {
    display: grid;
    position: fixed;
    top: 72px;
    left: 10px;
    right: 10px;
    width: auto;
    z-index: 80;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    box-shadow: 0 14px 30px rgba(20, 12, 6, 0.2);
  }

  .main-nav a {
    text-align: center;
    padding: 10px 12px;
  }

  .grid-2,
  .cards-grid,
  .services-preview-grid,
  .roles-grid,
  .metrics-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .career-rate-list {
    grid-template-columns: 1fr;
  }

  .work-steps-grid,
  .work-metric-row {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 520px;
  }

  .hero-content {
    padding: 28px 18px 220px;
  }

  .hero-form {
    left: 18px;
    right: 18px;
  }

  .catalog-cards {
    grid-template-columns: 1fr;
  }

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

  .catalog-card img {
    height: 420px;
  }

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

  .site-footer,
  .footer-col,
  .footer-col p,
  .footer-col h3,
  .footer-tag,
  .footer-copy {
    text-align: center;
  }

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

  .map-frame,
  .map-frame iframe {
    min-height: 240px;
  }

  .section {
    padding: 22px 0;
  }

  .card {
    padding: 16px;
  }
}

/* German mobile typography fix for long compound words */
@media (max-width: 760px) {
  html[lang="de"] .card,
  html[lang="de"] .service-card,
  html[lang="de"] .role-card,
  html[lang="de"] .project-card {
    min-width: 0;
  }

  html[lang="de"] h1,
  html[lang="de"] h2,
  html[lang="de"] h3,
  html[lang="de"] p,
  html[lang="de"] a,
  html[lang="de"] li,
  html[lang="de"] .btn {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}

/* German desktop/tablet fix for long catalog heading */
html[lang="de"] .catalog-intro h2 {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

html[lang="de"] .page-hero h1,
html[lang="de"] .cooperation-grid h2,
html[lang="de"] .cta-strip h2 {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Cookie policy embed block */
.cookie-policy-wrap {
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf9 0%, #fff8f1 100%);
}

.cookie-policy-embed {
  border-radius: 12px;
  border: 1px solid #f2dcc8;
  background: #ffffff;
  padding: 16px;
  overflow: hidden;
}

.cookie-policy-embed h1,
.cookie-policy-embed h2,
.cookie-policy-embed h3 {
  color: var(--ink);
}

.cookie-policy-embed p,
.cookie-policy-embed li,
.cookie-policy-embed td,
.cookie-policy-embed th,
.cookie-policy-embed span,
.cookie-policy-embed a {
  font-family: "Inter Tight", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--muted);
}

.cookie-policy-embed a {
  color: var(--primary-2);
}

.cookie-policy-embed table {
  width: 100%;
  border-collapse: collapse;
}

.cookie-policy-embed table th,
.cookie-policy-embed table td {
  border: 1px solid #ead3be;
  padding: 10px;
}








