/* ============================================
   BRICKWELL — Premium Landing
   Dark + copper / bronze accents
   ============================================ */

:root {
  --bg: #0c0b0a;
  --bg-2: #141210;
  --bg-3: #1c1916;
  --surface: #1a1714;
  --line: rgba(201, 162, 107, 0.18);
  --text: #f3ebe0;
  --muted: #a89a88;
  --copper: #c9a26b;
  --copper-2: #e0b87a;
  --copper-dark: #8a6a3d;
  --success: #6fbf8a;
  --danger: #e07a6a;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --header-h: 78px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
}

.section__head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section__lead {
  color: var(--muted);
  margin-top: 12px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
  font-weight: 500;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.55rem;
}

h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
  background: transparent;
}

.btn--primary {
  background: linear-gradient(135deg, var(--copper), var(--copper-2));
  color: #1a1208;
  box-shadow: 0 10px 30px rgba(201, 162, 107, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201, 162, 107, 0.35);
}

.btn--outline {
  border-color: var(--copper);
  color: var(--copper-2);
}

.btn--outline:hover {
  background: rgba(201, 162, 107, 0.1);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.75rem;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn--sm:hover {
  border-color: var(--copper);
  color: var(--copper-2);
}

.btn--full {
  width: 100%;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(12, 11, 10, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.logo__img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo__fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--copper), var(--copper-2));
  color: #1a1208;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: 0.2s;
}

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

.nav__cta {
  color: var(--copper-2) !important;
  border: 1px solid var(--copper);
  padding: 8px 14px;
  border-radius: 999px;
}

.header__phone {
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: 0.25s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video,
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, 0.55) 0%, rgba(12, 11, 10, 0.35) 40%, rgba(12, 11, 10, 0.92) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(201, 162, 107, 0.12), transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__subtitle {
  margin: 18px 0 32px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--copper-2);
  line-height: 1;
}

.hero__stats span {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__text p {
  color: var(--muted);
  margin-bottom: 24px;
}

.checklist {
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--copper-2));
  box-shadow: 0 0 0 4px rgba(201, 162, 107, 0.15);
}

.about__media {
  position: relative;
  min-height: 520px;
}

.about__img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img--main {
  position: absolute;
  inset: 0 12% 18% 0;
}

.about__img--second {
  position: absolute;
  width: 48%;
  height: 42%;
  right: 0;
  bottom: 0;
}

/* Catalog */
.catalog {
  background:
    radial-gradient(ellipse at top, rgba(201, 162, 107, 0.06), transparent 50%),
    var(--bg-2);
}

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

.product {
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
}

.product:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 107, 0.4);
  box-shadow: var(--shadow);
}

.product__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}

.product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

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

.product__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--copper);
  color: #1a1208;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.product__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product__body p {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.product__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.price {
  color: var(--copper-2);
  font-weight: 600;
  font-size: 1rem;
}

.format {
  color: var(--muted);
  font-size: 0.78rem;
}

.catalog__note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Production */
.production__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.production__video {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
}

.production__video video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.production__steps {
  display: grid;
  gap: 22px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--copper);
  line-height: 1;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-3);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.gallery__item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.85rem;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.3s;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item:hover span {
  opacity: 1;
  transform: translateY(0);
}

/* Showroom */
.showroom {
  background: var(--bg-2);
}

.showroom__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.showroom__text p {
  color: var(--muted);
  margin-bottom: 24px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.info-list a {
  color: var(--copper-2);
}

.showroom__media {
  display: grid;
  gap: 16px;
}

.showroom__media img,
.showroom__media video {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #000;
}

/* CTA band */
.cta-band {
  padding: 72px 0;
  background:
    linear-gradient(135deg, rgba(201, 162, 107, 0.15), rgba(12, 11, 10, 0.2)),
    var(--bg-3);
  border-block: 1px solid var(--line);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 10px;
}

.cta-band p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Contact / Form */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact__info p {
  color: var(--muted);
  margin-bottom: 28px;
}

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

.channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: 0.2s;
}

.channel:hover {
  border-color: var(--copper);
  color: var(--copper-2);
}

.form {
  padding: 28px;
}

.form__row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form__row label {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.form__row input,
.form__row select,
.form__row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: 0.2s;
}

.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(201, 162, 107, 0.15);
}

.form__row textarea {
  resize: vertical;
  min-height: 110px;
}

.form__note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.form__status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: center;
}

.form__status.ok {
  background: rgba(111, 191, 138, 0.12);
  color: var(--success);
  border: 1px solid rgba(111, 191, 138, 0.3);
}

.form__status.err {
  background: rgba(224, 122, 106, 0.12);
  color: var(--danger);
  border: 1px solid rgba(224, 122, 106, 0.3);
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: #090807;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__brand > span:nth-child(2) {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 1.1rem;
}

.footer__brand p {
  width: 100%;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer__links a:hover {
  color: var(--copper-2);
}

.footer__copy {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Placeholders when images missing */
.product__img,
.about__img,
.gallery__item,
.showroom__media img,
.hero__bg {
  background:
    linear-gradient(135deg, #1c1916, #2a241e 40%, #1a1714),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(201, 162, 107, 0.03) 10px,
      rgba(201, 162, 107, 0.03) 20px
    );
}

/* Responsive */
@media (max-width: 980px) {
  .catalog__grid,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid,
  .production__grid,
  .showroom__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about__media {
    min-height: 380px;
  }

  .header__phone {
    display: none;
  }
}

@media (max-width: 760px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(12, 11, 10, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    font-size: 1.1rem;
  }

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

  .hero {
    padding-top: 120px;
  }

  .hero__stats {
    gap: 20px;
  }

  .section {
    padding: 72px 0;
  }

  .form {
    padding: 20px;
  }
}
