:root {
  --primary: #006f95;
  --primary-dark: #024e68;
  --secondary: #0b1f36;
  --text: #11253f;
  --bg: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 31, 54, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.page-enter {
  animation: pageFadeIn 0.55s ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  animation: headerSlideDown 0.6s ease;
}

.site-header.header-scrolled {
  box-shadow: 0 8px 24px rgba(11, 31, 54, 0.1);
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  height: 46px;
  width: auto;
  max-width: min(240px, 58vw);
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  border: 1px solid #d8e2ec;
  background: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--secondary);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  left: 0;
  bottom: -5px;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-slider {
  position: relative;
  min-height: clamp(420px, 72vh, 680px);
  overflow: hidden;
  margin-bottom: 24px;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: kenBurns 8s ease-in-out infinite alternate;
}

.hero-slide.is-active .hero-slide-bg {
  animation-play-state: running;
}

.hero-slide:not(.is-active) .hero-slide-bg {
  animation-play-state: paused;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 32, 58, 0.82) 0%, rgba(6, 32, 58, 0.55) 45%, rgba(6, 32, 58, 0.25) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  min-height: clamp(420px, 72vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  color: #fff;
  padding: 70px 0 90px;
}

.hero-slide-content h1 {
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.08;
  margin-bottom: 16px;
  animation: slideTextIn 0.8s ease both;
}

.hero-slide-content p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  margin-bottom: 24px;
  color: #e8f3f8;
  animation: slideTextIn 0.8s ease 0.12s both;
}

.hero-slide-content .hero-actions {
  animation: slideTextIn 0.8s ease 0.22s both;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@keyframes kenBurns {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.12);
  }
}

@keyframes slideTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.slider-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  background: #fff;
}

.slider-prev {
  left: 16px;
}

.slider-next {
  right: 16px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.15);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  min-height: 75vh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 60px 0 40px;
}

body[data-home="true"] .hero-text {
  animation: heroTextIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-home="true"] .hero-media {
  animation: heroMediaIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both,
    floatY 3.5s ease-in-out 1.2s infinite;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroMediaIn {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.hero-text h1 {
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.06;
  margin-bottom: 20px;
  color: var(--secondary);
}

.hero-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  will-change: transform;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 22px auto 50px;
}

.feature-card,
.product-card,
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.product-card:hover,
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 28px rgba(11, 31, 54, 0.2);
}

.section-title {
  margin: 25px 0 20px;
  text-align: center;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--secondary);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #00a8da);
  animation: titleLineGrow 0.8s ease both;
}

@keyframes titleLineGrow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 72px;
    opacity: 1;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

.category-chip {
  border: 1px solid #c9d8e8;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  cursor: pointer;
  color: var(--secondary);
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.category-chip:hover {
  transform: translateY(-2px);
}

.category-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(0, 111, 149, 0.35);
}

.products-grid.grid-refresh {
  animation: gridRefresh 0.45s ease;
}

