/* Hymeri Elevators - Brand overrides & 3D elevator animation */

:root {
  --hymeri-primary: #006fba;
  --hymeri-accent: #FF6600;
  --hymeri-light: #f4f7fb;
}

.logo-area img,
.footer-top-wrapper .logo-area img {
  height: 48px;
  width: auto;
  max-width: 200px;
}

.footer-top-wrapper .logo-area img {
  height: 52px;
  max-width: 220px;
}

/* Banner backgrounds - elevator imagery */
.rts-banner-one.bg_image--1 {
  background-image: url(../images/hymeri/bg/banner-1.jpg) !important;
}
.rts-banner-one.bg_image--2 {
  background-image: url(../images/hymeri/bg/banner-2.jpg) !important;
}
.rts-banner-one.bg_image--3 {
  background-image: url(../images/hymeri/bg/banner-3.jpg) !important;
}

.rts-banner-one.bg_image {
  position: relative;
}

.rts-banner-one.bg_image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 28, 56, 0.88) 0%, rgba(0, 51, 102, 0.72) 45%, rgba(0, 51, 102, 0.35) 100%);
  z-index: 0;
}

.rts-banner-one .container {
  position: relative;
  z-index: 2;
}

.fun-facts-bg {
  background-image: url(../images/hymeri/bg/banner-2.jpg) !important;
  background-size: cover;
  background-position: center;
  position: relative;
}

.fun-facts-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 80, 0.85);
}

.fun-facts-bg .container {
  position: relative;
  z-index: 1;
}

/* Text logo when image logo unavailable */
.hymeri-logo-text {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--hymeri-primary);
  line-height: 1.15;
  text-decoration: none;
  display: inline-block;
}

.hymeri-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hymeri-accent);
}

.footer-one .hymeri-logo-text {
  color: #fff;
}

.footer-one .hymeri-logo-text span {
  color: rgba(255, 255, 255, 0.75);
}

/* OTIS partner badge */
.otis-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

/* Regional markets strip */
.regional-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
}

.regional-markets .market-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
}

.regional-markets .market-tag i {
  color: var(--hymeri-accent);
}

/* 3D Elevator showcase */
.hymeri-3d-section {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--hymeri-light) 0%, #fff 100%);
  overflow: hidden;
}

.hymeri-3d-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.elevator-3d-scene {
  perspective: 1200px;
  width: 220px;
  height: 380px;
  flex-shrink: 0;
}

.elevator-shaft {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: shaftGlow 4s ease-in-out infinite;
}

