/*==============================================================
  Industrious — полный CSS с дополнениями для формы заявок и логотипа
==============================================================*/

/*--------------------------------------------------------------
  Imports
--------------------------------------------------------------*/
@import url(font-awesome.min.css);
@import url("https://fonts.googleapis.com/css?family=Raleway:200,300,400,500,600");

/*--------------------------------------------------------------
  Reset & Base Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 13pt;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  -webkit-text-size-adjust: none;
  -ms-overflow-style: scrollbar;
  background: #ffffff;
  color: #444444;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  padding-top: 3.25rem;
}
@media screen and (max-width: 1680px) {
  html { font-size: 11pt; }
}
@media screen and (max-width: 980px) {
  html { font-size: 12pt; }
  body { padding-top: 44px; }
}
@media screen and (max-width: 480px) {
  html { font-size: 11pt; }
}
ul, ol { list-style: none; }
a {
  color: #d39c00;
  transition: color 0.2s ease-in-out;
  text-decoration: underline;
}
a:hover { text-decoration: none; }
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  color: #555555;
}
h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.25rem; line-height: 1.3; }
h3 { font-size: 1.25rem; }
@media screen and (max-width: 736px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 1.75rem; }
}
p { margin: 0 0 2rem; }
img { max-width: 100%; height: auto; border-radius: 4px; display: block; }

/*--------------------------------------------------------------
  Utility Classes
--------------------------------------------------------------*/
.inner {
  width: 75rem;
  max-width: calc(100% - 6rem);
  margin: 0 auto;
}
.wrapper {
  padding: 8rem 0 6rem;
}
@media screen and (max-width: 1280px) {
  .wrapper { padding: 4rem 0 2rem; }
}
@media screen and (max-width: 736px) {
  .wrapper { padding: 3rem 0 1rem; }
}
.highlights, .testimonials {
  display: flex;
  flex-wrap: wrap;
  margin: 2.5rem 0;
  width: 100%;
}
.highlights > *, .testimonials > * {
  padding: 1.5rem;
  width: 33.3333%;
}
@media screen and (max-width: 980px) {
  .highlights > *, .testimonials > * { width: 50%; }
}
@media screen and (max-width: 736px) {
  .highlights > *, .testimonials > * { width: 100%; }
}
.content {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 4px 1px rgba(0,0,0,0.025);
  height: 100%;
  padding: 3rem;
  text-align: center;
}
@media screen and (max-width: 980px) { .content { padding: 2rem; } }
@media screen and (max-width: 480px) { .content { padding: 1.5rem; } }
.icon {
  position: relative;
  border-bottom: none;
  text-decoration: none;
}
.icon:before {
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon > .label { display: none; }

/*--------------------------------------------------------------
  Fixed Header & Logo
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4rem;                   /* вместо 3.25rem */
  background: #111111;
  color: rgba(255,255,255,0.7);   /* чуть более яркий цвет */
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 4rem;              /* подогнано под новую высоту */
  padding: 0 2rem;                /* добавили отступы по бокам */
  z-index: 10001;
}

#header .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

#header .logo img {
  height: 3rem;      /* вместо 2rem */
  width: auto;
  margin-right: 1rem;/* больше отступ справа */
}

#header nav a {
  color: inherit;
  padding: 0 1rem;   /* увеличили кликабельную область */
  text-decoration: none;
  font-size: 1rem;   /* можно увеличить шрифт при необходимости */
}

#header nav a:hover {
  color: #ffffff;
}

#header nav a[href="#menu"]:before {
  content: "\f0c9";
  font-family: FontAwesome;
  margin-right: .5rem;
}

@media screen and (max-width:736px) {
  #header {
    padding: 0 1rem;  /* немного уменьшаем боковые отступы на мобильных */
    height: 3.5rem;
    line-height: 3.5rem;
  }
  #header .logo img {
    height: 2.5rem;
    margin-right: .75rem;
  }
  #header nav a {
    padding: 0 .75rem;
  }
}

