/* Floating social buttons */
.floating-social-buttons {
  position: fixed;
  right: 32px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  pointer-events: none;
}

.floating-social-buttons__link {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 20px 45px -25px rgba(15, 23, 42, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  pointer-events: auto;
}

.floating-social-buttons__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-social-buttons__link:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 25px 55px -25px rgba(15, 23, 42, 0.8);
}

@media (max-width: 768px) {
  .floating-social-buttons {
    right: 16px;
    bottom: 80px;
    gap: 10px;
  }

  .floating-social-buttons__link {
    width: 52px;
    height: 52px;
  }
}

/* Maintenance page */
.maintenance-body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0b172a;
  color: #0f172a;
}

.maintenance {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(112, 198, 212, 0.08), transparent 35%), radial-gradient(circle at 80% 0%, rgba(112, 198, 212, 0.06), transparent 30%), #0b172a;
}

.maintenance__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 29, 0.15) 0%, rgba(4, 7, 29, 0.75) 100%), url('../img/bg2.webp') center/cover no-repeat;
  filter: blur(8px);
  transform: scale(1.05);
  opacity: 0.8;
}

.maintenance__card {
  position: relative;
  max-width: 760px;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 22px;
  padding: 34px 36px 30px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(4px);
  border-top: 5px solid #70C6D4;
  color: #0f172a;
}

.maintenance__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(112, 198, 212, 0.16);
  color: #70C6D4;
  font-weight: var(--font-weight-bold);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(112, 198, 212, 0.15);
  letter-spacing: 0.01em;
}

.maintenance__badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #70C6D4;
  box-shadow: 0 0 0 6px rgba(112, 198, 212, 0.18);
}

.maintenance__title {
  margin: 18px 0 12px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: var(--font-weight-bold);
  color: #101828;
}

.maintenance__message {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #475467;
}

.maintenance__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.maintenance__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.1);
  color: #0f172a;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.maintenance__chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.maintenance__chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(112, 198, 212, 0.16);
  color: #70C6D4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.maintenance__chip-icon svg {
  display: block;
}

.maintenance__chip-text {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .maintenance__card {
    padding: 28px 22px 24px;
    border-radius: 18px;
  }

  .maintenance__title {
    font-size: 26px;
  }

  .maintenance__message {
    font-size: 16px;
  }

  .maintenance__chip {
    width: 100%;
    justify-content: center;
  }
}


/* Team Slider Section */
.structure-section.team-section {
  padding: 0px 32px;
  background: #f5f7fb;
  position: relative;
}

.team-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.team-track-wrap {
  position: relative;
  overflow: hidden;
  /* border-radius: 28px; */
  background: transparent;
  /* border: 1px solid rgba(15, 23, 42, 0.08); */
  cursor: grab;
  touch-action: pan-y;
}

.team-track-wrap:active {
  cursor: grabbing;
}

.team-track {
  display: flex;
  will-change: transform;
}

.team-slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 520px;
  background: transparent;
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.team-slide__content {
  position: relative;
  padding: 120px 56px 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.team-label {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-light);
}

.team-story {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  color: var(--dark);
}

.team-story p {
  margin: 0;
  font-size: var(--font-size-h5);
  overflow: hidden;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-name {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  color: var(--dark);
}

.team-role {
  font-size: 15px;
  color: var(--text-light);
}

.team-since {
  font-size: 13px;
  color: var(--text-light);
  opacity: 0.85;
}

.team-more {
  position: relative;
  width: fit-content;
  margin-top: auto;
}

.team-contact-card {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  width: min(100%, 468px);
}

.team-contact-card--no-qr {
  padding-left: 0;
  border: none;
  background: transparent;
}

.team-contact-card__qr {
  flex: 0 0 192px;
  width: 192px;
  height: 192px;
  overflow: hidden;
}

.team-contact-card__qr img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.team-contact-card__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.team-contact-card__link {
  word-break: break-word;
  font-size: 16px;
  line-height: 1.4;
}

.team-slide__photo {
  min-height: 600px;
  background-color: #e2e8f0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.team-controls {
  display: flex;
  gap: 10px;
  z-index: 2;
}

.team-slider > .team-slider__controls {
  position: absolute;
  top: 56px;
  left: 56px;
}

.team-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-nav:hover {
  background: var(--primary);
  color: #fff;
}

.team-nav:disabled {
  opacity: 1;
  cursor: not-allowed;
  color: #94a3b8;
  border-color: #cbd5e1;
  background: #f8fafc;
  box-shadow: none;
}

.team-empty {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  border-radius: 24px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-light);
}

.team-empty__label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--primary);
}

.services-grid .team-empty,
.equipment-grid .team-empty,
.experience-grid .team-empty,
.projects-grid .team-empty,
.all-cases-grid .team-empty,
.news-grid .team-empty {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
}

.equipment-grid,
.services-grid {
  max-width: 1200px;
}

.services-grid .team-empty,
.equipment-grid .team-empty {
  flex: 0 0 100%;
  margin: 0 auto;
}

/* Team Modal */
.team-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(15, 23, 42, 0.7);
  z-index: 1000;
  overflow-y: auto;
}

.team-modal.active {
  display: flex;
}

.team-modal__backdrop {
  position: absolute;
  inset: 0;
}

.team-modal__dialog {
  position: relative;
  background: #fff;
  /* border-radius: 20px; */
  max-width: 560px;
  width: min(92vw, 560px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  z-index: 1;
  margin: auto;
}

.team-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-modal__close:hover {
  background: rgba(15, 23, 42, 0.15);
  transform: rotate(90deg);
}

.team-modal__image {
  width: 100%;
  background: #f1f5f9;
  overflow: hidden;
}

.team-modal__image img {
  width: 100%;
  height: 384px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-modal__body {
  padding: 22px 26px 26px;
}

.team-modal__name {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  margin: 0 0 6px;
  color: var(--dark);
}

.team-modal__role {
  margin: 0 0 16px;
  color: var(--text-light);
}

.team-modal__since {
  margin: -10px 0 16px;
  color: var(--text-light);
  font-size: 14px;
}

.team-modal__text {
  color: #1e293b;
  line-height: 1.6;
}

.team-modal__text p {
  margin: 0 0 12px;
}

.team-modal__text p:last-child {
  margin-bottom: 0;
}

/* Project single */
.project-single {
  background: var(--bg);
  color: var(--text);
}

/* Projects & About pages */
.projects-page,
.about-page {
  background: var(--bg);
  color: var(--text);
}

.page-hero {
  position: relative;
  min-height: 95vh;
  color: #fff;
  background: #0f172a;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 55%, rgba(15, 23, 42, 0.15) 100%);
  z-index: 1;
}

.page-hero .grid-pattern {
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
}

.page-hero__overlay {
  position: relative;
  z-index: 2;
  padding: 150px 8vw 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-hero__title {
  margin: 0;
  color: var(--bg);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  text-shadow: 0 14px 28px rgba(15, 23, 42, 0.5);
}

.page-hero__subtitle {
  margin: 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-body);
  line-height: 1.6;
}

.page-hero .project-breadcrumbs {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumbs-delimiter {
  color: rgba(255, 255, 255, 0.45);
}

.page-hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.page-hero__nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  transition: all 0.2s ease;
}

.page-hero__nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.projects-page .news-hero__overlay {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 120px 8vw;
}

.projects-page .projects-page-hero__content {
  width: 100%;
}

.projects-types {
  padding: 24px 8vw 0;
  background: var(--bg);
}

.projects-types__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.projects-types__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-light);
  background: #fff;
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 14px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
