:root {
  --navy: #071226;
  --ink: #111827;
  --muted: #5b6472;
  --line: #e6e8ee;
  --paper: #ffffff;
  --paper-2: #f6f7f9;
  --blue: #2563eb;
  --radius-pill: 999px;
  --header: 76px;
  --topbar: 36px;
  --shadow: 0 12px 40px rgba(7, 18, 38, 0.08);
  --max: 1280px;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/greatvibes-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/greatvibes-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.topbar {
  background: var(--navy);
  color: #d7deea;
  font-size: 12px;
  height: var(--topbar);
  display: flex;
  align-items: center;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar nav, .topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar-right a { opacity: 0.9; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  height: var(--header);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
}
.brand img { height: 40px; width: auto; }
.nav-main { display: flex; align-items: center; gap: 28px; }
.nav-main a {
  font-size: 15px;
  font-weight: 450;
  color: #1f2937;
}
.nav-main a:hover, .nav-main a.is-active { color: #000; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 0;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); background: #000; }
.btn-light { background: #fff; color: #111; }
.btn-line { background: transparent; color: #111; border: 1px solid #111; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d9dce3;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  height: calc(100svh - var(--topbar) - var(--header));
  min-height: 560px;
  overflow: hidden;
  background: #0b1220;
}
.hero video, .hero .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.95);
}
.hero .hero-poster {
  z-index: 0;
  animation: heroZoom 18s ease-in-out infinite alternate;
  transition: opacity .45s ease;
}
.hero.is-playing .hero-poster {
  opacity: 0;
  animation: none;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(7,18,38,.22) 0%, rgba(7,18,38,.42) 75%),
    linear-gradient(180deg, rgba(7,18,38,.2), rgba(7,18,38,.4) 80%);
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 24px;
}
.hero-brand {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.hero-logo {
  width: min(420px, 62vw);
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 10px 36px rgba(0,0,0,.35));
}
.hero-slogan {
  display: block;
  font-family: "Great Vibes", "Dancing Script", cursive;
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.15;
  text-shadow: 0 10px 36px rgba(0,0,0,.4);
}
.hero-ctrl {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.85);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-grid, .split-grid, .spec-grid, .machine-grid, .contact-grid {
  display: grid;
  gap: 18px;
}
.card-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #111;
  color: #fff;
}
.photo-card--servis { background: linear-gradient(160deg, #1d2a3c, #0b1220); }
.photo-card--parts { background: linear-gradient(160deg, #243044, #111827); }
.photo-card--machines { background: linear-gradient(160deg, #2a3140, #121826); }
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  transition: transform .6s ease;
}
.photo-card:hover img { transform: scale(1.04); }
.photo-card .meta {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
}
.photo-card h3 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 400;
}

.collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.collage-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e8ebf0;
  aspect-ratio: 9 / 16;
}
.collage-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform .6s ease;
}
.collage-item:hover img { transform: scale(1.04); }
.collage-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(7,18,38,.58));
  pointer-events: none;
}
.collage-item figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  margin: 0;
  color: #fff;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 1.25;
}

.story {
  background: var(--paper-2);
}
.split-grid { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 40px; }
.split-grid h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.split-grid p { color: var(--muted); font-size: 17px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.stat strong { display: block; font-size: 28px; font-weight: 560; }
.stat span { color: var(--muted); font-size: 14px; }
.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(180deg, #eef1f5, #d4d9e2);
}
.media-frame img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.media-frame--uretim {
  min-height: 0;
  background: transparent;
}
.media-frame--uretim img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  transform: none;
}
.media-frame.has-photo .thumb-code,
.thumb.has-photo .thumb-code,
.detail-media.has-photo .thumb-code { display: none; }

.spec-grid { grid-template-columns: repeat(4, 1fr); }
.spec-item {
  padding: 28px 24px;
  border-top: 1px solid var(--line);
}
.spec-item h3 { margin: 0 0 10px; font-size: 20px; font-weight: 560; }
.spec-item p { margin: 0; color: var(--muted); }

