:root {
  --bg: #0b1220;
  --bg-soft: #101a2b;
  --surface: #ffffff;
  --surface-alt: #f4f7fa;
  --surface-dark: #0f1726;
  --text: #132033;
  --text-soft: #5b6678;
  --text-light: #d9e2ee;
  --border: rgba(18, 32, 51, 0.1);
  --primary: #1b4f8a;
  --primary-strong: #153d68;
  --accent: #8aa4bf;
  --highlight: #d9e6f2;
  --success: #76a68a;
  --container: 1200px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 16px 40px rgba(8, 15, 30, 0.08);
  --transition: 240ms ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(138, 164, 191, 0.85);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-dark {
  background: linear-gradient(180deg, #0d1726 0%, #121e31 100%);
  color: var(--text-light);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-dark .eyebrow {
  color: #9bb8d6;
}

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

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section h2,
.hero h1 {
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section h2 {
  font-size: clamp(2rem, 3vw, 3.3rem);
  margin-bottom: 1rem;
}

.section h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.section p,
.hero p {
  color: var(--text-soft);
}

.section-dark p,
.section-dark h2,
.section-dark h3,
.section-dark span,
.section-dark li {
  color: var(--text-light);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  background: rgba(9, 15, 28, 0.92);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #ffffff;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.logo-text small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
}

.logo-image {
  display: block;
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
}

.nav-cta {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.language-switcher {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.main-nav .language-button {
  min-width: 38px;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.main-nav .language-button:hover {
  color: #ffffff;
}

.main-nav .language-button.active {
  background: #ffffff;
  color: var(--primary-strong);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
  transition: var(--transition);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(6, 10, 20, 0.06) 0%, rgba(6, 10, 20, 0.14) 100%),
    linear-gradient(90deg, rgba(7, 12, 20, 0.14) 0%, rgba(7, 12, 20, 0.06) 65%, transparent 100%);
}

.legal-actions {
  position: absolute;
  z-index: 2;
  top: 104px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  pointer-events: none;
}

.legal-button {
  pointer-events: auto;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.52);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.legal-button:hover {
  background: rgba(27, 79, 138, 0.82);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.intro-strip {
  background: #ffffff;
}

.company-showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.company-text h2 {
  margin-bottom: 1.2rem;
}

.company-text p {
  max-width: 620px;
}

.company-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.company-image-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(8, 15, 30, 0.08);
  border: 1px solid rgba(18, 32, 51, 0.08);
}

.company-image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.company-image-card span {
  display: block;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #132033;
  background: #ffffff;
}

.intro-grid,
.split-layout,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.cards-grid {
  display: grid;
  gap: 1.4rem;
}

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

.info-card,
.sector-card,
.stat-box,
.machine-item,
.contact-form,
.visual-panel,
.sustainability-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card,
.visual-panel,
.sustainability-box,
.contact-form {
  padding: 1.7rem;
}

.card-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--highlight);
  color: var(--primary);
  font-weight: 800;
}

.strengths-section {
  background: #f7f8fa;
}

.strengths-grid {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(0, 420px);
  gap: 2rem;
  align-items: start;
  justify-content: space-between;
}

.strengths-cards {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 700px;
  width: 100%;
}

.strengths-text {
  grid-column: 2;
  grid-row: 1;
  max-width: 420px;
  width: 100%;
  justify-self: end;
  text-align: right;
}

.strengths-text h2 {
  font-size: clamp(2.4rem, 3.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: #16213a;
}

.strengths-text p {
  max-width: 420px;
  margin-left: auto;
}

.strengths-cards .info-card {
  min-height: 290px;
  padding: 1.8rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: 0 14px 35px rgba(8, 15, 30, 0.05);
}

.strengths-cards .info-card h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: #16213a;
}

.strengths-cards .info-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #5b6678;
}

.strengths-cards .card-number {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  margin-bottom: 1.4rem;
  font-size: 1rem;
}

.flip-card {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 290px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
  perspective: 1200px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 290px;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-front {
  background: #ffffff;
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: 0 14px 35px rgba(8, 15, 30, 0.05);
  padding: 1.8rem;
  z-index: 2;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: #dfe7f1;
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: 0 14px 35px rgba(8, 15, 30, 0.05);
}

.flip-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-card:not(.flip-card):hover {
  transform: translateY(-4px);
  border-color: rgba(27, 79, 138, 0.2);
}

.accent-border {
  border-top: 4px solid var(--primary);
}

.project-section {
  display: grid;
  gap: 2.5rem;
}

.project-intro,
.project-panel-text {
  max-width: 760px;
}

.project-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}

.project-menu {
  background: linear-gradient(180deg, #e9f0f6 0%, #dfe8f0 100%);
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.85rem;
}

.project-tab {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 1rem;
  border-radius: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.project-tab:hover,
.project-tab.active {
  background: rgba(255, 255, 255, 0.7);
}

.project-tab-title {
  display: block;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.project-tab-meta {
  display: block;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.project-content {
  display: grid;
  min-width: 0;
}

.project-panel {
  display: none;
  gap: 1.4rem;
}

.project-panel.active {
  display: grid;
}

.project-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  color: #16213a;
}

.media-grid {
  display: grid;
  gap: 1rem;
}

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

.media-grid.one-item {
  grid-template-columns: 1fr;
}

.media-card,
.model-viewer-card {
  background: #ffffff;
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(8, 15, 30, 0.05);
}

.media-card img,
.media-card video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.model-viewer-toolbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #f7f9fc;
}

.model-viewer-toolbar span {
  font-weight: 700;
  color: var(--text);
}

.model-viewer-toolbar a {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.model-viewer-frame {
  width: 100%;
  height: clamp(420px, 55vw, 650px);
  display: block;
  border: 0;
  background: #eef2f6;
  touch-action: none;
}

.model-viewer-hint {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border);
  background: #ffffff;
  font-size: 0.9rem;
}

.production-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(8, 15, 30, 0.08);
  aspect-ratio: 16 / 9;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item img {
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(11, 18, 32, 0.85);
}

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

.gallery-lightbox img {
  max-width: min(1100px, 95vw);
  max-height: 85vh;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.gallery-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #132033;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.sector-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.sector-carousel-viewport {
  min-width: 0;
  overflow: hidden;
  padding: 0.75rem 0.25rem 1.25rem;
}

.sector-carousel-track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.sector-carousel-track::-webkit-scrollbar {
  display: none;
}

.sector-card {
  flex: 0 0 calc((100% - 2.4rem) / 3);
  min-width: 0;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 79, 138, 0.2);
  box-shadow: 0 20px 48px rgba(8, 15, 30, 0.12);
}

.sector-card-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #dfe7f1;
}

.sector-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 58%,
    rgba(11, 18, 32, 0.18)
  );
  pointer-events: none;
}

.sector-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.sector-card:hover .sector-card-image img {
  transform: scale(1.035);
}

.sector-card-image img.is-too-tall {
  object-fit: contain;
  object-position: center;
}

.sector-card:hover .sector-card-image img.is-too-tall {
  transform: none;
}

.sector-card-body {
  padding: 1.15rem 1.4rem 1.25rem;
  text-align: center;
}

.sector-card-body h3 {
  margin: 0;
  color: #16213a;
}

.sector-carousel-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.sector-carousel-button:hover:not(:disabled) {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.06);
}

