.skip-link { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus { position:static; left:auto; width:auto; height:auto; padding:0.5rem; background:#000; color:#fff; z-index:1000; }
body {
  font-family: 'Source Sans 3', sans-serif;
  margin: 0;
  background-color: #f7f3ee;
  color: #222;
  line-height: 1.6;
}
.header-inner {
  position: relative;
}
header { position: relative; text-align: center; padding: 4rem 1rem 2rem 1rem; }
header h1 { font-size: 2.5rem; font-weight: 600; letter-spacing: 1px; }
header h2 { font-size: 1.2rem; font-weight: 400; color: #555; margin-top: 0.5rem; }
.flags { position: absolute; top: 1rem; right: 1rem; margin: 0; }
.flags a { margin: 0 0.25rem; text-decoration: none; font-size: 1.5rem; opacity: 0.7; filter: grayscale(30%); transition: opacity .15s ease, filter .15s ease; }
.flags a:hover, .flags a:focus { opacity: 1; filter: none; }

/* Make address text non-italic */
address { font-style: normal; }
main { max-width: 800px; margin: 0 auto; padding: 2rem; }
section { margin-bottom: 3rem; }
h3 { font-size: 1.5rem; font-weight: 600; border-bottom: 1px solid #ddd; padding-bottom: 0.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
footer { text-align: center; padding: 2rem 1rem; font-size: 0.9rem; color: #777; border-top: 1px solid #eee; }
a { color: #1c355e; text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Language flags top right === */
.language-nav {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.language-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}
.language-nav li {
  list-style-type: none;
}

.language-nav a {
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.7;
  filter: grayscale(40%);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.language-nav a:hover,
.language-nav a:focus {
  opacity: 1;
  filter: none;
  transform: scale(1.15);
}

/* Mobile layout: flags above the firm name */
@media (max-width: 600px) {
  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .language-nav {
    position: static;
    order: -1; /* move flags before the heading */
    margin-bottom: 1rem;
  }

  .language-nav ul {
    justify-content: center;
  }
}
.mail-link svg,
.phone-link svg {
  vertical-align: middle;
  margin-right: 4px;
}
/* Keep focus visible for keyboard users, but restyle it for subtlety */
:focus-visible {
  outline: 2px solid #b59f80;   /* warm beige-brown tone matching your palette */
  outline-offset: 3px;
  border-radius: 2px;
  transition: outline-color 0.2s ease;
}

/* Hide outline for mouse clicks but keep it for keyboard navigation */
:focus:not(:focus-visible) {
  outline: none;
}
