:root {
  --bg: #f4f8fc;
  --white: #ffffff;
  --text: #1f2f3d;
  --muted: #617487;
  --line: #dce8f3;
  --blue: #2f9df4;
  --blue-dark: #0f4ea6;
  --blue-deep: #103a78;
  --shadow: 0 10px 30px rgba(14, 45, 88, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%);
  color: var(--text);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 232, 243, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}


.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo-image {
  max-height: 130px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(15, 78, 166, 0.18));
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.nav-link {
  text-decoration: none;
  color: #425466;
  font-weight: 700;
  padding: 16px 28px;
  font-size: 20px;
  border-radius: 14px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, opacity 0.28s ease;
}

.nav-link:hover,
.nav-link.active {
  background: #eaf5ff;
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at left bottom, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, #2f9df4 0%, #0f67c6 55%, #0f4ea6 100%);
  color: #ffffff;
  padding: 24px 20px 18px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  background: rgba(255, 255, 255, 0.08);
}

.hero::after {
  width: 150px;
  height: 150px;
  left: -45px;
  bottom: -35px;
  background: rgba(255, 255, 255, 0.06);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.hero p {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.94);
}

.hero-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, opacity 0.28s ease;
}

.btn-primary {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn:hover,
.submit-btn:hover {
  transform: translateY(-2px);
}

.hero-badges {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-badge {
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-visual {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 10px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, opacity 0.28s ease;
  animation: softZoom 0.8s ease both;
}

.hero-visual img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 18px;
  background: #ffffff;
  transition: transform 0.35s ease;
}

.hero-visual:hover,
.photo-card:hover,
.side-photo:hover,
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(14, 45, 88, 0.14);
}

.hero-visual:hover img,
.photo-card:hover img,
.side-photo:hover img,
.news-card:hover img {
  transform: scale(1.03);
}

.section {
  padding: 24px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--blue-deep);
}

.section-subtitle {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 15px;
}

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

.card,
.news-card {
  background: var(--white);
  border: 1px solid #edf3f8;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, opacity 0.28s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e5f3ff, #cfe9ff);
  color: var(--blue);
  font-size: 22px;
  margin-bottom: 14px;
}

.card h3,
.news-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--blue);
}

.card p,
.news-card p {
  margin: 0;
  color: #53687b;
}

.photo-band,
.news-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.photo-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #edf3f8;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, opacity 0.28s ease;
}

.photo-card img,
.side-photo img,
.news-card img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-card img {
  height: 175px;
}

.news-card img {
  height: 220px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.photo-text {
  padding: 14px 16px;
}

.photo-text h4 {
  margin: 0 0 6px;
  color: var(--blue-deep);
  font-size: 17px;
}

.photo-text p {
  margin: 0;
  color: #5a6f83;
  font-size: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 20px;
  align-items: start;
}

.side-photo {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #edf3f8;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, opacity 0.28s ease;
  animation: softZoom 0.8s ease both;
}

.side-photo img {
  min-height: 390px;
}

.accordion {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  background: var(--white);
  border: 1px solid #ecf2f7;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: fadeSlide 0.55s ease both;
}

.accordion-item:nth-child(2) {
  animation-delay: 0.04s;
}

.accordion-item:nth-child(3) {
  animation-delay: 0.08s;
}

.accordion-item:nth-child(4) {
  animation-delay: 0.12s;
}

.accordion-item:nth-child(5) {
  animation-delay: 0.16s;
}

.accordion-button {
  width: 100%;
  border: none;
  background: #ffffff;
  text-align: left;
  padding: 18px 58px 18px 20px;
  position: relative;
  cursor: pointer;
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.accordion-button:hover {
  background: #fafdff;
}

.accordion-button::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--blue);
  line-height: 1;
}

.accordion-item.open .accordion-button::after {
  content: "–";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
  will-change: max-height;
}

.accordion-content-inner {
  padding: 0 20px 20px;
  color: #53687b;
}

.accordion-content-inner p {
  margin: 0 0 10px;
}

.accordion-content-inner p:last-child {
  margin-bottom: 0;
}

.contact-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, #1b8fe9, #0e4ca0);
  color: #ffffff;
  padding: 28px 20px;
  text-align: center;
  border-radius: 24px;
}

.contact-banner h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.contact-banner p {
  margin: 6px 0;
  font-size: 15px;
}

.form-wrap {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
  animation: fadeSlide 0.6s ease both;
}

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

