@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --cassiopeia-color-primary: #00A786;
  --cassiopeia-color-link: #00A786;
  --link-color: #00A786;
  --link-color-rgb: 0, 167, 134;
  --cassiopeia-color-hover: #007D65;
  --link-hover-color: #007D65;
  --link-hover-color-rgb: 0, 125, 101;
}

body {
  font-family: 'Open Sans', Roboto, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
}

.container-header {
  background-color: #212121 !important;
  background-image: none !important;
}
.brand-logo img {
  max-height: 42px;
  width: auto;
}

/* ---- Menu: simple selectors only (scoped ones silently fail to match) ---- */
ul.mod-menu__sub {
  display: none !important;
  position: absolute !important;
  background-color: #ffffff !important;
  width: 18rem !important;
  z-index: 2000 !important;
  padding: .5rem 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
ul.mod-menu__sub ul.mod-menu__sub {
  top: 0 !important;
  left: 100% !important;
}
li.parent {
  position: relative;
}
li.parent:hover > ul.mod-menu__sub,
li.parent:focus-within > ul.mod-menu__sub {
  display: block !important;
}

.mod-menu > li > a,
.mod-menu > li > span,
.mod-menu > li > button {
  color: #ffffff !important;
}
.mod-menu > li > a:hover {
  color: #00A786 !important;
}

ul.mod-menu__sub a,
ul.mod-menu__sub span,
ul.mod-menu__sub button {
  color: #212121 !important;
  display: block;
  padding: .35rem 1rem;
}
ul.mod-menu__sub a:hover {
  color: #00A786 !important;
}

.mod-menu__toggle-sub {
  pointer-events: none;
}

/* ---- History timeline ---- */
.history-timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2.5rem;
  border-left: 3px solid #00A786;
}
.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00A786;
  border: 4px solid #ffffff;
  z-index: 1;
}
.timeline-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #00A786;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.timeline-content {
  color: #333333;
  margin-top: .2rem;
  line-height: 1.5;
}

/* ---- Language switcher (topbar) ---- */
.container-topbar {
  background-color: #212121;
  padding: .4rem 1rem;
  display: flex;
  justify-content: flex-end;
}
.mod-languages__select .btn {
  background-color: transparent;
  border: 1px solid #555;
  color: #ffffff;
  font-size: .85rem;
  padding: .25rem .75rem;
}
.mod-languages__select .btn:hover,
.mod-languages__select .btn:focus {
  background-color: #333;
  border-color: #00A786;
  color: #ffffff;
}
.mod-languages .lang-block a {
  color: #212121;
}
.mod-languages .lang-active a {
  color: #00A786;
  font-weight: 600;
}

/* ---- Office cards (Service page) ---- */
.office-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.office-card {
  flex: 1 1 260px;
  border: 1px solid #e0e0e0;
  border-top: 4px solid #00A786;
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  background: #fafafa;
}
.office-card h3 {
  margin-top: 0;
  color: #212121;
  font-size: 1.3rem;
}
.office-card p {
  margin: .4rem 0;
}
.office-card a {
  color: #00A786;
}
.video-embed {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  margin: 1rem 0 1.5rem;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
