@charset "UTF-8";
:root {
  --brand-red: #c20c1f;
  --brand-dark: #111014;
  --brand-light: #f6f2ee;
  --brand-muted: #d9d2cb;
  --brand-accent: #ff3041;
  --header-height: 88px;
  /* Typography Scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3rem;
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
}

.is-black {
  color: #000 !important;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  background: #fbf9f6;
  color: #111014;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
  text-wrap: pretty;
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}
@media (max-width: 576px) {
  .site-header {
    padding: 0 15px;
  }
}

body.menu-open .site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-footer {
  background: linear-gradient(180deg, #2a2a30, #0d0d10);
  color: #f6f2ee;
  padding: 3.5rem 0 2.5rem;
}

.footer-logo {
  width: 140px;
  filter: brightness(0) invert(1);
}

.footer-top {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 576px) {
  .footer-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 2rem;
    /* Ensure internal grid cols stack if they exist */
  }
  .footer-top .row {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2rem;
  }
}

.footer-bottom {
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
}

.brand-logo {
  width: calc(clamp(150px, 20vw, 210px) * 0.8);
  filter: brightness(0) invert(1);
}

body.menu-open .brand-logo {
  filter: brightness(0) invert(1);
}

.menu-btn {
  border: none;
  background: transparent;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.menu-btn:hover {
  background: rgba(17, 16, 20, 0.04);
}
.menu-btn span {
  color: white;
}
.menu-btn .menu-icon {
  width: 18px;
  height: 2px;
  position: relative;
  display: inline-block;
  background: white;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.menu-btn .menu-icon::before,
.menu-btn .menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}
.menu-btn .menu-icon::before {
  top: -6px;
}
.menu-btn .menu-icon::after {
  top: 6px;
}

.menu-btn.is-open .menu-icon {
  background: transparent;
}
.menu-btn.is-open .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-btn.is-open .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.lang-btn {
  border: none;
  background: none;
  font-weight: 600;
  padding: 0.5rem 0.5rem;
  font-size: 1.4rem;
  color: white;
}

/* Bootstrap popover overrides for header language button */
.popover {
  z-index: 2000;
  border: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.popover .popover-body {
  color: #111014;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
}

.bs-popover-bottom .popover-arrow::before,
.bs-popover-top .popover-arrow::before,
.bs-popover-end .popover-arrow::before,
.bs-popover-start .popover-arrow::before {
  border-color: transparent;
}

.bs-popover-bottom .popover-arrow::after,
.bs-popover-top .popover-arrow::after,
.bs-popover-end .popover-arrow::after,
.bs-popover-start .popover-arrow::after {
  border-color: #fff;
}

.lang-popover {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-popover-sep {
  opacity: 0.45;
}

.lang-popover-link {
  color: #111014;
  text-decoration: none;
}

.lang-popover-link:hover,
.lang-popover-link:focus {
  color: #111014;
  text-decoration: none;
}

.site-header.is-dark .menu-btn span {
  color: white;
}
.site-header.is-dark .menu-btn .menu-icon,
.site-header.is-dark .menu-btn .menu-icon::before,
.site-header.is-dark .menu-btn .menu-icon::after {
  background: white;
}
.site-header.is-dark .lang-btn {
  color: white;
}

.site-header.is-scrolled .brand-logo {
  filter: none;
}
.site-header.is-scrolled .menu-btn span {
  color: black;
}
.site-header.is-scrolled .menu-btn .menu-icon,
.site-header.is-scrolled .menu-btn .menu-icon::before,
.site-header.is-scrolled .menu-btn .menu-icon::after {
  background: black;
}
.site-header.is-scrolled .lang-btn {
  color: black;
}

.site-header.is-menu-open .menu-btn span {
  color: black;
}
.site-header.is-menu-open .menu-btn .menu-icon,
.site-header.is-menu-open .menu-btn .menu-icon::before,
.site-header.is-menu-open .menu-btn .menu-icon::after {
  background: black;
}
.site-header.is-menu-open .lang-btn {
  color: black;
}

.site-header.is-menu-open .menu-btn.is-open .menu-icon {
  background: transparent;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  font-size: 1.5rem;
}
.social-icon:hover {
  transform: translateY(-2px);
  background: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

.section-heading {
  padding: 4.5rem 0 2.5rem;
}
.section-heading h2 {
  font-family: "Roboto Slab", serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  margin-bottom: 0.7rem;
}
.section-heading p {
  max-width: 520px;
  color: rgba(17, 16, 20, 0.7);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: rgba(17, 16, 20, 0.6);
}

.btn-cta {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 999px;
  background: #111014;
  border-color: #111014;
}

.btn-cta:hover {
  background: #ff3041;
  border-color: #ff3041;
}

.btn-ghost {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn-cta-dark {
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-cta-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.breadcrumb-minimal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(17, 16, 20, 0.6);
}
.breadcrumb-minimal a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb-minimal span {
  color: rgba(17, 16, 20, 0.85);
}

.media-card {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #111014;
  aspect-ratio: 4/5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9) 100%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.media-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.media-card:hover img {
  transform: scale(1.08);
}

.media-card:hover::after {
  opacity: 0.9;
}

.media-title {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.media-title .media-icon {
  font-size: 1.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.media-card:hover .media-icon {
  opacity: 1;
  transform: translateX(0);
}

.media-meta {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  z-index: 2;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}

.info-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(17, 16, 20, 0.08);
}

.info-card strong {
  display: block;
  font-size: 1.2rem;
}

.value-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(17, 16, 20, 0.06);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: transparent;
}
.value-card .value-icon {
  width: 56px;
  height: 56px;
  background: rgba(194, 12, 31, 0.06);
  color: #c20c1f;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.value-card .value-icon span {
  font-size: 1.75rem;
}
.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.value-card p {
  font-size: 0.95rem;
  color: rgba(17, 16, 20, 0.7);
  margin-bottom: 0;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: transparent;
  border: none;
}
.step-card .step-number span {
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}
.step-card .step-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step-card .step-content p {
  font-size: 0.95rem;
  color: rgba(17, 16, 20, 0.7);
  margin: 0;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(17, 16, 20, 0.12);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-surface {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(17, 16, 20, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.form-control, .form-select {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(17, 16, 20, 0.1);
  background-color: #fbf9f6;
  font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 3px rgba(194, 12, 31, 0.1);
  border-color: rgba(194, 12, 31, 0.3);
  background-color: #fff;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: rgba(17, 16, 20, 0.7);
}

.contact-list {
  display: grid;
  gap: 1rem;
  color: rgba(17, 16, 20, 0.75);
}

.logo-tile {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(17, 16, 20, 0.08);
  padding: 1.4rem;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Project Filter Styles */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #fbf9f6;
  border-radius: 999px;
  border: 1px solid rgba(17, 16, 20, 0.06);
}

.filter-btn {
  border: none;
  background: transparent;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(17, 16, 20, 0.6);
  transition: all 0.3s ease;
}
.filter-btn:hover {
  color: rgb(17, 16, 20);
  background: rgba(17, 16, 20, 0.04);
}
.filter-btn.active {
  background: #111014; /* Dark brand color */
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.references-grid {
  min-height: 220px;
}

.reference-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(17, 16, 20, 0.08);
  border-radius: 18px;
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.reference-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(17, 16, 20, 0.14);
}

.reference-logo-wrap {
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: #fbf9f6;
  border: 1px solid rgba(17, 16, 20, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin-bottom: 0.85rem;
  position: relative;
}

.reference-logo {
  max-width: 100%;
  max-height: 86px;
  -o-object-fit: contain;
     object-fit: contain;
}

.reference-fallback {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #111014;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  align-items: center;
  justify-content: center;
}
.reference-fallback.is-visible {
  display: inline-flex;
}

.reference-body {
  display: grid;
  gap: 0.35rem;
}

.reference-category {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(17, 16, 20, 0.6);
}

.reference-title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
  color: #111014;
}

.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top left, rgba(194, 12, 31, 0.12), rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, #fff, #fbf9f6);
}

.hero--overlay {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #111014;
  padding: 6rem 0 4rem; /* Standardized top padding */
}

.hero--overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.2) blur(0px);
  transition: filter 0.5s ease;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
}

.hero--overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 16, 20, 0.95) 0%, rgba(17, 16, 20, 0.5) 40%, rgba(17, 16, 20, 0.2) 100%);
}

.hero--overlay .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero--overlay .hero-content h1 {
  font-size: 0.9rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  font-weight: 600;
  color: rgb(255, 255, 255);
  display: block;
  margin-bottom: 1rem;
}
.hero--overlay .hero-content .section-label {
  color: rgb(255, 255, 255);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  text-transform: capitalize;
}
.hero--overlay .hero-content .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  text-wrap: pretty;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 0.5rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.2rem;
}

.hero-copy h1 {
  font-family: "Roboto Slab", serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin: 1rem 0 1.5rem;
}
.hero-copy p {
  font-size: 1.1rem;
  color: rgba(17, 16, 20, 0.72);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.hero-stats strong {
  font-size: 1.5rem;
  display: block;
}
.hero-stats span {
  color: rgba(17, 16, 20, 0.6);
  font-size: 0.9rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
}

.hero-panel {
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  min-height: 200px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-panel span {
  position: relative;
  z-index: 2;
  font-weight: 600;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}

.hero-panel.large {
  grid-column: 1/span 6;
  min-height: 320px;
}

.hero-panel.medium {
  grid-column: 1/span 4;
  min-height: 220px;
}

.hero-panel.small {
  grid-column: 5/span 2;
  min-height: 220px;
}

.hero-menu {
  position: fixed;
  inset: 0;
  height: 100vh;
  padding: 0;
  background: linear-gradient(90deg, #c20c1f 0 50%, #fbf9f6 50% 100%);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 40; /* Above header background, below header content if needed, but usually menu covers all. */
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
  /* Mobile Menu Scroll Fix */
}
@media (max-width: 991px) {
  .hero-menu {
    overflow-y: auto !important; /* Allow scrolling */
  }
  .hero-menu .menu-stack {
    justify-content: flex-start !important;
    padding-top: 6rem !important; /* Push down from top */
    padding-bottom: 4rem !important;
    height: auto !important;
    min-height: 100vh;
  }
}

/* Remove the old circle overlay for clean split look */
.hero-menu::after {
  display: none;
  content: none;
}

.menu-stack {
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end; /* Align links to the right edge of red section */
  padding-right: 4rem; /* Gap from the center line */
  position: relative;
}

/* Decorative circle on red side slightly visible */
.menu-stack::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -15vh; /* Center it on the split line roughly */
  transform: translateY(-50%);
  width: 60vh;
  height: 60vh;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Roboto Slab", serif;
  font-size: calc(clamp(2rem, 3vw, 3rem) * 0.7);
  line-height: 1.4;
  text-align: right;
}
.menu-list li {
  margin: 0 0 1rem;
  position: relative;
}
.menu-list a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative; /* Anchor for pseudo element */
}
.menu-list a:hover,
.menu-list .active a {
  color: #fff;
}
.menu-list {
  /* Mobile Submenu Styles */
}
.menu-list .mobile-sub-menu {
  list-style: none !important;
  margin: 1rem 0 1rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Right align items */
}
.menu-list .mobile-sub-menu li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
  position: relative;
  padding-right: 1.2rem; /* Space for bullet */
}
.menu-list .mobile-sub-menu li::before {
  position: absolute;
  right: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2em;
  line-height: 1.4;
}
.menu-list .mobile-sub-menu a {
  list-style: none !important;
  font-size: 1rem; /* Slightly smaller than main links */
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: inline-block;
}
.menu-list .mobile-sub-menu a:hover {
  color: #fff;
}

/* Connecting line for the "Çözümler" item or active state */
/* Connecting line for the "Çözümler" item or active state */
.menu-list li.has-submenu a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%; /* Start exactly end of text */
  margin-left: 0.5rem; /* Tiny gap from text */
  width: 0;
  height: 1px;
  background: #fff; /* Solid white */
  transform: translateY(-50%);
  transition: width 0.4s ease;
  z-index: 50; /* Ensure visibility */
  opacity: 0.6;
}

