/* ==========================================================================
   EuroBridge website — page styles
   Sits on top of the EuroBridge Design System (eurobridge.min.css)
   ========================================================================== */

:root {
  --nav-h: 5rem;
  --ink: var(--eb-navy);
  --copy: #464f61;          /* gray-700: 8.6:1 on white */
  --line: #dde3ed;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius-media: 1.5rem;
}

html { scroll-padding-top: calc(var(--nav-h) + 1rem); }
body { color: var(--copy); background: #fff; overflow-x: hidden; }
h1, h2, h3, h4 { color: var(--ink); }
::selection { background: rgba(var(--eb-teal-rgb), .25); color: var(--ink); }

:focus-visible { outline: 2px solid var(--eb-teal); outline-offset: 3px; }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 2000;
  padding: .75rem 1.25rem; border-radius: .5rem;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-200%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: #fff; }

/* Shared type -------------------------------------------------------------- */
.section-title {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.text-body-copy { font-size: 1.0625rem; line-height: 1.75; color: var(--copy); }
.lead-copy { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.65; color: var(--copy); }

/* Buttons: subtle lift and arrow nudge ----------------------------------- */
.btn-eb {
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  border-radius: 999px;
  letter-spacing: -.005em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn-eb.btn-lg { padding: 1rem 1.875rem; font-size: 1.0625rem; }
.btn-eb .fa-arrow-right { transition: transform .3s var(--ease); }
.btn-eb:hover { transform: translateY(-2px); }
.btn-eb:hover .fa-arrow-right { transform: translateX(4px); }
.btn-eb:active { transform: translateY(0); }
.btn-primary.btn-eb:hover { box-shadow: 0 .75rem 1.75rem -.75rem rgba(var(--eb-blue-rgb), .55); }
.btn-info.btn-eb { --bs-btn-color: var(--eb-navy); --bs-btn-hover-color: var(--eb-navy); --bs-btn-active-color: var(--eb-navy); }
.btn-info.btn-eb:hover { box-shadow: 0 .75rem 2rem -.75rem rgba(var(--eb-teal-rgb), .7); }

.link-quiet {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--ink); text-decoration: none;
  padding: .5rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, color .25s;
}
.link-quiet i { font-size: .875em; transition: transform .3s var(--ease); }
.link-quiet:hover { color: var(--eb-blue); border-bottom-color: currentColor; }
.link-quiet:hover i { transform: translateY(3px); }

/* Navigation ------------------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 .5rem 2rem -1.25rem rgba(11, 26, 69, .25);
}
.site-header.menu-open { background: #fff; box-shadow: 0 1.5rem 3rem -1.5rem rgba(11, 26, 69, .3); }
.site-header .navbar { /*--bs-navbar-padding-y: 0;*/ min-height: var(--nav-h); align-items:start;}
.navbar-brand { padding: 0; margin-right: 2rem; }
.brand-logo { height: 55px; width: auto; display: block; }

.navbar-nav .nav-link {
  position: relative;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  padding: .5rem 0;
}
.navbar-nav .nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .125rem;
  height: 2px; background: var(--eb-teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.navbar-nav .nav-link:hover { color: var(--eb-blue); }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--eb-blue); }

