/* --- VARIABLES --- */
:root {
  /* Industrial Palette */
  --color-bg: #ffffff;
  --color-bg-alt: #f4f4f4; /* Light grey for contrast sections */
  --color-text: #1a1a1a; /* Almost Black */
  --color-text-heading: #000000;

  --color-primary: #ff4500; /* Orange Red (International Orange) */
  --color-primary-hover: #cc3700;

  --color-border: #1a1a1a; /* Strict black borders */

  --color-white: #ffffff;

  /* Strict Geometry */
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-full: 0px;

  /* Fonts */
  --font-main: "Roboto", sans-serif;
  --font-heading: "Oswald", sans-serif;

  /* Layout */
  --container-width: 1280px;
  --header-height: 80px;

  /* Effects */
  --shadow-hard: 4px 4px 0px var(--color-border);
  --shadow-hover: 2px 2px 0px var(--color-border);
}

/* --- RESET & GLOBAL --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  text-transform: uppercase; /* Industrial look */
  letter-spacing: 0.5px;
  font-weight: 700;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  border-left: 1px dashed #e0e0e0; /* Grid guide lines */
  border-right: 1px dashed #e0e0e0;
  min-height: 100%;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-text);
  box-shadow: var(--shadow-hard);
  transition: all 0.2s ease;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-border);
}

.btn--primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--color-border); /* "Press" effect */
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-border);
}

.header__container {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Removed padding inside container to align with grid lines if needed, keeping standard padding */
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  background: transparent;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text-heading);
  letter-spacing: -0.5px;
}

.header__logo-img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--color-border);
  padding: 2px;
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__list {
  display: flex;
  gap: 40px;
}

.header__link {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text);
  position: relative;
}

/* Brutalist Hover Effect: Solid underline */
.header__link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--color-primary);
  transition: width 0.2s ease;
}

.header__link:hover::after {
  width: 100%;
}

.header__burger {
  display: none;
  background: none;
  border: 2px solid var(--color-border);
  padding: 8px;
  cursor: pointer;
  color: var(--color-text);
  box-shadow: 2px 2px 0 var(--color-border);
}

.header__burger:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.header__actions-mobile {
  display: none;
}

/* --- MAIN OFFSET --- */
.main {
  padding-top: var(--header-height); /* Offset for fixed header */
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-text); /* Black bg */
  color: var(--color-white);
  padding: 80px 0 0;
  margin-top: 100px;
  border-top: 4px solid var(--color-primary); /* Orange top border */
  border-radius: 0;
  box-shadow: none;
}

.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
  border-left: none; /* Reset container borders for footer if desired, or keep for consistency */
  border-right: none;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--color-white);
}

.footer__logo-img {
  width: 40px;
  height: 40px;
  background: var(--color-white); /* Invert logo bg for dark footer */
  padding: 2px;
}

.footer__tagline {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 300px;
  font-family: var(--font-main);
  line-height: 1.6;
}

.footer__title {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--color-primary); /* Orange titles */
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  display: inline-block;
  width: 100%;
}