.menu-list li.has-submenu:hover a::after,
.menu-list li.active.has-submenu a::after {
  width: 3.5rem; /* Extend significantly to bridge the gap to the right column */
  opacity: 1;
}

/* Right side content */
.menu-detail {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 4rem;
  color: #111014;
}

.detail-line {
  display: none; /* Handled by pseudo element on link */
}

.menu-sub {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.15rem;
  line-height: 2.2;
  color: #111014;
  font-weight: 500;
}
.menu-sub a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.menu-sub li {
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}
.menu-sub li:hover {
  color: #c20c1f;
  transform: translateX(5px);
}

/* Menu header inside the overlay (Logo etc) */
.hero-menu .menu-internal-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  display: none !important; /* Forces hiding of internal header to prevent duplication */
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  pointer-events: none; /* Let clicks pass through */
}

/* Logo specific to menu */
.menu-internal-header .brand-logo {
  pointer-events: auto;
  filter: brightness(0) invert(1); /* White logo */
  margin-left: 3rem; /* Adjust container padding */
}

/* Close button and Language specific to menu */
.menu-controls {
  pointer-events: auto;
  margin-right: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #111014;
}

.menu-close-btn {
  background: none;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #111014;
}
.menu-close-btn i {
  font-size: 1.5rem;
}

