@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #080b10;
  --card: #121821;
  --blue: #0066ff;
  --blue-2: #1e8bff;
  --muted: #a7adba;
  --border: #263142;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: "Inter", Arial, sans-serif;
  cursor:
    url("../img/ui/cursor-grap3.png") 8 8,
    auto;
}

body * {
  cursor: inherit;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
.btn {
  transition: 0.25s ease;
}

a:hover,
button:hover,
.btn:hover,
input:hover,
textarea:hover,
select:hover,
.file-upload:hover {
  cursor:
    url("../img/ui/cursor-grap-active.png") 16 16,
    pointer;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(8, 11, 16, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar__container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.35),
    0 0 24px rgba(0, 102, 255, 0.35);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.navbar__links a {
  position: relative;
  font-weight: 600;
  color: #d5dbe5;
}

.navbar__links a:hover {
  color: var(--blue-2);
}

.navbar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--blue-2);
  transition: 0.25s ease;
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.navbar__burger span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: #fff;
  transition: 0.25s ease;
}

/* HERO */

.header {
  min-height: 100vh;
  padding-top: 80px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(0, 102, 255, 0.28),
      transparent 32%
    ),
    linear-gradient(180deg, #111824 0%, #080b10 100%);
}

.hero {
  min-height: 100vh;
  width: min(1300px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.hero__logo {
  display: inline-block;
  margin-bottom: 28px;
  padding: 10px 18px;
  border: 1px solid rgba(0, 102, 255, 0.7);
  border-radius: 999px;
  background: rgba(0, 102, 255, 0.08);
  color: #dcecff;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.45),
    0 0 30px rgba(0, 102, 255, 0.35);
}

.hero__title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__title::first-line {
  color: var(--blue-2);
}

.hero__text {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 42px;
}

.hero__stats div {
  display: flex;
  flex-direction: column;
  color: var(--muted);
}

.hero__stats strong {
  font-family: "Oswald", sans-serif;
  font-size: 38px;
  color: #fff;
}

.hero__image {
  position: relative;
}

.hero__image::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: 0;
  background: rgba(0, 102, 255, 0.25);
  filter: blur(70px);
}

.hero__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 16px;
  font-weight: 800;
}

.btn--primary {
  background: var(--blue);
  box-shadow: 0 0 35px rgba(0, 102, 255, 0.32);
}

.btn--primary:hover {
  background: var(--blue-2);
  transform: translateY(-2px);
}

.btn--secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.btn--secondary:hover {
  border-color: var(--blue);
  color: var(--blue-2);
  transform: translateY(-2px);
}

/* SECTIONS */

.section {
  padding: 100px 0;
}

.section__title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section__text {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* SERVICES */

.services {
  background: var(--bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.service-card {
  position: relative;
  display: block;
  min-height: 260px;
  padding: 30px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(0, 102, 255, 0.08), transparent), var(--card);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.14);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--x) var(--y),
    rgba(0, 102, 255, 0.22),
    transparent 30%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3 {
  margin: 0 0 18px;
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* PROJECTS */

.projects {
  background: #0d121a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.project-card,
.work-card,
.review-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: 0.25s ease;
}

.project-card {
  background: #080b10;
  border-radius: 30px;
}

.project-card:hover,
.work-card:hover,
.review-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
}

.project-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.project-card h3,
.work-card h3,
.review-card h3 {
  margin: 24px 24px 10px;
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

.project-card p,
.work-card p,
.review-card p {
  margin: 0 24px 28px;
  color: var(--muted);
  line-height: 1.6;
}

/* ADVANTAGES */

.advantages {
  background:
    radial-gradient(circle at center, rgba(0, 102, 255, 0.16), transparent 38%),
    var(--bg);
}

.advantages__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.advantages__list li {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 800;
  text-transform: uppercase;
}

/* CONTACT FORM */

.contact {
  background: var(--bg);
  scroll-margin-top: 100px;
}

.contact__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding: 52px;
  border-radius: 36px;
  border: 1px solid rgba(0, 102, 255, 0.28);
  background:
    radial-gradient(
      circle at top right,
      rgba(0, 102, 255, 0.25),
      transparent 34%
    ),
    var(--card);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
}

.contact__info p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid #334050;
  background: #090d13;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.contact__form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.18);
}