.elevator-shaft-frame {
  position: absolute;
  inset: 0;
  border: 3px solid #2a4a6b;
  border-radius: 6px;
  background: linear-gradient(180deg, #1a3352 0%, #0d1f33 100%);
  box-shadow: 0 25px 60px rgba(0, 51, 102, 0.35), inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.elevator-cabin {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 28%;
  background: linear-gradient(145deg, #c8d4e0 0%, #8fa3b8 50%, #6b8499 100%);
  border: 2px solid #4a6278;
  border-radius: 4px;
  transform-style: preserve-3d;
  animation: cabinMove 6s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.elevator-cabin::before,
.elevator-cabin::after {
  content: "";
  position: absolute;
  top: 15%;
  bottom: 15%;
  width: 42%;
  background: linear-gradient(135deg, rgba(200, 230, 255, 0.5) 0%, rgba(100, 140, 180, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.elevator-cabin::before {
  left: 6%;
}

.elevator-cabin::after {
  right: 6%;
}

.elevator-floor-indicator {
  position: absolute;
  top: 12px;
  right: -48px;
  width: 36px;
  height: 36px;
  background: var(--hymeri-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.elevator-ropes {
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 100%;
  pointer-events: none;
}

.elevator-ropes span {
  position: absolute;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #888 0%, #555 100%);
}

.elevator-ropes span:nth-child(1) {
  left: 20%;
}

.elevator-ropes span:nth-child(2) {
  right: 20%;
}

@keyframes cabinMove {
  0%,
  100% {
    top: 8%;
    transform: translateZ(20px);
  }
  50% {
    top: 62%;
    transform: translateZ(8px);
  }
}

@keyframes shaftGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

.hymeri-3d-copy {
  max-width: 520px;
}

.hymeri-3d-copy .pre {
  color: var(--hymeri-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.hymeri-3d-copy h3 {
  color: var(--hymeri-primary);
  margin: 0.5rem 0 1rem;
}

/* Banner with 3D element */
.banner-with-3d .row {
  align-items: center;
}

@media (min-width: 992px) {
  .banner-3d-col {
    display: flex;
    justify-content: flex-end;
    padding-right: 2rem;
  }

  .elevator-3d-scene.banner-size {
    width: 180px;
    height: 320px;
    opacity: 0.95;
  }
}

@media (max-width: 991px) {
  .banner-3d-col {
    display: none;
  }
}

.footer-one .footer-top-wrapper .logo-area img {
  filter: none;
}

.hymeri-phone-prefixes {
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hymeri-phone-prefixes a {
  color: inherit;
  text-decoration: none;
}

.hymeri-phone-prefixes a:hover {
  color: var(--hymeri-accent);
}

.single-blog-area-one .inner > .disc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5c6570;
  margin-bottom: 0.75rem;
}

/* Header top — single horizontal row (ul + corp logos) */
header.header-one .header-top-wrapper .right {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  min-width: 0;
}

header.header-one .header-top-wrapper .right .header-top-right-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  width: auto;
  max-width: 100%;
}

header.header-one .header-top-wrapper .right .header-top-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

header.header-one .header-top-wrapper .right .header-top-links li {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Hymeri Group — corporate nav (header top) */
header.header-one .header-top-wrapper .right .hymeri-corp-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
  padding-left: 1.25rem;
  border-left: 1px solid #d1d1d1;
  margin: 0;
}

.hymeri-corp-nav .corp-link {
  display: block;
  line-height: 0;
  opacity: 0.65;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hymeri-corp-nav .corp-link img {
  height: 26px;
  width: auto;
  max-width: 90px;
  color: #b5b5b5;
  filter: brightness(0) invert(0.75);
}

.hymeri-corp-nav .corp-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.hymeri-corp-nav .corp-link:hover img {
  filter: brightness(0) invert(1);
}

.corp-link--fade {
  animation: corpFadeIn 0.6s ease forwards;
  opacity: 0;
}

@keyframes corpFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 0.65;
    transform: translateY(0);
  }
}

/* Service cards — hover & reveal */
.hymeri-service-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.hymeri-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 51, 102, 0.12);
}

.hymeri-service-card .thumbnail img {
  transition: transform 0.6s ease;
  height: 400px;
}

.hymeri-service-card:hover .thumbnail img {
  transform: scale(1.05);
}

/* Why choose us */
.hymeri-why-area {
  background: linear-gradient(135deg, #f8fafc 0%, #eef4fa 100%);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hymeri-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.hymeri-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0, 111, 186, 0.08);
  font-weight: 500;
  color: #1a2b3c;
  box-shadow: 0 4px 16px rgba(0, 40, 80, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hymeri-why-list li:hover {
  transform: translateX(6px);
  border-color: rgba(255, 102, 0, 0.35);
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.08);
}

.hymeri-why-list li i {
  color: var(--hymeri-accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.hymeri-standards-list .single span {
  font-size: 0.95rem;
}

/* Elevate CTA */
.hymeri-elevate-cta {
  position: relative;
  overflow: hidden;
}

.hymeri-elevate-cta__inner {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hymeri-primary) 0%, #003d66 55%, #002848 100%);
  color: #fff;
  overflow: hidden;
}

.hymeri-elevate-cta__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.35) 0%, transparent 70%);
  top: -80px;
  right: -60px;
  animation: ctaGlowPulse 5s ease-in-out infinite;
  pointer-events: none;
}

.hymeri-elevate-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hymeri-elevate-cta .pre {
  position: relative;
  display: block;
  color: var(--hymeri-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.hymeri-elevate-cta .title {
  position: relative;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.hymeri-elevate-cta .disc {
  position: relative;
  max-width: 640px;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.hymeri-elevate-cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hymeri-stat-text {
  font-size: 2.5rem !important;
  line-height: 1.1;
}

.hymeri-stat-text--sm {
  font-size: 2rem !important;
}

/* Subtle float animation */
.hymeri-animate-float {
  animation: hymeriFloat 5s ease-in-out infinite;
}

@keyframes hymeriFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes ctaGlowPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Scroll-triggered stagger (JS adds .is-visible) */
.hymeri-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hymeri-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fun facts counter emphasis */
.single-fun-facts-one .inner {
  transition: transform 0.4s ease;
}

.single-fun-facts-one:hover .inner {
  transform: scale(1.04);
}

.hymeri-corp-nav--mobile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hymeri-corp-nav--mobile .corp-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

.hymeri-corp-nav--mobile .corp-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.hymeri-corp-nav--mobile .corp-links-row a img {
  height: 22px;
  width: auto;
  opacity: 0.7;
}

@media (max-width: 1199px) {
  header.header-one .header-top-wrapper .right .hymeri-corp-nav {
    display: none !important;
  }
}

@media (max-width: 575px) {
  header.header-one .header-top-wrapper {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  header.header-one .header-top-wrapper .right {
    width: 100%;
    justify-content: flex-start;
  }

  header.header-one .header-top-wrapper .right .header-top-right-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem 1rem;
  }
}

/* Nav mega panels — future-ready dropdown content */
header.header-one .hymeri-nav-mega.inner-page {
  min-width: 260px;
  padding: 18px 16px !important;
}

header.header-one .hymeri-nav-mega--wide.inner-page {
  min-width: 300px;
}

header.header-one .hymeri-nav-mega__intro {
  padding-bottom: 10px !important;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

header.header-one .hymeri-nav-mega__intro .mega-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hymeri-accent);
  margin-bottom: 0.35rem;
}

header.header-one .hymeri-nav-mega__intro .mega-desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

header.header-one .hymeri-nav-mega__intro .mega-desc,
header.header-one .hymeri-nav-mega__intro .mega-label {
  padding: 0 5px;
}

header.header-one .hymeri-nav-divider {
  height: 1px;
  margin: 8px 5px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.1);
  min-height: 1px;
}

header.header-one .hymeri-nav-mega__cta {
  margin-top: 8px;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

header.header-one .hymeri-nav-mega__cta .rts-btn {
  display: inline-block;
  padding: 0.45rem 1rem !important;
  font-size: 0.8rem;
  min-width: auto;
}

header.header-one .submenu.inner-page li a .nav-badge,
.mobile-menu .nav-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  vertical-align: middle;
  border-radius: 3px;
  background: rgba(255, 102, 0, 0.25);
  color: var(--hymeri-accent);
}

header.header-one .submenu.inner-page li a.menu-link--future {
  opacity: 0.72;
}

header.header-one .submenu.inner-page li a.menu-link--future:hover {
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.9) !important;
}

.mobile-menu .menu-link--future {
  opacity: 0.65;
}

@media (max-width: 767px) {
  .hymeri-elevate-cta__inner {
    padding: 2.5rem 1.25rem;
  }

  .hymeri-elevate-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hymeri-elevate-cta__actions .rts-btn {
    width: 100%;
    justify-content: center;
  }
}
