/* Material Design Stylesheet for ILSI.ru */
/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto", Arial, sans-serif;
  color: #212121;
  background-color: #fafafa;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  line-height: 1.3;
  color: #212121;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 1em;
  color: #424242;
}
a {
  color: #1565c0;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #0d47a1;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}
ul,
ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}
li {
  margin-bottom: 0.3em;
}
/* ===== Material Elevation (Shadows) ===== */
.elevation-1 {
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
}
.elevation-2 {
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.12);
}
.elevation-3 {
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.15),
    0 3px 6px rgba(0, 0, 0, 0.1);
}
/* ===== Top App Bar / Header ===== */
.app-bar {
  background-color: #1565c0;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.app-bar-inner {
  margin: 0 10px;
  display: flex;
  justify-content: space-between;
  height: 64px;
}
.app-bar-section {
  display: flex;
  height: 100%;
}
.app-bar .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 0 16px;
  text-decoration: none;
  color: #fff;
}
.app-bar .logo .logo-back {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #11fef8 0%, #1486cc 60%, #1486cc 100%);
  display: flex;
}
.app-bar .logo img {
  height: 40px;
  width: auto;
  margin: 1px 0 0 4px;
}
.app-bar .logo-text {
  font-family: "Russo One";
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.app-bar .login {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 16px;
}
.app-bar .login .material-icons {
  font-size: 30px;
}
.app-bar a.login {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  /* text-transform: uppercase; */
  /* letter-spacing: 0.5px; */
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.app-bar a.login:hover,
.app-bar a.login.active {
  background-color: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}
/* ===== Hamburger button ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 100%;
  padding: 0 16px;
  transition: background 0.2s;
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}
.menu-toggle .material-icons {
  font-size: 30px;
}
/* ===== Navigation Bar ===== */
.nav-bar {
  background-color: #0d47a1;
}
.nav-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-bar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  margin: 0;
}
.nav-bar li {
  margin: 0;
}
.nav-bar a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.nav-bar a:hover,
.nav-bar a.active {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}
/* ===== Hero Section (Home page) ===== */
.hero {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 60%, #1a237e 100%);
  color: #fff;
  padding: 60px 24px;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 16px;
}
.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 24px;
}
.hero .cta-btn {
  display: inline-block;
  background-color: #ff6f00;
  color: #fff;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.hero .cta-btn:hover {
  background-color: #e65100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}
/* ===== Main Content Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}
/* ===== Material Card ===== */
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
  padding: 24px;
  margin-bottom: 24px;
  transition: box-shadow 0.3s ease;
}
.card:hover {
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.12);
}
.card h2,
.card h3 {
  color: #1565c0;
  margin-bottom: 16px;
}
.card h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #ff6f00;
  margin-top: 8px;
  border-radius: 2px;
}
/* ===== Service Cards Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
  padding: 24px;
  text-align: center;
  transition:
    box-shadow 0.3s ease,
    transform 0.2s ease;
  text-decoration: none;
  color: #212121;
  display: block;
}
.service-card:hover {
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.15),
    0 3px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: #212121;
}
.service-card .material-icons {
  font-size: 48px;
  color: #1565c0;
  margin-bottom: 12px;
}
.service-card h3 {
  color: #212121;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.service-card h3::after {
  display: none;
}
.service-card p {
  font-size: 0.875rem;
  color: #757575;
}
/* ===== Content Layout (sidebar + main) ===== */
.content-layout {
  display: flex;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}
.content-main {
  flex: 1;
  min-width: 0;
}
/* ===== Tables ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
}
.data-table th {
  background-color: #e3f2fd;
  color: #1565c0;
  font-weight: 500;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.data-table td {
  padding: 12px 16px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.9rem;
}
.data-table tbody tr:hover {
  background-color: #f5f5f5;
}
/* ===== Price list ===== */
.price-list {
  list-style: none;
  padding: 0;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}
