:root {
  --bg: #f7f7f4;
  --paper: #ffffff;
  --ink: #101718;
  --muted: #667071;
  --line: #dde2df;
  --sea: #0b7582;
  --sea-soft: #e5f1f1;
  --live: #e8574d;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(20, 31, 32, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 38px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: -.02em;
}
.brand strong { color: var(--sea); }
.brand-mark {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: 14px 0 0 #9cc7c9;
  margin-right: 14px;
}
.place {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .04em;
}

.now {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 11px;
  color: var(--sea);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 7px;
  font-size: clamp(54px, 8vw, 102px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 560;
}
.temperatures {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 0 0 auto;
  padding: 26px 30px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.temperature { min-width: 116px; }
.temperature-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 2px;
}
.temperature-value {
  font-size: 50px;
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 600;
}
.temperature-unit {
  font-size: 18px;
  color: var(--muted);
  vertical-align: top;
}
.temperature-divider {
  width: 1px;
  height: 64px;
  background: var(--line);
}

.cameras { padding: 32px 0 64px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-head h2, .property h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -.045em;
  line-height: 1.05;
  font-weight: 580;
}
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}
.live-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 5px rgba(232,87,77,.12);
}
.camera-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.camera-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(16,23,24,.07);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(20,31,32,.05);
}
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101718;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.camera-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px 18px;
}
.camera-meta h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.015em;
}
.camera-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.camera-meta a {
  flex: 0 0 auto;
  color: var(--sea);
  font-size: 12px;
  text-decoration: none;
}
.extra-cams {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}
.extra-cam {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.extra-cam:hover {
  background: var(--paper);
  border-color: #cbd3cf;
  transform: translateY(-1px);
}
.extra-cam strong { display: block; font-size: 14px; }
.extra-cam small { color: var(--muted); font-size: 12px; }
.extra-cam b { color: var(--sea); font-size: 12px; font-weight: 650; }

.property {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.property p:not(.eyebrow) {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.property-links {
  display: flex;
  gap: 9px;
  flex: 0 0 auto;
}
.button {
  min-width: 112px;
  padding: 12px 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.footer { padding-top: 38px; }
.footer > p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 12px;
}
.telegram-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-width: 0;
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: #229ED9;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  transition: background .15s ease, transform .15s ease;
}
.telegram-link:hover {
  background: #168ac2;
  transform: translateY(-1px);
}
.telegram-link:active { transform: translateY(0); }
.telegram-icon {
  display: block;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  flex: 0 0 16px;
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 45px;
  color: #8a9291;
  font-size: 10px;
}
.brand-credit, .data-credit { color: inherit; text-decoration: none; }
.brand-credit:hover, .data-credit:hover { color: var(--ink); }

@media (max-width: 760px) {
  .page {
    width: min(100% - 28px, 1180px);
    padding-top: 18px;
  }
  .topbar { margin-bottom: 26px; }
  .place { display: none; }
  .now {
    display: block;
    padding-bottom: 24px;
  }
  h1 { font-size: 64px; }
  .temperatures {
    margin-top: 30px;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
  }
  .temperature { min-width: 0; }
  .temperature-value { font-size: 43px; }
  .temperature-divider { height: 54px; }
  .cameras { padding: 26px 0 48px; }
  .camera-grid, .extra-cams { grid-template-columns: 1fr; }
  .camera-meta { padding: 14px 15px 15px; }
  .property {
    display: block;
    padding: 30px 0;
  }
  .property-links { margin-top: 24px; }
  .button { flex: 1; }
  .telegram-links { display: flex; gap: 8px; }
  .telegram-link { width: auto; }
  .footer-bottom { margin-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
