:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --deep-navy: #001626;
  --midnight-blue: #002b4a;
  --corporate-blue: #005ea8;
  --electric-cyan: #00aeef;
  --steel-blue: #1b78b5;
  --silver-gray: #b8bec5;
  --charcoal: #19242d;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--deep-navy); }
body {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
}

/* Reuse the actual globe within the supplied artwork, without redrawing it. */
.brand-globe {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  width: clamp(20rem, 32vw, 30rem);
  aspect-ratio: 1;
  overflow: hidden;
  pointer-events: none;
}
.brand-globe::before {
  position: absolute;
  bottom: -25%;
  left: -25%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  content: "";
  background-image: url("balfam-holdings-logo.webp");
  background-size: 677.1% auto;
  background-position: 35.65% 22.08%;
  opacity: 0.18;
}

::selection { color: var(--white); background: var(--corporate-blue); }
a { color: inherit; text-underline-offset: 0.25em; }
a:focus-visible { outline: 3px solid var(--corporate-blue); outline-offset: 5px; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 6rem, 78rem);
  margin-inline: auto;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--silver-gray);
}
.brand-name {
  color: var(--deep-navy);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a {
  display: grid;
  min-height: 44px;
  align-items: center;
  border-bottom: 2px solid transparent;
  font-size: 0.9375rem;
  text-decoration: none;
}
nav a[aria-current="page"] { color: var(--corporate-blue); border-bottom-color: var(--corporate-blue); }
nav a:hover, .brand-name:hover { color: var(--corporate-blue); }
.home-main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 3rem 2rem clamp(8rem, 19vh, 12rem);
}
.home-logo { display: block; width: min(100%, 65rem); height: auto; }
.contact-main {
  display: grid;
  flex: 1;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  width: min(100% - 6rem, 72rem);
  margin-inline: auto;
  padding-block: 4rem clamp(8rem, 19vh, 12rem);
}
.contact-logo { display: block; width: 100%; height: auto; }
.contact-details h1 {
  margin: 0 0 2rem;
  color: var(--deep-navy);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.contacts { padding: 0; margin: 0; list-style: none; }
.contacts li { padding-block: 1.35rem; border-top: 1px solid var(--silver-gray); }
.contacts h2 { margin: 0 0 0.35rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.phone-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--corporate-blue);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  text-decoration-thickness: 1px;
}
.phone-link:hover { color: var(--deep-navy); text-decoration-thickness: 2px; }
.skip-link {
  position: absolute;
  z-index: 1;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--deep-navy);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 700px) {
  .brand-globe { width: 10rem; }
  .brand-globe::before { opacity: 0.12; }
  .site-header { width: calc(100% - 2.5rem); padding-block: 1rem; }
  .brand-name { font-size: 0.875rem; }
  nav { gap: 1.1rem; }
  nav a { font-size: 0.875rem; }
  .home-main { padding-inline: 0.75rem; }
  .contact-main {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2.5rem;
    width: min(100% - 2.5rem, 30rem);
    padding-top: 2.5rem;
  }
  .contact-logo { width: min(100%, 24rem); margin-inline: auto; }
  .contact-details h1 { margin-bottom: 1.5rem; }
  .contacts li { padding-block: 1rem; }
}