.footer__title::after {
  display: none;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__link {
  font-size: 0.95rem;
  color: #cccccc;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.95rem;
  color: #cccccc;
}

.footer__icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.footer__bottom {
  background-color: #111;
  border-top: 1px solid #333;
  padding: 20px 0;
  text-align: center;
  border-left: none;
  border-right: none;
  width: 100%;
  max-width: 100%;
}

.footer__copyright {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .header__container {
    padding: 0 20px;
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- RESPONSIVE MOBILE MENU (INDUSTRIAL STYLE) --- */
@media (max-width: 768px) {
  /* 1. Хедер стає вужчим */
  .header__container {
    padding: 0 20px;
    height: 60px; /* Трохи менша висота для мобільного */
  }

  /* 2. Показуємо кнопку бургера */
  .header__burger {
    display: flex; /* Важливо: flex для центрування іконки */
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    cursor: pointer;
    z-index: 1002; /* Поверх всього */
    transition: background 0.2s;
  }

  .header__burger:active {
    background-color: var(--color-primary);
    color: white;
  }

  /* 3. Саме меню (виїжджаюча панель) */
  .header__nav {
    position: fixed;
    top: 60px; /* Висота мобільного хедера */
    right: 0;
    width: 100%;
    height: calc(100vh - 60px); /* Висота екрану мінус хедер */
    background-color: var(--color-white);

    /* Industrial look */
    border-left: none;
    border-top: 2px solid var(--color-border);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;

    /* Анімація приховання */
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.45, 0, 0.55, 1); /* Різка механічна анімація */
    z-index: 1001;
  }

  /* Клас, який JS додає для відкриття */
  .header__nav.is-open {
    transform: translateX(0);
  }

  /* Стилізація списку в меню */
  .header__list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
  }

  .header__link {
    font-size: 1.5rem; /* Великий шрифт для пальців */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Ховаємо десктопну кнопку, показуємо мобільну */
  .header__actions .btn {
    display: none;
  }

  .header__actions-mobile {
    display: block;
    margin-top: 40px;
    width: 80%;
  }

  .header__btn-mobile {
    width: 100%;
    height: 50px;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* --- HERO SECTION --- */
.hero {
  border-bottom: 2px solid var(--color-border);
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* Background Grid Pattern */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(var(--color-bg-alt) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-bg-alt) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  z-index: 0;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 650px; /* Високий перший екран */
  position: relative;
  z-index: 1;
  /* Видаляємо паддінги контейнера для цієї секції, щоб лінії йшли від краю до краю */
  padding: 0;
}

/* Vertical Divider Line */
.hero__content {
  border-right: 2px solid var(--color-border);
  padding: 80px 40px 60px 0; /* Padding only inside */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  width: fit-content;
}

.hero__status-icon {
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Typography */
.hero__title {
  font-size: 4rem; /* Giant text */
  line-height: 0.95;
  margin-bottom: 30px;
  word-break: break-word; /* Safety for German/Long words */
}

.hero__subtitle {
  font-size: 1.2rem;
  color: #444;
  max-width: 500px;
  margin-bottom: 50px;
  border-left: 4px solid var(--color-primary);
  padding-left: 20px;
}

/* Actions */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__info {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  gap: 4px;
}

.hero__info-label {
  color: #888;
}

.hero__info-val {
  color: var(--color-text);
  font-weight: 700;
}

/* Right Visual Side */
.hero__image-wrapper {
  flex: 1;
  position: relative;
  border-bottom: 2px solid var(--color-border);
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.2); /* Industrial feel */
  transition: filter 0.5s ease;
}

.hero__image-wrapper:hover .hero__img {
  filter: grayscale(0%) contrast(1);
}

.hero__overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+CjxwYXRoIGQ9Ik0yMCAwTDAgMjAiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMC41IiBmaWxsPSJub25lIiBvcGFjaXR5PSIwLjEiLz4KPC9zdmc+");
  z-index: 1;
  pointer-events: none;
}

.hero__tech-panel {
  height: 150px;
  background: var(--color-text); /* Black */
  display: flex;
}

.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  border-right: 1px solid #333;
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.hero__stat-desc {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 3rem;
  }

  .hero__container {
    grid-template-columns: 1fr;
    padding: 0 24px; /* Return padding for tablet */
  }

  .hero__content {
    border-right: none;
    padding: 60px 0;
    border-bottom: 2px solid var(--color-border);
  }

  .hero__visual {
    min-height: 400px;
  }
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 2.2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero__btn {
    width: 100%;
  }

  .hero__tech-panel {
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__stat {
    padding: 20px;
    min-width: 50%;
  }
}

/* --- METHODOLOGY (GRID SYSTEM) --- */
.methodology {
  padding: 100px 0;
  background-color: var(--color-bg);
  border-bottom: 2px solid var(--color-border);
}

.methodology__header {
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 30px;
}

.methodology__title {
  font-size: 3rem;
  line-height: 1;
  max-width: 600px;
}

.methodology__title .highlight {
  color: var(--color-primary);
  margin-right: 10px;
}

.methodology__desc {
  max-width: 400px;
  font-size: 1rem;
  color: #555;
  font-family: var(--font-main);
}

/* The Grid */
.methodology__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns strict */
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

.grid-item {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-right: 1px solid var(--color-border); /* Right borders only */
  border-bottom: 1px solid var(--color-border); /* Bottom borders only */
  transition: all 0.3s ease;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

/* Hover Effect: Invert Colors */
.grid-item:hover {
  background-color: var(--color-text);
  color: var(--color-white);
}

.grid-item__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto; /* Push content down */
}

.grid-item__idx {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: #999;
  letter-spacing: 1px;
}

.grid-item:hover .grid-item__idx {
  color: var(--color-primary); /* Orange on hover */
}

.grid-item__icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
  color: var(--color-primary);
}

.grid-item__title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

.grid-item:hover .grid-item__title {
  color: var(--color-white);
}

.grid-item__text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
}

.grid-item:hover .grid-item__text {
  color: #ccc;
}

/* Corner Marker Decor (Small triangles or squares in corners) */
.grid-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 10px 10px;
  border-color: transparent transparent var(--color-primary) transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-item:hover::after {
  opacity: 1;
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .methodology__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .methodology__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .methodology__title {
    font-size: 2.2rem;
  }

  .methodology__grid {
    grid-template-columns: 1fr;
  }
}

/* --- COURSES (REGISTRY LIST) --- */
.courses {
  padding: 100px 0;
  background-color: var(--color-bg-alt); /* Light grey background */
  border-bottom: 2px solid var(--color-border);
}

.courses__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 4px solid var(--color-text); /* Thick header line */
}