.navbar-toggler {
  width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:focus-visible { outline: 2px solid var(--eb-teal); }
.toggler-bar {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:first-child { transform: translateY(4px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 1200px) {
  .navbar-nav { gap: 2.25rem; margin-right: 2.25rem; }
  .nav-cta { padding: .625rem 1.25rem; font-size: .9375rem; }
}
@media (max-width: 1199.98px) {
  :root { --nav-h: 4.5rem; }
  .brand-logo { height: 55px; }
  .navbar-collapse { padding: .5rem 0 1.75rem; }
  .navbar-nav .nav-link {
    font-size: 1.175rem; font-weight: 600; letter-spacing: -.01em;
    padding: .875rem 0; border-bottom: 1px solid var(--line);
  }
  .navbar-nav .nav-link::after { display: none; }
  .nav-cta { margin-top: 1.5rem; width: 100%; padding: .875rem 1.5rem; }
}

/* 1. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 3.5rem;
}
.hero .eyebrow { margin-bottom: 1.5rem; }
.hero-title {
  font-size: clamp(2.75rem, 1.6rem + 4.6vw, 4.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}
.hero-lead {
  font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem);
  line-height: 1.65;
  color: var(--copy);
  max-width: 34rem;
  margin-bottom: 2.5rem;
}

.hero-media { margin: 3rem 1.5rem 0; position: relative; overflow: hidden; border-radius: 1.25rem; aspect-ratio: 4 / 3; background: #dfe7f3; }
.hero-media img, .pillar-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media img { object-position: 60% 50%; }

@media (min-width: 576px) {
  .hero-media { margin-left: auto; margin-right: auto; max-width: 540px; }
}
@media (min-width: 768px) {
  .hero-media { max-width: 720px; aspect-ratio: 16 / 10; }
}
@media (min-width: 992px) {
  .hero {
    min-height: min(100svh, 56rem);
    display: flex; align-items: center;
    padding-top: calc(var(--nav-h) + 4rem);
    padding-bottom: 5.5rem;
  }
  .hero > .container { width: 100%; }
  .hero-copy { padding-right: 2rem; }
  .hero-media {
    position: absolute;
    top: calc(var(--nav-h) + 1rem);
    bottom: 2.5rem;
    left: calc(50% + 1.5rem);
    right: 0;
    margin: 0; max-width: none; aspect-ratio: auto;
    border-radius: var(--radius-media) 0 0 var(--radius-media);
  }
}

/* Small glass tag that sits on photographs */
.media-tag {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  display: flex; align-items: center; gap: .875rem;
  padding: .875rem 1.25rem .875rem 1rem;
  border-radius: .875rem;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1rem 2.5rem -1.25rem rgba(11, 26, 69, .45);
  font-size: .8125rem; line-height: 1.35; color: var(--copy);
  margin: 0;
}
.media-tag2 {left: unset;right: 1.25rem;}
.media-tag i { font-size: 1.375rem; color: var(--eb-blue); }
.media-tag strong { display: block; color: var(--ink); font-size: .9375rem; font-weight: 700; }
@media (min-width: 992px) { .media-tag { left: 2rem; bottom: 2rem; } .media-tag2 {left: unset;right: 2rem;}}

/* Key facts ------------------------------------------------------------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-list { margin: 0; }
.fact { padding: 1.75rem 1.25rem 1.75rem 0; }
.fact dt {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.1;
  color: var(--ink); margin-bottom: .375rem;
}
.fact dd { margin: 0; font-size: .875rem; line-height: 1.45; color: #646f83; max-width: 14rem; }
@media (max-width: 991.98px) {
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fact:nth-child(odd) { border-right: 1px solid var(--line); }
  .fact:nth-child(even) { padding-left: 1.25rem; }
}
@media (min-width: 992px) {
  .fact { padding: 2.5rem 2rem; border-left: 1px solid var(--line); }
  .fact:first-child { border-left: 0; padding-left: 0; }
}

/* 2. About ---------------------------------------------------------------- */
.statement {
  font-size: clamp(1.625rem, 1.15rem + 2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.statement strong { font-weight: 700; color: var(--eb-blue); }
@media (min-width: 992px) { .about .eb-rule { margin-top: .25rem; } }

/* Purpose: the motto gets the stage */
.purpose {
  position: relative; overflow: hidden;
  background: var(--eb-blue);
  color: rgba(255, 255, 255, .82);
  padding: 5rem 0;
  --eb-accent-text: #7fd6e2;
}
@media (min-width: 992px) { .purpose { padding: 8rem 0 7rem; } }
.purpose-mark {
  position: absolute; right: -6%; top: 50%;
  width: min(62rem, 90vw); height: auto;
  transform: translateY(-50%);
  opacity: .07;
  pointer-events: none;
}
.motto { margin: .5rem 0 0; }
.motto p {
  font-size: clamp(2.5rem, 1.1rem + 6vw, 5.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  color: #fff;
  margin: 0;
  max-width: 14ch;
  text-wrap: balance;
}
.motto-accent { color: #7fd6e2; }

/* A route that crosses a border, the idea behind the motto */
.border-line {
  position: relative; display: flex; align-items: center;
  height: 2.5rem; margin: 3rem 0 2.5rem;
}
.border-line::before {
  content: ""; position: absolute; left: .375rem; right: .375rem; top: 50%;
  height: 1px; background: rgba(255, 255, 255, .45);
  transform-origin: left; transform: scaleX(var(--line-scale, 1));
  transition: transform 1.6s var(--ease) .2s;
}
.border-line .dot { position: relative; width: .75rem; height: .75rem; border-radius: 50%; flex: none; }
.border-line .dot-start { background: #fff; }
.border-line .dot-end { background: var(--eb-teal); margin-left: auto; box-shadow: 0 0 0 6px rgba(var(--eb-teal-rgb), .25); }
.border-line .crossing {
  position: absolute; left: 41.6667%; top: 0; bottom: 0;
  border-left: 1px dashed rgba(255, 255, 255, .6);
}
.purpose-text { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.7; color: rgba(255, 255, 255, .86); }

/* Leadership */
.exp-list li {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink);
  transition: padding-left .35s var(--ease);
}
.exp-list li:first-child { border-top: 1px solid var(--line); }
.exp-list li:hover { padding-left: .5rem; }
.exp-list i { flex: none; width: 2rem; font-size: 1.5rem; color: var(--eb-blue); text-align: center; }

/* 3. What we do ----------------------------------------------------------- */
.service-card {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
@media (min-width: 1200px) { .service-card { padding: 2.5rem; } }
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--eb-teal-rgb), .55);
  box-shadow: 0 1.75rem 3rem -2rem rgba(11, 26, 69, .35);
}
.service-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; }
.service-card .eb-icon-tile { transition: background-color .4s, color .4s; }
.service-card:hover .eb-icon-tile { background: var(--eb-blue); color: #fff; }
.service-num { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: #8a95a8; }
.service-card h3 { font-size: 1.3125rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; margin-bottom: .875rem; }
.service-card p { font-size: 1rem; line-height: 1.7; margin: 0; color: var(--copy); }

.service-card-feature { background: var(--eb-navy); border-color: var(--eb-navy); color: rgba(255, 255, 255, .8); }
.service-card-feature:hover { border-color: var(--eb-navy); }
.service-card-feature h3 { color: #fff; }
.service-card-feature p { color: rgba(255, 255, 255, .8); max-width: 40rem; }
.service-card-feature .eb-icon-tile { background: rgba(var(--eb-teal-rgb), .18); color: #7fd6e2; }
.service-card-feature:hover .eb-icon-tile { background: var(--eb-teal); color: var(--eb-navy); }
.service-card-feature .service-num { color: rgba(255, 255, 255, .55); }

.process {
  display: flex; flex-wrap: wrap; gap: .75rem 2rem;
  margin-top: auto; padding-top: 2rem;
  font-size: .9375rem; font-weight: 600; color: #fff;
}
.process li { display: flex; align-items: center; gap: .75rem; }
.process span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  border: 1px solid rgba(var(--eb-teal-rgb), .7); color: #7fd6e2; font-size: .75rem;
}

.services-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid #d3dae6;
}
.services-cta p { font-size: 1.125rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
@media (min-width: 992px) { .services-cta { margin-top: 5rem; } }

/* 4. Foundation ------------------------------------------------------------ */
.pillar + .pillar { margin-top: 5rem; }
@media (min-width: 992px) { .pillar + .pillar { margin-top: 8rem; } }
.pillar-media {
  position: relative; margin: 0;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-media);
  overflow: hidden;
  background: #dfe7f3;
}
.pillar-media img { transition: transform 1.2s var(--ease); }
.pillar-media:hover img { transform: scale(1.03); }
.pillar:first-of-type .pillar-media img { object-position: 70% 50%; }
.pillar:last-of-type .pillar-media img { object-position: 62% 50%; }

.media-badge {
  position: absolute; right: 1.25rem; bottom: 1.25rem; margin: 0;
  display: flex; flex-direction: column;
  padding: 1rem 1.375rem; border-radius: .875rem;
  background: var(--eb-navy); color: rgba(255, 255, 255, .7);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.media-badge strong { font-size: 2rem; line-height: 1; letter-spacing: -.03em; color: #fff; margin-top: .25rem; }
@media (min-width: 992px) { .media-badge { right: 2rem; bottom: 2rem; } }

.pillar-label {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--eb-accent-text); margin-bottom: 1rem;
}
.pillar-label::before { content: ""; width: 2rem; height: 2px; background: var(--eb-teal); }
.pillar-title { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.625rem); font-weight: 700; letter-spacing: -.035em; margin-bottom: 1.5rem; }

.mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 2rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.mini-stats > div { padding: 1.25rem 1rem 1.25rem 0; }
.mini-stats > div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.mini-stats dt { font-size: 1.625rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.mini-stats dd { margin: .25rem 0 0; font-size: .8125rem; line-height: 1.4; color: #646f83; }

.note { display: flex; gap: .75rem; font-size: .9375rem; line-height: 1.6; color: #646f83; }
.note i { color: var(--eb-blue); margin-top: .2rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 2rem; }
.tag-list li {
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--eb-mist);
  font-size: .875rem; font-weight: 600; color: var(--ink);
}

/* 5. Contact ------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; --eb-accent-text: #7fd6e2; }
.contact::before {
  /* faint grid of meridians, a quiet nod to geography */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 4rem 4rem;
  -webkit-mask-image: radial-gradient(ellipse at 80% 40%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 80% 40%, #000 0%, transparent 65%);
  pointer-events: none;
}
.contact-title {
  font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.75rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -.045em;
  color: #fff; margin-bottom: 1.75rem;
}
.contact-lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.7; color: rgba(255, 255, 255, .8); max-width: 36rem; }
.contact-panel {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .04);
}
@media (min-width: 1200px) { .contact-panel { padding: 2.5rem; } }
.panel-label { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 1.25rem; }
.check-list { margin-bottom: 2rem; }
.check-list li { display: flex; align-items: baseline; gap: .875rem; padding: .5rem 0; color: #fff; font-weight: 500; }
.check-list i { color: var(--eb-teal); }
.panel-email { margin-top: 1rem; text-align: center; font-size: .875rem; color: rgba(255, 255, 255, .6); }
.panel-email a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.panel-email a:hover { color: #7fd6e2; }

/* 6. Footer ----------------------------------------------------------------- */
.site-footer {
  background: #08143a;
  color: rgba(255, 255, 255, .68);
  padding: 4.5rem 0 2rem;
  font-size: .9375rem;
}
.footer-logo { height: 3.5rem; width: auto; margin-bottom: 1.5rem; }
.footer-about { max-width: 26rem; line-height: 1.7; margin: 0; }
.footer-heading { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 1.25rem; }
.footer-links li + li { margin-top: .75rem; }
.site-footer a { color: #fff; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #7fd6e2; }
.footer-muted { color: rgba(255, 255, 255, .68); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .875rem;
}
.footer-bottom a { color: rgba(255, 255, 255, .8); }

/* Reveal on scroll ------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms);
}
.js .exp-list li[data-reveal] {
  transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms), padding-left .35s var(--ease);
}
.js [data-reveal="media"] { transform: none; clip-path: inset(0 0 0 6% round var(--radius-media)); transition: opacity 1s var(--ease), clip-path 1.2s var(--ease); }
.js [data-reveal="media"] img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.js [data-reveal="line"] { transform: none; --line-scale: 0; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="media"].is-in { clip-path: inset(0 0 0 0 round var(--radius-media)); }
.js [data-reveal="media"].is-in img { transform: none; }
.js [data-reveal="line"].is-in { --line-scale: 1; }
.js .hero-media[data-reveal="media"].is-in { clip-path: inset(0 0 0 0 round 1.25rem); }
@media (min-width: 992px) {
  .js .hero-media[data-reveal="media"].is-in { clip-path: inset(0 0 0 0 round var(--radius-media) 0 0 var(--radius-media)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal] img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal="line"] { --line-scale: 1; }
}