.machine-grid { grid-template-columns: repeat(3, 1fr); }
.machine-card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.machine-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.machine-card .thumb {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.machine-card img { width: 100%; height: auto; }
.thumb-code {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #6b7280;
  pointer-events: none;
}
.machine-card .body { padding: 22px; }
.machine-card .cat { color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.patent-mark {
  margin-left: 8px;
  letter-spacing: 0.08em;
}
.patent-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 18px;
  padding: 14px 16px;
  background: var(--paper-2);
  border-radius: 12px;
}
.patent-box img {
  width: 92px;
  height: auto;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}
.patent-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.patent-box strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 560;
}
.machine-card h3 { margin: 8px 0 6px; font-size: 22px; font-weight: 520; }
.machine-card p { margin: 0; color: var(--muted); }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.logo-card {
  display: grid;
  place-items: center;
  min-height: 120px;
  height: 120px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.logo-card img {
  width: auto;
  max-width: 92%;
  max-height: 96px;
  object-fit: contain;
}
.logo-grid + p {
  margin-top: 48px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cert-card {
  display: grid;
  gap: 12px;
  padding: 22px 18px 18px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cert-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}
.cert-card span {
  color: var(--muted);
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 32px;
  background: rgba(7, 18, 38, .78);
}
.lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(1400px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  padding: 12px;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
}
.cta-band p { margin: 0 0 28px; color: #c5cede; }

.page-hero {
  padding: 72px 0 36px;
  text-align: center;
}
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.page-hero p { margin: 0 auto; max-width: 680px; color: var(--muted); font-size: 18px; }

.detail { padding-bottom: 80px; }
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.detail-media {
  position: relative;
  background: #fff;
}
.detail-media img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.gallery-item {
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item.is-active { border-color: #111; }
.gallery-item img { width: 100%; height: auto; }
.detail h1 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 48px); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.chip {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 13px;
}
.detail h3 {
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 560;
}
.feature-list { margin: 0 0 16px; padding: 0; list-style: none; }
.feature-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 13px;
}
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}
.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 8px;
  align-items: center;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.3;
}
.spec-row span { color: var(--muted); }
.spec-row strong { font-weight: 560; text-align: right; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th, .specs-table td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.specs-table th { color: var(--muted); font-weight: 500; width: 48%; }

.contact-grid { grid-template-columns: .8fr 1.2fr; gap: 40px; }
.contact-card, .form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}
.contact-card p, .form-note { color: var(--muted); line-height: 1.7; }
.contact-card a { color: var(--blue); font-weight: 600; }
.form { display: grid; gap: 12px; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid #d7dbe3;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.contact-map {
  margin-top: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #eef1f5;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.site-footer {
  background: var(--navy);
  color: #c9d2e0;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer h4 { margin: 0 0 14px; color: #fff; font-size: 15px; font-weight: 600; }
.site-footer a, .site-footer p { color: #c9d2e0; }
.site-footer a:hover { color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  font-size: 13px;
}

.mobile-panel { display: none; }

@media (max-width: 980px) {
  .nav-main { display: none; }
  .menu-toggle { display: grid; }
  .card-grid, .machine-grid, .spec-grid, .split-grid, .detail-grid, .contact-grid, .footer-grid, .stat-row, .logo-grid, .cert-grid {
    grid-template-columns: 1fr;
  }
  .collage { grid-template-columns: repeat(4, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 520px; height: 78svh; }
  .photo-card, .photo-card img, .media-frame, .media-frame img { min-height: 320px; }
  .media-frame--uretim, .media-frame--uretim img { min-height: 0; }
  .mobile-panel.is-open {
    display: grid;
    gap: 16px;
    padding: 12px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .topbar { display: none; }
  .spec-grid, .machine-grid, .cert-grid { grid-template-columns: 1fr; }
  .collage { grid-template-columns: 1fr 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .header-actions .btn { display: none; }
  .legal { flex-direction: column; }
  .patent-box { gap: 12px; padding: 12px 14px; }
  .patent-box img { width: 72px; }
}