/*--------------------------------------------------------------
  Slide-in Menu
--------------------------------------------------------------*/
#menu {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 20rem;
  max-width: 80%;
  padding: 3rem 2rem;
  background: #111111;
  color: rgba(255,255,255,0.5);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(20rem);
  transition: transform .5s ease, box-shadow .5s ease, visibility .5s;
  visibility: hidden;
  z-index: 10002;
}
#menu > ul.links li a {
  display: block;
  line-height: 3.5rem;
  color: inherit;
  border-top: 1px solid rgba(255,255,255,.25);
  text-decoration: none;
}
#menu > ul.links li:first-child a { border-top: 0; }
#menu > ul.links li a:hover { color: #ffffff; }
#menu .close {
  position: absolute;
  right: 0;
  top: 0;
  width: 7rem;
  height: 3.25rem;
  line-height: 3.25rem;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  text-align: right;
  padding-right: 1.25rem;
}
#menu .close:before {
  content: "\f00d";
  font-family: FontAwesome;
  font-size: 1.25rem;
}
#menu .close:hover { color: #ffffff; }
body.is-menu-visible #menu {
  transform: translateX(0);
  box-shadow: 0 0 1.5rem rgba(0,0,0,.2);
  visibility: visible;
}

/*--------------------------------------------------------------
  Banner Hero
--------------------------------------------------------------*/
#banner {
  position: relative;
  width: 100%;
  height: 35rem;
  min-height: 35rem;
  background: #111111 url("../images/banner.jpg") center/cover no-repeat;
  color: rgba(255,255,255,.5);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
#banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #111111;
  opacity: .45;
}
#banner:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,#d39c00 0%,#111111 74%);
  opacity: .6;
}
#banner .inner { position: relative; z-index: 2; }
#banner h1 { font-size: 4rem; margin-bottom: 1rem; color:#ffffff; }
#banner p { font-size: 1.5rem; color: rgba(255,255,255,.75); }
#banner video {
  position: absolute;
  right: 50%;
  bottom: 50%;
  transform: translate(50%,50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  overflow: hidden;
}
@media screen and (max-width:736px){
  #banner { height:auto; min-height:0; padding:4rem 2rem; }
  #banner h1{ font-size:1.75rem; margin-bottom:.5rem; }
  #banner p{ font-size:1.25rem; }
  #banner video{display:none;}
}

/*--------------------------------------------------------------
  Form Lead
--------------------------------------------------------------*/
.lead-form {
  max-width: 400px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 4px;
  font: inherit;
  resize: vertical;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: #d39c00;
  box-shadow: 0 0 0 1px #d39c00;
}
.lead-form button {
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  background: #d39c00;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.lead-form button:hover { background: #b88600; }

/* Privacy checkbox in lead form */
.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-align: left;
}

.privacy-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: #d39c00;
  cursor: pointer;
}

.privacy-checkbox label {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
}

.privacy-checkbox label a {
  color: #d39c00;
  text-decoration: underline;
}

.privacy-checkbox label a:hover {
  text-decoration: none;
}

