@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --midnight: #1e3347;
  --steel: #2b4c6f;
  --frost: #e8eef3;
  --wheat: #d4a853;
  --wheat-dark: #b8923f;
  --paper: #f7f9fb;
  --ink: #152028;
  --muted: #5c6d7a;
  --white: #fff;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--wheat-dark); text-decoration: underline; }
img { max-width: 100%; display: block; height: auto; }

.bar {
  background: var(--midnight);
  color: var(--frost);
  text-align: center;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.02em;
}
.bar a { color: var(--wheat); font-weight: 500; }

header {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(30,51,71,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.4rem;
}
.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}
.brand img { width: 44px; height: 44px; }
.brand .name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--midnight);
  letter-spacing: 0.04em;
}
.brand .sub {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.menu-btn {
  display: none;
  border: 1px solid var(--midnight);
  background: var(--white);
  padding: 0.4rem 0.75rem;
  font: inherit;
  cursor: pointer;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav a {
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink);
}
.nav a.active { color: var(--steel); box-shadow: inset 0 -2px 0 var(--wheat); }
.nav-email { font-size: 0.82rem !important; color: var(--steel) !important; }

.hero {
  position: relative;
  background: var(--steel);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(30,51,71,0.92) 45%, rgba(43,76,111,0.75) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0 4rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}
.hero h1 span { color: var(--wheat); }
.hero p { color: rgba(255,255,255,0.88); margin-bottom: 0.85rem; max-width: 32rem; }
.hero-mail a { color: var(--wheat); font-weight: 600; }
.hero-visual img {
  border-radius: 6px;
  border: 2px solid rgba(212,168,83,0.45);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 4px;
}
.btn-gold { background: var(--wheat); color: var(--midnight); }
.btn-gold:hover { background: var(--wheat-dark); color: var(--midnight); text-decoration: none; }
.btn-wire { border: 2px solid var(--frost); color: var(--frost); }
.btn-wire:hover { background: rgba(255,255,255,0.1); text-decoration: none; color: var(--white); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--frost);
}
.fact {
  padding: 1.2rem 1rem;
  text-align: center;
  border-right: 1px solid var(--frost);
}
.fact:last-child { border-right: none; }
.fact b {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--midnight);
}
.fact small { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.block { padding: 4rem 0; }
.block-gray { background: var(--frost); }
.block-dark { background: var(--midnight); color: var(--white); }
.block-dark a { color: var(--wheat); }

.label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--wheat-dark);
  margin-bottom: 0.5rem;
}
.block-dark .label { color: var(--wheat); }
h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--midnight);
}
.block-dark .section-title { color: var(--white); }
.deck { color: var(--muted); max-width: 38rem; margin-bottom: 2rem; }
.block-dark .deck { color: rgba(255,255,255,0.82); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--white);
  padding: 1.5rem 1.35rem;
  border-radius: 6px;
  border: 1px solid rgba(43,76,111,0.1);
  border-top: 3px solid var(--wheat);
}
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--midnight);
}
.card p { font-size: 0.94rem; color: var(--muted); margin-bottom: 0.65rem; }
.card a.mail { font-size: 0.85rem; font-weight: 600; }

.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.dual img { border-radius: 6px; }

.points { list-style: none; }
.points li {
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  color: var(--muted);
}
.points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  background: var(--wheat);
  transform: rotate(45deg);
}

.top-page {
  padding: 2.75rem 0 1.5rem;
  background: linear-gradient(180deg, var(--frost), var(--paper));
}
.top-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--midnight);
  margin-bottom: 0.5rem;
}
.copy {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.4rem 3rem;
}
.copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  margin: 2rem 0 0.65rem;
  color: var(--midnight);
}
.copy p, .copy li { color: var(--muted); margin-bottom: 0.75rem; }
.copy ul { margin-left: 1.25rem; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  padding: 2rem 0 4rem;
}
.panel {
  background: var(--white);
  padding: 1.75rem;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(30,51,71,0.06);
}
.email-big {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0.75rem 0;
}
.email-big a { color: var(--steel); }

form label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
form input, form select, form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(43,76,111,0.25);
  border-radius: 4px;
  font: inherit;
  margin-bottom: 1rem;
  background: var(--white);
}
form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); }

footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 2.5rem 0 1.25rem;
}
.foot-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
footer h4 {
  color: var(--wheat);
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.65rem;
}
.flinks a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  text-decoration: none;
}
.flinks a:hover { color: var(--wheat); }
.foot-end {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.84rem;
}
.foot-end a { color: var(--wheat); }

@media (max-width: 900px) {
  .hero-content, .dual, .cards, .facts, .contact-wrap, .foot-main { grid-template-columns: 1fr; }
  .fact { border-right: none; border-bottom: 1px solid var(--frost); }
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.4rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav.open { display: flex; }
  header { position: relative; }
}
