:root {
  --ink: #0f2744;
  --sky: #5ba4d9;
  --sky-deep: #2f6f9c;
  --ice: #eef4f9;
  --white: #ffffff;
  --mute: rgba(15, 39, 68, 0.62);
  --line: rgba(47, 111, 156, 0.18);
}

* { 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(--ice);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; line-height: 1.15; }

.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.9rem clamp(1.2rem, 4vw, 2.5rem);
  background: rgba(238, 244, 249, 0.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 700; font-size: 1.05rem; }
.logo span { color: var(--sky-deep); }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; align-items: center; font-weight: 600; font-size: 0.95rem; }
.nav-tel { color: var(--sky-deep); }

.hero {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  min-height: calc(100vh - 62px);
}
.hero-inner {
  padding: clamp(2.2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 2.5rem);
  display: flex; flex-direction: column; justify-content: center;
}
.city {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sky-deep); margin-bottom: 0.85rem;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1.1rem; max-width: 16ch; }
.hero-list {
  list-style: none; display: grid; gap: 0.4rem; margin-bottom: 1.5rem; font-weight: 600; font-size: 1.08rem;
}
.hero-list li { padding-left: 0.95rem; position: relative; }
.hero-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.4rem; height: 0.4rem; background: var(--sky);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sky-deep); color: #fff !important; font-weight: 700;
  padding: 0.95rem 1.3rem; border-radius: 2px; font-size: 1rem;
}
.btn-lg { padding: 1.05rem 1.4rem; font-size: 1.08rem; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--sky-deep); color: var(--sky-deep); font-weight: 700;
  padding: 0.9rem 1.2rem; border-radius: 2px; font-size: 1rem;
}
.hero-img { width: 100%; height: 100%; min-height: 70vh; object-fit: cover; }

.how { padding: 3rem clamp(1.2rem, 4vw, 2.5rem); }
.how h2, .credit-top h2, .contact h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: 1.1rem;
}
.notes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem;
  padding: 2rem clamp(1.2rem, 4vw, 2.5rem);
  background: #fff; border-block: 1px solid var(--line);
  max-width: 960px;
}
.notes p { color: var(--mute); font-size: 1rem; }
.notes strong { color: var(--ink); }

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #0f2744;
  min-height: 70vh;
}
.mosaic .big { grid-row: span 2; }
.mosaic figure { position: relative; overflow: hidden; min-height: 28vh; }
.mosaic .big { min-height: 100%; }
.mosaic img { width: 100%; height: 100%; min-height: 28vh; object-fit: cover; }
.mosaic .big img { min-height: 100%; }
.mosaic figcaption {
  position: absolute; left: 0.8rem; bottom: 0.8rem;
  background: rgba(15, 39, 68, 0.9); color: #9fd0f0;
  padding: 0.4rem 0.7rem; font-size: 0.95rem; font-weight: 700;
}

.bar {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.55rem;
  margin-bottom: 0.8rem;
}
.bar li {
  background: var(--white); border: 1px solid var(--line); padding: 1rem 0.85rem;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}
.bar li.active {
  border-color: var(--sky); box-shadow: 0 10px 24px rgba(91, 164, 217, 0.2); transform: translateY(-3px);
}
.bar span {
  display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--sky-deep); margin-bottom: 0.3rem;
}
.bar h3 { font-family: "IBM Plex Sans", sans-serif; font-size: 1rem; margin-bottom: 0.25rem; }
.bar p { color: var(--mute); font-size: 0.9rem; }
.progress { height: 3px; background: rgba(47, 111, 156, 0.15); border-radius: 99px; overflow: hidden; }
.progress i {
  display: block; height: 100%; width: 20%;
  background: linear-gradient(90deg, var(--sky), var(--sky-deep));
  transition: width 0.5s ease;
}

.credit { padding: 2.8rem clamp(1.2rem, 4vw, 2.5rem); background: #e4edf5; }
.credit-wrap { border: 1px solid var(--line); background: #fff; padding: 1.4rem 1.25rem; }
.credit-top { margin-bottom: 1.1rem; }
.credit-top p { color: var(--mute); }
.credit-body { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.2rem; }
.credit-left { display: grid; gap: 1rem; }
.c-row { display: grid; gap: 0.45rem; }
.c-row > span { font-size: 0.92rem; font-weight: 700; }
.c-range { display: grid; gap: 0.35rem; }
.c-range input[type="range"] { width: 100%; accent-color: var(--sky-deep); }
.c-range output { font-weight: 800; color: var(--sky-deep); font-size: 1.05rem; }
.down-seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35rem; }
.down-seg button {
  border: 1px solid var(--line); background: #f4f8fc; color: var(--ink);
  padding: 0.65rem 0.2rem; font: inherit; font-weight: 700; cursor: pointer;
}
.down-seg button.on { background: var(--sky-deep); color: #fff; border-color: var(--sky-deep); }
.credit-left select {
  border: 1px solid var(--line); padding: 0.75rem 0.8rem; font: inherit; font-weight: 600; background: #fff;
}
.rate-num {
  display: grid; grid-template-columns: 2.6rem 1fr 2.6rem; gap: 0.4rem; align-items: center; max-width: 220px;
}
.rate-num input {
  text-align: center; border: 1px solid var(--line); padding: 0.7rem 0.4rem;
  font: inherit; font-weight: 800; font-size: 1.15rem; color: var(--sky-deep);
}
.rate-num button {
  border: 1px solid var(--line); background: #eef4f9; font-size: 1.2rem; font-weight: 700; cursor: pointer; min-height: 2.7rem;
}
.credit-right { display: grid; gap: 0.55rem; align-content: start; }
.credit-right article { background: #0f2744; color: #fff; padding: 0.95rem 1rem; }
.credit-right small {
  display: block; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase;
  opacity: 0.55; margin-bottom: 0.2rem;
}
.credit-right b { font-family: "IBM Plex Serif", Georgia, serif; font-size: 1.35rem; font-weight: 600; color: #9fd0f0; }
.credit-fine { font-size: 0.85rem; color: var(--mute); }

.contact {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1.5rem; align-items: center;
  padding: 3rem clamp(1.2rem, 4vw, 2.5rem); background: #0b1c31; color: rgba(238, 244, 249, 0.8);
}
.contact h2 { color: #9fd0f0; }
.contact table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.contact th {
  text-align: left; width: 7.5rem; padding: 0.4rem 0.6rem 0.4rem 0;
  font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.45; font-weight: 600; vertical-align: top;
}
.contact td { padding: 0.4rem 0; font-size: 1rem; }
.contact a { color: #9fd0f0; font-weight: 700; }
.pol { color: var(--sky) !important; }

.reveal { opacity: 0; transform: translateY(14px); transition: 0.45s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero, .mosaic, .bar, .contact, .credit-body, .notes { grid-template-columns: 1fr; }
  .mosaic { grid-template-rows: auto; min-height: 0; }
  .mosaic .big { grid-row: auto; }
  .hero-img { min-height: 42vh; }
  .hero h1 { max-width: none; }
  .nav-links a:not(.nav-tel) { display: none; }
  .mosaic figure, .mosaic img { min-height: 26vh; }
  .down-seg { grid-template-columns: repeat(3, 1fr); }
}