.sector-carousel-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.sustainability-section {
  position: relative;
  overflow: hidden;
}

.sustainability-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: center;
}

.sustainability-text {
  max-width: 680px;
}

.sustainability-text h2 {
  font-size: clamp(2.6rem, 4vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.4rem;
}

.sustainability-text p {
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 680px;
}

.sustainability-visual {
  position: relative;
  min-height: 430px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sustainability-visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.sustainability-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 20, 0.08) 0%, rgba(7, 12, 20, 0.25) 45%, rgba(7, 12, 20, 0.72) 100%);
}

.sustainability-info-card {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.4rem 1.5rem;
  border-radius: 24px;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sustainability-info-card .sustainability-icon {
  font-size: 2rem;
  line-height: 1;
}

.sustainability-info-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
  color: #ffffff;
}

.sustainability-info-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
  font-size: 0.98rem;
}

.contact-section {
  background: #fbfcfe;
}

.contact-details {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-details h3 {
  margin-bottom: 0.25rem;
}

.contact-map-card {
  height: 520px;
  background: #ffffff;
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.site-footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.74);
  padding: 1.4rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.pdf-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.pdf-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 96vw);
  height: min(880px, 92vh);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  transform: translateY(14px) scale(0.985);
  transition: transform var(--transition);
}

.pdf-modal.is-open .pdf-dialog {
  transform: translateY(0) scale(1);
}

.pdf-dialog-header,
.pdf-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
}

.pdf-dialog-header {
  color: #ffffff;
  background: var(--bg);
}

.pdf-dialog-header h2 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.pdf-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.pdf-dialog-body {
  min-height: 0;
  background: #dfe5ec;
}

.pdf-dialog-body iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #ffffff;
}

.pdf-dialog-footer {
  font-size: 0.88rem;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
}

.pdf-dialog-footer a {
  flex: 0 0 auto;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .strengths-text {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    text-align: left;
    max-width: 100%;
  }

  .strengths-text p {
    max-width: 100%;
    margin-left: 0;
  }

  .strengths-cards {
    grid-column: auto;
    grid-row: auto;
    max-width: 100%;
  }
}

@media (max-width: 1080px) {
  .sector-card {
    flex-basis: calc((100% - 1.2rem) / 2);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    width: min(320px, calc(100% - 2rem));
    padding: 1rem;
    border-radius: 18px;
    background: rgba(11, 18, 32, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .language-switcher {
    margin-top: 0.35rem;
  }

  .intro-grid,
  .split-layout,
  .contact-grid,
  .two-columns,
  .company-showcase,
  .project-layout,
  .sustainability-layout {
    grid-template-columns: 1fr;
  }

  .media-grid.two-items {
    grid-template-columns: 1fr;
  }

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

  .sustainability-layout {
    gap: 2.5rem;
  }

  .sustainability-visual,
  .sustainability-visual img {
    min-height: 340px;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 4.5rem 0;
  }

  .logo-text small {
    display: none;
  }

  .legal-actions {
    justify-content: center;
    top: 96px;
  }

  .legal-button {
    font-size: 0.84rem;
  }

  .strengths-cards,
  .production-gallery {
    grid-template-columns: 1fr;
  }

  .sector-carousel {
    gap: 0.5rem;
  }

  .sector-card {
    flex-basis: 100%;
  }

  .sector-carousel-button {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }

  .flip-card,
  .flip-card-inner,
  .strengths-cards .info-card {
    min-height: 290px;
  }

  .model-viewer-frame {
    height: 62vh;
    min-height: 360px;
  }

  .model-viewer-toolbar,
  .pdf-dialog-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .model-viewer-toolbar a,
  .pdf-dialog-footer a {
    width: 100%;
    text-align: center;
  }

  .pdf-modal {
    padding: 0;
  }

  .pdf-dialog {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .pdf-dialog-footer span {
    display: none;
  }

  .sustainability-info-card {
    grid-template-columns: 1fr;
  }

  .sustainability-visual,
  .sustainability-visual img {
    min-height: 300px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

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

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