:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #162033;
  --muted: #657186;
  --line: #d9e1ec;
  --brand: #003f88;
  --brand-dark: #072650;
  --accent: #f6b51f;
  --shadow: 0 18px 45px rgba(22, 32, 51, .12);
  --shadow-soft: 0 10px 25px rgba(22, 32, 51, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 63, 136, .12), transparent 28rem),
    linear-gradient(180deg, #eef4fb 0%, var(--bg) 38%, #ffffff 100%);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 390px;
  padding: 28px 0 46px;
  overflow: hidden;
}

.hero-grid {
  display: block;
}

.eyebrow {
  margin: 0 0 12px;
  color: #174f95;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: #26364f;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn-main,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-main {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 63, 136, .24);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .76);
  color: var(--brand-dark);
}

.btn-main:hover,
.btn-ghost:hover,
.link-tile:hover,
.cover-card:hover {
  transform: translateY(-2px);
}

.hero-brand-image {
  position: relative;
  width: min(1180px, 100%);
}

.hero-brand-image::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  border-radius: 14px;
  background: var(--brand);
  opacity: .12;
}

.hero-brand-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 748 / 100;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.search-bar {
  margin-top: -14px;
  position: relative;
  z-index: 2;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(217, 225, 236, .9);
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.search-form input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 14px;
  font-size: 1rem;
}

.search-form button {
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  padding: 0 18px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.section {
  padding: 34px 0;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.radio-grid,
.ai-grid,
.software-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.link-tile {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.link-tile:hover {
  border-color: rgba(0, 63, 136, .4);
  box-shadow: var(--shadow);
}

.link-tile img {
  width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.link-tile strong {
  font-size: .98rem;
}

.link-tile span {
  color: var(--muted);
  font-size: .9rem;
}

.radio-tile {
  background: #10141e;
  color: #fff;
}

.radio-tile span {
  color: rgba(255, 255, 255, .72);
}

.concierto-tile {
  background: #c40018;
}

.concierto-tile:hover {
  border-color: rgba(196, 0, 24, .45);
}

.ai-tile {
  background: #f8fbff;
}

.software-tile {
  background: #fbfdf7;
}

.weather-wrap,
.news-wrap,
.covers-wrap,
.footer-wrap {
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.weather-wrap {
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.news-wrap {
  padding: 10px;
}

.news-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.news-item time {
  display: block;
  color: var(--muted);
  font-size: .82rem;
}

.news-item a {
  display: block;
  margin-top: 4px;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.news-item p {
  margin: 8px 0 0;
  color: #3f4b5f;
}

.covers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cover-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.cover-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cover-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cover-card figcaption {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: .9rem;
}

.cover-card figcaption strong {
  color: var(--brand-dark);
}

.cover-card figcaption time {
  color: #3f4b5f;
}

.cover-card figcaption em {
  color: var(--muted);
  font-style: normal;
}

.cover-card figcaption span {
  color: var(--brand);
  font-weight: 800;
}

.footer {
  margin-top: 30px;
  padding: 34px 0 0;
  background: var(--brand-dark);
  color: #fff;
}

.footer-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
  gap: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.footer h2,
.footer p {
  margin: 0;
}

.footer h2 {
  font-size: 1.35rem;
}

.footer p {
  color: rgba(255, 255, 255, .78);
}

.footer a {
  color: #fff;
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, .42);
}

.footer-meta {
  display: grid;
  gap: 6px;
}

.footer-bottom {
  margin-top: 24px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
}

@media (max-width: 920px) {
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .covers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
    padding-bottom: 26px;
  }

  .hero-brand-image img {
    padding: 6px;
  }

  .hero-actions,
  .search-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-grid,
  .covers-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
}