.file-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 1px dashed #3f4d63;
  border-radius: 18px;
  background: #0b1017;
  color: #dcecff;
  font-weight: 600;
  transition: 0.25s ease;
}

.file-upload:hover {
  border-color: var(--blue);
  background: rgba(0, 102, 255, 0.08);
}

.file-upload input {
  display: none;
}

.form-message {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 700;
}

.form-message--success,
.form-message--error {
  display: block;
}

.form-message--success {
  background: rgba(0, 180, 90, 0.12);
  border: 1px solid rgba(0, 180, 90, 0.45);
  color: #8dffbd;
}

.form-message--error {
  background: rgba(255, 60, 60, 0.12);
  border: 1px solid rgba(255, 60, 60, 0.45);
  color: #ff9c9c;
}

/* PAGES */

.page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top right,
      rgba(0, 102, 255, 0.18),
      transparent 34%
    ),
    var(--bg);
}

.page__title {
  margin-top: 50px;
}

.works__grid,
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.work-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.review-card {
  padding-top: 10px;
}

.reviews-button {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* MODAL */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.85);
}

.modal.is-open {
  display: flex;
}

.modal__image {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.modal__close {
  position: absolute;
  top: 24px;
  right: 28px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 48px;
}

/* REVEAL ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* PRELOADER */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(0, 102, 255, 0.22), transparent 35%),
    #05070a;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__content {
  text-align: center;
}

.preloader__logo {
  font-family: "Oswald", sans-serif;
  font-size: clamp(44px, 8vw, 92px);
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.45),
    0 0 42px rgba(0, 102, 255, 0.55);
}

.preloader__subtitle {
  margin-top: 8px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #dcecff;
}

.preloader__line {
  width: 220px;
  height: 3px;
  margin: 28px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--blue-2), transparent);
  animation: preloaderLine 1s infinite ease-in-out;
}

@keyframes preloaderLine {
  0% {
    transform: scaleX(0.25);
    opacity: 0.4;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }

  100% {
    transform: scaleX(0.25);
    opacity: 0.4;
  }
}

/* FOOTER */

.footer {
  padding: 50px 0 100px;
  background: #05070a;
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer__logo-img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.footer__subtitle {
  margin: 0;
  font-family: "Oswald", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #dcecff;
}

.footer p {
  margin: 8px 0;
  color: var(--muted);
}

.footer a:hover {
  color: var(--blue-2);
}

.footer__bottom {
  width: min(1200px, calc(100% - 40px));
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7f8794;
  font-size: 14px;
}

.footer__bottom p {
  margin: 0;
}

/* ADAPTIVE */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__image img {
    height: 480px;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .advantages__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects__grid,
  .works__grid,
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .contact__box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar__burger {
    display: block;
  }

  .navbar__links {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(8, 11, 16, 0.96);
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  }

  .navbar__links.is-open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .container,
  .hero {
    width: min(100% - 24px, 1200px);
  }

  .section {
    padding: 70px 0;
  }

  .hero__image img {
    height: 360px;
  }

  .services__grid,
  .advantages__list,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact__box {
    padding: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
.reviews-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.reviews-empty {
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px dashed var(--border);
  border-radius: 28px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.review-form-wrapper {
  display: none;
  max-width: 680px;
  margin: 40px auto 0;
}

.review-form-wrapper.is-open {
  display: block;
}

.review-form {
  padding: 34px;
  border: 1px solid rgba(0, 102, 255, 0.28);
  border-radius: 28px;
  background: var(--card);
}

.review-form h2 {
  margin: 0 0 24px;
  font-family: "Oswald", sans-serif;
  font-size: 36px;
  text-transform: uppercase;
}

.review-form input,
.review-form textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid #334050;
  border-radius: 18px;
  background: #090d13;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.review-form textarea {
  min-height: 150px;
  resize: vertical;
}
.news {
  background: #0d121a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.news__empty {
  margin-top: 50px;
  padding: 44px;
  border: 1px dashed var(--border);
  border-radius: 30px;

  background: rgba(255, 255, 255, 0.03);

  text-align: center;
  color: var(--muted);

  font-size: 18px;
}
.news {
  scroll-margin-top: 100px;
}
.admin-page {
  min-height: 100vh;
  padding: 80px 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(0, 102, 255, 0.18),
      transparent 34%
    ),
    var(--bg);
}

.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.admin-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  color: #dcecff;
  background: rgba(0, 102, 255, 0.08);
}

.admin-table td {
  color: var(--muted);
}

.admin-table a {
  color: var(--blue-2);
}
.admin-delete-btn {
  padding: 10px 14px;
  border: 1px solid rgba(255, 60, 60, 0.45);
  border-radius: 12px;
  background: rgba(255, 60, 60, 0.08);
  color: #ff9c9c;
  font-weight: 700;
}

.admin-delete-btn:hover {
  background: rgba(255, 60, 60, 0.18);
}
.admin-status-select {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b1017;
  color: #fff;
}
.admin-search {
  margin-bottom: 24px;
}

.admin-search input {
  width: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #090d13;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.admin-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.18);
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stats div {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
}

.admin-stats strong {
  color: #fff;
  font-size: 24px;
}
.admin-login {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #05070a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-login.is-hidden {
  display: none;
}

.admin-login__form {
  width: min(420px, calc(100% - 40px));
  padding: 34px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--card);
}

.admin-login__form h2 {
  margin: 0 0 24px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.admin-login__form input {
  width: 100%;
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #090d13;
  color: #fff;
}

#adminLoginError {
  color: #ff9c9c;
}
.admin-head button {
  color: #fff;
}
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

#pageInfo {
  color: var(--muted);
  font-weight: 700;
}
.admin-create-card {
  margin-bottom: 32px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
}

