/* Site-specific overrides on top of the template styles (main.css).
   Moved out of the three inline <style> blocks that used to live in index.html. */

.intro-bg-02__01 img,
.intro-bg-02__02 img {
  border-radius: 20px;
  overflow: hidden;
}
.item.image img {
  border-radius: 15px;
  overflow: hidden;
}

/* Logo background fix */
.logo img {
  background: transparent !important;
  background-color: transparent !important;
  mix-blend-mode: normal;
  height: 60px !important;
  width: auto !important;
  max-width: none !important;
}
.logo {
  background: transparent !important;
  background-color: transparent !important;
}
.logo__link {
  display: flex !important;
  align-items: center !important;
}

/* HomePageImage1 positioning and fade effect - aligned with text container */
.intro-bg-02__01 {
  position: absolute !important;
  top: 50% !important;
  right: 0 !important;
  transform: translateY(-50%) !important;
  width: 500px !important;
  height: 650px !important;
  max-width: 45% !important;
  z-index: 1 !important;
}

/* Home section container adjustments - equal spacing matching other sections */
.main.home {
  min-height: 600px !important;
  height: auto !important;
  padding-top: 5rem !important; /* Prevent overlap with menu */
}

.main__intro.intro-95-desktop {
  min-height: 600px !important;
  height: auto !important;
  position: relative !important;
}