.courses__title {
  font-size: 3rem;
  line-height: 1;
}

.courses__stats {
  font-family: var(--font-heading); /* Monospace feel */
  font-size: 0.9rem;
  color: #666;
  display: flex;
  gap: 20px;
  text-transform: uppercase;
}

/* Course Row Styles */
.course-list {
  display: flex;
  flex-direction: column;
}

.course-row {
  display: grid;
  grid-template-columns: 100px 1fr 250px; /* Fixed ID, Fluid Content, Fixed Action */
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid #ccc;
  transition: all 0.2s ease;
  align-items: flex-start;
}

.course-row:hover {
  background-color: var(--color-white);
  padding-left: 20px; /* Slight shift right */
  padding-right: 20px;
  border-bottom: 1px solid var(--color-text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ID Column */
.course-row__id {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  padding-top: 6px;
}

/* Content Column */
.course-row__main {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.course-row__title {
  font-size: 2rem;
  text-transform: uppercase;
  margin: 0;
}

.course-row__desc {
  color: #555;
  max-width: 600px;
  font-size: 1rem;
}

.course-row__tags {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
}

/* Action Column */
.course-row__action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 10px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: gap 0.2s ease;
}

.btn-link i {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.course-row:hover .btn-link {
  gap: 15px; /* Arrow moves on hover */
  color: var(--color-primary);
}

/* Footer of section */
.courses__footer {
  margin-top: 60px;
  display: flex;
  gap: 10px;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
}

.link-underline {
  border-bottom: 2px solid var(--color-primary);
  font-weight: 700;
}

.link-underline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Responsive */
@media (max-width: 768px) {
  .courses__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .courses__title {
    font-size: 2.2rem;
  }

  .course-row {
    grid-template-columns: 1fr; /* Stack everything */
    gap: 20px;
    padding: 30px 0;
  }

  .course-row:hover {
    padding-left: 0;
    padding-right: 0;
  }

  .course-row__id {
    font-size: 0.9rem;
    color: #999;
  }

  .course-row__action {
    justify-content: flex-start;
  }

  .courses__footer {
    flex-direction: column;
    text-align: center;
  }
}

/* --- INNOVATIONS (ACCORDION) --- */
.innovations {
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-border);
}

.innovations__container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 600px;
  border-left: 1px solid var(--color-border); /* Grid line extension */
  border-right: 1px solid var(--color-border);
}

/* Left Sticky Side */
.innovations__left {
  padding: 80px 40px 80px 0;
  border-right: 2px solid var(--color-border);
  position: relative;
}

.innovations__title {
  font-size: 3.5rem;
  line-height: 0.9;
  margin-bottom: 30px;
}

.innovations__desc {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 90%;
}

.btn i {
  margin-left: 8px;
  width: 20px;
  height: 20px;
}

/* Right Accordion Side */
.innovations__accordion {
  display: flex;
  flex-direction: column;
}

.acc-item {
  border-bottom: 1px solid var(--color-border);
}

.acc-item:last-child {
  border-bottom: none;
}

/* Accordion Header */
.acc-item__header {
  display: flex;
  align-items: center;
  padding: 40px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  background-color: var(--color-white);
}

.acc-item__header:hover {
  background-color: var(--color-bg-alt);
}

.acc-item__num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-right: 30px;
}