/*--------------------------------------------------------------
  Highlights Grid
--------------------------------------------------------------*/
.highlights .content .icon { font-size: 5rem; margin-bottom: 1.5rem; color:#d39c00; }
.highlights .content h3 { margin-bottom: 1rem; }

/*--------------------------------------------------------------
  Call-to-Action Section
--------------------------------------------------------------*/
#cta {
  background: #d39c00 url(../images/cta01.jpg) bottom/cover no-repeat fixed;
  color: rgba(255,255,255,.75);
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 8rem 0 6rem;
}
#cta:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(206,27,40,.25);
}
#cta .inner { position: relative; z-index: 2; }
#cta h2 { color:#ffffff; margin-bottom:2rem; }
#cta p { color: rgba(255,255,255,.85); }
@media screen and (max-width:980px){
  #cta{ background-attachment:scroll; padding:4rem 0 2rem; }
}
/*==============================================================
  2) Восстанавливаем изначальные стили футера (как в оригинале)
==============================================================*/
#footer {
  background-color: #111111;
  color: rgba(255, 255, 255, 0.5);
  padding: 8rem 0 6rem 0;
}
#footer input, #footer select, #footer textarea {
  color: #ffffff;
}
#footer a {
  color: #d39c00 ;
}
#footer strong, #footer b {
  color: #ffffff;
}
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
  color: #ffffff;
}
#footer blockquote {
  border-left-color: rgba(255, 255, 255, 0.25);
}
#footer code {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.25);
}
#footer hr {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}
#footer input[type="submit"],
#footer input[type="reset"],
#footer input[type="button"],
#footer button,
#footer .button {
  background-color: transparent;
  box-shadow: inset 0 0 0 1px #ffffff;
  color: #ffffff !important;
}
#footer input[type="submit"]:hover,
#footer input[type="reset"]:hover,
#footer input[type="button"]:hover,
#footer button:hover,
#footer .button:hover {
  box-shadow: inset 0 0 0 1px #d39c00 ;
  color: #d39c00  !important;
}
#footer input[type="submit"].primary,
#footer input[type="reset"].primary,
#footer input[type="button"].primary,
#footer button.primary,
#footer .button.primary {
  box-shadow: none;
  background-color: #d39c00 ;
  color: #ffffff !important;
}
#footer input[type="submit"].primary:hover,
#footer input[type="reset"].primary:hover,
#footer input[type="button"].primary:hover,
#footer button.primary:hover,
#footer .button.primary:hover {
  background-color: #d39c00 ;
  box-shadow: none;
}
#footer label {
  color: #ffffff;
}
#footer input[type="text"],
#footer input[type="password"],
#footer input[type="email"],
#footer input[type="tel"],
#footer input[type="search"],
#footer input[type="url"],
#footer select,
#footer textarea {
  background-color: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.25);
}
#footer input[type="text"]:focus,
#footer input[type="password"]:focus,
#footer input[type="email"]:focus,
#footer input[type="tel"]:focus,
#footer input[type="search"]:focus,
#footer input[type="url"]:focus,
#footer select:focus,
#footer textarea:focus {
  border-color: #d39c00 ;
  box-shadow: 0 0 0 1px #d39c00 ;
}
#footer select {
  background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='rgba(255,255,255,0.25)'/></svg>");
  background-repeat: no-repeat;
  background-position: calc(100% - 1rem) center;
}
#footer ul.alt li {
  border-top-color: rgba(255,255,255,0.25);
}
#footer table tbody tr {
  border-color: rgba(255,255,255,0.25);
}
#footer table tbody tr:nth-child(2n+1) {
  background-color: rgba(255,255,255,0.075);
}
#footer table th {
  color: #ffffff;
}
#footer table thead {
  border-bottom-color: rgba(255,255,255,0.25);
}
#footer table tfoot {
  border-top-color: rgba(255,255,255,0.25);
}
#footer table.alt tbody tr td {
  border-color: rgba(255,255,255,0.25);
}
#footer .content section {
  /* восстановление flex-контейнера */
  display: flex;
  flex-direction: column;
}
#footer a:hover {
  color: #d39c00 ;
}
#footer .copyright {
  border-top: 1px solid;
  font-size: 0.8rem;
  opacity: 0.5;
  padding: 2rem 0;
  text-align: center;
}
/* Выравнивание и отступы заголовка */
#testimonials .special {
  text-align: center;
  margin-bottom: 4rem;
}
#testimonials .special h2 {
  font-size: 2.25rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
#testimonials .special p {
  max-width: 60%;
  margin: 0 auto 0;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.75);
}

/* Сетка отзывов */
#testimonials .testimonials {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0;
  gap: 1rem;
}
#testimonials .testimonials > section {
  flex: 1 1 calc(33.333% - 1rem);
}
@media screen and (max-width: 980px) {
  #testimonials .testimonials > section {
    flex: 1 1 calc(50% - 1rem);
  }
}
@media screen and (max-width: 736px) {
  #testimonials .testimonials > section {
    flex: 1 1 100%;
  }
}

/* Оформление отдельного отзыва */
#testimonials .content {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 4px 1px rgba(0,0,0,0.025);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#testimonials blockquote {
  font-style: italic;
  margin: 0 0 1.5rem;
  border-left: 0.5rem solid #d39c00;
  padding-left: 1rem;
}
#testimonials .author {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}
#testimonials .author .image {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  margin-right: 1rem;
}
#testimonials .author .image img {
  width: 100%;
  height: auto;
  border-radius: 100%;
}
#testimonials .credit {
  font-size: 0.9rem;
  color: #555555;
}
#testimonials .credit strong {
  color: #d39c00;
}
/*--------------------------------------------------------------
  FAQ Section Styles
--------------------------------------------------------------*/
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s;
}

.faq-question:after {
  content: "\f078"; /* FontAwesome chevron-down */
  font-family: FontAwesome;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s;
  color: #d39c00;
}

