:root {
  --bg: #0c0e12;
  --bg-elevated: #141820;
  --bg-card: #1a1f2a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef1f6;
  --muted: #9aa3b5;
  --accent: #c8a96e;
  --accent-dim: #8f7344;
  --accent-glow: rgba(200, 169, 110, 0.35);
  --radius: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Syne", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 18, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-inner {
  width: min(1200px, calc(100% - 32px));
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #1a1208;
  font-weight: 800;
}

.logo em {
  font-style: normal;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.nav-drawer:not([hidden]) {
  display: flex;
}

.nav-drawer a {
  font-size: 15px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e0c48a);
  color: #1a1208;
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost {
  color: var(--muted);
  padding-inline: 12px;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-lg {
  padding: 14px 22px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 14, 18, 0.92) 0%, rgba(12, 14, 18, 0.72) 45%, rgba(12, 14, 18, 0.35) 100%),
    url("/assets/images/hero-bg.jpg") center / cover no-repeat;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--accent);
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--accent);
}

.hero-stats span {
  font-size: 12px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.frame {
  position: absolute;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.frame-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.frame-main {
  inset: 0 12% 8% 0;
  background-image:
    linear-gradient(160deg, rgba(12, 14, 18, 0.05), rgba(12, 14, 18, 0.55)),
    url("/assets/images/hero-interior.jpg");
}

.frame-secondary {
  width: 42%;
  height: 38%;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(180deg, transparent, rgba(12, 14, 18, 0.65)),
    url("/assets/images/hero-exterior.jpg");
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-dark {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.product-card h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 1.15rem;
}

.product-tagline {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--accent);
}

.product-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  color: var(--text);
  border-color: var(--accent-dim);
  background: rgba(200, 169, 110, 0.08);
}

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

.tile {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tile:hover img {
  transform: scale(1.05);
}

.tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 14px;
  font-size: 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.tile.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.cta-band {
  padding: 56px 0;
  background: linear-gradient(90deg, rgba(200, 169, 110, 0.12), transparent);
  border-block: 1px solid var(--line);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  font-family: var(--display);
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.check-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.partner-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.partner-name {
  font-family: var(--display);
  color: var(--text);
  font-weight: 700;
  margin: 0 0 12px;
}

.partner-card a {
  color: var(--accent);
}

.section-contact {
  background: var(--bg-elevated);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-lines {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.contact-lines li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.contact-lines span {
  color: var(--muted);
}

.contact-lines a {
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(200, 169, 110, 0.45);
  border-color: var(--accent-dim);
}

.form-status {
  margin: 4px 0 0;
  font-size: 13px;
  min-height: 1.2em;
}

.form-status.ok {
  color: #6dd4a0;
}

.form-status.err {
  color: #f08080;
}

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a:hover {
  color: var(--text);
}

@media (max-width: 960px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid,
  .product-grid,
  .portfolio-grid,
  .partner-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 300px;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .product-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }
}