.acc-item__title {
  font-size: 1.5rem;
  flex: 1; /* Pushes button to right */
  text-transform: uppercase;
}

.acc-item__btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Active State Styles */
.acc-item.active .acc-item__header {
  background-color: var(--color-text); /* Black bg */
}

.acc-item.active .acc-item__title {
  color: var(--color-white);
}

.acc-item.active .acc-item__btn {
  border-color: var(--color-white);
  color: var(--color-white);
  transform: rotate(45deg); /* Plus becomes X */
  background-color: var(--color-primary); /* Orange button */
  border-color: var(--color-primary);
}

/* Content Area */
.acc-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  background-color: var(--color-bg-alt);
}

.acc-item__inner {
  padding: 0 40px 40px 85px; /* Aligned with title text */
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .innovations__container {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .innovations__left {
    border-right: none;
    padding: 60px 0 40px;
    border-bottom: 2px solid var(--color-border);
  }
}

@media (max-width: 600px) {
  .innovations__title {
    font-size: 2.5rem;
  }

  .acc-item__header {
    padding: 25px 0;
  }

  .acc-item__inner {
    padding: 0 0 30px 0;
  }

  .acc-item__num {
    margin-right: 15px;
    font-size: 1rem;
  }

  .acc-item__title {
    font-size: 1.1rem;
  }
}

/* --- REVIEWS (DATA FEED) --- */
.reviews {
  padding: 100px 0;
  background-color: var(--color-bg);
  border-bottom: 2px solid var(--color-border);
  overflow: hidden; /* Hide outer overflow */
}

.reviews__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #999;
}

.reviews__title {
  font-size: 3rem;
  line-height: 1;
}

.reviews__controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.reviews__label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  background: #000;
  color: #fff;
  padding: 4px 8px;
  letter-spacing: 1px;
}

.reviews__arrows {
  display: flex;
  gap: 10px;
  color: var(--color-primary);
}

/* Horizontal Scroll Container */
.reviews__feed {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 40px; /* Space for scrollbar */
  scroll-behavior: smooth;

  /* Scrollbar Styling for Webkit */
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) var(--color-border);
}

.reviews__feed::-webkit-scrollbar {
  height: 6px;
}

.reviews__feed::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 0;
}

.reviews__feed::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: 0;
}

/* Review Card */
.review-card {
  min-width: 400px; /* Fixed width for cards */
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0 var(--color-primary);
}

.review-card__meta {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: #888;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.review-card__author {
  font-size: 1.25rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.review-card__text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  flex-grow: 1; /* Pushes footer down */
  margin-bottom: 20px;
}

.review-card__text strong {
  color: var(--color-primary);
  font-weight: 500;
}

.review-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.review-card__date {
  font-size: 0.8rem;
  color: #999;
}

.review-card__rating {
  display: flex;
  gap: 2px;
}

.review-card__rating i {
  width: 14px;
  height: 14px;
  fill: var(--color-primary);
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .reviews__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .reviews__title {
    font-size: 2.2rem;
  }

  .review-card {
    min-width: 280px; /* Narrower on mobile */
    padding: 20px;
  }
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 0;
  background-color: var(--color-text); /* Black Background for High Contrast */
  color: var(--color-white);
  position: relative;
}