.price-list li:last-child {
  border-bottom: none;
}
.price-list .price {
  font-weight: 500;
  color: #1565c0;
  white-space: nowrap;
}
/* ===== Contact Info ===== */
.contact-info {
  background: #e3f2fd;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}
.contact-info dt {
  font-weight: 500;
  color: #1565c0;
  margin-top: 12px;
}
.contact-info dt:first-child {
  margin-top: 0;
}
.contact-info dd {
  margin-left: 0;
  padding: 4px 0;
  color: #424242;
}
/* ===== Photo Gallery / Images ===== */
.photo-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.photo-row img {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.figure {
  text-align: center;
  margin-bottom: 16px;
}
.figure img {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.figure figcaption,
.figure .caption {
  font-size: 0.85rem;
  color: #757575;
  margin-top: 8px;
  font-style: italic;
}
/* ===== Staff / Team Section ===== */
.team-member {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.team-member img {
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  max-width: 280px;
  flex-shrink: 0;
}
.team-member .info {
  flex: 1;
}
/* ===== News Items ===== */
.news-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
  align-items: flex-start;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item img {
  max-width: 125px;
  border-radius: 4px;
  flex-shrink: 0;
}
.news-item .news-date {
  font-size: 0.8rem;
  color: #757575;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-item .news-text {
  flex: 1;
}
/* ===== Footer ===== */
.footer {
  background-color: #263238;
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 24px;
  margin-top: 48px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer p {
  margin-bottom: 0.5em;
  color: #fff;
}
.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover {
  color: #fff;
  text-decoration: none;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer li {
  margin-bottom: 6px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
/* ===== Breadcrumbs ===== */
.breadcrumbs {
  padding: 12px 0;
  font-size: 0.85rem;
  color: #757575;
}
.breadcrumbs a {
  color: #1565c0;
}
.breadcrumbs span {
  margin: 0 4px;
}
/* ===== Page Title Banner ===== */
.page-banner {
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  color: #fff;
  padding: 40px 24px;
  text-align: center;
}
.page-banner.error {
  background: linear-gradient(135deg, #ff6f00, #e65100);
}
.page-banner h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
}
.page-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
  margin-bottom: 0;
}
/* ===== Chips / Tags ===== */
.chip {
  display: inline-block;
  background: #e3f2fd;
  color: #1565c0;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 2px;
}
/* ===== Material Button ===== */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background-color: #1565c0;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.btn-primary:hover {
  background-color: #0d47a1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: #fff;
}
.btn-primary:disabled {
  background-color:#757575;
}
.btn-outline {
  background: transparent;
  color: #1565c0;
  border: 2px solid #1565c0;
}
.btn-outline:hover {
  background-color: #e3f2fd;
  text-decoration: none;
}
.center-container {
  display: flex;
  justify-content: center;
}
/* ===== Divider ===== */
.divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 24px 0;
}
/* ===== Content Images ===== */
.content-img {
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  margin: 8px 0;
}
/* ===== Product display ===== */
.product-section {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.product-section .product-img {
  max-width: 300px;
  flex-shrink: 0;
}
.product-section .product-info {
  flex: 1;
  min-width: 250px;
}
/* ===== Account ===== */
.account-grid {
  display: grid;
  gap: 16px;
}
.account-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}
.account-row:last-child {
  border-bottom: 0;
}
.account-label {
  color: #5f6368;
  min-width: 180px;
  font-weight: 500;
}
.payment-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.payment-select {
  min-width: 250px;
  padding: 10px 12px;
  border: 1px solid #dadce0;
  border-radius: 8px;
}
.payment-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.payment-table td {
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}
.payment-table tr:last-child td {
  border-bottom: 0;
}
.payment-amount {
  text-align: left;
  font-weight: 500;
}
.account-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-bar ul {
    flex-direction: column;
  }
  .nav-bar {
    display: none;
  }
  .nav-bar.open {
    display: block;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .content-layout {
    flex-direction: column;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .team-member img {
    max-width: 200px;
  }
  .product-section {
    flex-direction: column;
    align-items: center;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .photo-row {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  .app-bar-inner {
    height: 56px;
    margin-right: 0;
  }
  .container,
  .content-layout {
    padding: 16px;
  }
  .card {
    padding: 16px;
    margin-bottom: 16px;
  }
  .page-banner {
    padding: 24px 16px;
  }
  .page-banner h1 {
    font-size: 1.5rem;
  }
  .hero {
    padding: 32px 16px;
  }
  .payment-amount {
    text-align: right;
  }
  .app-bar .login-text {
    display: none;
  }
}
/* ===== Error Pages ===== */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 48px 24px;
}
.error-page .error-code {
  font-size: 6rem;
  font-weight: 300;
  color: #1565c0;
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h1 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.error-page p {
  margin-bottom: 24px;
  color: #757575;
}
/* ===== Search page ===== */
.search-form {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.search-form input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: "Roboto", Arial, sans-serif;
  transition: border-color 0.2s;
}
.search-form input[type="password"] {
  padding: 12px 16px;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: "Roboto", Arial, sans-serif;
  transition: border-color 0.2s;
}
.search-form input:focus {
  outline: none;
  border-color: #1565c0;
  box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.2);
}
.search-form .btn {
  flex-shrink: 0;
}
/* ===== Highlight note ===== */
.note {
  background: #fff3e0;
  border-left: 4px solid #ff6f00;
  padding: 16px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  color: #424242;
}
.note strong {
  color: #e65100;
}
