:root {
  --navy-950: #06162a;
  --navy-900: #0b2240;
  --navy-800: #17345e;
  --gold-500: #c89a3b;
  --gold-300: #e0bf7a;
  --paper: #f8f8f6;
  --ink: #0b1a2f;
  --line: #d8d9dc;
  --shadow: 0 18px 40px rgba(7, 19, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 0%, #ffffff 0%, #f2f5fa 38%, #edf1f6 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(248, 248, 246, 0.88);
  border-bottom: 1px solid rgba(12, 33, 62, 0.1);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--gold-500), #f0d4a1);
  box-shadow: inset 0 0 0 1px rgba(11, 34, 64, 0.22);
}

.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
}

.brand-tagline {
  font-size: 0.83rem;
  color: #4d5d75;
}

.lang-switch {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--navy-900);
  font-weight: 700;
}

.lang-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--navy-900);
  font-weight: 700;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
}

.lang-btn.active {
  border-color: var(--gold-500);
  background: rgba(200, 154, 59, 0.12);
}

.intro-band {
  position: relative;
  margin: 0 auto 8px;
  padding: 12px 0 18px;
  border-radius: 0;
  overflow: hidden;
}

.intro-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(7, 18, 34, 0.58) 0%, rgba(7, 18, 34, 0.34) 48%, rgba(7, 18, 34, 0.54) 100%), url("img/demo2/2_fokep.jpg");
  background-size: cover;
  background-position: center;
}

.intro-band .hero,
.intro-band .metrics {
  position: relative;
  z-index: 1;
}

.intro-band .hero-copy {
  background: rgba(248, 248, 246, 0.9);
  border: 1px solid rgba(11, 34, 64, 0.42);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(8, 20, 38, 0.18);
}

.intro-band .highlight-card {
  border: 1px solid rgba(224, 235, 250, 0.65);
}

.intro-band .metric {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 34, 64, 0.34);
  box-shadow: 0 8px 20px rgba(8, 20, 38, 0.15);
}

.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
}

.hero-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-promo-item {
  margin: 0;
  background: linear-gradient(145deg, #ffffff, #f4f6fb);
  border: 1px solid rgba(200, 154, 59, 0.5);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 6px 14px rgba(12, 33, 62, 0.1);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--gold-500);
  font-weight: 700;
  margin-bottom: 12px;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy-900);
  line-height: 1.16;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.45rem);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  margin-bottom: 14px;
}

h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.lead {
  color: #1d3356;
  max-width: 70ch;
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(140deg, #b98a2a, var(--gold-500));
  color: #fff;
  box-shadow: 0 10px 22px rgba(179, 132, 35, 0.32);
}

.btn-ghost {
  border: 1px solid var(--navy-900);
  color: var(--navy-900);
}

.hero-cta [data-lang-key="ctaSecondary"] {
  white-space: pre-line;
  text-align: center;
}

.highlight-card {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #f2f7ff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.highlight-card h2 {
  color: #ffffff;
}

.highlight-card p {
  color: #d7e3f7;
  margin-bottom: 14px;
}

.highlight-card ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.metrics {
  padding: 24px 0 50px;
}

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

.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.metric-value {
  font-size: 2rem;
  color: var(--navy-900);
  font-weight: 700;
  font-family: "Playfair Display", Georgia, serif;
}

.metric-label {
  color: #4f627f;
}

section {
  padding: 40px 0;
}

.section-head {
  max-width: 75ch;
  margin-bottom: 26px;
}

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

.demo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(8, 20, 38, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(9, 23, 42, 0.18);
}

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

.demo-card-body {
  padding: 14px 14px 16px;
}

.demo-open-btn {
  all: unset;
  display: block;
  width: 100%;
  cursor: pointer;
}

.demo-open-btn:focus-visible {
  outline: 3px solid rgba(200, 154, 59, 0.7);
  outline-offset: -3px;
}

.demo-title {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.demo-meta {
  color: #465b7d;
  font-weight: 600;
}

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

.interior-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(8, 20, 38, 0.08);
  max-width: 900px;
  margin: 0 auto;
}

.interior-open-btn {
  all: unset;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  width: 100%;
  cursor: pointer;
}

.interior-open-btn:focus-visible {
  outline: 3px solid rgba(200, 154, 59, 0.7);
  outline-offset: -3px;
}

.interior-media {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  display: block;
  background: #ecf0f7;
}

.interior-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.interior-card-title {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.interior-card-meta {
  color: #5a6e8e;
  font-weight: 600;
  font-size: 0.94rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.steps {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-500);
  border-radius: 12px;
  padding: 18px;
}

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

.feature-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.price-list,
.included-list,
.ref-list,
.support-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.small-info {
  margin-top: 14px;
  color: #435a78;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  border-bottom: 1px solid #e7eaee;
  padding: 12px;
  text-align: left;
}

th {
  background: #eff3f8;
  color: var(--navy-900);
  font-family: "Playfair Display", Georgia, serif;
}

.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.contact-card p {
  margin-bottom: 10px;
}

.form-wrap iframe {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

.partners {
  padding-top: 12px;
}

.partners-head {
  margin-bottom: 18px;
}

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

.partner-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 110px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  width: 100%;
  max-width: 180px;
  max-height: 54px;
  object-fit: contain;
  display: block;
}

.site-footer {
  border-top: 1px solid rgba(11, 34, 64, 0.15);
  background: #f6f7f9;
}

.footer-wrap {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 140px;
  max-width: 34vw;
  height: auto;
  object-fit: contain;
  display: block;
}

.footer-credit {
  font-size: 0.78rem;
  color: #6a7690;
}

.footer-credit a {
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(20px);
}

.bg-shape-1 {
  top: -120px;
  right: -140px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(200, 154, 59, 0.16) 0%, rgba(200, 154, 59, 0) 68%);
}

.bg-shape-2 {
  bottom: -140px;
  left: -130px;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(23, 52, 94, 0.14) 0%, rgba(23, 52, 94, 0) 65%);
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 29, 0.8);
  backdrop-filter: blur(4px);
}