.admin-create-card h2 {
  margin: 0 0 20px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.admin-work-form {
  display: grid;
  gap: 16px;
}

.admin-work-form input,
.admin-work-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #090d13;
  color: #fff;
  font-size: 16px;
}

.admin-work-form textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-work-message {
  margin: 16px 0 0;
  color: var(--blue-2);
  font-weight: 700;
}
.admin-works-list {
  display: grid;
  gap: 16px;
}

.admin-work-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #090d13;
}

.admin-work-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.admin-work-item h3 {
  margin: 0 0 6px;
}

.admin-work-item p {
  margin: 0;
  color: var(--muted);
}
.admin-work-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-edit-btn {
  padding: 10px 14px;
  border: 1px solid rgba(0, 102, 255, 0.45);
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.08);
  color: #9ecbff;
  font-weight: 700;
}

.admin-edit-btn:hover {
  background: rgba(0, 102, 255, 0.18);
}
.admin-news-list {
  display: grid;
  gap: 16px;
}

.admin-news-item {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #090d13;
}

.admin-news-item h3 {
  margin: 0 0 8px;
}

.admin-news-item p {
  margin: 0 0 14px;
  color: var(--muted);
}
.admin-news-form {
  display: grid;
  gap: 16px;
}

.admin-news-form input,
.admin-news-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #090d13;
  color: #fff;
  font-size: 16px;
}

.admin-news-form textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-news-message {
  margin: 16px 0 0;
  color: var(--blue-2);
  font-weight: 700;
}
.news__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--card);
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-card div {
  padding: 24px;
}

.news-card h3 {
  margin: 0 0 12px;
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .news__list {
    grid-template-columns: 1fr;
  }
}
.admin-reviews-list {
  display: grid;
  gap: 16px;
}

.admin-review-item {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #090d13;
}

.admin-review-item h3 {
  margin: 0 0 8px;
}

.admin-review-item p {
  margin: 0 0 14px;
  color: var(--muted);
}
.review-form-message {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.review-form-message.is-success {
  display: block;
  background: rgba(0, 180, 90, 0.12);
  border: 1px solid rgba(0, 180, 90, 0.45);
  color: #8dffbd;
}

.review-form-message.is-error {
  display: block;
  background: rgba(255, 60, 60, 0.12);
  border: 1px solid rgba(255, 60, 60, 0.45);
  color: #ff9c9c;
}
.news-detail {
  margin-top: 40px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--card);
}

.news-detail img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 28px;
}

.news-detail h1 {
  margin: 0 0 12px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  text-transform: uppercase;
}

.news-detail small {
  color: var(--muted);
}

.news-detail p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.news-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.news-card {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 255, 0.45);
}
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.admin-tab {
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 800;
}

.admin-tab.active,
.admin-tab:hover {
  border-color: var(--blue);
  background: rgba(0, 102, 255, 0.14);
  color: var(--blue-2);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-head__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__logo-text {
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.btn--primary {
  color: #ffffff !important;
}