@keyframes gridRefresh {
  from {
    opacity: 0.35;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bannerBgPulse {
  from {
    background-position: center, center;
  }
  to {
    background-position: center, 52% center;
  }
}

.service-highlight {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 36px;
}

.service-highlight h3 {
  color: var(--secondary);
  font-size: clamp(24px, 3.4vw, 36px);
  margin-bottom: 12px;
}

.service-highlight p {
  color: #2c425a;
  line-height: 1.75;
  margin-bottom: 10px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  transition: transform 0.45s ease;
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-card h4 {
  font-size: 19px;
  margin-bottom: 8px;
}

.product-card p {
  color: #435970;
  line-height: 1.5;
}

.banner {
  border-radius: 18px;
  background: linear-gradient(115deg, rgba(2, 78, 104, 0.9), rgba(11, 31, 54, 0.95)),
    url("https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&w=1600&q=80") center/cover;
  background-size: cover, 105%;
  animation: bannerBgPulse 12s ease-in-out infinite alternate;
  color: var(--white);
  padding: 48px 24px;
  margin: 40px auto 65px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.banner h3 {
  font-size: 34px;
  margin-bottom: 14px;
  width: 100%;
  text-align: center;
}

.banner p {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.65;
  text-align: center;
}

.page-hero {
  padding: 70px 0 30px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(33px, 4vw, 54px);
  margin-bottom: 10px;
}

.page-content {
  padding-bottom: 65px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid #cfd8e2;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 14px;
}

.contact-form textarea,
.admin-form textarea {
  min-height: 125px;
  resize: vertical;
}

.form-notice {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.form-notice.success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.form-notice.error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

.file-upload-label {
  display: block;
  margin: 4px 0 6px;
  font-weight: 600;
  color: var(--secondary);
}

.contact-form input[type="file"] {
  padding: 10px;
  background: #f7fafc;
}

.field-hint {
  font-size: 13px;
  color: #5a6b7d;
  margin: -6px 0 12px;
  line-height: 1.45;
}

.field-hint-details {
  margin: -4px 0 14px;
  font-size: 13px;
  color: #5a6b7d;
}

.field-hint-details summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.field-hint-details ol {
  margin: 8px 0 0 18px;
  padding: 0;
}

.quote-item {
  align-items: flex-start;
}

.admin-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  padding-bottom: 65px;
}

.admin-login {
  max-width: 440px;
  margin: 0 auto 48px;
  padding: 28px 24px 18px;
}

.admin-login h3 {
  margin-bottom: 16px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-logout-btn {
  background: #fff;
  color: var(--secondary);
  border: 1px solid #c9d8e8;
  flex-shrink: 0;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.admin-tab-btn {
  border: 1px solid #c9d8e8;
  background: #fff;
  color: var(--secondary);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  font-weight: 600;
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-products {
  display: grid;
  gap: 12px;
}

.category-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.category-item {
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-item {
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--white);
}

.admin-item img {
  width: 85px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.delete-btn {
  margin-left: auto;
  border: none;
  border-radius: 8px;
  padding: 8px 11px;
  background: #c10024;
  color: var(--white);
  cursor: pointer;
}

.admin-item-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.edit-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 11px;
  background: #006f95;
  color: var(--white);
  cursor: pointer;
}

.slide-delete-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 11px;
  background: #c10024;
  color: var(--white);
  cursor: pointer;
}

.admin-form label {
  display: block;
  margin: 8px 0 4px;
  font-weight: 600;
  color: var(--secondary);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  font-weight: 600;
}

.slide-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid #dbe4ee;
}

.slide-status {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.slide-status.active {
  background: #e6f7ee;
  color: #0f7a42;
}

.slide-status.passive {
  background: #fdecee;
  color: #a61b34;
}

.site-footer {
  background: #06203a;
  color: #d7e3ef;
  margin-top: 45px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-scale {
  transform: scale(0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.about-page {
  background: linear-gradient(180deg, #f7fbfd 0%, #eef6fa 45%, #f4f8fb 100%);
  padding-bottom: 40px;
}

.about-intro {
  text-align: center;
  padding: 48px 16px 28px;
}

.about-logo-wrap {
  display: inline-block;
  margin-bottom: 14px;
}

.about-logo {
  height: 72px;
  width: auto;
  max-width: min(420px, 92vw);
  object-fit: contain;
}

.about-slogan {
  font-size: clamp(18px, 2.6vw, 28px);
  color: #0b4f66;
  letter-spacing: 0.4px;
}

.about-slogan strong {
  color: #0095c8;
}

.about-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
}

.about-vm-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 18px 18px 20px;
}

.about-vm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.about-vm-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8f4f8;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.about-vm-head h2 {
  color: #0b4f66;
  font-size: clamp(22px, 2.5vw, 30px);
}

.about-vm-image {
  height: 150px;
  border-radius: 12px;
  margin-bottom: 14px;
  background-size: cover;
  background-position: center;
}

.vision-bg {
  background-image: linear-gradient(rgba(0, 111, 149, 0.25), rgba(0, 111, 149, 0.25)),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1200&q=80");
}

.mission-bg {
  background-image: linear-gradient(rgba(11, 31, 54, 0.25), rgba(11, 31, 54, 0.25)),
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1200&q=80");
}

.about-vm-card p {
  line-height: 1.75;
  color: #2c425a;
}

.about-showcase {
  padding: 0 4% 30px;
}

.about-showcase-img {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding-bottom: 50px;
}

.about-value {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 18px 12px;
  box-shadow: var(--shadow);
}

.about-value-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0095c8, #006f95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  animation: iconPulse 3s ease-in-out infinite;
}

.about-value h3 {
  color: #0b4f66;
  font-size: 15px;
  margin-bottom: 8px;
}

.about-value p {
  color: #435970;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .hero,
  .feature-grid,
  .products-grid,
  .cards-3,
  .cards-2,
  .contact-grid,
  .footer-grid,
  .admin-layout,
  .about-vm-grid,
  .about-values {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 4%;
    right: 4%;
    top: calc(100% + 8px);
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 1200;
  }

  .nav.open {
    display: flex;
    animation: navDrop 0.35s ease;
  }

  @keyframes navDrop {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav a {
    padding: 8px 6px;
  }

  .hero,
  .feature-grid,
  .products-grid,
  .cards-3,
  .cards-2,
  .contact-grid,
  .footer-grid,
  .admin-layout,
  .about-vm-grid,
  .about-values {
    grid-template-columns: 1fr;
  }

  .about-intro {
    padding-top: 34px;
  }

  .about-showcase-img {
    border-radius: 12px;
  }

  .site-header .container {
    position: relative;
    flex-direction: row;
    gap: 10px;
  }

  .banner {
    padding: 30px 22px;
  }

  .banner h3 {
    font-size: 28px;
  }

  .banner p {
    font-size: 15px;
  }

  .service-highlight {
    padding: 22px 18px;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-tabs {
    flex-direction: column;
  }

  .hero-slide-content {
    padding: 56px 0 84px;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .slider-prev {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }

  .hero-slider {
    min-height: 520px;
    margin-bottom: 16px;
  }

  .hero-slide-content {
    min-height: 520px;
    padding: 72px 0 96px;
    max-width: 100%;
  }

  .hero-slide::after {
    background: linear-gradient(180deg, rgba(6, 32, 58, 0.88) 0%, rgba(6, 32, 58, 0.72) 100%);
  }

  .hero-slide-content h1 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hero-slide-content p {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .hero-slide-content .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-slide-content .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .slider-dots {
    bottom: 14px;
  }

  .page-hero {
    padding: 48px 0 22px;
  }

  .page-hero h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-right: -4%;
    padding-right: 4%;
  }

  .category-chip {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .admin-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-item img {
    width: 100%;
    height: 160px;
  }

  .admin-item-actions {
    margin-left: 0;
    width: 100%;
  }

  .admin-item-actions .edit-btn,
  .admin-item-actions .delete-btn {
    flex: 1;
    margin-left: 0;
  }

  .admin-tab-btn {
    width: 100%;
    text-align: center;
  }

  .nav .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }

  .footer-grid {
    text-align: center;
  }

  .contact-form input,
  .contact-form textarea,
  .admin-form input,
  .admin-form textarea,
  .admin-form button {
    font-size: 16px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .slider-arrow {
    display: none;
  }

  .hero-slider,
  .hero-slide-content {
    min-height: 470px;
  }

  .logo {
    height: 38px;
    max-width: min(200px, 52vw);
  }
}
