/* Shared corporate presentation. Loaded after the legacy theme and page styles. */
.corporate-site {
  --header-height: 88px;
  --rule: #dfe6ec;
  --muted: #55646f;
  color: #202a33;
  line-height: 1.7;
}
.corporate-site .main-wrapper { overflow: clip; }
.corporate-site #navbar-container { height: var(--header-height); }
.corporate-site #navbar-container header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-height);
  background: #000;
  transition: box-shadow .2s ease;
}
.corporate-site header .navbar-default,
.corporate-site header.scrollHeader .navbar-default {
  position: static;
  background: #000;
  box-shadow: none;
  animation: none;
  border-color: #293038 !important;
}
.corporate-site header.scrollHeader { box-shadow: 0 4px 20px #0002; }
.corporate-site header .navbar { min-height: var(--header-height); gap: 24px; }
.corporate-site header .navbar-header-custom { padding: 0; }
.corporate-site header .navbar-brand { margin: 0; }
.corporate-site header #logo { height: 44px !important; max-width: 200px; object-fit: contain; }
.corporate-site header .navbar-nav > li { margin: 0; }
.corporate-site header .navbar-nav > li > a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .015em;
  text-transform: none;
  padding: 30px 16px;
}
.corporate-site header .navbar-nav > li > a::after {
  height: 2px; bottom: 19px; background: var(--primary-color); animation: none;
}
.corporate-site header .attr-nav { margin-left: auto !important; }
.corporate-site header .attr-nav > ul > li > a.btn-style1 { color: #fff; background: var(--primary-color); padding: 13px 20px; }
.corporate-site .language-switcher { margin: 0; }
.corporate-site .language-switcher-btn {
  min-height: 44px; padding: 10px 12px; border-radius: 0;
  background: transparent; border: 1px solid #4c535a; color: #fff;
  box-shadow: none;
}
.corporate-site .language-dropdown { border-radius: 0; }
.corporate-site .top-position1 { margin-top: 0; }
.corporate-site :is(a, button, input, textarea, select):focus-visible { outline: 2px solid var(--primary-color); outline-offset: 4px; }
.corporate-site :is(.btn-style1, .card, .rounded, .rounded-top, .rounded-bottom, .form-control, .quform-input input, .quform-input textarea, .quform-input select, .navbar-toggler) { border-radius: 0 !important; }
.corporate-site .btn-style1 { font-weight: 600; letter-spacing: .01em; padding: 16px 26px; }
.corporate-site .btn-style1::before { border-radius: 0; }
/* The header and hero share one viewport. Flex stretch gives every slide the
   height of its tallest translation, so small screens and zoom never clip copy. */
.home-page .hero { background: #000; height: auto; min-height: 0; }
.home-page .hero .slider-fade1 { height: auto !important; min-height: 0 !important; }
.home-page .hero .owl-stage { display: flex; }
.home-page .hero :is(.owl-stage-outer, .owl-stage, .owl-item, .owl-item > .item) { height: auto; }
.home-page .hero .owl-item { display: flex; float: none; flex-shrink: 0; }
.home-page .hero .item { width: 100%; display: flex; background-position: 65% center; }
.home-page .hero .item::before { background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.68) 46%, rgba(0,0,0,.16)); opacity: 1; }
.home-page .hero .item > .container { justify-content: center; }
.home-page .hero-row {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  align-items: center;
  padding-block: clamp(48px, 7vh, 100px) 110px;
}
.home-page .hero-copy { text-align: left; position: relative; padding: 0; }
.home-page .hero-eyebrow { display: flex; gap: 16px; align-items: center; margin-bottom: 26px; font-size: 12px; letter-spacing: .16em; font-weight: 600; color: #fff; }
.home-page .hero-eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--primary-color); }
.home-page .hero-eyebrow > span { color: #b6c3cf; }
.home-page .hero h1 { font-size: clamp(34px, 4.1vw, 68px); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; max-width: 950px; }
.home-page .hero h1 .text-primary { color: #1a7cff !important; }
.home-page .hero p { max-width: 640px; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.65; margin: 24px 0 30px !important; }
/* Keep text steady while Owl crossfades the complete slide. */
.home-page .hero .hero-copy .animated { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .home-page .hero .owl-item.animated {
    animation-duration: 350ms;
    animation-timing-function: ease-in-out;
    animation-delay: 0ms;
    animation-fill-mode: both;
  }
}
.home-page .hero .owl-dots { left: max(24px, calc((100% - 1296px) / 2)); bottom: 32px !important; transform: none; display: flex; gap: 10px; }
.home-page .hero .owl-dot { width: 44px; height: 32px; margin: 0; border-radius: 0; background: transparent !important; display: grid; align-items: center; }
.home-page .hero .owl-dot span { width: 44px; height: 3px; margin: 0; border-radius: 0; background: #ffffff65; }
.home-page .hero .owl-dot.active span { background: var(--primary-color); }
.home-page .hero .owl-nav { inset: auto 0 24px; height: 48px; transform: none; }
.home-page .hero .slider-fade1.owl-theme .owl-nav button { position: absolute; top: 0; left: auto; right: 24px; width: 48px; height: 48px; margin: 0; border: 1px solid #ffffff65; border-radius: 0; background: transparent; color: #fff; transform: none; box-shadow: none; opacity: 1; line-height: 48px; bottom: auto; }
.home-page .hero .slider-fade1.owl-theme .owl-nav button.owl-prev { right: 82px; }
.home-page .hero .slider-fade1.owl-theme .owl-nav button:hover { background: var(--primary-color); border-color: var(--primary-color); }
/* Clear, aligned section hierarchy across the public pages. */
.corporate-site .main-wrapper > section:not(.hero):not(.page-title-section) { padding-block: clamp(56px, 6.5vw, 100px); }
.corporate-site .section-title-01 { text-align: left !important; max-width: 850px; }
.corporate-site .section-title-01 h2 { width: 100% !important; margin-left: 0 !important; font-size: clamp(30px, 3vw, 46px); line-height: 1.16 !important; letter-spacing: -.025em; font-weight: 700; }
.corporate-site .section-title-01 > span { display: inline-block; margin-bottom: 18px; font-size: 12px; letter-spacing: .12em; }
.corporate-site .page-title-section {
  padding: clamp(64px, 8vw, 116px) 0 56px;
  text-align: left;
  border-bottom: 3px solid var(--primary-color);
  background-position: center 45%;
}
.corporate-site .page-title-section::before { background: linear-gradient(90deg, #000e, #0005); opacity: 1; }
.corporate-site .page-title-section .container { position: relative; }
.corporate-site .page-title-section h1 { max-width: 950px; font-size: clamp(34px, 4.5vw, 64px); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; margin-bottom: 28px; text-shadow: none; }
.corporate-site .page-title-section ul { position: relative; text-align: left; }
.corporate-site .page-title-section ul li,
.corporate-site .page-title-section ul li a { font-size: 13px !important; letter-spacing: .02em !important; font-weight: 500 !important; }
.corporate-site .card { box-shadow: none; border: 1px solid var(--rule); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.corporate-site .card:hover { box-shadow: 0 8px 24px #121c220a; border-color: #0066ff66; }
.corporate-site .card .card-body { text-align: left; }
.corporate-site .card h3, .corporate-site .card h4 { line-height: 1.35; }
.corporate-site .card-style01 .card-body { padding: 24px; border-bottom: 2px solid var(--primary-color); }
.corporate-site .services-carousel-one { margin-bottom: 0; }
.corporate-site .services-carousel-one .owl-stage { display: flex; }
.corporate-site .services-carousel-one .owl-item { display: flex; }
.corporate-site .services-carousel-one .card { width: 100%; }
.home-page .counter-lg-title { border-top: 1px solid var(--rule); padding-top: 32px; }
.home-page .counter-lg-title .big-text { font-size: clamp(40px, 9vw, 140px); }
.home-page .main-wrapper > section.md { padding-block: 32px !important; }
.corporate-site .ani-top-bottom { animation: none; }
.corporate-site .form-control { border-color: #cbd5df; min-height: 50px; }
.corporate-site .footer-style01 { border-top: 3px solid var(--primary-color); padding-block: 64px 32px !important; }
.corporate-site .footer-style01 > .container:last-child { border-top: 1px solid #ffffff26; padding-top: 28px; }
.corporate-site .footer-style01 p { font-size: 14px; line-height: 1.8; }
.corporate-site .wow { animation-duration: .55s; }
/* Contacts is visible in navigation at every breakpoint. */
@media (min-width: 992px) { .corporate-site header #nav { display: flex !important; align-items: center; } }
@media (max-width: 1199px) { .corporate-site header .navbar { gap: 14px; } .corporate-site header .navbar-nav > li > a { padding-inline: 10px; } }
@media (max-width: 991px) {
  .corporate-site { --header-height: 72px; }
  .corporate-site header .navbar { flex-wrap: nowrap; gap: 12px; }
  .corporate-site header #logo { height: 36px !important; max-width: 160px; }
  .corporate-site header .attr-nav { display: none; }
  .corporate-site header .language-switcher { position: absolute; right: 56px; top: 14px; margin: 0; flex-shrink: 0; }
  .corporate-site .language-switcher-btn { margin-right: 0 !important; font-size: 12px; }
  .corporate-site header .navbar-toggler { position: absolute; inset: 14px 0 auto auto; width: 44px; height: 44px; border: 0; }
  .corporate-site header #nav { position: absolute; top: var(--header-height); left: -12px; right: -12px; width: auto; margin: 0; padding: 12px 24px 20px; background: #000; border-bottom: 2px solid var(--primary-color); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
  .corporate-site header #nav:not(.open) { display: none !important; }
  .corporate-site header #nav > li > a { color: #fff; padding: 14px 12px; border-bottom: 1px solid #ffffff20; }
  .corporate-site .language-dropdown { right: 0; }
  .home-page .hero h1 { max-width: 720px; font-size: clamp(34px, 5.5vw, 56px); }
  .home-page .hero-row { padding-block: 48px 96px; }
  .home-page .hero .item::before { background: linear-gradient(90deg, #000e, #0008); }
}
@media (max-width: 575px) {
  .corporate-site .container { padding-inline: 24px; }
  .home-page .hero h1 { font-size: clamp(30px, 8vw, 42px); }
  .home-page .hero-eyebrow { margin-bottom: 22px; font-size: 10px; gap: 10px; }
  .home-page .hero p { font-size: 16px; }
  .corporate-site .page-title-section { padding-block: 60px 40px; }
  .corporate-site .page-title-section ul li:after { margin-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .corporate-site *, .corporate-site *::before, .corporate-site *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .corporate-site .wow { visibility: visible !important; }
}

.home-page .hero h1 { overflow-wrap: anywhere; hyphens: manual; }
.home-page .hero h1 span { -webkit-text-fill-color: currentColor; -webkit-text-stroke: 0; }
.corporate-site header .navbar-brand { display: inline-flex; gap: 12px; align-items: center; color: #fff; }
.corporate-site .brand-name { font-size: 17px; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 380px) { .corporate-site .brand-name { font-size: 13px; } .corporate-site header .navbar-brand { gap: 7px; } }

.corporate-site header.scrollHeader .navbar-nav > li > a { color: #fff; }
.home-page .hero h1 .text-primary { display: block; }
@media (max-width: 575px) { .home-page .hero h1 { font-size: clamp(24px, 6.8vw, 32px); } }

/* Both navigation actions already measured 44px tall — the mismatch was never
   height, it was centring. .attr-nav is display:block, so the
   `align-items-xl-center` class on it does nothing, and its line box resolved
   to 39px while the 44px <ul> inside overflowed the bottom edge by 5px.
   Measured in a browser at 1440x900: the contact button sat 24.5px from the top
   of the 88px navbar and 19.5px from the bottom, against the switcher's 22/22.
   Making the chain flex lets both resolve to the same 44px box and centre
   identically. The <li> keeps its Bootstrap d-none/d-xl-inline-block display —
   a flex item is blockified anyway, so the breakpoint still hides it. */
.corporate-site header .attr-nav { display: flex; align-items: center; }
.corporate-site header .attr-nav > ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Give both navigation actions the same outer height, including borders. */
.corporate-site header .attr-nav > ul > li > a.btn-style1,
.corporate-site header .language-switcher-btn {
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-block: 0;
}

/* Company profile: readable technical information with the shared palette. */
.about-page .company-photo { width: 100%; height: auto; max-height: 620px; object-fit: cover; }
.about-page .company-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.about-page .company-actions > a:last-child { font-weight: 600; white-space: nowrap; }
.about-page .company-facts { display: grid; grid-template-columns: 1fr 1fr 2fr; margin-top: 56px; border-block: 1px solid var(--rule); }
.about-page .company-facts > div { padding: 28px 24px; border-right: 1px solid var(--rule); }
.about-page .company-facts > div:first-child { padding-left: 0; }
.about-page .company-facts > div:last-child { border-right: 0; }
.about-page .company-facts strong { display: block; color: var(--primary-color); font-size: clamp(26px, 3vw, 42px); line-height: 1.25; }
.about-page .company-facts p { margin: 10px 0 0; color: var(--muted); }
.about-page .company-products { color: #fff; }
.about-page .company-products h2, .about-page .company-products h3 { color: #fff; }
.about-page .company-lead { max-width: 780px; margin-bottom: 36px; }
.about-page .company-products .company-lead { color: #dfe6ec; }
.about-page .company-product { height: 100%; padding: 32px; border: 1px solid #ffffff30; border-top: 2px solid var(--primary-color); }
.about-page .company-number { color: var(--primary-color); font-size: 14px; letter-spacing: .1em; font-weight: 600; }
.about-page .company-product h3 { font-size: 24px; margin: 18px 0 14px; }
.about-page .company-product p { margin: 0; color: #dfe6ec; }
.about-page .company-work { display: grid; grid-template-columns: 40px 1fr 1.6fr; gap: 24px; padding-block: 28px; border-top: 1px solid var(--rule); }
.about-page .company-work h3 { font-size: 22px; margin: 0; line-height: 1.4; }
.about-page .company-work p { margin: 0; }
.about-page .company-quality { margin-top: 32px; padding: 32px; background: #eef2f6; border-left: 3px solid var(--primary-color); }
.about-page .company-quality h3 { font-size: 24px; }
.about-page .company-quality p { margin: 0; }
.about-page .company-projects { background: #eef2f6; }
.about-page .company-project-grid { border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.about-page .company-project { padding: 28px; height: 100%; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); background: #fff; }
.about-page .company-project h3 { font-size: 21px; line-height: 1.4; }
.about-page .company-project p { margin: 0; color: var(--muted); }
.about-page address { font-style: normal; margin-block: 24px; }
.about-page address a { display: inline-block; padding-block: 4px; }
.about-page .company-details { padding: 32px; border: 1px solid var(--rule); border-top: 3px solid var(--primary-color); }
.about-page .company-details h3 { font-size: 26px; }
.about-page .company-details dl { margin: 0; }
.about-page .company-details dt { margin-top: 16px; color: var(--muted); font-size: 13px; font-weight: 500; }
.about-page .company-details dd { margin: 2px 0 0; overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .about-page .company-facts { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .about-page .company-facts > div { padding: 24px 16px; }
  .about-page .company-facts > div:nth-child(2) { border-right: 0; }
  .about-page .company-facts > div:last-child { grid-column: 1 / -1; padding-left: 0; border-top: 1px solid var(--rule); }
  .about-page .company-work { grid-template-columns: 30px 1fr; gap: 12px; }
  .about-page .company-work p { grid-column: 2; }
  .about-page .company-product, .about-page .company-project, .about-page .company-quality, .about-page .company-details { padding: 24px; }
}
