﻿:root {
  --forest: #143c32;
  --ink: #171821;
  --muted: #5f6676;
  --paper: #f7f4ec;
  --white: #fffefa;
  --gold: #c7ad44;
  --rust: #b65c36;
  --line: rgba(23, 24, 33, .12);
  --radius: 8px;
  --shadow: 0 22px 60px rgba(16, 32, 26, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(20, 60, 50, .94);
  backdrop-filter: blur(16px);
}
.brand img {
  width: 170px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .38));
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.language {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
}
.language select {
  border: 0;
  background: transparent;
  font: inherit;
  outline: 0;
}
.nav-link {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}
.detail-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: .95;
  letter-spacing: 0;
}
.lead {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}
.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e8e1cf;
  box-shadow: var(--shadow);
}
.hero-media img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(0);
  box-shadow: 0 12px 28px rgba(16, 32, 26, .12);
  isolation: isolate;
  transition: transform .2s ease, box-shadow .22s ease, background .22s ease, filter .22s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, .38) 48%, transparent 63% 100%);
  transform: translateX(-115%);
  transition: transform .52s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(16, 32, 26, .18);
  filter: saturate(1.05);
}
.btn:hover::before {
  transform: translateX(115%);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(16, 32, 26, .14);
}
.btn.primary {
  color: #171821;
  background: linear-gradient(180deg, #e5cf69 0%, var(--gold) 54%, #a98f2e 100%);
  box-shadow: 0 14px 36px rgba(199, 173, 68, .26);
}
.btn.ghost {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 254, 250, .98), rgba(247, 244, 236, .78));
}
.btn.ghost::before {
  background: linear-gradient(115deg, transparent 0 35%, rgba(199, 173, 68, .44) 48%, transparent 63% 100%);
}
.facts,
.content-grid,
.gallery {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.fact,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.fact {
  padding: 20px;
}
.fact b {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 24px;
}
.fact span {
  color: var(--muted);
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-bottom: 30px;
}
.panel {
  padding: clamp(22px, 3vw, 32px);
}
.panel h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
}
.panel p {
  color: var(--muted);
  line-height: 1.65;
}
.panel ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.panel li {
  color: var(--muted);
}
.panel li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--gold);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e8e1cf;
}
.contact-band {
  margin-top: 22px;
  padding: 42px 16px;
  color: var(--white);
  background: var(--forest);
  text-align: center;
}
.contact-band p {
  margin: 8px auto 22px;
  max-width: 680px;
  color: rgba(255, 254, 250, .74);
}
.contact-band .btn.ghost {
  color: var(--white);
  border-color: rgba(255, 254, 250, .22);
  background: rgba(255, 254, 250, .08);
}
.contact-band .btn.primary {
  color: #171821;
  background: linear-gradient(180deg, #e5cf69 0%, var(--gold) 54%, #a98f2e 100%);
}
.mini-footer {
  padding: 22px 16px;
  color: rgba(255, 254, 250, .7);
  background: #101417;
  text-align: center;
  font-size: 13px;
}
.mini-footer a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}
.email-fallback {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(390px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(16, 32, 26, .2);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease;
}
.email-fallback.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.email-fallback h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.email-fallback p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.45;
}
.email-fallback code {
  display: block;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: var(--radius);
  color: var(--forest);
  background: #f2efe3;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.email-fallback .close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
}

@media (max-width: 900px) {
  .topbar { align-items: flex-start; }
  .top-actions { flex-wrap: wrap; justify-content: flex-end; }
  .detail-hero,
  .content-grid,
  .facts,
  .gallery {
    grid-template-columns: 1fr;
  }
  .hero-media img { height: 360px; }
  .gallery img { height: 300px; }
}

@media (max-width: 560px) {
  .brand img {
    width: 132px;
    height: 54px;
  }
  .language label { display: none; }
  .nav-link { font-size: 14px; }
}