.faq-question.active {
  color: #d39c00;
}

.faq-question.active:after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.faq-answer.open {
  /* достаточно большого значения, чтобы вместить текст */
  max-height: 500px;
}

/* Responsive tweaks */
@media screen and (max-width: 480px) {
  .faq-question {
    font-size: 1rem;
  }
  .faq-answer {
    font-size: 0.9rem;
  }
}
/*--------------------------------------------------------------
  Services Page Styles
--------------------------------------------------------------*/

/* Общий контейнер */
#services {
  background: #f9f9f9;
  padding: 6rem 0 4rem;
}
#services .inner {
  max-width: 75rem;
  margin: 0 auto;
}

/* Заголовок секции */
#services .special {
  text-align: center;
  margin-bottom: 3rem;
}
#services .special h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}
#services .special p {
  font-size: 1rem;
  color: #666;
}

/* Сетка карточек услуг */
.services-grid {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) );
  gap: 2rem;
}

/* Оформление карточки */
.service-card {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Иконка и заголовок */
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: #d39c00;
}
.service-card h3 .icon {
  font-size: 1.8rem;
  margin-right: 0.75rem;
  color: #d39c00;
}

/* Список деталей */
.service-card ul {
  list-style: disc inside;
  margin-left: 1rem;
  color: #555;
}
.service-card ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Параграф перед списком */
.service-card p {
  color: #444;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Responsive */
@media screen and (max-width: 736px) {
  #services {
    padding: 3rem 0 2rem;
  }
  #services .special h2 {
    font-size: 2rem;
  }
  .service-card {
    padding: 1.5rem;
  }
}

/*--------------------------------------------------------------
  Services Page Styles
--------------------------------------------------------------*/

/* Общий контейнер */
#services {
  background: #f9f9f9;
  padding: 6rem 0 4rem;
}
#services .inner {
  max-width: 75rem;
  margin: 0 auto;
}

/* Заголовок секции */
#services .special {
  text-align: center;
  margin-bottom: 3rem;
}
#services .special h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}
#services .special p {
  font-size: 1rem;
  color: #666;
}

/* Сетка карточек услуг */
.services-grid {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) );
  gap: 2rem;
}

/* Оформление карточки */
.service-card {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Иконка и заголовок */
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: #d39c00;
}
.service-card h3 .icon {
  font-size: 1.8rem;
  margin-right: 0.75rem;
  color: #d39c00;
}

/* Список деталей */
.service-card ul {
  list-style: disc inside;
  margin-left: 1rem;
  color: #555;
}
.service-card ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Параграф перед списком */
.service-card p {
  color: #444;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Responsive */
@media screen and (max-width: 736px) {
  #services {
    padding: 3rem 0 2rem;
  }
  #services .special h2 {
    font-size: 2rem;
  }
  .service-card {
    padding: 1.5rem;
  }
}
/*==============================================================
  Company Page – дополнительные стили
==============================================================*/

/* ---------- Hero-баннер «#heading» ---------- */
#heading {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 6rem 0 5rem;
}
#heading:before {               /* лёгкая затемняющая плёнка */
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
#heading .inner {
  position: relative;
  z-index: 2;
}
#heading h1 {
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
#heading p { font-size: 1.15rem; }

/* ---------- About-текст ---------- */
#about p {
  font-size: 1rem;
  color: #555;
  text-align: justify;
}
#about strong { color: #d39c00; }

/* ---------- «Наши ценности» блок ---------- */
#values {
  background: #f9f9f9;
}
#values .highlights .content {
  transition: transform .25s, box-shadow .25s;
}
#values .highlights .content:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
#values .highlights h3 {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  color: #d39c00;
}
#values .highlights h3 .icon {
  font-size: 1.6rem;
  margin-right: .6rem;
}

/* ---------- Управляющая команда ---------- */
#team .highlights .content {
  padding: 2rem;
  text-align: center;
}
#team .highlights .image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
#team .highlights .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#team .highlights h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: #333;
}
#team .highlights p { font-size: 0.95rem; color: #666; }

/* ---------- Адаптивные правки ---------- */
@media screen and (max-width: 980px) {
  #heading { padding: 4rem 0 3rem; }
  #heading h1 { font-size: 2.2rem; }
}
@media screen and (max-width: 736px) {
  #heading h1 { font-size: 1.7rem; }
  #heading p   { font-size: 1rem; }
  #team .highlights .content { padding: 1.5rem; }
}