/* Diagonal Background decoration */
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: #111;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.contact__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left Text */
.contact__info {
  border-left: 4px solid var(--color-primary);
  padding-left: 30px;
}

.contact__badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 8px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.contact__title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--color-white);
}

.contact__desc {
  color: #aaa;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 450px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: #ccc;
}

.contact__list i {
  color: var(--color-primary);
}

/* Form Styles */
.contact__form-wrapper {
  background-color: var(--color-white);
  padding: 50px;
  border: 2px solid var(--color-white); /* White border framing */
  position: relative;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #ddd;
  background: #fafafa;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--color-text);
  border-radius: 0; /* Strict square */
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 4px 4px 0 rgba(255, 69, 0, 0.2);
}

/* Error State */
.form-input.error {
  border-color: #ff0000;
  background-color: #fff0f0;
}

.error-msg {
  display: none;
  color: #ff0000;
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: 500;
}

.form-input.error + .error-msg {
  display: block;
}

/* Custom Checkbox (Industrial Style) */
.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  margin-bottom: 15px;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 24px;
  width: 24px;
  background-color: #eee;
  border: 2px solid #999;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

/* Checked state */
.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.custom-checkbox input:checked ~ .checkmark::after {
  content: "✓";
  color: white;
  font-weight: bold;
}

.label-text {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
}

.label-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Captcha Block specific */
.form-captcha {
  background: #f4f4f4;
  padding: 15px;
  border: 1px solid #ddd;
  margin-bottom: 25px;
}

.form-btn {
  width: 100%;
  margin-top: 10px;
  font-size: 1.1rem;
}

/* Success Overlay */
.form-success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.form-success.visible {
  opacity: 1;
  visibility: visible;
}

.success-content {
  text-align: center;
  padding: 40px;
}

.success-icon {
  width: 60px;
  height: 60px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.success-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.success-content p {
  margin-bottom: 30px;
  color: #666;
}

/* Responsive */
@media (max-width: 900px) {
  .contact::before {
    display: none;
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact__info {
    border-left: none;
    border-top: 4px solid var(--color-primary);
    padding-left: 0;
    padding-top: 30px;
  }

  .contact__title {
    font-size: 2.5rem;
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 30px; /* Industrial style: bottom left corner */
  width: 100%;
  max-width: 400px;
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  padding: 20px;
  z-index: 9999;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 20px;

  /* Animation start state */
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-popup.visible {
  transform: translateY(0);
}

.cookie-popup__content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.cookie-popup__icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.cookie-popup__text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
}

.cookie-popup__text a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-popup__btn {
  width: 100%;
  padding: 10px;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .cookie-popup {
    left: 0;
    bottom: 0;
    max-width: 100%;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
}

/* --- POLICY PAGES STYLING --- */
/* Target specific section class as requested */
.pages {
  padding: 120px 0 80px; /* Extra top padding for fixed header */
  background-color: var(--color-bg);
  min-height: 100vh;
}

.pages .container {
  max-width: 900px; /* Reading width */
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 60px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05);
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 4px solid var(--color-primary);
  text-transform: uppercase;
}

.pages h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-text-heading);
  display: flex;
  align-items: center;
}

.pages h2::before {
  content: "#";
  color: var(--color-primary);
  margin-right: 10px;
  font-weight: 400;
}

.pages p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444;
  text-align: justify;
}

.pages ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.pages ul li {
  list-style: none;
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.pages ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary); /* Square bullets */
}

.pages a {
  color: var(--color-primary);
  text-decoration: underline;
}

.pages a:hover {
  text-decoration: none;
  background-color: var(--color-primary);
  color: var(--color-white);
}

@media (max-width: 768px) {
  .pages .container {
    padding: 30px 20px;
    border: none;
    border-top: 1px solid var(--color-border);
  }

  .pages h1 {
    font-size: 2rem;
  }
}