.hero-social {
  position: absolute;
  right: 4rem;
  bottom: 3rem;
  display: flex;
  gap: 1rem;
  z-index: 50;
}
.hero-social .social-icon {
  color: #c20c1f;
  font-size: 1.8rem;
}
.hero-social .social-icon:hover {
  background: rgba(194, 12, 31, 0.05);
}

body.menu-open .hero-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.solutions-grid {
  height: 100vh;
  width: 100%;
}
.solutions-grid .row {
  height: 50vh;
  margin: 0;
  padding: 0;
}
.solutions-grid .row .tile {
  position: relative;
  min-height: 260px;
  padding: 2rem;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.solutions-grid .row .tile-large {
  min-height: 420px;
}
.solutions-grid .row .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1));
  opacity: 0.85;
}
.solutions-grid .row .tile-label {
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
@media (max-width: 991px) {
  .solutions-grid {
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }
  .solutions-grid .row {
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    /* Reset columns */
  }
  .solutions-grid .row > [class*=col-] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    height: auto !important;
    display: block !important;
    margin-bottom: 0 !important; /* Let child handle margin */
  }
  .solutions-grid .row .homepage-hero, .solutions-grid .row .homepage-first {
    position: relative !important;
    display: flex !important;
    min-height: 280px !important;
    height: auto !important;
    margin-bottom: 0px !important; /* Tiny gap */
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

.partners {
  padding: 3rem 0 5rem;
  background: linear-gradient(180deg, #fff, #f6f2ee);
}

#partnersCarousel {
  position: relative;
  padding: 2.5rem 4.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 242, 238, 0.95));
  border: 1px solid rgba(17, 16, 20, 0.08);
  box-shadow: 0 24px 60px rgba(17, 16, 20, 0.1);
  overflow: hidden;
}
@media (max-width: 576px) {
  #partnersCarousel {
    padding: 2rem 2.5rem; /* Reduced horizontal padding */
  }
}
#partnersCarousel::before, #partnersCarousel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
#partnersCarousel::before {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle at center, rgba(194, 12, 31, 0.18), rgba(194, 12, 31, 0));
}
#partnersCarousel::after {
  width: 480px;
  height: 480px;
  bottom: -220px;
  left: -180px;
  background: radial-gradient(circle at center, rgba(17, 16, 20, 0.12), rgba(17, 16, 20, 0));
}
#partnersCarousel .carousel-inner {
  position: relative;
  z-index: 1;
}
#partnersCarousel .partner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 1rem 1.5rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(17, 16, 20, 0.08);
  border-right: none;
  box-shadow: 0 12px 24px rgba(17, 16, 20, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
#partnersCarousel .partner img {
  max-width: 140px;
  opacity: 0.9;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}
