/* Video Background Hero Section */
.hero-video-layout {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay to ensure text readability */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Ensure hero content is above the video */
.hero-video-layout > .container {
  position: relative;
  z-index: 2;
}

/* Mobile optimization for video */
@media (max-width: 768px) {
  .hero-video-layout {
    min-height: 80vh;
  }
  
  .hero-video-background video {
    object-fit: cover;
  }
}

/* Performance: Pause video on mobile for better performance */
@media (max-width: 576px) {
  .hero-video-background video {
    /* Video can still play on mobile, but consider reducing quality */
  }
}
.site-logo {
  display: block;
  max-width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

.site-logo--loader {
  width: 76px;
  margin: 0 auto;
}

.brand-text-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-text-logo__mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  flex-shrink: 0;
}

.site-logo--header {
  width: 74px;
}

.brand-text-logo__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text-logo__copy strong {
  color: var(--primary-color);
  font-size: 22px;
  line-height: 1.1;
}

.brand-text-logo__copy span {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.3;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn {
  border: 0;
  min-width: 50px;
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.3s ease-in-out;
}

.lang-btn.is-active,
.lang-btn:hover {
  background: #ec7c30;
}

.hero-slider-image::after {
  background: linear-gradient(90deg, rgba(14, 14, 14, 0.88) 0%, rgba(14, 14, 14, 0.56) 42%, rgba(14, 14, 14, 0.2) 100%);
}

.hero-content .section-title h1 span,
.section-title h2 span {
  color: #ec7c30;
}

.service-item,
.about-owner-box,
.why-choose-box {
  height: 100%;
}

.service-item .service-content p {
  min-height: 84px;
}

.service-btn .readmore-btn {
  cursor: pointer;
}

.about-owner-signature--text {
  width: auto;
  height: auto;
}

.about-owner-signature--text span {
  display: inline-block;
  color: #ec7c30;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.request-quote-form--info {
  padding-top: 8px;
}

.contact-info-card p,
.contact-info-list {
  color: var(--text-color);
}

.contact-info-list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.contact-info-list li {
  margin-bottom: 14px;
}

.contact-info-list strong {
  color: var(--primary-color);
}

.footer-logo--text {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo--text span {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.site-logo--footer {
  width: 72px;
  flex-shrink: 0;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 14, 30, 0.72);
  backdrop-filter: blur(8px);
}

.quote-modal__dialog {
  position: relative;
  width: min(1180px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.quote-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: var(--primary-color);
  font-size: 20px;
  z-index: 2;
}

.quote-modal__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(90deg, #2f72dc 0%, #5084df 100%);
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.quote-tab {
  border: 0;
  padding: 28px 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 26px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.quote-tab.is-active {
  background: #ffffff;
  color: #151515;
}

.quote-modal__content {
  padding: 64px 96px 56px;
}

.quote-modal__content h2 {
  margin: 0 0 16px;
  color: #1c2430;
  font-size: clamp(36px, 4vw, 54px);
}

.quote-modal__lead {
  max-width: 980px;
  margin: 0 0 36px;
  color: #2b3240;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.4;
}

.quote-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-field--full {
  grid-column: 1 / -1;
}

.quote-field label {
  color: #1f2430;
  font-size: 16px;
  font-weight: 600;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  min-height: 74px;
  border: 1px solid #d7dde7;
  border-radius: 16px;
  padding: 18px 22px;
  color: #222a35;
  font-size: 18px;
  background: #ffffff;
}

.quote-field textarea {
  min-height: 150px;
  resize: vertical;
}

.quote-form__submit {
  width: 100%;
  margin-top: 30px;
  min-height: 84px;
  border: 0;
  font-size: 24px;
  font-weight: 600;
}

.quote-form__status {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  display: none;
}

.quote-form__status.is-visible {
  display: block;
}

.quote-form__status.is-success {
  background: #e9f8ef;
  color: #166534;
  border: 1px solid #b7e4c7;
}

.quote-form__status.is-error {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

body.quote-modal-open {
  overflow: hidden;
}

@media only screen and (max-width: 991px) {
  .header-actions {
    display: none;
  }

  .brand-text-logo__copy span {
    display: none;
  }

  .quote-modal__content {
    padding: 56px 28px 32px;
  }

  .quote-tab {
    font-size: 20px;
    padding: 22px 14px;
  }

  .quote-form__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media only screen and (max-width: 767px) {
  .brand-text-logo__mark {
    width: 58px;
    height: 58px;
  }

  .brand-text-logo__copy strong {
    font-size: 18px;
  }

  .site-logo--header,
  .site-logo--footer {
    width: 58px;
  }

  .quote-modal {
    padding: 10px;
  }

  .quote-modal__dialog {
    border-radius: 18px;
  }

  .quote-modal__tabs {
    grid-template-columns: 1fr;
  }

  .quote-tab {
    font-size: 18px;
    padding: 18px 14px;
  }

  .quote-modal__content h2 {
    font-size: 32px;
  }

  .quote-modal__lead {
    font-size: 18px;
  }

  .quote-field input,
  .quote-field select,
  .quote-field textarea {
    min-height: 62px;
    font-size: 16px;
  }

  .quote-form__submit {
    min-height: 66px;
    font-size: 20px;
  }

  .service-item .service-content p {
    min-height: 0;
  }
}