.field {
  display: flex;
  flex-direction: column;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  margin-bottom: 7px;
  font-weight: 700;
  color: #27435f;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d6e4f1;
  background: #fbfdff;
  border-radius: 14px;
  padding: 12px 13px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 157, 244, 0.12);
  background: #ffffff;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #ffffff;
  padding: 14px 20px;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(15, 78, 166, 0.2);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, opacity 0.28s ease;
}

.notice,
.feedback {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
}

.notice {
  background: #eef7ff;
  border: 1px solid #d8ecff;
  border-left: 5px solid var(--blue);
  color: #48647d;
}

.notice strong {
  color: var(--blue-deep);
}

.feedback.success {
  background: #eefaf1;
  border: 1px solid #d7f0dc;
  border-left: 5px solid #38a169;
  color: #2f5d3f;
}

.feedback.error {
  background: #fff2f2;
  border: 1px solid #ffd6d6;
  border-left: 5px solid #d64545;
  color: #7b3030;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.article-card,
.sidebar-card {
  background: #ffffff;
  border: 1px solid #edf3f8;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.article-card h2,
.sidebar-card h3 {
  color: var(--blue-deep);
  margin-top: 0;
}

.article-card h3 {
  color: var(--blue);
  margin-top: 28px;
  margin-bottom: 10px;
}

.article-card p,
.article-card li,
.sidebar-card p,
.sidebar-card li {
  color: #53687b;
}

.article-card ul,
.sidebar-card ul {
  padding-left: 20px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 4px;
}

.meta-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #edf6ff;
  color: var(--blue-dark);
}

.footer {
  background: #0e3770;
  color: #ffffff;
  text-align: center;
  padding: 18px;
  font-size: 14px;
  margin-top: 24px;
}

.hero-grid > div:first-child {
  animation: fadeSlide 0.6s ease both;
}

#home .card:nth-child(1),
#home .photo-card:nth-child(1) {
  animation: fadeSlide 0.55s ease both;
}

#home .card:nth-child(2),
#home .photo-card:nth-child(2) {
  animation: fadeSlide 0.55s 0.06s ease both;
}

#home .card:nth-child(3),
#home .photo-card:nth-child(3) {
  animation: fadeSlide 0.55s 0.12s ease both;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softZoom {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .cards,
  .photo-band,
  .news-grid,
  .form-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    height: 220px;
  }

  .side-photo img {
    min-height: 260px;
  }

  .hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .header-wrap {
    padding: 8px 12px 10px;
    gap: 6px;
  }

  .logo-image {
    max-height: 52px;
  }

  .main-nav {
    gap: 6px;
  }

  .nav-link {
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .container {
    padding: 0 14px;
  }

  .hero {
    padding: 16px 0 14px;
  }

  .hero-grid {
    gap: 12px;
  }

  .kicker {
    font-size: 11px;
    padding: 6px 10px;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.18;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.45;
    margin-top: 8px;
  }

  .hero-actions {
    margin-top: 12px;
    gap: 8px;
  }

  .btn {
    padding: 10px 14px;
    font-size: 14px;
  }

  .hero-badges {
    margin-top: 10px;
    gap: 6px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 6px 9px;
  }

  .hero-visual {
    padding: 8px;
    border-radius: 18px;
  }

  .hero-visual img {
    height: 160px;
    border-radius: 14px;
  }

  .section {
    padding: 22px 0;
  }

  .section-title {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .accordion-button {
    font-size: 16px;
    padding: 14px 46px 14px 14px;
  }

  .form-wrap,
  .article-card,
  .sidebar-card {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-link,
  .btn,
  .card,
  .photo-card,
  .accordion-item,
  .hero-visual,
  .side-photo,
  .submit-btn,
  .news-card {
    transition: none !important;
    animation: none !important;
  }
}


.page-message {
  max-width: 980px;
  margin: 0 auto 18px;
}

.back-link-wrap {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


.footer-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.footer-links {
  font-size: 12px;
  opacity: 0.8;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.legal-page {
  padding-top: 32px;
  padding-bottom: 32px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid #edf3f8;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.legal-card h1 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 32px;
}

.legal-card h2 {
  margin-top: 26px;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 22px;
}

.legal-card p,
.legal-card li {
  color: #53687b;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-intro {
  color: var(--muted);
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .legal-card {
    padding: 18px;
  }

  .legal-card h1 {
    font-size: 24px;
  }

  .footer-links {
    line-height: 1.6;
  }
}