#partnersCarousel .partner:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(17, 16, 20, 0.12);
  border-color: rgba(194, 12, 31, 0.25);
}
#partnersCarousel .partner:hover img {
  opacity: 1;
  filter: none;
}
#partnersCarousel .carousel-control-prev,
#partnersCarousel .carousel-control-next {
  width: auto;
  opacity: 1;
}
#partnersCarousel .carousel-control-prev {
  left: 1rem;
}
#partnersCarousel .carousel-control-next {
  right: 1rem;
}

.partners-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border-radius: 999px;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
  text-align: center;
  flex: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.partner {
  padding: 1rem 0;
  border-right: 1px solid rgba(17, 16, 20, 0.08);
}

.partner:last-child {
  border-right: none;
}

.chevron {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(17, 16, 20, 0.15);
  background: rgba(255, 255, 255, 0.96);
  color: #111014;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(17, 16, 20, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#partnersCarousel .carousel-control-prev:hover .chevron,
#partnersCarousel .carousel-control-next:hover .chevron,
#partnersCarousel .carousel-control-prev:focus-visible .chevron,
#partnersCarousel .carousel-control-next:focus-visible .chevron {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 30px rgba(17, 16, 20, 0.16);
  border-color: rgba(194, 12, 31, 0.35);
  color: #c20c1f;
}

.cta-section {
  padding: 4rem 0 5rem;
}
@media (max-width: 576px) {
  .cta-section {
    padding: 3rem 0;
  }
}