/* Remove padding - Bootstrap grid handles spacing */
.container-fluid.fullheight-desktop {
  min-height: 600px !important;
  height: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.row.fullheight-desktop {
  min-height: 600px !important;
  height: auto !important;
}

.col-xl-8.fullheight-desktop {
  min-height: 600px !important;
  height: auto !important;
  position: relative !important;
}

/* Position image relative to the content column, respecting Bootstrap grid */
.intro__background {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

/* Position image within the col-xl-8 content area, aligned to right edge - no overlap */
.intro-bg-02__01 {
  position: absolute !important;
  top: 50% !important;
  right: 16.666667% !important; /* Align with right edge of col-xl-8 (where col-xl-2 starts) */
  transform: translateY(-50%) !important;
  width: 400px !important;
  height: 500px !important;
  max-width: 35% !important;
  z-index: 1 !important;
  margin-top: 2rem !important; /* Prevent overlap with menu */
}
.intro-bg-02__01 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 0.7 !important;
  filter: blur(1px) !important;
  border-radius: 20px !important;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease !important;
}
.intro-bg-02__01 img:hover {
  opacity: 0.9 !important;
  filter: blur(0px) !important;
  transform: scale(1.02) !important;
}

/* Text positioning and size adjustment - aligned with container, no overlap */
.headline {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  height: auto !important;
  min-height: 500px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding-top: 6rem !important; /* Added space for menu */
  padding-bottom: 4rem !important;
  padding-right: 2rem !important; /* Space from image */
  margin-top: 0 !important;
  margin-left: 0 !important;
  max-width: 60% !important; /* Prevent text from reaching image */
}
.headline__title {
  font-size: 6.5rem !important; /* Reduced from 8rem */
  line-height: 1.0 !important;
  font-weight: 800 !important;
  margin-bottom: 2rem !important;
}
.headline__subtitle {
  font-size: 2.8rem !important; /* Reduced from 3.5rem */
  line-height: 1.2 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-weight: 600 !important;
}

  /* Redesign Values section - 2x2 grid with square cards aligned with Services */
  .achievements {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 3rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
  }
.achievements__item {
  width: 100% !important;
  height: 100% !important;
}
.achievements__card {
  padding: 2rem !important;
  height: 100% !important;
  min-height: 300px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  border-radius: 15px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  transition: all 0.3s ease !important;
}
.achievements__card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
.achievements__number {
  font-size: 4rem !important;
  font-weight: 800 !important;
  margin-bottom: 2rem !important;
  line-height: 1.1 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  color: #f4dc50 !important;
}
.achievements__descr {
  font-size: 1.4rem !important;
  line-height: 1.6 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: 95% !important;
}

/* Responsive adjustments */
@media only screen and (max-width: 1200px) {
  .main.home {
    padding-top: 4rem !important;
  }
  .intro-bg-02__01 {
    width: 350px !important;
    height: 450px !important;
    max-width: 35% !important;
    right: 16.666667% !important;
    margin-top: 1.5rem !important;
  }
  .headline {
    min-height: 500px !important;
    padding-top: 5rem !important;
    padding-bottom: 3rem !important;
    padding-right: 1.5rem !important;
    max-width: 60% !important;
  }
  .main.home,
  .main__intro.intro-95-desktop,
  .container-fluid.fullheight-desktop,
  .row.fullheight-desktop,
  .col-xl-8.fullheight-desktop {
    min-height: 500px !important;
  }
  .headline__title {
    font-size: 5.5rem !important;
  }
  .headline__subtitle {
    font-size: 2.4rem !important;
  }
  .achievements {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    padding: 0 1rem !important;
  }
  .achievements__card {
    min-height: 250px !important;
    padding: 1.5rem !important;
  }
  .achievements__number {
    font-size: 3.2rem !important;
  }
  .achievements__descr {
    font-size: 1.2rem !important;
  }
}
@media only screen and (max-width: 768px) {
  .main.home {
    padding-top: 3rem !important;
  }
  .intro-bg-02__01 {
    width: 100% !important;
    max-width: 100% !important;
    height: 300px !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    margin-top: 2rem !important;
  }
  .headline {
    min-height: auto !important;
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  .main.home,
  .main__intro.intro-95-desktop,
  .container-fluid.fullheight-desktop,
  .row.fullheight-desktop,
  .col-xl-8.fullheight-desktop {
    min-height: auto !important;
  }
  .headline__title {
    font-size: 4rem !important;
  }
  .headline__subtitle {
    font-size: 2rem !important;
  }
  .achievements {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, 1fr) !important;
    gap: 2rem !important;
    padding: 0 1rem !important;
  }
  .achievements__card {
    min-height: 200px !important;
    padding: 1.5rem !important;
  }
  .achievements__number {
    font-size: 2.8rem !important;
  }
  .achievements__descr {
    font-size: 1.1rem !important;
  }
}

/* Services accordion — compact bar + hover-expand article panel */
.service-items {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}
.service-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

/* Compact bar — always visible */
.service-item__bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem 0;
  transition: padding-bottom 0.4s ease;
}
.service-item:hover .service-item__bar {
  padding-bottom: 1.8rem;
}
.service-item__num {
  font-size: 1.1rem;
  /* 0.28 composited to #565656 on the #141414 ground — 2.51:1, below the
     4.5:1 WCAG AA minimum for text this size. 0.5 gives 5.34:1. */
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  min-width: 3.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.service-item__label {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  flex: 1;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}
.service-item:hover .service-item__label {
  color: #f4dc50;
}
.service-item__icon {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  transition: color 0.25s ease, transform 0.35s ease;
  display: flex;
  align-items: center;
}
.service-item:hover .service-item__icon {
  color: #f4dc50;
  transform: rotate(45deg);
}

/* Smooth height-to-auto expand using CSS grid trick */
.service-item__panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-item:hover .service-item__panel-wrap {
  grid-template-rows: 1fr;
}
.service-item__panel-inner {
  overflow: hidden;
}

/* Article layout inside expanded panel */
.service-item__article {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  align-items: start;
}
.service-item__visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.service-item__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}
.service-item__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0.5rem;
}
.service-item__heading {
  font-size: 3.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 1.8rem 0;
}
.service-item__text {
  font-size: 1.3rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.service-item__text a {
  color: #f4dc50;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 220, 80, 0.35);
  transition: border-color 0.2s ease;
}
.service-item__text a:hover {
  border-color: #f4dc50;
}

.service-item__visual--logo img {
  object-fit: contain;
  background: #fff;
  padding: 1.5rem;
}
.service-item__text + .service-item__text {
  margin-top: 1.4rem;
}
.service-item__text strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

/* Responsive */
@media only screen and (max-width: 900px) {
  .service-item__article {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-item__visual {
    aspect-ratio: 16 / 7;
  }
  .service-item__heading {
    font-size: 2.4rem;
  }
}
@media only screen and (max-width: 600px) {
  .service-item__label {
    font-size: 1.65rem;
  }
  .service-item__heading {
    font-size: 2rem;
  }
  .service-item__text {
    font-size: 1.15rem;
  }
}

/* Odoo section */
.odoo-intro {
  font-size: 1.35rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 640px;
  margin: 0 0 3.5rem;
}
.odoo-process {
  list-style: none;
  margin: 0 0 3.5rem;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.odoo-process__item {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.odoo-process__num {
  font-size: 1.1rem;
  color: rgba(113, 75, 103, 0.95);
  font-weight: 600;
  line-height: 1.4;
}
.odoo-process__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.4rem;
  line-height: 1.25;
}
.odoo-process__text {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.odoo-modules-title {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}
.odoo-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
.odoo-module__card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 2px solid rgba(113, 75, 103, 0.45);
  border-radius: 12px;
  padding: 2rem 1.75rem 1.85rem;
  background: rgba(255, 255, 255, 0.025);
  transition: border-top-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.odoo-module__card:hover {
  border-top-color: #714B67;
  background: rgba(113, 75, 103, 0.08);
  transform: translateY(-4px);
}
.odoo-module__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}
.odoo-module__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.odoo-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.odoo-partner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.odoo-partner__badge {
  flex-shrink: 0;
  max-width: 220px;
  width: 100%;
}
.odoo-partner__badge img {
  display: block;
  width: 100%;
  height: auto;
  filter: none !important;
  mix-blend-mode: normal;
}
.odoo-partner__copy {
  flex: 1;
  min-width: 220px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  max-width: 420px;
}
.footer__legal {
  gap: 1.25rem;
}
.footer__partner {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer__partner img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 160px;
  filter: none !important;
  mix-blend-mode: normal;
}
@media only screen and (max-width: 900px) {
  .odoo-modules {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 600px) {
  .odoo-modules {
    grid-template-columns: 1fr;
  }
  .odoo-process__item {
    grid-template-columns: 2.4rem 1fr;
    gap: 1rem;
  }
  .odoo-process__title {
    font-size: 1.3rem;
  }
  .odoo-partner__badge {
    max-width: 180px;
  }
  .footer__partner img {
    height: 36px;
  }
}

/* Products section */
.enterprise-section-header {
  margin-bottom: 1.25rem;
}
.enterprise-title {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0.75rem 0 0;
}
.enterprise-intro {
  font-size: 1.35rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 640px;
  margin: 1.5rem 0 3.5rem;
}
.enterprise-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.enterprise-product__card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 2px solid rgba(244, 220, 80, 0.22);
  border-radius: 12px;
  padding: 2.25rem 1.875rem 2rem;
  background: rgba(255, 255, 255, 0.025);
  transition: border-top-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.enterprise-product__card:hover {
  border-top-color: #f4dc50;
  background: rgba(244, 220, 80, 0.035);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.enterprise-product__abbr {
  font-size: 2.4rem;
  font-weight: 800;
  color: #f4dc50;
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: -0.02em;
}
.enterprise-product__name {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  display: block;
  line-height: 1.4;
}
.enterprise-product__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* References section */
.references__intro {
  font-size: 1.4rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4rem;
  max-width: 700px;
}
/* ── References marquee ── */
.references__carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}
.references__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: max-content;
  will-change: transform;
}

/* Strip item — no card box */
.references__card {
  flex: 0 0 auto;
  width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  padding: 0 3.5rem;
  border-left: 1px solid rgba(244, 220, 80, 0.18);
  position: relative;
  transition: border-color 0.4s ease;
}
.references__card:hover {
  border-color: rgba(244, 220, 80, 0.5);
}
.references__card:hover .references__quote {
  color: rgba(255, 255, 255, 0.98);
}

/* Logo strip — no white box */
.references__card-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.references__client-logo {
  max-height: 36px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.72;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}
.references__card:hover .references__client-logo {
  opacity: 1;
}

/* Quote body */
.references__card-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}
.references__quote-icon {
  font-size: 1.8rem;
  color: #f4dc50;
  line-height: 1;
  opacity: 0.7;
}
.references__quote {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  transition: color 0.3s ease;
}
.references__author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
}
.references__name {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  font-style: normal;
}
.references__role {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.01em;
}

/* Consulting / no-image service cards */
.cards__image--gradient-blue {
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.55), rgba(42, 82, 152, 0.25)) !important;
}
.cards__image--gradient-green {
  background: linear-gradient(135deg, rgba(20, 90, 75, 0.55), rgba(30, 130, 100, 0.25)) !important;
}
.cards__image--gradient-purple {
  background: linear-gradient(135deg, rgba(75, 20, 110, 0.55), rgba(110, 30, 150, 0.25)) !important;
}
.cards__image--gradient-amber {
  background: linear-gradient(135deg, rgba(120, 75, 15, 0.55), rgba(180, 110, 20, 0.25)) !important;
}

/* TalentWare link style */
.talentware-link {
  color: #f4dc50;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 220, 80, 0.4);
  transition: border-color 0.2s ease;
}
.talentware-link:hover {
  border-color: #f4dc50;
  color: #f4dc50;
}

/* Enterprise & References responsive */
@media only screen and (max-width: 1200px) {
  .enterprise-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media only screen and (max-width: 768px) {
  .enterprise-products {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .references__card {
    flex: 0 0 300px;
  }
  .references__quote {
    font-size: 1.25rem;
  }
}

/* Language switcher. The subset Phosphor font has no globe/translate glyph,
   so below 1200px (where menu items show icons only) the language code
   stands in for the icon. */
.menu__lang {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
}
@media only screen and (min-width: 1200px) {
  .menu__lang {
    display: none;
  }
}

/* Tracking ID shown in the contact form's success message. */
.reply__tracking {
  margin: 2rem 0 0;
}
.reply__tracking-label {
  display: block;
  font-size: 1.4rem;
  color: var(--t-medium);
  margin-bottom: 0.5rem;
}
.reply__tracking-id {
  display: block;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  color: var(--t-bright);
  user-select: all;
}
