:root {
  --bg: #1b1b1b;
  --text: #ffffff;
  --muted: #e0e0e0;
  --accent: #ff3b3b;
  --card-radius: 15px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 100px;
  padding-right: 100px;
  width: 100%;
}

.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 220;
  width: 100%;
  background: rgba(30, 30, 30, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.header-wrapper.hide {
  transform: translateY(-120%);
}

.header {
  padding-top: 25px;
  padding-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 6px;
}

.logo:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 4px;
}

.anchor {
  height: 1.8rem;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 1.1rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: #ffd700;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.burger-line {
  width: 28px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 180;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.text-container {
  position: relative;
  z-index: 2;
  top: 22%;
}

.title {
  font-size: 4rem;
  font-weight: 700;
  max-width: 900px;
}

.description {
  color: rgba(240, 240, 240, 0.9);
  font-size: 1.6rem;
  margin-top: 1rem;
}

.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.4);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.slider-btn:disabled {
  cursor: default;
  opacity: 0.35;
}

.dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

.info-section {
  padding-bottom: 100px;
  scroll-margin-top: 90px;
}

.info-section-header {
  margin-top: 6rem;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1000px;
  margin: 8rem auto;
  text-align: center;
  gap: 20px;
}

.stat-item {
  flex: 1;
}

.stat-title {
  color: var(--accent);
  font-size: 2.8rem;
  font-weight: 700;
}

.stat-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 10px;
}

.works-section {
  text-align: center;
  margin-top: 6rem;
}

.works-title {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.works-subtitle {
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 30px;
}

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

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

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

.card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 450px;
}

.panel-card {
  height: 420px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
}

.card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 25px;
  text-align: left;
}

.card-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-description {
  font-size: 1rem;
  line-height: 1.4;
  color: #f0f0f0;
}

.is-hidden-toggle {
  display: none;
}

.works-toggle-wrap {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.works-toggle-btn {
  background-color: #ef6400;
  color: #fff;
  border: none;
  padding: 14px 54px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.works-toggle-btn:hover {
  background-color: #ff7300;
}

.works-toggle-btn.is-hidden {
  display: none;
}

.docs-section {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.feedback-section {
  margin-bottom: 5rem;
  margin-top: 10rem;

}

.feedback-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid #2f2f2f;
  border-radius: 14px;
  background: #1f1f1f;
}

.feedback-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

.feedback-subtitle {
  margin-top: 12px;
  color: #bfbfbf;
  text-align: center;
  line-height: 1.5;
}

.feedback-form {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.feedback-field {
  display: grid;
  gap: 8px;
}

.feedback-field-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feedback-label {
  color: #f3f3f3;
  font-size: 0.95rem;
}

.feedback-input {
  width: 100%;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  padding: 12px 14px;
  background: #151515;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.feedback-input:focus {
  border-color: #ef6400;
}

.feedback-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

.feedback-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d8d8d8;
  font-size: 0.95rem;
  line-height: 1.4;
}

.feedback-consent input {
  margin-top: 2px;
  cursor: pointer;
}

.feedback-consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feedback-status {
  min-height: 22px;
  color: #d8d8d8;
  font-size: 0.95rem;
  line-height: 1.45;
}

.feedback-status-success {
  color: #7ddc8b;
}

.feedback-status-error {
  color: #ff8a8a;
}

.feedback-submit {
  background-color: #ef6400;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.feedback-submit:hover {
  background-color: #ff7300;
}

.feedback-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.docs-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
  text-align: center;
}

.docs-grid {
  gap: 40px;
}

.doc-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  cursor: zoom-in;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-card:hover,
.doc-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.doc-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.doc-card:hover .doc-image,
.doc-card:focus-within .doc-image {
  transform: scale(1.03);
}

.doc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.doc-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.doc-lightbox-content {
  width: min(92vw, 1100px);
  max-height: 88vh;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.doc-lightbox-image {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.doc-lightbox-caption {
  color: #f0f0f0;
  font-size: 1rem;
  text-align: center;
}

.doc-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.75);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.doc-lightbox-close:hover,
.doc-lightbox-close:focus-visible {
  background: #ef6400;
  border-color: #ef6400;
  outline: none;
}

.footer {
  background-color: #1a1a1a;
  color: #c7c7c7;
  padding: 50px 0;
  border-top: 1px solid #333;
}

.footer-content {
  padding-top: 0;
  padding-bottom: 0;
}

.logo-section {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo {
  height: 35px;
  margin-right: 15px;
}

.company-name {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}

.links-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr 2fr;
  gap: 40px;
}

.footer-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-link,
.address {
  display: block;
  color: #c7c7c7;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-link:hover {
  color: #fff;
}

.about-column {
  padding-left: 20px;
}

.about-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #a0a0a0;
}

@media (max-width: 1050px) {
  .container {
    padding-left: 50px;
    padding-right: 50px;
  }

  .title {
    font-size: 3rem;
  }

  .description {
    font-size: 1.2rem;
  }

  .info-section-header {
    font-size: 1.8rem;
    padding: 0 20px;
  }

  .stat-title {
    font-size: 2rem;
  }

  .works-title {
    font-size: 2.8rem;
  }

  .works-subtitle {
    font-size: 1.2rem;
  }

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

  .feedback-card {
    padding: 28px;
  }

  .links-section {
    grid-template-columns: 1fr 1fr;
  }

  .about-column {
    grid-column: 1 / -1;
    padding-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 700px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    max-width: 320px;
    height: 100vh;
    background: rgba(30, 30, 30, 0.97);
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 150;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 1.3rem;
  }

  .text-container {
    top: 28%;
  }

  .title {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
    max-width: 75vw;
  }

  .feedback-card {
    padding: 22px 16px;
  }

  .feedback-title {
    font-size: 1.6rem;
  }

  .feedback-subtitle {
    font-size: 0.95rem;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin: 5rem auto;
  }

  .grid-2,
  .grid-3,
  .links-section {
    grid-template-columns: 1fr;
  }

  .card,
  .panel-card {
    height: 330px;
  }

  .doc-lightbox {
    padding: 16px;
  }

  .doc-lightbox-close {
    top: 12px;
    right: 12px;
  }

  .doc-lightbox-content {
    width: 100%;
  }

  .company-name {
    font-size: 1.4rem;
  }

  .footer-title {
    margin-top: 20px;
  }
}