.gallery-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 94vw);
  max-height: 92vh;
  margin: 4vh auto;
  background: #fdfdfc;
  border-radius: 14px;
  border: 1px solid rgba(220, 224, 231, 0.8);
  box-shadow: 0 20px 50px rgba(2, 10, 24, 0.35);
  padding: 18px 18px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.gallery-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid #ccd2dc;
  background: #fff;
  color: var(--navy-900);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  cursor: pointer;
}

.gallery-nav {
  border: 1px solid #cad1dd;
  background: #fff;
  color: var(--navy-900);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}

.gallery-figure {
  margin: 0;
  min-width: 0;
}

.gallery-figure img {
  width: 100%;
  height: min(66vh, 620px);
  object-fit: contain;
  border-radius: 10px;
  background: #f2f4f8;
}

.gallery-figure video {
  width: 100%;
  height: min(66vh, 620px);
  border-radius: 10px;
  background: #000;
}

.gallery-figure figcaption {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #304764;
  font-weight: 600;
}

.gallery-thumbs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 4px;
}

.gallery-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  width: 86px;
  flex: 0 0 86px;
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-thumb video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: #0e203b;
}

.gallery-thumb.active {
  border-color: var(--gold-500);
}

body.gallery-open {
  overflow: hidden;
}

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

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

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

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

@media (max-width: 760px) {
  .intro-band {
    margin-top: 0;
    border-radius: 0;
    padding-top: 8px;
  }

  .intro-band .hero-copy {
    padding: 16px;
  }

  .hero {
    padding: 22px 0 12px;
  }

  .brand-name {
    font-size: 1.55rem;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  .hero-cta .btn {
    min-width: 0;
    padding: 0 12px;
  }

  .hero-cta .btn:nth-child(1) {
    grid-column: 1;
  }

  .hero-cta .btn:nth-child(2) {
    grid-column: 2;
  }

  .hero-cta .btn:nth-child(3) {
    grid-column: 1 / -1;
  }

  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .demo-grid,
  .feature-grid,
  .interior-grid {
    grid-template-columns: 1fr;
  }

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

  .partner-item {
    min-height: 96px;
  }

  .interior-open-btn {
    grid-template-columns: 1fr;
  }

  .interior-media {
    min-height: 200px;
    height: 200px;
  }

  .demo-card img {
    height: 210px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-panel {
    margin: 3vh auto;
    max-height: 94vh;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 52px;
  }

  .gallery-nav {
    width: 100%;
  }

  .gallery-prev {
    order: 2;
  }

  .gallery-next {
    order: 3;
  }

  .gallery-figure {
    grid-column: 1 / -1;
    order: 1;
  }

  .gallery-figure img {
    height: min(52vh, 420px);
  }

  .gallery-figure video {
    height: min(52vh, 420px);
  }

  .gallery-thumbs {
    grid-column: 1 / -1;
    order: 4;
    gap: 6px;
  }

  .gallery-thumb {
    width: 72px;
    flex-basis: 72px;
  }
}