.slider .slides {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}

.slider .slide {
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.slider .slide img {
  flex: 1 1 calc((100% - 20px) / 3);
  max-width: calc((100% - 20px) / 3);
  height: auto;
  object-fit: cover;
  margin: 0 5px;
}

/*==============================================================
  Cookie Consent Banner
==============================================================*/
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 17, 17, 0.97);
  color: #fff;
  padding: 1.5rem 2rem;
  z-index: 10003;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  align-items: center;
  justify-content: center;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.cookie-content a {
  color: #d39c00;
}

.cookie-btn {
  background: #d39c00;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.cookie-btn:hover {
  background: #b88600;
}

@media screen and (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/*==============================================================
  Alert Messages
==============================================================*/
.alert {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/*==============================================================
  Auth Pages (Login/Register)
==============================================================*/
#auth {
  padding: 6rem 0;
  background: #f9f9f9;
}

.auth-container {
  max-width: 450px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-container .special {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-container .special h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.auth-container .special p {
  color: #666;
  font-size: 0.95rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.auth-form label {
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: #d39c00;
  box-shadow: 0 0 0 3px rgba(211, 156, 0, 0.15);
}

.auth-form .checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.auth-form .checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  color: #555;
  cursor: pointer;
}

.auth-form .checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #d39c00;
}

.auth-btn {
  padding: 1rem;
  border: none;
  border-radius: 4px;
  background: #d39c00;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.auth-btn:hover {
  background: #b88600;
}

.auth-btn:active {
  transform: scale(0.98);
}

.auth-links {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-links p {
  margin: 0;
  color: #666;
}

.auth-links a {
  color: #d39c00;
  font-weight: 500;
}

/*==============================================================
  Dashboard Page
==============================================================*/
#dashboard {
  padding: 6rem 0;
  background: #f5f5f5;
}

.dashboard-info {
  margin-bottom: 3rem;
}

.info-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  max-width: 500px;
}

.info-card h3 {
  color: #d39c00;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card p {
  margin-bottom: 0.5rem;
  color: #555;
}

.info-card strong {
  color: #333;
}

.applications-section {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

.applications-section h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.applications-section h3 i {
  color: #d39c00;
}

.table-responsive {
  overflow-x: auto;
}

.applications-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.applications-table th,
.applications-table td {
  padding: 1rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.applications-table th {
  background: #f9f9f9;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.applications-table tbody tr:hover {
  background: #fafafa;
}

.message-cell {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-новая {
  background: #e3f2fd;
  color: #1565c0;
}

.status-в-работе {
  background: #fff3e0;
  color: #ef6c00;
}

.status-завершена {
  background: #e8f5e9;
  color: #2e7d32;
}

.repeat-btn {
  background: transparent;
  border: 1px solid #d39c00;
  color: #d39c00;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.repeat-btn:hover {
  background: #d39c00;
  color: #fff;
}

.no-applications {
  text-align: center;
  padding: 4rem 2rem;
  color: #888;
}

.no-applications i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #ddd;
}

.no-applications p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background: #d39c00;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #b88600;
  color: #fff;
}

.quick-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  background: #d39c00;
  color: #fff;
}

.action-btn:hover {
  background: #b88600;
  color: #fff;
  transform: translateY(-2px);
}

.action-logout {
  background: #666;
}

.action-logout:hover {
  background: #444;
}

@media screen and (max-width: 768px) {
  .applications-table {
    font-size: 0.8rem;
  }
  
  .applications-table th,
  .applications-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .message-cell {
    max-width: 100px;
  }
}

/*==============================================================
  Privacy Policy Page
==============================================================*/
#privacy {
  padding: 6rem 0;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h3 {
  color: #d39c00;
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.privacy-content h3:first-child {
  margin-top: 0;
}

.privacy-content p {
  color: #555;
  line-height: 1.8;
  text-align: justify;
}

.privacy-list {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.privacy-list li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.privacy-content address {
  font-style: normal;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 6px;
  margin-top: 1rem;
}

.privacy-content address p {
  margin-bottom: 0.5rem;
}

.privacy-date {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #888;
}