.cta-card {
  background: linear-gradient(120deg, #c20c1f, #2a2a30);
  border-radius: 32px;
  padding: 3rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-card h2 {
  font-family: "Roboto Slab", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 0.8rem;
}
.cta-card p {
  margin: 0;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 768px) {
  .cta-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
  }
  .cta-card p {
    margin: 0 auto;
  }
  .cta-card .btn-cta-dark {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    display: inline-flex !important;
    margin: 0 auto;
  }
}

.homepage-hero {
  position: relative;
  height: calc((100vh - var(--header-height)) / 2);
  min-height: 150px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #111014;
}
@media (max-width: 576px) {
  .homepage-hero {
    min-height: 180px; /* Increase height for touch target */
    margin-bottom: 2px; /* Small separation */
  }
}

.homepage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tile-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(1);
  transform: scale(1);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.homepage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15));
}

.homepage-hero:hover::before,
.homepage-hero:focus-visible::before {
  transform: scale(1.1);
  filter: grayscale(0);
}

.homepage-hero .title {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
@media (max-width: 576px) {
  .homepage-hero .title {
    font-size: 1.25rem; /* Slightly smaller for mobile */
    margin-right: 10px; /* Ensure safe distance from edge */
  }
}

.homepage-first {
  position: relative;
  height: calc((100vh - var(--header-height)) / 2);
  min-height: 150px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #c20c1f;
}
@media (max-width: 576px) {
  .homepage-first {
    min-height: 180px;
    margin-bottom: 2px;
  }
}

.homepage-first::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tile-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: luminosity;
  transform: scale(1);
}

.homepage-first .title {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
@media (max-width: 576px) {
  .homepage-first .title {
    font-size: 1.25rem;
    margin-right: 10px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: var(--delay, 0.1s);
}

body.menu-open {
  overflow: hidden;
}

/* Mobile Tweaks */
@media (max-width: 991px) {
  .hero {
    padding-top: 3.5rem;
  }
  .hero--overlay {
    min-height: 50vh;
    padding-top: 4.5rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-panel.large {
    grid-column: 1/span 6;
  }
  .hero-panel.medium,
  .hero-panel.small {
    grid-column: 1/span 6;
  }
  .hero-menu {
    padding: 0;
    overflow-y: auto;
    background: #c20c1f; /* Fallback or full red on mobile */
    flex-direction: column;
    height: 100vh;
  }
  .hero-menu::after {
    display: none;
  }
  /* Reset stack for mobile */
  .menu-stack {
    height: auto;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    width: 100%;
  }
  .menu-stack::before {
    display: none;
  }
  .menu-list {
    text-align: left;
    font-size: 2.2rem;
  }
  .menu-list a {
    color: #fff;
  }
  .menu-list li.has-submenu a::after {
    display: none;
  }
  .menu-list { /* Remove connecting line on mobile */ }
  /* Reset detail for mobile */
  .menu-detail {
    height: auto;
    padding: 0 2rem 4rem;
    width: 100%;
    color: #fff; /* Make white on red background */
  }
  .menu-sub {
    color: rgba(255, 255, 255, 0.8);
  }
  .menu-sub li:hover {
    color: #fff;
    transform: translateX(5px);
  }
  .hero-menu .menu-internal-header {
    padding: 1.5rem 1rem;
  }
  .hero-menu .menu-internal-header .brand-logo {
    margin-left: 1rem;
    width: 120px;
  }
  .menu-controls {
    margin-right: 1rem;
    color: #fff;
  }
  .menu-controls .lang-btn {
    color: #fff !important;
    background: none !important;
  }
  .menu-controls .menu-close-btn {
    color: #fff;
  }
  .hero-social {
    position: relative;
    right: auto;
    bottom: auto;
    padding: 0 2rem 3rem;
    margin: 0;
  }
  .hero-social .social-icon {
    color: #fff;
  }
  .partners-strip {
    border-radius: 24px;
    flex-direction: column;
  }
  #partnersCarousel {
    padding: 2rem 3.5rem;
  }
  #partnersCarousel .partner {
    min-height: 84px;
    border-radius: 16px;
  }
  .partner-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .partner {
    border-right: none;
  }
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 575.98px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .menu-list {
    font-size: 2rem;
  }
  .tile-large {
    min-height: 320px;
  }
  .partners-strip {
    padding: 1.2rem;
  }
  #partnersCarousel {
    padding: 1.5rem 2.75rem;
  }
  #partnersCarousel .partner {
    padding: 0.85rem 1rem;
  }
  #partnersCarousel .chevron {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  .cta-card {
    padding: 2.4rem 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}